Re: enriched-mode problems

2005-06-20 Thread David Kastrup
Richard Stallman <[EMAIL PROTECTED]> writes: > > It doesn't seem right to put that in a file's local variables list. > > This is a personal preference issue. > > It usually is, but there are files which simply won't work in one of > the two modes. And for those files, it is not a

Re: lists.texi

2005-06-20 Thread David Kastrup
Luc Teirlinck <[EMAIL PROTECTED]> writes: > Richard Stallman wrote: > >If you want to do a little work, I am sure you could write a single >loop that produces the right elements in the right order. Then you >could rotate it properly with a single call to setcdr followed by >nconc'

Re: debug-on-entry question

2005-06-20 Thread Richard Stallman
> For example, a user could define his own version of `b' in `(interactive > "b...")'. Instead of having to find all occurrences of `(interactive > "b...")' and replacing each of them with his own `(interactive (list > (my-read-buffer...)...)...)', he could just redefine what `(inte

Re: Matches for multiline regexps

2005-06-20 Thread Richard Stallman
> The current duplicating of context lines of consecutive matched lines > is too inconvenient. > > Inconvenient for whom? The user, or the maintainers of occur? For the user. grep and diff don't duplicate context lines, for good reasons. I can see both advantages

occur-hook changing the current buffer

2005-06-20 Thread Juanma Barranquero
In my `occur-hook' I have a custom function which does not save the current buffer, so the last two lines of `occur-1', i.e.: (setq buffer-read-only t) (set-buffer-modified-p nil where affecting the wrong buffer (the one searched by `occur', in fact). Now, I can easily change my

Re: enriched-mode problems

2005-06-20 Thread Richard Stallman
> It doesn't seem right to put that in a file's local variables list. > This is a personal preference issue. It usually is, but there are files which simply won't work in one of the two modes. And for those files, it is not a personal preference. Why do some files not work in one

Re: Documentation not clear for the Lisp function set-variable

2005-06-20 Thread Richard Stallman
If you change the docstring, it'd be great to also change the argument names to match the ones in the docstring, or at least to add \(fn VARIABLE VALUE &optional MAKE-LOCAL). Ok, I will. Thanks. ___ Emacs-devel mailing list Emacs-devel@gnu

Re: TTY Vertical divider face?

2005-06-20 Thread Richard Stallman
The name used for the display table slot is `vertical-divider' so I'll use that for the face too. Using the same name is wise, but indeed it is `vertical-border'. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/lis

Re: In FOR-RELEASE

2005-06-20 Thread Richard Stallman
Thanks for looking this up. I wrote to Stephen Eglen. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

Re: File menu changes (suggestions)

2005-06-20 Thread Richard Stallman
We refer to the buffer on purpose: we want users to see Emacs terminology even in the menus, and even when the menus are following established UI guidelines and use standard entries like "New" and "Close". Why then do we use Paste instead of Yank? Each one of t

Re: In FOR-RELEASE

2005-06-20 Thread Miles Bader
On 6/21/05, Stephen Eglen <[EMAIL PROTECTED]> wrote: > With CVS of 2005-05-31, I still get occasional dumps (once/twice a > week), and they usually seem to be when I'm going to get new mail > using VM 7.17. I am now running emacs under gdb again so the next > time I get an error, I can send a back

vc-cvs-global-switches and -f

2005-06-20 Thread Juanma Barranquero
I was running "emacs.exe -Q" today and was puzzled to see that the output of `vc-diff' talked about "conflicting specifications of output style", until I remembered that I have an entry on ~/.cvsrc which says: "diff -u2", and the default style for VC is "-c". So the question is: why does Emacs by

Re: TTY Vertical divider face?

2005-06-20 Thread Miles Bader
On 6/21/05, Johan Bockgård <[EMAIL PROTECTED]> wrote: > > The name used for the display table slot is `vertical-divider' so > > I'll use that for the face too. > > FWIW, the display table slot is called `vertical-border'. Ack, you're right! I guess I'll go change the face name to match... -Mile

Re: TTY Vertical divider face?

2005-06-20 Thread Miles Bader
On 6/21/05, Miles Bader <[EMAIL PROTECTED]> wrote: > On 6/21/05, Johan Bockgård <[EMAIL PROTECTED]> wrote: > > > The name used for the display table slot is `vertical-divider' so > > > I'll use that for the face too. > > > > FWIW, the display table slot is called `vertical-border'. > > Ack, you're

Re: lists.texi

2005-06-20 Thread Luc Teirlinck
Richard Stallman wrote: If you want to do a little work, I am sure you could write a single loop that produces the right elements in the right order. Then you could rotate it properly with a single call to setcdr followed by nconc'ing the pieces in the opposite order. Unless I am com

Re: point-to-frame-pixels?

2005-06-20 Thread Edward O'Connor
Lennart Borgman wrote: > I am looking for some way to translate from window-point to frame > pixels. Is there any function that does this? (It seems to be a basic > thing to do, but I have not been able to do this.) Does `posn-at-point' do what you want? -- Edward O'Connor [EMAIL PROTECTED] En

