[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: Emacs's handling of line numbers [from bug#5042]
From:
Miles Bader
Subject:
Re: Emacs's handling of line numbers [from bug#5042]
Date:
2010年6月09日 12:44:46 +0900
Mark Lillibridge <address@hidden> writes:
>> > => "should not be called from Elisp"?
>>
>> Oops, thanks,
>
> That's funny; the documentation for goto-line specifically talks about
> its behavior when called from elisp!
Well of course you _can_ call it from elisp, but still, many commands
can be thought of as being "user-oriented". These are discouraged from
being used in elisp because they have things like side-effects and more
complicated DWIMy behavior that can be undesirable for programming.
However, occasionally, you want to call such commands anyway (e.g., when
you're writing a wrapper for them).
-Miles
--
Politics, n. A strife of interests masquerading as a contest of
principles. The conduct of public affairs for private advantage.