unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: michael@cadilhac.name (Michaël Cadilhac)
Cc: alinsoar@voila.fr, "Emacs Dev \[emacs-devel\]" <emacs-devel@gnu.org>
Subject: Re: man page not found
Date: Wed, 09 May 2007 10:38:31 -0400	[thread overview]
Message-ID: <jwvwszihxrl.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87zm4e5jo4.fsf@lrde.org> ("Michaël Cadilhac"'s message of "Wed\, 09 May 2007 13\:19\:07 +0200")

> !       ;; The last line doesn't belong to any section.
> !       (forward-line -1))))

Are we 100% sure that the last line never belongs to any section?
Could we put at least some sanity check there.  E.g. it seems this
footer we want to skip always starts at column 0, so maybe we could just do

       (if (save-excursion (forward-line (if (bolp) -1 0))
                           (looking-at "[^ \t]"))
         ;; The last line is a footer.
         (forward-line -1))))


-- Stefan

  reply	other threads:[~2007-05-09 14:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09 10:50 man page not found A Soare
2007-05-09 11:03 ` Michaël Cadilhac
2007-05-09 11:19   ` Michaël Cadilhac
2007-05-09 14:38     ` Stefan Monnier [this message]
2007-05-09 14:59       ` Michaël Cadilhac
2007-05-09 17:39         ` Stefan Monnier
2007-05-10 13:05     ` Richard Stallman
2007-05-10 13:39       ` Michaël Cadilhac
2007-05-12 14:44         ` Michaël Cadilhac
  -- strict thread matches above, loose matches on Subject: below --
2007-05-09 13:41 A Soare
2007-05-09 14:28 ` Michaël Cadilhac
2007-05-09 20:15 A Soare
2007-05-09 20:32 ` Stefan Monnier
2007-05-09 20:41 ` Nick Roberts
2007-05-09 22:42 A Soare
2007-05-09 22:54 ` Nick Roberts
2007-05-09 23:17 ` Michaël Cadilhac
2007-05-10 11:57   ` Michaël Cadilhac
2007-05-09 23:37 A Soare
2007-05-09 23:38 A Soare

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvwszihxrl.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=alinsoar@voila.fr \
    --cc=emacs-devel@gnu.org \
    --cc=michael@cadilhac.name \
    /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.
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).