]> git.eshelyaron.com Git - emacs.git/log
emacs.git
13 years ago* .gdbinit: Read global lisp variables as globals.f_V*.
Jan Djärv [Sun, 30 Jan 2011 18:36:12 +0000 (19:36 +0100)]
* .gdbinit: Read global lisp variables as globals.f_V*.

13 years agoRegenerate ldefs-boot.el
Andreas Schwab [Sun, 30 Jan 2011 11:58:09 +0000 (12:58 +0100)]
Regenerate ldefs-boot.el

13 years agomake-docfile: don't corrupt heap for an invalid .elc file
Jim Meyering [Sun, 30 Jan 2011 09:17:36 +0000 (10:17 +0100)]
make-docfile: don't corrupt heap for an invalid .elc file

13 years agonnmail.el (nnmail-article-group): A better test for fanciness.
Lars Ingebrigtsen [Sun, 30 Jan 2011 03:00:34 +0000 (03:00 +0000)]
nnmail.el (nnmail-article-group): A better test for fanciness.

13 years agonnmail.el (nnmail-article-group): Check for a direct fancy split method.
Lars Ingebrigtsen [Sun, 30 Jan 2011 02:51:45 +0000 (02:51 +0000)]
nnmail.el (nnmail-article-group): Check for a direct fancy split method.
gnus.texi (Client-Side IMAP Splitting): Add a complete nnimap fancy splitting example.

13 years agonnimap.el (nnimap-request-head): Protect against not finding the article by Message-ID.
Lars Ingebrigtsen [Sun, 30 Jan 2011 01:46:32 +0000 (01:46 +0000)]
nnimap.el (nnimap-request-head): Protect against not finding the article by Message-ID.

13 years ago* src/font.c (PROP_MATCH): Remove parameter N and use strlen instead.
Andreas Schwab [Sun, 30 Jan 2011 00:35:35 +0000 (01:35 +0100)]
* src/font.c (PROP_MATCH): Remove parameter N and use strlen instead.
All uses changed.
(PROP_SAVE): Likewise.

13 years agoRefresh Dired and VC-dir buffers after vc-pull and vc-merge.
Chong Yidong [Sat, 29 Jan 2011 21:19:21 +0000 (16:19 -0500)]
Refresh Dired and VC-dir buffers after vc-pull and vc-merge.

* vc/vc-dispatcher.el (vc-set-async-update): New function for
updating Dired or VC-dir buffers after async command completes.

* vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
(vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.

* vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
completions if it exists.  Use vc-set-async-update.
(vc-git-pull): Use vc-set-async-update.

* vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
read-shell-command.  Use vc-set-async-update.
(vc-hg-merge-branch): Use vc-set-async-update.

13 years ago* keyboard.c (make_lispy_position): Fix typo in last change (Bug#7935).
Chong Yidong [Sat, 29 Jan 2011 15:17:00 +0000 (10:17 -0500)]
* keyboard.c (make_lispy_position): Fix typo in last change (Bug#7935).

13 years agoFix doc/*/makefile.w32-in according to 2011-01-23T10:22:21Z!wl@gnu.org-2011-01-23T10...
Eli Zaretskii [Sat, 29 Jan 2011 14:48:19 +0000 (16:48 +0200)]
Fix doc/*/makefile.w32-in according to 2011-01-23T10:22:21Z!wl@gnu.org-2011-01-23T10:38:14Z!wl@gnu.org.

 doc/lispref/makefile.w32-in (texinfodir): New variable.
 (usermanualdir): Remove as redundant with $(emacsdir).
 (MAKEINFO): Remove options, leave only program name.
 (MAKEINFO_OPTS): New variable.
 (texinputdir, $(infodir)/elisp): Use $(MAKEINFO_OPTS).
 doc/emacs/makefile.w32-in (MAKEINFO): Remove options, leave only program name.
 (MAKEINFO_OPTS): New variable.
 (ENVADD, $(infodir)/emacs): Use $(MAKEINFO_OPTS).
 (emacs.html): New target.
 (clean): Remove emacs.html.
 doc/misc/makefile.w32-in (MAKEINFO): Remove options, leave only program name.
 (MAKEINFO_OPTS): New variable.
 (ENVADD, $(infodir)/emacs): Use $(MAKEINFO_OPTS).
 ($(infodir)/info, $(infodir)/ccmode, $(infodir)/ada-mode)
 ($(infodir)/pcl-cvs, $(infodir)/eshell, $(infodir)/cl)
 ($(infodir)/dbus, $(infodir)/dired-x, $(infodir)/ediff)
 ($(infodir)/flymake, $(infodir)/forms, $(infodir)/gnus)
 ($(infodir)/message, $(infodir)/emacs-mime, $(infodir)/sieve)
 ($(infodir)/pgg, $(infodir)/mh-e, $(infodir)/reftex)
 ($(infodir)/remember, $(infodir)/sasl, $(infodir)/sc)
 ($(infodir)/vip, $(infodir)/viper, $(infodir)/widget)
 ($(infodir)/efaq, $(infodir)/autotype, $(infodir)/calc)
 ($(infodir)/idlwave, $(infodir)/eudc, $(infodir)/ebrowse)
 ($(infodir)/woman, $(infodir)/speedbar, $(infodir)/tramp)
 ($(infodir)/ses, $(infodir)/smtpmail, $(infodir)/org)
 ($(infodir)/url, $(infodir)/newsticker, $(infodir)/nxml-mode)
 ($(infodir)/rcirc, $(infodir)/erc, $(infodir)/ert)
 ($(infodir)/epa, $(infodir)/mairix-el, $(infodir)/auth)
 ($(infodir)/eieio, $(infodir)/ede, $(infodir)/semantic)
 ($(infodir)/edt): Use $(MAKEINFO_OPTS).

13 years agoFix the bootstrap on MS-Windows.
Eli Zaretskii [Sat, 29 Jan 2011 13:41:34 +0000 (15:41 +0200)]
Fix the bootstrap on MS-Windows.

 makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.

13 years agoFix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs...
Eli Zaretskii [Sat, 29 Jan 2011 12:36:11 +0000 (14:36 +0200)]
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.

 lib/makefile.w32-in:
 lib/getopt_.h: New files.
 src/s/ms-w32.h (HAVE_MKTIME): Remove.
 src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
 (GNULIB): New variable.
 (LIBS): Add $(GNULIB).
 $(TEMACS): Depend on $(GNULIB).
 <top-level>: Fix font-lock disrupted by a lone `"'.
 src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
 (GETOPTOBJS, GETOPTDEPS): Remove targets.
 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
 (clean): Don't remove getopt.h.
 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
 $(EMACS_ROOT)/lib/getopt.h.
 nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
 (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
 (bootstrap-clean-gmake, clean-other-dirs-nmake)
 (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
 (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
 (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
 (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
 nt/configure.bat: Create lib/makefile.
 nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
 (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
 (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.

13 years agoHandle nul-character in copy/paste (Bug#7934).
Jan Djärv [Sat, 29 Jan 2011 11:30:11 +0000 (12:30 +0100)]
Handle nul-character in copy/paste (Bug#7934).

* nsselect.m (ns_string_from_pasteboard): Get length of string
and use make_string instead of build_string.
(ns_string_to_pasteboard_internal): Use initWithBytesNoCopy
instead of stringWithUTF8String  (Bug#7934).

13 years agoDon't throw an error when any of encryption subkeys are expired.
Daiki Ueno [Sat, 29 Jan 2011 11:05:35 +0000 (20:05 +0900)]
Don't throw an error when any of encryption subkeys are expired.

* epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Don't
presume KEYEXPIRED and KEYREVOKED to be a fatal error status
(Bug#7931).

13 years agoHandle floating point errors in ns-fonts (Bug#7887).
Jan Djärv [Sat, 29 Jan 2011 10:36:16 +0000 (11:36 +0100)]
Handle floating point errors in ns-fonts (Bug#7887).

* nsfont.m (nsfont_open): Ensure that fonts with inexact
descenders would not become one pixel too tall (Bug#7887).

13 years ago* lisp/progmodes/compile.el: Avoid an N² behavior in grep.
Stefan Monnier [Sat, 29 Jan 2011 06:08:24 +0000 (01:08 -0500)]
* lisp/progmodes/compile.el: Avoid an N² behavior in grep.
(compilation--previous-directory): New fun.
(compilation--previous-directory-cache): New var.
(compilation--remove-properties): Flush it.
(compilation-directory-properties, compilation-error-properties):
Use the new fun to speed up looking for the current directory.

13 years agoRudimentary support for vc-pull and vc-merge in Git and Mercurial.
Chong Yidong [Sat, 29 Jan 2011 03:12:32 +0000 (22:12 -0500)]
Rudimentary support for vc-pull and vc-merge in Git and Mercurial.

* lisp/vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
the other way around.

* lisp/vc/vc-git.el (vc-git-branches, vc-git-pull)
(vc-git-merge-branch): New functions.
(vc-git-history): New var.

* lisp/vc/vc-hg.el (vc-hg-history): New var.
(vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
(vc-hg-merge-branch): New function.

13 years agognus-art.el (article-update-date-lapsed): Try a better way to really keep point at...
Lars Ingebrigtsen [Sat, 29 Jan 2011 02:29:38 +0000 (02:29 +0000)]
gnus-art.el (article-update-date-lapsed): Try a better way to really keep point at the "same place".

13 years agoConvert vc-bzr-async-command into a general vc-do-async-command facility.
Chong Yidong [Fri, 28 Jan 2011 23:10:55 +0000 (18:10 -0500)]
Convert vc-bzr-async-command into a general vc-do-async-command facility.

* vc/vc-dispatcher.el (vc-do-async-command): New function.

* vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
vc-do-async-command.

* vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Callers changed.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Fri, 28 Jan 2011 23:07:38 +0000 (23:07 +0000)]
Merge changes made in Gnus trunk.

gnus-win.el: Remove dead function gnus-window-configuration-element.
 (gnus-all-windows-visible-p): Remove old compatibility code.
 (gnus-window-top-edge): Add docstring.
gnus-sum.el (gnus-select-newsgroup): Don't try to alter the active data if the group is unactivated.

13 years ago* progmodes/compile.el: Don't use font-lock any more.
Stefan Monnier [Fri, 28 Jan 2011 22:12:05 +0000 (17:12 -0500)]
* progmodes/compile.el: Don't use font-lock any more.

13 years ago* lisp/progmodes/compile.el: Don't use font-lock any more.
Stefan Monnier [Fri, 28 Jan 2011 22:06:20 +0000 (17:06 -0500)]
* lisp/progmodes/compile.el: Don't use font-lock any more.
(compilation-error-regexp-alist-alist): Change handling of makepp
so it preserves the warning/error distinction on subsequent files.
Simplify various rules.
(compilation-directory-properties): Use font-lock-face.
Add a compilation-message property.
(compilation-internal-error-properties): Use font-lock-face.
Don't set the compilation-debug property here.
(compilation--put-prop, compilation--remove-properties)
(compilation--parse-region, compilation--ensure-parse)
(compilation--ensure-parse): New functions.
(compilation-parse-errors): New function, largely inspired of
compilation-mode-font-lock-keywords.  Set compilation-debug here.
(compilation--parsed): New var.
(compilation--flush-parse): Use compilation--ensure-parse.
(compilation-start): Don't call font-lock.
(compilation-turn-on-font-lock): Remove.
(compilation-setup): Don't set font-lock-extra-managed-props not change
other font-lock settings, other than keywords.
Don't activate font-lock-mode.
Set change-major-mode-hook and before-change-functions.
(compilation--unsetup): Remove properties and hooks.
(compilation-next-single-property-change): New function.
(compilation-next-error): Use it to parse when needed.
(compile-goto-error): Parse buffer as needed.
(compilation--compat-error-properties): Don't need a dummy `face'
property any more.

13 years ago* lisp/progmodes/compile.el: Use accessors for clarity and fix omake hack.
Stefan Monnier [Fri, 28 Jan 2011 21:42:34 +0000 (16:42 -0500)]
* lisp/progmodes/compile.el: Use accessors for clarity and fix omake hack.
(compilation-process-setup-function): Fix docstring's false promises.
(compilation-error-regexp-alist-alist): Catch omake's continuous
recompilation message and avoid reuse of old markers.
(compilation-parse-errors-function): Declare obsolete.
(compilation-buffer-modtime): Remove.
(compilation--make-cdrloc, compilation--loc->col)
(compilation--loc->line, compilation--loc->file-struct)
(compilation--loc->marker, compilation--loc->visited)
(compilation--make-file-struct, compilation--file-struct->file-spec)
(compilation--file-struct->formats)
(compilation--file-struct->loc-tree): New macros.  Use them.
(compilation--message): New defstruct.  Use them.
(compilation-next-error-function): Don't mess with timestamps to try
and guess when to reparse.

13 years agoFix help-mode highlighting of advice warning (Bug#6304).
Leo Liu [Fri, 28 Jan 2011 21:42:11 +0000 (16:42 -0500)]
Fix help-mode highlighting of advice warning (Bug#6304).

* emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
highlighting to the "this function is advisted" message.

* help-mode.el (help-mode-finish): Apply highlighting here, to
avoid clobbering by substitute-command-keys (Bug#6304).

13 years agoFix for woman escape sequence processing (Bug#7843).
Chong Yidong [Fri, 28 Jan 2011 21:20:40 +0000 (16:20 -0500)]
Fix for woman escape sequence processing (Bug#7843).

* lisp/woman.el (woman0-roff-buffer): Process roff escape sequences
occurring prior to the first request.

13 years ago* lisp/textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
Stefan Monnier [Fri, 28 Jan 2011 21:16:04 +0000 (16:16 -0500)]
* lisp/textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
(tex-old-error-file-name): New function,
extracted from tex-compilation-parse-errors.
(tex-compilation-parse-errors): Remove.
(tex-error-regexp-alist): New var.
(tex-shell): Use it to avoid compilation-parse-errors-function.

13 years agoMinor cleanup for compile.el and grep.el.
Stefan Monnier [Fri, 28 Jan 2011 21:11:19 +0000 (16:11 -0500)]
Minor cleanup for compile.el and grep.el.
* lisp/progmodes/compile.el: Cleanup text-properties namespace by using
`compilation-message' instead of `message', `compilation-directory'
instead of `directory', and `compilation-debug' instead of `debug'.
(compilation-last-buffer, compilation-parsing-end)
(compilation-error-list, compilation-old-error-list): Move to the
compatibility part of the code.
(compilation-error-properties): If `file' is a function, let it return
a file name.
(compilation-mode-font-lock-keywords): Be more conservative with the
omake "^ *" pattern prefix, to try and minimize the risk of
pathologically slow regexp matching.
(compilation-start): Use inhibit-read-only.
(compilation--unsetup): New function.
(compilation-shell-minor-mode, compilation-minor-mode): Use it.
(compilation-filter): Minor tweaks.
(compilation-next-error-function): Try and avoid abusing variable names.
(compilation--flush-file-structure): New fun.
(compilation-fake-loc): Use it for cleaner behavior when file is reused.
(debug-ignored-errors): Add "Moved past last ...".
(compilation--compat-error-properties)
(compilation--compat-parse-errors): Rename by doubling the "-".

* lisp/progmodes/grep.el (grep-regexp-alist): Tighten regexp.
(grep-mode-font-lock-keywords): Remove regexp that seems like
a left-over from before we used compile.el.
(grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
modifying the buffer within with-silent-modifications.

13 years agoFix text pos part of lispy positions for right fringe clicks (Bug#7839).
Chong Yidong [Fri, 28 Jan 2011 20:30:38 +0000 (15:30 -0500)]
Fix text pos part of lispy positions for right fringe clicks (Bug#7839).

* src/keyboard.c (make_lispy_position): For clicks on right fringe or
margin, compute text position using the X coordinate relative to
the left of the text area (Bug#7839).

13 years agoPort features from the previous prolog.el to the new one.
Stefan Monnier [Fri, 28 Jan 2011 19:46:58 +0000 (14:46 -0500)]
Port features from the previous prolog.el to the new one.
* lisp/progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
(prolog-program-name, prolog-program-switches, prolog-consult-string)
(prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
variable and use a function to compute the value dynamically.
(prolog-prompt-regexp): Add regexp for GNU Prolog.
(prolog-continued-prompt-regexp): Remove, unused.
(prolog-find-value-by-system): Try and use the value of prolog-system
in the *prolog* buffer if it helps.
(prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
(prolog-zip-on): ..and check prolog-system and version here instead.
(prolog-inferior-self-insert-command): New command.
(prolog-inferior-mode-map): Use it.
(prolog-inferior-error-regexp-alist): New var.
(prolog-inferior-mode): Use it, along with compilation-shell-minor-mode.
(prolog-input-filter): Use derived-mode-p.
(prolog-inferior-guess-flavor): New function.
(prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
make-comint to avoid running comint-mode twice.
(prolog-inferior-buffer): New fun.
(prolog-old-process-region, prolog-old-process-file):
Don't call prolog-bsts here...
(prolog-build-prolog-command): ...do it here instead.
(prolog-old-process-region, prolog-old-process-file):
Use compilation-fake-loc and compilation-forget-errors.
(prolog-consult-compile-region): Use bolp.

13 years ago* image-mode.el (image-display-size): Doc fix (Bug#7820).
Chong Yidong [Fri, 28 Jan 2011 19:13:01 +0000 (14:13 -0500)]
* image-mode.el (image-display-size): Doc fix (Bug#7820).

13 years agoUpdate autoloads.
Chong Yidong [Fri, 28 Jan 2011 16:58:04 +0000 (11:58 -0500)]
Update autoloads.

13 years agomerge trunk
Kenichi Handa [Fri, 28 Jan 2011 12:36:18 +0000 (21:36 +0900)]
merge trunk

13 years ago(ftfont_spec_pattern): Check each extra property value.
Kenichi Handa [Fri, 28 Jan 2011 12:31:39 +0000 (21:31 +0900)]
(ftfont_spec_pattern): Check each extra property value.

13 years agognus-group.el (gnus-group-jump-to-group): Set must match to t.
Julien Danjou [Fri, 28 Jan 2011 11:27:24 +0000 (11:27 +0000)]
gnus-group.el (gnus-group-jump-to-group): Set must match to t.

13 years ago* src/xdisp.c (safe_eval_handler): Distinguish symbols and strings.
Stefan Monnier [Fri, 28 Jan 2011 04:53:17 +0000 (23:53 -0500)]
* src/xdisp.c (safe_eval_handler): Distinguish symbols and strings.

13 years agognus-int.el (gnus-request-marks): Call *-request-marks instead of the older request...
Lars Ingebrigtsen [Fri, 28 Jan 2011 02:07:48 +0000 (02:07 +0000)]
gnus-int.el (gnus-request-marks): Call *-request-marks instead of the older request-update-info.

13 years agoMerge: Redo spelling of Makefile variables to conform to POSIX.
Paul Eggert [Fri, 28 Jan 2011 01:53:06 +0000 (17:53 -0800)]
Merge: Redo spelling of Makefile variables to conform to POSIX.

13 years agoRedo spelling of Makefile variables to conform to POSIX.
Paul Eggert [Fri, 28 Jan 2011 01:51:41 +0000 (17:51 -0800)]
Redo spelling of Makefile variables to conform to POSIX.

13 years agognus-art.el (article-make-date-line): Limit the length a bit more.
Lars Ingebrigtsen [Fri, 28 Jan 2011 01:41:15 +0000 (01:41 +0000)]
gnus-art.el (article-make-date-line): Limit the length a bit more.
gnus.texi (Article Date): Document gnus-article-update-lapsed-header.

13 years agomml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Give mml2015-signers higher prece...
Daiki Ueno [Fri, 28 Jan 2011 01:34:09 +0000 (01:34 +0000)]
mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Give mml2015-signers higher precedence over mml2015-sign-with-sender.

13 years agoMerge: improve fix for MS-DOS file name clash
Paul Eggert [Fri, 28 Jan 2011 00:26:43 +0000 (16:26 -0800)]
Merge: improve fix for MS-DOS file name clash

13 years agoimprove fix for MS-DOS file name clash
Paul Eggert [Fri, 28 Jan 2011 00:25:24 +0000 (16:25 -0800)]
improve fix for MS-DOS file name clash

* Makefile.in (DOS_gnulib_comp.m4): Renamed from DOS-gnulib-comp.m4,
for portability to POSIX make.  Reported by Bruno Haible.
(sync-from-gnulib): Copy gl-comp.m4 (if present) back to
gnulib-comp.m4 before running gnulib-tool, to prevent old gnulib
files from accumulating as garbage.  Also reported by Bruno Haible.

13 years agognus-group.el (gnus-group-refresh-group): Refresh even non-visible groups. This...
Gnus developers [Fri, 28 Jan 2011 00:14:08 +0000 (00:14 +0000)]
gnus-group.el (gnus-group-refresh-group): Refresh even non-visible groups.  This makes the nndraft:queue group pop up if it's not already there.
mml2015.el (mml2015-epg-sign): Add missing paren.

13 years agognus-sum.el (gnus-summary-read-group-1): Fix the "contains no messages" logic, which...
Lars Ingebrigtsen [Thu, 27 Jan 2011 23:56:27 +0000 (23:56 +0000)]
gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no messages" logic, which was reversed.

13 years agoConvert font parse testsuite to an ERT test.
Chong Yidong [Thu, 27 Jan 2011 23:45:04 +0000 (18:45 -0500)]
Convert font parse testsuite to an ERT test.

* test/automated/font-parse-tests.el: Move from
font-parse-testsuite.el.

* src/font.c (font_parse_fcname): Undefine a temporary macro.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 27 Jan 2011 23:42:38 +0000 (23:42 +0000)]
Merge changes made in Gnus trunk.

mml2015.el (mml2015-epg-sign): Add and use mml2015-sign-with-sender.
 (mml2015-epg-encrypt): Use mml2015-sign-with-sender.
gnus-art.el (article-update-date-lapsed): Ensure that point stays at the "same place" even if point is on the line being replaced.
 (article-update-date-lapsed): Allow updating both the combined lapsed and the lapsed headers.
 (article-update-date-lapsed): Skip past all the X-Sent/Date headers.
 (article-make-date-line): Limit the number of segments dynamically to avoid too-long lines.

13 years agoEdit NEWS entries about selection changes.
Chong Yidong [Thu, 27 Jan 2011 21:41:47 +0000 (16:41 -0500)]
Edit NEWS entries about selection changes.

13 years ago* lisp/midnight.el (clean-buffer-list-kill-never-buffer-names): Remove
Sam Steingold [Thu, 27 Jan 2011 19:45:44 +0000 (14:45 -0500)]
* lisp/midnight.el (clean-buffer-list-kill-never-buffer-names): Remove
"*server*" which is never created by emacs server.

13 years ago* vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
Deniz Dogan [Thu, 27 Jan 2011 17:51:06 +0000 (18:51 +0100)]
* vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
there are some diff switches.

13 years ago* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Stefan Monnier [Thu, 27 Jan 2011 17:07:48 +0000 (12:07 -0500)]
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Copy change made to ruby-font-lock-syntactic-keywords.

13 years ago* lisp/htmlfontify.el: Make it obey the font-lock-face text property.
Stefan Monnier [Thu, 27 Jan 2011 17:04:07 +0000 (12:04 -0500)]
* lisp/htmlfontify.el: Make it obey the font-lock-face text property.
Miscellaneous cleanup such as:
- Don't hide expressions after a closing paren.
- Move initial setq into let.
- Hoist common parts out of ifs.
(hfy-p-to-face, hfy-p-to-face-lennart): Remove.
(hfy-face-at): Use get-text-property instead.
(hfy-prop-invisible-p): Use invisible-p if available.
(htmlfontify-manual): Use \\[...].
(hfy-html-quote-regex): Use [...].
(hfy-combined-face-spec): Simplify.
(hfy-compile-face-map): Don't presume point-min==1.
(hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
match end of string.
(hfy-text-p): η-reduce.
(hfy-tags-for-file): Receive cache-hash directly.
(hfy-mark-tag-names): Adjust call.

13 years agoshr.el (shr-expand-newlines, shr-previous-newline-padding-width): Use plist-get inste...
Katsumi Yamaoka [Thu, 27 Jan 2011 13:20:55 +0000 (13:20 +0000)]
shr.el (shr-expand-newlines, shr-previous-newline-padding-width): Use plist-get instead of the cl function getf.

13 years agoshr.el (shr-put-color): Special-case background colours: Do put them at the blank...
Lars Ingebrigtsen [Thu, 27 Jan 2011 10:27:51 +0000 (10:27 +0000)]
shr.el (shr-put-color): Special-case background colours: Do put them at the blank parts at the front of the lines.

13 years ago* lisp/gnus/gnus-util.el (float-time): Get rid of compiler warning, again.
Glenn Morris [Thu, 27 Jan 2011 08:38:43 +0000 (00:38 -0800)]
* lisp/gnus/gnus-util.el (float-time): Get rid of compiler warning, again.

13 years agomsb.el trivia.
Glenn Morris [Thu, 27 Jan 2011 07:54:04 +0000 (23:54 -0800)]
msb.el trivia.

* lisp/msb.el (msb-after-load-hooks): Make it an obsolete alias.
(msb-after-load-hook): Remove eval-after-load wackiness.

13 years agoMerge: fix two m4/gnulib-*.m4 file names that clashed under MS-DOS
Paul Eggert [Thu, 27 Jan 2011 07:27:41 +0000 (23:27 -0800)]
Merge: fix two m4/gnulib-*.m4 file names that clashed under MS-DOS

13 years agofix two m4/gnulib-*.m4 file names that clashed under MS-DOS
Paul Eggert [Thu, 27 Jan 2011 07:24:57 +0000 (23:24 -0800)]
fix two m4/gnulib-*.m4 file names that clashed under MS-DOS

13 years agoMark tiny change in ChangeLog.
Glenn Morris [Thu, 27 Jan 2011 07:19:26 +0000 (23:19 -0800)]
Mark tiny change in ChangeLog.

13 years agoMerge changes made in Gnus trunk.
Lars Ingebrigtsen [Thu, 27 Jan 2011 04:04:58 +0000 (04:04 +0000)]
Merge changes made in Gnus trunk.

gnus-art.el (gnus-article-next-page): Change last-line-displayed behaviour.
 (article-lapsed-string): Refactor out and allow specifying how many segments you want.
 (gnus-article-setup-buffer): Start updating the lapsed header directly.
 (gnus-article-update-lapsed-header): New variable.
shr.el (shr-put-color): Don't do the box padding in tables, since they're already padded.
gnus-util.el (float-time): If float-time is bound, always use it on all Emacsen.  It's unclear why the subrp check was there.
 (time-date): Require to make some autoload issues on XEmacs go away.
gnus-draft.el (gnus-draft-clear-marks): New function to be run as an exit hook to nix out all data on readedness on group exit.
gnus-sum.el (gnus-auto-select-subject): Doc typo.

13 years agoLet the debugger continue to the normal handler.
Stefan Monnier [Wed, 26 Jan 2011 20:02:07 +0000 (15:02 -0500)]
Let the debugger continue to the normal handler.
* src/eval.c (maybe_call_debugger): Declare before new use.
(find_handler_clause): Don't call debugger any more.
Ignore Vstack_trace_on_error.
Use XCAR/XCDR.
(syms_of_eval): Remove Vstack_trace_on_error.
(Fsignal): Only modify handlerlist when we know we need to do it.
Call the debugger when necessary.
* src/globals.h (Vstack_trace_on_error): Remove.

Fixes: debbugs:7825
13 years ago* src/font.c (font_parse_fcname): Rewrite GTK font name parser.
Chong Yidong [Wed, 26 Jan 2011 18:10:04 +0000 (13:10 -0500)]
* src/font.c (font_parse_fcname): Rewrite GTK font name parser.

* test/font-parse-testsuite.el (test-font-parse-data): New file.

13 years agoshr.el: Revert change that made headings use different-sized faces. The Emacs displa...
Lars Ingebrigtsen [Wed, 26 Jan 2011 10:25:18 +0000 (10:25 +0000)]
shr.el: Revert change that made headings use different-sized faces.  The Emacs display engine isn't advanced enough that, for instance, tables can comfortably use differntly-sized faces.

13 years agoRefill some long/short copyright headers.
Glenn Morris [Wed, 26 Jan 2011 08:36:39 +0000 (00:36 -0800)]
Refill some long/short copyright headers.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Tue, 25 Jan 2011 23:51:40 +0000 (23:51 +0000)]
Merge changes made in Gnus trunk.

mm-view.el (mm-display-shell-script-inline): Fix typo in docstring.
 (mm-display-javascript-inline): New function.
mm-decode.el (mm-inline-media-tests): Add application/javascript viewing function.
nnimap.el (nnimap-open-connection-1): Store the actual stream type used.
 (nnimap-login): Prefer plain LOGIN if it's enabled (since it requires fewer round trips than CRAM-MD5, and it's less likely to be buggy), and we're using an encrypted connection.
proto-stream.el: Alter the interface functions to also return the actual stream type used: network or tls.

13 years agoUndo part of previous copyright.el change.
Glenn Morris [Tue, 25 Jan 2011 17:41:28 +0000 (09:41 -0800)]
Undo part of previous copyright.el change.

* lisp/emacs-lisp/copyright.el (copyright-update-directory):
Undo part of previous change - don't find files literally, we need
comment-start-skip, etc.

13 years ago* lisp/vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
Sam Steingold [Tue, 25 Jan 2011 16:01:53 +0000 (11:01 -0500)]
* lisp/vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
literal "diff" (important for windows-nt).

13 years agoshr.el (shr-expand-newlines): Fix variable name.
Katsumi Yamaoka [Tue, 25 Jan 2011 10:36:00 +0000 (10:36 +0000)]
shr.el (shr-expand-newlines): Fix variable name.

13 years agoshr.el (shr-expand-newlines): Make nested boxes work.
Lars Ingebrigtsen [Tue, 25 Jan 2011 08:42:32 +0000 (08:42 +0000)]
shr.el (shr-expand-newlines): Make nested boxes work.

13 years agocopyright.el updates.
Glenn Morris [Tue, 25 Jan 2011 08:36:34 +0000 (00:36 -0800)]
copyright.el updates.

* lisp/emacs-lisp/copyright.el (copyright-at-end-flag)
(copyright-names-regexp): Add safety properties.
(copyright-year-ranges): New option.
(copyright-find-end): New function, split from copyright-update-year.
(copyright-update-year): Use copyright-find-end.
(copyright-fix-years): Optionally, convert years to ranges.
Handle years continued over comment lines.
Do not mess with the fill-prefix.
Do not call copyright-update.
(copyright-update-directory): Optionally, fix years rather than update.
Skip directories.  Find files literally, with only safe local vars.

* etc/NEWS: Mention copyright-fix-years and ranges.

13 years agoMake it easier to control which revisions bzrmerge might skip.
Glenn Morris [Tue, 25 Jan 2011 05:10:02 +0000 (21:10 -0800)]
Make it easier to control which revisions bzrmerge might skip.

* admin/bzrmerge.el (bzrmerge-skip-regexp): New variable.
(bzrmerge-missing): Use it.

13 years agoConvert consecutive FSF copyright years to ranges.
Glenn Morris [Tue, 25 Jan 2011 04:08:28 +0000 (20:08 -0800)]
Convert consecutive FSF copyright years to ranges.

13 years ago* README: Add a note about ranges in copyright years.
Glenn Morris [Tue, 25 Jan 2011 04:03:31 +0000 (20:03 -0800)]
* README: Add a note about ranges in copyright years.

(See current maintain.info.)

13 years ago* configure.in: Set CANNOT_DUMP on ia64 hpux (port from emacs-23).
Glenn Morris [Tue, 25 Jan 2011 03:55:12 +0000 (19:55 -0800)]
* configure.in: Set CANNOT_DUMP on ia64 hpux (port from emacs-23).

13 years agoMerge from emacs-23.
Glenn Morris [Tue, 25 Jan 2011 03:47:47 +0000 (19:47 -0800)]
Merge from emacs-23.

Note setting of CANNOT_DUMP on ia64 hpux is still to be merged manually.

13 years agoChangeLog fix: there was no change to ruby-expr-beg.
Glenn Morris [Tue, 25 Jan 2011 03:13:02 +0000 (19:13 -0800)]
ChangeLog fix: there was no change to ruby-expr-beg.

13 years ago* lisp/comint.el (comint-mode): Doc fix. (Bug#7897)
Glenn Morris [Tue, 25 Jan 2011 02:56:03 +0000 (18:56 -0800)]
* lisp/comint.el (comint-mode): Doc fix.  (Bug#7897)

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Mon, 24 Jan 2011 23:38:05 +0000 (23:38 +0000)]
Merge changes made in Gnus trunk.

shr.el: Use defface to create shr-tag-h[1-6] faces to fontify h[1-6] tags.
mml-smime.el (mml-smime-use): Make it a defcustom and default to 'epg if EPG is loaded.
message.texi (IDNA): Explain what it is.
gnus.texi (The Empty Backend): Document nnnil (bug #7653).
gnus-agent.el (gnus-agent-prompt-send-queue): Whitespace fix.
shr.el (shr-expand-newlines): Proof of concept implemantation of boxy backgrounds.
 (shr-expand-newlines): Switch to using overlays to enable kill'n'yank in a more sensible manner.

13 years ago* xdisp.c (handle_fontified_prop): Be careful with font-lock changing
Stefan Monnier [Mon, 24 Jan 2011 22:05:52 +0000 (17:05 -0500)]
* xdisp.c (handle_fontified_prop): Be careful with font-lock changing
the buffer's point-max.

Fixes: debbugs:7876
13 years ago* files.el (file-name-non-special): Only change buffer-file-name after
Stefan Monnier [Mon, 24 Jan 2011 20:34:44 +0000 (15:34 -0500)]
* files.el (file-name-non-special): Only change buffer-file-name after
insert-file-contents if it's `visit'ing the file.

Fixes: debbugs:7854
13 years ago* lisp/progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
Stefan Monnier [Mon, 24 Jan 2011 20:10:04 +0000 (15:10 -0500)]
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
Don't move backward, so as not to fall in an inf-loop.

Fixes: debbugs:7736
13 years ago* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Stefan Monnier [Mon, 24 Jan 2011 19:47:46 +0000 (14:47 -0500)]
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Handle ?" and friends differently (e.g. don't use backrefs).

Fixes: debbugs:7735
13 years agoAdding missing ChangeLog entry for rcirc.el change.
Deniz Dogan [Mon, 24 Jan 2011 19:03:23 +0000 (20:03 +0100)]
Adding missing ChangeLog entry for rcirc.el change.

13 years ago* lisp/gnus/nnbabyl: Fix typo in copyright years.
Glenn Morris [Mon, 24 Jan 2011 07:45:22 +0000 (23:45 -0800)]
* lisp/gnus/nnbabyl: Fix typo in copyright years.

13 years ago* calc/calc.el (calc-default-power-reference-level)
Jay Belanger [Mon, 24 Jan 2011 05:08:04 +0000 (23:08 -0600)]
* calc/calc.el (calc-default-power-reference-level)
(calc-default-field-reference-level): New variables.
* calc/calc-units.el (math-standard-units):  Add dB and Np.
(math-logunits): New variable.
(math-extract-logunits, math-logcombine, calcFunc-luplus)
(calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
(calcFunc-fieldlevel, calcFunc-powerlevel, calc-level): New
functions.
(math-find-base-units-rec): Add entry for ln(10).
* calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
(calc-ul-prefix-help): New function.
* calc/calc-ext.el (calc-init-extensions): Autoload new units
functions. Add keybindings for new units functions.

13 years agoMerge: Remove HAVE_RAW_DECL_CHOWN etc. from config.h
Paul Eggert [Mon, 24 Jan 2011 04:55:10 +0000 (20:55 -0800)]
Merge: Remove HAVE_RAW_DECL_CHOWN etc. from config.h

13 years agoRemove HAVE_RAW_DECL_CHOWN etc. from config.h
Paul Eggert [Mon, 24 Jan 2011 04:53:39 +0000 (20:53 -0800)]
Remove HAVE_RAW_DECL_CHOWN etc. from config.h

13 years agognus-html.el (gnus-html-image-fetched): Don't kill the temporary buffer after being...
Lars Ingebrigtsen [Mon, 24 Jan 2011 04:10:19 +0000 (04:10 +0000)]
gnus-html.el (gnus-html-image-fetched): Don't kill the temporary buffer after being called.  It's apparently being killed by url.el, and killing it made point move to end-of-buffer in a random buffer.
shr.el (shr-image-fetched): Ditto.
shr.el (shr-image-fetched): Avoid having point move in the article buffer.
gnus-html.el (gnus-html-image-fetched): Kill the buffer anyway, and fix the bug in url-http.el instead.
shr.el (shr-image-fetched): Ditto.
gravatar.el (gravatar-retrieve): Be silent when retrieving.
gnus-gravatar.el (gnus-gravatar-insert): Don't move point around in the article buffer.
 (gnus-gravatar-insert): Use blank space from the current buffer to avoid breaking text properties.  This makes X-Sent updating work again.
gnus-art.el (gnus-article-read-summary-keys): Don't call disabled commands.

13 years agoBackport copyright fix from trunk.
Glenn Morris [Mon, 24 Jan 2011 02:22:54 +0000 (18:22 -0800)]
Backport copyright fix from trunk.

* lisp/mwheel.el: Fix typo in copyright years.
Duplicate 2002 introduced in CVS r1.35.
2003 is a copyrightable year since Emacs 21.3 was released then.

13 years ago* lisp/mwheel.el: Fix typo in copyright years.
Glenn Morris [Mon, 24 Jan 2011 02:20:34 +0000 (18:20 -0800)]
* lisp/mwheel.el: Fix typo in copyright years.
Duplicate 2002 introduced in CVS r1.35.
2003 is a copyrightable year since Emacs 21.3 was released then.

13 years ago* etc/images/README: Add 2011 to copyright years for (un)checked.xpm.
Glenn Morris [Mon, 24 Jan 2011 01:30:35 +0000 (17:30 -0800)]
* etc/images/README: Add 2011 to copyright years for (un)checked.xpm.

13 years ago* movemail.c (main): Use setregid, as setegid is missing on HP-UX (Bug#6811).
Chong Yidong [Sun, 23 Jan 2011 22:58:52 +0000 (17:58 -0500)]
* movemail.c (main): Use setregid, as setegid is missing on HP-UX (Bug#6811).
Suggested by Peter O'Gorman.

13 years ago* lisp.h (XPNTR): Obey DATA_SEG_BITS in all non-USE_LSB_TAG cases (Bug#6811).
Chong Yidong [Sun, 23 Jan 2011 22:38:13 +0000 (17:38 -0500)]
* lisp.h (XPNTR): Obey DATA_SEG_BITS in all non-USE_LSB_TAG cases (Bug#6811).
Remove unused HAVE_SHM branch.

13 years agoTwo more hunks from the HP-UX patch at Bug#6811.
Peter O'Gorman [Sun, 23 Jan 2011 22:00:22 +0000 (17:00 -0500)]
Two more hunks from the HP-UX patch at Bug#6811.

* configure.in: Add HP-UX on IA64 (Bug#6811).
* src/s/hpux11.h: Set CANNOT_DUMP on IA64 (Bug#6811).

13 years ago* lwlib-Xm.c (xm_update_menu): Avoid a NULL pointer dereference (Bug#7690).
Werner Meisner [Sun, 23 Jan 2011 21:39:37 +0000 (16:39 -0500)]
* lwlib-Xm.c (xm_update_menu): Avoid a NULL pointer dereference (Bug#7690).

13 years ago* loading.texi (Library Search): Document list-load-path-shadows (Bug#7757).
Chong Yidong [Sun, 23 Jan 2011 20:34:12 +0000 (15:34 -0500)]
* loading.texi (Library Search): Document list-load-path-shadows (Bug#7757).

13 years ago* dired.el (dired-revert): Doc fix (Bug#7758).
Chong Yidong [Sun, 23 Jan 2011 20:06:51 +0000 (15:06 -0500)]
* dired.el (dired-revert): Doc fix (Bug#7758).

13 years ago* nsterm.m (x_set_offset): Set dont_constrain to 0 so the call to
Jan Djärv [Sun, 23 Jan 2011 13:28:14 +0000 (14:28 +0100)]
* nsterm.m (x_set_offset): Set dont_constrain to 0 so the call to
setFrameTopLeftPoint is constrained.

13 years agomm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
Julien Danjou [Sun, 23 Jan 2011 11:21:04 +0000 (11:21 +0000)]
mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
mm-uu.el (mm-uu-org-src-code-block-extract): Change text/org to text/x-org.

13 years agoImprove configuration of makeinfo.
Werner LEMBERG [Sun, 23 Jan 2011 10:38:14 +0000 (11:38 +0100)]
Improve configuration of makeinfo.

* Makefile.in (MAKEINFO): Now controlled by `configure'.
(MAKEINFO_OPTS): New variable.  Use it where appropriate.
(ENVADD): Updated.

13 years agoImprove configuration of makeinfo.
Werner LEMBERG [Sun, 23 Jan 2011 10:31:21 +0000 (11:31 +0100)]
Improve configuration of makeinfo.

* Makefile.in (MAKEINFO): Now controlled by `configure'.
(MAKEINFO_OPTS): New variable.  Use it where appropriate.
(ENVADD): New variable to control texi2dvi and texi2pdf.