1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

56640 commits

Author SHA1 Message Date
Julien Danjou
16ac6eb63b gnus-demon.el (gnus-demon-add-handler, gnus-demon-remove-handler): Remove autoload 2012-08-06 11:56:36 +00:00
Mohsen BANAN
d5be7bd03b * lisp/language/persian.el: New file.
* lisp/loadup.el: Add language/persian.el.

Fixes: debbugs:11812
2012-08-06 00:31:31 -07:00
Glenn Morris
e296d94b33 * lisp/eshell/esh-ext.el (eshell/addpath): Use mapconcat. 2012-08-06 00:10:27 -07:00
Chong Yidong
90749b537a Add inhibit-switch-frame parameter for display-buffer, and use it in occur-edit.
* 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
2012-08-06 13:33:39 +08:00
Fabián Ezequiel Gallina
ba7b015436 Make internal shell process buffer names start with space.
* 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.
2012-08-06 00:27:43 -03:00
Glenn Morris
5eaeacb595 Tweak previous esh-ext.el change
* lisp/eshell/esh-ext.el (eshell/addpath): Use dolist.
Do less getting and setting of environment variables.
2012-08-05 18:23:37 -07:00
Julien Danjou
2483555870 erc-match: add option to exclude server buffer
* erc-match.el (erc-match-exclude-server-buffer)
(erc-match-message): Add new option to exclude server buffer from
matching.
2012-08-06 02:15:34 +02:00
Julien Danjou
7d3d9073ba gnus-demon.el (gnus-demon-add-handler, gnus-demon-remove-handler): Add autoload 2012-08-05 22:02:24 +00:00
Chong Yidong
777fe95e05 Tweak proced docstring to trigger autoloading.
* lisp/proced.el (proced): Add substitution string to docstring to
trigger autoloading of the proced library on C-h f.

Fixes: debbugs:1768
2012-08-05 22:22:05 +08:00
Chong Yidong
b7ccbdc2e3 In Imenu, don't show defvars with no second argument.
* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
show defvars which have no second argument.

* lisp/imenu.el (imenu-generic-expression): Move documentation here
from imenu--generic-function.
(imenu--generic-function): Refer to imenu-generic-expression.

Fixes: debbugs:8638
2012-08-05 22:14:54 +08:00
Chong Yidong
9e3b7800ff Mark last change as tiny. 2012-08-05 16:52:45 +08:00
Vegard Øye
d5c31f1ddd Add declares for viper-deflocalvar and viper-loop.
* lisp/emulation/viper-init.el (viper-deflocalvar): Add docstring and
indentation declaration.
(viper-loop): Add indentation declaration.

