1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-12 10:44:12 -08:00
Commit graph

102974 commits

Author SHA1 Message Date
Ted Zlatanov
0bc0638017 * json.el: Bump version to 1.3; (json-alist-p, json-plist-p): Rewrite to avoid recursion. 2011-10-17 13:40:27 -04:00
Glenn Morris
f1bfb0db98 ChangeLog fix (problem had no particular relation to CentOS). 2011-10-17 13:28:17 -04:00
Stefan Monnier
fa92a650fd * lisp/comint.el (comint-insert-input): Fix last change. 2011-10-17 13:14:04 -04:00
Eli Zaretskii
2c91f553b7 Fix part 4 of bug#9771 with assertion violation when wrap-prefix is used
for a line that begins with control characters.

 src/xdisp.c (push_display_prop): Determine whether to record string
 or buffer position by IT->string, not by IT->method.  Allow
 GET_FROM_DISPLAY_VECTOR as IT->method on entry.
2011-10-17 19:03:20 +02:00
Stefan Monnier
5a7c536b92 comint.el: Don't let insert' break an input' field into two.
* lisp/comint.el (comint-insert-input, comint-send-input)
(comint-get-old-input-default, comint-backward-matching-input)
(comint-next-prompt): Use nil instead of `input' for field property of
past user input (bug#114).

Fixes: debbugs:9160
2011-10-17 12:33:23 -04:00
Stefan Monnier
96a8a0dfd6 * lisp/minibuffer.el (completion--replace): Inherit surrounding properties.
(minibuffer-complete-and-exit): Use it.

Fixes: debbugs:114
2011-10-17 12:30:02 -04:00
Stefan Monnier
8b79f3e0ed * lisp/comint.el (comint--table-subvert): Quote the all-completions output.
Fixes: debbugs:9160
2011-10-17 09:43:40 -04:00
Martin Rudalics
4e5c3d2bf1 Remove redundant :type entry from ido-default-buffer-method 2011-10-17 15:27:53 +02:00
Martin Rudalics
d912bdcf9b Fix bug reference in ChangeLog 2011-10-17 15:11:46 +02:00
Martin Rudalics
b8f7ff0d82 Rewrite window related menu entries. (Bug#6786)
* menu-bar.el (menu-bar-file-menu): Add entry for making new
window on right of selected.  (Bug#6786) Reword other window
entries and separate them from frame entries.
2011-10-17 14:52:31 +02:00
Daiki Ueno
344465fd3b Merge changes made in Gnus trunk.
mml2015.el (mml2015-epg-find-usable-key): Skip the whole key if the primary key is marked as disabled.
mml1991.el (mml1991-epg-find-usable-key): Ditto.  Thanks to Christian von Roques <roques@mti.ag>.
2011-10-17 04:29:19 +00:00
Glenn Morris
21fedf28e5 * test/automated/f90.el: New file. 2011-10-15 13:56:02 -07:00
Glenn Morris
c235b55508 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests): Doc fixes. 2011-10-15 12:24:14 -07:00
Chong Yidong
ec5c990d86 * net/network-stream.el (network-stream-open-starttls): Improve failure detection
for lack of TLS capability.
2011-10-15 12:57:38 -04:00
Chong Yidong
4185924154 * doc/emacs/display.texi (Scrolling): Tweak explanation of scroll direction.
(View Mode): Add index entries.
2011-10-15 12:38:45 -04:00
Chong Yidong
21100e7d3f Two minor manual updates.
* doc/emacs/killing.texi (Deletion): Document negative prefix arg to M-SPC.

* doc/emacs/regs.texi (Text Registers): C-x r i does not activate the mark.
(Bookmarks): Document new default bookmark location.
2011-10-15 12:37:45 -04:00
Chong Yidong
6bbfa6e17d * lisp/mail/sendmail.el (sendmail-query-once): Tweak prompt message
putting the argument choices in front and in bold.
2011-10-15 12:35:19 -04:00
Martin Rudalics
c7b08b0d14 Rewrite and delabelize vertical border check. (Bug#5357) (Bug#9618)
* window.c (coordinates_in_window): Rewrite and delabelize
vertical border check.  (Bug#5357) (Bug#9618)
2011-10-15 12:12:00 +02:00
Stefan Monnier
3d1337be7b * lisp/pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging. 2011-10-14 14:39:16 -04:00
Stefan Monnier
ee0b45e4c2 * lisp/mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
empty buffer.
2011-10-14 14:37:53 -04:00
Stefan Monnier
984889776c * lisp/mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
unread-command-events rather than pushing yet-another event.
2011-10-14 14:36:33 -04:00
Stefan Monnier
6b02f655f1 * src/xterm.c (frame_highlight, frame_unhighlight): Ignore unexplained
errors in XSetWindowBorder.

Fixes: debbugs:9310
2011-10-14 13:44:39 -04:00
Eli Zaretskii
186f4720cc Improve wording in sendmail-query-once description of options.
lisp/mail/sendmail.el (sendmail-query-once): Improve the wording of
 the explanation of the possible choices.  Make the options passed
 to completing-read shorter.
2011-10-14 15:49:32 +02:00
Glenn Morris
466a320edc Minor rewording of some sections of the ERT manual.
* doc/misc/ert.texi (Introduction, How to Run Tests)
(Running Tests Interactively, Expected Failures)
(Tests and Their Environment, Useful Techniques)
(Interactive Debugging, Fixtures and Test Suites):
Minor rephrasings.
(Running Tests Interactively, The @code{should} Macro): Add xrefs.
(Running Tests in Batch Mode): Simplify loading instructions.
(Test Selectors): Clarify some selectors.
(Expected Failures, Useful Techniques):
Make examples fit in 80 columns.
Remove unused "LocalWords".
2011-10-14 00:16:56 -07:00
Agustín Martín
8b7a997c1a flyspell.el (flyspell-large-region): Use extended character mode if defined (Bug#1339).
flyspell-large-region was not setting extended character mode for the
external ispell process. This was affecting ispell with 8bit charsets 
not being the default, like in german.

Since extended character mode was not used, process used default 7bit 
pseudo-charset resulting in some messages like

 -> rterbuch - 68: word not found

about words not found.

This may be related to (Bug#1339).
2011-10-13 20:37:57 +02:00
Chong Yidong
50b063c300 Update Killing chapter in Emacs manual. Other misc manual tweaks.
* doc/emacs/killing.texi (Deletion): Add xref to Using Region.
(Yanking): Move yank-excluded-properties to Lisp manual.  Move C-y
description here.  Recommend C-u C-SPC for jumping to mark.
(Kill Ring): Move kill ring variable documentation here.
(Primary Selection): Copyedits.
(Rectangles): Document new command rectangle-number-lines.
(CUA Bindings): Note that this disables the mark-even-if-inactive
behavior for C-x and C-c.

* doc/emacs/mark.texi (Mark): Mention "active region" terminology.
(Using Region): Document delete-active-region.

* doc/lispref/text.texi (Yanking): Document yank-excluded-properties.

* doc/lispref/package.texi (Packaging Basics): The commentary should say how
to begin using the package.
2011-10-13 12:03:49 -04:00
Dmitry Antipov
81d40c9208 Use xfree, not free, to avoid crash with --enable-checking=xmallocoverrun. 2011-10-13 07:55:46 -07:00
Eli Zaretskii
e7e2364b7b Fix ChangeLog entry of last commit. 2011-10-13 14:01:59 +02:00
Eli Zaretskii
12587bbbc6 Fix the "C-x =" display of the character info for LRE, LRO, RLE, and RLO.
lisp/simple.el (what-cursor-position): Fix the display of the
 character info for LRE, LRO, RLE, and RLO characters, by appending a
 PDF to them.
2011-10-13 13:58:54 +02:00
Eli Zaretskii
d4172c3be9 Fix the change with paragraph_dir initialization.
src/bidi.c (bidi_init_it): Don't initialize paragraph_dir here, as
 some callers set that themselves.
 src/xdisp.c (Fcurrent_bidi_paragraph_direction): Initialize
 itb.paragraph_dir to NEUTRAL_DIR.  Fixes an occasional incorrect
 cursor motion with <left> and <right> arrow keys.
2011-10-13 13:17:32 +02:00
Glenn Morris
3e72c16e98 Auto-commit of generated files. 2011-10-13 06:18:32 -04:00
Eli Zaretskii
7850ac23ac etc/NEWS: Fix a typo. 2011-10-13 10:57:42 +02:00
Stefan Monnier
bad4122976 * lisp/emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
even in case of error; add debug spec; simplify data flow.
(with-timeout-handler): Remove.
2011-10-13 01:18:12 -04:00
Jay Belanger
2be4956d35 * calc.texi (Basic Operations on Units): Discuss temperature
conversion (`u t') alongside with other unit conversions ('u c').
2011-10-12 21:50:58 -05:00
Glenn Morris
fd8dea03e1 * configure.in: Also look for tputs in libcurses. (Bug#9736) 2011-10-12 22:16:59 -04:00
Eli Zaretskii
b00eea75d3 Fix bugs #9738 & 9739 with a display string that ends in 2 newlines.
src/xdisp.c (find_row_edges): Handle the case where ROW comes from a
 display string and the previous row comes from the same string and
 is empty.
2011-10-12 22:07:59 +02:00
Stefan Monnier
8fe012c4e6 * doc.c (get_doc_string): Encode file name.
Fixes: debbugs:9735
2011-10-12 15:08:04 -04:00
Michael Albinus
28dbc92f2c Fix Bug#6019, Bug#9315.
* files.el (set-auto-mode): Call `file-name-sans-versions' for the
complete `buffer-file-name', the local file name part could look
remotely (for example on VMS).

* net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
`tramp-run-real-handler'.
(ange-ftp-fix-name-for-vms): Handle the case, where `name' is
already quoted by '"'.

* net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
Let `file-name-handler-alist' be nil, the local file name part
could look remotely (for example on VMS).
2011-10-12 20:32:35 +02:00
Chong Yidong
e1a3f5b1c8 Updates to Mark chapter in Emacs manual.
* mark.texi (Mark): Clarify description of disabled Transient Mark
mode.
(Setting Mark): Document prefix arg for C-x C-x.  Document primary
selection changes.  Mention that commands like C-y set the mark.
(Marking Objects): Add xref to Words node.  Note that mark-word
and mark-sexp also have the "extend region" behavior.
(Using Region): Mention M-$ in the table.  Document
mark-even-if-inactive here instead of in Mark Ring.
(Mark Ring): Move mark-even-if-inactive to Using Region.  Take
note of the "Mark Set" behavior.
(Disabled Transient Mark): Rename from "Persistent Mark"
(Bug#9688).  Callers changed.

* programs.texi (Expressions):
* text.texi (Words): Defer to Marking Objects for mark-word doc.

Fixes: debbugs:9689
2011-10-12 13:38:34 -04:00
Eli Zaretskii
79beb1785a Remove incorrect comments about U+2028 LS character.
See http://www.unicode.org/mail-arch/unicode-ml/y2011-m10/0048.html
for more details.

 src/bidi.c (bidi_level_of_next_char):
 src/xdisp.c (get_visually_first_element): Remove old incorrect
 comments regarding the Unicode Line Separator character.
2011-10-12 17:12:52 +02:00
Eli Zaretskii
0074aef227 src/bidi.c (bidi_init_it): Initialize paragraph_dir to NEUTRAL_DIR. 2011-10-12 13:32:41 +02:00
Glenn Morris
06e690a2df Auto-commit of generated files. 2011-10-12 06:18:25 -04:00
Paul Eggert
f4cc5b5416 * configure.in: Remove check for -lintl (Bug#9713).
The check breaks 'configure' in some CentOS 5.7 x86 configurations.
The check was helpful but not essential in Solaris 2.6 (1997),
and is no longer needed in Solaris 8 (2000).  Solaris 2.6 is
obsolete -- Sun dropped support for it in 2006 -- and without
access to that Silurian platform we can't maintain the code anyway.
2011-10-11 23:56:23 -07:00
Dmitry Antipov
6e4b3fbe6d * alloc.c (Fgc_status): Do not access beyond zombies array
boundary if nzombies > MAX_ZOMBIES.
* alloc.c (dump_zombies): Add missing format specifier.
2011-10-11 23:09:40 -07:00
Paul Eggert
b5525cacc3 * xdisp.c (set_cursor_from_row): Simplify conditionals,
to pacify GCC 4.6.1 x86-64 with -O2 -Wstrict-overflow.
2011-10-11 22:50:15 -07:00
Paul Eggert
0324f3af3d * lread.c (read_escape): Allow hex escapes as large as ?\xfffffff.
Some packages use them to denote characters with modifiers.
2011-10-11 21:58:43 -07:00
Glenn Morris
7359a76538 * doc/misc/ert.texi: Whitespace trivia to make main menu items line up better. 2011-10-11 21:37:25 -07:00
Stefan Monnier
e1b0b23a7d * lisp/textmodes/flyspell.el (flyspell-word): Move with-local-quit from here...
(flyspell-post-command-hook): ...to here.
2011-10-11 22:48:40 -04:00
Stefan Monnier
a120bde923 Make sendmail-query-once offer 3-way choice; avoid repeated queries.
* mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
if not needed.
(sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
using completion.  Protect against "slow" callers.
Remove the "message hack".
2011-10-11 17:31:22 -04:00
Andreas Schwab
75d5291229 * lisp/gnus/html2text.el (html2text-clean-anchor): Check for quotes around
`href' value.
2011-10-11 22:20:08 +02:00