point-to-frame-pixels?

2005-06-20 Thread Lennart Borgman
I am looking for some way to translate from window-point to frame pixels. Is there any function that does this? (It seems to be a basic thing to do, but I have not been able to do this.) ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.

Re: [Mac OS X] [Win32] Frame-transparency patch

2005-06-20 Thread Juanma Barranquero
> - Better still would be to document what the ALPHA-VALUE is and what > is its range (0.0 to 1.0, I assume, but it is not said anywhere). In fact, you *can* pass values over 1.0 which produce some sort of wraparound. It'd be better to restrict the values entered to the correct range. --

Re: [Mac OS X] [Win32] Frame-transparency patch

2005-06-20 Thread Juanma Barranquero
On 6/20/05, Takashi Hiromatsu <[EMAIL PROTECTED]> wrote: > We have done. How about this? I'm using Visual Studio .NET 2003 and I'm getting "undefined identifier" errors for LWA_ALPHA and WS_EX_LAYERED. They are on WinUser.h, of course; I suppose it's a _WIN32_WINNT >= 0x0500 thing. Perhaps the ea

Re: [Mac OS X] [Win32] Frame-transparency patch

2005-06-20 Thread Takashi Hiromatsu
> Thank you for your suggestion. I will try it soon. We have done. How about this? * On W32, dynamically check the SetLayeredWindowAttributes function instead of compiler switchs like "#ifdef". * On Mac, use Gestalt function to chekc OSX version instead of compiler switchs. * then no longer n

RE: File menu changes (suggestions)

2005-06-20 Thread Drew Adams
We are miscommunicating: I didn't mean the name of the Lisp function, I meant the command name that appears in the menu. > - The command name is irrelevant here. I disagree. Obviously, if I thought you were speaking of the Lisp command name, then that is what I meant was irreleva

Re: File menu changes (suggestions)

2005-06-20 Thread Eli Zaretskii
> From: "Drew Adams" <[EMAIL PROTECTED]> > Date: Mon, 20 Jun 2005 09:53:13 -0700 > > We refer to the buffer on purpose: we want users to see Emacs > terminology even in the menus, and even when the menus are following > established UI guidelines and use standard entries like "New" and

Re: Diff mode faces

2005-06-20 Thread Eli Zaretskii
> From: Juri Linkov <[EMAIL PROTECTED]> > Date: Mon, 20 Jun 2005 07:48:08 +0300 > Cc: emacs-devel@gnu.org > > > First, it calls an obsolete function frame-update-face-colors (it's an > > alias for backward compatibility; let's use the function it is aliased > > to). > > Then it would be better to

Re: debug-on-entry question

2005-06-20 Thread Lute Kamstra
Juri Linkov <[EMAIL PROTECTED]> writes: > A better way to do this is to change the interactive specification of > `debug-on-entry' to call `function-called-at-point'. How about this? Lute. Index: lisp/emacs-lisp/debug.el === RCS f

Re: Threads in emacs implementation

2005-06-20 Thread Lennart Borgman
Nic Ferrier wrote: I think threads would be most useful for things like fontification and parsing (eg: in xml buffers). nxml-mode works pretty well for parsing and fontifying xml. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.

emacs-devel@gnu.org

