]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 years agoMerge from trunk pending
Stefan Monnier [Sun, 25 Mar 2012 20:37:21 +0000 (16:37 -0400)]
Merge from trunk

12 years ago* lisp/newcomment.el (comment-inline-offset): Don't autoload.
Stefan Monnier [Sun, 25 Mar 2012 18:41:06 +0000 (14:41 -0400)]
* lisp/newcomment.el (comment-inline-offset): Don't autoload.
(comment-choose-indent): Obey comment-inline-offset.

12 years ago* lisp/newcomment.el (comment-inline-offset): New custom var.
Philipp Haselwarter [Sun, 25 Mar 2012 18:37:24 +0000 (14:37 -0400)]
* lisp/newcomment.el (comment-inline-offset): New custom var.
(comment-indent): Use it.

Fixes: debbugs:11090
12 years agoFix bug #11073 with bidi-related crashes displaying some byte sequences.
Eli Zaretskii [Fri, 23 Mar 2012 12:32:23 +0000 (14:32 +0200)]
Fix bug #11073 with bidi-related crashes displaying some byte sequences.

 src/bidi.c (bidi_fetch_char): Use STRING_CHAR_AND_LENGTH instead of
 FETCH_MULTIBYTE_CHAR followed by CHAR_BYTES.  Prevents crashes
 when fetching a multibyte character consumes more bytes than
 CHAR_BYTES returns, due to unification of CJK characters in
 string_char.

12 years ago* src/process.c (wait_reading_process_output): Handle pty disconnect
Troels Nielsen [Fri, 23 Mar 2012 12:23:14 +0000 (08:23 -0400)]
* src/process.c (wait_reading_process_output): Handle pty disconnect
by refraining from sending oneself a SIGCHLD.

Fixes: debbugs:10933
12 years agoMerge changes made in No Gnus
Gnus developers [Fri, 23 Mar 2012 11:22:21 +0000 (11:22 +0000)]
Merge changes made in No Gnus

2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * auth-source.el (auth-source-netrc-create): Quote tokens that contain
 "#" to avoid having them interpreted as comments.
