Re: "denet" format save error message
Richard Stallman <[EMAIL PROTECTED]> writes: > > Does this patch make it give the right error message? Yep. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
elisp manual indent-line-function default
The elisp manual "Mode-Specific Indent" node description of `indent-line-function' says the default for that variable in various modes, such as fundamental-mode, is `indent-to-left-margin'. But in the code it appears to be `indent-relative' emacs -Q M-x fundamental-mode C-h v indent-line-function => indent-relative Perhaps a change in the code (emacs 21 was indent-to-left-margin), which didn't make it to the manual. In GNU Emacs 22.0.95.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-03-03 on pacem, modified by Debian (Debian emacs-snapshot package, version 1:20070302-1) configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/22.0.95/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.0.95/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.0.95/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_AU locale-coding-system: iso-8859-1 default-enable-multibyte-characters: t ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
Re: where-is-internal doc
Richard Stallman <[EMAIL PROTECTED]> writes: > Aside from updating the value returned by this call to > where-is-internal, is there something else that needs to be changed > in the manual? No, it's OK. -- Johan Bockgård ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
using rlogin from a shell window
Do esc-x shell Then in the shell try to use rlogin to some computer as some other user > rlogin -l name host It prompts for a password but after typing the password and you hit enter, it hangs at that point (nothing comes back to the screen). I checked 21.4 and it does this too. But if I open a terminal window outside of emacs, the same rlogin works fine. And when in the emacs shell I just use "rlogin host" and goto that host as myself by default, it works fine. In GNU Emacs 22.0.99.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-04-26 on alnx004 Windowing system distributor `The XFree86 Project, Inc', version 11.0.40399902 configured using `configure '--prefix=/u/rdsnfs2/t901353/programs/emacs_pretest'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Shell Minor modes in effect: display-time-mode: t show-paren-mode: t auto-image-file-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t temp-buffer-resize-mode: t transient-mark-mode: t Recent input: x e m a v r e p o r t SPC e SPC SPC Recent messages: Loading man...done Invoking man rlogin in the background Please wait: formatting the rlogin man page... rlogin man page formatted Loading tabify...done Loading /u/rdsnfs2/t901353/programs/linux/share/emacs/21.4/site-lisp/man-xref.el (source)...done Help: ?; Menu: mouse-3; Show: v; Mark: u,m,s,d; Save/Delete: x; Misc: g,~,%,t q to quit, ? for help. History item: 1 [2 times] Loading emacsbug...done ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
Re: "denet" format save error message
Does this patch make it give the right error message? *** iso-cvt.el 21 Jan 2007 01:36:12 -0500 1.31 --- iso-cvt.el 10 May 2007 06:29:40 -0400 *** *** 823,829 (iso-translate-conventions from to iso-sgml2iso-trans-tab)) ;;;###autoload ! (defun iso-cvt-read-only () "Warn that format is read-only." (interactive) (error "This format is read-only; specify another format for writing")) --- 823,829 (iso-translate-conventions from to iso-sgml2iso-trans-tab)) ;;;###autoload ! (defun iso-cvt-read-only (&rest ignore) "Warn that format is read-only." (interactive) (error "This format is read-only; specify another format for writing")) ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
Re: where-is-internal doc
but in reality the return value seems to always be a vector, in this case ([8 102] [f1 102] [help 102] [menu-bar help-menu describe describe-function]) I will get that fixed. Thanks. (And the `C-h d' binding has been changed.) I do not see the signficance of that point. Aside from updating the value returned by this call to where-is-internal, is there something else that needs to be changed in the manual? If so, could you say where? ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
Re: Carbon Emacs won't start when installed in certain paths
> On Wed, 09 May 2007 17:36:37 +0900, YAMAMOTO Mitsuharu <[EMAIL > PROTECTED]> said: > Though the non-ASCII unibyte `default-directory' case seems to be > sufficient for the originally reported problem, we should also handle > the following cases in order to make Fexpand_file_name consistent and > exhaustive with respect to non-ASCII unibyte file names: > 1. Case that "~" or "~user" is expanded to a non-ASCII file name: > This case is similar to the non-ASCII unibyte `default-directory' > case. > 2. Case that the argument `name' is in non-ASCII unibyte and > `default-directory' is in multibyte: > This case may return a wrong result either with or without my > previous patch. I tried handling these cases (with DECODE_FILE instead of string_to_multibyte). What's pointed to by `newdir' previously is now stored in a Lisp string `new_directory' until adjustments of multibyteness has been completed. YAMAMOTO Mitsuharu [EMAIL PROTECTED] Index: src/fileio.c === RCS file: /cvsroot/emacs/emacs/src/fileio.c,v retrieving revision 1.580 diff -c -p -r1.580 fileio.c *** src/fileio.c22 Mar 2007 12:15:04 - 1.580 --- src/fileio.c10 May 2007 09:09:53 - *** See also the function `substitute-in-fil *** 1060,1067 int collapse_newdir = 1; int is_escaped = 0; #endif /* DOS_NT */ ! int length; ! Lisp_Object handler, result; int multibyte; CHECK_STRING (name); --- 1060,1066 int collapse_newdir = 1; int is_escaped = 0; #endif /* DOS_NT */ ! Lisp_Object handler, new_directory, result; int multibyte; CHECK_STRING (name); *** See also the function `substitute-in-fil *** 1345,1351 default_directory if nm is not absolute, and finally collapse /./ and /foo/../ sequences. ! We set newdir to be the appropriate prefix if one is needed: - the relevant user directory if nm starts with ~ or ~user - the specified drive's working dir (DOS/NT only) if nm does not start with / --- 1344,1350 default_directory if nm is not absolute, and finally collapse /./ and /foo/../ sequences. ! We set new_directory to be the appropriate prefix if one is needed: - the relevant user directory if nm starts with ~ or ~user - the specified drive's working dir (DOS/NT only) if nm does not start with / *** See also the function `substitute-in-fil *** 1356,1362 return an absolute name, if the final prefix is not absolute we append it to the current working directory. */ ! newdir = 0; if (nm[0] == '~') /* prefix ~ */ { --- 1355,1361 return an absolute name, if the final prefix is not absolute we append it to the current working directory. */ ! new_directory = Qnil; if (nm[0] == '~') /* prefix ~ */ { *** See also the function `substitute-in-fil *** 1366,1373 #endif /* VMS */ || nm[1] == 0)/* ~ by itself */ { ! if (!(newdir = (unsigned char *) egetenv ("HOME"))) ! newdir = (unsigned char *) ""; nm++; #ifdef DOS_NT collapse_newdir = 0; --- 1365,1376 #endif /* VMS */ || nm[1] == 0)/* ~ by itself */ { ! unsigned char *homedir = (unsigned char *) egetenv ("HOME"); ! ! if (homedir) ! new_directory = make_unibyte_string (homedir, strlen (homedir)); ! else ! new_directory = empty_string; nm++; #ifdef DOS_NT collapse_newdir = 0; *** See also the function `substitute-in-fil *** 1392,1398 UNBLOCK_INPUT; if (pw) { ! newdir = (unsigned char *) pw -> pw_dir; #ifdef VMS nm = p + 1; /* skip the terminator */ #else --- 1395,1403 UNBLOCK_INPUT; if (pw) { ! unsigned char *homedir = (unsigned char *) pw -> pw_dir; ! ! new_directory = make_unibyte_string (homedir, strlen (homedir)); #ifdef VMS nm = p + 1; /* skip the terminator */ #else *** See also the function `substitute-in-fil *** 1411,1433 #ifdef DOS_NT /* On DOS and Windows, nm is absolute if a drive name was specified; use the drive's current directory as the prefix if needed. */ ! if (!newdir && drive) { /* Get default directory if needed to make nm absolute. */ if (!IS_DIRECTORY_SEP (nm[0])) { ! newdir = alloca (MAXPATHLEN + 1); ! if (!getdefdir (toupper (drive) - 'A' + 1, newdir)) ! newdir = NULL; } ! if (!newdir) { /* Either nm starts with /, or drive isn't mounted