* Re: python mode M-q fills code
[not found] <87n0se2bqu.fsf@fleche.redhat.com>
@ 2002-07-28 2:42 ` Richard Stallman
2002-08-12 22:17 ` Tom Tromey
0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2002-07-28 2:42 UTC (permalink / raw)
Cc: emacs-devel
# This is a comment.
# This is the second line of the comment.
class q:
Now move point to the first line and type M-q.
I see this result:
# This is a comment. This is the second line of the comment. class
# q:
That is indeed a bug. Python mode does not seem to be part of Emacs.
Where did you find it?
As for Perl mode, this can be fixed by adapting the function
lisp-fill-paragraph or tcl-do-fill-paragraph to Perl syntax, and
making that the local value of fill-paragraph-function in Perl mode.
I don't know Perl; does someone who knows Perl want to work on this?
What about CPerl mode? Does it do the job right?
Right now the `_' character seems to have word syntax in python-mode.
M-f and M-b don't stop at an underscore.
I thought the standard in Emacs was that `_' ought to have "symbol
constituent" syntax.
Yes, that's correct.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: python mode M-q fills code
2002-07-28 2:42 ` python mode M-q fills code Richard Stallman
@ 2002-08-12 22:17 ` Tom Tromey
2002-08-13 20:49 ` Alex Schroeder
0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2002-08-12 22:17 UTC (permalink / raw)
Cc: emacs-devel
>>>>> "rms" == Richard Stallman <rms@gnu.org> writes:
rms> That is indeed a bug. Python mode does not seem to be part of
rms> Emacs. Where did you find it?
Apologies; I had assumed it came with GNU Emacs, but now I see it is
actually in site-lisp/ and hence probably comes from some other
source. I'll try to find out where it comes from.
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: python mode M-q fills code
2002-08-12 22:17 ` Tom Tromey
@ 2002-08-13 20:49 ` Alex Schroeder
0 siblings, 0 replies; 3+ messages in thread
From: Alex Schroeder @ 2002-08-13 20:49 UTC (permalink / raw)
Cc: emacs-devel
Tom Tromey <tromey@redhat.com> writes:
> Apologies; I had assumed it came with GNU Emacs, but now I see it is
> actually in site-lisp/ and hence probably comes from some other
> source. I'll try to find out where it comes from.
It is distributed with Python and can be downloaded from their web
site.
Alex.
--
http://www.electronicintifada.net/diaries/index.html
http://www.us-israel.org/jsource/US-Israel/hr2506c.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-08-13 20:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <87n0se2bqu.fsf@fleche.redhat.com>
2002-07-28 2:42 ` python mode M-q fills code Richard Stallman
2002-08-12 22:17 ` Tom Tromey
2002-08-13 20:49 ` Alex Schroeder
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).