From: Martin Maechler <maechler@stat.math.ethz.ch>
To: Reiner Steib <Reiner.Steib@gmx.de>
Cc: ATKINSON Lee <Lee.Atkinson@alcatel-lucent.com>,
bug-gnu-emacs@gnu.org, ESS-core@stat.math.ethz.ch
Subject: Re: line-beginning-position/line-end-position undefined
Date: Mon, 7 Apr 2008 12:34:14 +0200 [thread overview]
Message-ID: <18425.63654.844690.65173@stat.math.ethz.ch> (raw)
In-Reply-To: <v9abk962sq.fsf@marauder.physik.uni-ulm.de>
This is now fixed for ESS 5.3.7 (the next version).
Thank you for the notice.
Martin Maechler, ETH Zurich,
for the ESS core team.
>>>>> "RS" == Reiner Steib <reinersteib+gmane@imap.cc>
>>>>> on Fri, 04 Apr 2008 17:46:29 +0200 writes:
RS> On Tue, Mar 25 2008, Kurt Hornik wrote:
>> I see that ESS has
>>
>> ;; XEmacs <= 21.4.15 needs this
>> (if (not (fboundp 'line-beginning-position))
>> (defalias 'line-beginning-position 'point-at-bol))
>>
>> so this should do the job.
RS> Bad idea. This is a recipe for trouble. No package should define
RS> function out of its own namespace. Please report it as a bug to the
RS> ESS maintainer.
RS> ,----[ (info "(elisp)Coding Conventions") ]
RS> | * If a package needs to define an alias or a new function for
RS> | compatibility with some other version of Emacs, name it with the
RS> | package prefix, not with the raw name with which it occurs in the
RS> | other version. Here is an example from Gnus, which provides many
RS> | examples of such compatibility issues.
RS> |
RS> | (defalias 'gnus-point-at-bol
RS> | (if (fboundp 'point-at-bol)
RS> | 'point-at-bol
RS> | 'line-beginning-position))
RS> `----
RS> Bye, Reiner.
RS> --
RS> ,,,
RS> (o o)
RS> ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
prev parent reply other threads:[~2008-04-07 10:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4A5028372622294A99B8FFF6BD06EB7B0410B57C@USDALSMBS03.ad3.ad.alcatel.com>
2008-03-25 11:15 ` line-beginning-position/line-end-position undefined Kurt Hornik
2008-04-04 15:46 ` Reiner Steib
2008-04-07 10:34 ` Martin Maechler [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=18425.63654.844690.65173@stat.math.ethz.ch \
--to=maechler@stat.math.ethz.ch \
--cc=ESS-core@stat.math.ethz.ch \
--cc=Lee.Atkinson@alcatel-lucent.com \
--cc=Reiner.Steib@gmx.de \
--cc=bug-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.