all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan <wehmann@fnal.gov>
To: help-gnu-emacs@gnu.org
Subject: Re: Disappointed by texinfo @anchor construct
Date: Sun, 23 Nov 2014 05:43:22 -0800 (PST)	[thread overview]
Message-ID: <401166ed-de5c-4c4a-9b1b-1bcfa4be2be1@googlegroups.com> (raw)
In-Reply-To: <mailman.14359.1416698366.1147.help-gnu-emacs@gnu.org>

On Saturday, November 22, 2014 5:19:28 PM UTC-6, Robert Thorpe wrote:
> Alan <wehmann_at_fnal.gov> writes:
> 
> > If I start up Emacs with no initialization file then reference
> > to an anchor works properly--i.e. as described in the texinfo
> > Info file.  So, the problem is something that needs fixing in
> > my initialization file.
> 
> You probably have some code that switches buffers in a careless way.
> Something that is called frequently as a background task is setting the
> current buffer to fundamental-mode then exiting without switching it
> back.
> 
> You could bisect your init file.
> 
> BR,
> Robert Thorpe

The problem arose when I was using "man2texi" to create Perl texinfo files from Perl man pages (I wasn't aware of "perldoc-all" at the time--see my initial posting).  I decided to try to keep the bolding and italics seen in the man pages, in the info file.  I implemented this by bracketing such text with special characters, in the texinfo file.  Then, in the generated info file--when used--I had lisp code create extents and eliminate the special characters.  I did this by advising function "Info-find-node" so that my lisp code ran after it did.  I neglected to put 'save-excursion in my lisp code; that didn't seem to matter until I started using the @anchor construct.  Adding 'save-excursion to my lisp function solved my problem.


      parent reply	other threads:[~2014-11-23 13:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17  3:11 Disappointed by texinfo @anchor construct Alan
2014-11-17 16:40 ` Eli Zaretskii
     [not found] ` <mailman.13899.1416242463.1147.help-gnu-emacs@gnu.org>
2014-11-18 22:23   ` Alan
2014-11-19  3:49     ` Eli Zaretskii
     [not found]     ` <mailman.13992.1416368997.1147.help-gnu-emacs@gnu.org>
2014-11-19  5:22       ` Alan
2014-11-19 15:39         ` Eli Zaretskii
     [not found]         ` <mailman.14029.1416411570.1147.help-gnu-emacs@gnu.org>
2014-11-20  3:45           ` Alan
2014-11-20 17:29             ` Eli Zaretskii
     [not found]             ` <mailman.14180.1416504607.1147.help-gnu-emacs@gnu.org>
2014-11-21  4:01               ` Alan
2014-11-21  4:16               ` Alan
2014-11-21 11:39 ` Alan
2014-11-22 23:19   ` Robert Thorpe
     [not found]   ` <mailman.14359.1416698366.1147.help-gnu-emacs@gnu.org>
2014-11-23 13:43     ` Alan [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

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

  git send-email \
    --in-reply-to=401166ed-de5c-4c4a-9b1b-1bcfa4be2be1@googlegroups.com \
    --to=wehmann@fnal.gov \
    --cc=help-gnu-emacs@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.