unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: acm@muc.de, Andreas Schwab <schwab@linux-m68k.org>, emacs-devel@gnu.org
Subject: Re: 24.2.90: Confusion in "Top" "nn%" and "Bot".
Date: Sun, 02 Dec 2012 03:08:33 +0200	[thread overview]
Message-ID: <87txs5b6r2.fsf@mail.jurta.org> (raw)
In-Reply-To: <838v9hubuj.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 01 Dec 2012 15:43:32 +0200")

> A simple fix is not to hide the last newline.  This is from the end of
> Info-fontify-node:
>
>       ;; Hide empty lines at the end of the node.
>       (goto-char (point-max))
>       (skip-chars-backward "\n")
>       (when (< (1+ (point)) (1- (point-max)))
> 	(put-text-property (1+ (point)) (1- (point-max)) 'invisible t))
>
> where I decremented point-max in 2 last instances.

This will display 2 empty lines defeating the request of bug#12272.
I'll post another patch to bug#12272.



      reply	other threads:[~2012-12-02  1:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-30 21:45 24.2.90: Confusion in "Top" "nn%" and "Bot" Alan Mackenzie
2012-12-01 10:40 ` Dani Moncayo
2012-12-01 13:06 ` Andreas Schwab
2012-12-01 13:43   ` Eli Zaretskii
2012-12-02  1:08     ` Juri Linkov [this message]

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=87txs5b6r2.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=acm@muc.de \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@linux-m68k.org \
    /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).