2012-03-22  Peder O. Klingenberg  <peder@klingenberg.no>  (tiny change)
 * gnus.texi (Archived Messages): Update `gnus-message-archive-group' to
 reflect the new default.

12 years ago* lisp/newcomment.el (comment-choose-indent): No space after BOL.
Stefan Monnier [Fri, 23 Mar 2012 02:46:31 +0000 (22:46 -0400)]
* lisp/newcomment.el (comment-choose-indent): No space after BOL.

12 years ago* lisp/window.el (switch-to-prev-buffer): Revert last patch because the
Sam Steingold [Thu, 22 Mar 2012 20:49:04 +0000 (16:49 -0400)]
* lisp/window.el (switch-to-prev-buffer): Revert last patch because the
bug turned out to be an advertised feature (Elisp manual 28.14).

12 years agoTweak previous vz-bzr change yet again
Glenn Morris [Thu, 22 Mar 2012 19:57:43 +0000 (15:57 -0400)]
Tweak previous vz-bzr change yet again

12 years agoTweak previous vc-bzr change
Glenn Morris [Thu, 22 Mar 2012 19:17:43 +0000 (15:17 -0400)]
Tweak previous vc-bzr change

12 years agoUse bzr status --no-classify when supported (bug#6724)
Glenn Morris [Thu, 22 Mar 2012 19:06:03 +0000 (15:06 -0400)]
Use bzr status --no-classify when supported (bug#6724)

* lisp/vc/vc-bzr.el (vc-bzr-status-switches): New option.
(vc-bzr-command): If running "status", pass vc-bzr-status-switches.

12 years agoFix starttls-related error message under Windows
Lars Magne Ingebrigtsen [Thu, 22 Mar 2012 18:42:12 +0000 (19:42 +0100)]
Fix starttls-related error message under Windows

* net/network-stream.el (network-stream-open-starttls): Make error
message under Windows be less misleading.

12 years ago* lisp/progmodes/etags.el (etags-list-tags): Only use tags which goto-func
Liang Wang [Thu, 22 Mar 2012 14:46:05 +0000 (10:46 -0400)]
* lisp/progmodes/etags.el (etags-list-tags): Only use tags which goto-func
understands.

Fixes: debbugs:9942
12 years agoFix corner case in end-of-visible-line.
Chong Yidong [Thu, 22 Mar 2012 07:38:05 +0000 (15:38 +0800)]
Fix corner case in end-of-visible-line.

* lisp/simple.el (end-of-visible-line): Handle return value of
next-single-property-change properly.

Fixes: debbugs:9371
12 years agoFor line prefixes, use default face; don't inherit from previous line.
Chong Yidong [Thu, 22 Mar 2012 07:08:17 +0000 (15:08 +0800)]
For line prefixes, use default face; don't inherit from previous line.

* src/dispextern.h (struct it): New member string_from_prefix_prop_p.

* src/xdisp.c (push_prefix_prop): Renamed from push_display_prop.
Mark string as coming from a prefix property.
(handle_face_prop): Use default face for prefix strings.
(pop_it, reseat_1): Save and restore string_from_prefix_prop_p.

Fixes: debbugs:4281
12 years ago* emacs/dired.texi (Operating on Files): Fix dired-recursive-copies default.
Glenn Morris [Thu, 22 Mar 2012 06:47:01 +0000 (23:47 -0700)]
* emacs/dired.texi (Operating on Files): Fix dired-recursive-copies default.

12 years agoDocument string-prefix-p
Glenn Morris [Thu, 22 Mar 2012 06:21:28 +0000 (23:21 -0700)]
Document string-prefix-p

* doc/lispref/strings.texi (Text Comparison): Mention string-prefix-p.
* etc/NEWS: Belated entry.

12 years agomerge trunk
Kenichi Handa [Thu, 22 Mar 2012 04:23:16 +0000 (13:23 +0900)]
merge trunk

12 years agointernational/quail.el (quail-insert-kbd-layout): Fix previous change. To avoid...
Kenichi Handa [Thu, 22 Mar 2012 04:20:07 +0000 (13:20 +0900)]
international/quail.el (quail-insert-kbd-layout): Fix previous change.  To avoid unwanted bidi reordering, use bidi-string-mark-left-to-right instead of inserting LRO and PDF.

12 years ago* lisp/progmodes/ruby-mode.el: Don't confuse "end:" for "end".
Dmitry Gutov [Wed, 21 Mar 2012 18:33:07 +0000 (14:33 -0400)]
* lisp/progmodes/ruby-mode.el: Don't confuse "end:" for "end".
(ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
(ruby-beginning-of-indent): Be more careful with the difference
between word-boundary and symbol boundary.
(ruby-mode-syntax-table): Make : a symbol constituent.

Fixes: debbugs:10786
12 years agoFix last ChangeLog + Andreas Politz has signed paperwork.
Stefan Monnier [Wed, 21 Mar 2012 18:27:05 +0000 (14:27 -0400)]
Fix last ChangeLog + Andreas Politz has signed paperwork.

12 years ago* lisp/outline.el (outline-flag-region): Evaporate overlays.
Stefan Monnier [Wed, 21 Mar 2012 18:21:24 +0000 (14:21 -0400)]
* lisp/outline.el (outline-flag-region): Evaporate overlays.

Fixes: debbugs:10789
12 years ago* progmodes/etags.el (tags-completion-at-point-function): Improve last fix.
Stefan Monnier [Wed, 21 Mar 2012 17:50:28 +0000 (13:50 -0400)]
* progmodes/etags.el (tags-completion-at-point-function): Improve last fix.

12 years ago* lisp/files.el (move-file-to-trash): Files aren't regexps.
Stefan Monnier [Wed, 21 Mar 2012 17:44:55 +0000 (13:44 -0400)]
* lisp/files.el (move-file-to-trash): Files aren't regexps.

Fixes: debbugs:11055
12 years ago* lisp/progmodes/etags.el (tags-completion-at-point-function):
Sam Steingold [Wed, 21 Mar 2012 17:17:23 +0000 (13:17 -0400)]
* lisp/progmodes/etags.el (tags-completion-at-point-function):
Avoid the error when point is inside the pattern.

12 years ago(dired-listing-switches): apparently, "ls -b" is actually supposed to work
Sam Steingold [Wed, 21 Mar 2012 17:15:39 +0000 (13:15 -0400)]
(dired-listing-switches): apparently, "ls -b" is actually supposed to work

12 years ago* progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first line.
John Yates [Wed, 21 Mar 2012 17:02:09 +0000 (01:02 +0800)]
* progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first line.

Fixes: debbugs:10855
12 years ago* info.el (Info-menu): Handle string value of FORK arg.
Chong Yidong [Wed, 21 Mar 2012 16:56:55 +0000 (00:56 +0800)]
* info.el (Info-menu): Handle string value of FORK arg.

Fixes: debbugs:10858
12 years agoHandle nil value of ido-completion-buffer.
Anmol Khirbat [Wed, 21 Mar 2012 16:41:01 +0000 (00:41 +0800)]
Handle nil value of ido-completion-buffer.

* lisp/ido.el (ido-set-current-directory, ido-read-internal)
(ido-choose-completion-string, ido-completion-help): Handle nil
value of ido-completion-buffer.

Fixes: debbugs:11008
12 years ago(dired-listing-switches): "ls -b" breaks dired - document this
Sam Steingold [Wed, 21 Mar 2012 16:07:04 +0000 (12:07 -0400)]
(dired-listing-switches): "ls -b" breaks dired - document this

12 years ago* lisp/window.el (switch-to-prev-buffer): Do not switch to a visible
Sam Steingold [Wed, 21 Mar 2012 16:01:18 +0000 (12:01 -0400)]
* lisp/window.el (switch-to-prev-buffer): Do not switch to a visible
window previous buffer, just like with the frame previous buffers.

12 years agomerge trunk
Kenichi Handa [Wed, 21 Mar 2012 07:43:58 +0000 (16:43 +0900)]
merge trunk

12 years agoquail/indian.el ("devanagari-itrans"): Add a few more useful keys (Bug#10935).
Kenichi Handa [Wed, 21 Mar 2012 07:41:52 +0000 (16:41 +0900)]
quail/indian.el ("devanagari-itrans"): Add a few more useful keys (Bug#10935).

12 years agoUpdates to Display chapter of Lisp manual.
Chong Yidong [Wed, 21 Mar 2012 07:02:13 +0000 (15:02 +0800)]
Updates to Display chapter of Lisp manual.

* doc/lispref/display.texi (The Echo Area): Add xref to Output Streams.
(Displaying Messages): Improve doc of message.
(Echo Area Customization, Invisible Text): Copyedits.
(Invisible Text): Mention that spec comparison is done with eq.
(Width): Improve doc of char-width.
(Faces): Recommend using symbol instead of string for face name.
Minor clarifications.
(Defining Faces): Copyedits.  Update face example.
(Attribute Functions): Mark set-face-foreground etc as commands.
(Face Remapping): Mention text-scale-adjust.  Clarify
face-remapping-alist and related docs.
(Face Functions): Don't document make-face or copy-face.

* lisp/faces.el (make-face, make-empty-face, copy-face):
* lisp/face-remap.el (face-remap-add-relative, face-remap-set-base):
Doc fixes.

* src/xfaces.c (Vface_remapping_alist): Doc fix.

12 years ago* lisp/wid-edit.el (widget-complete-field): Remove.
Stefan Monnier [Wed, 21 Mar 2012 02:13:52 +0000 (22:13 -0400)]
* lisp/wid-edit.el (widget-complete-field): Remove.
(widget-complete): Remove broken use of it.

Fixes: debbugs:11051
12 years agoDoc fixes in w32-specific primitives related to console codepage.
Eli Zaretskii [Tue, 20 Mar 2012 18:49:18 +0000 (20:49 +0200)]
Doc fixes in w32-specific primitives related to console codepage.

 src/w32proc.c (Fw32_set_console_codepage)
 (Fw32_set_console_output_codepage, Fw32_get_codepage_charset): Doc fixes.

12 years agoImprove column width calculation in tabulated-list.el.
Chong Yidong [Tue, 20 Mar 2012 15:44:45 +0000 (23:44 +0800)]
Improve column width calculation in tabulated-list.el.

* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry): Use
string-width and truncate-string-width to handle arbitrary
characters.

12 years agoUpdate doc to reflect new non-nil value of redisplay-dont-pause.
Chong Yidong [Tue, 20 Mar 2012 08:52:11 +0000 (16:52 +0800)]
Update doc to reflect new non-nil value of redisplay-dont-pause.

* doc/lispref/display.texi (Forcing Redisplay): Various rewrites to reflect
new value of redisplay-dont-pause.
(Truncation): Copyedits.

* src/dispnew.c (Fredisplay, Vredisplay_preemption_period): Update doc
to reflect default non-nil value of redisplay-dont-pause.

12 years ago* textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
Tassilo Horn [Tue, 20 Mar 2012 08:13:11 +0000 (09:13 +0100)]
* textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
  to draw rectangles, not squares.  (Regression introduced by
  2011-03-02T03:48:01Z!cyd@stupidchicken.com)

12 years agoos.texi "Startup Summary" small changes
Glenn Morris [Tue, 20 Mar 2012 07:44:03 +0000 (00:44 -0700)]
os.texi "Startup Summary" small changes

* doc/lispref/os.texi (Startup Summary):
Don't mention initial-buffer-choice = t.
Add summary table of some relevant command-line options.

12 years agoshr.el (shr-insert): Minor shr white space rendering tweak
Lars Magne Ingebrigtsen [Mon, 19 Mar 2012 14:44:14 +0000 (14:44 +0000)]
shr.el (shr-insert): Minor shr white space rendering tweak

12 years agomerge trunk
Kenichi Handa [Mon, 19 Mar 2012 04:17:50 +0000 (13:17 +0900)]
merge trunk

12 years agoftfont.c (ftfont_drive_otf): Mask bits of character code to make it fit in a valid...
Kenichi Handa [Mon, 19 Mar 2012 04:08:07 +0000 (13:08 +0900)]
ftfont.c (ftfont_drive_otf): Mask bits of character code to make it fit in a valid range (Bug#11003).

12 years agoFix bug #11035 with cursor positioning on overlay strings with newlines.
Eli Zaretskii [Sun, 18 Mar 2012 16:57:39 +0000 (18:57 +0200)]
Fix bug #11035 with cursor positioning on overlay strings with newlines.

 src/xdisp.c (cursor_row_p): Even if the glyph row ends in a string
 that is not from display property, accept the row as a "cursor
 row" if one of the string's character has a non-nil `cursor'
 property.  Fixes cursor positioning when there are newlines in
 overlay strings, e.g. in icomplete.el.

