1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00
Commit Graph

104804 Commits

Author SHA1 Message Date
Simon Leinen
6e7e90fa24 * vc/vc.el (vc-merge): Fix a prompt. 2012-03-24 21:23:23 +08:00
Chong Yidong
f06e2758ba * mwheel.el (mwheel-scroll): Call deactivate-mark at the right point.
Fixes: debbugs:9623
2012-03-24 19:05:39 +08:00
Andreas Schwab
8ed7952375 * xdisp.c (produce_glyphless_glyph): Limit length of acronym to 6
characters.
2012-03-24 10:29:00 +01:00
Andreas Schwab
7d1c3a76cf Fixes: debbugs:11080
* xterm.c (XTread_socket): Only modify handling_signal if
!SYNC_INPUT.
2012-03-24 09:32:50 +01:00
Eli Zaretskii
e99a9b8bdc 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.
2012-03-23 14:32:23 +02:00
Troels Nielsen
5063c0e1a2 * src/process.c (wait_reading_process_output): Handle pty disconnect
by refraining from sending oneself a SIGCHLD.

Fixes: debbugs:10933
2012-03-23 08:23:14 -04:00
Gnus developers
005a89ffd3 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.
2012-03-23 11:22:21 +00:00
Stefan Monnier
b9d0879b49 * lisp/newcomment.el (comment-choose-indent): No space after BOL. 2012-03-22 22:46:31 -04:00
Sam Steingold
e71cebb3c3 * lisp/window.el (switch-to-prev-buffer): Revert last patch because the
bug turned out to be an advertised feature (Elisp manual 28.14).
2012-03-22 16:49:04 -04:00
Glenn Morris
9e1a1109f7 Tweak previous vz-bzr change yet again 2012-03-22 15:57:43 -04:00
Glenn Morris
b4715d2a08 Tweak previous vc-bzr change 2012-03-22 15:17:43 -04:00
Glenn Morris
335aff3569 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.
2012-03-22 15:06:03 -04:00
Lars Magne Ingebrigtsen
c676576a42 Fix starttls-related error message under Windows
* net/network-stream.el (network-stream-open-starttls): Make error
message under Windows be less misleading.
2012-03-22 19:42:12 +01:00
Liang Wang
126f3d39bb * lisp/progmodes/etags.el (etags-list-tags): Only use tags which goto-func
understands.

Fixes: debbugs:9942
2012-03-22 10:46:05 -04:00
Chong Yidong
64fee3118a 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
2012-03-22 15:38:05 +08:00
Chong Yidong
9f851fbd28 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
2012-03-22 15:08:17 +08:00
Glenn Morris
2bfab837e4 * emacs/dired.texi (Operating on Files): Fix dired-recursive-copies default. 2012-03-21 23:47:01 -07:00
Glenn Morris
c8f6ec5c01 Document string-prefix-p
* doc/lispref/strings.texi (Text Comparison): Mention string-prefix-p.
* etc/NEWS: Belated entry.
2012-03-21 23:21:28 -07:00
Kenichi Handa
0e85d2cf54 merge trunk 2012-03-22 13:23:16 +09:00
Kenichi Handa
a640d29ae4 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. 2012-03-22 13:20:07 +09:00
Dmitry Gutov
396750161e * 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
2012-03-21 14:33:07 -04:00
Stefan Monnier
0a6934fc04 Fix last ChangeLog + Andreas Politz has signed paperwork. 2012-03-21 14:27:05 -04:00
Stefan Monnier
3d008e4f23 * lisp/outline.el (outline-flag-region): Evaporate overlays.
Fixes: debbugs:10789
2012-03-21 14:21:24 -04:00
Stefan Monnier
af67c9d7cd * progmodes/etags.el (tags-completion-at-point-function): Improve last fix. 2012-03-21 13:50:28 -04:00
Stefan Monnier
1acad97c3e * lisp/files.el (move-file-to-trash): Files aren't regexps.
Fixes: debbugs:11055
2012-03-21 13:44:55 -04:00
Sam Steingold
e298b5da3d * lisp/progmodes/etags.el (tags-completion-at-point-function):
Avoid the error when point is inside the pattern.
2012-03-21 13:17:23 -04:00
Sam Steingold
6e5d1d00ca (dired-listing-switches): apparently, "ls -b" is actually supposed to work 2012-03-21 13:15:39 -04:00
John Yates
91d82a7029 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first line.
Fixes: debbugs:10855
2012-03-22 01:02:09 +08:00
Chong Yidong
69188b79df * info.el (Info-menu): Handle string value of FORK arg.
Fixes: debbugs:10858
2012-03-22 00:56:55 +08:00
Anmol Khirbat
99fc91fecd 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
2012-03-22 00:41:01 +08:00
Sam Steingold
a98a6a97d9 (dired-listing-switches): "ls -b" breaks dired - document this 2012-03-21 12:07:04 -04:00
Sam Steingold
087bbb4cac * lisp/window.el (switch-to-prev-buffer): Do not switch to a visible
window previous buffer, just like with the frame previous buffers.
2012-03-21 12:01:18 -04:00
Kenichi Handa
1362203499 merge trunk 2012-03-21 16:43:58 +09:00
Kenichi Handa
26090a2783 quail/indian.el ("devanagari-itrans"): Add a few more useful keys (Bug#10935). 2012-03-21 16:41:52 +09:00
Chong Yidong
fb5b8aca99 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.
2012-03-21 15:02:13 +08:00
Stefan Monnier
dc9924b8bd * lisp/wid-edit.el (widget-complete-field): Remove.
(widget-complete): Remove broken use of it.

Fixes: debbugs:11051
2012-03-20 22:13:52 -04:00
Eli Zaretskii
62356a1bdf 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.
2012-03-20 20:49:18 +02:00
Chong Yidong
f0bcceb995 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.
2012-03-20 23:44:45 +08:00
Chong Yidong
025de85b07 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.
2012-03-20 16:52:11 +08:00
Tassilo Horn
ee52ebf3e2 * 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)
2012-03-20 09:13:11 +01:00
Glenn Morris
a5656eae9d 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.
2012-03-20 00:44:03 -07:00
Lars Magne Ingebrigtsen
e76917e6cd shr.el (shr-insert): Minor shr white space rendering tweak 2012-03-19 14:44:14 +00:00
Kenichi Handa
4ebb358f29 merge trunk 2012-03-19 13:17:50 +09:00
Kenichi Handa
4827f94e17 ftfont.c (ftfont_drive_otf): Mask bits of character code to make it fit in a valid range (Bug#11003). 2012-03-19 13:08:07 +09:00
Eli Zaretskii
e50a24a249 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.
2012-03-18 18:57:39 +02:00
Chong Yidong
d15aac6820 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.
2012-03-18 23:02:12 +08:00
Chong Yidong
4c5779ab90 * faces.el (face-spec-reset-face): Don't run display-graphic-p if undefined. 2012-03-18 22:18:01 +08:00
Leo Liu
153609342a * lisp/net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with
prefix.
2012-03-18 11:27:28 +08:00
Glenn Morris
b59af54981 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.
2012-03-17 17:23:20 -07:00
Eli Zaretskii
d9a8eb664e 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.
2012-03-17 21:46:52 +02:00