From: "Bingham, Jay" <Jay.Bingham@hp.com>
Subject: RE: Return to Marker
Date: Thu, 30 Jan 2003 14:35:49 -0600 [thread overview]
Message-ID: <72A87F7160C0994D8C5A36E2FDC227F5045D24ED@txnexc01.americas.cpqcorp.net> (raw)
On Thursday, January 30, 2003 1:49 PM CarlC wrote:
>"Jesper Harder" <harder@myrealbox.com> wrote in message
>news:m3d6mea441.fsf@defun.localdomain...
>> "CarlC" <carlc@snowbd.com> writes:
>>
>> Don't use `beginning-of-buffer' in Lisp code, it'll cause the type of
>> problem you describe. Use (goto-char (point-min)) instead. The same
>> applies to `end-of-buffer'.
>>
>
>Thanks, Jesper. Problem solved. Seems like this is something that
should be
>"fixed".
Why do you want to fix something that is not broken? The elisp manual
specifically and clearly states that beginning-of-buffer and
end-of-buffer were designed for interactive use and that the goto-char
construct is the proper way to move to the ends of the buffer in elsip
programs. The reason for this is that the of-buffer functions "set the
mark and display messages in the echo area." You can read all about it
in the "Motion to an End of the Buffer" section of the elisp manual at:
http://www.gnu.org/manual/elisp-manual-21-2.8/html_mono/elisp.html.
Regards,
-_
J_)
C_)ingham
. HP - NonStop Austin Software & Services - Software Quality
Assurance
. Austin, TX
. "Language is the apparel in which your thoughts parade in public.
. Never clothe them in vulgar and shoddy attire." -Dr. George W.
Crane-
next reply other threads:[~2003-01-30 20:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-30 20:35 Bingham, Jay [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-30 17:38 Return to Marker CarlC
2003-01-30 18:23 ` Jesper Harder
2003-01-30 19:48 ` CarlC
2003-01-30 20:44 ` Jesper Harder
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=72A87F7160C0994D8C5A36E2FDC227F5045D24ED@txnexc01.americas.cpqcorp.net \
--to=jay.bingham@hp.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).