bpt/emacs.git
12 years agoDiscourage in comments from defining HAVE_GETCWD on MS-Windows.
Eli Zaretskii [Thu, 29 Mar 2012 20:06:39 +0000 (22:06 +0200)]
Discourage in comments from defining HAVE_GETCWD on MS-Windows.

 src/s/ms-w32.h: Discourage from defining HAVE_GETCWD.
 nt/config.nt: Discourage from defining HAVE_GETCWD.

12 years agocalendar/calendar.el (calendar-exit): Use `quit-windows-on' instead of
Sam Steingold [Thu, 29 Mar 2012 14:00:00 +0000 (10:00 -0400)]
calendar/calendar.el (calendar-exit): Use `quit-windows-on' instead of
the broken adhockery which does not prevent calendar buffers from
being displayed at random after exit.
(calendar-window-list, calendar-hide-window): Remove the broken adhockery.

12 years agoDoc and lispref updates related to searching
Glenn Morris [Wed, 28 Mar 2012 19:30:12 +0000 (12:30 -0700)]
Doc and lispref updates related to searching

* doc/lispref/searching.texi (Regexp Functions, Regexp Search):
(Simple Match Data, Saving Match Data, Standard Regexps): Copyedits.
(Regexp Functions): Mention regexp-opt is not guaranteed.
Mention regexp-opt-charset.
(Regexp Search): Recommend against looking-back.
(Search and Replace): Use Texinfo recommended quote convention.
Add more query-replace-map items.  List multi-query-replace-map items.

* lisp/replace.el (query-replace-map): Doc fix.

* admin/FOR-RELEASE: Related markup.

12 years ago* src/keyboard.c (safe_run_hooks_error): Don't unquote strings.
Stefan Monnier [Wed, 28 Mar 2012 15:54:54 +0000 (11:54 -0400)]
* src/keyboard.c (safe_run_hooks_error): Don't unquote strings.

12 years agoFixes: debbugs:11109
Andreas Schwab [Wed, 28 Mar 2012 10:12:02 +0000 (12:12 +0200)]
Fixes: debbugs:11109

* vc/vc-git.el (vc-git-state): Don't try to match all of the diff
contents.

12 years agoComment
Glenn Morris [Wed, 28 Mar 2012 08:02:53 +0000 (01:02 -0700)]
Comment

12 years agolispref/searching.tex small edits
Glenn Morris [Wed, 28 Mar 2012 07:57:42 +0000 (00:57 -0700)]
lispref/searching.tex small edits

* doc/lispref/searching.texi (Regular Expressions, Regexp Special):
(Regexp Backslash, Regexp Example): Copyedits.
(Regexp Special): Mention collation.
Clarify char classes with an example.

12 years agoSpelling fixes.
Paul Eggert [Wed, 28 Mar 2012 07:24:26 +0000 (00:24 -0700)]
Spelling fixes.

12 years ago* lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo.
Stefan Monnier [Tue, 27 Mar 2012 20:43:09 +0000 (16:43 -0400)]
* lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo.
(avl-tree--check, avl-tree--check-node): New funs.

Fixes: debbugs:11077

12 years agoNEWS pedantry
Glenn Morris [Tue, 27 Mar 2012 20:24:48 +0000 (16:24 -0400)]
NEWS pedantry

12 years agoOptionally avoid that switching to previous or next buffer shows that buffer twice.
Martin Rudalics [Tue, 27 Mar 2012 09:22:01 +0000 (11:22 +0200)]
Optionally avoid that switching to previous or next buffer shows that buffer twice.

* window.el (switch-to-visible-buffer): New option.
(switch-to-prev-buffer, switch-to-next-buffer): Observe
switch-to-visible-buffer.  Make sure that checking for a window
showing a buffer already is done on the same frame.

* windows.texi (Window History): Describe new option
switch-to-visible-buffer.

12 years agoSmall doc and elisp manual fixes related to searching
Glenn Morris [Tue, 27 Mar 2012 06:46:42 +0000 (23:46 -0700)]
Small doc and elisp manual fixes related to searching

