1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

108921 commits

Author SHA1 Message Date
Glenn Morris
026822f966 Auto-commit of loaddefs files. 2012-11-27 06:18:12 -05:00
Paul Eggert
350e0088e1 Assume POSIX 1003.1-1988 or later for grp.h, pwd.h.
* dired.c (stat_uname, stat_gname):
* fileio.c (Fexpand_file_name): Remove no-longer-needed casts.
2012-11-26 21:38:42 -08:00
Paul Eggert
22626a856b Assume POSIX 1003.1-1988 or later for errno.h.
* lib-src/movemail.c (main): Assume EAGAIN and EBUSY.
* src/dired.c (directory_files_internal, file_name_completion):
Assume EAGAIN and EINTR are defined.
* src/fileio.c (Fcopy_file): Assume EISDIR is defined.
* src/gmalloc.c (ENOMEM, EINVAL): Assume they're defined.
* src/gnutls.c (emacs_gnutls_write): Assume EAGAIN is defined.
* src/lread.c (readbyte_from_file): Assume EINTR is defined.
* src/process.c (wait_reading_process_output, send_process) [subprocesses]:
Assume EIO and EAGAIN are defined.
* src/unexcoff.c (write_segment): Assume EFAULT is defined.

Fixes: debbugs:12968
2012-11-26 21:17:07 -08:00
Glenn Morris
5c9cf0a3f9 Merge from emacs-24; up to 2012-11-20T20:06:17Z!monnier@iro.umontreal.ca 2012-11-26 19:10:32 -08:00
Stefan Monnier
369f945d0b * lisp/textmodes/table.el (table-insert): Don't use `symbol-name' on
lexically scoped variables.

Fixes: debbugs:13005
2012-11-26 21:06:19 -05:00
Glenn Morris
999e745ef7 vc-hooks.el workaround for bug#11490
* vc/vc-hooks.el (vc-mistrust-permissions): Default to t, to avoid data-loss.
2012-11-26 18:50:12 -05:00
Fabián Ezequiel Gallina
98f99594f7 * progmodes/python.el:
(python-indent-guess-indent-offset): If indentation is guessed
make python-indent-offset variable buffer local.
2012-11-26 20:31:06 -03:00
Fabián Ezequiel Gallina
207cb73c18 Fix Imenu regression.
* progmodes/python.el:
(python-nav-beginning-of-defun): Fix forward movement when
statement(s) separates point from defun.
(python-imenu-prev-index-position): New function.
2012-11-26 18:45:58 -03:00
Stefan Monnier
848a2dd19d * lisp/emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
base function is not yet defined.
(ad-activate-advised-definition): Use ad-compile-function.
(ad-activate): Use cond.

