From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40149 Path: main.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.gnus.general Subject: Re: header-sensitive beginning-of-line? Date: Fri, 09 Nov 2001 10:23:36 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035175742 31683 80.91.224.250 (21 Oct 2002 04:49:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:49:02 +0000 (UTC) Return-Path: Original-Received: (qmail 9811 invoked from network); 9 Nov 2001 15:24:33 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 9 Nov 2001 15:24:33 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 162DVb-0001fo-00; Fri, 09 Nov 2001 09:23:55 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 09 Nov 2001 09:23:36 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id JAA04632 for ; Fri, 9 Nov 2001 09:23:24 -0600 (CST) Original-Received: (qmail 9803 invoked by alias); 9 Nov 2001 15:23:37 -0000 Original-Received: (qmail 9798 invoked from network); 9 Nov 2001 15:23:37 -0000 Original-Received: from mail.cis.ohio-state.edu (HELO cis.ohio-state.edu) (root@164.107.115.5) by gnus.org with SMTP; 9 Nov 2001 15:23:37 -0000 Original-Received: from eta.cis.ohio-state.edu (rutt@eta.cis.ohio-state.edu [164.107.112.62]) by cis.ohio-state.edu (8.9.1/8.9.1) with ESMTP id KAA05765 for ; Fri, 9 Nov 2001 10:23:36 -0500 (EST) Original-Received: (from rutt@localhost) by eta.cis.ohio-state.edu (8.9.1/8.9.1) id KAA12288; Fri, 9 Nov 2001 10:23:36 -0500 (EST) X-Authentication-Warning: eta.cis.ohio-state.edu: rutt set sender to rutt@cis.ohio-state.edu using -f Original-Sender: Benjamin Rutt Original-To: ding@gnus.org X-Face: (&zE&hBC"G~kYNV6dt5#[X'%{!h5@/oUyc`CRNn#d6e2qi%~4N.?_ys_bQ3&7.*> 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))) =20=20 (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))) =20=20 (defun message-buffer-name (type &optional to group) Thanks again, --=20 Benjamin