Posts

Showing posts from December 3, 2018

Where are recentf entries stored? How can I import them into another emacs installation?

Image
up vote 2 down vote favorite I've installed emacs on a new OS, and would like to maintain my 'recentf' file history entries (they'll be in the same location thanks to symlinks). Where are these entries stored? And how could I export + improt them to the new emacs installation? recentf share | improve this question asked Nov 26 at 16:39 Chris Stryczynski 215 1 11 add a comment  |  ...

Do `disown -h` and `nohup` work effectively the same?

Image
up vote 15 down vote favorite 1 disown causes a shell not to send SIGHUP to its disowned job when the shell terminates, and removes the disowned job from the shell's job control. Is the first the result of the second? In other words, if a process started from a shell is removed from the shell's job control by any way, will the shell not send SIGHUP to the process when the shell terminates? disown -h still keeps a process under a shell's job control. Does it mean that disown -h makes a process still receives SIGHUP sent from the shell, but sets up the action of SIGHUP by the process to be "ignore"? That sounds similar to nohup . $ sleep 123 & disown -h [1] 26103 $ jobs [1]+ Running sleep 123 & $ fg 1 sleep 123 $ ^Z [1]+ Stopped sleep 125 $ bg 1 ...