1. 06 Aug, 2012 5 commits
    • Chong Yidong's avatar
      Add inhibit-switch-frame parameter for display-buffer, and use it in occur-edit. · 90749b53
      Chong Yidong authored
      * replace.el (occur-after-change-function): Avoid losing focus by
      using the inhibit-switch-frame display action option.
      
      * window.el (window--maybe-raise-frame): New function.
      (window--display-buffer): Split off from here.
      (display-buffer-reuse-window, display-buffer-pop-up-frame)
      (display-buffer-pop-up-window, display-buffer-use-some-window):
      Obey an inhibit-switch-frame action alist entry.
      (display-buffer): Update doc.
      
      Fixes: debbugs:12139
      90749b53
    • Dmitry Antipov's avatar
      Separate read and write access to Lisp_Object slots of struct frame. · edd74c35
      Dmitry Antipov authored
      * frame.h (FGET, FSET): New macros similar to AREF and ASET.
      * buffer.c, data.c, dispnew.c, dosfns.c, eval.c, fontset.c, frame.c:
      * fringe.c, gtkutil.c, minibuf.c, msdos.c, nsfns.m, nsmenu.m, nsterm.m:
      * print.c, term.c, w32fns.c, w32menu.c, w32term.c, window.c, window.h:
      * xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: Adjust users.
      edd74c35
    • Fabián Ezequiel Gallina's avatar
      Make internal shell process buffer names start with space. · ba7b0154
      Fabián Ezequiel Gallina authored
      * progmodes/python.el (python-shell-make-comint): Add optional
      argument INTERNAL.
      (run-python-internal): Use it.
      (python-shell-internal-get-or-create-process): Check for new
      internal buffer names.
      ba7b0154
    • Glenn Morris's avatar
      Tweak previous esh-ext.el change · 5eaeacb5
      Glenn Morris authored
      * lisp/eshell/esh-ext.el (eshell/addpath): Use dolist.
      Do less getting and setting of environment variables.
      5eaeacb5
    • Julien Danjou's avatar
      erc-match: add option to exclude server buffer · 24835558
      Julien Danjou authored
      * erc-match.el (erc-match-exclude-server-buffer)
      (erc-match-message): Add new option to exclude server buffer from
      matching.
      24835558
  2. 05 Aug, 2012 19 commits
  3. 04 Aug, 2012 12 commits
    • Stefan Monnier's avatar
      * lisp/isearch.el: Misc simplification; use defstruct. · 7c2dc8bd
      Stefan Monnier authored
      (isearch-mode-map): Dense maps now work like sparse ones.
      (isearch--state): New defstruct.
      (isearch-string-state, isearch-message-state, isearch-point-state)
      (isearch-success-state, isearch-forward-state)
      (isearch-other-end-state, isearch-word-state, isearch-error-state)
      (isearch-wrapped-state, isearch-barrier-state)
      (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
      replaced by defstruct's accessors.
      (isearch--set-state): Rename from isearch-top-state and change
      calling convention.
      (isearch-push-state): Use new isearch--get-state.
      (isearch-toggle-word): Disable regexp when enabling word.
      (isearch-message-prefix): Remove unused arg _c-q-hack.
      (isearch-message-suffix): Remove unused arg _ellipsis.
      7c2dc8bd
    • Glenn Morris's avatar
      TODO trivia · ce555168
      Glenn Morris authored
      ce555168
    • Eli Zaretskii's avatar
      Fix compilation --with-x-toolkit=no. · 8da0576b
      Eli Zaretskii authored
       stc/xfns.c (x_set_menu_bar_lines): Fix compilation error in
       --with-x-toolkit=no builds by using FVAR.
       Reported by Carsten Mattner <carstenmattner@gmail.com>.
      8da0576b
    • Chong Yidong's avatar
      Doc fixes and improvements for syntax tables. · 02676e5d
      Chong Yidong authored
      * src/syntax.c (Fmodify_syntax_entry): Doc fix.
      
      * doc/lispref/syntax.texi (Syntax Basics): Rearrange the text for clarity.
      Fix description of syntax table inheritance.
      (Syntax Table Functions): Don't refer to internal contents of
      syntax table, since that is not explained yet.  Copyedits.
      (Standard Syntax Tables): Node deleted.
      (Syntax Table Internals): Misc clarifications.  Improve table
      formatting.
      
      * doc/lispref/keymaps.texi (Inheritance and Keymaps):
      * doc/lispref/text.texi (Sticky Properties): Tweak index entry.
      02676e5d
    • Eli Zaretskii's avatar
      Fix bug #11959 with startup warnings on MS-Windows about ../site-lisp. · 76151e2c
      Eli Zaretskii authored
       src/w32.c (init_environment): Change the default values of many
       environment variables in dflt_envvars[] to NULL, to avoid pushing
       them into environment when they were not already defined.  Remove
       the code that deletes site-lisp subdirectories from the default
       value of EMACSLOADPATH, as it is no longer needed.
       (check_windows_init_file): Now external, not static.  Use
       Vload_path as is, without adding anything, as this function is now
       called when Vload_path is already set up.
       src/w32.h (check_windows_init_file): Add prototype.
       src/emacs.c (init_cmdargs) [WINDOWSNT]: When running from the build
       directory, ignore the /*/i386/ tail in Vinvocation_directory, for
       compatibility with Posix platforms.
       (main): Move the call to check_windows_init_file to here from
       w32.c.
       (decode_env_path) [WINDOWSNT]: Expand the %emacs_dir%/ prefix, if
       any, in the DEFALT argument into the root of the Emacs build or
       installation tree, as appropriate.
       src/callproc.c (init_callproc_1): Call decode_env_path instead of
       doing its equivalent by hand.
       (init_callproc): Replace DOS_NT condition with MSDOS, thus letting
       the code that sets Vexec_path run on MS-Windows.
       src/lread.c (init_lread): Add comments to #ifdef's.
      
       nt/paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
       (PATH_DATA, PATH_DOC): Replace dummy directory names with
       directories relative to %emacs_dir%.
       (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
       to the use case of running un-installed Emacs.
      76151e2c
    • Glenn Morris's avatar
      Auto-commit of generated files. · a09508f2
      Glenn Morris authored
      a09508f2
    • Eli Zaretskii's avatar
      Fix the MSDOS build as fallout of latest changes. · 6b42bcfc
      Eli Zaretskii authored
       msdos/sedlibmk.inp (allocator.$(OBJEXT), careadlinkat.$(OBJEXT)): Fix
       editing out.
       msdos/sed2v2.inp (IS_DEVICE_SEP): Edit to match ':'.
       (IS_DIRECTORY_SEP, INTERNAL_TERMINAL): Fix Sed command syntax.
       (MSDOS): Define only if undefined, as MSDOS is a built-in macro,
       unless some std= switch to GCC is used.
      
       src/msdos.c (dos_set_window_size, IT_update_begin)
       (IT_frame_up_to_date, IT_set_frame_parameters): Use FVAR and WVAR
       instead of direct references.
      6b42bcfc
    • Eli Zaretskii's avatar
    • Andreas Schwab's avatar
      * simple.el (list-processes): Doc fix. · 97ad0769
      Andreas Schwab authored
      97ad0769
    • Andreas Schwab's avatar
      * simple.el (list-processes--refresh): For a server use :host or · 7fcc0070
      Andreas Schwab authored
      :local as the address.
      7fcc0070
    • Michal Nazarewicz's avatar
      * lisp/mpc.el: Support password in host argument. · 00340faf
      Michal Nazarewicz authored
      (mpc--proc-connect): Parse and use new password element.
      Set mpc-proc variable instead of returning process.
      (mpc-proc): Adjust accordingly.
      00340faf
    • Paul Eggert's avatar
      Export DEFAULT_REHASH_* to GDB. · 185ee146
      Paul Eggert authored
      * lisp.h (DEFAULT_REHASH_THRESHOLD, DEFAULT_REHASH_SIZE):
      Now constants, not macros.
      185ee146
  4. 03 Aug, 2012 4 commits
    • Paul Eggert's avatar
      1175def2
    • Paul Eggert's avatar
      Remove unnecessary casts involving pointers. · 98c6f1e3
      Paul Eggert authored
      These casts are no longer needed now that we assume C89 or later,
      since they involve casting to or from void *.
      * alloc.c (make_pure_string, make_pure_c_string, pure_cons)
      (make_pure_float, make_pure_vector):
      * lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP):
      * macros.c (Fstart_kbd_macro):
      * menu.c (find_and_return_menu_selection):
      * minibuf.c (read_minibuf_noninteractive):
      * sysdep.c (closedir):
      * xdisp.c (x_produce_glyphs):
      * xfaces.c (compare_fonts_by_sort_order):
      * xfns.c (x_real_positions, select_visual):
      * xselect.c (x_stop_queuing_selection_requests)
      (x_get_window_property, x_get_window_property_as_lisp_data):
      * xterm.c (x_set_frame_alpha, x_find_modifier_meanings):
      Remove unnecessary pointer casts.
      * alloc.c (record_xmalloc): New function.
      * lisp.h (record_xmalloc): New decl.
      (SAFE_ALLOCA): Now takes just one arg -- the size -- and acts
      more like a function.  This is because the pointer cast is not
      needed.  All uses changed.
      * print.c (print_string, print_error_message): Avoid length recalc.
      98c6f1e3
    • Paul Eggert's avatar
      Improve fix for macroexp crash with debugging. · 8834c57a
      Paul Eggert authored
      * lisp.h (ASET) [ENABLE_CHECKING]: Pay attention to
      ARRAY_MARK_FLAG when checking subscripts, because ASET is
      not supposed to be invoked from the garbage collector.
      See Andreas Schwab in <http://bugs.gnu.org/12118#25>.
      (gc_aset): New function, which is like ASET but can be
      used in the garbage collector.
      (set_hash_key, set_hash_value, set_hash_next, set_hash_hash)
      (set_hash_index): Use it instead of ASET.
      8834c57a
    • Glenn Morris's avatar
      configure.ac whitespace trivia · ef834897
      Glenn Morris authored
      (Avoids some trailing whitespace in generated config.h.)
      ef834897