* bug#14484: 24.3.50; doc of `after-find-file'
@ 2013-05-27 15:11 Drew Adams
2016-04-28 23:39 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2013-05-27 15:11 UTC (permalink / raw)
To: 14484
1. The parameter is named _AFTER-FIND-FILE-FROM-REVERT-BUFFER, not
AFTER-FIND-FILE-FROM-REVERT-BUFFER.
2. This makes no sense:
"(see `revert-buffer-in-progress-p' for similar functionality)."
Similar functionality to what? The parameter is _ignored_!
Seems like this doc string got incompletely updated when the function
got modified to ignore this parameter. Just a guess - incomprehensible
as it stands.
3. And since _AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored, why
does `recover-file' continue to make a point of using it? Why doesn't
it just use `(after-find-file)'? Again, it seems like someone made an
incomplete change to the code, neglecting to clean up here and there.
In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
of 2013-05-24 on LEG570
Bzr revision: 112715 yamaoka@jpl.org-20130524143612-v96chr0e5istvj82
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/usr --enable-checking CFLAGS='-O0 -g3'
CPPFLAGS='-DGLYPH_DEBUG=1 -I/c/usr/include''
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#14484: 24.3.50; doc of `after-find-file'
2013-05-27 15:11 bug#14484: 24.3.50; doc of `after-find-file' Drew Adams
@ 2016-04-28 23:39 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-28 23:39 UTC (permalink / raw)
To: Drew Adams; +Cc: 14484
Drew Adams <drew.adams@oracle.com> writes:
> 1. The parameter is named _AFTER-FIND-FILE-FROM-REVERT-BUFFER, not
> AFTER-FIND-FILE-FROM-REVERT-BUFFER.
This is how `C-h f' on that starts:
after-find-file is a compiled Lisp function in ‘files.el’.
(after-find-file &optional ERROR WARN NOAUTO
AFTER-FIND-FILE-FROM-REVERT-BUFFER NOMODES)
So it's consistent, even if the arg is "really" _'d.
> 2. This makes no sense:
> "(see `revert-buffer-in-progress-p' for similar functionality)."
>
> Similar functionality to what? The parameter is _ignored_!
I think it means "if this is what you used to use, use this similar
thing instead". Seems clear to me.
> 3. And since _AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored, why
> does `recover-file' continue to make a point of using it? Why doesn't
> it just use `(after-find-file)'? Again, it seems like someone made an
> incomplete change to the code, neglecting to clean up here and there.
It calls
(after-find-file nil nil t)
so if it did, it's been fixed.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-28 23:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-27 15:11 bug#14484: 24.3.50; doc of `after-find-file' Drew Adams
2016-04-28 23:39 ` Lars Ingebrigtsen
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.