- 13 Feb, 2013 15 commits
-
-
Dmitry Gutov authored
performance. Instead of recalculating indentation fully for each line, sum up indentation depth based only on visited lines. (ruby-parse-partial): Increase the depth after "do" even when END is right after it. (ruby-parse-partial): When END is in the middle of a percent literal, increase the depth if the delimiter chars belong to the paren syntax class. * test/automated/ruby-mode-tests.el (ruby-move-to-block-skips-percent-literal): New test.
-
Kirill A. Korinskiy authored
* lisp/play/fortune.el (fortune-compile): Also make the compiled file if it does not exist at all, not just if it is old. Fixes: debbugs:5338
-
Dmitry Antipov authored
and break long line. * font.h (font_range): Adjust prototype. * composite.c (autocmp_chars): Pass byte position to font_range. Break long line. Remove useless prototype and format comment.
-
Glenn Morris authored
-
Yves Baumes authored
Fixes: debbugs:13625
-
Glenn Morris authored
-
Glenn Morris authored
-
Aidan Gauland authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Paul Eggert authored
* callproc.c (Fcall_process_region) [!DOS_NT]: Avoid unnecessary duplicate call to getenv. * callproc.c (init_callproc): * dispnew.c (init_display): * sysdep.c (sys_subshell): Omit unnecessary cast of getenv or egetenv.
-
Juanma Barranquero authored
-
Juanma Barranquero authored
(GC_MARK_STACK): Remove. (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR) (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR) (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
-
Juanma Barranquero authored
-
Paul Eggert authored
Fix TMPDIR documentation to match the code's behavior.
-
- 12 Feb, 2013 15 commits
-
-
Paul Eggert authored
With this, it should be as good as it was in 23.3, though it's still pretty bad: the dumped emacs does not run. See Mark Fleishman in http://lists.gnu.org/archive/html/help-gnu-emacs/2011-04/msg00287.html * unexaix.c (start_of_text): Remove. (_data, _text): Declare as char[], not int, as AIX manual suggests. (bias, lnnoptr, text_scnptr, data_scnptr, load_scnptr) (orig_load_scnptr, orig_data_scnptr): Now off_t, not long, since they are file offsets. (make_hdr): Use _data, not start_of_data (). This is the key part of the fix. (make_hdr, unrelocate_symbols): Use off_t for file offsets. (unrelocate_symbols): Cast pointers to intptr_t, not to ulong. Fixes: debbugs:13650
-
Paul Eggert authored
This ports to compilers that optimize the external declaration 'int x = 0;' as if it were 'int x;' to shrink the executable.
-
Paul Eggert authored
-
Eli Zaretskii authored
src/xdisp.c (try_scrolling): Scroll text up more if point is too close to ZV and inside the scroll margin. This makes sure point is moved outside the scroll margin in these cases.
-
Eli Zaretskii authored
src/xdisp.c (redisplay_internal): Don't set w->region_showing to the marker's position. (display_line): Set w->region_showing to the value of it->region_beg_charpos, not to -1. This fixes redisplay optimization when cursor is moved up after M->. src/window.h (struct window): region_showing can no longer be negative.
-
Michael Albinus authored
* net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache' only if it doesn't exist. * net/tramp-sh.el (tramp-sh-handle-start-file-process): Set process marker.
-
Tassilo Horn authored
conversions.
-
Glenn Morris authored
-
Tassilo Horn authored
UserInstallation when calling soffice to work around LibreOffice bug 37531.
-
Glenn Morris authored
Fixes: debbugs:3016
-
Glenn Morris authored
-
Glenn Morris authored
* lisp/calc/calc-graph.el (calc-graph-show-dumb): * lisp/calendar/calendar.el (calendar-mode-map): * lisp/cus-edit.el (custom-mode-map): * lisp/ehelp.el (electric-help-map): * lisp/emulation/vip.el (vip-mode-map): * lisp/epa.el (epa-key-list-mode-map): * lisp/info.el (Info-mode-map): * lisp/mail/rmail.el (rmail-mode-map): * lisp/mail/rmailsum.el (rmail-summary-mode-map): * lisp/man.el (Man-mode-map): * lisp/net/newst-plainview.el (newsticker-mode-map): * lisp/progmodes/cpp.el (cpp-edit-mode-map): * lisp/progmodes/grep.el (grep-mode-map): * lisp/progmodes/idlw-help.el (idlwave-help-mode-map): * lisp/simple.el (special-mode-map): * lisp/startup.el (splash-screen-keymap): * lisp/view.el (view-mode-map): Make S-SPC scroll in the opposite sense to SPC. Fixes: debbugs:2145
-
Eli Zaretskii authored
lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O). ($(BLD)/memrchr.$(O)): New dependency. nt/inc/ms-w32.h: Add prototype for memrchr.
-
Glenn Morris authored
-
Glenn Morris authored
* doc/lispref/keymaps.texi (Scanning Keymaps): Remove obsolete sentence about meta characters; this changed in 22.1.
-
- 11 Feb, 2013 10 commits
-
-
Paul Eggert authored
* .bzrignore: Add string.h. * admin/merge-gnulib (GNULIB_MODULES): Add memrchr. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * lib/memrchr.c, lib/string.in.h, m4/memrchr.m4, m4/string_h.m4: New files, from gnulib. * src/doc.c (Fsnarf_documentation): * src/fileio.c (Fsubstitute_in_file_name): * src/search.c (find_newline, scan_newline): * src/xdisp.c (pos_visible_p, display_count_lines): Use memchr and memrchr rather than scanning byte-by-byte. * src/search.c (find_newline): Rename from scan_buffer. Omit first arg TARGET, as it's always '\n'. All callers changed.
-
Paul Eggert authored
-
Stefan Monnier authored
Fixes: debbugs:13689 * lisp/erc/erc-match.el (erc-match-message): Don't truncate action messages.
-
Paul Eggert authored
This doesn't fix the bug, but it makes progress: Emacs builds now. * unexaix.c: Include inttypes.h, stdarg.h. (report_error, report_error_1): Mark as _Noreturn. (report_error): Don't report the wrong errno. (report_error_1): Now varargs. All callers changed. (make_hdr): Use uintptr_t, not unsigned, when converting pointers to unsigned. Don't use ADDR_CORRECT, as it no longer exists. (write_ptr): Use %p to print address rather than %lx and a cast to unsigned long. Grow buffer a bit, to be safer. Fixes: debbugs:13650
-
Paul Eggert authored
* keyboard.c (read_char_x_menu_prompt) [HAVE_MENUS]: (read_key_sequence): Remove unused locals.
-
Elias Pipping authored
Fixes: debbugs:13679
-
Stefan Monnier authored
* src/keyboard.c (read_char, read_char_x_menu_prompt) (read_char_minibuf_menu_prompt): Replace nmaps+maps with a single `map' arg. (follow_key): Operate on a single map. (active_maps): New function. (test_undefined): Also return true for nil bindings. (read_key_sequence): Use active_maps to replace the arrays of keymaps with a single (composed) keymap. Remember `first_event' to choose the right set of active keymaps. Recompute the set of keymaps after receiving the first event. Remove GOBBLE_FIRST_EVENT. (syms_of_keyboard): Remove inhibit_local_menu_bar_menus. * src/keyboard.h (read_char): Update declaration. * src/lread.c (read_filtered_event): Adjust call to read_char. * lisp/cus-start.el (all): Remove inhibit-local-menu-bar-menus.
-
Eli Zaretskii authored
src/xdisp.c (move_it_vertically_backward, move_it_by_lines): Don't use the limitation on backwards movement when lines are truncated in the window.
-
Eli Zaretskii authored
src/bidi.c (bidi_resolve_neutral): After finding the next non-neutral character, accept NEUTRAL_ON type as well, because directional control characters, such as LRE and RLE, have their type converted to that by bidi_resolve_weak. This avoids aborts when LRE/RLE follows a run of neutrals. (bidi_move_to_visually_next): Assert that return value of bidi_peek_at_next_level is non-negative. Negative values will cause an infloop.
-
Glenn Morris authored
-