* doc/lispref/searching.texi (String Search): Add xref to Emacs manual.
Copyedits.  Mention the function word-search-regexp.
(Searching and Case): Add xref to Emacs manual.  Copyedits.

* src/search.c (Fword_search_backward_lax, Fword_search_forward_lax):
Doc fixes.

12 years ago* lisp/startup.el (mail-host-address): Doc fix.
Glenn Morris [Tue, 27 Mar 2012 06:45:12 +0000 (23:45 -0700)]
* lisp/startup.el (mail-host-address): Doc fix.

12 years ago* doc/lispref/processes.texi (Network Servers): Standardize apostrophe usage.
Glenn Morris [Tue, 27 Mar 2012 00:50:49 +0000 (20:50 -0400)]
* doc/lispref/processes.texi (Network Servers): Standardize apostrophe usage.

12 years agoMore lispref/os.texi small edits
Glenn Morris [Tue, 27 Mar 2012 00:49:32 +0000 (20:49 -0400)]
More lispref/os.texi small edits

* doc/lispref/os.texi (System Environment): Copyedits.
Remove some examples that do not seem useful.  Mention setenv third arg.
tty-erase-char does not seem to be nil under a window-system.
(User Identification): Copyedits.
Remove some examples that do not seem useful.

12 years ago* emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
Stefan Monnier [Mon, 26 Mar 2012 19:10:00 +0000 (15:10 -0400)]
* emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
than 197 variables.

