<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/src/lisp.h, branch pending</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>Rename inhibit_window_configuration_change_hook to inhibit_lisp_code.</title>
<updated>2012-03-12T06:34:32+00:00</updated>
<author>
<name>Chong Yidong</name>
</author>
<published>2012-03-12T06:34:32+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d1f55f1668a70cc196509d11c7c92d22b1aa5ee7'/>
<id>d1f55f1668a70cc196509d11c7c92d22b1aa5ee7</id>
<content type='text'>
This is a tweak to 2012-02-23T07:28:21Z!cyd@gnu.org, suggested by Stefan.

* eval.c (inhibit_lisp_code): Rename from
inhibit_window_configuration_change_hook; move from window.c.

* xfns.c (unwind_create_frame_1, Fx_create_frame):
* window.c (run_window_configuration_change_hook)
(syms_of_window): Callers changed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a tweak to 2012-02-23T07:28:21Z!cyd@gnu.org, suggested by Stefan.

* eval.c (inhibit_lisp_code): Rename from
inhibit_window_configuration_change_hook; move from window.c.

* xfns.c (unwind_create_frame_1, Fx_create_frame):
* window.c (run_window_configuration_change_hook)
(syms_of_window): Callers changed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Generalize fix for crash due to non-contiguous EMACS_INT (Bug#10780).</title>
<updated>2012-02-25T19:39:42+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2012-02-25T19:39:42+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=27f3c6378b0e09d6e3c1b4b55b7e2fc5c22c8e65'/>
<id>27f3c6378b0e09d6e3c1b4b55b7e2fc5c22c8e65</id>
<content type='text'>
Suggested by Stefan Monnier in
&lt;http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00692.html&gt;.
* alloc.c (widen_to_Lisp_Object): New static function.
(mark_memory): Also mark Lisp_Objects by fetching pointer words
and widening them to Lisp_Objects.  This would work even if
USE_LSB_TAG is defined and wide integers are used, which might
happen in a future version of Emacs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suggested by Stefan Monnier in
&lt;http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00692.html&gt;.
* alloc.c (widen_to_Lisp_Object): New static function.
(mark_memory): Also mark Lisp_Objects by fetching pointer words
and widening them to Lisp_Objects.  This would work even if
USE_LSB_TAG is defined and wide integers are used, which might
happen in a future version of Emacs.
</pre>
</div>
</content>
</entry>
<entry>
<title>* src/lisp.h: Improve comment about USE_LSB_TAG.</title>
<updated>2012-02-22T15:55:46+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2012-02-22T15:55:46+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=0edbf0b6fb48eb11d1e28aee898532625455e484'/>
<id>0edbf0b6fb48eb11d1e28aee898532625455e484</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix crash due to non-contiguous EMACS_INT (Bug#10780).</title>
<updated>2012-02-20T23:09:58+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2012-02-20T23:09:58+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=310f5bd4294ec3624b425e2c27da6fc730d0e928'/>
<id>310f5bd4294ec3624b425e2c27da6fc730d0e928</id>
<content type='text'>
* lisp.h (VALBITS): Move definition up, so that USE_LSB_TAG can use it.
(USE_LSB_TAG): Do not define if UINTPTR_MAX &gt;&gt; VALBITS == 0.
It's useless in that case, and it can cause problems on hosts
that allocate halves of EMACS_INT values separately.
Reported by Dan Horák.  Diagnosed by Andreas Schwab in
&lt;http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10780#30&gt;.
* mem-limits.h (EXCEEDS_LISP_PTR): Define to 0 on hosts where
UINTPTR_MAX &gt;&gt; VALBITS == 0.  This is required by the above change;
it avoids undefined behavior on hosts where shifting right by more
than the word width has undefined behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp.h (VALBITS): Move definition up, so that USE_LSB_TAG can use it.
(USE_LSB_TAG): Do not define if UINTPTR_MAX &gt;&gt; VALBITS == 0.
It's useless in that case, and it can cause problems on hosts
that allocate halves of EMACS_INT values separately.
Reported by Dan Horák.  Diagnosed by Andreas Schwab in
&lt;http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10780#30&gt;.
* mem-limits.h (EXCEEDS_LISP_PTR): Define to 0 on hosts where
UINTPTR_MAX &gt;&gt; VALBITS == 0.  This is required by the above change;
it avoids undefined behavior on hosts where shifting right by more
than the word width has undefined behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 2012 to FSF copyright years for Emacs files</title>
<updated>2012-01-05T09:46:05+00:00</updated>
<author>
<name>Glenn Morris</name>
</author>
<published>2012-01-05T09:46:05+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=acaf905b1130aae80fa59d2c861ffd4c8eb75486'/>
<id>acaf905b1130aae80fa59d2c861ffd4c8eb75486</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>src/lisp.h (process_quit_flag): Fix external declaration.</title>
<updated>2011-12-05T00:15:15+00:00</updated>
<author>
<name>Juanma Barranquero</name>
</author>
<published>2011-12-05T00:15:15+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7dbda6dfe8058e6abcaf2436277b9beae7605e20'/>
<id>7dbda6dfe8058e6abcaf2436277b9beae7605e20</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't macro-inline non-performance-critical code.</title>
<updated>2011-12-04T15:46:07+00:00</updated>
<author>
<name>Stefan Monnier</name>
</author>
<published>2011-12-04T15:46:07+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6d5eb5b0d2e50b0dd153a988cc52492cb77fc333'/>
<id>6d5eb5b0d2e50b0dd153a988cc52492cb77fc333</id>
<content type='text'>
* src/eval.c (process_quit_flag): New function.
* src/lisp.h (QUIT): Use it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/eval.c (process_quit_flag): New function.
* src/lisp.h (QUIT): Use it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't call Lisp in signal handler</title>
<updated>2011-12-04T09:26:30+00:00</updated>
<author>
<name>Andreas Schwab</name>
</author>
<published>2011-12-04T09:26:30+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6c07aac2835c5ec4462fedb267f1bba5bb3cadc5'/>
<id>6c07aac2835c5ec4462fedb267f1bba5bb3cadc5</id>
<content type='text'>
* emacs.c (Qkill_emacs): Define.
(syms_of_emacs): Initialize it.
* keyboard.c (interrupt_signal): Don't call Fkill_emacs here, set
Qquit_flag to `kill-emacs' instead.
(quit_throw_to_read_char): Add parameter `from_signal'.  All
callers changed.  Call Fkill_emacs if requested and safe.
* lisp.h (QUIT): Call Fkill_emacs if requested.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* emacs.c (Qkill_emacs): Define.
(syms_of_emacs): Initialize it.
* keyboard.c (interrupt_signal): Don't call Fkill_emacs here, set
Qquit_flag to `kill-emacs' instead.
(quit_throw_to_read_char): Add parameter `from_signal'.  All
callers changed.  Call Fkill_emacs if requested and safe.
* lisp.h (QUIT): Call Fkill_emacs if requested.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove GCPRO-related macros that exist only to avoid shadowing locals.</title>
<updated>2011-11-28T08:20:58+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-11-28T08:20:58+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=dbf312256d8a8c731dadaf27c1260832a3796350'/>
<id>dbf312256d8a8c731dadaf27c1260832a3796350</id>
<content type='text'>
* lisp.h (GCPRO1_VAR, GCPRO2_VAR, GCPRO3_VAR, GCPRO4_VAR, GCPRO5_VAR)
(GCPRO6_VAR, UNGCPRO_VAR): Remove.  See
&lt;http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html&gt;.
All uses changed to use GCPRO1 etc.
(GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6, UNGCPRO):
Revert to old implementation (i.e., before 2011-03-11).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp.h (GCPRO1_VAR, GCPRO2_VAR, GCPRO3_VAR, GCPRO4_VAR, GCPRO5_VAR)
(GCPRO6_VAR, UNGCPRO_VAR): Remove.  See
&lt;http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html&gt;.
All uses changed to use GCPRO1 etc.
(GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6, UNGCPRO):
Revert to old implementation (i.e., before 2011-03-11).
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix MS-Windows build with MSVC compiler.</title>
<updated>2011-11-27T18:52:53+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2011-11-27T18:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8c9afb46949ddd9853f38eb8c1a865cb13522d92'/>
<id>8c9afb46949ddd9853f38eb8c1a865cb13522d92</id>
<content type='text'>
Parts of the changes by Fabrice Popineau  &lt;fabrice.popineau@supelec.fr&gt;.

 lib-src/makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
 lib-src/emacsclient.c (main) &lt;environ&gt;: Remove declaration, already
 pulled in by unistd.h on Posix hosts and stdlib.h on MS-Windows.
 nt/inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
 (UINT64_MAX) [_WIN64]: Fix definition.
 (uintmax_t, intmax_t): Fix definitions.
 nt/inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]: Provide
 correct definitions.
 nt/config.nt (HAVE_DECL_STRTOLL): Define.
 (va_copy) [_WIN64]: Provide a better definition.
 src/s/ms-w32.h (utimbuf) [_MSC_VER]: Don't define.
 (snprintf) [_MSC_VER]: Redirect to _snprintf.
 (strtoll) [_MSC_VER]: Redirect to _strtoi64.
 (malloc, free, realloc, calloc): Redirect to e_* only when
 compiling Emacs.
 src/lisp.h (GCTYPEBITS): Move before first use.
 (ALIGN_GCTYPEBITS) [_MSC_VER]: Define.
 (DECL_ALIGN) [_MSC_VER]: Use it, as MSVC doesn't like bit ops in
 this macro definition.
 (tzname): Redirect to _tzname for all values of _MSC_VER.

Fixes: debbugs:9960
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Parts of the changes by Fabrice Popineau  &lt;fabrice.popineau@supelec.fr&gt;.

 lib-src/makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
 lib-src/emacsclient.c (main) &lt;environ&gt;: Remove declaration, already
 pulled in by unistd.h on Posix hosts and stdlib.h on MS-Windows.
 nt/inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
 (UINT64_MAX) [_WIN64]: Fix definition.
 (uintmax_t, intmax_t): Fix definitions.
 nt/inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]: Provide
 correct definitions.
 nt/config.nt (HAVE_DECL_STRTOLL): Define.
 (va_copy) [_WIN64]: Provide a better definition.
 src/s/ms-w32.h (utimbuf) [_MSC_VER]: Don't define.
 (snprintf) [_MSC_VER]: Redirect to _snprintf.
 (strtoll) [_MSC_VER]: Redirect to _strtoi64.
 (malloc, free, realloc, calloc): Redirect to e_* only when
 compiling Emacs.
 src/lisp.h (GCTYPEBITS): Move before first use.
 (ALIGN_GCTYPEBITS) [_MSC_VER]: Define.
 (DECL_ALIGN) [_MSC_VER]: Use it, as MSVC doesn't like bit ops in
 this macro definition.
 (tzname): Redirect to _tzname for all values of _MSC_VER.

Fixes: debbugs:9960
</pre>
</div>
</content>
</entry>
</feed>
