- 21 Jul, 2012 2 commits
-
-
Chong Yidong authored
-
Leo Liu authored
for consistency.
-
- 20 Jul, 2012 13 commits
-
-
Leo Liu authored
Fixes: debbugs:7879
-
Vincent Belaïche authored
* ses.el (ses-rename-cell): Set new name also in reference list of cells of which the renamed cell depends.
-
Jan Djärv authored
Fixes: debbugs:7879
-
Dmitry Antipov authored
* buffer.h (struct buffer): New member. * buffer.c (Fget_buffer_create): Set indirection counter to 0. (Fmake_indirect_buffer): Set indirection counter to -1, increment base buffer indirection counter. (compact_buffer): If ENABLE_CHECKING, verify indirection counters. (Fkill_buffer): Adjust indirection counters as needed, don't walk through buffer list if indirection counter is 0.
-
Dmitry Antipov authored
* alloc.c (Qheap): New symbol. (syms_of_alloc): DEFSYM it. (Fgarbage_collect): If DOUG_LEA_MALLOC, add mallinfo data. (Fmemory_free): Remove. (syms_of_alloc): Don't defsubr it. * buffer.c (Fcompact_buffer): Remove. (syms_of_buffer): Don't defsubr it.
-
Dmitry Antipov authored
Verify that inlining is always possible (GCC 4.7.1, -O3 -Winline). * lisp.h (consing_since_gc, gc_relative_threshold) (memory_full_cons_threshold): Revert declaration. (maybe_gc): Remove prototype, define as inline. * alloc.c: Remove old commented-out code. (consing_since_gc, gc_relative_threshold) (memory_full_cons_threshold): Revert to global. (maybe_gc): Remove.
-
Leo Liu authored
Fixes: debbugs:11986
-
Masatake YAMATO authored
to check whether menu-bar is shown or not. If not shown, show the menu-bar as a popup menu instead of using tmm. * lisp/mouse.el (popup-menu): Accept `point' as `position' argument.
-
Dmitry Gutov authored
up inside string symbol literal. * test/automated/ruby-mode-tests.el: New file with one test. Fixes: debbugs:11923
-
Eli Zaretskii authored
lisp/startup.el (fancy-startup-text): Read the whole tutorial, not just its first 256 bytes. Prevents gibberish in display of the tutorial title. etc/tutorials/TUTORIAL.he: Make the first sentence display correctly in a left-to-right paragraph, such as what is shown on the fancy splash screen, by using directional control characters.
-
Dmitry Antipov authored
* src/lisp.h (build_unibyte_string): New function. * src/dosfns.c, src/fileio.c, src/fns.c, src/ftfont.c, src/process.c: * src/sysdep.c, src/w32fns.c, src/xfns.c: Use it. * src/font.c (font_open_by_name): Change 2nd and 3rd args to the only arg of type Lisp_Object to avoid redundant calls to make_unibyte_string. Adjust users accordingly. * src/font.h (font_open_by_name): Adjust prototype. * admin/coccinelle/unibyte_string.cocci: Semantic patch to convert from make_unibyte_string to build_unibyte_string where appropriate.
-
Dmitry Antipov authored
* lisp.h (maybe_gc): New prototype. (consing_since_gc, gc_relative_threshold, memory_full_cons_threshold): Remove declarations. * alloc.c (maybe_gc): New function. (consing_since_gc, gc_relative_threshold, memory_full_cons_threshold): Make them static. * bytecode.c (MAYBE_GC): Use maybe_gc. * eval.c (eval_sub, Ffuncall): Likewise. * keyboard.c (read_char): Likewise. Adjust call to maybe_gc to avoid dependency from auto-save feature.
-
Dmitry Antipov authored
proved efficiency. * lisp/compact.el: Remove.
-
- 19 Jul, 2012 10 commits
-
-
Paul Eggert authored
(FOR_EACH_PER_BUFFER_OBJECT_AT): Rename from 'for_each_per_buffer_object_at'. All uses changed. It's better to use upper-case for macros that cannot be implemented as functions, to give the reader a clue that they're special.
-
Sam Steingold authored
vc-bzr-pull & vc-bzr-merge-branch. * lisp/vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it. (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist for consistency with compilation-error-regexp-alist. * lisp/vc/vc-git.el (vc-git-error-regexp-alist): Add. (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode. * lisp/vc/vc-hg.el (vc-hg-error-regexp-alist): Add. (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
-
Stefan Monnier authored
(chart-emacs-storage): Don't hardcode the list of entries. * src/alloc.c (Fgarbage_collect): Tweak docstring.
-
Dmitry Antipov authored
* src/alloc.c (Fgarbage_collect): New return value, as confirmed in http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00418.html. Adjust documentation. (total_vector_bytes): Rename to total_vector_slots, adjust accounting. (total_free_vector_bytes): Rename to total_free_vector_slots, adjust accounting. (Qstring_bytes, Qvector_slots): New symbols. (syms_of_alloc): DEFSYM them. * lisp/emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
-
Dmitry Antipov authored
* lisp/compact.el: New file. * src/buffer.c (compact_buffer, Fcompact_buffer): New function. (syms_of_buffer): Register Fcompact_buffer. * src/alloc.c (Fgarbage_collect): Use compact_buffer. * src/buffer.h (compact_buffer): New prototype. (struct buffer_text): New member.
-
Stefan Monnier authored
it's an event. Fixes: debbugs:10190
-
Dmitry Antipov authored
* lisp.h (all_buffers): Remove declaration. * buffer.h (all_buffers): Add declaration, with comment. (for_each_buffer): New macro. * alloc.c (Fgarbage_collect, mark_object): Use it. * buffer.c (Fkill_buffer, Fbuffer_swap_text, Fset_buffer_multibyte) (init_buffer): Likewise. * data.c (Fset_default): Likewise. * coding.c (code_conversion_restore): Remove redundant check for dead buffer. * buffer.c (Fkill_buffer): Likewise. Remove obsolete comment.
-
Chong Yidong authored
* window.c (Fwindow_absolute_pixel_edges) (Fdelete_other_windows_internal): Signal an error if the window is on a dead frame. Fixes: debbugs:11984
-
Chong Yidong authored
-
Fabián Ezequiel Gallina authored
* progmodes/python.el (python-indent-context) (python-indent-calculate-indentation, python-indent-dedent-line) (python-indent-electric-colon, python-nav-forward-block) (python-mode-abbrev-table) (python-info-assignment-continuation-line-p): Simplified checks for ppss context. (python-info-continuation-line-p): Cleanup. (python-info-ppss-context): Do not catch 'quote. (python-info-ppss-context-type) (python-info-ppss-comment-or-string-p): Simplify.
-
- 18 Jul, 2012 15 commits
-
-
Andreas Schwab authored
* intervals.c (merge_interval_right, merge_interval_left): Do not zero out this interval if it is absorbed by its children, as this interval's total length doesn't change in that case. See <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00403.html>.
-
Fabián Ezequiel Gallina authored
-
Fabián Ezequiel Gallina authored
(python-info-current-symbol): New function. (python-eldoc-at-point): Use python-info-current-symbol. (python-info-current-defun): Fix cornercase on first defun scan. (python-eldoc--get-doc-at-point): Use python-info-current-symbol and signal error when no inferior python process is available.
-
Paul Eggert authored
when invoking (make-bool-vector N t) and N is a positive multiple of 8 -- the last 8 bits were mistakenly cleared.
-
Paul Eggert authored
* alloc.c (bool_header_size): New constant. (header_size, word_size): Move earlier, as they're now used earlier. Use 'word_size' in a few more places, where it's appropriate. (Fmake_bool_vector, sweep_vectors): Don't assume that there is no padding before the data member of a bool vector. (sweep_vectors): Use PSEUDOVECTOR_TYPEP, in an eassert, rather than doing the check by hand with an abort ().
-
Stefan Monnier authored
it's not yet defined anyway. Fixes: debbugs:11904
-
Dmitry Gutov authored
assume it's always t. (vc-git-registered): Remove caching, the function is only called once. (vc-git-branches): Use `vc-git--call' instead of `call-process'.
-
Chong Yidong authored
-
Chong Yidong authored
Fixes: debbugs:9195
-
Chong Yidong authored
Fixes: debbugs:9959
-
Chong Yidong authored
-
Chong Yidong authored
Fixes: debbugs:4238
-
Masatake YAMATO authored
Capture a function with `function' keyword and without parentheses like "function FOO". Fixes: debbugs:11856
-
Chong Yidong authored
Fixes: debbugs:7261
-
Stefan Monnier authored
* src/keyboard.c (command_loop_1): Set it. * src/cmds.c (Fself_insert_command): Use it to only remove boundaries that were auto-added by the command loop. Fixes: debbugs:11774
-