Jürgen Hötzel
d754b364fa
* net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
...
sequences.
2012-12-13 09:38:16 +01:00
Glenn Morris
727f973937
Merge from emacs-24; up to 2012-11-30T04:44:52Z!cyd@gnu.org
2012-12-12 21:29:15 -08:00
Stefan Monnier
eb8006c61f
* lisp/emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
...
(cl--symbol-function): Remove (now that funbound is like nil).
2012-12-12 20:46:47 -05:00
Katsumi Yamaoka
dd40b94746
gnus-start.el (gnus-before-resume-hook): Add :version
2012-12-13 00:52:17 +00:00
Glenn Morris
4c74b1e465
* lisp/button.el (button--area-button-p): Fix typo (defun is not defalias).
2012-12-12 17:39:29 -05:00
Katsumi Yamaoka
202c16d5f5
gnus.el (gnus-other-frame-resume-function): Add :version
2012-12-12 22:29:54 +00:00
Katsumi Yamaoka
5ea1a8d1ee
gnus-art.el (gnus-article-browse-html-parts): Use <div align="left"> instead of <pre> to align message header
2012-12-12 22:22:31 +00:00
Bastien Guerry
63aa098259
Merge upstream Org (from commit 488eea)
2012-12-12 17:47:07 +01:00
Sam Steingold
d0efe6ec5b
* lisp/gnus/gnus.el (gnus-other-frame-resume-function): Add user option.
...
(gnus-other-frame): Call `gnus-other-frame-resume-function' on resume.
2012-12-12 09:46:58 -05:00
Sam Steingold
37f38bca1d
* lisp/frame.el (frame-maximization-style): New user option.
...
(toggle-frame-maximized): Toggle frame maximization according to
`frame-maximization-style', bound to <f11>.
(cycle-frame-maximized): Cycle between all maximization styles and
non-maximized frame, bound to shift-<f11>.
2012-12-12 09:43:45 -05:00
David Cadé
fd49a2185f
* lisp/mpc.el (mpc-format): Use truncate-string-to-width.
...
Fixes: debbugs:13143
2012-12-12 09:42:03 -05:00
Jonas Bernoulli
69e1c203e9
* lisp/emacs-lisp/eieio.el: Prettier object pretty-printing.
...
(eieio-override-prin1): Don't quote kewords and booleans.
(object-write) <eieio-default-superclass>: Don't put closing parens
on new line, avoid needless empty lines, align values that are objects
with the slot keyword (instead of beginning on the same line).
(eieio-list-prin1): Align value with slot keyword; increase
eieio-print-depth before printing members of the list.
Fixes: debbugs:13115
2012-12-11 21:16:05 -05:00
Alan Mackenzie
14b8c3d926
Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841 .
...
cc-engine.el (c-backward-comments): Add code to work around
`forward-comment' not recognizing ^M as whitespace.
2012-12-11 19:06:57 +00:00
Stefan Monnier
030f4af55b
* lisp/mail/emacsbug.el (report-emacs-bug): Move the intangible text to
...
a display text-property.
(report-emacs-bug-hook): Don't bother deleting it any more.
2012-12-11 13:52:31 -05:00
Stefan Monnier
6ac1f8ca03
* lisp/hilit-chg.el (highlight-save-buffer-state): Delete.
...
Use with-silent-modifications instead.
(hilit-chg-set-face-on-change): Only fixup the text that's modified.
2012-12-11 13:51:27 -05:00
Stefan Monnier
4b0df84832
* lisp/button.el: Handle buttons in display text-properties.
...
(button--area-button-p, button--area-button-string):
Use (STRING . STRING-POS) representation instead of just STRING.
2012-12-11 13:49:25 -05:00
Eli Zaretskii
d46d2d3a70
Fix a typo in lisp/makefile.w32-in.
...
See http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00288.html
for the details.
lisp/makefile.w32-in (compile4-SH): Fix a typo that caused term
subdirectory be skipped.
2012-12-11 09:49:06 +02:00
Fabián Ezequiel Gallina
2c43a9adb2
* progmodes/python.el (python-skeleton-class)
...
(python-skeleton-def): Do not add space after defun name.
2012-12-11 04:22:55 -03:00
Glenn Morris
36327e4ffc
* lisp/net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2012-12-10 20:44:26 -08:00
Glenn Morris
a0099d31a6
Fix for indentation of f90 preproc lines embedded in continuations
...
* lisp/progmodes/f90.el (f90-line-continued, f90-indent-region):
Treat preprocessor lines embedded in continuations like comments.
(f90-indent-line): Special-case preprocessor lines.
* test/automated/f90.el (f90-test-bug13138): New test.
2012-12-10 20:42:49 -08:00
Jay Belanger
8c21bef6d1
* lisp/calc/calc-forms.el (calc-date-notation): Fix typo.
2012-12-10 20:37:36 -06:00
Jay Belanger
ff3f6c266a
* lisp/calc/calc.el (calc-standard-date-formats): Add more date
...
formats.
* lisp/calc/calc-forms.el (math-parse-iso-date): New function.
(math-parse-date): Use `math-parse-iso-date' when appropriate.
(math-parse-iso-date-validate): Add extra error checking.
(calc-date-notation): Add ability to access new date formats.
2012-12-10 20:29:21 -06:00
Stefan Monnier
ed6f2cd47f
* lisp/hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
...
font-lock as well as when there's no text-property.
2012-12-10 16:26:13 -05:00
Jambunathan K
c868b91923
* lisp/hi-lock.el: Refine the choice of default face.
...
(hi-lock-keyword->face): New function. Use it wherever we used
cadadadr instead.
(hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
(hi-lock--last-face): Remove var.
(hi-lock--unused-faces): New var to replace it.
(hi-lock-read-face-name): Use/maintain it.
(hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
(hi-lock-set-pattern): Ignore new rule if it has the same regexp even
if it has another face.
Fixes: debbugs:11095
2012-12-10 13:33:59 -05:00
Eli Zaretskii
2b8c906403
Final cleanups and updated ChangeLog entries.
2012-12-10 15:25:17 +02:00
Eli Zaretskii
3907e630a7
Merge from trunk + rename the event. Not tested yet.
2012-12-10 14:08:02 +02:00
Rüdiger Sonderfeld
81606b1050
Support filesystem notification through inotify on GNU/Linux.
...
configure.ac (inotify): New option.
(HAVE_INOTIFY): Test for inotify.
src/termhooks.h (enum event_kind) [HAVE_INOTIFY]: Add
FILE_NOTIFY_EVENT.
src/lisp.h (syms_of_inotify) [HAVE_INOTIFY]: Add prototype.
src/keyboard.c (Qfile_inotify) [HAVE_INOTIFY]: New variable.
(syms_of_keyboard): DEFSYM it.
(kbd_buffer_get_event) [HAVE_INOTIFY]: Generate FILE_NOTIFY_EVENT.
(make_lispy_event): Support FILE_NOTIFY_EVENT by generating
Qfile_inotify events.
(keys_of_keyboard) [HAVE_INOTIFY]: Bind file-inotify events in
special-event-map to inotify-handle-event.
src/emacs.c (main) [HAVE_INOTIFY]: Call syms_of_inotify.
src/Makefile.in (base_obj): Add inotify.o.
src/inotify.c: New file.
lisp/subr.el (inotify-event-p, inotify-handle-event): New functions.
test/automated/inotify-test.el: New test.
2012-12-10 06:17:21 -05:00
Glenn Morris
265c2fbf11
Merge from emacs-24; up to 2012-11-26T19:56:14Z!monnier@iro.umontreal.ca
2012-12-09 18:00:42 -08:00
Stefan Monnier
bad162fd1b
* lisp/emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2012-12-09 20:32:36 -05:00
Eli Zaretskii
ca065258cc
Parallelize byte compilation on MS-Windows.
...
lisp/makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
(WINS_BASIC4): New variables, subdivide subdirectories into 4
parts.
(WINS_BASIC): Define as concatenation of the above.
(compile): Subdivide into 4 separate and independent jobs that can
be run in parallel.
(compile0-CMD, compile0-SH): New targets for compiling
COMPILE_FIRST files, which are prerequisites for the rest of the
byte-compilation.
(compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD): New
targets for parallel compilation with cmd.exe.
(compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
compiling under a Unixy shell.
2012-12-09 23:32:12 +02:00
Chong Yidong
2c066ad3ae
* simple.el (set-mark-default-inactive): Mark for removal after 24.3.
2012-12-09 11:44:59 +08:00
Chong Yidong
5dea55d2fa
* simple.el (set-mark-default-inactive): Delete accidentally-introduced option.
...
(set-mark-command, exchange-point-and-mark): Remove calls.
2012-12-09 11:40:09 +08:00
Glenn Morris
c6c08d3f8f
Make eval-defun on a pre-defined defcustom call any :set function
...
* lisp/emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
Respect a defcustom's :set function, if appropriate.
(eval-defun): Doc fix.
* doc/lispref/customize.texi (Variable Definitions): Mention eval-defun
on a defcustom calls the :set function when appropriate.
* etc/NEWS: Mention this.
Fixes: debbugs:109
2012-12-08 17:04:43 -08:00
Juri Linkov
858aab4c02
* lisp/info.el (Info-copy-current-node-name, Info-breadcrumbs)
...
(Info-fontify-node, Info-bookmark-make-record): Remove the
file extension from Info-current-file.
Fixes: debbugs:13016
2012-12-09 01:12:08 +02:00
Dani Moncayo
6ce49f2459
* lisp/simple.el (just-one-space): Doc fix.
...
* doc/emacs/killing.texi (Deletion): Doc fix.
Fixes: debbugs:12748
2012-12-08 11:25:28 +08:00
Stefan Monnier
2e4ad7e5a4
* lisp/hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
...
point, still provide some default.
(hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
names, since we don't use it right now. Actually return the list.
(hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2012-12-07 11:48:42 -05:00
Chong Yidong
ffe7ba8f15
* novice.el (disabled-command-function): Remove a spurious help xref.
...
Suggested by Kelly Dean.
Fixes: debbugs:13043
2012-12-08 00:34:01 +08:00
Chong Yidong
454eb09524
* subr.el (text-clone-maintain): Fix clone overlay deletion
...
when a syntax is specified.
Fixes: debbugs:13025
2012-12-08 00:25:28 +08:00
Eli Zaretskii
8d43bd3023
Fix insertion of " inside @smallexample.
...
lisp/textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2012-12-07 17:52:40 +02:00
Chong Yidong
75498db059
* info.el (Info-set-mode-line): Remove file extension from Info-current-file
...
if there is one.
Fixes: debbugs:13016
2012-12-07 23:31:43 +08:00
Glenn Morris
3f1071c747
Auto-commit of loaddefs files.
2012-12-07 06:19:45 -05:00
Glenn Morris
54c8b5baf1
rmail-cease-edit fixes related to "^From " escaping
...
* mail/rmail.el (rmail-mime-decoded): New permanent local.
(rmail-show-message-1): Set rmail-mime-decoded when appropriate.
* mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
and rmail-mime-decoded.
Fixes: debbugs:9841
2012-12-07 00:59:14 -08:00
Le Wang
3a21537c13
* lisp/hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
...
narrowed buffer.
Fixes: debbugs:12361
2012-12-07 00:00:04 -05:00
Glenn Morris
8e0762cade
Fix :type in previous (un)rmail change, use a better :group
2012-12-06 20:57:43 -08:00
Glenn Morris
13a40633cf
Default to mboxrd in Rmail, allow mboxo as an option
...
* lisp/mail/unrmail.el (unrmail-mbox-format): New option.
(batch-unrmail, unrmail): Doc fixes.
(unrmail): Respect unrmail-mbox-format.
* lisp/mail/rmail.el (rmail-mbox-format): New option.
(rmail-show-message-1): Respect rmail-mbox-format.
* etc/NEWS: Related edits.
Fixes: debbugs:6574
2012-12-06 20:37:14 -08:00
Michael Heerdegen
610251116c
* lisp/emacs-lisp/debug.el (debug): Fix hard-coded frame counts.
...
Virtually backported from trunk.
Fixes: debbugs:10025
2012-12-06 23:31:24 -05:00
Stefan Monnier
4611a3cce7
* lisp/emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2012-12-06 22:56:57 -05:00
Juanma Barranquero
bf741d337c
lisp/vc/vc-hooks.el (vc-state): Doc fix.
2012-12-07 04:55:40 +01:00
Paul Eggert
f24f2e22aa
Spelling fixes.
2012-12-06 18:37:20 -08:00
Glenn Morris
0702616647
Further rmail.el fix for bug#13066
...
* lisp/mail/rmail.el (rmail-maybe-display-summary):
Preserve buffer, in case select-window changes it.
2012-12-06 16:41:32 -05:00