]> git.eshelyaron.com Git - emacs.git/log
emacs.git
13 years agoAuto-commit of loaddefs files.
Glenn Morris [Wed, 1 Jun 2011 10:19:26 +0000 (06:19 -0400)]
Auto-commit of loaddefs files.

13 years agoFix last change on rcirc-print and rcirc-decode-coding-system
Leo Liu [Wed, 1 Jun 2011 08:10:42 +0000 (16:10 +0800)]
Fix last change on rcirc-print and rcirc-decode-coding-system

13 years agoUse derived-mode-p in previous change.
Glenn Morris [Wed, 1 Jun 2011 03:50:20 +0000 (20:50 -0700)]
Use derived-mode-p in previous change.

13 years ago* lisp/mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
Glenn Morris [Wed, 1 Jun 2011 03:35:49 +0000 (20:35 -0700)]
* lisp/mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.

13 years agoUpdate.
Katsumi Yamaoka [Wed, 1 Jun 2011 00:22:55 +0000 (00:22 +0000)]
Update.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Tue, 31 May 2011 22:08:51 +0000 (22:08 +0000)]
Merge changes made in Gnus trunk.

gnus.texi (Store custom flags and keywords): Refer to `gnus-registry-article-marks-to-{chars,names}' instead of `gnus-registry-user-format-function-{M,M2}'.
shr.el (shr-rescale-image): Add an :ascent of 100 to images so that the underline comes at the bottom.
gnus-registry.el (gnus-registry-article-marks-to-chars): Rename from `gnus-registry-user-format-function-M' and declare the latter obsolete.
 (gnus-registry-article-marks-to-names): Rename from `gnus-registry-user-format-function-M2'.
shr.el (shr-browse-image): Copy the URL if called interactively.

