* resume with arguments in modern emacsen
@ 2012-08-21 8:31 Daniel
2012-08-21 8:44 ` Peter Dyballa
0 siblings, 1 reply; 4+ messages in thread
From: Daniel @ 2012-08-21 8:31 UTC (permalink / raw)
To: help-gnu-emacs
Since resume.el has become obsolete, does anybody have some tip on how to
achieve the same functionality by some other means? That is, having a suspended
(C-z) emacs open a file the moment it is resumed (fg). I'm usually on non-X11
emacs, and typically not running emacsclient. Perhaps the only solution
nowdays is emacsclient, but would it even work when emacs is suspended...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: resume with arguments in modern emacsen
2012-08-21 8:31 resume with arguments in modern emacsen Daniel
@ 2012-08-21 8:44 ` Peter Dyballa
2012-08-21 9:24 ` Daniel
[not found] ` <mailman.7337.1345541116.855.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Peter Dyballa @ 2012-08-21 8:44 UTC (permalink / raw)
To: Daniel; +Cc: help-gnu-emacs
Am 21.08.2012 um 10:31 schrieb Daniel:
> Since resume.el has become obsolete, does anybody have some tip on how to
> achieve the same functionality by some other means? That is, having a suspended
> (C-z) emacs open a file the moment it is resumed (fg). I'm usually on non-X11
> emacs, and typically not running emacsclient. Perhaps the only solution
> nowdays is emacsclient, but would it even work when emacs is suspended...
>
>
Between suspending GNU Emacs in the background and then putting again into the foreground nothing can happen in GNU Emacs in-between. Nothing changes. When it is again in the foreground it will show the same as in the moment when it was put into the background…
--
Greetings
Pete
The wise man said: "Never argue with an idiot. They bring you down to their level and beat you with experience."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: resume with arguments in modern emacsen
2012-08-21 8:44 ` Peter Dyballa
@ 2012-08-21 9:24 ` Daniel
[not found] ` <mailman.7337.1345541116.855.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 4+ messages in thread
From: Daniel @ 2012-08-21 9:24 UTC (permalink / raw)
To: help-gnu-emacs
> Between suspending GNU Emacs in the background and then putting again into
> the foreground nothing can happen in GNU Emacs in-between. Nothing changes.
> When it is again in the foreground it will show the same as in the moment
> when it was put into the background…
Of course. And what resume.el did upon resume was to look in ~/.emacs_args for
a filename which it would open.
Right, after removing the obsoletion mark from resume.el, neat feature works
fine again in 24--it hadn't been broken as I first thought.
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.7337.1345541116.855.help-gnu-emacs@gnu.org>]
* Re: resume with arguments in modern emacsen
[not found] ` <mailman.7337.1345541116.855.help-gnu-emacs@gnu.org>
@ 2012-08-22 15:23 ` Stefan Monnier
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2012-08-22 15:23 UTC (permalink / raw)
To: help-gnu-emacs
> Right, after removing the obsoletion mark from resume.el, neat feature works
> fine again in 24--it hadn't been broken as I first thought.
Packages marked obsolete are supposed to work still (not sure what you
man by "removing the obsoletion mark"), so if they don't you should
report it as a bug (tho usually the fixes will be minimalist, of
course).
Also if you can't find a replacement for the feature, that's a bug.
I.e. if emacsclient doesn't provide the same functionality, then please
complain via M-x report-emacs-bug.
> Perhaps the only solution nowdays is emacsclient, but would it even
> work when emacs is suspended...
The idea is to use emacsclient -a "", so even when Emacs seems
suspended, the daemon is still listening (basically, the `emacs'
process is not suspended: it's only detached from the tty).
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-08-22 15:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-21 8:31 resume with arguments in modern emacsen Daniel
2012-08-21 8:44 ` Peter Dyballa
2012-08-21 9:24 ` Daniel
[not found] ` <mailman.7337.1345541116.855.help-gnu-emacs@gnu.org>
2012-08-22 15:23 ` Stefan Monnier
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.