1. 06 May, 2010 9 commits
  2. 05 May, 2010 8 commits
    • Juanma Barranquero's avatar
      07e99590
    • Juri Linkov's avatar
      Add `slow' and `history' tags to the desktop data. · 221a0647
      Juri Linkov authored
      * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
      (Info-virtual-files) [*Apropos*]: Add `slow' tag.
      (Info-finder-find-node): Require `finder.el' to be able
      to restore node from the desktop.
      (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
      data `Info-history' and `slow' tag in the assoc list.
      (Info-restore-desktop-buffer): Don't restore nodes with the
      `slow' tag.  Restore `Info-history'.
      221a0647
    • Stefan Monnier's avatar
      * syntax.c (Fchar_syntax): Check the arg is a character. · 774b9a60
      Stefan Monnier authored
      Fixes: debbugs:6080
      774b9a60
    • Lawrence Mitchell's avatar
      4ab92842
    • Michael Albinus's avatar
      Add FORCE argument to `delete-file'. · 66bdc868
      Michael Albinus authored
      * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
      forcing to delete the temporary file.
      (ange-ftp-delete-file): Add FORCE arg.
      (ange-ftp-rename-remote-to-remote)
      (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
      (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress): Force
      file deletion.
      
      * net/tramp-compat.el (tramp-compat-delete-file): New defun.
      
      * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
      (tramp-handle-make-symbolic-link, tramp-handle-load)
      (tramp-do-copy-or-rename-file-via-buffer)
      (tramp-do-copy-or-rename-file-directly)
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-handle-process-file, tramp-handle-call-process-region)
      (tramp-handle-shell-command, tramp-handle-file-local-copy)
      (tramp-handle-insert-file-contents, tramp-handle-write-region)
      (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
      
      * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
      (tramp-fish-handle-make-symbolic-link)
      (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
      
      * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
      `tramp-compat-delete-file'.
      
      * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
      (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
      
      * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
      (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
      
      * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
      (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
      (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
      `tramp-compat-delete-file'.
      66bdc868
    • Stefan Monnier's avatar
      Minor cleanups. · 365f8d85
      Stefan Monnier authored
      * org-table.el (orgtbl-setup):
      * org-agenda.el (org-agenda-entry-text-mode): Simplify.
      * subr.el (add-minor-mode): Use push.
      * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
      * emulation/edt.el (edt-select-mode): Simplify.
      365f8d85
    • Stefan Monnier's avatar
      Use define-minor-mode in more cases. · 80ac5d4d
      Stefan Monnier authored
      * term/tvi970.el (tvi970-set-keypad-mode):
      * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
      (normal-erase-is-backspace-mode):
      * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
      (set-scroll-bar-mode-1): (Re)move to its sole caller.
      (get-scroll-bar-mode): New function.
      * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
      80ac5d4d
    • Stefan Monnier's avatar
      Use define-minor-mode for less obvious cases. · f44379e7
      Stefan Monnier authored
      * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
      * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
      * international/iso-ascii.el (iso-ascii-mode):
      * frame.el (auto-raise-mode, auto-lower-mode):
      * composite.el (global-auto-composition-mode): Use define-minor-mode.
      f44379e7
  3. 04 May, 2010 15 commits
    • Juanma Barranquero's avatar
      * src/ChangeLog: Formatting fixes. · 80f00217
      Juanma Barranquero authored
      80f00217
    • Stefan Monnier's avatar
      Misc tweaks. · 178f2507
      Stefan Monnier authored
      * eval.c (Fdefvaralias): Remove unintended nested if.
      (internal_condition_case_2, internal_condition_case_n): Use ANSI type.
      178f2507
    • Dan Nicolaescu's avatar
      ae4aa824
    • Jan Djärv's avatar
    • Michael Albinus's avatar
      * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args' · c04b03f8
      Michael Albinus authored
      in order to see error messages for failed logins.
      c04b03f8
    • Dan Nicolaescu's avatar
      Remove BSD_PGRPS. · 58eb6cf0
      Dan Nicolaescu authored
      * s/bsd-common.h (BSD_PGRPS): Remove undef.
      * s/gnu-linux.h (BSD_PGRPS): Remove.
      * term.c (dissociate_if_controlling_tty):
      * sysdep.c (narrow_foreground_group, widen_foreground_group)
      (init_sys_modes, reset_sys_modes):
      * emacs.c (main):
      * callproc.c (Fcall_process, child_setup): Remove code depending
      on BSD_PGRPS.
      58eb6cf0
    • Dan Nicolaescu's avatar
      Remove POSIX_SIGNALS. · ef03a4e6
      Dan Nicolaescu authored
      * s/usg5-4.h (POSIX_SIGNALS):
      * s/netbsd.h (POSIX_SIGNALS):
      * s/msdos.h (POSIX_SIGNALS):
      * s/ms-w32.h (POSIX_SIGNALS):
      * s/hpux11.h (POSIX_SIGNALS):
      * s/gnu.h (POSIX_SIGNALS):
      * s/gnu-linux.h (POSIX_SIGNALS):
      * s/freebsd.h (POSIX_SIGNALS):
      * s/darwin.h (POSIX_SIGNALS):
      * s/cygwin.h (POSIX_SIGNALS):
      * s/aix4-2.h (POSIX_SIGNALS): Remove definition.
      * s/unixware.h:
      * s/sol2-6.h: Remove comments on POSIX_SIGNALS.
      * process.c (create_process):
      * syssignal.h:
      * sysdep.c (wait_for_termination, init_signals):
      * process.c (create_process):
      * msdos.c: POSIX_SIGNALS is always defined on all platforms,
      remove all code that assumes the contrary.
      ef03a4e6
    • Glenn Morris's avatar
      Regenerate configure, src/config.in. · ede4834a
      Glenn Morris authored
      ede4834a
    • Glenn Morris's avatar
      Yet another missing piece of C_SWITCH commit. · fa5e317a
      Glenn Morris authored
      * Makefile.in (C_SWITCH_SYSTEM): Use @C_SWITCH_SYSTEM@ rather than
      @c_switch_system@.
      
      * oldXMenu/Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Use
      @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
      @c_switch_system@, @c_switch_machine@.
      fa5e317a
    • Glenn Morris's avatar
      Missing lwlib part of earlier C_SWITCH commit. · e9bcdbf7
      Glenn Morris authored
      * lwlib/Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE):
      Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ instead of
      @c_switch_system@, @c_switch_machine@.
      e9bcdbf7
    • Glenn Morris's avatar
      397574f6
    • Glenn Morris's avatar
      Move LD_SWITCH_X_SITE_AUX from cpp to autoconf. · 27a2cdfc
      Glenn Morris authored
      * configure.in (LD_SWITCH_X_SITE_AUX): Use AC_SUBST only, not AC_DEFINE as well.
      (LD_SWITCH_X_SITE_AUX_RPATH): New output variable.
      
      * nt/config.nt (LD_SWITCH_X_SITE_AUX): Remove.
      
      * src/s/gnu-linux.h (LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX as a shell
      variable.
      * src/s/netbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
      (LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH.
      * src/s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
      (LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH instead of
      LD_SWITCH_SYSTEM_tmp.
      * src/Makefile.in (LD_SWITCH_X_SITE_AUX, LD_SWITCH_X_SITE_AUX_RPATH):
      New variables, set by configure.
      27a2cdfc
    • Glenn Morris's avatar
      Move LD_SWITCH_SYSTEM_TEMACS from cpp to autoconf. · eb21eab5
      Glenn Morris authored
      * configure.in (LD_SWITCH_SYSTEM_TEMACS): New output variable.
      
      * src/s/aix4-2.h (LD_SWITCH_SYSTEM_TEMACS): Move to configure.in.
      * src/s/darwin.h (HEADERPAD_EXTRA, LIBS_NSGUI): Remove.
      (LD_SWITCH_SYSTEM_TEMACS): Move to configure.in.
      * src/Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable, set by configure.
      (TEMACS_LDFLAGS): Use $LD_SWITCH_SYSTEM_TEMACS.
      eb21eab5
    • Glenn Morris's avatar
      Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf. · 49628785
      Glenn Morris authored
      * configure.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): New output
      variables, replacing c_switch_machine, c_switch_system.
      
      * src/s/aix4-2.h (C_SWITCH_SYSTEM):
      * src/m/alpha.h (C_SWITCH_MACHINE):
      Move to configure.in.
      * src/Makefile.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM):
      New variables, set by configure.
      (ALL_CFLAGS): Use $C_SWITCH_MACHINE and $C_SWITCH_SYSTEM in place of
      $c_switch_machine and $c_switch_system.
      
      * lib-src/Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@
      rather than @c_switch_system@, @c_switch_machine@.
      49628785
    • Dan Nicolaescu's avatar
      * s/hpux10-20.h (LIB_STANDARD): New definition. · 7dff330b
      Dan Nicolaescu authored
      * Makefile.in (ORDINARY_LINK): Remove setting LIB_STANDARD based
      on it, not used anymore.
      7dff330b
  4. 03 May, 2010 8 commits
    • Juanma Barranquero's avatar
      de953638
    • Juanma Barranquero's avatar
    • Chong Yidong's avatar
      Add optional arg to delete-file to force deletion (Bug#6070). · 53967e09
      Chong Yidong authored
      * eval.c (internal_condition_case_n): Rename from
      internal_condition_case_2.
      (internal_condition_case_2): New function.
      
      * xdisp.c (safe_call): Use internal_condition_case_n.
      
      * fileio.c (Fdelete_file, internal_delete_file): New arg FORCE.
      (internal_delete_file, Frename_file): Callers changed.
      
      * buffer.c (Fkill_buffer):
      * callproc.c (delete_temp_file): Callers changed (Bug#6070).
      
      * lisp.h: Update prototypes.
      
      * diff.el (diff-sentinel):
      
      * epg.el (epg--make-temp-file, epg-decrypt-string)
      (epg-verify-string, epg-sign-string, epg-encrypt-string):
      
      * jka-compr.el (jka-compr-partial-uncompress)
      (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
      
      * server.el (server-sentinel): Use delete-file's new FORCE arg
      (Bug#6070).
      53967e09
    • Juanma Barranquero's avatar
      Fix typo. · 1fada563
      Juanma Barranquero authored
      1fada563
    • Glenn Morris's avatar
      Fix some ChangeLog attributions. · 2b4aa886
      Glenn Morris authored
      2b4aa886
    • Stefan Monnier's avatar
      Use define-minor-mode where applicable. · 56eb0904
      Stefan Monnier authored
      * mh-show.el (mh-showing-mode): Move function to mh-e.el.
      * mh-e.el (mh-showing-mode):
      * url-dired.el (url-dired-minor-mode):
      * org-table.el (orgtbl-mode):
      * view.el (view-mode):
      * type-break.el (type-break-query-mode)
      (type-break-mode-line-message-mode):
      * textmodes/reftex.el (reftex-mode):
      * term/vt100.el (vt100-wide-mode):
      * tar-mode.el (tar-subfile-mode):
      * savehist.el (savehist-mode):
      * ibuf-ext.el (ibuffer-auto-mode):
      * composite.el (auto-composition-mode):
      * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      Use define-minor-mode.
      (vhdl-mode): Use static mode-line format.
      (vhdl-mode-line-update): Delete.
      (vhdl-create-mode-menu, vhdl-activate-customizations)
      (vhdl-hs-minor-mode): Don't bother calling it.
      56eb0904
    • Glenn Morris's avatar
      * src/m/amdx86-64.h: Fix typo in previous. · 063371f2
      Glenn Morris authored
      063371f2
    • Glenn Morris's avatar
      Regenerate configure. · a5edbe4a
      Glenn Morris authored
      a5edbe4a