Fixes: debbugs:7025
2012-08-05 16:51:59 +08:00
Chong Yidong
f0422feb64 Improvements to local-variable reporting in `describe-variable'.
* lisp/help-fns.el (describe-variable): Add hyperlink for
directory-local variables files.  Improve buffer-local and
permanent-local reporting; suggested by MON KEY.

* lisp/help-mode.el (help-dir-local-var-def): New button type.

Fixes: debbugs:6644
2012-08-05 16:41:12 +08:00
Chong Yidong
e5d9c0d111 Docfix for kill-buffer-hook and others.
* lisp/files.el (kill-buffer-hook): Provide a defvar.

* src/term.c (Vsuspend_tty_functions, Vresume_tty_functions):
* src/frame.c (Vdelete_frame_functions):
* src/emacs.c (Vkill_emacs_hook): Doc fix.
2012-08-05 15:45:12 +08:00
Glenn Morris
a4f2deaaeb * lisp/eshell/esh-ext.el (eshell/addpath): Also update eshell-path-env.
Fixes: debbugs:12013
2012-08-04 22:24:50 -07:00
Chong Yidong
615b0bf0b4 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes. 2012-08-05 12:19:21 +08:00
Chong Yidong
d014c740b0 * fringe.el: Docstring and minor code improvements.
(fringe-styles): Add docstring.
(fringe--check-style): New function.
(set-fringe-mode, set-fringe-style): Use it.
(fringe-mode, set-fringe-style): Doc fixes.

Fixes: debbugs:6480
2012-08-05 11:52:02 +08:00
Chong Yidong
a9dd575408 * files.el (set-auto-mode): Fix invalid setq call. 2012-08-05 11:03:31 +08:00
Stefan Monnier
7c2dc8bd36 * lisp/isearch.el: Misc simplification; use defstruct.
(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.
2012-08-04 18:31:04 -04:00
Andreas Schwab
97ad076930 * simple.el (list-processes): Doc fix. 2012-08-04 10:09:24 +02:00
Andreas Schwab
7fcc0070f0 * simple.el (list-processes--refresh): For a server use :host or
:local as the address.
2012-08-04 10:08:11 +02:00
Michal Nazarewicz
00340faf00 * lisp/mpc.el: Support password in host argument.
(mpc--proc-connect): Parse and use new password element.
Set mpc-proc variable instead of returning process.
(mpc-proc): Adjust accordingly.
2012-08-04 03:37:27 -04:00
Eli Zaretskii
18949c2f13 Fix whitespace-display-mappings.
lisp/whitespace.el (whitespace-display-mappings): Use Unicode
 codepoints, instead of emacs-mule codepoints.  See
 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
 for the details.
2012-08-03 14:51:11 +03:00
Eli Zaretskii
6dad71783c Support symlinks on latest versions of MS-Windows.
src/w32.c: Include winioctl.h and aclapi.h.
 (is_symlink, chase_symlinks, enable_privilege, restore_privilege)
 (revert_to_self): Forward declarations of static functions.
 <static BOOL g_b_init_get_security_info>:
 <g_b_init_create_symbolic_link>: New static flags.
 (globals_of_w32): Initialize them to zero.
 (GetSecurityInfo_Proc, CreateSymbolicLink_Proc): New typedefs.
 (map_w32_filename): Improve commentary.  Simplify switch.
 (SYMBOLIC_LINK_FLAG_DIRECTORY): Define if not defined in system
 headers (most versions of MinGW w32api don't).
 (get_security_info, create_symbolic_link)
 (get_file_security_desc_by_handle, is_symlink, chase_symlinks):
 New functions.
 (sys_access, sys_chmod): Call 'chase_symlinks' to resolve symlinks
 in the argument file name.
 (sys_access): Call unc_volume_file_attributes only if
 GetFileAttributes fails with network-related error codes.
 (sys_rename): Diagnose renaming of a symlink when the user doesn't
 have the required privileges.
 (get_file_security_desc_by_name): Renamed from
 get_file_security_desc.
 (stat_worker): New function, with most of the guts of 'stat', and
 with addition of handling of symlinks and support for 'lstat'.  If
 possible, get file's attributes and security information by
 handle, not by name.  Produce S_IFLNK bit for symlinks, when
 called from 'lstat'.
 (stat, lstat): New functions, call 'stat_worker'.
 (symlink, readlink, careadlinkat): Rewritten to create and resolve
 symlinks when the underlying filesystem supports them.

 lib/src/ntlib.c (lstat): New function, calls 'stat'.

 nt/inc/sys/stat.h (S_IFLNK): Define.
 (S_ISLNK): A non-trivial definition.
 (lstat): Prototype instead of a macro that redirects to 'stat'.

 lisp/files.el (file-truename): Don't skip symlink-chasing part on
 windows-nt.  Incorporate the resolution of 8+3 short aliases on
 Windows into the loop that recursively chases symlinks.  Compare
 directory and its parent case-insensitively on MS-Windows and
 MS-DOS.

 etc/NEWS: Announce the symlink support on MS-Windows.
2012-08-03 13:23:30 +03:00
Chong Yidong
6200f3c413 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS. 2012-08-03 16:25:42 +08:00
Chong Yidong
385b01989f * sort.el (sort-regexp-fields): Doc fix. 2012-08-03 16:15:24 +08:00
Tassilo Horn
b9e74744d6 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
labels regex position point at the expected place.
2012-08-03 08:47:32 +02:00
MON KEY
41013cb444 Doc fixes for imap.el.
* net/imap.el (imap-interactive-login, imap-authenticate)
(imap-mailbox-lsub, imap-mailbox-list)
(imap-mailbox-status-asynch, imap-mailbox-acl-delete)
(imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
(imap-parse-response): Doc fix.
2012-08-03 10:49:51 +08:00
João Távora
0ffee6167f Workaround for latex-forward-sexp slowness.
* textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop if
sexp scanning does not move point.

Fixes: debbugs:5734
2012-08-03 10:29:59 +08:00
Tassilo Horn
a01bbb8412 fixup ChangeLog 2012-08-02 21:04:53 +02:00
Tassilo Horn
983741d87c * textmodes/reftex-vars.el (reftex-label-alist): Docfix. 2012-08-02 20:54:36 +02:00
Tassilo Horn
cfcc9cc88e * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
Add listings, minted, and ctable packages.
(reftex-label-alist-builtin): Move listings, minted, and ctable
entries before LaTeX.
2012-08-02 20:24:11 +02:00
Bastien Guerry
66ec244299 Fix typo in docstring. Bug #12122. 2012-08-02 18:54:42 +02:00
Chong Yidong
f47188fe02 lisp/emacs-lisp/rx.el: Remove dead URL from commentary. 2012-08-02 16:12:36 +08:00
Glenn Morris
837b365b2a Move NT-specific include file to the NT include directory
* nt/inc/ms-w32.h: Move here from ../src/s.
* nt/config.nt (config_opsysfile): Change to <ms-w32.h>.

* s/ms-w32.h: Move to ../nt/inc.
* src/makefile.w32-in (TAGS, TAGS-gmake, MS_W32_H):
Update for new ms-w32.h location.

* lib-src/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.

* lib/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.

* lisp/emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2012-08-01 23:19:48 -07:00
Paul Eggert
e098de975f Obsolete alias inactivate-current-input-method-function.
* lisp/international/mule-cmds.el: Create
inactivate-current-input-method-function as an obsolete alias for
deactivate-current-input-method-function.  See Katsumi Yamaoka in
<http://bugs.gnu.org/10150#46>.
2012-08-01 18:36:14 -07:00
Jay Belanger
a0f95636d5 calc-mode.el (calc-set-simplify-mode): Use cond' instead of nested if's. 2012-08-01 10:36:37 -05:00
Glenn Morris
069bac5e5b Auto-commit of loaddefs files. 2012-08-01 06:20:52 -04:00
Glenn Morris
0d26d7c4dc Small tweaks for autoconf mode
* lisp/progmodes/autoconf.el (autoconf-definition-regexp):
Add AH_TEMPLATE, adjust submatch numbering.
(autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
(autoconf-current-defun-function): Update for above change.
(autoconf-current-defun-function): First skip to end of current word.
2012-08-01 00:34:28 -07:00
Rupert Swarbrick
b686ba0618 * calendar/cal-html.el (cal-html-insert-agenda-days): Fix typo. (tiny change)
Fixes: debbugs:12018
2012-08-01 00:15:44 -07:00
Glenn Morris
8d7c7eed73 ChangeLog fixes 2012-07-31 22:14:20 -04:00
Fabián Ezequiel Gallina
0d49da68b9 Shell processes: enhancements to startup and CEDET compatibility.
* progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
(python-shell-make-comint): accept-process-output at startup.
(run-python-internal): Set inferior-python-mode-hook to nil.
(python-shell-internal-get-or-create-process): call sit-for.
(python-preoutput-result): Add obsolete alias.
(python-shell-internal-send-string): Use it.
(python-shell-send-setup-code): Remove call to
accept-process-output.
2012-07-31 20:43:31 -03:00
Andreas Schwab
f1a71c6e3d Fixes: debbugs:12108
* buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2012-08-01 00:34:36 +02:00
Jay Belanger
d66060f824 calc-mode.el (calc-set-simplify-mode): Adjust message. 2012-07-31 16:38:18 -05:00
Jay Belanger
d2605269ba calc-mode.el (calc-basic-simplification-mode): Rename from
`calc-limited-simplification-mode'.
(calc-alg-simplification-mode): New function.

calc.el (calc-set-mode-line): Adjust mode line display
for basic simplification mode.

calc-help.el (calc-m-prefix-help): Update help message.

calc-ext.el (calc-init-extensions): Add bindings and autoloads 
for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2012-07-31 16:32:28 -05:00
Bastien Guerry
a3827a4371 Fix comment in man.el. See bug#12101.
Thanks to Reuben Thomas for catching this.
2012-07-31 15:34:20 +02:00
Bastien Guerry
7a6aa36983 Remove outdate comment section in woman.el. See bug #12099. 2012-07-31 15:32:21 +02:00
Martin Rudalics
502e3f8935 Fix return values of switch-to-prev/next-buffer.
* window.el (switch-to-prev-buffer, switch-to-next-buffer):
Don't return a non-nil value when no suitable buffer was found.
2012-07-31 10:36:32 +02:00
Fabián Ezequiel Gallina
d77149619b * progmodes/python.el (run-python-internal): Disable font lock for
internal shells.
2012-07-31 00:31:10 -03:00
Katsumi Yamaoka
4650d5fa0e gnus.el (gnus-valid-select-methods): Fix custom type 2012-07-31 01:39:58 +00:00