Re: Customize buttons that change user's customfileshouldaskforconfirmation

2005-02-15 Thread Lennart Borgman
- Original Message - From: "Drew Adams" <[EMAIL PROTECTED]> > Why not let the menu-bar menu have entries for working with the "current > option". The "current option" could be that where the point is. (I > implemented this kind of functionality in my proposal long ago for a >

Re: Emacs 21.4

2005-02-15 Thread Nick Roberts
> > > > I could not find leim-21.4.tar.gz (I know that leim was > > not affected by that change). Should we use leim-21.3.tar.gz > > with emacs-21.4.tar.gz? > > > > Why not? > > Older releases bring leim-M.N.tar.gz with same version number. > leim-21.3.tar.gz is exaracted to

Re: proofreading man/dired.texi

2005-02-15 Thread Stefan Monnier
> (1) The function name "wdired-change-to-wdired-mode" is bizarre; why > not just `wdired-mode' Is there another way one is supposed to > enter it? If it behaved like a minor mode, that would make sense. But it behaves more like a major mode right now, so it makes sense to have a separate c

Re: GDB startup

2005-02-15 Thread Nick Roberts
> Maybe another approach is to limit the buffers that are considered to some > set of major modes, or to some subtree of the filesystem. But neither seems > quite practical. > > Another alternative could be to handle the files/buffers "slowly", with > a 0.5s delay between each file/buffer, s

Re: Popup when buffer file is changed on disk

2005-02-15 Thread moheb missaghi
Hi, I posted the following yesterday but I am not sure if it made it to the list. Sorry if it did post but noone chose to comment. Thanks for all the responses to my proposed patch. Autorevert doesn't quite do what Lennart and I want because it is not deterministic, i.e., depends on some freque

Re: GDB startup

2005-02-15 Thread Miles Bader
On Tue, 15 Feb 2005 20:16:02 -0500, Stefan Monnier <[EMAIL PROTECTED]> wrote: > I guess post-command-hook is the closest thing. It gets used way too much though -- we shouldn't be sticking all kinds of random crap on post-command-hook... -Miles -- Do not taunt Happy Fun Ball. _

Re: proofreading man/dired.texi

2005-02-15 Thread Miles Bader
On Tue, 15 Feb 2005 15:12:45 -0500, Stefan Monnier <[EMAIL PROTECTED]> wrote: > > Why does wdired allow self-insertion? > > Is there a good reason for it? > > If not, it would seem to be a bug. > > The whole purpose of wdired is to allow you to edit your directory (file > names, permissions, ...)

Re: Feature request - dynamic icon pixmap

2005-02-15 Thread Henrik Enberg
Sun Yijiang <[EMAIL PROTECTED]> writes: > Yes, I can change the default icon when I create a new frame: > (make-frame '((name . "testf") (icon-type . "/path/test.png"))) > > But I cannot change a frame's icon by modifying its icon-type parameter: > (set-frame-parameter my-frame 'icon-type "/path/t

Re: Feature request - dynamic icon pixmap

2005-02-15 Thread Sun Yijiang
Yes, I can change the default icon when I create a new frame: (make-frame '((name . "testf") (icon-type . "/path/test.png"))) But I cannot change a frame's icon by modifying its icon-type parameter: (set-frame-parameter my-frame 'icon-type "/path/test2.png") Nothing happens after this under GNOME

Re: GDB startup

2005-02-15 Thread Stefan Monnier
>> Would it be possible to "do it in the background", maybe? > I'm not sure what you mean. GDB runs asynchronously from Emacs, so all > commands sent to it *do* run in the background. Maybe, because there is > so much input and output, you can't get the prompt so it feels like its > running in f

Re: Customize buttons that change user's custom fileshouldaskforconfirmation

2005-02-15 Thread Luc Teirlinck
Richard Stallman wrote: The concept of "exiting" does not make sense for a Custom buffer, but there could be a buffer-wide Activate command, "Put this in effect", which combines Set and Save. If that were the only way to make values take effect, it would be a lot simpler than the curr

Re: Customize buttons that change user's custom fileshouldaskforconfirmation

2005-02-15 Thread Luc Teirlinck
Kim Storm wrote: Most often, I just customize a specific variable or face, So do I. So I use the "whole-buffer" action buttons at the top of the customize buffer. I personally do not see the need to go to the top of the buffer to do that, if you have a button right next to you. (In la

Re: Tooltips on w32 slow and strange

2005-02-15 Thread Oliver Scholz
Miles Bader <[EMAIL PROTECTED]> writes: > On Mon, 14 Feb 2005 13:26:46 +0100, David Kastrup <[EMAIL PROTECTED]> wrote: >> At least the X11 tooltips on Emacs provide no functionality >> whatsoever except popping up some text in a single font AFAICS. No >> face support, no clickable areas, nothing.

Re: Emacs 21.4

2005-02-15 Thread Yoichi NAKAYAMA
At Tue, 15 Feb 2005 12:28:32 -0500, Richard Stallman wrote: > > I could not find leim-21.4.tar.gz (I know that leim was > not affected by that change). Should we use leim-21.3.tar.gz > with emacs-21.4.tar.gz? > > Why not? Older releases bring leim-M.N.tar.gz with same version number.

Re: Customize buttons that change user's custom fileshouldaskforconfirmation

2005-02-15 Thread Kim F. Storm
Luc Teirlinck <[EMAIL PROTECTED]> writes: > I would guess that the whole-buffer > buttons are _very_ seldom used. It is much safer and much more > convenient to set or save options one by one. My "guess" is exactly the opposite... Most often, I just customize a spe

Re: Customize buttons that change user's custom fileshouldaskforconfirmation

2005-02-15 Thread Luc Teirlinck
Richard Stallman wrote: One possible solution for that is to discourage, or even get rid of, of the per-variable command button. I use Custom extensively. The per-variable command buttons are the _only_ ones I use. Getting rid of them would make Custom unusable in as far as I am concerned

Re: Gnus reads my mail

2005-02-15 Thread Simon Josefsson
Stefan Monnier <[EMAIL PROTECTED]> writes: > Although Gnus did not literally *eat* my email, I find this problem to be > very serious since it might make me miss important email messages. Agreed. > - .../trunk/src/emacs --eval '(setq imap-debug t nnimap-debug t)' -f gnus > - type in my imap pass

Re: decode-coding-string gone awry?

2005-02-15 Thread David Kastrup
Richard Stallman <[EMAIL PROTECTED]> writes: > Yuk. The problem is that this buffer is not only processed by > preview-latex, but also by AUCTeX, and the versions that get combined > may be different. AUCTeX uses the source code buffer's file encoding > by default, which is fine

Re: Current CVS doesn't bootstrap

2005-02-15 Thread Reiner Steib
On Tue, Feb 15 2005, Richard Stallman wrote: > It seems to be related to Richards recent changes to cus-start.el. A > possible workaround (I don't know how to fix it properly) is to revert > lisp/cus-start.el to revision 1.64 (or 1.65?). > > When there is a bug, please do not be so qu

GDB startup

2005-02-15 Thread Nick Roberts
> I see a significant delay when I start M-x gdb, where the *gdb* > buffer is shown with most of the gdb's startup output displayed, except for > the prompt. After about 10s, the prompt finally shows up. > > I suspect it's due to the new feature "go through all buffers and ask the > gdb sub

Emacs abort

2005-02-15 Thread Martin Fredriksson
I have now verified the abort also in Linux. The abort happens when invoking outline-minor-mode 'show-all' after a previous 'hide-body', when part of the buffer is not visible (scrolled). The abort only happens when using keys, not when invoking with 'M-x show-all'. The steps to trigger this

gdb modes try to insert breakpoint markers too soon

2005-02-15 Thread Nick Roberts
> There seems to be an irritating interaction between gdb and the gdb > modes in current CVS Emacs (gdb and gdba). What version of gdb are you using? Do you mean the you have two sessions running concurrently, one started with M-x gdb and the other M-x gdba? Note that the default for M-x gdb

RE: Customize buttons that change user's customfileshouldaskforconfirmation

2005-02-15 Thread Drew Adams
> - A context-sensitive menu (e.g. mouse-3) I any proposal of this kind I think it is important to give the possibility to use only the keyboard. Some people do not want to use the mouse and some simply can not use it. That's standard practice: there should be keyboard access to

Re: Tooltips on w32 slow and strange

2005-02-15 Thread Eli Zaretskii
> Date: Tue, 15 Feb 2005 09:53:40 +0100 (CET) > From: "Stephan Stahl" <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], > emacs-devel@gnu.org > > I'm not the OP but using Miles Example and C-x C-e'ing it seems fast > enough and takes about half a second on an

Re: proofreading man/dired.texi

2005-02-15 Thread Stefan Monnier
> Why does wdired allow self-insertion? > Is there a good reason for it? > If not, it would seem to be a bug. The whole purpose of wdired is to allow you to edit your directory (file names, permissions, ...) directly with self-insert-command, so it's not at all a bug. Stefan __

Re: Current CVS doesn't bootstrap

2005-02-15 Thread Lute Kamstra
Richard Stallman <[EMAIL PROTECTED]> writes: > Shouldn't it use default-boundp? > > *** cus-start.el 15 Feb 2005 01:22:16 -0500 1.67 > --- cus-start.el 15 Feb 2005 02:36:28 -0500 > *** > *** 312,318 > ;; use the current value as the standard value. >

Re: Customize buttons that change user's customfileshouldaskforconfirmation

2005-02-15 Thread Lennart Borgman
- Original Message - From: "Drew Adams" <[EMAIL PROTECTED]> > In sum: > > - Global buttons and the menu-bar menu apply to all options in the buffer. > Their item names include the word "All". > > - A context-sensitive menu (e.g. mouse-3) lets you mark and unmark options > and perform Sa

Re: Suggested doc change for cus-edit.el

2005-02-15 Thread Luc Teirlinck
Maybe the following is better. The state does occur, there are plenty of variables without defcustom, it just does normally not occur in a Custom buffer (unless you do something special): ;;There is no standard value. This means that the variable was ;;not defined with defcustom. In new

RE: Customize buttons that change user's custom fileshouldaskforconfirmation

2005-02-15 Thread Drew Adams
I said: We might want to let users select a set of individual options (e.g. using checkboxes or by dragging a region) and then operate on the selection. That would provide a shortcut to operating individually on each item in the set, and could help make it clear which options w

Re: Suggested doc change for cus-edit.el

2005-02-15 Thread Luc Teirlinck
> M-x customize-option RET aha RET > > says: [No match]. I do not get a Custom buffer with 'aha marked as rogue. Customize was designed to work on all variables, declared with customize or not. Pretty much needed back when nothing was declared with customize. Apparently someo

Re: Unicode support for the MS Windows clipboard [new patch]

2005-02-15 Thread Tak Ota
I suppose Benjamin is too busy lately. Tue, 8 Feb 2005 01:04:32 -0800: "Jason Rumney" <[EMAIL PROTECTED]> wrote: > Tak Ota <[EMAIL PROTECTED]> writes: > > > Is there any reason why this patch cannot make into CVS? I really > > wish it be a part of the next release. > > The last mail I have reg

RE: Customize buttons that change user's custom fileshouldaskforconfirmation

2005-02-15 Thread Drew Adams
The big problem is that if the user sets option X on a page and does "F => C", and then (sometime later) sets option Y on the same page, and then does "F => C,S", the effect is that the change to X is also saved. This may be highly confusing to a user. This is co

RE: Use faces to indicate states in Customize?

2005-02-15 Thread Drew Adams
(each entry here is (1) proposed text, (2) state, (3) current text, (4) doc string text from `custom-magic-alist'): The entries you give for (4) to not seem to correspond either to today's recent or yesterday's values of `custom-magic-alist'. No, they are older - sorry for a

Re: decode-coding-string gone awry?

2005-02-15 Thread Richard Stallman
Yuk. The problem is that this buffer is not only processed by preview-latex, but also by AUCTeX, and the versions that get combined may be different. AUCTeX uses the source code buffer's file encoding by default, which is fine for basically unibyte based coding systems. It sounds

Re: Emacs 21.4

2005-02-15 Thread Richard Stallman
I could not find leim-21.4.tar.gz (I know that leim was not affected by that change). Should we use leim-21.3.tar.gz with emacs-21.4.tar.gz? Why not? ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/ema

Re: proofreading man/dired.texi

2005-02-15 Thread Richard Stallman
I have attempted to proofread man/dired.texi. L22: dired-x is mentioned. I think "wdired" should be mentioned as well. L16: Not consistent with the "wdired" minor mode, in which characters do insert. If wdired is inconsistent with dired, I would rather change wdired. It is le

Re: Current CVS doesn't bootstrap

2005-02-15 Thread Richard Stallman
It seems to be related to Richards recent changes to cus-start.el. A possible workaround (I don't know how to fix it properly) is to revert lisp/cus-start.el to revision 1.64 (or 1.65?). When there is a bug, please do not be so quick to suggest "let's revert the previous change" as a

Re: Current CVS doesn't bootstrap

2005-02-15 Thread Richard Stallman
Shouldn't it use default-boundp? *** cus-start.el15 Feb 2005 01:22:16 -0500 1.67 --- cus-start.el15 Feb 2005 02:36:28 -0500 *** *** 312,318 ;; use the current value as the standard value. standard (if (nthcdr 4 this)

Re: decode-coding-string gone awry?

2005-02-15 Thread Stefan Monnier
> Is it reasonable to operate with decode-coding-string on a multibyte > string? If that is nonsense, maybe we should make it get an error, > to help people debug such problems. I think it would indeed make sense to signal errors when decoding a multibyte string or when encoding a unibyte string.

Re: Tooltips on w32 slow and strange

2005-02-15 Thread Stefan Monnier
> Just a small bit. In X11 a lot of windows are created (every button, menu, > etc. are separate windows), and X11 is fast when it comes to window > creation. And in any case, we would have to apply the frame parameters > again (font, color and such) and that still takes some time. They could als

RE: M-Tab on w32 (and other window systems?)

2005-02-15 Thread Drew Adams
I find that Esc and TAB keys are close enough to make typing Esc TAB a simple enough operation. ...I am used to Esc TAB, and don't find it hard to reach. ESC TAB is `complete-symbol'. ___ Emacs-devel mailing list Emacs-devel@gnu.org htt

Re: Feature request - dynamic icon pixmap

2005-02-15 Thread Jan D.
Sun Yijiang wrote: GNU Emacs' bitmapicon is a little ugly and not configurable -- that's the truth. XEmacs' elisp function x-set-screen-icon-pixmap can change program icon dynamically, this is very useful when you're working with sevral frames with different major modes -- they can have their own

GDB startup

2005-02-15 Thread Stefan Monnier
I see a significant delay when I start M-x gdb, where the *gdb* buffer is shown with most of the gdb's startup output displayed, except for the prompt. After about 10s, the prompt finally shows up. I suspect it's due to the new feature "go through all buffers and ask the gdb subprocess whether i

Printing menu hierarchies...

2005-02-15 Thread David Kastrup
Hi, in the course of preparing a lecture about AUCTeX, I am also going through the menus. Now making screenshots (which are necessarily of low quality) of the menus is not too nice, and when making diagrams with one menu and its submenus connected by arrows, things get ugly. It would be nicer to

Re: M-Tab on w32 (and other window systems?)

2005-02-15 Thread Lennart Borgman
- Original Message - From: "Reiner Steib" <[EMAIL PROTECTED]> > Could you be more specific? Most Emacs info nodes use `M-' [1] > and the tutorial explains that you can use ESC instead of M- (Meta): ... > I don't think this problem is specific to windows. Probably there are > a lot of Wi

Re: Tooltips on w32 slow and strange

2005-02-15 Thread Lennart Borgman
- Original Message - From: "Jason Rumney" <[EMAIL PROTECTED]> > It is probably a bug if focus gained messages from the OS do not set the > selected frame, but no new Lisp hooks should be needed. Yes, no hook is needed for this and my idea of using the hook for this was not the best one.

Re: M-Tab on w32 (and other window systems?)

2005-02-15 Thread Reiner Steib
On Tue, Feb 15 2005, Lennart Borgman wrote: > Thanks, that is very useful! However there was another point in my original > message: Info only mention Alt-Tab. Could you be more specific? Most Emacs info nodes use `M-' [1] and the tutorial explains that you can use ESC instead of M- (Meta): ,-

Re: Tooltips on w32 slow and strange

2005-02-15 Thread Jason Rumney
Lennart Borgman wrote: I think this helped me to realize what is happening. I am not quite sure but I believe this is a good guess: *** This is where the tooltip window gets created (I did not check further to see if it where reused, but the timings suggests to me it is not):

Re: Tooltips on w32 slow and strange

2005-02-15 Thread Lennart Borgman
- Original Message - From: "Stephan Stahl" <[EMAIL PROTECTED]> > But C-x 5 2 seems to do this too. The frame gets the focus and is shown on > top of all other windows. But there still seems to be a difference since > Alt-tab makes popups go wrong while C-x 5 2 does not.. I do not know

Re: M-Tab on w32 (and other window systems?)

2005-02-15 Thread It's me FKtPp ;)
"Lennart Borgman" <[EMAIL PROTECTED]> writes: > The citation below is from nxml-mode.info. Is this something that should be > adopted generally in Emacs? > > "The traditional GNU Emacs key combination for completion in a buffer > is `M-'. However, many window systems and window managers use this >

Re: M-Tab on w32 (and other window systems?)

2005-02-15 Thread Lennart Borgman
- Original Message - From: "Johan Bockgård" <[EMAIL PROTECTED]> > "Lennart Borgman" <[EMAIL PROTECTED]> writes: > > > From: "Miles Bader" <[EMAIL PROTECTED]> > > > >> Note that this can also be typed using `ESC TAB', which is pretty > >> convenient (the ESC and TAB keys are almost next t

gdb modes try to insert breakpoint markers too soon

2005-02-15 Thread Bruce Stephens
There seems to be an irritating interaction between gdb and the gdb modes in current CVS Emacs (gdb and gdba). When I set a breakpoint, gdb prints out something like this: (gdb) break explode Breakpoint 2 at 0xb7ce73e2: file explode.c, line 241. and much the same with --annotate=3 and GDB/MI. i

Re: M-Tab on w32 (and other window systems?)

2005-02-15 Thread Johan Bockgård
"Lennart Borgman" <[EMAIL PROTECTED]> writes: > From: "Miles Bader" <[EMAIL PROTECTED]> > >> Note that this can also be typed using `ESC TAB', which is pretty >> convenient (the ESC and TAB keys are almost next to one another). > > Unfortunately this does not work with viper-mode. Another problem

Re: Tooltips on w32 slow and strange

2005-02-15 Thread Jason Rumney
Stephan Stahl wrote: Now try doing the same thing but using C-x 5 o to switch the frames will cause the popup to work just fine. Does C-x 5 o some thing special compared to Alt-tab? It gives focus to an Emacs window. The same is seen if you switch focus by click

Re: Tooltips on w32 slow and strange

2005-02-15 Thread Stephan Stahl
Hi Jason. Jason Rumney said: > Stephan Stahl wrote: >>Now try doing the same thing but using C-x 5 o to switch the frames will >>cause the popup to work just fine. Does C-x 5 o some thing special >>compared to Alt-tab? >> > It gives focus to an Emacs window. The same is seen if you switch focus

Re: Tooltips on w32 slow and strange

2005-02-15 Thread Jason Rumney
Stephan Stahl wrote: I'd like to provide some findings regarding the strange focus handling: emacs -q --no-site-init C-x 2 C-x b bla (make it easy to recognise the two frames) put the mouse on the toolbar to create a popup works fine. Alt-Tab (using XP to switch frames) put the mouse on

Re: lisp-outline-level.

2005-02-15 Thread Lute Kamstra
Richard Stallman <[EMAIL PROTECTED]> writes: > This is a bit strange as outline-regexp doesn't match > ";;;###autoload". Shall I commit the patch below? > > Does this change give improved behavior in any particular case? > If so, which case? > > What happens if you add ;;;###autoload to o

Re: decode-coding-string gone awry?

2005-02-15 Thread David Kastrup
Richard Stallman <[EMAIL PROTECTED]> writes: > > (setq output (decode-coding-string output > > buffer-file-coding-system)) > > And this decode-coding-string treats the internal byte sequence > of a multibyte string OUTPUT as utf-8, thus you get some > ga

Re: Tooltips on w32 slow and strange

2005-02-15 Thread Stephan Stahl
Hi. Eli Zaretskii said: > I don't know. How about if the OP tells us how much time it takes for > the tooltip to pop up, and what machine is that? I'm not the OP but using Miles Example and C-x C-e'ing it seems fast enough and takes about half a second on an P4 2,4GHz running XP. (x-show-ti

Re: Tooltips on w32 slow and strange

2005-02-15 Thread Ralf Angeli
* David Kastrup (2005-02-14) writes: > Ralf Angeli <[EMAIL PROTECTED]> writes: > >> But I guess there are more pressing things to do for the next >> release. > > I agree where matters of prettiness are involved. However, where > usability is concerned, where the tip interferes with the workflow,

Re: Suggested doc change for cus-edit.el

2005-02-15 Thread Per Abrahamsen
Luc Teirlinck <[EMAIL PROTECTED]> writes: > Or does it mean that there is no defcustom? Yes. > I have the impression > that Custom completely _ignores_ variables without defcustom. To try > I put: > > '(aha "oho") > > in my `custom-set-variables' form and Custom seems to completely ignore it