* c-mode eats page-breaks
@ 2007-01-31 21:51 Alfred M. Szmidt
2007-02-01 1:11 ` Herbert Euler
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Alfred M. Szmidt @ 2007-01-31 21:51 UTC (permalink / raw)
To: emacs-devel
Hi,
In c-mode, when you have a page-break (^L) in column 0, and you hit
TAB (c-indent-command) while having point at column 0, the page-break
gets eaten. Is this a bug or a feature?
Happy hacking.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: c-mode eats page-breaks
2007-01-31 21:51 c-mode eats page-breaks Alfred M. Szmidt
@ 2007-02-01 1:11 ` Herbert Euler
2007-02-04 9:47 ` Alan Mackenzie
2007-02-04 11:20 ` Alan Mackenzie
2 siblings, 0 replies; 7+ messages in thread
From: Herbert Euler @ 2007-02-01 1:11 UTC (permalink / raw)
To: ams, emacs-devel
>In c-mode, when you have a page-break (^L) in column 0, and you hit
>TAB (c-indent-command) while having point at column 0, the page-break
>gets eaten. Is this a bug or a feature?
I found that ^L is a member of white space characters. Namely,
`skip-syntax-forward' will treat it as a white space. This does not
answer whether it is a bug, but it answers why the ^L is eaten.
Regards,
Guanpeng Xu
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c-mode eats page-breaks
2007-01-31 21:51 c-mode eats page-breaks Alfred M. Szmidt
2007-02-01 1:11 ` Herbert Euler
@ 2007-02-04 9:47 ` Alan Mackenzie
2007-02-04 10:39 ` David Kastrup
2007-02-04 11:20 ` Alan Mackenzie
2 siblings, 1 reply; 7+ messages in thread
From: Alan Mackenzie @ 2007-02-04 9:47 UTC (permalink / raw)
To: Alfred M. Szmidt; +Cc: emacs-devel
Hi, Alfred!
On Wed, Jan 31, 2007 at 10:51:30PM +0100, Alfred M. Szmidt wrote:
> Hi,
> In c-mode, when you have a page-break (^L) in column 0, and you hit
> TAB (c-indent-command) while having point at column 0, the page-break
> gets eaten. Is this a bug or a feature?
:-)
On balance, I think it's a bug.
So I'm going to change this so that ^Ls remain unmolested by indentation
commands.
> Happy hacking.
Thanks for the report!
--
Alan Mackenzie (Ittersbach, Germany).
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c-mode eats page-breaks
2007-02-04 9:47 ` Alan Mackenzie
@ 2007-02-04 10:39 ` David Kastrup
2007-02-05 0:22 ` Richard Stallman
0 siblings, 1 reply; 7+ messages in thread
From: David Kastrup @ 2007-02-04 10:39 UTC (permalink / raw)
To: Alan Mackenzie; +Cc: Alfred M. Szmidt, emacs-devel
Alan Mackenzie <acm@muc.de> writes:
> Hi, Alfred!
>
> On Wed, Jan 31, 2007 at 10:51:30PM +0100, Alfred M. Szmidt wrote:
>> Hi,
>
>> In c-mode, when you have a page-break (^L) in column 0, and you hit
>> TAB (c-indent-command) while having point at column 0, the page-break
>> gets eaten. Is this a bug or a feature?
>
> :-)
>
> On balance, I think it's a bug.
>
> So I'm going to change this so that ^Ls remain unmolested by indentation
> commands.
It probably should not have a syntax of whitespace.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c-mode eats page-breaks
2007-01-31 21:51 c-mode eats page-breaks Alfred M. Szmidt
2007-02-01 1:11 ` Herbert Euler
2007-02-04 9:47 ` Alan Mackenzie
@ 2007-02-04 11:20 ` Alan Mackenzie
2007-02-04 11:47 ` Alfred M. Szmidt
2 siblings, 1 reply; 7+ messages in thread
From: Alan Mackenzie @ 2007-02-04 11:20 UTC (permalink / raw)
To: Alfred M. Szmidt; +Cc: emacs-devel
Hi, Alfred.
I've just commited a fix to ..../lisp/progmodes/cc-cmds.el. Could you
update your copy of Emacs and try it out, please.
On Wed, Jan 31, 2007 at 10:51:30PM +0100, Alfred M. Szmidt wrote:
> Hi,
> In c-mode, when you have a page-break (^L) in column 0, and you hit
> TAB (c-indent-command) while having point at column 0, the page-break
> gets eaten. Is this a bug or a feature?
> Happy hacking.
--
Alan Mackenzie (Ittersbach, Germany)
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-02-05 0:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-31 21:51 c-mode eats page-breaks Alfred M. Szmidt
2007-02-01 1:11 ` Herbert Euler
2007-02-04 9:47 ` Alan Mackenzie
2007-02-04 10:39 ` David Kastrup
2007-02-05 0:22 ` Richard Stallman
2007-02-04 11:20 ` Alan Mackenzie
2007-02-04 11:47 ` Alfred M. Szmidt
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.