13 years ago* lisp/minibuffer.el (complete-with-action): Return nil for the metadata and
Stefan Monnier [Tue, 31 May 2011 21:40:30 +0000 (18:40 -0300)]
* lisp/minibuffer.el (complete-with-action): Return nil for the metadata and
boundaries of non-functional tables.
(completion-table-dynamic): Return nil for the metadata.
(completion-table-with-terminator): Add default case, using
complete-with-action.
(completion--metadata): New function.
(completion-all-sorted-completions, minibuffer-completion-help): Use it
to try and avoid pathological performance problems.
(completion--embedded-envvar-table): Return `category' metadata.

13 years ago(url-queue-parallel-processes): Increase the default to 6, since 2 seems too conserva...
Lars Magne Ingebrigtsen [Tue, 31 May 2011 20:58:01 +0000 (22:58 +0200)]
(url-queue-parallel-processes): Increase the default to 6, since 2 seems too conservative for normal usage.

13 years agoAdd the tiny convenience function `process-alive-p'.
Lars Magne Ingebrigtsen [Tue, 31 May 2011 18:40:00 +0000 (20:40 +0200)]
Add the tiny convenience function `process-alive-p'.

13 years agosrc/makefile.w32-in: Update dependencies.
Juanma Barranquero [Tue, 31 May 2011 17:03:24 +0000 (19:03 +0200)]
src/makefile.w32-in: Update dependencies.

13 years agolib/getopt_.h: Regenerate.
Juanma Barranquero [Tue, 31 May 2011 16:09:59 +0000 (18:09 +0200)]
lib/getopt_.h: Regenerate.

13 years ago* lisp/emacs-lisp/debug.el (debug): Save&restore not just the buffer's
Stefan Monnier [Tue, 31 May 2011 15:41:14 +0000 (12:41 -0300)]
* lisp/emacs-lisp/debug.el (debug): Save&restore not just the buffer's
content but also its previous major mode.

13 years ago* debug.el (debug): Restore the previous content of the
Helmut Eller [Tue, 31 May 2011 15:24:33 +0000 (12:24 -0300)]
* debug.el (debug): Restore the previous content of the
*Backtrace* buffer when we exit with C-M-c.

13 years ago* src/data.c (init_data): Remove code for UTS, this system is not
Dan Nicolaescu [Tue, 31 May 2011 14:57:53 +0000 (07:57 -0700)]
* src/data.c (init_data): Remove code for UTS, this system is not
supported anymore.

13 years agoDon't force ./temacs to start in terminal mode.
Dan Nicolaescu [Tue, 31 May 2011 14:52:10 +0000 (07:52 -0700)]
Don't force ./temacs to start in terminal mode.

* frame.c (make_initial_frame): Initialize faces in all cases, not
only when CANNOT_DUMP is defined.
* dispnew.c (init_display): Remove CANNOT_DUMP condition.

13 years agoUse const for a string pointer.
Dan Nicolaescu [Tue, 31 May 2011 14:44:16 +0000 (07:44 -0700)]
Use const for a string pointer.

* src/dispnew.c (add_window_display_history): Use const for the string
pointer.  Remove declaration, not needed.

13 years ago* url-future.el: Add general futures facility.
Ted Zlatanov [Tue, 31 May 2011 10:47:22 +0000 (05:47 -0500)]
* url-future.el: Add general futures facility.

13 years agognus-sum.el (gnus-summary-exit): Make sure to kill article buffer in ephemeral group.
Katsumi Yamaoka [Tue, 31 May 2011 10:37:35 +0000 (10:37 +0000)]
gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in ephemeral group.

13 years agoAuto-commit of generated files.
Glenn Morris [Tue, 31 May 2011 10:19:08 +0000 (06:19 -0400)]
Auto-commit of generated files.

13 years ago* ccl.c: Improve comment. (Bug#8751)
Paul Eggert [Tue, 31 May 2011 05:38:59 +0000 (22:38 -0700)]
* ccl.c: Improve comment.  (Bug#8751)

13 years agoUse 'inline', not 'INLINE'.
Paul Eggert [Tue, 31 May 2011 05:34:40 +0000 (22:34 -0700)]
Use 'inline', not 'INLINE'.

[ChangeLog]
* configure.in (INLINE): Remove.
[lib-src/ChangeLog]
* etags.c (hash): Now inline unconditionally.
* make-docfile.c (put_char): inline, not INLINE.
[nt/ChangeLog]
* config.nt (INLINE): Remove.
[src/ChangeLog]
<http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00914.html>
* alloc.c, fontset.c (INLINE): Remove.
* alloc.c, bidi.c, charset.c, coding.c, dispnew.c, fns.c, image.c:
* intervals.c, keyboard.c, process.c, syntax.c, textprop.c, w32term.c:
* xdisp.c, xfaces.c, xterm.c: Replace all uses of INLINE with inline.
* gmalloc.c (register_heapinfo): Use inline unconditionally.
* lisp.h (LISP_MAKE_RVALUE): Use inline, not __inline__.

13 years agoMerge from trunk.
Paul Eggert [Tue, 31 May 2011 05:24:53 +0000 (22:24 -0700)]
Merge from trunk.

13 years agoMerge from trunk.
Paul Eggert [Tue, 31 May 2011 05:15:34 +0000 (22:15 -0700)]
Merge from trunk.

13 years agoMake it possible to run ./temacs.
Dan Nicolaescu [Tue, 31 May 2011 05:12:19 +0000 (22:12 -0700)]
Make it possible to run ./temacs.

* callproc.c (set_initial_environment): Remove CANNOT_DUMP code,
syms_of_callproc does the same thing.  Remove test for
"initialized", do it in the caller.
* emacs.c (main): Avoid calling set_initial_environment when dumping.

13 years ago* lisp/minibuffer.el: Add metadata method to completion tables.
Stefan Monnier [Tue, 31 May 2011 03:03:38 +0000 (00:03 -0300)]
* lisp/minibuffer.el: Add metadata method to completion tables.
(completion-category-overrides): New defcustom.
(completion-metadata, completion--field-metadata)
(completion-metadata-get, completion--styles)
(completion--cycle-threshold): New functions.
(completion-try-completion, completion-all-completions):
Add `metadata' argument to choose completion-styles.
(completion--do-completion): Use metadata to choose cycling.
(completion-all-sorted-completions): Use metadata for sorting.
Remove :completion-cycle-penalty which is not needed any more.
(completion--try-word-completion): Add `metadata' argument.
(minibuffer-completion-help): Check metadata for annotation function
and sorting.
(completion-file-name-table): Return `category' metadata.
(minibuffer-completing-file-name): Make obsolete.
* lisp/simple.el (minibuffer-completing-symbol): Make obsolete.
* lisp/icomplete.el (icomplete-completions): Pass new `metadata' param to
completion-try-completion.
* src/minibuf.c (Finternal_complete_buffer): Return `category' metadata.
(read_minibuf): Use get_minibuffer.
(syms_of_minibuf): Use DEFSYM.
(Qmetadata): New var.
* src/data.c (Qbuffer): Don't make it static.
(syms_of_data): Use DEFSYM.

