Gnus development mailing list
 help / color / mirror / Atom feed
* someone broke message-newline-and-reformat
@ 2000-11-10 11:39 Vladimir Volovich
  2000-11-10 12:20 ` dme
  2000-11-10 12:58 ` dme
  0 siblings, 2 replies; 17+ messages in thread
From: Vladimir Volovich @ 2000-11-10 11:39 UTC (permalink / raw)


Hi!

recently, the message-newline-and-reformat (M-RET) function became
broken. it used to work fine with SuperCite, but it no longer works.

copy the following cited paragraph into the new mail buffer, put a
cursor in the middle of the string, and press M-RET.

 AB> test test test test test test test test test test test test
 AB> test test test test test test test test test test test test
 AB> test test test test test test test test test test test test
 AB> test test test test test test test test test test test test
 AB> test test test test test test test test test test test test

Best,
v.




^ permalink raw reply	[flat|nested] 17+ messages in thread
* someone broke message-newline-and-reformat
@ 2000-11-10 11:46 Vladimir Volovich
  0 siblings, 0 replies; 17+ messages in thread
From: Vladimir Volovich @ 2000-11-10 11:46 UTC (permalink / raw)


Hi!

 > recently, the message-newline-and-reformat (M-RET) function became
 > broken. it used to work fine with SuperCite, but it no longer works.

the bug was introduced by the following patch:

2000-09-29  David Edmondson  <dme@thus.net>

        One-line patch.
        
        * message.el (message-newline-and-reformat): Typo.

$ cvs diff -u -r6.5 -r6.6 message.el 
Index: message.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/message.el,v
retrieving revision 6.5
retrieving revision 6.6
diff -u -r6.5 -r6.6
--- message.el  2000/11/04 13:35:32     6.5
+++ message.el  2000/11/04 14:21:04     6.6
@@ -1716,7 +1716,7 @@
     (unless (bolp)
       (save-excursion
        (beginning-of-line)
-       (when (looking-at (concat prefix
+       (when (looking-at (concat prefix "\\|"
                                  supercite-thing))
          (setq quoted (match-string 0))))
       (insert "\n"))

Could you please revert the buggy patch?

Best,
v.




^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: someone broke message-newline-and-reformat
@ 2000-11-17 11:42 Vladimir Volovich
  2000-11-17 11:51 ` dme
  2000-11-17 13:09 ` ShengHuo ZHU
  0 siblings, 2 replies; 17+ messages in thread
From: Vladimir Volovich @ 2000-11-17 11:42 UTC (permalink / raw)


Hi,

message-newline-and-reformat still behaves not good: it removes any
spaces betseen attribution and cited text after reciting.

well, is it really that hard to fix message-newline-and-reformat once
and for all? :-)

if you cannot make the regexp variables sharable between
message-newline-and-reformat and other purposes, then just do not
share them: i've already posted a regexp for
message-newline-and-reformat which works nice.

Best,
v.




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2000-11-17 13:09 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-10 11:39 someone broke message-newline-and-reformat Vladimir Volovich
2000-11-10 12:20 ` dme
2000-11-10 12:58 ` dme
2000-11-10 15:16   ` Vladimir Volovich
2000-11-10 15:37     ` dme
2000-11-10 16:52     ` Kai Großjohann
2000-11-11 18:35       ` dme
2000-11-11 22:38         ` Kai Großjohann
2000-11-12 11:21         ` dme
2000-11-13 10:49     ` Vladimir Volovich
2000-11-13 12:17       ` dme
2000-11-13 12:23     ` Vladimir Volovich
2000-11-10 11:46 Vladimir Volovich
2000-11-17 11:42 Vladimir Volovich
2000-11-17 11:51 ` dme
2000-11-17 13:09   ` ShengHuo ZHU
2000-11-17 13:09 ` ShengHuo ZHU

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 NNTP newsgroup(s).