Gnus development mailing list
 help / color / mirror / Atom feed
From: Benjamin Rutt <rutt+news@cis.ohio-state.edu>
Subject: Re: header-sensitive beginning-of-line?
Date: Fri, 09 Nov 2001 10:23:36 -0500	[thread overview]
Message-ID: <wc37kt0t1c7.fsf@eta.cis.ohio-state.edu> (raw)
In-Reply-To: <vafpu6sxawh.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de>

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

>> Done.

Super!  It's great to find an idea that you were pondering while you
were going to bed get implemented while you were sleeping! :) Glad to
see that others felt the same way.  Thanks for your work on this, and
for everyone else's support and code.

> Oh, boy, such a simple change and so much time.  I'm sorry for the
> flurry of commits.  I hope everything works now.  Please holler if I
> missed something.

I think there may be an issue still with multi-line headers.  For
example, go to any multiline references header and type C-a and you
get the following stack trace:

Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  message-beginning-of-line(1)
  call-interactively(message-beginning-of-line)

Also, if you are on the line that looks like

"--text follows this line--"

there is the same problem.

The following patch to cvs should fix it (sorry for the diff -c but
the version of diff on my solaris machine doesn't support diff
-u...will have to install GNU diff):

*** message.el.~6.153.~	Fri Nov  9 09:40:34 2001
--- message.el	Fri Nov  9 10:18:07 2001
***************
*** 3973,3979 ****
  	     (eoh (re-search-forward ": *" eol t)))
  	(if (equal here eoh)
  	    (goto-char bol)
! 	  (goto-char eoh)))
      (beginning-of-line n)))
  
  (defun message-buffer-name (type &optional to group)
--- 3973,3981 ----
  	     (eoh (re-search-forward ": *" eol t)))
  	(if (equal here eoh)
  	    (goto-char bol)
! 	  (if eoh
! 	      (goto-char eoh)
! 	    (beginning-of-line n))))
      (beginning-of-line n)))
  
  (defun message-buffer-name (type &optional to group)

Thanks again,
-- 
Benjamin



  reply	other threads:[~2001-11-09 15:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-09  0:47 Benjamin Rutt
2001-11-09  5:34 ` Matt Armstrong
2001-11-09 11:08   ` Andreas Fuchs
2001-11-09 12:20     ` Colin Marquardt
2001-11-09  8:48 ` Kai Großjohann
2001-11-11  9:17   ` Karl Eichwalder
2001-11-11 18:12     ` Benjamin Rutt
2001-11-11 19:28       ` Kai Großjohann
2001-11-09 14:31 ` Kai Großjohann
2001-11-09 14:43   ` Kai Großjohann
2001-11-09 15:23     ` Benjamin Rutt [this message]
2001-11-09 16:08       ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wc37kt0t1c7.fsf@eta.cis.ohio-state.edu \
    --to=rutt+news@cis.ohio-state.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).