13 years ago* ccl.c (CCL_CODE_RANGE): Allow negative numbers. (Bug#8751)
Paul Eggert [Tue, 31 May 2011 02:12:01 +0000 (19:12 -0700)]
* ccl.c (CCL_CODE_RANGE): Allow negative numbers.  (Bug#8751)

(CCL_CODE_MIN): New macro.

13 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Mon, 30 May 2011 22:11:52 +0000 (22:11 +0000)]
Merge changes made in Gnus trunk.

gnus-group.el (gnus-group-mark-article-read): It's possible that we want to have `gnus-newsgroup-unselected' kept sorted.  If this isn't done, then unselected articles may be marked as read.
pop3.el (pop3-open-server): Erase the buffer after the greeting, since not doing this seems to lead to a race condition in pop3-logon.
nnvirtual.el (nnvirtual-request-article): Bind `gnus-command-method' so that the call chain it correct when we call "upwards".
gnus-sum.el (gnus-select-newsgroup): Auto-expiry doesn't make sense in read-only groups.
gnus-group.el (gnus-group-mark-article-read): Ditto.
message.el (message-cite-reply-position): Doc string fix.
nnimap.el (nnimap-transform-headers): Simplify regexp to hopefully avoid regexp overflow.
 (nnimap-transform-split-mail): Ditto.
pop3.el (pop3-retr): Error out if the server closes the connection.

13 years ago* lisp/mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
Stefan Monnier [Mon, 30 May 2011 17:23:47 +0000 (14:23 -0300)]
* lisp/mail/smtpmail.el (smtpmail-send-data): Add progress reporter.

13 years ago* lisp/gnus/mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designed
Stefan Monnier [Mon, 30 May 2011 17:21:59 +0000 (14:21 -0300)]
* lisp/gnus/mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designed
mm-with-unibyte-current-buffer.  The buffer should not contain any
multibyte chars anyway at this stage.

13 years ago* bytecomp.el (byte-compile-defvar): Add note about quoted lambda.
Stefan Monnier [Mon, 30 May 2011 17:14:19 +0000 (14:14 -0300)]
* bytecomp.el (byte-compile-defvar): Add note about quoted lambda.

13 years ago* leim/quail/ipa-praat.el: New input method.
Oliver Scholz [Mon, 30 May 2011 16:25:33 +0000 (13:25 -0300)]
* leim/quail/ipa-praat.el: New input method.

13 years ago* alloc.c (lisp_align_malloc): Omit unnecessary val==NULL tests.
Paul Eggert [Mon, 30 May 2011 16:09:29 +0000 (09:09 -0700)]
* alloc.c (lisp_align_malloc): Omit unnecessary val==NULL tests.

13 years agoDecode all incoming messages in rcirc.el
Leo Liu [Mon, 30 May 2011 12:23:56 +0000 (20:23 +0800)]
Decode all incoming messages in rcirc.el

Also allow automatic coding system detection if
rcirc-decode-coding-system is nil.

See discussion in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8744

13 years agoUse a visible buffer name for rcirc-debug-buffer
Leo Liu [Mon, 30 May 2011 12:04:44 +0000 (20:04 +0800)]
Use a visible buffer name for rcirc-debug-buffer

13 years agoAuto-commit of generated files.
Glenn Morris [Mon, 30 May 2011 10:18:40 +0000 (06:18 -0400)]
Auto-commit of generated files.

13 years ago* eval.c (Qdebug): Now static.
Paul Eggert [Mon, 30 May 2011 05:39:59 +0000 (22:39 -0700)]
* eval.c (Qdebug): Now static.

* lisp.h (Qdebug): Remove decl.  This reverts a part of the
2011-04-26T11:26:05Z!dan.colascione@gmail.com that inadvertently undid part of
2011-04-14T06:48:41Z!eggert@cs.ucla.edu.

13 years agoMerge from trunk.
Paul Eggert [Mon, 30 May 2011 01:12:12 +0000 (18:12 -0700)]
Merge from trunk.

13 years agoshr.el (shr-urlify): Use shr-add-font to make underlines be less ugly at the end...
Gnus developers [Sun, 29 May 2011 23:28:45 +0000 (23:28 +0000)]
shr.el (shr-urlify): Use shr-add-font to make underlines be less ugly at the end of lines.
smiley.el (gnus-smiley-file-types): Add gif as supported file type.

13 years agoMerge from emacs-23; up to 2010-06-12T11:17:12Z!eliz@gnu.org.
Glenn Morris [Sun, 29 May 2011 22:41:06 +0000 (15:41 -0700)]
Merge from emacs-23; up to 2010-06-12T11:17:12Z!eliz@gnu.org.

13 years agoAdjust to recent gnulib change for @GUARD_PREFIX@.
Paul Eggert [Sun, 29 May 2011 21:52:18 +0000 (14:52 -0700)]
Adjust to recent gnulib change for @GUARD_PREFIX@.

13 years agoFix animated gifs (Bug#6981).
Chong Yidong [Sun, 29 May 2011 21:35:35 +0000 (17:35 -0400)]
Fix animated gifs (Bug#6981).

* lisp/image-mode.el (image-toggle-display-image): Ensure that the
image spec passed to the animate timer is the same object as in
the the buffer's display property.
(image-transform-properties): Doc fix.

* lisp/image.el (image-animate-max-time): Default to nil.

* lisp/image.el (image-animate-max-time): Allow nil and t values.
Default to nil.
(create-animated-image): Doc fix.
(image-animate-start): Remove second arg; just use
image-animate-max-time.
(image-animate-timeout): Doc fix.  Args changed.

13 years agosrc/coding.c: Fix a typo in a comment.
Eli Zaretskii [Sun, 29 May 2011 21:09:52 +0000 (00:09 +0300)]
src/coding.c: Fix a typo in a comment.

13 years ago* menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over entire buffer list...
Martin Rudalics [Sun, 29 May 2011 19:11:23 +0000 (15:11 -0400)]
* menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over entire buffer list (Bug#8184).

13 years agosrc/font.[ch]: Fix typos in comments and strings.
Eli Zaretskii [Sun, 29 May 2011 19:04:01 +0000 (22:04 +0300)]
src/font.[ch]: Fix typos in comments and strings.

13 years agoClarify Remapping Commands node in Lisp manual (Bug#8350).
Chong Yidong [Sun, 29 May 2011 19:00:00 +0000 (15:00 -0400)]
Clarify Remapping Commands node in Lisp manual (Bug#8350).

* keymaps.texi (Remapping Commands): Emphasize that the keymap
needs to be active.

13 years agoDoc fixes for imagemagick support code.
Chong Yidong [Sun, 29 May 2011 18:17:28 +0000 (14:17 -0400)]
Doc fixes for imagemagick support code.

* lisp/image.el (imagemagick-types-inhibit)
(imagemagick-register-types): Doc fix.

* src/image.c: Various fixes to ImageMagick code comments.
(Fimagemagick_types): Doc fix.

13 years agoTweaks to lisp manual to remove over/underflows in printed version.
Chong Yidong [Sun, 29 May 2011 17:18:46 +0000 (13:18 -0400)]
Tweaks to lisp manual to remove over/underflows in printed version.

* help.texi (Accessing Documentation):
* display.texi (Pixel Specification):
* processes.texi (Serial Ports, Serial Ports):
* nonascii.texi (Character Properties, Default Coding Systems):
* text.texi (Changing Properties, Special Properties):
* windows.texi (Window Start and End):
* modes.texi (SMIE Indentation Example, SMIE Tricks):
* keymaps.texi (Searching Keymaps, Tool Bar):
* minibuf.texi (Basic Completion):
* compile.texi (Eval During Compile):
* strings.texi (Formatting Strings): Tweaks to avoid overflowing
7x9 paper in printed manual.

* lists.texi (Sets And Lists): Fix misplaced text.

13 years ago* net/rcirc.el (rcirc): Use the user's stored encryption method by default.
Deniz Dogan [Sun, 29 May 2011 05:42:00 +0000 (07:42 +0200)]
* net/rcirc.el (rcirc): Use the user's stored encryption method by default.

13 years agoMinor fixes prompted by GCC 4.6.0 warnings.
Paul Eggert [Sun, 29 May 2011 05:23:24 +0000 (22:23 -0700)]
Minor fixes prompted by GCC 4.6.0 warnings.

* xselect.c (converted_selections, conversion_fail_tag): Now static.

13 years ago* emacs.c [HAVE_X_WINDOWS]: Include "xterm.h".
Paul Eggert [Sun, 29 May 2011 04:08:28 +0000 (21:08 -0700)]
* emacs.c [HAVE_X_WINDOWS]: Include "xterm.h".

(x_clipboard_manager_save_all): Move extern decl to ...
* xterm.h: ... here, so that it can be checked for consistency.

13 years agoAdd option :named to defstruct in url-cookie.el
Leo Liu [Sun, 29 May 2011 02:45:03 +0000 (10:45 +0800)]
Add option :named to defstruct in url-cookie.el

or url-cookie-p won't be defined.

See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8747 for details.

13 years agoMove clipboard-manager functionality out of hooks.
Chong Yidong [Sun, 29 May 2011 00:45:00 +0000 (20:45 -0400)]
Move clipboard-manager functionality out of hooks.

* lisp/select.el: Don't perform clipboard-manager saving in hooks;
leave the hooks empty.

* src/emacs.c (Fkill_emacs): Call x_clipboard_manager_save_all.
* src/frame.c (delete_frame): Call x_clipboard_manager_save_frame.

* src/xselect.c (x_clipboard_manager_save_frame)
(x_clipboard_manager_save_all): New functions.
(Fx_clipboard_manager_save): Lisp function deleted.

* src/xterm.h: Update prototype.

13 years agoMake first mode-line dash an empty space on graphical terminals (Bug#7295).
Chong Yidong [Sat, 28 May 2011 23:43:11 +0000 (19:43 -0400)]
Make first mode-line dash an empty space on graphical terminals (Bug#7295).

* lisp/bindings.el (help-echo): Make the initial non-indicator dash
empty on graphical terminals.

13 years ago* startup.el (normal-splash-screen): Remove gratuitous mode-line setting (Bug#8740).
Chong Yidong [Sat, 28 May 2011 23:30:17 +0000 (19:30 -0400)]
* startup.el (normal-splash-screen): Remove gratuitous mode-line setting (Bug#8740).

13 years ago* lisp/newcomment.el (comment-end-skip): Doc fix (Bug#8659).
Chong Yidong [Sat, 28 May 2011 23:07:43 +0000 (19:07 -0400)]
* lisp/newcomment.el (comment-end-skip): Doc fix (Bug#8659).

13 years agoNew major mode: Occur Edit mode.
Leo Liu [Sat, 28 May 2011 22:56:14 +0000 (18:56 -0400)]
New major mode: Occur Edit mode.

* lisp/replace.el (occur-menu-map, occur-edit-mode-map): New vars.
(occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
(occur-edit-mode): New major mode (Bug#8463).
(occur-after-change-function): New function.
(occur-engine): Give Occur tags a read-only property.

13 years ago[ChangeLog]
Paul Eggert [Sat, 28 May 2011 22:39:39 +0000 (15:39 -0700)]
[ChangeLog]

Use 'inline', not 'INLINE'.
* configure.in, autogen/config.in (INLINE): Remove.
[lib-src/ChangeLog]
Use 'inline', not 'INLINE'.
* etags.c (hash): Now inline unconditionally.
* make-docfile.c (put_char): inline, not INLINE.
[nt/ChangeLog]
Use 'inline', not 'INLINE'.
* config.nt (INLINE): Remove.
[src/ChangeLog]
Use 'inline', not 'INLINE'.
* alloc.c, fontset.c (INLINE): Remove.
* alloc.c, bidi.c, charset.c, coding.c, dispnew.c, fns.c, image.c:
* intervals.c, keyboard.c, process.c, syntax.c, textprop.c, w32term.c:
* xdisp.c, xfaces.c, xterm.c: Replace all uses of INLINE with inline.
* gmalloc.c (register_heapinfo): Use inline unconditionally.
* lisp.h (LISP_MAKE_RVALUE): Use inline, not __inline__.

13 years agoAdditional minor fix to (Bug#8539).
Alp Aker [Sat, 28 May 2011 20:08:05 +0000 (16:08 -0400)]
Additional minor fix to (Bug#8539).

* lisp/buff-menu.el (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column.

13 years ago* doc/lispref/minibuf.texi (Reading File Names): Clarify (Bug#8480).
Chong Yidong [Sat, 28 May 2011 19:58:43 +0000 (15:58 -0400)]
* doc/lispref/minibuf.texi (Reading File Names): Clarify (Bug#8480).

13 years ago* lisp/subr.el (def-edebug-spec): Doc fix (Bug#8430).
Kevin Ryde [Sat, 28 May 2011 19:36:02 +0000 (15:36 -0400)]
* lisp/subr.el (def-edebug-spec): Doc fix (Bug#8430).

13 years agoTweak auto-mode-alist to handle config.h.in (Bug#8547).
Chong Yidong [Sat, 28 May 2011 19:26:25 +0000 (15:26 -0400)]
Tweak auto-mode-alist to handle config.h.in (Bug#8547).

* lisp/files.el (auto-mode-alist): Move config rule after the
in-stripping one.

13 years agoUse Buffer-menu-buffer-column to replace hard-coded values (Bug#8539).
Alp Aker [Sat, 28 May 2011 19:13:00 +0000 (15:13 -0400)]
Use Buffer-menu-buffer-column to replace hard-coded values (Bug#8539).

* lisp/buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort):
Use Buffer-menu-buffer-column.

13 years agoRemove antediluvian filename limit recommendation from tips.texi (Bug#8538).
Chong Yidong [Sat, 28 May 2011 19:05:36 +0000 (15:05 -0400)]
Remove antediluvian filename limit recommendation from tips.texi (Bug#8538).

* doc/lispref/tips.texi (Coding Conventions): Remove antediluvian filename limit recommendation.

13 years ago* emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
Chong Yidong [Sat, 28 May 2011 18:48:41 +0000 (14:48 -0400)]
* emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).

13 years agoMore fixes to prevent hide-show from being confused by commented-out braces (Bug...
Dima Kogan [Sat, 28 May 2011 18:35:29 +0000 (14:35 -0400)]
More fixes to prevent hide-show from being confused by commented-out braces (Bug#8279).

* progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
(hs-hide-block-at-point, hs-find-block-beginning)
(hs-already-hidden-p, hs-hide-block, hs-show-block): Use it.

13 years agoDocument prog-mode-hook in Emacs manual.
Chong Yidong [Sat, 28 May 2011 18:22:08 +0000 (14:22 -0400)]
Document prog-mode-hook in Emacs manual.

* custom.texi (Hooks): Reorganize.  Mention Prog mode.

* fixit.texi (Spelling): Mention using prog-mode-hook for flypsell
prog mode (Bug#8240).

13 years ago* lisp/startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
Glenn Morris [Sat, 28 May 2011 17:47:45 +0000 (10:47 -0700)]
* lisp/startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)

13 years ago* admin/notes/bzr: Your very own Loggerhead server.
Glenn Morris [Sat, 28 May 2011 17:46:02 +0000 (10:46 -0700)]
* admin/notes/bzr: Your very own Loggerhead server.

13 years agoIn describe-function, print the parent of a derived mode.
Chong Yidong [Sat, 28 May 2011 17:40:37 +0000 (13:40 -0400)]
In describe-function, print the parent of a derived mode.

* lisp/help-fns.el (describe-function-1): If the function is a derived
major mode, print the parent mode.

13 years agoMake CC modes inherit from prog-mode.
Chong Yidong [Sat, 28 May 2011 17:16:54 +0000 (13:16 -0400)]
Make CC modes inherit from prog-mode.

* lisp/progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
(idl-mode, pike-mode, awk-mode): Inherit from prog-mode.

13 years ago* src/nsterm.m (ns_term_shutdown): Synchronize user defaults before exiting (Bug...
William Xu [Sat, 28 May 2011 16:56:53 +0000 (12:56 -0400)]
* src/nsterm.m (ns_term_shutdown): Synchronize user defaults before exiting (Bug#8239).

13 years agosrc/ChangeLog: Fix last entry.
Eli Zaretskii [Sat, 28 May 2011 12:54:28 +0000 (15:54 +0300)]
src/ChangeLog: Fix last entry.

13 years agoavoid a sign-extension bug in crypto_hash_function
Jim Meyering [Sat, 28 May 2011 12:19:08 +0000 (14:19 +0200)]
avoid a sign-extension bug in crypto_hash_function

* fns.c (to_uchar): Define.
(crypto_hash_function): Use it to convert some newly-signed
variables to unsigned, to avoid sign-extension bugs.  For example,
without this change, (md5 "truc") would evaluate to
45723a2aff78ff4fff7fff1114760e62 rather than the expected
45723a2af3788c4ff17f8d1114760e62.  Reported by Antoine Levitt in
http://thread.gmane.org/gmane.emacs.devel/139824

13 years agoAdapt the MSDOS build to introduction of sha1 and other latest changes.
Eli Zaretskii [Sat, 28 May 2011 10:00:09 +0000 (13:00 +0300)]
Adapt the MSDOS build to introduction of sha1 and other latest changes.

 msdos/sed1v2.inp: Edit "make-docfile -d FOO" commands to chdir back to
 src/.  Make editing of RUN_TEMACS commands less sensitive to
 leading whitespace.
 msdos/sedlibmk.inp (gl_LIBOBJS): Add sha1.o.

13 years ago* lisp/minibuffer.el (completion--capf-wrapper): Check applicability before
Stefan Monnier [Sat, 28 May 2011 02:10:32 +0000 (23:10 -0300)]
* lisp/minibuffer.el (completion--capf-wrapper): Check applicability before
retuning non-nil for non-exclusive completion data.
* lisp/progmodes/etags.el (tags-completion-at-point-function):
* lisp/info-look.el (info-lookup-completions-at-point): Mark as non-exclusive.
(info-complete): Adjust accordingly.
* lisp/erc/erc-pcomplete.el (erc-pcompletions-at-point): Mark the completion
data as non-exclusive if it's using the default-completion-function.
(pcomplete-erc-parse-arguments): Rename pcomplete-parse-erc-arguments.
(pcomplete-erc-setup): Use new name.

13 years ago* lisp/info-look.el: Convert to lexical-binding and completion-at-point.
Stefan Monnier [Sat, 28 May 2011 01:33:10 +0000 (22:33 -0300)]
* lisp/info-look.el: Convert to lexical-binding and completion-at-point.
(info-lookup-completions-at-point): New function.
(info-complete): Use it and completion-in-region.

13 years ago* lisp/isearch.el: Let M-e start with point at the first mismatched char.
Drew Adams [Sat, 28 May 2011 01:26:53 +0000 (22:26 -0300)]
* lisp/isearch.el: Let M-e start with point at the first mismatched char.
(isearch-fail-pos): New function.
(isearch-edit-string): Use it.

13 years ago* lisp/isearch.el (isearch-range-invisible): Use invisible-p.
Dmitry Kurochkin [Sat, 28 May 2011 01:14:38 +0000 (22:14 -0300)]
* lisp/isearch.el (isearch-range-invisible): Use invisible-p.

Fixes: debbugs:8721
13 years ago* lisp/emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
Toby Cubitt [Fri, 27 May 2011 23:03:26 +0000 (20:03 -0300)]
* lisp/emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
traversal functions for avl-trees.  Consolidate rebalancing code.

13 years ago* lisp/emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
Toby Cubitt [Fri, 27 May 2011 22:58:29 +0000 (19:58 -0300)]
* lisp/emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
traversal functions for avl-trees.
(avl-tree--stack): New struct.
(avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
(avl-tree-enter): Add optional `updatefun' arg.
(avl-tree--do-enter): Add optional `updatefun' arg.  Change return value.
(avl-tree-delete): Add optional `test' and `nilflag' args.
(avl-tree--do-delete): Add `test' and `nilflag' args.  Change return value.
(avl-tree-member): Add optional `nilflag'
(avl-tree-member-p): New function.
(avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
(avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
(avl-tree-stack-empty-p): New functions.

13 years agosrc/ccl.c: Fix last commit.
Eli Zaretskii [Fri, 27 May 2011 21:24:11 +0000 (00:24 +0300)]
src/ccl.c: Fix last commit.

13 years agoFix order of ChangeLog entries after merge.
Paul Eggert [Fri, 27 May 2011 19:58:54 +0000 (12:58 -0700)]
Fix order of ChangeLog entries after merge.

13 years ago* lisp/emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
Toby Cubitt [Fri, 27 May 2011 19:58:19 +0000 (16:58 -0300)]
* lisp/emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
avl-tree--del-balance1 and make it work both ways.
(avl-tree--del-balance2): Remove.
(avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
make it work both ways.
(avl-tree--enter-balance2): Remove.
(avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
New macros.
(avl-tree--mapc, avl-tree-map): Add direction argument.

13 years agoMerge from trunk.
Paul Eggert [Fri, 27 May 2011 19:56:58 +0000 (12:56 -0700)]
Merge from trunk.

13 years ago* data.c (arith_driver): Omit unnecessary mask and test.
Paul Eggert [Fri, 27 May 2011 19:48:22 +0000 (12:48 -0700)]
* data.c (arith_driver): Omit unnecessary mask and test.

13 years ago* src/xselect.c (x_convert_selection): Yet another int/Lisp_Object mixup.
Stefan Monnier [Fri, 27 May 2011 19:39:18 +0000 (16:39 -0300)]
* src/xselect.c (x_convert_selection): Yet another int/Lisp_Object mixup.

13 years agoMerge: Integer overflow fixes.
Paul Eggert [Fri, 27 May 2011 19:37:32 +0000 (12:37 -0700)]
Merge: Integer overflow fixes.

13 years ago* lisp/files.el (interpreter-mode-alist): Add rbash.
David Michael [Fri, 27 May 2011 19:33:48 +0000 (16:33 -0300)]
* lisp/files.el (interpreter-mode-alist): Add rbash.

Fixes: debbugs:8745
13 years ago* xselect.c: Fix minor problems prompted by GCC 4.6.0 warnings.
Paul Eggert [Fri, 27 May 2011 19:32:01 +0000 (12:32 -0700)]
* xselect.c: Fix minor problems prompted by GCC 4.6.0 warnings.

(x_handle_selection_request, frame_for_x_selection): Remove unused vars.
(x_clipboard_manager_save): Now static.
(Fx_clipboard_manager_save): Rename local to avoid shadowing.

13 years ago* fns.c: Fix minor problems prompted by GCC 4.6.0 warnings.
Paul Eggert [Fri, 27 May 2011 19:30:12 +0000 (12:30 -0700)]
* fns.c: Fix minor problems prompted by GCC 4.6.0 warnings.

(crypto_hash_function): Now static.
Fix pointer signedness problems.  Avoid unnecessary initializations.

13 years ago* doc/misc/texinfo.tex, lib/getopt.c, lib/intprops.h: Merge from gnulib.
Paul Eggert [Fri, 27 May 2011 16:58:43 +0000 (09:58 -0700)]
* doc/misc/texinfo.tex, lib/getopt.c, lib/intprops.h: Merge from gnulib.

13 years agoSupport X clipboard managers.
Chong Yidong [Fri, 27 May 2011 16:17:59 +0000 (12:17 -0400)]
Support X clipboard managers.

* lisp/select.el (xselect-convert-to-targets): Add MULTIPLE target to list.
(xselect-convert-to-save-targets): New function.

* src/xselect.c: Support for clipboard managers.
(Vselection_alist): Move to termhooks.h as terminal-local var.
(LOCAL_SELECTION): New macro.
(x_atom_to_symbol): Handle x_display_info_for_display fail case.
(symbol_to_x_atom): Remove gratuitous arg.
(x_handle_selection_request, lisp_data_to_selection_data)
(x_get_foreign_selection, Fx_register_dnd_atom): Callers changed.
(x_own_selection, x_get_local_selection, x_convert_selection): New
arg, specifying work frame.  Use terminal-local Vselection_alist.
(some_frame_on_display): Delete unused function.
(Fx_own_selection_internal, Fx_get_selection_internal)
(Fx_disown_selection_internal, Fx_selection_owner_p)
(Fx_selection_exists_p): New optional frame arg.
(frame_for_x_selection, Fx_clipboard_manager_save): New functions.
(x_handle_selection_clear): Don't treat other terminals with the
same keyboard specially.  Use the terminal-local Vselection_alist.
(x_clear_frame_selections): Use Frun_hook_with_args.

* src/termhooks.h (Vselection_alist): Make it terminal-local.

* src/terminal.c (create_terminal): Initialize it.

* src/xterm.c (x_term_init): Intern ATOM and CLIPBOARD_MANAGER atoms.

* src/xterm.h: Add support for those atoms.

13 years agoMerge from emacs-23; up to 2010-06-12T10:58:54Z!romain@orebokech.com.
Glenn Morris [Fri, 27 May 2011 07:18:15 +0000 (00:18 -0700)]
Merge from emacs-23; up to 2010-06-12T10:58:54Z!romain@orebokech.com.

13 years agomail/sendmail.el (mail-encode-header): Avoid double encoding by let-binding rfc2047...
Kenichi Handa [Fri, 27 May 2011 04:54:39 +0000 (13:54 +0900)]
mail/sendmail.el (mail-encode-header): Avoid double encoding by let-binding rfc2047-encode-encoded-words to nil.

13 years ago* lisp/mail/emacsbug.el: Don't require url-util.
Glenn Morris [Fri, 27 May 2011 01:58:50 +0000 (21:58 -0400)]
* lisp/mail/emacsbug.el: Don't require url-util.

13 years ago* lisp/shell.el (shell-directory-tracker): Case matters. (Bug#8735)
Glenn Morris [Fri, 27 May 2011 01:54:56 +0000 (21:54 -0400)]
* lisp/shell.el (shell-directory-tracker): Case matters.  (Bug#8735)

13 years agoTweak previous modes.texi change.
Glenn Morris [Fri, 27 May 2011 01:43:15 +0000 (21:43 -0400)]
Tweak previous modes.texi change.

13 years agoMake set-auto-mode respect mode: entries at the end of the file (bug#8586)
Glenn Morris [Fri, 27 May 2011 01:00:53 +0000 (21:00 -0400)]
Make set-auto-mode respect mode: entries at the end of the file (bug#8586)

* lisp/files.el (set-auto-mode):
Also respect mode: entries at the end of the file.

* doc/lispref/modes.texi (Auto Major Mode):
Update for set-auto-mode changes.

* doc/emacs/custom.texi (Specifying File Variables):
Major modes no longer need come first.

* etc/NEWS: Mention this.

13 years agoRepeat previous gnus-group.el change for bugs.debian.org.
Glenn Morris [Fri, 27 May 2011 00:55:07 +0000 (20:55 -0400)]
Repeat previous gnus-group.el change for bugs.debian.org.

* lisp/gnus/gnus-group.el (gnus-bug-group-download-format-alist):
Use the "maintainer" version of debian reports as well.

13 years agosrc/xselect.c (x_handle_selection_request): Fix typo in last change.
Chong Yidong [Thu, 26 May 2011 19:20:59 +0000 (15:20 -0400)]
src/xselect.c (x_handle_selection_request): Fix typo in last change.