Re: File menu changes (suggestions)

2005-06-25 Thread Lennart Borgman
Richard M. Stallman wrote: People pointed out that "New File" might be confusing since it does not in fact make a new file. I think the name "Visit New File" will help show that this isn't the same as the usual "New File" operation. Does not "Visit New File" also imply that a new file is made

Re: Race-condition ? (was: "Preserve owner and group" on MSDOS/Windows)

2005-06-25 Thread Richard M. Stallman
I think lisp calls to set-file-modes should also be checked carefully. Would you like to check some of them? The crucial question is, does a call to set-file-modes introduce a worse problem than what existed anyway. For instance, if someone could put a hardlink where you will chmod it, could

Re: minibuffer and scroll-conservatively

2005-06-25 Thread Richard M. Stallman
Start todays emacs with -Q and set scroll-conservatively to some non-zero number, say 1. Then type eg. M-x ABC. Now the minibuffer shows "M-x ABC" as expected. But if you type the Danish character A-ring (a capital A with a ring above) everything seems to disappear from the min

Re: scroll-margin has no effect when show-trailing-whitespace is true

2005-06-25 Thread Richard M. Stallman
I fixed this. Thanks. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

Re: File menu changes (suggestions)

2005-06-25 Thread Richard M. Stallman
I've now read all the mail in this thread, and here are my conclusions. 1. Unsplit Windows is a very poor name. It doesn't give you a hint of what it does; in particular, it doesn't suggest that the current window is the only one that will remain displayed. I agree this name is sort o

Re: Race-condition ? (was: "Preserve owner and group" on MSDOS/Windows)

