- 17 Sep, 2014 4 commits
-
-
Dmitry Antipov authored
* buffer.c (init_buffer): Shut up -Wself-assign. * process.c (server_accept_connection): Shut up -Wunsequenced.
-
Dmitry Antipov authored
-
Reuben Thomas authored
* progmodes/js.el: here.
-
Paul Eggert authored
The GREP_OPTIONS environment variable is planned to be marked obsolescent in GNU grep, due to problems in its use, so stop relying on it. * progmodes/grep.el (grep-highlight-matches): Document this. (grep-process-setup): Do not set GREP_OPTIONS. (grep-compute-defaults): Use an explicit --color option if supported.
-
- 16 Sep, 2014 4 commits
-
-
Daniel Colascione authored
* src/fns.c (sxhash): For symbols, use address as hash code.
-
Dmitry Antipov authored
* category.c (Fmake_category_set): * xdisp.c (get_overlay_arrow_glyph_row): * w32font.c (intern_font_name): Prefer ptrdiff_t to int.
-
Dmitry Antipov authored
* charset.c (load_charset_map_from_file): Use scoped_list2 and build_local_string. * buffer.c (Fother_buffer, other_buffer_safely, init_buffer): * emacs.c (init_cmdargs, decode_env_path): * fileio.c (Fexpand_file_name): * fns.c (maybe_resize_hash_table) [ENABLE_CHECKING]: * frame.c (x_get_arg): * keyboard.c (safe_run_hooks_error): * lread.c (load_warn_old_style_backquotes): * xdisp.c (Fcurrent_bidi_paragraph_direction): * xfns.c (x_default_scroll_bar_color_parameter, select_visual): * xselect.c (x_clipboard_manager_error_1) (x_clipboard_manager_save_all): * xterm.c (x_term_init): Use build_local_string.
-
Stefan Monnier authored
Don't add outdated key-shortcut cache. Fixes: debbugs:18482
-
- 15 Sep, 2014 6 commits
-
-
Eli Zaretskii authored
src/sound.c [WINDOWSNT]: Include w32common.h and mbstring.h. (SOUND_WARNING) [WINDOWSNT]: Include in do..while and improve the error message format. Use message_with_string to have non-ASCII file names properly displayed. (do_play_sound) [WINDOWSNT]: Use Unicode APIs to play sound files when w32-unicode-filenames is non-nil, but not on Windows 9X, where these APIs are not available even in UNICOWS.DLL. Improve the format of error messages and include the file name in them where appropriate. (Fplay_sound_internal) [WINDOWSNT]: Make the MS-Windows branch call play-sound-functions, per documentation. src/w32.c (w32_get_long_filename, w32_get_short_filename): Constify the input file name arguments. src/w32.h (w32_get_long_filename, w32_get_short_filename): Update prototypes.
-
Dmitry Antipov authored
* lisp.h (local_cons, local_list1, local_list2, local_list3) [USE_LOCAL_ALLOCATORS]: New macros. [!USE_LOCAL_ALLOCATORS]: Fall back to regular functions. (build_local_string): Avoid argument name expansion clash with make_local_string. * alloc.c (toplevel) [USE_LOCAL_ALLOCATORS && GC_MARK_STACK != GC_MAKE_GCPROS_NOOPS]: Preprocessor guard to avoid impossible configuration. * charset.c (Ffind_charset_region, Ffind_charset_string): Use make_local_vector. * lread.c (read1, substitute_object_recurse): Use scoped_cons. * textprop.c (Fput_text_property, Fadd_face_text_property): Use scoped_list2. (copy_text_properties): Use local_cons and local_list3. * chartab.c (uniprop_table): * data.c (wrong_choice, wrong_range): * doc.c (get_doc_string): * editfns.c (format2): * fileio.c (Fexpand_file_name, auto_save_error): * fns.c (Fyes_or_no_p): * font.c (font_parse_xlfd, font_parse_family_registry, font_add_log): * fontset.c (Fset_fontset_font): * keyboard.c (echo_add_key, echo_dash, parse_menu_item) (read_char_minibuf_menu_prompt): * keymap.c (silly_event_symbol_error, describe_vector): * menu.c (single_menu_item): * minibuf.c (Fread_buffer): * process.c (status_message, Fformat_network_address) (server_accept_connection): Use make_local_string and build_local_string. Prefer compound literals where appropriate.
-
Daniel Colascione authored
* fns.c (Fsort): Tweak sort docstring.
-
Daniel Colascione authored
* doc/emacs/regs.texi (Text Registers): Update end-user documentation to reflect `insert-register' interface change. * doc/lispref/text.texi (Registers): Make `insert-register' documentation reflect interface change.
-
Daniel Colascione authored
* doc/emacs/regs.texi (Text Registers): Update end-user documentation to reflect `insert-register' interface change. * doc/lispref/text.texi (Registers): Make `insert-register' documentation reflect interface change.
-
Glenn Morris authored
-
- 14 Sep, 2014 6 commits
-
-
Glenn Morris authored
do not force a delay if none was specified. Fixes: debbugs:18334
-
Daniel Colascione authored
-
Eli Zaretskii authored
src/w32.c (fcntl): Support O_NONBLOCK fcntl on the write side of pipes. (sys_write): When a write to a non-blocking pipe returns ENOSPC, set errno to EAGAIN instead, to allow the caller to retry the write after some waiting. Fixes deadlocks when Emacs exchanges a lot of data through the pipe.
-
Michael Albinus authored
Suppress debug messages. * net/tramp.el (tramp-file-name-handler): * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
-
Jan Djärv authored
Fixes: debbugs:18474
-
Sam Steingold authored
-
- 13 Sep, 2014 10 commits
-
-
Eli Zaretskii authored
-
Christopher Schmidt authored
the mode line of the calendar buffer. * lisp/calendar/calendar.el (calendar-update-mode-line): Do not overwrite mode-line-format if calendar-mode-line-format is nil. (Bug#18467)
-
Leo Liu authored
pcase-exhaustive. * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var. (pcase--expand): Use it. (pcase-exhaustive): New macro. Fixes: debbugs:16567
-
Glenn Morris authored
-
Eli Zaretskii authored
lisp/mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part using the specified transfer-encoding, if any, or 'undecided'. (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are broken at the window margin. Fixes: debbugs:4258
-
Eli Zaretskii authored
lisp/mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part using the specified transfer-encoding, if any, or 'undecided'. Fixes: debbugs:4258
-
Ken Olum authored
lisp/mail/rmailmm.el (rmail-mime-process): Handle text/html separately from other text/ types. Suppress tagline for multipart body. (rmail-mime-parse): Don't change visibility of tagline here. (rmail-mime-set-bulk-data, rmail-mime-insert-bulk): Handle text/html specially. (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables. (rmail-mime-insert-html, rmail-mime-render-html-shr) (rmail-mime-render-html-lynx): New functions. (rmail-mime-fix-inserted-faces): New function. (rmail-mime-process-multipart): Find the best part to show following rmail-mime-prefer-html if set. (rmail-mime-searching): New variable. (rmail-search-mime-message): Bind rmail-mime-searching to suppress rendering while searching.
-
Eli Zaretskii authored
src/sound.c (Fplay_sound_internal): Encode the sound file name in the ANSI codepage. Expand it against data-directory, as per docs, not against the current directory. No need to make a local copy of the file name; pass the encoded file name directly to do_play_sound. (Bug#18463) src/w32.c (ansi_encode_filename): If w32_get_short_filename returns NULL, and the file name is not encodable in ANSI codepage, return the string with "?" replacement characters, which will fail the caller. This avoids returning a random value in that case.
-
Eli Zaretskii authored
configure.ac (HAVE_SOUND): Check for mmsystem.h header that defines the sound stuff on MS-Windows. (Bug#18463)
-
Dmitry Antipov authored
* fileio.c (make_temp_name): * font.c (font_parse_family_registry): Avoid integer overflow on string size calculation. * data.c (Faset): Likewise for byte index.
-
- 12 Sep, 2014 3 commits
-
-
Sam Steingold authored
* lisp/progmodes/sql.el (sql-product-alist): Add vertica. (sql-vertica-program, sql-vertica-options) (sql-vertica-login-params, sql-comint-vertica, sql-vertica): New functions and variables to support Vertica. Inspired by code by Roman Scherer <roman@burningswell.com>.
-
Detlev Zundel authored
-
Kan-Ru Chen authored
-
- 11 Sep, 2014 7 commits
-
-
Paul Eggert authored
* lisp/ses.el (ses-file-format-extend-parameter-list): Rename from ses-file-format-extend-paramter-list. All uses changed. * lisp/gnus-cloud.el (gnus-cloud-parse-version-1): Fix misspelling of ":delete".
-
Glenn Morris authored
Ref: http://debbugs.gnu.org/18444#8
-
Dmitry Antipov authored
is safe because Ffuncall protects all of its arguments by itself. * charset.c (map_charset_for_dump): Remove redundant GCPRO. * eval.c (Fapply, apply1, call0, call1, call2, call3, call4, call5) (call6, call7): Likewise. Use compound literals where applicable. (run_hook_with_args_2): Use compound literal.
-
Dmitry Antipov authored
bootstrap broken if GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
-
Dmitry Antipov authored
* lisp.h (struct gcpro) [DEBUG_GCPRO]: Add extra members. (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6, GCPRO7): Minor restyle. If DEBUG_GCPRO, initialize extra fields.
-
Martin Rudalics authored
* window.c (Fresize_mini_window_internal): Set w->total_lines from w->pixel_height (Bug#18422).
-
Dmitry Antipov authored
* print.c (Fprin1_to_string): Remove unused GCPROs.
-