12 years agoCopyedits for Internals and OS chapters of Lisp manual.
Chong Yidong [Sun, 18 Mar 2012 15:02:12 +0000 (23:02 +0800)]
Copyedits for Internals and OS chapters of Lisp manual.

* doc/lispref/internals.texi (Building Emacs, Garbage Collection): Copyedits.
(Writing Emacs Primitives): Re-organize discussion of functions
with variable Lisp arguments are handled.  Delete an obsolete
remark, previously tagged as FIXME.

* doc/lispref/os.texi (Idle Timers): Minor clarification.
(Idle Timers): Link to Time of Day for description of time list.

12 years ago* faces.el (face-spec-reset-face): Don't run display-graphic-p if undefined.
Chong Yidong [Sun, 18 Mar 2012 14:18:01 +0000 (22:18 +0800)]
* faces.el (face-spec-reset-face): Don't run display-graphic-p if undefined.

12 years ago* lisp/net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with
Leo Liu [Sun, 18 Mar 2012 03:27:28 +0000 (11:27 +0800)]
* lisp/net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with
prefix.

12 years agolispref/os.texi edits
Glenn Morris [Sun, 18 Mar 2012 00:23:20 +0000 (17:23 -0700)]
lispref/os.texi edits

* doc/lispref/os.texi (System Interface): Flow control was removed.
(Startup Summary): General update.
(Init File): Don't mention compiling it.