2005-06-25 Thread Richard M. Stallman
How about this fix? *** fileio.c24 Jun 2005 15:43:20 -0400 1.547 --- fileio.c25 Jun 2005 16:56:28 -0400 *** *** 2406,2412 return; } ! DEFUN ("copy-file", Fcopy_file, Scopy_file, 2, 5, "fCopy file: \nGCopy %s to file: \np\nP", doc: /* C

Re: foreground menu bug

2005-06-25 Thread Richard M. Stallman
Or, it could just warn the user that the highlighting will not be visible since font lock is enabled? It would be possible, but why be so complicated? This change seems to do the right job. *** facemenu.el 08 Mar 2005 22:24:04 -0500 1.77 --- facemenu.el 25 Jun 2005 18:19:29 -0400

Re: Custom themes

2005-06-25 Thread Richard M. Stallman
Thanks for finding the bugs in custom themes. Would you like to fix these bugs? They don't sound terribly difficult to fix, and then it will be a useful feature. We've already installed this feature, and it ought to be useful once it works. We might as well fix the bugs now--there's no benefit i

Fixing the face menu

2005-06-25 Thread Richard M. Stallman
The faces menu automatically lists all faces that are defined except those whose names are matched by facemenu-unlisted-faces. I am pretty sure that list is not up to date, and that various packages define faces that shouldn't be listed in the menu but currently do get listed. We could go through

Re: recentf mode: point at first file / highlight (patch)

2005-06-25 Thread Richard M. Stallman
You're the expert on this package. If you think this is an improvement, please install the change. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

Re: Custom themes

2005-06-25 Thread Luc Teirlinck
Richard Stallman wrote: I don't remember the details, but it is a matter of defining a collection of custom settings and giving them a name. Then you can enable them and disable them by name. I have the impression nobody knows the details, or would be able to document them, except a very

Re: Suggesting theme support

2005-06-25 Thread Edward O'Connor
Hi, Seong-Kook Shin wrote: > All I wanted to use was to change colors of several faces like the > :colorscheme xxx command of vim does. Unfortunately I'm not an expert > of emacs lisp. So my elisp file is in a very infant stage. Have you looked at color-theme.el? I think it does exactly what you

Re: defvar'ing constants

2005-06-25 Thread Jay Belanger
David Kastrup <[EMAIL PROTECTED]> writes: > Jay Belanger <[EMAIL PROTECTED]> writes: ... >> If a constant is defined in one file but used in a second, is there >> then a way of quieting the compiler when the second file is >> compiled? > > (defconst CONSTANT) > > would appear to be a nice form for

Suggesting theme support

2005-06-25 Thread Seong-Kook Shin
Greetings, I just want to try to add theme support on emacs cvs version. First, I tried to M-x apropos theme, but it couldn't help me much. Even I tried M-x customize-create-theme, but I couldn't find any help to use it. All I wanted to use was to change colors of several faces like the :colorsch

RE: Q on Text Properties popup menu - shouldn't it usethepointerposition, not the cursor position?

2005-06-25 Thread Drew Adams
bug: Each time I use the Text Properties menu I get this message: " is undefined". Apparently, the mouse drag through the menu is causing a C-drag-mouse-2 event, which is then treated as pending input. This messes up use of a menu item that I've added locally. The new menu i

RE: Q on Text Properties popup menu - shouldn't it usethepointerposition, not the cursor position?

2005-06-25 Thread Drew Adams
bug: Each time I use the Text Properties popup menu I get this message: " is undefined". I should have added that I see the same behavior in Emacs 20, so this is apparently nothing new. ___ Emacs-devel mailing list Emacs-

Downloading with Emacs

2005-06-25 Thread Lennart Borgman
I have been testing a bit downloading things from the Internet with Emacs with the url package. However I am not able to understand how this should be done. Does anyone have examples of how to download binary files? Another question: What about proxy servers with the url elisp package? __

Re: GC

2005-06-25 Thread Miles Bader
On 6/26/05, Adrian Aichner <[EMAIL PROTECTED]> wrote: > >> isn't that the purpose of > >> gc-cons-percentage > > > > There is no such variable in Emacs. > > Oh, so it's a XEmacs-only thing. OK; guess if we add this feature, we should use the same variable name though. As Gaëtan Leurent pointed o

Re: Q on Text Properties popup menu - shouldn't it use thepointerposition, not the cursor position?

2005-06-25 Thread Luc Teirlinck
>From my previous reply: You really mean: "Each time I use the Text Properties menu..." I meant: Do you really mean: "Each time I use the Text Properties menu..."? Sincerely, Luc. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu

RE: Q on Text Properties popup menu - shouldn't it usethepointerposition, not the cursor position?

2005-06-25 Thread Drew Adams
bug: Each time I use the Text Properties menu I get this message: " is undefined". This is either operating system specific or fixed in the meantime. I can not reproduce with today's CVS on GNU/Linux. Maybe people running MS Windows can reproduc

Re: Q on Text Properties popup menu - shouldn't it use thepointerposition, not the cursor position?

2005-06-25 Thread Luc Teirlinck
Drew Adams wrote: bug: Each time I use the Text Properties menu I get this message: " is undefined". This is either operating system specific or fixed in the meantime. I can not reproduce with today's CVS on GNU/Linux. Maybe people running MS Windows can

RE: Q on Text Properties popup menu - shouldn't it use thepointerposition, not the cursor position?

2005-06-25 Thread Drew Adams
bug: Each time I use the Text Properties menu I get this message: " is undefined". This is either operating system specific or fixed in the meantime. I can not reproduce with today's CVS on GNU/Linux. Maybe people running MS Windows can reproduce it. I'm curious if oth

Re: Custom themes

2005-06-25 Thread Luc Teirlinck
>From my previous message: it was (nearly) two years ago. Actually, nearly three years ago. Sincerely, Luc. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

Re: Custom themes

2005-06-25 Thread Luc Teirlinck
And there is color-theme.el, which works nicely, is widely deployed in the Emacs users community, there are many predefined themes and well, it's just nice. That does not seem to be included with the CVS Emacs distribution. I found an Emacs devel thread from about two years ago about add

Re: Race-condition ?

2005-06-25 Thread Gaëtan LEURENT
David Kastrup wrote on 24 Jun 2005 23:01:50 +0200: > I fail to see the advantage of using chown, or using fopen and > fchown. In both cases the file name can be changed to refer to > something else before the operation starts. > > The only situation where fchown offers any advantage is where you

Re: defvar'ing constants

2005-06-25 Thread David Kastrup
Jay Belanger <[EMAIL PROTECTED]> writes: > "Richard M. Stallman" <[EMAIL PROTECTED]> writes: > >> For consistency: >> >> (defvar CONSTANT) ; should work >> (defvar CONSTANT ITS-VALUE) ; should work >> (defvar CONSTANT OTHER-VALUE) ; should fail >> >> I thi

Re: GC

2005-06-25 Thread Adrian Aichner
Miles Bader <[EMAIL PROTECTED]> writes: > On 6/25/05, Adrian Aichner <[EMAIL PROTECTED]> wrote: >> > For example, >> > the default value could be dependent on the amount of installed >> > memory. >> >> isn't that the purpose of >> gc-cons-percentage > > There is no such variable in Emacs. Oh, so

Q on read-char and read-char-exclusive - when do they prompt?

2005-06-25 Thread Drew Adams
Under what circumstances do or should `read-char' and `read-char-exclusive' display a prompt, if they are provided with a prompt argument? The doc strings suggest that the prompt (if non-nil) should always be displayed. I've used these functions in interactive specs, and the prompt seems to always

Re: Custom themes

2005-06-25 Thread Frank Schmitt
Luc Teirlinck <[EMAIL PROTECTED]> writes: > Here is a list of problems with `customize-create-theme': [cut] And there is color-theme.el, which works nicely, is widely deployed in the Emacs users community, there are many predefined themes and well, it's just nice. -- Did you ever realize how mu

Re: Race-condition ?

2005-06-25 Thread David Kastrup
Eli Zaretskii <[EMAIL PROTECTED]> writes: >> From: [EMAIL PROTECTED] (=?iso-8859-1?Q?Ga=EBtan?= LEURENT) >> Date: Fri, 24 Jun 2005 17:07:57 +0200 >> >> >* fileio.c (Frename_file): Preserve owner and group, if possible, >> >when copying. >> >> This is done with a call to chown, and I thin

Demonstration mode...

2005-06-25 Thread David Kastrup
Hi, whenever I find myself doing a demonstration of Emacs capabilities and features, I find myself using keyboard commands. That is not helpful to onlookers who just see magic happening. So I have to force myself to use the mouse. Now what would be very handy is something quite similar to some

Re: A question about dired-tree-up and switching w32 drive in dired

2005-06-25 Thread Lennart Borgman
David Hunter wrote: Lennart Borgman wrote: I am trying to use `dired-tree-up' on w32. I get the error (error "Cannot go up to d:/upperdir/ - not in this tree"). d:/upperdir/ exists and is the directory dired is showing. What is wrong? Hmm... did you dired "d:/upperdir/somedir" then run 'di

Re: A question about dired-tree-up and switching w32 drive in dired

2005-06-25 Thread David Hunter
Lennart Borgman wrote: I am trying to use `dired-tree-up' on w32. I get the error (error "Cannot go up to d:/upperdir/ - not in this tree"). d:/upperdir/ exists and is the directory dired is showing. What is wrong? Hmm... did you dired "d:/upperdir/somedir" then run 'dired-tree-up'? That wo

Re: Custom themes

2005-06-25 Thread Luc Teirlinck
But, by experimentation, I was able to figure out what it currently actually does: it writes files into random directories all over your file system without warning. That is a rather vague description of the behavior. Perhaps you're describing a bug where it writes

A question about dired-tree-up and switching w32 drive in dired

2005-06-25 Thread Lennart Borgman
I am trying to use `dired-tree-up' on w32. I get the error (error "Cannot go up to d:/upperdir/ - not in this tree"). d:/upperdir/ exists and is the directory dired is showing. What is wrong? Is there any way in dired to switch w32 drive letter, for example from c: to d:? _

Changing save-selected-window and with-selected-window

2005-06-25 Thread Richard M. Stallman
To fix the bug that was found in fit-window-to-buffer, I changed save-selected-window and with-selected-window to save and restore the current buffer. I verified that this won't break any of the uses in Emacs, but it is a subtle incompatibility. ___ Em

Re: GC (was: lists.texi)

2005-06-25 Thread Richard M. Stallman
Yes I think that would be a good idea. Setting the cons-threshold to say 1 or 2% of RAM size would yield roughly the numbers which are being recommended (at 1%, you'd get 640K on a 64MB system, and 5MB on a 512MB system). Getting that number is system-dependent of course, but

Re: File menu changes (suggestions)

2005-06-25 Thread Richard M. Stallman
Does that mean that you dis / repudiate Kim's work on CUA-mode? I thought we were talking about the standard Emacs behavior. CUA-mode as an optional mode is a separate issue. I am not saying anything about that. ___ Emacs-devel mailing list Emacs

Re: Custom themes

2005-06-25 Thread Richard M. Stallman
Some questions and remarks _were_ naive. At second look `customize-create-theme' seems to be a user level command rather than a Lisp programmer level command, as I first thought. Trying it out, it seems to have a very unfinished look to it. I still do not really know what it

Underlining in compile.el

2005-06-25 Thread Richard M. Stallman
Does anyone want to write a cleaner implementation of the feature of underlining the link areas in compile.el? *** compile.el 12 Jun 2005 06:10:07 -0400 1.362 --- compile.el 16 Jun 2005 22:04:13 -0400 *** *** 493,517 ;; backward-compatibility alias (put 'compilati

Re: Custom themes

2005-06-25 Thread Richard M. Stallman
But, by experimentation, I was able to figure out what it currently actually does: it writes files into random directories all over your file system without warning. That is a rather vague description of the behavior. Perhaps you're describing a bug where it writes a file into the wr

Re: recentf mode: point at first file / highlight (patch)

2005-06-25 Thread David Ponce
Hi David, This patch makes recentf-open-files more comfortable: it positions the point on the line showing the first file (instead of the first line, which only contains explanations) and we turn on hl-line-mode. Please consider applying. Thank you for your patch. It is a good idea to mov

$B=w$O#3#0$+$i(B

2005-06-25 Thread info
[EMAIL PROTECTED],A}$($F$-$^$7$?!#(B $B$3$3?t%v7n$G#3#0Be(B, $B#4#0Be(B, $B$=$l0J>[EMAIL PROTECTED],A}$($F$*$j$^$9!#(B $B$$$m$$$mLu$"$j$J$N$+$bCN$l$^$;$s$N$G!"CK$H$7$F<[EMAIL PROTECTED]"$k#3#0Be0J>e$N(B [EMAIL PROTECTED];W$$!"$3$N%a!<%k$rAw$j$^$7$?!#(B $B#P#C=i?4%a(B, $BD>EE8r49$b;

Re: GC (was: lists.texi)

2005-06-25 Thread Eli Zaretskii
> Date: Sat, 25 Jun 2005 21:15:19 +0900 > From: Miles Bader <[EMAIL PROTECTED]> > Cc: Juri Linkov <[EMAIL PROTECTED]>, emacs-devel@gnu.org > > Getting that number is system-dependent of course, but there seems no > reason not to do it on systems where someone wants to write the code > (it can even

Re: New dumping problem...

2005-06-25 Thread Richard M. Stallman
I polished the wording and installed it in PROBLEMS. However, it would still be nice to make Emacs DTRT automatically. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

Re: Gnus not escaping NBSP and soft-hyphen

2005-06-25 Thread Richard M. Stallman
But perhaps the cindex name in the Emacs manual should be the same as the Unicode name: @vindex nobreak-char-display @cindex no-break space, display @cindex soft hyphen, display I did that. Thanks. ___ Emacs-devel mailing list Ema

Re: Q on NaN

2005-06-25 Thread Richard M. Stallman
BTW, here is something I didn't expect: `M-: 0.0e+NaN' returns -0.0e+NaN `M-: -0.0e+NaN' returns 0.0e+NaN The reader seems to flip the (irrelevant) sign. I fixed that. Thanks. ___ Emacs-devel mailing list Emacs-devel@gnu.org http

Re: GC

2005-06-25 Thread Eli Zaretskii
> Cc: [EMAIL PROTECTED], Eli Zaretskii <[EMAIL PROTECTED]>, Juri Linkov <[EMAIL > PROTECTED]>, > emacs-devel@gnu.org > From: [EMAIL PROTECTED] (=?iso-8859-1?Q?Ga=EBtan?= LEURENT) > Date: Sat, 25 Jun 2005 15:10:49 +0200 > > > Miles Bader wrote on 25 Jun 2005 14:15:19 +0200: > > > Yes I t

NEW PORTAL MORE BUSINESS

2005-06-25 Thread Md Khan
  NEW PORTAL MORE BUSINESS   Call Termination Directory & Call Termination Forum   We Have united More than 2000 VoIP Providers in our database. Missing World's Largest VoIP Portal ??     Everything Free!! Register Now! CallTermination.info   __

Re: GC

2005-06-25 Thread Gaëtan LEURENT
Miles Bader wrote on 25 Jun 2005 14:15:19 +0200: > Yes I think that would be a good idea. Setting the cons-threshold to > say 1 or 2% of RAM size would yield roughly the numbers which are > being recommended (at 1%, you'd get 640K on a 64MB system, and 5MB on > a 512MB system). This is maybe no

Re: defvar'ing constants

2005-06-25 Thread Juanma Barranquero
> If a constant is defined in one file but used in a second, is there > then a way of quieting the compiler when the second file is compiled? "Constants", in the sense used in this thread, are not defconsts (which are really mutable), but keywords, and symbols defined in C which are marked as cons

Re: defvar'ing constants

2005-06-25 Thread Juanma Barranquero
> I think it is more consistent to make them all errors. > defvar should not be used on these symbols. OK, that's even easier. I'll implement it. -- /L/e/k/t/u ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/

Re: GC

2005-06-25 Thread Miles Bader
On 6/25/05, Adrian Aichner <[EMAIL PROTECTED]> wrote: > > For example, > > the default value could be dependent on the amount of installed > > memory. > > isn't that the purpose of > gc-cons-percentage There is no such variable in Emacs. -Miles -- Do not taunt Happy Fun Ball.

Re: GC (was: lists.texi)

2005-06-25 Thread Miles Bader
On 6/25/05, Eli Zaretskii <[EMAIL PROTECTED]> wrote: > If we find that my experience of yore is no longer relevant, I agree. > But then we should probably modify the default of the threshold > accordingly, instead of telling users to mess with it. For example, > the default value could be dependen

Re: GC

2005-06-25 Thread Adrian Aichner
Eli Zaretskii <[EMAIL PROTECTED]> writes: > If we find that my experience of yore is no longer relevant, I agree. > But then we should probably modify the default of the threshold > accordingly, instead of telling users to mess with it. For example, > the default value could be dependent on the a

recentf mode: point at first file / highlight (patch)

2005-06-25 Thread David Reitter
This patch makes recentf-open-files more comfortable: it positions the point on the line showing the first file (instead of the first line, which only contains explanations) and we turn on hl-line-mode. Please consider applying. recentf-comfort.patch Description: Binary data ___

$B=w$O#3#0$+$i(B

2005-06-25 Thread info
[EMAIL PROTECTED],A}$($F$-$^$7$?!#(B $B$3$3?t%v7n$G#3#0Be(B, $B#4#0Be(B, $B$=$l0J>[EMAIL PROTECTED],A}$($F$*$j$^$9!#(B $B$$$m$$$mLu$"$j$J$N$+$bCN$l$^$;$s$N$G!"CK$H$7$F<[EMAIL PROTECTED]"$k#3#0Be0J>e$N(B [EMAIL PROTECTED];W$$!"$3$N%a!<%k$rAw$j$^$7$?!#(B $B#P#C=i?4%a(B, $BD>EE8r49$b;

Re: GC (was: lists.texi)

2005-06-25 Thread Eli Zaretskii
> From: Juri Linkov <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], emacs-devel@gnu.org > Date: Sat, 25 Jun 2005 00:54:05 +0300 > > >> It helps to increase the value of gc-cons-threshold at least tenfolds > >> to run slow GC less often. > > > > Yes, but then Emacs itself slows down

Re: Race-condition ?

2005-06-25 Thread Eli Zaretskii
> Cc: emacs-devel@gnu.org > From: [EMAIL PROTECTED] (=?iso-8859-1?Q?Ga=EBtan?= LEURENT) > Date: Fri, 24 Jun 2005 22:46:59 +0200 > > I guess I haven't been clear enough. The scenario is: No, you were very clear. I still am not sure whether the danger is real, but then I'm not an expert on securit