2005-06-20 Thread info
$B!I!y!I!I!y!I!I!y!I(B $B5U1g$O"-(B http://www.awg4.com/ss/?lip1 $BITNQ"-(B http://www.awg4.com/ss/?lip2 $B5U6L!&6L$NMA$O"-(B http://www.awg4.com/ss/?lip3 $B(-40(-A4(-L5(-NA(-%](-%$(-%s(-%H(-$G(-(B $B(,(0(,(0(,(0(,(0(,(0(,(0(,(0(,(0(,(0(B $B(-AG(-?M(-=w([EMAIL PROTECTED](-$r(-%2(-

Re: New dumping problem...

2005-06-20 Thread Richard Stallman
I succeeded in building Emacs under Fedora Core 4 with: ./configure args... ; setarch i386 -R make bootstrap 1. Can people determine if this is a full solution? 2. If it is, can we reprogram configure.in and the makefiles to do this automatically when it's called for? _

Re: link appearance and soft face properties

2005-06-20 Thread Richard Stallman
If you are questioning whether such properties are really "hard" today, that is, whether they do not in fact allow for alternative display or interpretation as, say, sound, then I think the answer is "yes" - out of the box, Emacs does not allow for any alternative treatment for such

Re: New dumping problem...

2005-06-20 Thread Richard Stallman
BTW, FC4 eats the C-SPC key for the `iiimx' program which is the input method for (at least?) Japanese text by default, so I couldn't use C-SPC for `set-mark-command' in Emacs. Liang Zhao kindly told me that it can be solved by removing `space' from the /usr/lib/X11/app-default

Re: Matches for multiline regexps

2005-06-20 Thread Richard Stallman
Could you add an item to TODO and a comment in the code saying that occur isn't handling multiline regexps? ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

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

2005-06-20 Thread Richard Stallman
`scroll-margin' has no effect when `show-trailing-whitespace' is true. Would you please send a self-contained test case? Please read the Bugs section in the Emacs manual, which provides guidelines on how to write a bug report to give us the necessary information so we can fix the bug. _

Re: lists.texi

2005-06-20 Thread Richard Stallman
No. The bug is that if the size of the ring is larger than the length, the current version of `ring-elements' introduces fake `nil' elements. The delq gets rid of all nil's, fake ones and potentially legitimate ones, because certain ring elements could _really_ be nil. The nco

Re: Threads in emacs implementation

2005-06-20 Thread Ted Zlatanov
On Mon, 20 Jun 2005, [EMAIL PROTECTED] wrote: > Do you know of any applications that require this? For many purposes, > using timers etc. seems to work fairly well already. Gnus summary threading and spam processing, for example, could benefit greatly from multi-threading. It does not require i

Re: Threads in emacs implementation

2005-06-20 Thread Ted Zlatanov
On Fri, 17 Jun 2005, [EMAIL PROTECTED] wrote: > I'm thinking of ways to avoid the stack penalties the other proposals > involve. Could we allow only secondary threads with thread-local > variables and forked copies of globals? > > "Forked copies of globals" would mean copies of the v

Re: In FOR-RELEASE

2005-06-20 Thread Stephen Eglen
Reiner Steib writes: > On Fri, Jun 17 2005, Richard Stallman wrote: > > > FOR-RELEASE mentiones these bugs: > > > > ** Investigate reported crashes in compact_small_strings. > > > > ** Investigate reported crashes related to using an > > invalid pointer from string_free_list.

RE: link appearance and soft face properties

2005-06-20 Thread Drew Adams
> Providing a link face (that inherits etc.) and using it for all > links (i.e. places where the code in fact "follows a link" upon > click) would let users customize, in a single place, how links > appear. (If we provided buffer-local faces, users would also be > able to easi

RE: link appearance and soft face properties

2005-06-20 Thread Drew Adams
When you use emphasis and bold, you are speaking about two different kinds of markup, logical and physical. Right. I wrote about the separation of "purpose/intention/use from physical formatting", which was my way of characterizing logical vs physical or, as someone else pointed out, seman

RE: File menu changes (suggestions)

2005-06-20 Thread Drew Adams
We refer to the buffer on purpose: we want users to see Emacs terminology even in the menus, and even when the menus are following established UI guidelines and use standard entries like "New" and "Close". Why then do we use Paste instead of Yank? Menu-item names can serve as a br

RE: debug-on-entry question

2005-06-20 Thread Drew Adams
> However, that would only help with uses of `call-interactively', not > uses of `interactive' itself. I don't understand what you mean. `interactive' is just a specification. `call-interactively' interprets it. Sorry; I see that now. I didn't realize it when I wrote tha

Re: TTY Vertical divider face?

2005-06-20 Thread Johan Bockgård
Miles Bader <[EMAIL PROTECTED]> writes: > The name used for the display table slot is `vertical-divider' so > I'll use that for the face too. FWIW, the display table slot is called `vertical-border'. -- Johan Bockgård ___ Emacs-devel mailing list E

Re: [PATCH] [Peter Dyballa] --enable-locallisppath=PATH does not work when PATH contains space

2005-06-20 Thread Jérôme Marant
Selon Lute Kamstra <[EMAIL PROTECTED]>: > Hi Jérôme, Hi, > > Is anyone interested in applying this patch? > > Yep, I'll do that. Many thanks in advance! -- Jérôme Marant ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/

Re: In FOR-RELEASE

2005-06-20 Thread Reiner Steib
On Fri, Jun 17 2005, Richard Stallman wrote: > FOR-RELEASE mentiones these bugs: > > ** Investigate reported crashes in compact_small_strings. > > ** Investigate reported crashes related to using an > invalid pointer from string_free_list. > > They were reported a long time ago, before

Re: comment-line-break-function is not buffer-local

2005-06-20 Thread Juanma Barranquero
> The safe option is to stick to the current behavior, OK. -- /L/e/k/t/u ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

non-ref to a face name shadows references to functions and vars in docstrings

2005-06-20 Thread Juanma Barranquero
For example, in a describe-function of (defun test () "This tries to reference `next-error', the function." t) `next-error' does not get a link, because the existing face `next-error' is shadowing the possible function or variable symbols. (That's because the docstring does not use "the fac

Re: comment-line-break-function is not buffer-local

2005-06-20 Thread Stefan Monnier
> Yes, I know that. My question is, should I respect the behavior > described in the variable's current doc, or the one implemented? The safe option is to stick to the current behavior, Stefan ___ Emacs-devel mailing list Emacs-devel@gnu.org

Re: comment-line-break-function is not buffer-local

2005-06-20 Thread Juanma Barranquero
> The doc is necessarily wrong, because nowadays the "automatically becomes > local when set" message is automatically added to the docstring when > applicable, so it should not be in the docstring, whether we add > a make-variable-buffer-local or not. Yes, I know that. My question is, should I re

Re: comment-line-break-function is not buffer-local

2005-06-20 Thread Stefan Monnier
> Doc for comment-line-break-function says: > (defvar comment-line-break-function 'comment-indent-new-line > [...] > Setting this variable automatically makes it local to the current buffer.") > which is not true, and it seems it never was. (It was added at > http://savannah.gnu.org/cgi-bin/viewcv

Re: Why aren't paragraph-s\(tart\|eparate\) buffer local by default?

2005-06-20 Thread Stefan Monnier
> Unfortunately, the CC Mode initialisation hadn't been done for the > buffer. In particular, the the two paragraph variables hadn't been made > buffer local. So the global values got overwritten. Which is why I strongly recommend to always use (set (make-local-variable 'foo) bar) rather

Re: Threads in emacs implementation

2005-06-20 Thread Nic Ferrier
David Kastrup <[EMAIL PROTECTED]> writes: > And that's what multithreading is about: making conceptually easy > tasks easy to code. Not merely making them possible to code: you can > always hardcode the inner state maintained by the combination of a > stack and the program counter. > > But it is

Re: Threads in emacs implementation

2005-06-20 Thread David Kastrup
Nic Ferrier <[EMAIL PROTECTED]> writes: > Miles Bader <[EMAIL PROTECTED]> writes: > >> On 6/17/05, Ted Zlatanov <[EMAIL PROTECTED]> wrote: >>> This will make threads more of a utility than a true built-in, and >>> threaded code would be written especially for that purpose. >> >> Do you know of any

Re: TTY Vertical divider face?

2005-06-20 Thread Miles Bader
OK done. -Miles -- Do not taunt Happy Fun Ball. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

Re: [PATCH] [Peter Dyballa] --enable-locallisppath=PATH does not work when PATH contains space

2005-06-20 Thread Lute Kamstra
Hi Jérôme, > Is anyone interested in applying this patch? Yep, I'll do that. Lute. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

Re: Threads in emacs implementation

2005-06-20 Thread Nic Ferrier
Miles Bader <[EMAIL PROTECTED]> writes: > On 6/17/05, Ted Zlatanov <[EMAIL PROTECTED]> wrote: >> This will make threads more of a utility than a true built-in, and >> threaded code would be written especially for that purpose. > > Do you know of any applications that require this? For many purpos

comment-line-break-function is not buffer-local

2005-06-20 Thread Juanma Barranquero
Doc for comment-line-break-function says: (defvar comment-line-break-function 'comment-indent-new-line [...] Setting this variable automatically makes it local to the current buffer.") which is not true, and it seems it never was. (It was added at http://savannah.gnu.org/cgi-bin/viewcvs/emacs/ema

Re: TTY Vertical divider face?

2005-06-20 Thread Miles Bader
On 6/20/05, Miles Bader <[EMAIL PROTECTED]> wrote: > What should the face be called? `divider'? `window-divider'? > `vertical-divider'? The name used for the display table slot is `vertical-divider' so I'll use that for the face too. -Miles -- Do not taunt Happy Fun Ball. ___

Re: Documentation not clear for the Lisp function set-variable

2005-06-20 Thread Juanma Barranquero
On 6/20/05, Richard Stallman <[EMAIL PROTECTED]> wrote: > How about this doc string? > > (defun set-variable (var val &optional make-local) > "Set VARIABLE to VALUE. VALUE is a Lisp object. [...] If you change the docstring, it'd be great to also change the argument names to match the ones in

Re: foreground menu bug

2005-06-20 Thread Lute Kamstra
Richard Stallman <[EMAIL PROTECTED]> writes: > I tested this the other day too and was confuzzled (confused + > puzzled). After a while I realized that it had to do woth > font-lock-mode overriding my coloring. > > Perhaps those menu items should be disabled when Font Lock is enabled.

Re: TTY Vertical divider face?

2005-06-20 Thread Miles Bader
On 6/19/05, Richard Stallman <[EMAIL PROTECTED]> wrote: > > However, on principle it seems wrong to use mode-line-inactive > > directly. There ought to be a separate named face to control this. > > It could default to mode-line-inactive. > > How about adding this face now? > > Pl

emacs-devel@gnu.org

2005-06-20 Thread info
$B!I!y!I!I!y!I!I!y!I(B $B5U1g$O"-(B http://www.awg4.com/ss/?lip1 $BITNQ"-(B http://www.awg4.com/ss/?lip2 $B5U6L!&6L$NMA$O"-(B http://www.awg4.com/ss/?lip3 $B(-40(-A4(-L5(-NA(-%](-%$(-%s(-%H(-$G(-(B $B(,(0(,(0(,(0(,(0(,(0(,(0(,(0(,(0(,(0(B $B(-AG(-?M(-=w([EMAIL PROTECTED](-$r(-%2(-

Re: foreground menu bug

2005-06-20 Thread Lute Kamstra
Hi Werner, > [emacs CVS 2005-06-12 with GTK] > > If I mark a text region and select the menu entry > > Edit->Text Properties->Foreground Color->Other... > > I can select a colour (say, red) and everything is fine. > > After doing that, the colour `red' is added to the last submenu so > that it c

Re: Documentation not clear for the Lisp function set-variable

2005-06-20 Thread Yoni Rabkin
On 6/20/05, Richard Stallman <[EMAIL PROTECTED]> wrote: > How about this doc string? > > (defun set-variable (var val &optional make-local) > "Set VARIABLE to VALUE. VALUE is a Lisp object. > VARIABLE should be a user option variable name, a Lisp variable > meant to be customized by users. You

Re: File menu changes (suggestions)

2005-06-20 Thread David Kastrup
Eli Zaretskii <[EMAIL PROTECTED]> writes: >> 4. A better name for Revert is Reopen. > > Do you know of any other GUI applications that have such a menu > entry? xpdf, xdvi and ggv have "Reload", gimp has "Revert". I have not seen any "Reopen". -- David Kastrup, Kriemhildstr. 15, 44793 Bochum

Re: enriched-mode problems

2005-06-20 Thread David Kastrup
Richard Stallman <[EMAIL PROTECTED]> writes: > AUCTeX provides a major mode for editing LaTeX file. Normally, you > can generate both dvi files and pdf files from a LaTeX source file. > AUCTeX provides a minor mode that lets you select the output format. > You can customize this m