12 years agodispextern.h (struct glyph): Fix previous change. Change the bit length of glyphless...
Kenichi Handa [Mon, 26 Mar 2012 05:43:05 +0000 (14:43 +0900)]
dispextern.h (struct glyph): Fix previous change.  Change the bit length of glyphless.ch to 25 (Bug#11082).

12 years agoNew variable selection-inhibit-update-commands, for inhibiting selection updates.
Chong Yidong [Mon, 26 Mar 2012 04:06:31 +0000 (12:06 +0800)]
New variable selection-inhibit-update-commands, for inhibiting selection updates.

* keyboard.c (Vselection_inhibit_update_commands): New variable.
(command_loop_1): Use it; inhibit selection update for
handle-select-window too.

Fixes: debbugs:8996

12 years ago* vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
Ami Fischman [Mon, 26 Mar 2012 03:08:15 +0000 (11:08 +0800)]
* vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.

12 years agoMore small edits for lispref/os.texi
Glenn Morris [Mon, 26 Mar 2012 01:35:47 +0000 (18:35 -0700)]
More small edits for lispref/os.texi

* doc/lispref/os.texi (Killing Emacs): Copyedits.
(Suspending Emacs): Copyedits.  Mention not very relevant with GUIs.
Shorten the example, use more standard shell prompts.

* lisp/files.el (save-buffers-kill-emacs): Doc fix.

12 years agoSmall edits for lispref/os.texi
Glenn Morris [Mon, 26 Mar 2012 00:37:04 +0000 (17:37 -0700)]
Small edits for lispref/os.texi

* doc/lispref/os.texi (Startup Summary): Copyedits.  Fix startup screen logic.
(Init File): Copyedits.
(Command-Line Arguments): Copyedits.  Do not mention argv alias.

* lisp/startup.el (normal-top-level, command-line, command-line-1):
Give them doc strings.

12 years agoRemove dead MSVC-specific code.
Fabrice Popineau [Sun, 25 Mar 2012 18:30:50 +0000 (20:30 +0200)]
Remove dead MSVC-specific code.

 src/w32heap.c (_heap_init, _heap_term): Remove dead MSVC-specific code.

12 years agoFix parallel "make install" on MS-Windows.
Eli Zaretskii [Sun, 25 Mar 2012 18:17:46 +0000 (20:17 +0200)]
Fix parallel "make install" on MS-Windows.

 nt/makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
 $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
 on other (parallel) Make job's toes.
 (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
 (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
 here.
 (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist): Depend
 on create-tmp-dist-dir.
 nt/nmake.defs (DIRNAME): New variable.
 (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
 same-dir.tst.
 nt/gmake.defs (DIRNAME): New variable.
 (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
 same-dir.tst, to avoid conflicts between several (parallel) Make
 jobs.
 lisp/makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
 of same-dir.tst, to avoid stepping on other (parallel) Make job's
 toes.
 leim/makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
 of same-dir.tst, to avoid stepping on other (parallel) Make job's
 toes.

12 years agodispextern.h (struct glyph): Change the bit length of glyphless.ch to 22 to make...
Kenichi Handa [Sun, 25 Mar 2012 15:35:23 +0000 (00:35 +0900)]
dispextern.h (struct glyph): Change the bit length of glyphless.ch to 22 to make the member glyphless fit in 32 bits.

12 years agoFix interaction of load-theme with cust-theme.el.
Chong Yidong [Sun, 25 Mar 2012 14:05:51 +0000 (22:05 +0800)]
Fix interaction of load-theme with cust-theme.el.

* lisp/custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
theme if it was previously enabled before (Bug#11031).

* lisp/cus-theme.el (customize-create-theme, custom-theme-revert): Doc fixes.

12 years agoFix race condition in url-queue when doing the callback
Lars Magne Ingebrigtsen [Sun, 25 Mar 2012 13:38:22 +0000 (15:38 +0200)]
Fix race condition in url-queue when doing the callback

* url-queue.el (url-queue-kill-job): Check whether the buffer has
been killed asynchronously before selecting it.

12 years agoFix for custom-theme-write-faces.
Chong Yidong [Sun, 25 Mar 2012 12:52:49 +0000 (20:52 +0800)]
Fix for custom-theme-write-faces.

* lisp/cus-theme.el (custom-theme-write-faces): Retrieve current face
spec with custom-face-get-current-spec if its :shown-value is not
determined yet.

Fixes: debbugs:9337

12 years agoUpdates to Display chapter of Lisp manual.
Chong Yidong [Sun, 25 Mar 2012 07:58:59 +0000 (15:58 +0800)]
Updates to Display chapter of Lisp manual.

* doc/lispref/display.texi (Fringes): Note that fringes are shown on graphical
displays only.
(Fringe Size/Pos, Fringe Bitmaps, Making Buttons): Clarifications.
(Replacing Specs): Clarify example.
(Manipulating Buttons): Note that button-at can return a marker.
(Buttons): Minor rewrite.
(Character Display): New node.  Consolidate all character display
related nodes into its subsections.
(Usual Display): Character 127 is also affected by ctl-arrow.
(Display Tables): Improve example.

* lisp/button.el (button-at): Minor addition to docstring.

12 years agoFix bug #9960 with MSVC build on MS-Windows.
Eli Zaretskii [Sat, 24 Mar 2012 13:43:21 +0000 (15:43 +0200)]
Fix bug #9960 with MSVC build on MS-Windows.

 src/s/ms-w32.h (tzname): Include time.h before redirecting to
 _tzname.  Fixes the MSVC build.

12 years ago* vc/vc.el (vc-merge): Fix a prompt.
Simon Leinen [Sat, 24 Mar 2012 13:23:23 +0000 (21:23 +0800)]
* vc/vc.el (vc-merge): Fix a prompt.

12 years ago* mwheel.el (mwheel-scroll): Call deactivate-mark at the right point.
Chong Yidong [Sat, 24 Mar 2012 11:05:39 +0000 (19:05 +0800)]
* mwheel.el (mwheel-scroll): Call deactivate-mark at the right point.

Fixes: debbugs:9623

12 years ago* xdisp.c (produce_glyphless_glyph): Limit length of acronym to 6
Andreas Schwab [Sat, 24 Mar 2012 09:29:00 +0000 (10:29 +0100)]
* xdisp.c (produce_glyphless_glyph): Limit length of acronym to 6
characters.

12 years agoFixes: debbugs:11080
Andreas Schwab [Sat, 24 Mar 2012 08:32:50 +0000 (09:32 +0100)]
Fixes: debbugs:11080

* xterm.c (XTread_socket): Only modify handling_signal if
!SYNC_INPUT.

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.