Fixes: debbugs:12965
2012-11-26 14:56:14 -05:00
Eli Zaretskii
3fa1e84d43 Don't crash if internal-char-font is called on non-GUI frames.
src/fontset.c (Finternal_char_font): Return nil on non-GUI frames.
 (Bug#11964)
2012-11-26 19:46:35 +02:00
Eli Zaretskii
865f7d8fa9 Fix last commit's log entry.
Fixes: debbugs:12989
2012-11-26 19:12:44 +02:00
Eli Zaretskii
33a488e4e6 Partial fix for bug #12989 with buffer-file-type annoyances.
lisp/subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
 lisp/dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
 Don't set buffer-file-type.  Return nil.
2012-11-26 19:09:04 +02:00
Glenn Morris
502071919d * lisp/hippie-exp.el (hippie-expand-try-functions-list): Re-autoload it.
Fixes: debbugs:12982
2012-11-25 17:41:00 -08:00
Bill Wohler
551aaa664f * mh-e.texi (Sequences): Add mh-whitelist-preserves-sequences-flag.
(Junk): Add mh-whitelist-preserves-sequences-flag,
mh-blacklist-msg-hook, mh-whitelist-msg-hook, mh-folder-blacklisted,
mh-folder-whitelisted (closes SF #2945712).
2012-11-25 12:14:53 -08:00
Glenn Morris
1e9f74b1a5 ChangeLog fix
Reposition and redate entries with the date they were merged into Emacs
2012-11-25 11:24:26 -08:00
Bill Wohler
a09777fb29 Merge from trunk. 2012-11-25 10:33:16 -08:00
Bill Wohler
77f9b93eb2 Release MH-E version 8.4.
* mh-e.el (Version, mh-version): Update for release 8.4.
2012-11-25 10:26:38 -08:00
Bill Wohler
6827cac1cd Release MH-E version 8.4.
* NEWS, MH-E-NEWS: Update for MH-E release 8.4.
2012-11-25 10:25:34 -08:00
Bill Wohler
d0457b578d Release MH-E manual version 8.4.
* mh-e.texi: (VERSION, EDITION, UPDATED, UPDATE-MONTH, Preface):
Update for release 8.4.
2012-11-25 10:22:04 -08:00
Eli Zaretskii
2147c6ab51 Fix bug #11964 with crashes inside internal-char-font on non-GUI frames.
lips/descr-text.el (describe-char-padded-string): Call
 internal-char-font only on GUI frames.
2012-11-25 18:28:38 +02:00
Leo Liu
9ad7950682 * lisp/textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
Fixes: debbugs:12979
2012-11-26 00:07:58 +08:00
Glenn Morris
0d35edba15 Auto-commit of loaddefs files. 2012-11-25 07:23:32 -05:00
Glenn Morris
ea9c9011a2 Auto-commit of generated files. 2012-11-25 07:19:00 -05:00
Glenn Morris
cf5b88801b Auto-commit of generated files. 2012-11-25 06:18:55 -05:00
Paul Eggert
5fbab05122 * sysdep.c (sys_subshell): Don't assume pid_t fits in int. 2012-11-24 23:50:55 -08:00
Vincent Belaïche
e2cb57f5f5 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable reftex-section-info-function in order to be compatible with Texinfo integration.
* textmodes/reftex.el (reftex-section-pre-regexp, reftex-section-post-regexp, reftex-section-info-function): New variable. (reftex-compile-variables): Use variables reftex-section-pre-regexp, reftex-section-post-regexp, and reftex-section-info-function in order to be compatible with Texinfo integration.

* textmodes/reftex-toc.el (reftex-toc-promote-action): use reftex-section-pre-regexp variable in order to be compatible with Texinfo integration.
2012-11-25 06:05:34 +01:00
Chong Yidong
1c4f115d4c Revamp face-spec-set to be more analogous to setq for faces.
* lisp/faces.el (face-spec-set): Change the third arg to specify
whether this function is being called via defface, customize, or a
third party.  Set the appropriate symbol properties.  Clear the
override spec if setting via Custom.  Initialize face if necessary.
(face-spec-recalc): Allow theme faces to completely replace the
defface spec, in the same way as custom faces (Bug#8454).

* lisp/cus-edit.el (custom-face-set, custom-face-mark-to-save)
(custom-face-reset-saved, custom-face-mark-to-reset-standard):
Simplify by using the new arg to face-spec-set.

* lisp/cus-face.el (custom-declare-face): Move face initialization to
face-spec-set.
(custom-theme-set-faces): Don't initialize the face name here, as
that is now done in face-spec-set.

* lisp/emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
reset face-override-spec too, and use custom-declare-face.

Fixes: debbugs:4988
2012-11-25 12:50:20 +08:00
Bill Wohler
1b0b185558 * mh-comp.el (mh-regexp-in-field-syntax-table): Fix docstring.
(mh-edit-again): Format.
(mh-components-to-list): Fix docstring. 
(mh-regexp-in-field-p): Remove unused variable `field'.
2012-11-24 20:37:28 -08:00
Bill Wohler
fb9958d7bc * mh-compat.el (mh-define-obsolete-variable-alias)
(mh-make-obsolete-variable): New macros to fix XEmacs compiler
warnings.

* mh-letter.el (mh-yank-hooks): Use new mh-make-obsolete-variable
macro.

* mh-e.el (mh-kill-folder-suppress-prompt-hooks): Use new
mh-define-obsolete-variable-alias macro.

* mh-compat.el (mh-cl-flet): New alias for cl-flet on Emacs 24 and
flet elsewhere.

* mh-thread.el (mh-thread-set-tables): Replace flet with new alias
mh-cl-flet.

* mh-show.el (mh-gnus-article-highlight-citation): Replace flet with
new alias mh-cl-flet.

* mh-mime.el (mh-display-with-external-viewer, mh-mime-display)
(mh-press-button, mh-push-button, mh-display-emphasis): Replace flet
with new alias mh-cl-flet.

* mh-e.el (mh-invisible-header-fields-internal): Remove trailing
  whitespace.
2012-11-24 20:13:04 -08:00
Bill Wohler
5244bc019b Merge from trunk. 2012-11-24 19:43:02 -08:00
Jeffrey C Honig
9f7e719509 Fixed a small bug in the last checkin. 2012-11-24 22:14:17 -05:00
Jeffrey C Honig
855c6482c0 (mh-edit-again): Use the components file to specify
default values for missing headers in the draft.
(mh-regexp-in-field-syntax-table, mh-fcc-syntax-table)
(mh-addr-syntax-table, mh-regexp-in-field-p): Use a syntax table
so we'll properly parse non-address fields. 
(mh-components-to-list, mh-extract-header-field): New functions to
read components file.
(mh-find-components, mh-send-sub): Move code to locate components
file into a new function.
(mh-insert-auto-fields, mh-modify-header-field): New syntax for
calling mh-regexp-in-field-p.
(closes SF #1708292)
2012-11-24 21:21:02 -05:00
Paul Eggert
61d841dd15 * mh-e.texi (Procmail): Fix two @ typos. 2012-11-24 16:05:54 -08:00
Andreas Schwab
58b1ae1e17 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
and obsoletion message.
2012-11-25 00:07:13 +01:00
Paul Eggert
c07a6ded1d * doclicense.texi, gpl.texi: Update to latest version from FSF.
These are just minor editorial changes.
2012-11-24 13:37:18 -08:00
Stefan Monnier
35a1051652 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
the constructs to keep outside of the `cl-block'.

Fixes: debbugs:12977
2012-11-24 16:34:28 -05:00
Jan Djärv
c235054806 * term/ns-win.el (ns-initialize-window-system): Move creation of
fontsets here.

Fixes: debbugs:11964
2012-11-24 18:55:48 +01:00
Vincent Belaïche
ecfc364c8f * ses.el (ses-rename-cell): Correct bug on mode-line update after cell renaming. 2012-11-24 18:44:29 +01:00
Ken Brown
bcd77a2ba0 Remove HAVE_MOUSE; see https://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00403.html.
* configure.ac (HAVE_MOUSE): Remove.
* admin/CPP-DEFINES (HAVE_MOUSE): Remove.
* msdos/sed2v2.inp (HAVE_MOUSE): Remove.
* nt/config.nt (HAVE_MOUSE): Remove.
* src/keyboard.c (HAVE_MOUSE):
* src/frame.c (HAVE_MOUSE): Remove, and rewrite code as if HAVE_MOUSE
were always defined.
2012-11-24 12:20:49 -05:00
Chong Yidong
433212bfdf * lisp/woman.el (woman-default-faces, woman-monochrome-faces): Mark as obsolete. 2012-11-25 00:58:43 +08:00
Eli Zaretskii
50a60e0257 Fix the MS-Windows build broken by absence of the *.manifest files.
make-dist (nt): Adjust to changes in names of the *.manifest files.
2012-11-24 18:58:28 +02:00
Chong Yidong
ea0d348b1c Bump version to 24.2.90.
Regenerate AUTHORS and ldefs-boot.el.
2012-11-24 23:31:31 +08:00
Chong Yidong
1e1bbf410d Minor update to make-tarball.txt. 2012-11-24 23:24:40 +08:00
Paul Eggert
d454751173 Revert recent change for Bug#8855.
As reported by Harald Hanche-Olsen in
<http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00445.html>
the change introduces a further bug, of creating lots of zombie
processes in some cases.  Further work is needed to come up with a
better fix for Bug#8855.
2012-11-24 00:24:11 -08:00
Chong Yidong
0c5ef13335 Fix follow-mouse clicks on undraggable mode/header lines.
* mouse.el (mouse-drag-line): Even if the line is not draggable,
keep reading until we get the up-event anyway, in order to process
the up-event for mouse-1-click-follows-link.

Fixes: debbugs:12971
2012-11-24 16:15:00 +08:00
Eli Zaretskii
22294a56e8 Fix assertion violations when clicking on Info bread-crumbs.
src/xdisp.c (draw_glyphs): Don't draw in mouse face if mouse
 highlighting on the frame was cleared.  Prevents assertion
 violations when repeatedly clicking on the "Top" link of the
 "bread-crumbs" in Info buffers.
2012-11-24 09:25:52 +02:00
Bill Wohler
cf1f2c3e75 Use ~ instead of /home/user.
Use mformat instead of obsolete vfolder_format.
2012-11-23 23:13:44 -08:00
Paul Eggert
cb6f565049 * loading.texi (Named Features): @ -> @@ to fix typo. 2012-11-23 22:50:44 -08:00
Eli Zaretskii
259719a65d Fix ChangeLog entries for the last commit. 2012-11-24 08:24:13 +02:00
Chong Yidong
0917cc542f Fix dependency sorting in custom-theme-set-variables.
* lisp/custom.el (custom-theme-set-variables): Use a topological sort
for ordering by custom dependencies.
(custom--sort-vars, custom--sort-vars-1): New functions.

Fixes: debbugs:12952
2012-11-24 11:46:29 +08:00