<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/lib-src/emacsclient.c, branch feature/context-menu</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Update copyright year to 2021</title>
<updated>2021-01-01T09:13:56+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2021-01-01T09:13:56+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ba05d005e5a81bc123ad8da928b1bccb6b160e7a'/>
<id>ba05d005e5a81bc123ad8da928b1bccb6b160e7a</id>
<content type='text'>
Run "TZ=UTC0 admin/update-copyright".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run "TZ=UTC0 admin/update-copyright".
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust to recent Gnulib changes</title>
<updated>2020-12-25T09:40:39+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2020-12-25T09:38:31+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ec8a17e938c3ef213709ea6b6b3e565333a9c508'/>
<id>ec8a17e938c3ef213709ea6b6b3e565333a9c508</id>
<content type='text'>
The latest Gnulib merge brought in free-posix, which causes 'free'
to preserve errno.  This lets us simplify some Emacs code that
calls 'free'.
* admin/merge-gnulib (GNULIB_MODULES): Add free-posix.
This module is pulled in by canonicalize-lgpl anyway,
so we might as well rely on it.
* lib-src/emacsclient.c (get_current_dir_name):
Sync better with src/sysdep.c.
* lib-src/etags.c (process_file_name, etags_mktmp):
* lib-src/update-game-score.c (unlock_file):
* src/fileio.c (file_accessible_directory_p):
* src/sysdep.c (get_current_dir_name_or_unreachable):
Simplify by assuming that 'free' preserves errno.
* src/alloc.c (malloc_unblock_input):
Preserve errno, so that xfree preserves errno.
* src/sysdep.c (get_current_dir_name_or_unreachable):
Simplify by using strdup instead of malloc+memcpy.
No need for realloc (and the old code leaked memory anyway on
failure); just use free+malloc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The latest Gnulib merge brought in free-posix, which causes 'free'
to preserve errno.  This lets us simplify some Emacs code that
calls 'free'.
* admin/merge-gnulib (GNULIB_MODULES): Add free-posix.
This module is pulled in by canonicalize-lgpl anyway,
so we might as well rely on it.
* lib-src/emacsclient.c (get_current_dir_name):
Sync better with src/sysdep.c.
* lib-src/etags.c (process_file_name, etags_mktmp):
* lib-src/update-game-score.c (unlock_file):
* src/fileio.c (file_accessible_directory_p):
* src/sysdep.c (get_current_dir_name_or_unreachable):
Simplify by assuming that 'free' preserves errno.
* src/alloc.c (malloc_unblock_input):
Preserve errno, so that xfree preserves errno.
* src/sysdep.c (get_current_dir_name_or_unreachable):
Simplify by using strdup instead of malloc+memcpy.
No need for realloc (and the old code leaked memory anyway on
failure); just use free+malloc.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't output emacsclient warning if both -a and --quiet</title>
<updated>2020-08-13T08:29:44+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2020-08-13T08:29:44+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=804a0e82f2672db7cabddd99958cc97d5679beeb'/>
<id>804a0e82f2672db7cabddd99958cc97d5679beeb</id>
<content type='text'>
* lib-src/emacsclient.c (set_local_socket): Don't output the
warning if both -a and --quiet are specified (bug#16117).
Inspired by a patch from Scott Turner &lt;srt19170@gmail.com&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib-src/emacsclient.c (set_local_socket): Don't output the
warning if both -a and --quiet are specified (bug#16117).
Inspired by a patch from Scott Turner &lt;srt19170@gmail.com&gt;.
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop using newly-deprecated dosname Gnulib module</title>
<updated>2020-03-28T21:08:11+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2020-03-28T20:58:44+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=4f41188a6e1eb0ce832bd74907642f30ada344d9'/>
<id>4f41188a6e1eb0ce832bd74907642f30ada344d9</id>
<content type='text'>
Code is supposed to use the filename module now.
* admin/merge-gnulib (GNULIB_MODULES): Replace dosname with filename.
* lib/dosname.h: Remove this forwarding stub.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lib-src/emacsclient.c, src/fileio.c:
Include filename.h instead of dosname.h.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Code is supposed to use the filename module now.
* admin/merge-gnulib (GNULIB_MODULES): Replace dosname with filename.
* lib/dosname.h: Remove this forwarding stub.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lib-src/emacsclient.c, src/fileio.c:
Include filename.h instead of dosname.h.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make emacs prefer an existing ~/.emacs.d to an existing XDG location</title>
<updated>2020-01-16T15:05:45+00:00</updated>
<author>
<name>Robert Pluim</name>
</author>
<published>2020-01-15T11:24:43+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=13995f31a219bfcb24da5887136583cbf2deff4c'/>
<id>13995f31a219bfcb24da5887136583cbf2deff4c</id>
<content type='text'>
* doc/emacs/custom.texi (Find Init): Update description of how Emacs
finds its init file directory and the interaction with
$XDG_CONFIG_HOME
(Early Init File): Correct XDG location of early-init.el

* etc/NEWS: Update description to make it clear the ~/.emacs.d is
preferred, even if the XDG location exists.

* lisp/startup.el: Prefer ~/.emacs.d even if the XDG location exists.

* lib-src/emacsclient.c (open_config): Prefer home directory the XDG
location.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/emacs/custom.texi (Find Init): Update description of how Emacs
finds its init file directory and the interaction with
$XDG_CONFIG_HOME
(Early Init File): Correct XDG location of early-init.el

* etc/NEWS: Update description to make it clear the ~/.emacs.d is
preferred, even if the XDG location exists.

* lisp/startup.el: Prefer ~/.emacs.d even if the XDG location exists.

* lib-src/emacsclient.c (open_config): Prefer home directory the XDG
location.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright year to 2020</title>
<updated>2020-01-01T00:59:52+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2020-01-01T00:19:43+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=365e01cc9f64ce6ca947ccfd8612d60763280a37'/>
<id>365e01cc9f64ce6ca947ccfd8612d60763280a37</id>
<content type='text'>
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "emacsclient: ignore --eval parameters when starting alternate editor"</title>
<updated>2019-09-15T12:11:14+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2019-09-15T12:11:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f198a5c5144fdded1400df6e8454e4b1b912c7de'/>
<id>f198a5c5144fdded1400df6e8454e4b1b912c7de</id>
<content type='text'>
This reverts commit 6fe661342a24edcaea255c3ba9a37613031554da.

The alternate editor may be Emacs, which is useful when you want to eval something in an existing Emacs (if it exists), or in a new Emacs if there's no server running.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 6fe661342a24edcaea255c3ba9a37613031554da.

The alternate editor may be Emacs, which is useful when you want to eval something in an existing Emacs (if it exists), or in a new Emacs if there's no server running.
</pre>
</div>
</content>
</entry>
<entry>
<title>emacsclient: adjust to new config file location</title>
<updated>2019-08-30T07:24:47+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2019-08-30T07:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=44f15b63dbe9a45921573197e08c8aaaed08412a'/>
<id>44f15b63dbe9a45921573197e08c8aaaed08412a</id>
<content type='text'>
* lib-src/emacsclient.c (open_config): New arg XDG, to respect
XDG_CONFIG_HOME, consistently with Emacs proper.  Caller changed.
Use XDG convention if available, falling back on the old names
if not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib-src/emacsclient.c (open_config): New arg XDG, to respect
XDG_CONFIG_HOME, consistently with Emacs proper.  Caller changed.
Use XDG convention if available, falling back on the old names
if not.
</pre>
</div>
</content>
</entry>
<entry>
<title>emacsclient: ignore --eval parameters when starting alternate editor</title>
<updated>2019-06-27T19:00:36+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2019-06-27T18:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6fe661342a24edcaea255c3ba9a37613031554da'/>
<id>6fe661342a24edcaea255c3ba9a37613031554da</id>
<content type='text'>
* lib-src/emacsclient.c (fail): If the user said --eval, don't
pass those arguments to the alternate editor as file names.
Suggested by a patch from Scott Turner (bug#11474).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib-src/emacsclient.c (fail): If the user said --eval, don't
pass those arguments to the alternate editor as file names.
Suggested by a patch from Scott Turner (bug#11474).
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix PATH_MAX change to lib-src/emacsclient.c</title>
<updated>2019-06-26T00:05:53+00:00</updated>
<author>
<name>Juanma Barranquero</name>
</author>
<published>2019-06-26T00:05:53+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=29babad7286bff235407e883a4ff61bae49a2e5e'/>
<id>29babad7286bff235407e883a4ff61bae49a2e5e</id>
<content type='text'>
* lib-src/emacsclient.c (get_current_dir_name): Declare pwdlen.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib-src/emacsclient.c (get_current_dir_name): Declare pwdlen.
</pre>
</div>
</content>
</entry>
</feed>