12 years agoFix doc strings in ispell.el/.
Eli Zaretskii [Sat, 17 Mar 2012 19:46:52 +0000 (21:46 +0200)]
Fix doc strings in ispell.el/.

 lisp/textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
 (ispell-choices-win-default-height, ispell-silently-savep)
 (ispell-dictionary-alist, ispell-encoding8-command)
 (ispell-check-version, ispell-aspell-find-dictionary)
 (ispell-valid-dictionary-list, ispell-words-keyword)
 (ispell-get-word, ispell-internal-change-dictionary)
 (ispell-region, ispell-skip-region-list)
 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
 (ispell-message-text-end, ispell-message)
 (ispell-buffer-local-parsing): Doc fix.

12 years ago* htmlfontify.el: Add support for code block fontification
Jambunathan K [Sat, 17 Mar 2012 14:03:54 +0000 (22:03 +0800)]
* htmlfontify.el: Add support for code block fontification
for ODT export.
(hfy-optimisations): Define new option
`body-text-only'
(hfy-fontify-buffer): Honor above setting.
(hfy-begin-span, hfy-end-span): New routines factored out form
`hfy-fontify-buffer'.
(hfy-begin-span-handler, hfy-end-span-handler): New variables
that permit insertion of custom tags.
(hfy-fontify-buffer): Use above handlers.
(hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
(hfy-face-to-css): Re-defined to be a variable.
(hfy-compile-stylesheet): Modified.  Allow stylesheet to be built
over multiple runs. This is made possible by having the caller let
bind a special variable `hfy-user-sheet-assoc'.
(htmlfontify-string): New defun.
(hfy-compile-face-map): Make sure that the last char in the
buffer is correctly fontified.
(hfy-face-resolve-face): Whitespace only change.

Fixes: debbugs:9914
12 years agoMisc manual updates.
Chong Yidong [Sat, 17 Mar 2012 11:11:08 +0000 (19:11 +0800)]
Misc manual updates.

* doc/emacs/package.texi (Package Installation): Document use of
package-initialize in init file.

* doc/lispref/os.texi (Startup Summary): Mention package loading.
(Init File): Don't refer to .emacs in section title.  Copyedits.
(Terminal-Specific): Give a realistic example.
(Command-Line Arguments): Reference Entering Emacs instead of
repeating the spiel about not restarting Emacs.
(Time of Day): Discuss time representation at beginning of node.
(Sound Output): Copyedits.

* doc/lispref/package.texi (Packaging Basics): Document package-initialize.

12 years agoAdd an index entry for "minibuffer-only frame".
Eli Zaretskii [Sat, 17 Mar 2012 09:19:02 +0000 (11:19 +0200)]
Add an index entry for "minibuffer-only frame".

 doc/lispref/frames.texi (Initial Parameters): Add an index entry for
 minibuffer-only frame.

12 years agoImprove error message in ispell-get-decoded-string.
Eli Zaretskii [Sat, 17 Mar 2012 09:13:19 +0000 (11:13 +0200)]
Improve error message in ispell-get-decoded-string.

 lisp/textmodes/ispell.el (ispell-get-decoded-string): Make the error
 message mention the alists that need to be fixed.

12 years agoSmall fixes related to etc/HELLO
Glenn Morris [Fri, 16 Mar 2012 23:20:37 +0000 (19:20 -0400)]
Small fixes related to etc/HELLO

* doc/emacs/help.texi (Language Help):
* doc/emacs/mule.texi (International Chars):
etc/HELLO is for character demonstration.

* etc/HELLO: Say that this is not a comprehensive list.
Remove "duplicate" entry.  (Bug#11024)

12 years ago* etc/HELLO: Typo fix (bug#11027)
Glenn Morris [Fri, 16 Mar 2012 22:40:10 +0000 (18:40 -0400)]
* etc/HELLO: Typo fix (bug#11027)

12 years ago* lisp/emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
Leo Liu [Fri, 16 Mar 2012 16:36:27 +0000 (00:36 +0800)]
* lisp/emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.

12 years agoFurther optimise the handling of large macros.
Alan Mackenzie [Fri, 16 Mar 2012 14:10:54 +0000 (14:10 +0000)]
Further optimise the handling of large macros.

12 years ago* lisp/font-lock.el (lisp-font-lock-keywords-2): Add letrec.
Leo Liu [Fri, 16 Mar 2012 12:26:22 +0000 (20:26 +0800)]
* lisp/font-lock.el (lisp-font-lock-keywords-2): Add letrec.

12 years agotar-mode buffer-read-only fix
Aaron S. Hawley [Fri, 16 Mar 2012 07:21:23 +0000 (00:21 -0700)]
tar-mode buffer-read-only fix

* lisp/tar-mode.el (tar-mode): Fix saving by conditionally undoing
`special-mode' setting of `buffer-read-only'.

Fixes: debbugs:11010
12 years ago* leim/quail/indian.el (telugu-inscript): Fix typo.
Kenichi Handa [Fri, 16 Mar 2012 01:45:29 +0000 (21:45 -0400)]
* leim/quail/indian.el (telugu-inscript): Fix typo.

Fixes: debbugs:10936
12 years agoDoc fixes for view-mode and special major-modes
Glenn Morris [Fri, 16 Mar 2012 01:40:20 +0000 (21:40 -0400)]
Doc fixes for view-mode and special major-modes

Ref: http://debbugs.gnu.org/10650

* doc/lispref/modes.texi (Major Mode Conventions):
Mention the strange (IMO) relationship between View mode and special modes.

* lisp/view.el (view-buffer, view-buffer-other-window)
(view-buffer-other-frame): Doc fixes re special mode-class.

12 years agoeval-after-load fix for bug#10946
Glenn Morris [Fri, 16 Mar 2012 01:27:23 +0000 (21:27 -0400)]
eval-after-load fix for bug#10946

* lisp/subr.el (eval-after-load): If named feature is provided not
from a file, run after-load forms.

12 years agocalendar-insert-at-column small fix for bug#10978
Glenn Morris [Fri, 16 Mar 2012 01:10:46 +0000 (21:10 -0400)]
calendar-insert-at-column small fix for bug#10978

* lisp/calendar/calendar.el (calendar-insert-at-column):
Handle non-unit-width characters a bit better.

12 years agoNEWS
Glenn Morris [Fri, 16 Mar 2012 00:57:00 +0000 (20:57 -0400)]
NEWS

12 years ago* doc/emacs/dired.texi (Shell Commands in Dired): Fix typo.
Dani Moncayo [Thu, 15 Mar 2012 08:33:42 +0000 (16:33 +0800)]
* doc/emacs/dired.texi (Shell Commands in Dired): Fix typo.

12 years agoFix ring extension code in ring.el, and tweak comint-input-ring handling.
Chong Yidong [Thu, 15 Mar 2012 08:00:43 +0000 (16:00 +0800)]
Fix ring extension code in ring.el, and tweak comint-input-ring handling.

* lisp/emacs-lisp/ring.el (ring-extend): New function.
(ring-insert+extend): Extend the ring correctly.

* lisp/comint.el (comint-read-input-ring)
(comint-add-to-input-history): Grow comint-input-ring lazily.

Fixes: debbugs:11019
12 years ago* lisp/progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
Stefan Monnier [Thu, 15 Mar 2012 03:09:26 +0000 (23:09 -0400)]
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
Fix up parsing of multiline twoarg non-paired elements.

Fixes: debbugs:11014
12 years ago* lisp/imenu.el: Fix multiple inheritance breakage.
Stefan Monnier [Thu, 15 Mar 2012 01:38:40 +0000 (21:38 -0400)]
* lisp/imenu.el: Fix multiple inheritance breakage.
(imenu-add-to-menubar): Don't add a redundant index.
(imenu-update-menubar): Handle a dynamically composed keymap.

Fixes: debbugs:9199
12 years agoMerge changes made in No Gnus
Lars Magne Ingebrigtsen [Wed, 14 Mar 2012 22:15:04 +0000 (22:15 +0000)]
Merge changes made in No Gnus

12 years agoAlways call the callback when timing out url-queue jobs
Lars Magne Ingebrigtsen [Wed, 14 Mar 2012 02:44:09 +0000 (03:44 +0100)]
Always call the callback when timing out url-queue jobs

* url-queue.el (url-queue-kill-job): Make sure that the callback
is always called, even if we have a timeout.

12 years agomail/sendmail.el (mail-encode-header): Bind rfc2047-encode-encoded-words to nil.
Katsumi Yamaoka [Tue, 13 Mar 2012 23:27:56 +0000 (23:27 +0000)]
mail/sendmail.el (mail-encode-header): Bind rfc2047-encode-encoded-words to nil.

12 years agoSmall calendar-string-spread fix for bug#10978
Glenn Morris [Tue, 13 Mar 2012 17:56:31 +0000 (13:56 -0400)]
Small calendar-string-spread fix for bug#10978

* lisp/calendar/calendar.el (calendar-string-spread):
Handle non-unit-width characters a bit better.

12 years agoAdjust NEWS entry for recent change
Glenn Morris [Tue, 13 Mar 2012 16:15:51 +0000 (09:15 -0700)]
Adjust NEWS entry for recent change

12 years ago* lisp/vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
Leo Liu [Tue, 13 Mar 2012 10:40:29 +0000 (18:40 +0800)]
* lisp/vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
directory and file as argument.

Fixes: debbugs:10822
12 years agoMention bulgarian-alt-phonetic in NEWS
Glenn Morris [Tue, 13 Mar 2012 07:22:12 +0000 (00:22 -0700)]
Mention bulgarian-alt-phonetic in NEWS

12 years ago* cyrillic.el (bulgarian-alt-phonetic): New input method. (tiny change)
Йордан Миладинов [Tue, 13 Mar 2012 07:21:15 +0000 (00:21 -0700)]
* cyrillic.el (bulgarian-alt-phonetic): New input method.  (tiny change)

Fixes: debbugs:10893
12 years agoGDB change for dynamically generated code (tiny change)
Kaushik Srenevasan [Tue, 13 Mar 2012 07:07:10 +0000 (00:07 -0700)]
GDB change for dynamically generated code (tiny change)
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00753.html

* lisp/progmodes/gdb-mi.el (gdb-invalidate-disassembly):
For dynamically generated code, follow $PC.
(gdb-disassembly-handler-custom): Handle no function name case.

Fixes: debbugs:10597
12 years agoFix some missing trailing whitespace (tiny change)
Tim Landscheidt [Tue, 13 Mar 2012 06:54:37 +0000 (23:54 -0700)]
Fix some missing trailing whitespace (tiny change)

* lisp/calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
* lisp/emulation/ws-mode.el (ws-query-replace):
* lisp/sort.el (sort-regexp-fields):
Fix missing trailing whitespace in interactive prompts.

Fixes: debbugs:11002
12 years agoSpelling fixes.
Paul Eggert [Mon, 12 Mar 2012 22:35:55 +0000 (15:35 -0700)]
Spelling fixes.

12 years ago* semantic/db-find.el
David Engster [Mon, 12 Mar 2012 20:51:17 +0000 (21:51 +0100)]
* semantic/db-find.el
  (semanticdb-find-translate-path-brutish-default): If we don't yet
  have a proper table for PATH, use `semanticdb-current-database'
  instead (bug #10343).

12 years ago* lisp/dabbrev.el: Fix cycle completion order.
Stefan Monnier [Mon, 12 Mar 2012 20:07:45 +0000 (16:07 -0400)]
* lisp/dabbrev.el: Fix cycle completion order.
(dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
(dabbrev-completion): Don't use an obarray; provide
a cycle-sort-function.

Fixes: debbugs:10963
12 years ago* lisp/simple.el (kill-new): Use equal-including-properties for
Leo Liu [Mon, 12 Mar 2012 18:21:35 +0000 (02:21 +0800)]
* lisp/simple.el (kill-new): Use equal-including-properties for
comparison.
(kill-do-not-save-duplicates): Doc fix.

12 years ago* lisp/dabbrev.el: Fix cycle completion.
Stefan Monnier [Mon, 12 Mar 2012 13:03:10 +0000 (09:03 -0400)]
* lisp/dabbrev.el: Fix cycle completion.
Use lexical binding and wrap to 80 columns.
(dabbrev-completion): Delay computing the list of completions.

Fixes: debbugs:10963
12 years agognus-int.el (gnus-backend-trace): Flip default to nil before Emacs 24.1 release.
Lars Magne Ingebrigtsen [Mon, 12 Mar 2012 11:48:55 +0000 (11:48 +0000)]
gnus-int.el (gnus-backend-trace): Flip default to nil before Emacs 24.1 release.

12 years agoetc/PROBLEMS: Document keyboard ghosting with M-| (Bug#10740).
Chong Yidong [Mon, 12 Mar 2012 09:55:35 +0000 (17:55 +0800)]
etc/PROBLEMS: Document keyboard ghosting with M-| (Bug#10740).

12 years ago* buffer.c (compare_overlays): Don't assume args differ (Bug#6830).
Paul Eggert [Mon, 12 Mar 2012 08:27:25 +0000 (01:27 -0700)]
* buffer.c (compare_overlays): Don't assume args differ (Bug#6830).

12 years agointernational/quail.el (quail-insert-kbd-layout): Surround each row by LRO and PDF...
Kenichi Handa [Mon, 12 Mar 2012 07:42:02 +0000 (16:42 +0900)]
international/quail.el (quail-insert-kbd-layout): Surround each row by LRO and PDF instead of inserting many LRMs.  Pad the left and right of each non-spacing marks.  Insert invisible space between lower and upper characters to prevent composition.

12 years agoRename inhibit_window_configuration_change_hook to inhibit_lisp_code.
Chong Yidong [Mon, 12 Mar 2012 06:34:32 +0000 (14:34 +0800)]
Rename inhibit_window_configuration_change_hook to inhibit_lisp_code.
This is a tweak to 2012-02-23T07:28:21Z!cyd@gnu.org, suggested by Stefan.

* eval.c (inhibit_lisp_code): Rename from
inhibit_window_configuration_change_hook; move from window.c.

* xfns.c (unwind_create_frame_1, Fx_create_frame):
* window.c (run_window_configuration_change_hook)
(syms_of_window): Callers changed.

12 years ago* lisp/minibuffer.el (minibuffer-complete): Don't get confused when the
Stefan Monnier [Mon, 12 Mar 2012 04:10:59 +0000 (00:10 -0400)]
* lisp/minibuffer.el (minibuffer-complete): Don't get confused when the
function is run twice via different commands.
(complete-with-action): Fix docstring.

Fixes: debbugs:10958
12 years agoAdapt nXML mode to Emacs 24 completion scheme.
Chong Yidong [Mon, 12 Mar 2012 03:58:20 +0000 (11:58 +0800)]
Adapt nXML mode to Emacs 24 completion scheme.

* lisp/nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET.
(nxml-completion-at-point-function): New function.
(nxml-mode): Use it.
(nxml-bind-meta-tab-to-complete-flag): Default to t.

Fixes: debbugs:6776
12 years agoLoad a package's generated autoloads file before byte compiling it.
Chong Yidong [Mon, 12 Mar 2012 03:03:16 +0000 (11:03 +0800)]
Load a package's generated autoloads file before byte compiling it.

* lisp/emacs-lisp/package.el (package-unpack, package-unpack-single):
Load generated autoloads file before byte compiling.
(package--make-autoloads-and-compile): New helper fun.

Fixes: debbugs:10970
12 years ago* ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
Christopher Schmidt [Mon, 12 Mar 2012 02:41:22 +0000 (10:41 +0800)]
* ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.

12 years ago* semantic/wisent/javascript.el (js-mode): Define `js-mode' as
David Engster [Sun, 11 Mar 2012 20:29:14 +0000 (21:29 +0100)]
* semantic/wisent/javascript.el (js-mode): Define `js-mode' as
  child-mode of `javascript-mode' (bug #8445).

12 years agoFix previous patch.
Michael Albinus [Sun, 11 Mar 2012 18:02:48 +0000 (19:02 +0100)]
Fix previous patch.

12 years ago* autorevert.el (auto-revert-handler): Ensure, that
Michael Albinus [Sun, 11 Mar 2012 17:58:16 +0000 (18:58 +0100)]
* autorevert.el (auto-revert-handler): Ensure, that
file-readable-p is applied only for local files or in
auto-revert-tail-mode.

12 years ago* server.el (server-eval-at): Handle non-tcp connections. Decode
Andreas Schwab [Sun, 11 Mar 2012 17:54:16 +0000 (18:54 +0100)]
* server.el (server-eval-at): Handle non-tcp connections.  Decode
result string.

12 years agoDefine -print-nonl client command
Andreas Schwab [Sun, 11 Mar 2012 17:53:07 +0000 (18:53 +0100)]
Define -print-nonl client command

* lib-src/emacsclient.c (main): Handle -print-nonl command.

* lisp/server.el (server-msg-size): New constant.
(server-reply-print): New function.
(server-eval-and-print): Use it.
(server-eval-at): Use server-quote-arg and server-unquote-arg.
Handle -print-nonl.

12 years ago* ibuffer.el (ibuffer-redisplay): Remove gratuitous error.
Christopher Schmidt [Sun, 11 Mar 2012 17:31:44 +0000 (01:31 +0800)]
* ibuffer.el (ibuffer-redisplay): Remove gratuitous error.

Fixes: debbugs:10987
12 years ago* keymap.c (Fkey_description): Doc fix.
Chong Yidong [Sun, 11 Mar 2012 17:08:10 +0000 (01:08 +0800)]
* keymap.c (Fkey_description): Doc fix.

Fixes: debbugs:9700
12 years ago* simple.el (goto-line): Doc fix.
Chong Yidong [Sun, 11 Mar 2012 16:57:04 +0000 (00:57 +0800)]
* simple.el (goto-line): Doc fix.

Fixes: debbugs:9938