merge trunk
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * ido.el (ido-completions): Use extra elements of ido-decorations
4 (bug#14143).
5 (ido-decorations): Update docstring.
6
7 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8
9 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11 nil during initialization, in order not to miss changes since the
12 file was opened. (Bug#14140)
13
14 2013-04-05 Leo Liu <sdl.web@gmail.com>
15
16 * kmacro.el (kmacro-call-macro): Fix bug#14135.
17
18 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
19
20 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
21
22 2013-04-04 Glenn Morris <rgm@gnu.org>
23
24 * electric.el (electric-pair-inhibit-predicate): Add :version.
25
26 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
29 when a package is required several times (bug#14082).
30
31 2013-04-04 Roland Winkler <winkler@gnu.org>
32
33 * faces.el (read-face-name): Behave as promised by the docstring.
34 Assume that arg default is a list of faces.
35 (describe-face): Call read-face-name with list of default faces.
36
37 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
38
39 * bookmark.el: Fix deletion of bookmarks (bug#13972).
40 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
41 (bookmark-bmenu-execute-deletions): Only skip first line if it's
42 the header.
43 (bookmark-exit-hook-internal): Save even if list is empty.
44
45 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
46
47 * emacs-lisp/package.el (package-pinned-packages): New var.
48 (package--add-to-archive-contents): Obey it (bug#14118).
49
50 2013-04-03 Alan Mackenzie <acm@muc.de>
51
52 Handle `parse-partial-sexp' landing inside a comment opener
53 (Bug#13244). Also adapt to the new values of element 7 of a parse
54 state.
55
56 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
57 parameter `not-in-delimiter'. Handle being inside comment opener.
58 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
59 character in case we're typing a '*' after a '/'.
60 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
61 instead by passing the parameter to c-state-pp-to-literal.
62
63 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
64 for elt. 7 of a parse state.
65
66 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
67
68 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
69 * international/latin1-disp.el, international/mule-util.el:
70 * language/cyril-util.el, language/european.el, language/ind-util.el:
71 * language/lao-util.el, language/thai.el, language/tibet-util.el:
72 * language/tibetan.el, language/viet-util.el:
73 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
74
75 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
78 (electric-pair-post-self-insert-function): Use it.
79 (electric-pair-default-inhibit): New function, extracted from
80 electric-pair-post-self-insert-function.
81
82 2013-03-31 Roland Winkler <winkler@gnu.org>
83
84 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
85
86 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
89
90 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
91
92 Un-indent after "pass" and "return" statements (Bug#13888)
93 * progmodes/python.el (python-indent-block-enders): New var.
94 (python-indent-calculate-indentation): Use it.
95
96 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
97
98 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
99 defun. Defining it as defalias could introduce too eager
100 byte-compiler optimization. (Bug#14030)
101
102 2013-03-30 Chong Yidong <cyd@gnu.org>
103
104 * iswitchb.el (iswitchb-read-buffer): Fix typo.
105
106 2013-03-30 Leo Liu <sdl.web@gmail.com>
107
108 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
109 (kmacro-execute-from-register): Pass the keyboard macro to
110 kmacro-call-macro or repeating won't work correctly.
111
112 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
113
114 * progmodes/subword.el: Back to using `forward-symbol'.
115
116 * subr.el (forward-whitespace, forward-symbol)
117 (forward-same-syntax): Move from thingatpt.el.
118
119 2013-03-29 Leo Liu <sdl.web@gmail.com>
120
121 * kmacro.el (kmacro-to-register): New command.
122 (kmacro-execute-from-register): New function.
123 (kmacro-keymap): Bind to 'x'. (Bug#14071)
124
125 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
126
127 * mpc.el: Use defvar-local and setq-local.
128 (mpc--proc-connect): Connection failures are not bugs.
129 (mpc-mode-map): `follow-link' only applies to the buffer's content.
130 (mpc-volume-map): Bind to the up-events.
131
132 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
133
134 * progmodes/subword.el (superword-mode): Use `forward-sexp'
135 instead of `forward-symbol'.
136
137 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
138
139 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
140 (edebug--recursive-edit): Use it.
141 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
142 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
143
144 2013-03-28 Leo Liu <sdl.web@gmail.com>
145
146 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
147
148 2013-03-27 Eli Zaretskii <eliz@gnu.org>
149
150 * facemenu.el (list-colors-callback): New defvar.
151 (list-colors-redisplay): New function.
152 (list-colors-display): Install list-colors-redisplay as the
153 revert-buffer-function. (Bug#14063)
154
155 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
158 and suffixes don't overlap (bug#14061).
159
160 * case-table.el: Use lexical-binding.
161 (case-table-get-table): New function.
162 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
163
164 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
165
166 * progmodes/subword.el: Add `superword-mode' to do word motion
167 over symbol_words (parallels and leverages `subword-mode' which
168 does word motion inside MixedCaseWords).
169
170 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
171
172 * eshell/em-unix.el: Move su and sudo to...
173 * eshell/em-tramp.el: ...Eshell tramp module
174
175 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
176
177 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
178 Change return value to be a sexp. Delay `get-buffer' to after
179 restoring the desktop (bug#13951).
180
181 2013-03-26 Leo Liu <sdl.web@gmail.com>
182
183 * register.el: Move semantic tag handling back to
184 cedet/semantic/senator.el. (Bug#14052)
185
186 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
189 into the prompt either (bug#13963).
190
191 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
194 part of "(error-foo)".
195
196 2013-03-24 Juri Linkov <juri@jurta.org>
197
198 * replace.el (list-matching-lines-prefix-face): New defcustom.
199 (occur-1): Pass `list-matching-lines-prefix-face' to the function
200 `occur-engine' if `face-differs-from-default-p' returns t.
201 (occur-engine): Add `,' inside backquote construct to evaluate
202 `prefix-face'. Propertize the prefix with the `prefix-face' face.
203 Pass `prefix-face' to the functions `occur-context-lines' and
204 `occur-engine-add-prefix'.
205 (occur-engine-add-prefix, occur-context-lines): Add optional arg
206 `prefix-face' and propertize the prefix with `prefix-face'.
207 (Bug#14017)
208
209 2013-03-24 Leo Liu <sdl.web@gmail.com>
210
211 * nxml/rng-valid.el (rng-validate-while-idle)
212 (rng-validate-quick-while-idle): Guard against deleted buffer.
213 (Bug#13999)
214
215 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
216 is the last entry in kill-buffer-hook.
217
218 * files.el (kill-buffer-hook): Doc fix.
219
220 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
221
222 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
223 Make it safe-local.
224
225 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
226
227 2013-03-23 Leo Liu <sdl.web@gmail.com>
228
229 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
230 Remove.
231
232 * nxml/rng-valid.el (rng-validate-mode)
233 (rng-after-change-function, rng-do-some-validation):
234 * nxml/rng-maint.el (rng-validate-buffer):
235 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
236 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
237 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
238 (nxml-extend-after-change-region): Use with-silent-modifications.
239
240 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
241 timer-idle-list.
242
243 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
244 (rng-next-error-1, rng-previous-error-1): Do not let-bind
245 timer-idle-list. (Bug#13999)
246
247 2013-03-23 Juri Linkov <juri@jurta.org>
248
249 * info.el (info-index-match): New face.
250 (Info-index, Info-apropos-matches): Add a nested subgroup to the
251 main pattern and add text properties with the new face to matches
252 in index entries relative to the beginning of the index entry.
253 (Bug#14015)
254
255 2013-03-21 Eric Ludlam <zappo@gnu.org>
256
257 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
258 Inhibit read only while inserting objects.
259
260 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
261
262 * progmodes/cfengine.el: Update docs to mention
263 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
264 symbol motion. Remove "_" from the word syntax.
265
266 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
267
268 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
269 syntax for both `cfengine2-mode' and `cfengine3-mode'.
270
271 2013-03-20 Juri Linkov <juri@jurta.org>
272
273 * info.el (Info-next-reference-or-link)
274 (Info-prev-reference-or-link): New functions.
275 (Info-next-reference, Info-prev-reference): Use them.
276 (Info-try-follow-nearest-node): Handle footnote navigation.
277 (Info-fontify-node): Fontify footnotes. (Bug#13989)
278
279 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
282 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
283
284 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
285
286 Suppress unnecessary non-ASCII chatter during build process.
287 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
288 (batch-skkdic-convert): Suppress most of the chatter.
289 It's not needed so much now that machines are faster,
290 and its non-ASCII component was confusing; see Dmitry Gutov in
291 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
292
293 2013-03-20 Leo Liu <sdl.web@gmail.com>
294
295 * ido.el (ido-chop): Fix bug#10994.
296
297 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
298
299 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
300 Remove vars.
301 (whitespace-color-on, whitespace-color-off):
302 Use `font-lock-fontify-buffer' (Bug#13817).
303
304 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
307 remapping in mode-line.
308 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
309
310 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
311
312 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
313 value for `whitespace-line' face (Bug#13875).
314 (whitespace-font-lock-keywords): Change description.
315 (whitespace-color-on): Don't save `font-lock-keywords' value, save
316 the constructed keywords instead.
317 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
318
319 2013-03-19 Leo Liu <sdl.web@gmail.com>
320
321 * progmodes/compile.el (compilation-display-error): New command.
322 (compilation-mode-map, compilation-minor-mode-map): Bind it to
323 C-o. (Bug#13992)
324
325 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
326
327 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
328
329 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
330
331 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
332
333 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
334
335 * net/tramp-compat.el (tramp-compat-user-error): New defun.
336
337 * net/tramp-adb.el (tramp-adb-handle-shell-command):
338 * net/tramp-gvfs.el (top):
339 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
340 (tramp-handle-shell-command): Use it.
341 (tramp-dissect-file-name): Raise an error when hostname is a
342 method name, and neither method nor user is specified.
343
344 * net/trampver.el: Update release number.
345
346 2013-03-18 Leo Liu <sdl.web@gmail.com>
347
348 Make sure eldoc can be turned off properly.
349 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
350 eldoc-mode.
351 (eldoc-display-message-p): Revert last change.
352 (eldoc-display-message-no-interference-p)
353 (eldoc-print-current-symbol-info): Tweak.
354
355 2013-03-18 Tassilo Horn <tsdh@gnu.org>
356
357 * doc-view.el (doc-view-new-window-function): Check the new window
358 overlay's display property instead the char property of the
359 buffer's first char. Use `with-selected-window' instead of
360 `save-window-excursion' with `select-window'.
361 (doc-view-document->bitmap): Check the current doc-view overlay's
362 display property instead the char property of the buffer's first char.
363
364 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
365
366 Automate the build of ja-dic.el (Bug#13984).
367 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
368 from the input, rather than assume that it's been done for us by the
369 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
370 the current date into a ja-dic.el comment, as that complicates
371 regression testing.
372
373 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * whitespace.el: Fix double evaluation.
376 (whitespace-space, whitespace-hspace, whitespace-tab)
377 (whitespace-newline, whitespace-trailing, whitespace-line)
378 (whitespace-space-before-tab, whitespace-indentation)
379 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
380 obsolete defvars.
381 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
382 (whitespace-color-on): Use a single font-lock-add-keywords call.
383 Fix double-evaluation of face variables.
384
385 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
386
387 * net/tramp-adb.el (tramp-adb-parse-device-names):
388 Use `start-process' instead of `call-process'. Otherwise, the
389 function might be blocked under MS Windows. (Bug#13299)
390
391 2013-03-17 Leo Liu <sdl.web@gmail.com>
392
393 Extend eldoc to display info in the mode-line. (Bug#13978)
394 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
395 (eldoc-mode-line-string): New variable.
396 (eldoc-minibuffer-message): New function.
397 (eldoc-message-function): New variable.
398 (eldoc-message): Use it.
399 (eldoc-display-message-p)
400 (eldoc-display-message-no-interference-p):
401 Support eldoc-post-insert-mode.
402
403 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
404 (eval-expression): Run it.
405
406 2013-03-17 Roland Winkler <winkler@gnu.org>
407
408 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
409 strings in the list of return values.
410
411 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
412
413 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
414 radix before checking for HMS forms.
415
416 2013-03-16 Leo Liu <sdl.web@gmail.com>
417
418 * progmodes/scheme.el: Add indentation and font-locking for λ.
419 (Bug#13975)
420
421 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
424 token before point (bug#13942).
425
426 2013-03-16 Leo Liu <sdl.web@gmail.com>
427
428 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
429
430 2013-03-16 Eli Zaretskii <eliz@gnu.org>
431
432 * startup.el (command-line-normalize-file-name): Fix handling of
433 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
434 <xfq.free@gmail.com> in
435 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
436
437 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
438
439 Sync with Tramp 2.2.7.
440
441 * net/trampver.el: Update release number.
442
443 2013-03-14 Tassilo Horn <tsdh@gnu.org>
444
445 * doc-view.el Fix bug#13887.
446 (doc-view-insert-image): Don't modify overlay associated to
447 non-live windows, and implement horizontal centering of image in
448 case it's smaller than the window.
449 (doc-view-new-window-function): Force redisplay of new windows on
450 doc-view buffers.
451
452 2013-03-13 Karl Fogel <kfogel@red-bean.com>
453
454 * saveplace.el (save-place-alist-to-file): Don't sort
455 `save-place-alist', just pretty-print it (bug#13882).
456
457 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
458
459 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
460 whether `default-file-name-coding-system' is bound. It isn't in
461 XEmacs.
462
463 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
466 backquotes for `obsolete' (bug#13929).
467
468 * international/mule.el (find-auto-coding): Include file name in
469 obsolescence warning (bug#13922).
470
471 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
472
473 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
474 for CFEngine 3-specific indentation.
475 (cfengine3-indent-line): Use it. Fix up category regex.
476 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
477
478 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * type-break.el (type-break-file-name):
481 * textmodes/remember.el (remember-data-file):
482 * strokes.el (strokes-file):
483 * shadowfile.el (shadow-initialize):
484 * saveplace.el (save-place-file):
485 * ps-bdf.el (bdf-cache-file):
486 * progmodes/idlwave.el (idlwave-config-directory):
487 * net/quickurl.el (quickurl-url-file):
488 * international/kkc.el (kkc-init-file-name):
489 * ido.el (ido-save-directory-list-file):
490 * emulation/viper.el (viper-custom-file-name):
491 * emulation/vip.el (vip-startup-file):
492 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
493 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
494
495 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
496
497 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
498 * language/thai-word.el: Switch to UTF-8.
499
500 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
503
504 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
505
506 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
507 Use with-current-buffer and don't move point.
508 (net-utils-run-simple): Remove useless code.
509 (net-utils-remove-ctl-m): Remove unused custom.
510
511 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
512
513 * international/characters.el (glyphless-set-char-table-range): New fun.
514 (update-glyphless-char-display): Use it (bug#13744).
515
516 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
517
518 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
519 namespaces in the syntax, indent closer for hanging brace
520 correctly, allow single-quote delimited 'strings', and make
521 `cfengine3-mode' the default.
522
523 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
524
525 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
526 Use lexical-binding. Fix up docstring according to conventions.
527 (gdbmi-debug-mode): New var.
528 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
529 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
530 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
531 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
532 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
533 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
534 (gdbmi-bnf-incomplete-record-result): New functions.
535 (gdb-car<): Remove function.
536 (gdbmi-record-list): Remove variable.
537 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
538 (gdbmi-bnf-result-state-configs): New const.
539 (gud-gdbmi-marker-filter): Rewrite.
540 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
541 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
542 Add `token' argument.
543 (gdb-done, gdb-error): New functions.
544 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
545
546 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * term/xterm.el (xterm--report-background-handler): Don't burp
549 upon timeout.
550 (xterm--version-handler): Extract from terminal-init-xterm.
551 (xterm--query): Don't mishandle timeout. Remove debugging messages.
552 Allow multiple handlers.
553 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
554
555 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
556 (xterm--report-background-handler, xterm--query): New functions.
557 (terminal-init-xterm): Use them.
558
559 2013-03-11 Michael R. Mauger <michael@mauger.com>
560
561 * progmodes/sql.el Version 3.2
562 Please note that my address changed to <michael@mauger.com>;
563 the <mmaug@yahoo.com> address remains active.
564 (sql-connection-alist): Updates documentation to fix bug#13715.
565 (sql-connect): Handle missing `sql-connection-alist' correctly.
566 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
567 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
568 property.
569 (sql-default-value): New function.
570 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
571 values were not used.
572 (sql-rename-buffer): Make sure alternate buffer name has no text
573 properties.
574 (sql-input-sender, sql-execute-feature): Fetch variable with
575 `buffer-local-value' rather than `with-current-buffer'.
576 (sql-*): Use #' function syntax consistently.
577 (sql-*): Use message/error/user-error consistently.
578
579 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * xt-mouse.el (xterm-mouse-event-read): Remove.
582 (xterm-mouse--read-event-sequence-1000)
583 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
584
585 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * term/xterm.el (xterm-function-map): Support format used with
588 formatOtherKeys=1 (bug#13839).
589
590 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
591 (with-no-warnings): Use `declare'.
592
593 * whitespace.el (whitespace-enable-predicate): New variable.
594 (whitespace-enable-predicate): Use it.
595
596 * comint.el (comint-send-input, comint-snapshot-last-prompt)
597 (comint-output-filter, comint-update-fence):
598 Use with-silent-modifications.
599
600 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
601
602 * replace.el (occur-read-regexp-defaults-function): New var.
603 (occur-read-regexp-defaults): New defun.
604 (occur-read-primary-args): Propagate above change (bug#13892).
605
606 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
607
608 * mouse.el (mouse-drag-track): Remove left-over debugging code.
609
610 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
611
612 Major rewrite due to changed D-Bus interface of GVFS 1.14.
613
614 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
615 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
616 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
617 New defconst.
618 (tramp-gvfs-file-name-handler-alist) [directory-files]
619 [directory-files-and-attributes, file-exists-p, file-modes]:
620 Use Tramp default handler.
621 [file-acl, file-selinux-context, process-file, set-file-acl]:
622 [set-file-modes, set-file-selinux-context, shell-command]:
623 [start-file-process]: Remove handler.
624 [verify-visited-file-modtime]: New handler.
625 (tramp-gvfs-dbus-string-to-byte-array)
626 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
627 calls of `dbus-string-to-byte-array' and
628 `tramp-gvfs-dbus-byte-array-to-string'.
629 (tramp-gvfs-handle-copy-file)
630 (tramp-gvfs-handle-delete-directory)
631 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
632 (tramp-gvfs-handle-file-directory-p)
633 (tramp-gvfs-handle-file-executable-p)
634 (tramp-gvfs-handle-file-name-all-completions)
635 (tramp-gvfs-handle-file-readable-p)
636 (tramp-gvfs-handle-file-writable-p)
637 (tramp-gvfs-handle-insert-directory)
638 (tramp-gvfs-handle-insert-file-contents)
639 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
640 (tramp-gvfs-handle-set-visited-file-modtime)
641 (tramp-gvfs-handle-write-region): Rewrite.
642 (tramp-gvfs-handle-file-acl)
643 (tramp-gvfs-handle-file-selinux-context)
644 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
645 (tramp-gvfs-handle-set-file-modes)
646 (tramp-gvfs-handle-set-file-selinux-context)
647 (tramp-gvfs-handle-shell-command)
648 (tramp-gvfs-handle-start-file-process)
649 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
650 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
651 over the symlinks. Fix user handling.
652 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
653 of the D-Bus signals.
654 (tramp-gvfs-connection-mounted-p): Handle different names of the
655 D-Bus methods.
656 (tramp-gvfs-mount-spec-entry): New defun.
657 (tramp-gvfs-mount-spec): Use it.
658 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
659 there is a share name. Handle different names of the D-Bus
660 signals and methods. Set connection properties needed for
661 `tramp-check-cached-permissions'.
662 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
663 Return t or nil.
664
665 * net/tramp.el (tramp-backtrace): Move up.
666 (tramp-error): Dump a backtrace into the debug buffer when
667 `tramp-verbose > 9.
668 (tramp-file-mode-type-map, tramp-file-mode-from-int)
669 (tramp-file-mode-permissions, tramp-get-local-uid)
670 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
671 tramp-sh.el.
672
673 * net/tramp-sh.el (tramp-file-mode-type-map)
674 (tramp-check-cached-permissions, tramp-file-mode-from-int)
675 (tramp-file-mode-permissions, tramp-get-local-uid)
676 (tramp-get-local-gid): Move to tramp.el.
677
678 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
679
680 Separate mouse-1-click-follows-link from mouse-drag-region.
681 * mouse.el (mouse--down-1-maybe-follows-link): New function.
682 (key-translation-map): Use it to implement mouse-1-click-follows-link.
683 (mouse-drag-line, mouse-drag-track):
684 Remove mouse-1-click-follows-link code.
685 (mouse--remap-link-click-p): Remove.
686
687 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
688
689 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
690 (hi-lock-read-regexp-defaults): New defun.
691 (hi-lock-line-face-buffer, hi-lock-face-buffer)
692 (hi-lock-face-phrase-buffer): Propagate above change.
693 Update docstring (bug#13892).
694
695 * subr.el (find-tag-default-as-regexp): New defun.
696 * replace.el (read-regexp): Propagate above change.
697
698 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
699
700 * calc/calc-units.el (calc-convert-units): Fix the way that default
701 new units are stored.
702
703 2013-03-07 Matthias Meulien <orontee@gmail.com>
704
705 * bookmark.el: Define a face to highlight bookmark names in
706 bookmark menu buffers, where the default is a bold face similarly
707 to buffer names in buffer menu buffers.
708 (bookmark-menu-bookmark): New face to highlight bookmark names.
709 (bookmark-insert-location): Remove duplicated text property to
710 conform to buffer list (see `list-buffers').
711 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
712 `bookmark-menu-bookmark' to bookmark names.
713
714 2013-03-07 Matthias Meulien <orontee@gmail.com>
715 Karl Fogel <kfogel@red-bean.com>
716
717 * bookmark.el: Display the bookmark list header similarly to the
718 buffer list header (see `list-buffers'), where the default is now
719 an immovable/immutable header line.
720 (bookmark-bmenu-use-header-line): New variable.
721 (bookmark-bmenu-inline-header-height): New name for
722 `bookmark-bmenu-header-height', to avoid confusion with the code
723 for the new immovable header. All references changed.
724 (bookmark-bmenu-set-header): New function.
725 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
726 Conditionalize header construction accordingly.
727 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
728 the inline header height.
729 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
730 Conditionalize the skipping of the inline header height.
731
732 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
733
734 * progmodes/js.el (js--multi-line-declaration-indentation):
735 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
736
737 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
738
739 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
740 Only propertize regexp when not inside a string (Bug#13885).
741
742 2013-03-06 Alan Mackenzie <acm@muc.de>
743
744 Correct the position of point in some line-up functions.
745 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
746 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
747 point at column 0 rather than at a random place in the line.
748
749 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
750
751 * net/tramp-compat.el (tramp-compat-delete-directory):
752 Implement TRASH argument.
753
754 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
755
756 Keep pre-existing highlighting in completion candidates (Bug#13250).
757 * minibuffer.el (completions-first-difference): State that the
758 face is "added" in the docstring.
759 (completions-common-part): Same. And don't inherit from default.
760 (completion-hilit-commonality): Prepend 'completions-common-part
761 and 'completion-first-difference faces to the 'face property,
762 instead of replacing the value(s).
763 (completion--insert-strings): Same with 'completions-annotations face.
764 (completion-hilit-commonality): Use 'face instead of
765 'font-lock-face, because it gets priority if the completion
766 strings already have 'face set.
767
768 2013-03-04 Alan Mackenzie <acm@muc.de>
769
770 Replace `last-command-event' by `last-command-char' in XEmacs.
771 * progmodes/cc-defs.el (c-last-command-char): New macro.
772 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
773 (c-semi&comma-no-newlines-before-nonblanks)
774 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
775 in place of `last-command-event'.
776 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
777 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
778 (c-electric-paren, c-electric-continued-statement): Use the new
779 macro in place of `last-command-event'.
780
781 2013-03-04 Glenn Morris <rgm@gnu.org>
782
783 * files.el (inhibit-local-variables-regexps):
784 Add .diff and .patch. (Bug#13862)
785
786 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
787
788 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
789 whether the "su" command is available on the device.
790
791 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
792
793 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
794 (tramp-adb-handle-process-file): Remove superfluous setting.
795 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
796 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
797 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
798
799 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
802 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
803 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
804 Use dict-key rather than dict-name for the error message.
805
806 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
807
808 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
809 when reverting (bug#13831).
810
811 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
812
813 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
814 Always expand affix-file before storing to protect against changed
815 `default-directory'.
816 (ispell-print-if-debug): Make sure message is printed at the end
817 of the debug buffer.
818
819 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
820
821 * net/tramp.el (tramp-obsolete-methods): New defconst.
822 (tramp-warned-obsolete-methods): New defvar.
823 (tramp-find-method): Check for obsolete methods. Map them to a
824 replacement method if appropriate.
825
826 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
827 Remove methods.
828 (top): Remove completion functions for "scp1", "scp2", "ssh1",
829 "ssh2" and "plink1".
830
831 2013-02-28 Dale Sedivec <dale@codefu.org>
832
833 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
834 Return valid syntax-table property value when converting
835 quotes within text from string syntax to punctuation syntax (bug#13844).
836
837 2013-02-28 Juri Linkov <juri@jurta.org>
838
839 * dired-aux.el (dired-diff): If file at point is a backup file,
840 use its original as the default value, and reverse the order
841 of arguments to the `diff' call. Doc fix. (Bug#13772)
842
843 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
844
845 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
846 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
847
848 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
849
850 Initial support for hunspell dictionaries auto-detection (Bug#13639)
851
852 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
853 Ask hunspell about available and default dictionaries.
854 (ispell-parse-hunspell-affix-file): Extract relevant info from
855 hunspell affix file.
856 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
857 `ispell-dictionary-alist' entry for given dictionary after info
858 provided by `ispell-parse-hunspell-affix-file'.
859 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
860 of parsed hunspell dicts and associated affix files.
861 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
862 of parsed hunspell dicts and associated parameters.
863 (ispell-set-spellchecker-params):
864 Call `ispell-find-hunspell-dictionaries' if hunspell and not
865 previously done.
866 (ispell-start-process):
867 Call `ispell-hunspell-fill-dictionary-entry' for current
868 dictionary if it is not initialized.
869
870 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
871
872 * imenu.el: Comment nitpicks.
873
874 2013-02-28 Sam Steingold <sds@gnu.org>
875
876 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
877 See <http://stackoverflow.com/questions/14720205>.
878
879 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
880
881 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
882 (net-utils-mode): Use it.
883 (net-utils--revert-cmd): New var.
884 (net-utils-run-simple): Set it, and remove bogus interactive spec.
885 (traceroute): Use net-utils-run-simple.
886
887 2013-02-28 Glenn Morris <rgm@gnu.org>
888
889 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
890
891 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
894 (doc-view-fallback-mode): Remove overlays here.
895 (doc-view-toggle-display): Instead of here. Don't throw away
896 image-mode-winprops-alist.
897 (doc-view-goto-page): Don't mess with hscroll.
898
899 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
900
901 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
902 &optional (bug#13819).
903
904 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
905
906 * net/tramp-adb.el (tramp-adb-parse-device-names)
907 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
908
909 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
910
911 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
912 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
913 defined. POSIX environments fall back to the "C" locale then and
914 emit a warning, which shall be suppressed.
915
916 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
917
918 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
919 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
920
921 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
924
925 2013-02-25 Juri Linkov <juri@jurta.org>
926
927 * replace.el (read-regexp): Let-bind `default' to the first
928 element of `defaults' if it's a list, otherwise it should be
929 a string or nil. Let-bind `suggestions' to `defaults' if it's
930 a list, otherwise make a list with the string value. Doc fix.
931 (Bug#13805)
932
933 2013-02-25 Eli Zaretskii <eliz@gnu.org>
934
935 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
936 that match "\`\.#", to avoid compiling lock files, even if they
937 are readable (as they are on MS-Windows).
938
939 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
940
941 * files.el (basic-save-buffer): Remove redundant directory-creation.
942
943 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
944
945 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
946 Add option to force `pi' to remain symbolic.
947 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
948 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
949 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
950 derivatives, when necessary.
951
952 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
953
954 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
955 (ps-mode-octal-region): Use string-make-unibyte.
956
957 2013-02-23 Glenn Morris <rgm@gnu.org>
958
959 * emulation/viper-cmd.el (viper-submit-report):
960 * progmodes/ps-mode.el (ps-mode-maintainer-address):
961 * progmodes/vera-mode.el (vera-mode-help-address):
962 * textmodes/artist.el (artist-maintainer-address):
963 * textmodes/reftex.el (reftex-report-bug):
964 * vc/ediff-util.el (ediff-submit-report):
965 Add bug-gnu-emacs to bug report address.
966
967 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
968 Remove bug report entries.
969 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
970
971 * emacs-lisp/bytecomp.el (byte-compile-level): New.
972 (byte-compile-file, byte-compile-from-buffer):
973 Use separate input/output buffers for each level of recursive
974 byte-compile-file calls. (Bug#13787)
975
976 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
977
978 * net/tramp.el (tramp-methods): Fix docstring.
979 (tramp-ssh-controlmaster-options): Rename it from
980 `tramp-ssh-controlmaster-template'. Return a string.
981 (tramp-default-method): Adapt check for
982 `tramp-ssh-controlmaster-options'.
983
984 * net/tramp-sh.el (tramp-methods):
985 Replace `tramp-ssh-controlmaster-template' by "%c".
986 (tramp-do-copy-or-rename-file-out-of-band)
987 (tramp-maybe-open-connection): Use it in format spec. Ensure,
988 that it is applied for the first hop only.
989
990 2013-02-22 Juri Linkov <juri@jurta.org>
991
992 * isearch.el (isearch-lazy-highlight-new-loop):
993 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
994 to `isearch-other-end' if it is not nil. (Bug#13402)
995
996 * replace.el (replace-highlight): Let-bind `isearch-other-end'
997 to `match-beg'.
998
999 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1000 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1001 and `isearch-error' to nil.
1002
1003 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1004
1005 * progmodes/python.el (python-info-current-defun):
1006 Enhance match-data cluttering prevention.
1007
1008 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1009
1010 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1011
1012 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1013 Handle multibyte file names.
1014
1015 2013-02-22 Glenn Morris <rgm@gnu.org>
1016
1017 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1018 (sgml-transformation-function): Give it a :set function.
1019 (sgml-tag): Doc fix.
1020
1021 * cmuscheme.el (scheme-buffer):
1022 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1023 * progmodes/tcl.el (inferior-tcl-buffer):
1024 * textmodes/tex-mode.el (tex-command): Doc fixes.
1025
1026 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1027
1028 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1029
1030 2013-02-21 Bastien Guerry <bzg@gnu.org>
1031
1032 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1033
1034 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1035
1036 * progmodes/python.el (python-info-current-defun):
1037 Enhance match-data cluttering prevention.
1038
1039 2013-02-21 Glenn Morris <rgm@gnu.org>
1040
1041 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1042 loaded while outline-regexp is let bound. (Bug#9584)
1043
1044 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1045
1046 * progmodes/python.el (python-info-current-defun): Fix failed
1047 defun name retrieval because of unwanted match-data cluttering.
1048
1049 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1050
1051 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1052 defconst. Apply independent check for ControlPersist.
1053
1054 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1055 temporarily, via "env".
1056
1057 2013-02-21 Glenn Morris <rgm@gnu.org>
1058
1059 * info.el (Info-enable-edit): Remove.
1060 (Info-edit): Disable it rather than using Info-enable.
1061 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1062 (Info-cease-edit): Make editing of Info files obsolete.
1063
1064 * informat.el (Info-tagify):
1065 Handle buffers not visiting files. (Bug#13763)
1066
1067 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1068
1069 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1070
1071 2013-02-21 Glenn Morris <rgm@gnu.org>
1072
1073 * files.el (basic-save-buffer): Move check for existing parent
1074 directory after hooks. (Bug#13773)
1075
1076 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * simple.el (command-execute): Move from C. Add obsolete check.
1079 (extended-command-history): Move from C.
1080
1081 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1082
1083 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1084 (jka-compr-mode-alist-additions): Handle .txz suffix for
1085 XZ-compressed tar archives (bug#13770).
1086
1087 2013-02-20 Bastien Guerry <bzg@gnu.org>
1088
1089 * outline.el (outline-regexp, outline-heading-end-regexp):
1090 Make variables, not options (bug#13731).
1091
1092 2013-02-20 Glenn Morris <rgm@gnu.org>
1093
1094 * image.el (image-current-frame): Change from variable to function.
1095 (image-show-frame): Rename from image-nth-frame. Update callers.
1096 * image-mode.el (image-multi-frame): New variable.
1097 (image-mode-map, image-mode, image-goto-frame):
1098 Use image-multi-frame rather than image-current-frame.
1099 (image-mode, image-goto-frame): Use image-current-frame as
1100 function rather than as variable.
1101
1102 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1103 * emacs-lisp/cl-macs.el (cl--make-type-test)
1104 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1105
1106 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1107
1108 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1109 (tramp-get-file-property, tramp-set-file-property)
1110 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1111 (tramp-flush-file-property, tramp-flush-directory-property):
1112 Rename argument to KEY.
1113 (tramp-flush-connection-property): Simplify a little bit.
1114 (tramp-connection-property-p): New defun.
1115 (top): Reapply saved values only if there isn't a corresponding
1116 entry in `tramp-connection-properties'.
1117
1118 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1119
1120 * progmodes/python.el (python-indent-context):
1121 Fix python-info-line-ends-backslash-p call.
1122 (python-info-line-ends-backslash-p)
1123 (python-info-beginning-of-backslash): Respect line-number argument.
1124 (python-info-current-line-comment-p):
1125 Fix behavior when not at beginning-of-line.
1126 (python-util-position): Remove function.
1127 (python-util-goto-line): New function.
1128
1129 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1130
1131 * eshell/em-unix.el (eshell/su): Require tramp.
1132 (eshell/sudo): Require tramp. Remove now unnecessary check.
1133
1134 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1135 `tramp-current-connection' in order to avoid an error when several
1136 commands are invoked in a short time in eshell and friends.
1137
1138 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1139
1140 Cleanup some of EIEIO's namespace.
1141 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1142 Use it to define all the class-* and object-* field accessors (renamed
1143 to eieio--class-* and eieio--object-*). Update all uses.
1144 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1145 class-num-slots and object-num-slots.
1146 (eieio--check-type): New macro.
1147 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1148 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1149 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1150 (object-assoc-list-safe): Use it.
1151 (eieio-defclass): Tighten regexp.
1152 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1153 Remove unreachable code.
1154 (object-class-fast): Declare obsolete.
1155 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1156 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1157 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1158 Rename from class-name, object-name, object-set-name-string,
1159 object-class, object-class-name, class-parents, class-children,
1160 class-precedence-list, class-parent; with obsolete alias.
1161 (class-of, class-direct-superclasses, class-direct-subclasses):
1162 Declare obsolete.
1163 (eieio-defmethod): Use `memq'; remove unreachable code.
1164 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1165 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1166 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1167
1168
1169 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1170
1171 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1172 commentary.
1173
1174 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1175
1176 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1177 Use font-lock-keyword-face for macros and special forms (bug#8345).
1178
1179 2013-02-17 Didier Verna <didier@didierverna.net>
1180
1181 * net/network-stream.el (network-stream-open-starttls):
1182 Check that response to the starttls-command is non-nil. (Bug#13706)
1183
1184 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1187 Don't assume all identifier chars have syntax word.
1188 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1189 Remove bar-not-symbol. Adjust callers.
1190 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1191
1192 2013-02-17 Leo Liu <sdl.web@gmail.com>
1193
1194 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1195
1196 2013-02-17 Glenn Morris <rgm@gnu.org>
1197
1198 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1199
1200 * image-mode.el (image-mode-map): Add image-dired menu entry.
1201
1202 * image-dired.el (tumme): Make this alias obsolete.
1203
1204 2013-02-16 Glenn Morris <rgm@gnu.org>
1205
1206 * image.el (image-animated-types): Remove.
1207 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1208 (image-animated-p): Make obsolete alias.
1209 (image-animate, image-nth-frame, image-animate-timeout):
1210 Use image-multi-frame-p.
1211 (image-animate-timeout): If no delay, use image-default-frame-delay.
1212 * image-mode.el (image-mode, image-toggle-animation):
1213 Use image-multi-frame-p. (Bug#763, bug#10739)
1214 (image-mode): Adjust startup message for a multi-frame image.
1215
1216 * image-mode.el (image-mode-map): Give it a menu.
1217
1218 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1219
1220 * net/tramp-cache.el (tramp-connection-properties): New customer
1221 option.
1222 (tramp-get-connection-property): Use it.
1223
1224 * net/tramp-compat.el (top): Require 'trampver.
1225
1226 * net/tramp-sh.el (tramp-remote-process-environment):
1227 Set tramp-autoload cookie.
1228
1229 2013-02-16 Kevin Ryde <user42@zip.com.au>
1230
1231 * info-look.el (info-lookup-select-mode): If major-mode has no
1232 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1233
1234 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1235
1236 * replace.el (read-regexp): Tighten the regexp that matches tag.
1237 When tag is retrieved with `find-tag-default', use regexp that
1238 matches tag at point. Also update docstring (Bug#13687).
1239
1240 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1241
1242 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1243 add watch for the file, not its parent directory, since w32notify
1244 sets up the watch for the directory internally. (Bug#13725)
1245
1246 2013-02-16 Glenn Morris <rgm@gnu.org>
1247
1248 * image.el (image-default-frame-delay): New variable.
1249 (image-animated-p): Use image-default-frame-delay.
1250 (image-minimum-frame-delay): New constant.
1251 (image-animate-timeout): Use image-minimum-frame-delay.
1252
1253 * image.el (image-nth-frame): New, split from image-animate-timeout.
1254 (image-animate-timeout): Use image-nth-frame.
1255 * image-mode.el (image-goto-frame, image-next-frame)
1256 (image-previous-frame): New commands.
1257 (image-mode-map): Add new frame commands.
1258
1259 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1260
1261 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1262 If col-desc already has help-echo, use it. (Bug#13563)
1263
1264 2013-02-16 Glenn Morris <rgm@gnu.org>
1265
1266 * image.el (image-current-frame): New variable.
1267 (image-animate-timeout): Set image-current-frame.
1268 * image-mode.el (image-mode): For animated images,
1269 display a frame counter via mode-line-process.
1270
1271 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1272
1273 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1276
1277 2013-02-15 Alan Mackenzie <acm@muc.de>
1278
1279 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1280 global minor mode has been enabled, call the minor mode function
1281 for a new buffer once only, after the major mode hook, whilst
1282 allowing that hook explicitly to disable the minor mode.
1283 (MODE-disable-in-buffer): New (generated) function.
1284 (disable-MODE): New (generated) buffer local variable.
1285
1286 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1287
1288 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1289 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1290 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1291 `ido-next-match' and `ido-prev-match' resply.
1292 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1293 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1294 `icomplete-backward-completions' (Bug#13708).
1295
1296 2013-02-15 Glenn Morris <rgm@gnu.org>
1297
1298 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1299
1300 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1303 (goto-address-fontify-region): Use them instead of narrowing, so
1304 syntax-ppss has access to the whole buffer.
1305
1306 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1307
1308 * progmodes/python.el: Explain how to restore "cc-mode"-like
1309 forward-sexp movement in header documentation (Bug#13642).
1310 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1311 comments and strings (GH bug 114).
1312
1313 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1314
1315 * progmodes/python.el (python-info-current-defun): Fix current
1316 defun detection (Bug#13618).
1317
1318 2013-02-15 Chong Yidong <cyd@gnu.org>
1319
1320 * xml.el (xml-parse-string): Fix typo in handling of bad character
1321 references.
1322
1323 2013-02-15 Glenn Morris <rgm@gnu.org>
1324
1325 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1326
1327 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1328
1329 * net/tramp.el (tramp-debug-message):
1330 Add `tramp-condition-case-unless-debug'.
1331 (tramp-debug-on-error): New defvar.
1332 (tramp-condition-case-unless-debug): New defun.
1333 (tramp-file-name-handler): Use it.
1334
1335 2013-02-14 Juri Linkov <juri@jurta.org>
1336
1337 * info.el (Info-isearch-filter): Treat non-nil values of
1338 `search-invisible' including its default value `open'
1339 like the value `t' to match hidden text. (Bug#13402)
1340
1341 2013-02-14 Glenn Morris <rgm@gnu.org>
1342
1343 * help-fns.el (find-lisp-object-file-name): Give special treatment
1344 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1345
1346 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1347
1348 * net/quickurl.el (quickurl-save-urls):
1349 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1350
1351 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1352
1353 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1354 depth for unfinished percent literal. Not using it in the caller.
1355 (ruby-move-to-block): Jump over multiline literals of all types,
1356 ignoring code-looking contents inside them.
1357 (ruby-add-log-current-method): Improve performance at the expense
1358 of accuracy. `ruby-block-contains-point' is relatively slow, so
1359 only use it for method and singleton class blocks.
1360
1361 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1362
1363 Use ControlMaster where applicable. (Bug#13677)
1364
1365 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1366 replacing `tramp-detect-ssh-controlmaster'.
1367 (tramp-default-method): Use it.
1368
1369 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1370 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1371 arguments.
1372 [scpc, rsyncc]: Remove methods.
1373 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1374 and "ssh2_old".
1375 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1376 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1377
1378 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * emacs-lisp/package.el (package--initialized): Move before first use.
1381
1382 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1383
1384 * icomplete.el (icomplete-hide-common-prefix): New user option.
1385 (icomplete-first-match): New face.
1386 (icomplete-completions): Correct handling of "complete but not
1387 unique" (Bug#12638).
1388
1389 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1390
1391 * descr-text.el (describe-char): Display the script (bug#13698).
1392
1393 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * tmm.el: Use lexical-binding and current-active-maps.
1396 (tmm-menubar): Use map-keymap and pcase.
1397 (tmm--completion-table): New function.
1398 (tmm-prompt): Use it to fix the menu order.
1399 (tmm-get-keybind): Use current-active-maps.
1400
1401 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1402
1403 Add dired-hide-details-mode. (Bug#6799)
1404
1405 * locate.el (locate-mode): Set parent mode property to dired-mode.
1406
1407 * find-dired.el (find-dired): Call dired-insert-set-properties on
1408 initial information line. Set process mark on end of buffer.
1409 (find-dired-sentinel):
1410 Call dired-insert-set-properties on summary.
1411
1412 * dired.el (dired-hide-details-hide-symlink-targets)
1413 (dired-hide-details-hide-information-lines): New options.
1414 (dired-insert-directory):
1415 Set properties after final treatment of output.
1416 (dired-insert-set-properties):
1417 Set dired-hide-details-* properties.
1418 (dired-mode-map): Bind dired-hide-details-mode.
1419 (dired-mode): Set buffer-invisibility-spec to a list.
1420 (dired-next-line): Skip hidden lines.
1421 (dired-previous-line): Use dired-next-line.
1422 (dired-hide-details-mode): New minor mode.
1423 (dired-hide-details-update-invisibility-spec): New function.
1424
1425 2013-02-13 Glenn Morris <rgm@gnu.org>
1426
1427 * play/yow.el: Move to obsolete/. (Bug#9384)
1428
1429 2013-02-13 Juri Linkov <juri@jurta.org>
1430
1431 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1432 to select `ediff-control-frame' and set input focus correctly on Xfce.
1433 (Bug#12218)
1434
1435 2013-02-13 Juri Linkov <juri@jurta.org>
1436
1437 * image-mode.el (image-mode-map):
1438 * doc-view.el (doc-view-mode-map):
1439 * vc/ediff-util.el (ediff-setup-keymap):
1440 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1441
1442 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1443
1444 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1445 performance. Instead of recalculating indentation fully for each
1446 line, sum up indentation depth based only on visited lines.
1447 (ruby-parse-partial): Increase the depth after "do" even when END
1448 is right after it.
1449 (ruby-parse-partial): When END is in the middle of a percent
1450 literal, increase the depth if the delimiter chars belong to the
1451 paren syntax class.
1452
1453 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1454
1455 * play/fortune.el (fortune-compile): Also make the compiled file
1456 if it does not exist at all, not just if it is old. (Bug#5338)
1457
1458 2013-02-13 Glenn Morris <rgm@gnu.org>
1459
1460 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1461
1462 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1463
1464 * lisp/emacs-lisp/package.el (package-menu-execute):
1465 Add optional noquery argument. (Bug#13625)
1466
1467 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1468
1469 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1470 if DIR exists and PARENTS is non-nil.
1471
1472 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1473
1474 * progmodes/js.el (js--multi-line-declaration-indentation):
1475 Silence byte-compiler warning.
1476
1477 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1478
1479 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1480
1481 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1482 only if it doesn't exist.
1483
1484 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1485 Set process marker.
1486
1487 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1488
1489 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1490 UserInstallation when calling soffice to work around LibreOffice
1491 bug 37531.
1492
1493 2013-02-12 Glenn Morris <rgm@gnu.org>
1494
1495 * files.el (basic-save-buffer):
1496 Offer to create a non-existing directory. (Bug#3016)
1497
1498 * calc/calc-graph.el (calc-graph-show-dumb):
1499 * calendar/calendar.el (calendar-mode-map):
1500 * cus-edit.el (custom-mode-map):
1501 * ehelp.el (electric-help-map):
1502 * emulation/vip.el (vip-mode-map):
1503 * epa.el (epa-key-list-mode-map):
1504 * info.el (Info-mode-map):
1505 * mail/rmail.el (rmail-mode-map):
1506 * mail/rmailsum.el (rmail-summary-mode-map):
1507 * man.el (Man-mode-map):
1508 * net/newst-plainview.el (newsticker-mode-map):
1509 * progmodes/cpp.el (cpp-edit-mode-map):
1510 * progmodes/grep.el (grep-mode-map):
1511 * progmodes/idlw-help.el (idlwave-help-mode-map):
1512 * simple.el (special-mode-map):
1513 * startup.el (splash-screen-keymap):
1514 * view.el (view-mode-map):
1515 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1516
1517 2013-02-11 Elias Pipping <pipping@lavabit.com>
1518
1519 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1520 (bug#13679).
1521
1522 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1523
1524 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1525
1526 2013-02-11 Glenn Morris <rgm@gnu.org>
1527
1528 * vc/diff.el (diff-use-labels): New variable.
1529 (diff-no-select): Use --label rather than -L, and first
1530 check that it is supported. (Bug#11067)
1531
1532 * files.el (enable-dir-local-variables): New variable.
1533 (hack-dir-local-variables): Respect enable-dir-local-variables.
1534 * tutorial.el (help-with-tutorial):
1535 Ignore directory-local variables. (Bug#11127)
1536
1537 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1538 (vc-svn-global-switches): ... to here. (Bug#13513)
1539
1540 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1541
1542 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1543 Handle "foo (bar, default: xxx): " prompts.
1544
1545 2013-02-10 Chong Yidong <cyd@gnu.org>
1546
1547 * files.el (basic-save-buffer-1): Do not set
1548 buffer-file-coding-system-explicit (Bug#4533).
1549
1550 * mail/emacsbug.el (report-emacs-bug): Change binding of
1551 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1552
1553 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1554
1555 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1556 * calc/calc-units.el (calc-convert-units): Use new variable.
1557
1558 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1559
1560 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1561
1562 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1563 buffer-file-type.
1564
1565 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1566 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1567 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1568 coding-system-for-write instead.
1569
1570 * jka-compr.el (jka-compr-write-region): Don't bind
1571 buffer-file-type.
1572
1573 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1574 buffer-file-type.
1575
1576 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1577 (insert-file-contents-literally): Remove reference to
1578 file-name-buffer-file-type-alist.
1579
1580 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1581 make-obsolete.
1582 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1583 (find-buffer-file-type-coding-system): Remove references to
1584 find-buffer-file-type-match, find-buffer-file-type, and
1585 buffer-file-type.
1586 Don't put find-buffer-file-type-coding-system into
1587 file-coding-system-alist.
1588 (find-file-binary, find-file-text): Bind coding-system-for-read
1589 instead of file-name-buffer-file-type-alist.
1590
1591 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1592
1593 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1594 converter (Bug#13622).
1595 (doc-view-unoconv-program): Make obsolete alias.
1596 (doc-view-odf->pdf-converter-program): New variable.
1597 (doc-view-odf->pdf-converter-function): New variable.
1598 (doc-view-mode-p): Use it.
1599 (doc-view-odf->pdf-converter-unoconv):
1600 Rename from `doc-view-odf->pdf-converter-unoconv'.
1601 (doc-view-odf->pdf-converter-soffice): New function.
1602 (doc-view-convert-current-doc):
1603 Use `doc-view-odf->pdf-converter-function'.
1604
1605 2013-02-09 Chong Yidong <cyd@gnu.org>
1606
1607 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1608 view-echo-area-messages (Bug#13340).
1609
1610 * help.el (view-echo-area-messages): Use display-buffer.
1611
1612 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1613 (Bug#13561).
1614
1615 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1618 Eval body right away, now that we do eager macroexpansion (bug#13605).
1619
1620 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1621 (fundamental-mode): Use run-mode-hooks.
1622
1623 * eshell/esh-proc.el (eshell/kill): Fix last change.
1624 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1625
1626 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1627
1628 * eshell/esh-proc.el (eshell/kill): Rewrite.
1629
1630 * eshell/em-ls.el (show-almost-all): Declare.
1631 (eshell-do-ls): Add support for -A argument.
1632
1633 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1634
1635 * icomplete.el (icomplete-forward-completions)
1636 (icomplete-backward-completions): Handle corner case (bug#13602).
1637
1638 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1639
1640 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1641 be nil. Handle this. (Bug#13636)
1642
1643 2013-02-07 Richard Stallman <rms@gnu.org>
1644
1645 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1646 `save-buffer-coding-system'.
1647
1648 2013-02-07 Alan Mackenzie <acm@muc.de>
1649
1650 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1651 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1652 (c-parse-state-get-strategy): Don't return 'BOD any more.
1653 (c-append-lower-brace-pair-to-state-cache):
1654 Extra parameter HERE instead of narrowing.
1655 Widen to top of buffer before searching backwards for a brace pair.
1656 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1657 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1658 Narrow to parameter HERE, in place of being called narrowed.
1659 (c-remove-stale-state-cache): Extra parameter HERE in place of
1660 narrowing. Check there's an open brace in the cache before
1661 searching for its match.
1662 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1663 (c-parse-state-1): Don't narrow here for 'forward strategy,
1664 instead passing extra parameter HERE to several functions.
1665 Remove 'BOD strategy.
1666
1667 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1668
1669 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1670 used to install the package.
1671
1672 2013-02-06 Glenn Morris <rgm@gnu.org>
1673
1674 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1675 if we can't get user input. (Bug#6567)
1676
1677 * startup.el (command-line): If simple.el is missing,
1678 test and warn about for some possible causes.
1679
1680 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1681
1682 * cus-start.el (all): Add ns-use-native-fullscreen.
1683
1684 2013-02-05 Glenn Morris <rgm@gnu.org>
1685
1686 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1687
1688 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1689 Fix directory creation in fallback case.
1690
1691 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1692
1693 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1694 (vc-update-change-log): Use dolist.
1695
1696 2013-02-04 Chong Yidong <cyd@gnu.org>
1697
1698 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1699 code from ffap.el.
1700 (thing-at-point-beginning-of-url-regexp): New var.
1701 (thing-at-point-uri-schemes): Update list of URI schemes.
1702 (thing-at-point-url-regexp): Variable deleted.
1703 (thing-at-point-markedup-url-regexp): Disallow newlines.
1704 (thing-at-point-newsgroup-regexp)
1705 (thing-at-point-newsgroup-heads)
1706 (thing-at-point-default-mail-uri-scheme): New variables.
1707 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1708 method to find the possible bounds of the URI at point.
1709 New optional argument to find ill-formed URIs.
1710 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1711 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1712 the scheme-adding heuristics from ffap-url-at-point.
1713 (thing-at-point--bounds-of-well-formed-url): New function.
1714 Do parens matching to decide whether to include parens in the URI
1715 (Bug#9153).
1716
1717 * ffap.el: Require thingatpt.
1718 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1719 All URI-valid characters are now recognized (Bug#5673).
1720 (ffap-string-at-point): Use use-region-p.
1721 (ffap-url-regexp): Extra character is handled by thing-at-point.
1722 (ffap-string-at-point-mode-alist): Allow parentheses.
1723 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1724 Convert to aliases; code moved to thingatpt.el.
1725 (ffap-gnus-hook): Use setq-local.
1726
1727 2013-02-04 Glenn Morris <rgm@gnu.org>
1728
1729 * emacs-lisp/ert.el (ert--explain-format-atom):
1730 Don't try to print non-characters as characters. (Bug#13543)
1731
1732 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1733
1734 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1735 (tramp-backtrace): New defun.
1736 (tramp-handle-insert-file-contents): Use `visit' when inserting
1737 the local copy.
1738
1739 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1740 Use `remote-file-name-inhibit-cache'.
1741
1742 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1745 (bug#13614).
1746
1747 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1748 current-load-list (bug#13366).
1749
1750 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1751
1752 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1753 Identify g++ template instantiation trace. (Bug#12287)
1754 (compilation-mode-hook, compilation-start-hook)
1755 (compilation-window-height): Simplify docstrings. (Bug#13379)
1756
1757 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1758
1759 * mouse.el (mouse-drag-track): Always deactivate the mark before
1760 running the final event's command since that command is in charge of
1761 activating the mark if needed (bug#13523).
1762
1763 2013-02-02 Juri Linkov <juri@jurta.org>
1764
1765 * replace.el (perform-replace): Move let-bindings of isearch-*
1766 variables deeper to the loop that searches for the next match.
1767 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1768 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1769 (Bug#13579)
1770
1771 * isearch.el (isearch-search-fun-default): Check for null
1772 first element of isearch-cmds as a precaution when it's used
1773 with inactive isearch.
1774
1775 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1776
1777 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1778 error when buffer in question is narrowed so position 1 is out of
1779 visible part.
1780
1781 2013-02-02 Glenn Morris <rgm@gnu.org>
1782
1783 * textmodes/remember.el (remember-clipboard): Doc fix.
1784
1785 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1788 properties (bug#13179).
1789
1790 2013-02-02 Juri Linkov <juri@jurta.org>
1791
1792 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1793 instead of hard-coded default face `match'. (Bug#9438)
1794
1795 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1796
1797 * vc/vc-arch.el (vc-arch-registered):
1798 * vc/vc-bzr.el (vc-bzr-registered):
1799 * vc/vc-cvs.el (vc-cvs-registered):
1800 * vc/vc-git.el (vc-git-registered):
1801 * vc/vc-hg.el (vc-hg-registered):
1802 * vc/vc-mtn.el (vc-mtn-registered):
1803 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1804 (Bug#13139)
1805
1806 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1807 prefix argument. (Bug#11656)
1808
1809 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1810
1811 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1812
1813 2013-02-01 Glenn Morris <rgm@gnu.org>
1814
1815 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1816 if the backend is known not to support it.
1817
1818 * imenu.el (imenu-default-create-index-function):
1819 Tweak infinite loop test to check for forward motion as well as none.
1820
1821 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1822
1823 * net/soap-client.el (soap-invoke): Encode the string for
1824 `url-request-data' as UTF-8.
1825 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1826
1827 2013-02-01 Glenn Morris <rgm@gnu.org>
1828
1829 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1830
1831 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1832
1833 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1834
1835 * net/tramp.el (tramp-tramp-file-p): Comment check for
1836 `string-as-unibyte'. The function does not exist on XEmacs, and
1837 likely we need another approach.
1838
1839 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1840 `tramp-gw-*' variables are bound.
1841
1842 2013-01-31 Glenn Morris <rgm@gnu.org>
1843
1844 * files.el (basic-save-buffer-2): Choose coding system for
1845 writing the file before backing it up, to reduce delay between
1846 backing up and writing the new version. (Bug#13522)
1847
1848 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1849
1850 * simple.el (cycle-spacing): New command.
1851 (just-one-space): Use it.
1852
1853 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1854
1855 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1856 (opascal-newline-always-indents): Remove custom.
1857 (opascal-tab, opascal-newline): Remove commands.
1858 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1859 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1860 (opascal-save-match-data): Remove, use save-match-data instead.
1861 (opascal-save-state): Use with-silent-modifications.
1862
1863 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1864 (bug#13585).
1865
1866 2013-01-30 Juri Linkov <juri@jurta.org>
1867
1868 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1869 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1870 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1871
1872 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1875 column if we're just deleting the backslashes.
1876 (makefile-fill-paragraph): Use eolp.
1877
1878 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1879
1880 * autorevert.el (auto-revert-use-notify): Fix docstring.
1881
1882 2013-01-30 Leo Liu <sdl.web@gmail.com>
1883
1884 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1885
1886 2013-01-30 Glenn Morris <rgm@gnu.org>
1887
1888 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1889 unread-command-events twice in some cases. This tries to implement
1890 the 2012-07-26 changes in a different way. (Bug#13560)
1891
1892 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1893
1894 * progmodes/python.el
1895 (python-pdbtrack-comint-output-filter-function): Enhancements on
1896 stacktrace detection. (thanks @gnovak)
1897
1898 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1901 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1902 Use defvar-local.
1903 (jit-lock-register): Use setq-local.
1904
1905 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1906
1907 * calc-units.el (math-default-units-table): Remove initial value.
1908 (calc-convert-units): Treat expressions where all the units cancel as
1909 if they didn't have units.
1910
1911 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1912
1913 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1914 (tramp-completion-reread-directory-timeout): Fix type.
1915 (tramp-connection-min-time-diff): New defcustom.
1916
1917 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1918
1919 2013-01-30 Glenn Morris <rgm@gnu.org>
1920
1921 * imenu.el (imenu-default-create-index-function):
1922 Put back a version of the infinite loop test removed 2013-01-23.
1923
1924 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1925
1926 * progmodes/python.el (python-shell-parse-command):
1927 Find python-shell-interpreter with modified environment.
1928
1929 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1930
1931 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1932
1933 2013-01-29 Alan Mackenzie <acm@muc.de>
1934
1935 Amend to fontify /regexp/s in actions correctly.
1936 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1937 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1938 are no longer included.
1939 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1940 What used to be these variables without "-line" in the name.
1941 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1942 (c-awk-non-arith-op-bra-re): Now also matches {.
1943 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1944 "return", and "case".
1945 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1946 by /.
1947 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1948 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1949
1950 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1951
1952 * autorevert.el (auto-revert-use-notify):
1953 Use `custom-initialize-default' for initialization. (Bug#13583)
1954
1955 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1956
1957 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1958 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1959 in `tramp-file-name-handler'.
1960 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1961 compatibility.
1962 (tramp-compute-multi-hops): Check, whether
1963 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1964
1965 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1968 (bug#13297).
1969
1970 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1971
1972 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1973 checks made superfluous by the \_< operator.
1974 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1975 temporarily) broken indentation.
1976 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1977 Highlight nested constants, too. \_< broke that.
1978
1979 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1980
1981 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1982 instead of "\\b".
1983
1984 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1985
1986 * autorevert.el (auto-revert-handler): Notifications which result
1987 from a saved file shall not be taken into account. (Bug#13557)
1988
1989 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1990
1991 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1992 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1993 (lisp-mode): Pass t for it. (Bug#13556)
1994
1995 2013-01-25 Alan Mackenzie <acm@muc.de>
1996
1997 AWK Mode: Fix indentation bug at top level. Bug #12274.
1998
1999 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2000 just before CASE 5D.
2001
2002 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2003
2004 * net/socks.el (socks-nslookup-host): Use string-to-number.
2005
2006 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2007
2008 * autorevert.el (auto-revert-remote-files)
2009 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2010 (auto-revert-notify-enabled, auto-revert-use-notify)
2011 (auto-revert-notify-watch-descriptor-hash-list)
2012 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2013 (auto-revert-notify-event-descriptor)
2014 (auto-revert-notify-event-action)
2015 (auto-revert-notify-event-file-name): Doc fix.
2016 (global-auto-revert-mode): Reorder checks.
2017 (auto-revert-notify-rm-watch): Respect changed values of
2018 `auto-revert-notify-watch-descriptor-hash-list'.
2019 (auto-revert-notify-add-watch): Check for
2020 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2021 `inotify-add-watch'. Watch `default-directory' instead of
2022 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2023 has a changed meaning now. (Bug#13540)
2024 (auto-revert-notify-handler): Change implementation wrt events
2025 returning from a directory.
2026 (auto-revert-handler): Reorder implementation for checks of remote
2027 files.
2028 (auto-revert-buffers): Fix parentheses error.
2029
2030 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2031
2032 * progmodes/python.el: Enhancements to header documentation about
2033 skeletons. (Bug#5716)
2034
2035 * imenu.el (imenu-default-create-index-function): Remove useless
2036 infinite loop check. (Bug#13438)
2037
2038 2013-01-25 Alan Mackenzie <acm@muc.de>
2039
2040 Fix a bug in the state cache mechanism. Refactor this a bit.
2041
2042 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2043 `cache-pos' element from the return value.
2044 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2045 buffer to enable proper searching from beyond HERE. Amend the
2046 test for detecting the sought brace pair. Amend the value written
2047 to the "brace desert cache" when the brace isn't found.
2048 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2049 and several other variables analogously.
2050 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2051 parameter to a locally calculated variable.
2052 (c-parse-state-1): Change the calling conventions to the two
2053 defuns involving `cache-pos'.
2054
2055 2013-01-25 Chong Yidong <cyd@gnu.org>
2056
2057 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2058
2059 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2060
2061 * paren.el (show-paren-function): Make sure to set 'priority and
2062 'face only if the overlay does exist.
2063
2064 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2065
2066 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2067
2068 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2069 basic attributes.
2070 (tramp-sh-handle-set-file-acl): Improve error checking.
2071
2072 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2073
2074 * doc-view.el (doc-view-display): Force mode line update until all
2075 document is converted. Suggested by Stefan Monnier (Bug#13164).
2076
2077 2013-01-23 Bastien Guerry <bzg@gnu.org>
2078
2079 * paren.el (show-paren-function): Make sure an overlay exists
2080 before trying to delete it. Also use `pos' as a position only
2081 when it is an integer.
2082
2083 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2084
2085 * play/gametree.el (gametree-break-line-here): Use point-marker.
2086
2087 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2088
2089 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2090 Mark descriptive parts with `display' property.
2091
2092 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2093
2094 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2095 New variable to map standard dict names to hunspell ones.
2096 (ispell-set-spellchecker-params): Make sure specific dict names
2097 are used for standard dicts with hunspell.
2098
2099 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2100
2101 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2102 chars for note (%N) and url (%U).
2103 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2104
2105 2013-01-21 Juri Linkov <juri@jurta.org>
2106
2107 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2108 in addition to existing separate binding `meta f10' in `global-map'.
2109 (Bug#13484)
2110
2111 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2112
2113 Improve XEmacs compatibility.
2114
2115 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2116
2117 * net/tramp-adb.el (top): Require `time-date'.
2118 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2119 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2120 Use `tramp-file-name-handler'.
2121 (tramp-adb-maybe-open-connection):
2122 Use `tramp-compat-set-process-query-on-exit-flag'.
2123
2124 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2125 Use `tramp-compat-funcall'.
2126
2127 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2128 `tramp-compat-funcall'.
2129
2130 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2131
2132 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2133 reimplementation using "adb shell command ..." instead of running
2134 remote shell interactively.
2135
2136 2013-01-20 Glenn Morris <rgm@gnu.org>
2137
2138 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2139 Add native profiler menu entries.
2140
2141 * profiler.el (profiler-running-p): New function.
2142 (profiler-cpu-profile): Use profiler-running-p.
2143 (profiler-report-mode-map): Add some more menu entries.
2144
2145 2013-01-19 Glenn Morris <rgm@gnu.org>
2146
2147 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2148 fixes 2012-12-07 change. (Bug#13499)
2149
2150 2013-01-19 Leo Liu <sdl.web@gmail.com>
2151
2152 * dired.el (dired-get-marked-files): Prune erroneous values due to
2153 last change. (Bug#13152)
2154
2155 2013-01-19 Glenn Morris <rgm@gnu.org>
2156
2157 * progmodes/etags.el (tags-table-check-computed-list):
2158 Preserve point in tags buffer. (Bug#13412)
2159
2160 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2161
2162 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2163 Chong Yidong <cyd@gnu.org>
2164
2165 * image-mode.el (image-next-file, image-previous-file):
2166 New commands (Bug#8453).
2167 (image-mode-map): Bind them to n and p.
2168 (image-mode--images-in-directory): New helper function.
2169
2170 2013-01-19 Chong Yidong <cyd@gnu.org>
2171
2172 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2173 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2174 save and restore the old window configuration.
2175
2176 2013-01-18 Leo Liu <sdl.web@gmail.com>
2177
2178 * progmodes/js.el: Tweak autoload cookie for alias.
2179
2180 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2181
2182 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2183 buffer local, again. This was lost with the fix on 2013-01-12.
2184
2185 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2186
2187 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2188 order to support several eshell buffers in parallel.
2189
2190 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2191
2192 * autorevert.el (auto-revert-use-notify): In the :set function, do
2193 not modify `kill-buffer-hook'.
2194 (auto-revert-notify-rm-watch):
2195 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2196 (auto-revert-notify-add-watch): Do not call
2197 `auto-revert-notify-rm-watch', but add it to a buffer local
2198 `kill-buffer-hook'.
2199
2200 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2203 call to `eval' rather than a backquoted lambda.
2204
2205 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2208 to return an explicit nil.
2209 (advice--remove-function): Change accordingly.
2210
2211 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2212 the use of nadvice.el.
2213
2214 * progmodes/which-func.el (which-function): Silence imenu errors
2215 (bug#13433).
2216
2217 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2218
2219 * progmodes/sql.el: (sql-imenu-generic-expression):
2220 (sql-mode-font-lock-object-name): Match schema qualified names.
2221 (sql-connect): Use string keys.
2222 (sql-product-interactive): Wait for interpreter prompt.
2223 (sql-comint-oracle): Set process coding based on NLS_LANG.
2224
2225 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2226
2227 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2228 (sql-interactive-remove-continuation-prompt):
2229 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2230
2231 2013-01-14 Leo Liu <sdl.web@gmail.com>
2232
2233 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2234 (Bug#13420)
2235
2236 2013-01-14 Glenn Morris <rgm@gnu.org>
2237
2238 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2239 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2240
2241 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2242
2243 * progmodes/python.el (python-nav-end-of-statement):
2244 Fix cornercase when handling multiline strings.
2245
2246 2013-01-13 Richard Stallman <rms@gnu.org>
2247
2248 * mail/sendmail.el (mail-position-on-field): Add doc string.
2249
2250 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2251 Get current message boundaries and pass them to
2252 message-forward-make-body-mime. Minor style changes.
2253
2254 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2255
2256 * cus-start.el (all): Avoid warnings about
2257 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2258
2259 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2260
2261 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2262
2263 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2266 (jit-lock--debug-fontifying): New var.
2267 (jit-lock--debug-fontify): New function.
2268 * subr.el (condition-case-unless-debug): Don't prevent catching the
2269 error, just let the debbugger run.
2270 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2271 timer code and don't drop errors silently.
2272
2273 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2274
2275 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2276 `permanent-local' property.
2277 (auto-revert-notify-handler): Use `file-equal-p'.
2278
2279 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2280
2281 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2282 file notification by ACTION. For filtering by file name, compare
2283 only the non-directory part of the file name.
2284
2285 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 * autorevert.el: Use cl-lib instead of cl.
2288
2289 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2290 (vc-bzr-checkin): Use it.
2291 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2292 will preserve match-data.
2293
2294 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2295
2296 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2297 (js--declaration-keyword-re): New var.
2298 (js--multi-line-declaration-indentation): New function.
2299 (js--proper-indentation): Use it.
2300
2301 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2302
2303 * calc/calc.el (calc-highlight-selections-with-faces)
2304 (calc-dispatch):
2305 * comint.el (comint-history-isearch-message):
2306 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2307 * ffap.el (ffap-string-at-point-region, ffap-next)
2308 (ffap-string-at-point, ffap-string-around)
2309 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2310 (ffap-literally):
2311 * font-lock.el (font-lock-keywords-alist)
2312 (font-lock-removed-keywords-alist):
2313 * help-mode.el (help-xref-symbol-regexp):
2314 * info.el (Info-find-emacs-command-nodes):
2315 * international/mule.el (add-to-coding-system-list):
2316 * isearch.el (isearch-message-function, isearch-fail-pos):
2317 * misearch.el (multi-isearch-next-buffer-function):
2318 * newcomment.el (comment-box):
2319 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2320 (pr-setting-database):
2321 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2322 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2323 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2324 (pike-font-lock-keywords-3):
2325 * progmodes/compile.el (compile):
2326 * progmodes/etags.el (tags-table-files)
2327 (tags-table-files-function, tags-included-tables-function):
2328 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2329 (gdb-restore-windows):
2330 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2331 (ps-n-up-filling-database):
2332 * server.el (server-buffer, server-log):
2333 * simple.el (newline, delete-backward-char, delete-forward-char)
2334 (minibuffer-history-isearch-message, kill-line, track-eol)
2335 (temporary-goal-column):
2336 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2337 (flyspell-default-deplacement-commands):
2338 * textmodes/ispell.el (ispell-accept-output):
2339 * textmodes/sgml-mode.el (html-tag-help):
2340 * vc/compare-w.el (compare-ignore-whitespace)
2341 (compare-ignore-case, compare-windows-dehighlight):
2342 * vc/diff.el (diff):
2343 * whitespace.el (whitespace-point)
2344 (whitespace-font-lock-refontify, whitespace-bob-marker)
2345 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2346
2347 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2348
2349 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2350 (auto-revert-notify-rm-watch): Ignore errors.
2351 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2352 inotify, and '(size last-write-time) for w32notify.
2353 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2354 watch fails - this is a fallback to the file modification check.
2355 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2356 (auto-revert-notify-event-action)
2357 (auto-revert-notify-event-file-name): New defuns.
2358 (auto-revert-notify-handler): Use them. Implement first
2359 plausibility checks.
2360 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2361
2362 2013-01-11 Julien Danjou <julien@danjou.info>
2363
2364 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2365 max are almost equal. Also return the correct value for V which is
2366 already between 0 and 1.
2367
2368 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2369
2370 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2371
2372 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2373
2374 * autorevert.el (auto-revert-notify-rm-watch)
2375 (auto-revert-notify-add-watch): Fix typos in w32notify function
2376 names.
2377
2378 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2379
2380 * autorevert.el (auto-revert-notify-enabled): Move up.
2381 (auto-revert-use-notify): New defcustom.
2382 (auto-revert-mode, global-auto-revert-mode)
2383 (auto-revert-notify-add-watch, auto-revert-handler)
2384 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2385 `auto-revert-notify-enabled'.
2386
2387 2013-01-10 Elias Pipping <pipping@exherbo.org>
2388
2389 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2390 * doc-view.el (doc-view-document->bitmap):
2391 Use doc-view-single-page-converter-function instead of
2392 single-page-converter arg; adjust callers.
2393
2394 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2395
2396 * progmodes/which-func.el (which-function): Understand Semantic's use
2397 of overlays in imenu--index-alist.
2398
2399 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2400
2401 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2402 (Man-man-k-use-anchor): New var.
2403 (Man-parse-man-k): New function.
2404 (Man-completion-table): Use it.
2405 (man): Flush the completion cache between uses.
2406
2407 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2408
2409 * autorevert.el: Add file watch support.
2410 (auto-revert-notify-enabled): New defconst.
2411 (auto-revert-notify-watch-descriptor-hash-list)
2412 (auto-revert-notify-watch-descriptor)
2413 (auto-revert-notify-modified-p): New defvars.
2414 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2415 (auto-revert-notify-handler): New defuns.
2416 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2417 when mode is disabled.
2418 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2419 (auto-revert-buffers): Add file watches for active buffers.
2420
2421 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2422
2423 * cus-start.el (toplevel): Only allow float values for
2424 scroll-up-aggressively and scroll-down-aggressively.
2425 Allow any number for line-spacing.
2426
2427 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2430 (doc-view-pdf->png-converter-function): Use mupdf if available.
2431 (doc-view-djvu->png-converter-function)
2432 (doc-view-ps->png-converter-function): Remove.
2433 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2434 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2435 (doc-view-already-converted-p): Adjust accordingly.
2436 (doc-view-mode-p): Simplify.
2437 (doc-view-enlarge): Use setq-local.
2438 (doc-view-pdf->png-converter-ghostscript)
2439 (doc-view-djvu->png-converter-ddjvu)
2440 (doc-view-pdf->png-converter-mupdf): Rework to call
2441 doc-view-start-process directly.
2442 (doc-view-pdf/ps->png): Simplify accordingly.
2443 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2444 (doc-view-document->bitmap): Rename from doc-view-document->png.
2445 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2446 (doc-view-set-slice-from-bounding-box): Fix completion table.
2447 (doc-view-mode): Use add-hook for after-revert-hook.
2448
2449 2013-01-10 Glenn Morris <rgm@gnu.org>
2450
2451 * emacs-lisp/authors.el (authors-ignored-files)
2452 (authors-valid-file-names, authors-renamed-files-alist):
2453 Add some more entries.
2454
2455 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2456
2457 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2458 `t' pseudo-window entry.
2459
2460 2013-01-10 Alan Mackenzie <acm@muc.de>
2461
2462 Fix bugs in the c-parse-state mechanism. Reuse some markers
2463 instead of continually generating new ones.
2464
2465 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2466 (c-state-old-cpp-end-marker): New variables.
2467 (c-append-lower-brace-pair-to-state-cache): Start a backward
2468 search for "}" definitively outside CPP constructs.
2469 (c-remove-stale-state-cache): Inform the caller of a need to
2470 search back for a brace pair in certain circumstances.
2471 (c-state-maybe-marker): New macro.
2472 (c-parse-state): Reuse markers when appropriate.
2473
2474 2013-01-10 Glenn Morris <rgm@gnu.org>
2475
2476 * simple.el (execute-extended-command): Doc fix.
2477 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2478
2479 2013-01-10 Chong Yidong <cyd@gnu.org>
2480
2481 * faces.el (read-face-name): Doc fix.
2482
2483 2013-01-10 Roland Winkler <winkler@gnu.org>
2484
2485 * emacs-lisp/crm.el: Allow any regexp for separators.
2486 (crm-default-separator): All spaces around the default comma separator.
2487 (crm--completion-command): New macro.
2488 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2489 (crm-complete-and-exit): Handle non-single-char separators.
2490
2491 2013-01-09 Elias Pipping <pipping@lavabit.com>
2492
2493 * doc-view.el: Add support for DjVu (bug#13164).
2494 (doc-view-djvu->png-converter-function): New config var.
2495 (doc-view-single-page-converter-function, doc-view--image-type)
2496 (doc-view--image-file-extension): New vars.
2497 (doc-view-mode): Initialize them.
2498 (doc-view-goto-page): Use them.
2499 (doc-view-mode-p): Add support for ddjvu.
2500 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2501 (doc-view-set-up-single-converter): New funs.
2502 (doc-view-pdf/ps->png): Extend for djvu.
2503 (doc-view-document->png): Rename from doc-view-pdf->png.
2504 (doc-view-convert-current-doc): Handle djvu.
2505 (doc-view-insert-image, doc-view-display)
2506 (doc-view-already-converted-p): Don't hardcode png.
2507 (doc-view-set-doc-type): Recognize djvu docs.
2508
2509 2013-01-09 Elias Pipping <pipping@lavabit.com>
2510
2511 * doc-view.el: Add support for mupdf converter (bug#13164).
2512 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2513 (doc-view-ps->png-converter-function): New config vars.
2514 (doc-view-pdf->png-converter-ghostscript)
2515 (doc-view-ps->png-converter-ghostscript)
2516 (doc-view-pdf->png-converter-mupdf): New functions.
2517 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2518
2519 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2520
2521 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2522 first in session cache: When `tramp-own-remote-path' is in
2523 `tramp-remote-path', the remote path is only set in the session
2524 cache.
2525
2526 2013-01-09 Glenn Morris <rgm@gnu.org>
2527
2528 * emacs-lisp/trace.el (trace-function-foreground)
2529 (trace-function-background): Doc fix.
2530
2531 2013-01-09 Juri Linkov <juri@jurta.org>
2532
2533 * international/mule-cmds.el (read-char-by-name): Move let-binding
2534 of completion-ignore-case around completing-read to fix regression
2535 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2536 `string-match-p' using the nil value of `case-fold-search' and
2537 `completion-ignore-case' in `completion-pcm--all-completions'.
2538 (Bug#12615).
2539
2540 2013-01-09 Glenn Morris <rgm@gnu.org>
2541
2542 * progmodes/compile.el (compilation-parse-errors):
2543 Fix typo. (Bug#13369)
2544
2545 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2546
2547 * comint.el (comint-send-input): Check size of buffer before
2548 waiting for process output, in case already accepted. (Bug#13290)
2549
2550 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2551
2552 Spelling fixes.
2553 * net/tramp-adb.el (tramp-adb-get-toolbox):
2554 Fix misspelling of 'unknown'.
2555
2556 2013-01-08 Juri Linkov <juri@jurta.org>
2557
2558 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2559 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2560 Use underline style wave on terminals that support it. (Bug#13000)
2561
2562 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2565 the predicate returns nil.
2566
2567 * simple.el: Use lexical-binding.
2568 (primitive-undo): Use pcase.
2569 (minibuffer-history-isearch-push-state): Use a closure.
2570
2571 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2572
2573 * simple.el (primitive-undo): Move from undo.c.
2574
2575 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2576
2577 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2578 (cvs-mode-remove-handled): Use it (bug#13380).
2579
2580 * emacs-lisp/nadvice.el (advice--tweak): New function.
2581 (advice--remove-function, advice--subst-main): Use it.
2582
2583 * emacs-lisp/advice.el: Update commentary.
2584
2585 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2586
2587 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2588 Remove spurious entry.
2589
2590 2013-01-08 Glenn Morris <rgm@gnu.org>
2591
2592 * net/tramp.el (tramp-default-host-alist): Add :version.
2593
2594 2013-01-08 Juri Linkov <juri@jurta.org>
2595
2596 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2597 single completion. (Bug#12456)
2598 (info--manual-names): Expand node completions into an explicit list
2599 before appending it to another list. Filter out internal buffers
2600 with the leading space in the buffer name. (Bug#10771)
2601
2602 2013-01-08 Juri Linkov <juri@jurta.org>
2603
2604 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2605 that defaults to the Top node.
2606 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2607 the short format (FILENAME) goes to the Top node.
2608 (Info-build-node-completions): Rename arg `file' to `filename'.
2609 (Bug#13365)
2610
2611 2013-01-07 Bastien Guerry <bzg@gnu.org>
2612
2613 * menu-bar.el (menu-bar-search-documentation-menu):
2614 Use `apropos-user-option' and fix the help message.
2615
2616 2013-01-07 Bastien Guerry <bzg@gnu.org>
2617
2618 * apropos.el (apropos-do-all): Update docstring.
2619 (apropos-user-option-button): New face.
2620 (apropos-user-option): Rename from `apropos-variable' and update
2621 docstring.
2622 (apropos-variable): Rewrite, now show all variables by default.
2623 (apropos-print): Mention "User option" instead of "Variable" when
2624 printing doc for user options. (Bug#13276)
2625
2626 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2627
2628 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2629 Handle filename correctly, when parsing "source -> target" symlink
2630 output.
2631 (tramp-adb-handle-set-file-times): New defun.
2632
2633 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2636 advice list when the interactive-spec of ad-Advice-* changes.
2637
2638 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2639
2640 * wid-edit.el (widget-default-get): Work for inlined elements.
2641 (Bug#12670)
2642
2643 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2644
2645 * net/tramp.el (tramp-default-host-alist): New defcustom.
2646 (tramp-find-host): Use it.
2647 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2648 `eshell-directory-change-hook'.
2649
2650 * net/tramp-adb.el (top): Add adb specific entry in
2651 `tramp-default-host-alist'.
2652 (tramp-adb-file-name-host): Remove function.
2653 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2654 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2655
2656 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2657
2658 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2659
2660 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2661
2662 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2663
2664 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2665 consist of more than one digit.
2666 (tramp-adb-file-name-handler-alist):
2667 Use `tramp-handle-file-exists-p' consistently.
2668 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2669 (tramp-adb-handle-file-exists-p): Remove function.
2670 (tramp-adb-file-name-host): New defun.
2671 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2672 Use it.
2673 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2674
2675 2013-01-06 Chong Yidong <cyd@gnu.org>
2676
2677 * vc/vc.el (vc-next-action): Detect buffer modifications
2678 conflicting with locking VCS operation (Bug#11490).
2679
2680 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2681
2682 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2683
2684 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2685 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2686
2687 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2688
2689 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2690 parsing of ls output using regular expression (handle filenames
2691 with spaces). Use virtual device number.
2692 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2693 cleanup).
2694
2695 2013-01-04 Daiki Ueno <ueno@gnu.org>
2696
2697 * epg.el: Silence byte-compiler warnings.
2698 (epg--start): Use delete-char instead of delete-backward-char.
2699 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2700
2701 2013-01-04 Daiki Ueno <ueno@gnu.org>
2702
2703 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2704 Suggested by Eli Zaretskii <eliz@gnu.org>.
2705
2706 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2707
2708 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2709 non-negative integers. Otherwise, the default values are used.
2710 (tramp-convert-file-attributes): Convert uid and gid to integers.
2711
2712 2013-01-04 Glenn Morris <rgm@gnu.org>
2713
2714 * term.el (term-handle-colors-array): Ensure face attributes
2715 are fully specified, not nil. (Bug#13337)
2716
2717 * term.el (term-default-fg-color, term-default-bg-color):
2718 Fix custom type.
2719
2720 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2721 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2722 rather than 'jka-compr being loaded. (Bug#13338)
2723
2724 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2725
2726 * icomplete.el (icomplete-completions):
2727 Honor icomplete-prospects-height once more following
2728 2012-11-29 changes. (Bug#13224)
2729
2730 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2731
2732 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2733 of called-interactively-p as well (bug#13237).
2734
2735 * view.el (view--enable, view--disable): Rename from view-mode-enable
2736 and view-mode-disable and assume it's called from view-mode.
2737 (view-mode-enable, view-mode-disable): Redefine as obsolete
2738 compatibility layer above view-mode.
2739 (view-mode-enter): Call `view-mode'.
2740
2741 * files.el (after-find-file): Call `view-mode'.
2742
2743 * doc-view.el (doc-view-scale-internally): New var.
2744 (doc-view-enlarge, doc-view-insert-image): Obey it.
2745
2746 2013-01-03 Daiki Ueno <ueno@gnu.org>
2747
2748 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2749 exist. (Bug#13344)
2750
2751 2013-01-03 Glenn Morris <rgm@gnu.org>
2752
2753 * mail/rmail.el (rmail-set-header-1): Ignore case.
2754 Handle multi-line headers. (Bug#13330)
2755
2756 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2757 Handle paragraph starting at beginning of buffer.
2758
2759 * subr.el (eval-after-load): Don't purecopy the form, so that it
2760 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2761
2762 * emacs-lisp/byte-run.el (defun): Place cl declarations
2763 after any interactive spec. (Bug#13265)
2764
2765 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2766
2767 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2768 defun. Don't check for DECL if DOCSTRING isn't a string.
2769 (defun): Likewise.
2770
2771 2013-01-02 Glenn Morris <rgm@gnu.org>
2772
2773 * eshell/em-cmpl.el (eshell-pcomplete):
2774 More thoroughly imitate pcomplete. (Bug#13293)
2775
2776 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2777 Return nil for empty path elements. (Bug#13296)
2778
2779 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2780
2781 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2782 order to improve efficiency (Based on Daniel Colascione's
2783 <dancol@dancol.org> patch). (Bug#13182)
2784
2785 2013-01-02 Glenn Morris <rgm@gnu.org>
2786
2787 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2788
2789 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2790
2791 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2792 neither DOCSTRING nor DECL was given. (Bug#13316)
2793
2794 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2795
2796 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2797 `error' call.
2798 (tramp-do-copy-or-rename-file): Ignore errors when calling
2799 `set-file-extended-attributes'.
2800
2801 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2802 Add handler for `file-acl'.
2803 (tramp-smb-handle-file-acl): New defun.
2804
2805 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2806
2807 * calc/README: Mention ISO 8601 week-numbering dates.
2808
2809 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2810
2811 * view.el (view-mode-enable): New argument run-view-mode-hook.
2812 Run view-mode-hook only when it's non-nil (Bug#13315).
2813 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2814 argument t.
2815
2816 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2817
2818 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2819 (No device connected, invalid device name). (Bug #13299)
2820
2821 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2822
2823 * window.el (window-resizable--p): Rename to window-resizable-p.
2824 (window-resize-no-error): New function.
2825
2826 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2827 broken in fix from 2012-12-28.
2828
2829 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2830
2831 * subr.el (special-form-p): Don't signal errors on undef aliases.
2832
2833 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2834
2835 * calc/calc-forms.el (math-parse-date): Try using
2836 `math-parse-iso-date' when it looks like it might be needed.
2837 Allow times of 24:00.
2838 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2839 of 24:00.
2840
2841 2012-12-30 Glenn Morris <rgm@gnu.org>
2842
2843 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2844 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2845 (rmail-summary-displayed, rmail-summary): Declare.
2846 (mairix-rmail-display): Just require rmail.
2847
2848 2012-12-30 Chong Yidong <cyd@gnu.org>
2849
2850 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2851 check for the tarball contents.
2852
2853 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2854
2855 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2856 tarfile content listings (Bug#13136).
2857
2858 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2859
2860 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2861 Insert the undecoded text of the message being forwarded. (Bug#9521)
2862
2863 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2864
2865 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2866 integers, if they are real numbers. (Bug#13282)
2867
2868 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2869 Return `t' on success.
2870
2871 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2872 Add handler for `set-file-selinux-context'.
2873
2874 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2875
2876 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2877 (tramp-sh-handle-set-file-acl): Return `t' on success.
2878
2879 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2880
2881 * files.el (backup-buffer-copy, basic-save-buffer-2):
2882 If set-file-extended-attributes fails, fall back on set-file-modes
2883 instead of signaling an error. (Bug#13298)
2884 (basic-save-buffer): Likewise.
2885
2886 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2887
2888 * progmodes/python.el: Support other commands triggering
2889 python-indent-line so indentation cycling continues to work.
2890 (python-indent-trigger-commands): New defcustom.
2891 (python-indent-line): Use it.
2892
2893 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2894
2895 * progmodes/python.el (python-shell-send-region): Add blank lines
2896 for non sent code so backtraces remain correct.
2897
2898 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2899
2900 * progmodes/python.el: Remove cl dependency.
2901 (python-syntax-count-quotes): Replace incf call.
2902 (python-fill-string): Replace setf call.
2903
2904 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2905
2906 * info.el (info-other-window): New arg, for consistency with info.
2907
2908 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2909
2910 * mail/rmail.el (rmail-maybe-display-summary):
2911 Rewrite (Bug#13066).
2912
2913 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2914
2915 * epg.el (epg--start): Modify process-environment locally.
2916
2917 2012-12-28 Daiki Ueno <ueno@gnu.org>
2918
2919 * epg.el: Support pinentry-curses.
2920 Suggested by Werner Koch in
2921 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2922 (epg-agent-file, epg-agent-mtime): New variable.
2923 (epg--start): Record the modified time of gpg-agent socket file,
2924 to restore Emacs frame after pinentry-curses termination.
2925 (epg-wait-for-completion): Restore Emacs frame here.
2926
2927 2012-12-27 Juri Linkov <juri@jurta.org>
2928
2929 * info.el (Info-file-completions): New variable.
2930 (Info-read-node-name-1): Complete node names in the Info file
2931 when a file name is given. Call `Info-build-node-completions'
2932 with a file name.
2933 (Info-build-node-completions): Add new arg `file'. When it is
2934 non-nil, visit it in a temporary buffer and cache its completions in
2935 `Info-current-file-completions'. Move most of the function body to
2936 `Info-build-node-completions-1'.
2937 (Info-build-node-completions-1): New function with the body from
2938 `Info-build-node-completions'. (Bug#12456)
2939
2940 2012-12-27 Juri Linkov <juri@jurta.org>
2941
2942 * frame.el (frame-maximization-style): Remove user option.
2943 (cycle-frame-maximized): Remove function.
2944 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2945 (toggle-frame-fullscreen): New command bound to <f11> instead of
2946 `toggle-frame-maximized'.
2947 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2948
2949 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2950
2951 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2952
2953 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2954 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2955 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2956 for `file-accessible-directory-p'. (Bug#13275)
2957
2958 2012-12-27 Sam Steingold <sds@gnu.org>
2959
2960 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2961 continuations, see <http://stackoverflow.com/questions/3582436>.
2962
2963 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2964
2965 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2966 "module" and "def" to have indentation before them.
2967 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2968
2969 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2970
2971 2012-12-27 Alan Mackenzie <acm@muc.de>
2972
2973 Speed up fontification where there's large brace blocks.
2974 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2975 to a call of c-beginning-of-decl-1.
2976
2977 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2978
2979 * comint.el (comint-adjust-window-point): New function.
2980 (comint-postoutput-scroll-to-bottom):
2981 Call comint-adjust-window-point (Bug#13248).
2982
2983 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2984
2985 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2986 Rakefile regexp.
2987 (auto-mode-alist): Associate .gemspec files with ruby-mode
2988 (https://bugs.ruby-lang.org/issues/5453).
2989
2990 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2991
2992 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2993 Suppress coloring, if possible (required for BusyBox based systems like
2994 CyanogenMod).
2995 (tramp-adb-handle-file-attributes)
2996 (tramp-adb-handle-insert-directory)
2997 (tramp-adb-handle-file-name-all-completions): Use it.
2998 (tramp-adb-get-toolbox): New defun. Check for remote shell
2999 implementation (BusyBox or Toolbox).
3000
3001 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3002
3003 * startup.el (initial-buffer-choice): Allow function as value
3004 (Bug#13251).
3005 (command-line-1): Handle case where initial-buffer-choice
3006 specifies a function.
3007 * server.el (server-execute): Handle case where
3008 initial-buffer-choice specifies a function.
3009
3010 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3011
3012 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3013 its own function.
3014 (smtpmail-try-auth-methods): Forget the user name/password if the
3015 login is unsuccessful (bug#12424).
3016
3017 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3018
3019 * notifications.el (notifications-notify): Protect body with
3020 `with-demoted-errors'.
3021
3022 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3023 Check properties of remote device. Restart connection, if there is a
3024 change.
3025
3026 2012-12-21 Chong Yidong <cyd@gnu.org>
3027
3028 * sort.el (sort-subr): Doc fix (Bug#13056).
3029
3030 2012-12-21 Bastien Guerry <bzg@gnu.org>
3031
3032 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3033
3034 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3035
3036 * simple.el (process-file): Overwrite stderr file, if exists.
3037
3038 2012-12-21 Daiki Ueno <ueno@gnu.org>
3039
3040 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3041 (epg-error): Set `error-message' property.
3042
3043 2012-12-21 Chong Yidong <cyd@gnu.org>
3044
3045 * international/mule-cmds.el (read-char-by-name): Signal an error
3046 if the user does not supply a valid character (Bug#13177).
3047
3048 * simple.el (transpose-subr-1): Preserve marker positions by
3049 changing the insertion sequence (Bug#13122).
3050
3051 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3052
3053 * simple.el (kill-region): Deactivate mark even for empty regions
3054 (Bug#13169).
3055
3056 2012-12-21 Chong Yidong <cyd@gnu.org>
3057
3058 * help-fns.el (describe-variable): Make sure we get the right
3059 buffer name (Bug#13105). Suggested by Kelly Dean.
3060
3061 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3062
3063 * comint.el (comint-redirect-previous-input-string): New variable.
3064 (comint-redirect-setup, comint-redirect-cleanup)
3065 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3066 (comint-redirect-preoutput-filter): Fix verbose message.
3067
3068 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3069
3070 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3071 is too long for Tramp. See discussion in
3072 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3073
3074 * progmodes/compile.el (compilation-start): Remove line escape
3075 template.
3076
3077 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3078
3079 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3080 Adjust comment.
3081
3082 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3083
3084 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3085 following non-comment text (bug#13207).
3086 (lm-header-multiline): Continuation lines need to be indented more than
3087 the first line.
3088 (lm-homepage): New function.
3089 (lm-with-file): Don't be confused if narrowing is in effect.
3090
3091 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3094 very beginning of a hunk (e.g. killing the first line).
3095
3096 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3097
3098 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3099 and text properties from returned ACL string.
3100 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3101 for "setfacl" command.
3102
3103 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3104
3105 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3106 `tramp-cleanup-this-connection', when the process has died.
3107 (Bug#13151)
3108
3109 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3112
3113 2012-12-17 Kevin Ryde <user42@zip.com.au>
3114
3115 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3116
3117 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3118
3119 Add support for preserving ACL entries of files.
3120
3121 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3122 `set-file-acl' handlers.
3123
3124 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3125 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3126
3127 * net/tramp-compat.el (tramp-compat-copy-file):
3128 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3129
3130 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3131 Add `file-acl' and `set-file-acl' handlers.
3132 (tramp-gvfs-handle-copy-file):
3133 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3134 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3135 New defuns.
3136
3137 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3138 Add `file-acl' and `set-file-acl' handlers.
3139 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3140 (tramp-sh-handle-set-file-acl): New defuns.
3141 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3142 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3143
3144 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3145 Add `file-acl' and `set-file-acl' handlers.
3146 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3147
3148 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3149
3150 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3151 use pop-to-buffer with NORECORD argument t. As buffer name, use
3152 *Metahelp* with a leading space (Bug#13190).
3153
3154 2012-12-16 Romain Francoise <romain@orebokech.com>
3155
3156 * files.el (file-extended-attributes)
3157 (set-file-extended-attributes): New functions.
3158 (backup-buffer): Use them to handle both SELinux context and ACL
3159 entries.
3160 (backup-buffer-copy): Work with an alist of extended attributes,
3161 rather than an SELinux context.
3162 (basic-save-buffer-2): Ditto.
3163
3164 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3165
3166 * battery.el (battery-bsd-apm): New function.
3167
3168 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3169
3170 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3171 standard date formats.
3172
3173 2012-12-15 Juri Linkov <juri@jurta.org>
3174
3175 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3176 `isearch-insert-char-by-name'.
3177 (with-isearch-suspended): New defmacro with body mostly from
3178 `isearch-edit-string' except the part that sets
3179 `isearch-new-string' and `isearch-new-message'.
3180 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3181 body that sets `isearch-new-string' and `isearch-new-message'.
3182 (isearch-insert-char-by-name): New command.
3183 * international/mule-cmds.el (read-char-by-name): Let-bind
3184 `enable-recursive-minibuffers' to t.
3185 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3186
3187 2012-12-15 Juri Linkov <juri@jurta.org>
3188
3189 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3190 (Bug#13175)
3191
3192 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3193
3194 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3195 the prompt. (Bug#13045)
3196
3197 2012-12-14 Glenn Morris <rgm@gnu.org>
3198
3199 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3200 Try to include filename in non-bytecomp warning. (Bug#13132)
3201
3202 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3203
3204 Fix permissions bugs with setgid directories etc. (Bug#13125)
3205 * files.el (backup-buffer): Don't rely on 9th output of
3206 file-attributes, as it's now a placeholder. Instead, use the new
3207 optional arg of file-ownership-preserved-p.
3208 (file-ownership-preserved-p): New optional arg GROUP.
3209 Fix mishandling of setuid directories that would cause this
3210 function to return t when it should have returned nil.
3211 Document what happens if the file does not exist, and when
3212 it's not known whether the ownership will be preserved.
3213 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3214 Likewise.
3215 (tramp-get-local-gid): Use group-gid for integer, as that's
3216 faster and more reliable.
3217
3218 2012-12-14 Julien Danjou <julien@danjou.info>
3219
3220 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3221 Update keywords list, data type and PL/pgSQL.
3222
3223 2012-12-14 Dave Abrahams <dave@boostpro.com>
3224
3225 * vc/ediff-util.el (ediff-buffer-type): New function.
3226 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3227 rather than taking it as as argument.
3228 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3229
3230 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3231
3232 * json.el: Add pretty-print option (bug#12634).
3233 (json-encoding-separator, json-encoding-default-indentation)
3234 (json--encoding-current-indentation, json-encoding-pretty-print)
3235 (json-encoding-lisp-style-closings): New vars.
3236 (json--with-indentation): New macro.
3237 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3238 (json-encode-array): Use it to obey json-encoding-pretty-print.
3239 (json-pretty-print-buffer, json-pretty-print): New commands.
3240
3241 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3242
3243 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3244 Extract `ruby-syntax-propertize-expansions'.
3245 (ruby-syntax-propertize-expansions): Only change syntax on
3246 certain string delimiters, to punctuation. This way the common
3247 functions like forward-word and thing-at-point still work.
3248 (ruby-match-expression-expansion): Improve readability.
3249 (ruby-block-contains-point): New function.
3250 (ruby-add-log-current-method): Handle several edge cases.
3251
3252 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3253
3254 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3255 unload-feature finishes even when aborting an ongoing edebug session.
3256 Also, do not worry about edebug-mode, unload-feature takes care of it.
3257
3258 2012-12-13 Andreas Schwab <schwab@suse.de>
3259
3260 * net/tls.el (tls-program): Update customize type.
3261
3262 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3263
3264 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3265 (edebug-setup-hook, cl-read-load-hooks): Use it.
3266 (edebug-unload-function): New function. (Bug#13163)
3267
3268 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3269
3270 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3271 Otherwise, there could be errors in autoloading. (Bug#13151)
3272
3273 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3274
3275 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3276 sequences.
3277
3278 2012-12-13 Alan Mackenzie <acm@muc.de>
3279
3280 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3281 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3282 around `forward-comment' not recognizing ^M as whitespace.
3283
3284 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3285
3286 * progmodes/python.el (python-skeleton-class)
3287 (python-skeleton-def): Do not add space after defun name.
3288
3289 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3290
3291 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3292 (cl--symbol-function): Remove (now that funbound is like nil).
3293
3294 2012-12-12 Glenn Morris <rgm@gnu.org>
3295
3296 * button.el (button--area-button-p): Fix typo.
3297
3298 2012-12-12 Sam Steingold <sds@gnu.org>
3299
3300 * frame.el (frame-maximization-style): New user option.
3301 (toggle-frame-maximized): Toggle frame maximization according to
3302 `frame-maximization-style', bound to <f11>.
3303 (cycle-frame-maximized): Cycle between all maximization styles and
3304 non-maximized frame, bound to shift-<f11>.
3305
3306 2012-12-12 David Cadé <codename68@gmail.com>
3307
3308 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3309
3310 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3311
3312 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3313 (eieio-override-prin1): Don't quote kewords and booleans.
3314 (object-write) <eieio-default-superclass>: Don't put closing parens
3315 on new line, avoid needless empty lines, align values that are objects
3316 with the slot keyword (instead of beginning on the same line).
3317 (eieio-list-prin1): Align value with slot keyword; increase
3318 eieio-print-depth before printing members of the list.
3319
3320 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3323 a display text-property.
3324 (report-emacs-bug-hook): Don't bother deleting it any more.
3325
3326 * hilit-chg.el (highlight-save-buffer-state): Delete.
3327 Use with-silent-modifications instead.
3328 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3329
3330 * button.el: Handle buttons in display text-properties.
3331 (button--area-button-p, button--area-button-string):
3332 Use (STRING . STRING-POS) representation instead of just STRING.
3333
3334 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3335
3336 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3337 subdirectory be skipped.
3338
3339 2012-12-11 Glenn Morris <rgm@gnu.org>
3340
3341 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3342
3343 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3344 Treat preprocessor lines embedded in continuations like comments.
3345 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3346
3347 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3348
3349 * calc/calc.el (calc-standard-date-formats): Add more date
3350 formats.
3351 * calc/calc-forms.el (math-parse-iso-date): New function.
3352 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3353 (math-parse-iso-date-validate): Add extra error checking.
3354 (calc-date-notation): Add ability to access new date formats.
3355
3356 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3357
3358 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3359 font-lock as well as when there's no text-property.
3360
3361 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3362
3363 * hi-lock.el: Refine the choice of default face.
3364 (hi-lock-keyword->face): New function. Use it wherever we used
3365 cadadadr instead.
3366 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3367 (hi-lock--last-face): Remove var.
3368 (hi-lock--unused-faces): New var to replace it.
3369 (hi-lock-read-face-name): Use/maintain it.
3370 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3371 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3372 if it has another face.
3373
3374 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3375
3376 * subr.el (w32notify-handle-event): New function.
3377 (inotify-handle-event): Doc fix.
3378
3379 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3380
3381 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3382
3383 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3384
3385 * simple.el (just-one-space): Doc fix.
3386
3387 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3388
3389 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3390
3391 2012-12-10 Le Wang <l26wang@gmail.com>
3392
3393 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3394 narrowed buffer (bug#12361).
3395
3396 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3397
3398 * vc/vc-hooks.el (vc-state): Doc fix.
3399
3400 2012-12-10 Glenn Morris <rgm@gnu.org>
3401
3402 * mail/rmail.el (rmail-maybe-display-summary):
3403 Preserve buffer, in case select-window changes it. (Bug#13066)
3404
3405 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3406
3407 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3408 cl-load-hook where they belong.
3409
3410 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3413
3414 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3415
3416 Parallelize byte compilation on MS-Windows.
3417 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3418 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3419 (WINS_BASIC): Define as concatenation of the above.
3420 (compile): Subdivide into 4 separate and independent jobs that can
3421 be run in parallel.
3422 (compile0-CMD, compile0-SH): New targets for compiling
3423 COMPILE_FIRST files, which are prerequisites for the rest of the
3424 byte-compilation.
3425 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3426 New targets for parallel compilation with cmd.exe.
3427 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3428 compiling under a Unixy shell.
3429
3430 2012-12-09 Chong Yidong <cyd@gnu.org>
3431
3432 * simple.el (set-mark-default-inactive): Delete this
3433 accidentally-introduced option.
3434 (set-mark-command, exchange-point-and-mark): Remove calls.
3435
3436 2012-12-09 Glenn Morris <rgm@gnu.org>
3437
3438 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3439 Respect a defcustom's :set function, if appropriate. (Bug#109)
3440 (eval-defun): Doc fix.
3441
3442 2012-12-08 Juri Linkov <juri@jurta.org>
3443
3444 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3445 (Info-fontify-node, Info-bookmark-make-record): Remove the
3446 file extension from Info-current-file (Bug#13016).
3447
3448 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3451 point, still provide some default.
3452 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3453 names, since we don't use it right now. Actually return the list.
3454 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3455
3456 2012-12-07 Chong Yidong <cyd@gnu.org>
3457
3458 * novice.el (disabled-command-function): Remove a spurious help
3459 xref (Bug#13043). Suggested by Kelly Dean.
3460
3461 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3462 syntax is specified (Bug#13025).
3463
3464 * info.el (Info-set-mode-line): Remove the file extension from
3465 Info-current-file if there is one (Bug#13016).
3466
3467 2012-12-07 Glenn Morris <rgm@gnu.org>
3468
3469 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3470 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3471 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3472 and rmail-mime-decoded. (Bug#9841)
3473
3474 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3475 (batch-unrmail, unrmail): Doc fixes.
3476 (unrmail): Respect unrmail-mbox-format.
3477 * mail/rmail.el (rmail-mbox-format): New option.
3478 (rmail-show-message-1): Respect rmail-mbox-format.
3479
3480 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3481
3482 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3483
3484 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3487 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3488 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3489 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3490 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3491 (cl-progv): Don't rely on dynamic scoping to find the body.
3492 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3493 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3494 (cl-declaim): Use backquotes.
3495 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3496 Use "cl--" prefix for the object's tag.
3497
3498 * ses.el: Use advice-add/remove.
3499 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3500 (copy-region-as-kill, yank): Use advice-add.
3501 (ses-unload-function): Use advice-remove.
3502
3503 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3504
3505 * button.el: Make them work in header-lines (bug#12817).
3506 (button-map): Add bindings for header-line and mode-line use.
3507 (button-get, button-put, button-label): `button' may now be a string.
3508 (button-activate): Don't make it a defsubst.
3509 (button--area-button-p, button--area-button-string): New functions.
3510 (make-text-button): Fix the return value when `beg' was a string.
3511 (push-button): Handle the mode-line case.
3512
3513 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3514
3515 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3516 (sql-signum): Remove. Use `cl-signum' instead.
3517 (sql-read-passwd): Remove; use read-passwd instread.
3518 (sql-get-login-ext): Use read-string.
3519 (sql-get-login): Use dolist and pcase.
3520 (sql--completion-table): Rename from sql-try-completion.
3521 Use complete-with-action.
3522 (sql-mode): Don't change abbrev-all-caps globally.
3523 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3524 (sql-postgres-completion-object): Initialize vars in their `let'.
3525 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3526 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3527 (sql-comint-interbase): Use a single append, without setq.
3528 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3529
3530 * hi-lock.el: Rework the default face and the serialize regexp code.
3531 (hi-lock--auto-select-face-defaults): Remove.
3532 (hi-lock-string-serialize-serial): Remove.
3533 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3534 make weak.
3535 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3536 equal string.
3537 (hi-lock-set-pattern): Adjust accordingly.
3538 (hi-lock--regexps-at-point): Simplify accordingly.
3539 (hi-lock--auto-select-face-defaults): Remove.
3540 (hi-lock--last-face): New var to replace it.
3541 (hi-lock-read-face-name): Rewrite (bug#11095).
3542 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3543
3544 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3545
3546 * net/tramp.el (tramp-replace-environment-variables):
3547 Hide compiler warning.
3548 (tramp-file-name-for-operation): Remove `executable-find',
3549 `start-process', `call-process' and `call-process-region'.
3550
3551 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3552
3553 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3554 compatibility.
3555
3556 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3557
3558 2012-12-06 Chong Yidong <cyd@gnu.org>
3559
3560 * ffap.el (ffap-replace-file-component): Fix typo.
3561
3562 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3565 fix open-paren-like token test (bug#12785).
3566
3567 2012-12-06 Glenn Morris <rgm@gnu.org>
3568
3569 * mail/rmailsum.el (rmail-new-summary): Tweak for
3570 rmail-maybe-display-summary changing buffer. (Bug#13066)
3571
3572 2012-12-06 Juri Linkov <juri@jurta.org>
3573
3574 * info.el (Info-fontify-node): Don't hide the last newline.
3575 (Bug#12272)
3576
3577 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3578
3579 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3580 so as to enable message-read-from-minibuffer to expand mail aliases.
3581
3582 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3583
3584 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3585 the `intangible' property.
3586 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3587
3588 2012-12-05 Deniz Dogan <deniz@dogan.se>
3589
3590 * net/rcirc.el (rcirc-urls): Update documentation.
3591 (rcirc-condition-filter): New function.
3592 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3593 and exclude consecutive duplicate URLs (Bug#6082).
3594
3595 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3596
3597 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3598 Check return code of copy command.
3599
3600 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3601 Use group `tramp'. Add version.
3602
3603 2012-12-05 Chong Yidong <cyd@gnu.org>
3604
3605 * ffap.el (ffap-url-regexp): Don't require matching at front of
3606 string (Bug#4952).
3607 (ffap-url-p): If only a substring matches, return that.
3608 (ffap-url-at-point): Use the return value of ffap-url-p.
3609 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3610 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3611 (ffap-guess-file-name-at-point): Likewise.
3612 (ffap-replace-file-component): Fix typo.
3613
3614 * info.el (info-display-manual): Add existing Info buffers, whose
3615 files may not be in Info-directory-list, to the completion.
3616 (info--manual-names): New helper function.
3617
3618 2012-12-05 Glenn Morris <rgm@gnu.org>
3619
3620 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3621 New functions, for detecting and resolving conflicts. (Bug#10709)
3622
3623 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3624
3625 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3626 (hi-lock-auto-select-face-defaults): New buffer local variable.
3627 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3628 (hi-lock-unface-buffer): Prompt user with useful defaults.
3629 With prefix arg, unhighlight all hi-lock patterns in buffer.
3630
3631 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3632
3633 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3634
3635 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3636
3637 * Makefile.in (TRAMP_SRC):
3638 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3639
3640 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3641
3642 * net/tramp-adb.el: New package.
3643
3644 2012-12-04 Chong Yidong <cyd@gnu.org>
3645
3646 * terminal.el: Move to obsolete/.
3647
3648 * longlines.el: Move to obsolete/.
3649
3650 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3651 Remove code referring to longlines mode.
3652
3653 2012-12-03 Juri Linkov <juri@jurta.org>
3654
3655 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3656
3657 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3658
3659 * textmodes/ispell.el (ispell-init-process)
3660 (ispell-start-process, ispell-internal-change-dictionary):
3661 Make sure personal dictionary name is expanded after initial
3662 `default-directory' value. Use expanded strings for
3663 keep/restart checks and for value (Bug#13019).
3664
3665 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3666
3667 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3668
3669 2012-12-03 Leo Liu <sdl.web@gmail.com>
3670
3671 * files.el (dir-locals-read-from-file): Check file non-empty
3672 before reading. (Bug#13038)
3673
3674 2012-12-03 Glenn Morris <rgm@gnu.org>
3675
3676 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3677 Remove any version extension before checking filename. (Bug#13006)
3678 (jka-compr-compression-info-list): Belated :version bump.
3679
3680 2012-12-03 Chong Yidong <cyd@gnu.org>
3681
3682 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3683
3684 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3685 (buffer-menu): Doc fix (Bug#12294).
3686
3687 2012-12-03 Roland Winkler <winkler@gnu.org>
3688
3689 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3690 of diary-show-all-entries in the diary buffer (Bug#12994).
3691
3692 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3693
3694 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3695 "<STDIN>". This is binary safe.
3696
3697 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3698
3699 * calc/calc-forms.el (math-absolute-from-iso-dt)
3700 (math-date-to-iso-dt, math-parse-iso-date-validate)
3701 (math-iso-dt-to-date): New functions.
3702 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3703 (math-fd-isoweekday): New variables.
3704 (calc-date-notation, math-parse-standard-date, math-format-date)
3705 (math-format-date-part): Add support for more formatting codes.
3706
3707 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3708
3709 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3710 current buffer's file name when called interactively (Bug#12488).
3711
3712 2012-12-02 Juri Linkov <juri@jurta.org>
3713
3714 * info.el (info-display-manual): Don't clobber an existing Info
3715 buffer (Bug#10770). Add completion (Bug#10771).
3716
3717 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3718
3719 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3720 before using it for comparison (Bug#5297).
3721
3722 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3723
3724 * textmodes/css-mode.el (css-current-defun-name): New function.
3725 (css-mode): Use it.
3726
3727 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3728 (html-mode): Use it.
3729
3730 2012-12-01 Chong Yidong <cyd@gnu.org>
3731
3732 Modularize add-log-current-defun (Bug#2224).
3733 Suggested by Jari Aalto.
3734
3735 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3736 (add-log-current-defun): Move mode-specific code to other files.
3737 (add-log-lisp-like-modes, add-log-c-like-modes)
3738 (add-log-tex-like-modes): Variables deleted.
3739
3740 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3741 (lisp-mode-variables): Use it.
3742
3743 * progmodes/cc-mode.el (c-common-init):
3744 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3745 add-log-current-defun-function.
3746
3747 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3748 (m4-mode): Use it.
3749
3750 * progmodes/perl-mode.el (perl-current-defun-name): New.
3751 (perl-mode): Use it.
3752
3753 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3754 Use lisp-current-defun-name.
3755
3756 * textmodes/tex-mode.el (tex-current-defun-name): New.
3757 (tex-common-initialization): Use it.
3758
3759 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3760 (texinfo-mode): Use it.
3761
3762 2012-12-01 Chong Yidong <cyd@gnu.org>
3763
3764 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3765 * progmodes/autoconf.el (autoconf-mode):
3766 * progmodes/js.el (js-mode):
3767 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3768 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3769 * progmodes/perl-mode.el (perl-mode):
3770 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3771 * textmodes/css-mode.el (css-mode):
3772 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3773 (sgml-tags-invisible, sgml-guess-indent):
3774 * textmodes/tex-mode.el (tex-common-initialization)
3775 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3776 (doctex-mode, plain-tex-mode, latex-mode):
3777 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3778
3779 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3780
3781 * vc/vc-hg.el (vc-hg-next-revision):
3782 Ensure use of default "tip" output format. (Bug#6968)
3783
3784 2012-12-01 Kim F. Storm <storm@cua.dk>
3785
3786 * startup.el (fancy-startup-tail): Add a clickable link
3787 (Bug#2176).
3788
3789 2012-12-01 Chong Yidong <cyd@gnu.org>
3790
3791 * startup.el (fancy-startup-tail): Improve the message about
3792 auto-save files (Bug#2176).
3793
3794 * files.el (recover-session): Improve the descriptive message, and
3795 use substitute-command-keys.
3796
3797 2012-12-01 Glenn Morris <rgm@gnu.org>
3798
3799 * ido.el (ido-file-internal):
3800 Handle other-window, other-frame for dired. (Bug#13036)
3801
3802 2012-11-30 Glenn Morris <rgm@gnu.org>
3803
3804 * icomplete.el (icomplete-separator): Fix :version.
3805
3806 2012-11-30 Chong Yidong <cyd@gnu.org>
3807
3808 * shell.el (shell): For C-u M-x shell, use an inactive shell
3809 buffer as the default (Bug#1975).
3810 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3811 (shell-mode): Use them to reapply ansi colorization if Shell mode
3812 is re-enabled.
3813
3814 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3815
3816 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3817
3818 2012-11-30 Samuel Bronson <naesten@gmail.com>
3819
3820 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3821 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3822
3823 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3824
3825 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3826 by move-to-column (Bug#3234).
3827
3828 2012-11-30 Chong Yidong <cyd@gnu.org>
3829
3830 * longlines.el (longlines-wrap-line, longlines-encode-region):
3831 Preserve text properties (Bug#1425).
3832
3833 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3834
3835 * vc/vc.el (vc-register): Allow registering a file which is
3836 already registered with a different backend (Bug#10589).
3837
3838 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3839 Stefan Monnier <monnier@iro.umontreal.ca>
3840
3841 * icomplete.el: Change separator; add ido-style commands.
3842 (icomplete-show-key-bindings): Remove custom var.
3843 (icomplete-get-keys): Remove function.
3844 (icomplete-forward-completions, icomplete-backward-completions):
3845 New commands.
3846 (icomplete-minibuffer-map): New var.
3847 (icomplete-minibuffer-setup): Use it.
3848 (icomplete-exhibit): Don't delay if the list of completions is known.
3849 (icomplete-separator): New custom.
3850 (icomplete-completions): Use it.
3851 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3852 (minibuffer-force-complete-and-exit): New command.
3853 (minibuffer--complete-and-exit): New function extracted from
3854 minibuffer-complete-and-exit.
3855 (minibuffer-complete-and-exit): Use it.
3856
3857 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3858 error message when the file doesn't exist (bug#12974).
3859
3860 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3861
3862 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3863
3864 2012-11-29 Glenn Morris <rgm@gnu.org>
3865
3866 * files.el (hack-dir-local-variables): Warn if try to set
3867 coding via dir-locals, since it doesn't work. (Bug#7169)
3868
3869 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3870 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3871 Set buffer-local value of desktop-save-buffer.
3872 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3873 New functions.
3874 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3875 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3876
3877 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3878 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3879 Doc fix.
3880 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3881 Doc fixes.
3882
3883 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3884
3885 * calc/calc-forms.el (calc-date-notation): Fix regexp
3886 used to find time codes. Fix symbol for seconds.
3887
3888 2012-11-27 Glenn Morris <rgm@gnu.org>
3889
3890 * emacs-lisp/derived.el (derived-mode-make-docstring):
3891 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3892
3893 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3896 lexically scoped variables (bug#13005).
3897
3898 2012-11-27 Glenn Morris <rgm@gnu.org>
3899
3900 * vc/vc-hooks.el (vc-mistrust-permissions):
3901 Default to t, to avoid data-loss. (Bug#11490)
3902
3903 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3904
3905 * progmodes/python.el (python-indent-guess-indent-offset):
3906 If indentation is guessed make python-indent-offset buffer-local.
3907
3908 Fix Imenu regression.
3909 * progmodes/python.el (python-nav-beginning-of-defun):
3910 Fix forward movement when statement(s) separates point from defun.
3911 (python-imenu-prev-index-position): New function.
3912
3913 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3914
3915 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3916
3917 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3918 Don't set buffer-file-type. Return nil. (Bug#12989)
3919
3920 2012-11-27 Glenn Morris <rgm@gnu.org>
3921
3922 * hippie-exp.el (hippie-expand-try-functions-list):
3923 Re-autoload it. (Bug#12982)
3924
3925 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3926
3927 * descr-text.el (describe-char-padded-string):
3928 Call internal-char-font only on GUI frames. (Bug#11964)
3929
3930 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3931
3932 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3933 and obsoletion message.
3934
3935 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3938 the constructs to keep outside of the `cl-block' (bug#12977).
3939
3940 2012-11-27 Chong Yidong <cyd@gnu.org>
3941
3942 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3943 keep reading until we get the up-event anyway, in order to process
3944 the up-event for mouse-1-click-follows-link (Bug#12971).
3945
3946 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3949 base function is not yet defined (bug#12965).
3950 (ad-activate-advised-definition): Use ad-compile-function.
3951 (ad-activate): Use cond.
3952
3953 2012-11-25 Leo Liu <sdl.web@gmail.com>
3954
3955 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3956 (Bug#12979)
3957
3958 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3959
3960 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3961 reftex-section-info-function in order to be compatible with
3962 Texinfo integration.
3963
3964 * textmodes/reftex.el (reftex-section-pre-regexp)
3965 (reftex-section-post-regexp, reftex-section-info-function):
3966 New variable.
3967 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3968 reftex-section-post-regexp, and reftex-section-info-function in order
3969 to be compatible with Texinfo integration.
3970
3971 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3972 use reftex-section-pre-regexp variable in order to be compatible with
3973 Texinfo integration.
3974
3975 2012-11-25 Chong Yidong <cyd@gnu.org>
3976
3977 * faces.el: Make face-spec-set more analogous to setq.
3978 (face-spec-set): Change the third arg to specify whether this
3979 function is being called via defface, customize, or a third party.
3980 Set the appropriate symbol properties. Clear the override spec if
3981 setting via Custom. Initialize face if necessary. (Bug#4988)
3982 (face-spec-recalc): Allow theme faces to completely replace the
3983 defface spec, in the same way as custom faces (Bug#8454).
3984
3985 * cus-face.el (custom-declare-face): Move face initialization to
3986 face-spec-set.
3987 (custom-theme-set-faces): Don't initialize the face name here, as
3988 that is now done in face-spec-set.
3989
3990 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3991 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3992 Simplify by using the new arg to face-spec-set.
3993
3994 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3995 reset face-override-spec too, and use custom-declare-face.
3996
3997 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3998
3999 * term/ns-win.el (ns-initialize-window-system): Move creation of
4000 fontsets here (Bug#11964).
4001
4002 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4003
4004 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4005 cell renaming.
4006
4007 2012-11-24 Chong Yidong <cyd@gnu.org>
4008
4009 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4010 obsolete.
4011
4012 * custom.el (custom-theme-set-variables): Use a topological sort
4013 for ordering by custom dependencies (Bug#12952).
4014 (custom--sort-vars, custom--sort-vars-1): New functions.
4015
4016 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4017
4018 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4019 lexical-binding (bug#12938).
4020
4021 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4022
4023 * image-mode.el (image-transform-check-size): Use assertions only
4024 for images of type imagemagick.
4025
4026 Otherwise no error, image-transform-fit-to-{width,height} is
4027 silently ignored, as before. Doc fix.
4028
4029 2012-11-24 Chong Yidong <cyd@gnu.org>
4030
4031 * faces.el (color-defined-p): Doc fix (Bug#12853).
4032
4033 2012-11-24 Juri Linkov <juri@jurta.org>
4034
4035 * dired.el (dired-mark): Add optional arg `interactive'.
4036 Check for `use-region-p' if `interactive' is non-nil.
4037 (dired-unmark, dired-flag-file-deletion): Add optional arg
4038 `interactive'. Call `dired-mark' with the arg `interactive'.
4039 (Bug#10624)
4040
4041 * wdired.el: Revert 2012-10-17 change partly and replace it with
4042 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4043 (wdired-finish-edit): Add marks for new file names to
4044 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4045 after `revert-buffer'.
4046 (wdired-do-renames): Remove calls to `dired-remove-file',
4047 `dired-add-file', `dired-add-entry'. (Bug#11795)
4048
4049 2012-11-24 Alan Mackenzie <acm@muc.de>
4050
4051 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4052
4053 Fix bugs in the state cache. Enhance a debugging mechanism.
4054 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4055 "brace at column zero" strategy for C++.
4056 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4057 (c-parse-state-point): New variable.
4058 (c-record-parse-state-state): Record old parse state with
4059 `copy-tree'. Record previous value of point.
4060 (c-debug-parse-state-double-cons): New debugging function.
4061 (c-debug-parse-state): Call the above new function.
4062 (c-toggle-parse-state-debug): Output a confirmatory message.
4063
4064 * progmodes/cc-mode.el (c-before-change, c-after-change):
4065 Call c-invalidate-state-cache from `c-before-change' instead of
4066 `c-after-change'.
4067
4068 2012-11-23 Chong Yidong <cyd@gnu.org>
4069
4070 * find-cmd.el (find-constituents): Add executable, ipath,
4071 readable, samefile, writable, daystart, regextype (Bug#12856).
4072
4073 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4074
4075 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4076
4077 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4078
4079 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4080 definition. This fixes a bootstrap failure.
4081 (calc-gregorian-switch): In menu, put dates before regions.
4082 This is easier to follow, lines up better in the menu, and lets us
4083 coalesce regions that switch at the same time. Give country
4084 names, not "Vatican", as that's better for non-expert users.
4085 Use names that are stable between the date of switch and now, e.g.,
4086 Bohemia and Moravia (which existed then and now) and not
4087 Czechoslovakia (which didn't exist then and doesn't exist now).
4088 What is now the U.S. mostly did not switch at the same time as
4089 Britain, so omit the U.S. Correct spelling of "Britain".
4090 Catholic Switzerland was too much of a mess, so omit it.
4091
4092 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4093
4094 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4095 after the variable is changed.
4096
4097 2012-11-21 Daniel Colascione <dancol@dancol.org>
4098
4099 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4100 in SQL declarations for font-lock.
4101 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4102
4103 2012-11-21 Glenn Morris <rgm@gnu.org>
4104
4105 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4106 (face-italic-p): Add optional argument "inherit".
4107
4108 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4109 Remove -p suffix from names, for consistency with other set-face-*.
4110 (set-face-inverse-video): Fix interactive spec.
4111 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4112 * textmodes/table.el (table--update-cell-face):
4113 Use set-face-inverse-video rather than now obsolete alias.
4114
4115 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4116
4117 * simple.el (line-move): Don't call line-move-partial if
4118 scroll-conservatively is in effect. (Bug#12927)
4119
4120 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4123 Fallback on completion-at-point rather than
4124 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4125 (eshell-cmpl-initialize): Setup completion-at-point.
4126
4127 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4128
4129 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4130
4131 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4132
4133 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4134 are remote, check out-of-band property for both.
4135
4136 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4137
4138 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4139 code rewrite.
4140
4141 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4142
4143 More minor time fixes.
4144 * calendar/time-date.el: Commentary fix.
4145 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4146 too much other code depends on (0 0) time stamps.
4147 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4148 Add a couple of FIXME comments.
4149
4150 Minor cleanup for times as lists of four integers.
4151 * files.el (dir-locals-directory-cache):
4152 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4153 Doc fixes.
4154 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4155 * ps-bdf.el (bdf-file-newer-than-time):
4156 Process four-integers time stamps, not two. Doc fixes.
4157
4158 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4159
4160 * uniquify.el (uniquify-managed): Use defvar-local.
4161 (rename-buffer, create-file-buffer): Advise with advice-add.
4162 (uniquify-unload-function): Unadvise accordingly.
4163
4164 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4165 (trace-buffer): Don't purecopy.
4166 (trace-entry-message, trace-exit-message): Add `context' arg.
4167 (trace--timer): New var.
4168 (trace-make-advice): Adjust for use in nadvice.
4169 Add `context' argument. Delay `display-buffer' via a timer.
4170 (trace-function-internal): Use advice-add.
4171 (trace--read-args): New function.
4172 (trace-function-foreground, trace-function-background): Use it.
4173 (trace-function): Rename to trace-function-foreground and redefine as
4174 an alias to that new name.
4175 (untrace-function, untrace-all): Adjust to the use of nadvice.
4176
4177 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4178
4179 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4180
4181 * subr.el (called-interactively-p-functions): New var.
4182 (internal--called-interactively-p--get-frame): New macro.
4183 (called-interactively-p, interactive-p): Rewrite in Lisp.
4184 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4185 (called-interactively-p-functions): Use it.
4186 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4187 (called-interactively-p-functions): Use it.
4188 * allout.el (allout-called-interactively-p): Don't assume
4189 called-interactively-p is a subr.
4190
4191 2012-11-20 Glenn Morris <rgm@gnu.org>
4192
4193 * profiler.el (profiler-report-mode-map): Add a menu.
4194 No need to bind `q' because we derive from special-mode.
4195 (profiler-report-find-entry): Handle calls from the menu-bar.
4196
4197 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4198
4199 * emacs-lisp/byte-run.el (defun-declarations-alist):
4200 Allow a compiler-macro to be a lambda expression.
4201
4202 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4203 eval-when-compile.
4204 (python-syntax-context): Add compiler-macro.
4205 (python-font-lock-keywords): Simplify with De Morgan.
4206
4207 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4208
4209 * files.el (load-file): Require match in minibuffer selection, as was
4210 the case in Emacs-20 before we changed the spec to allow .elc files
4211 (bug#12935).
4212
4213 * json.el: Don't require cl since we don't use it.
4214 * color.el: Don't require cl.
4215 (color-complement): `caddr' -> `nth 2'.
4216
4217 * calendar/time-date.el (time-to-seconds): De-obsolete.
4218
4219 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4220
4221 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4222 year numbers.
4223 (math-date-to-julian-dt): Adjust the initial approximation for the
4224 year to deal with the new definition of the DATE.
4225
4226 2012-11-19 Daniel Colascione <dancol@dancol.org>
4227
4228 * term/w32-win.el (cygwin-convert-path-from-windows):
4229 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4230
4231 2012-11-18 Chong Yidong <cyd@gnu.org>
4232
4233 * filecache.el (file-cache--read-list): New function.
4234 (file-cache-add-directory-list, file-cache-add-file-list)
4235 (file-cache-delete-file-list, file-cache-delete-directory-list):
4236 Use it to read a list of files or directories (Bug#12846).
4237 (file-cache-add-file, file-cache-add-directory)
4238 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4239 (file-cache-delete-directory): Print an message.
4240
4241 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4242
4243 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4244 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4245
4246 2012-11-18 Glenn Morris <rgm@gnu.org>
4247
4248 * image.el (insert-image, insert-sliced-image): Doc fix.
4249
4250 2012-11-18 Chong Yidong <cyd@gnu.org>
4251
4252 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4253 (Bug#12810).
4254
4255 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4256
4257 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4258 response when the target file is in a subdirectory (Bug#12757).
4259
4260 2012-11-18 Chong Yidong <cyd@gnu.org>
4261
4262 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4263
4264 2012-11-18 Glenn Morris <rgm@gnu.org>
4265
4266 * emacs-lisp/cl-lib.el (face-underline-p):
4267 Use set-face-underline rather than the alias set-face-underline-p.
4268
4269 * window.el (with-temp-buffer-window): Doc fix.
4270 * subr.el (with-output-to-temp-buffer):
4271 Add doc xref to with-temp-buffer-window.
4272
4273 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4274
4275 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4276 * calc/calc.el (math-format-date-cache): Declare.
4277
4278 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4279
4280 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4281 It also uses January 1, 1 AD as its day number 1.
4282 * calc/calc-forms.el (math-julian-date-beginning)
4283 (math-julian-date-beginning-int): Implement this.
4284
4285 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4286
4287 * descr-text.el (quail-find-key):
4288 * dired.el (desktop-file-name):
4289 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4290 * generic-x.el (comint-mode, comint-exec):
4291 * image-dired.el (widget-forward):
4292 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4293 (speedbar-change-expand-button-char)
4294 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4295 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4296 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4297 (widget-field-action, widget-value-set):
4298 * speedbar.el (imenu--make-index-alist):
4299 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4300 (ring-length, ring-insert):
4301 * vcursor.el (compare-windows-skip-whitespace):
4302 * woman.el (dired-get-filename):
4303 Declare functions.
4304
4305 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4306
4307 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4308
4309 * calc/calc.el (calc-gregorian-switch): New variable.
4310
4311 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4312 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4313 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4314 (math-leap-year-p): Add option to distinguish between Julian
4315 and Gregorian calendars.
4316 (math-day-number): Use `math-day-in-year' to do the computations.
4317 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4318 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4319 to do the computations.
4320 (math-date-to-dt): Use `math-date-to-julian-dt' and
4321 `math-date-to-gregorian-dt' to do the computations.
4322 (calcFunc-weekday, math-format-date-part): Use the new version of
4323 the DATE to determine the weekday.
4324 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4325 when necessary.
4326
4327 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4328
4329 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4330 Cygwin; otherwise use 'file:'. (Bug#12914)
4331 (cygwin-convert-path-from-windows): Declare, to avoid
4332 byte-compiler warnings.
4333
4334 2012-11-17 Andreas Politz <politza@fh-trier.de>
4335
4336 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4337 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4338 prefix and negative numeric prefix args (Bug#12795).
4339
4340 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4341
4342 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4343 Don't signal an error with a score that is too low to add to the
4344 list of top scores. (Bug#12779)
4345
4346 2012-11-17 Chong Yidong <cyd@gnu.org>
4347
4348 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4349
4350 * filecache.el (file-cache-add-file): Handle relative file name in
4351 the argument (Bug#12694).
4352
4353 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4354
4355 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4356
4357 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4358
4359 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4360
4361 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4362
4363 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4364
4365 * window.el (enlarge-window, shrink-window): Don't mention return
4366 value in doc-string (Bug#12896).
4367 (window--display-buffer): Don't resize frames - it won't work
4368 with all window managers and defeat pop-up-frame-alist.
4369 (display-buffer-alist): In doc-string explain that CONDITION can
4370 be a function and which arguments are passed to it (Bug#12854).
4371 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4372 expressions (Bug#12854).
4373 (display-buffer): Pass ACTION argument to
4374 display-buffer-assq-regexp.
4375
4376 2012-11-16 Glenn Morris <rgm@gnu.org>
4377
4378 * window.el (fit-frame-to-buffer-bottom-margin)
4379 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4380
4381 * faces.el (face-underline-p): Use face-attribute-specified-or.
4382
4383 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4384
4385 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4386
4387 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4390
4391 2012-11-16 Glenn Morris <rgm@gnu.org>
4392
4393 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4394 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4395
4396 * faces.el (face-underline-p): Doc fix. Handle :underline being
4397 things other than `t' (a string, a list).
4398 (face-inverse-video-p): Doc fix.
4399 (set-face-underline): Rename it back from set-face-underline-p.
4400 Doc fix. Allow interactive input of values other than t.
4401 (read-face-attribute): Apply formatting to :underline,
4402 since like :box and :stipple it can take list values.
4403
4404 * term.el (ansi-term): Don't let C-x escape-char binding
4405 clobber the more standard C-c binding. (Bug#12842)
4406
4407 * subr.el (set-temporary-overlay-map): Doc fix.
4408
4409 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4410
4411 * window.el (record-window-buffer)
4412 (display-buffer-record-window): When copying the markers to
4413 window-point preserve window-point-insertion-type. (Bug#12588)
4414
4415 2012-11-16 Glenn Morris <rgm@gnu.org>
4416
4417 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4418 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4419 Use new names for hooks rather than obsolete aliases.
4420
4421 2012-11-15 Daniel Colascione <dancol@dancol.org>
4422
4423 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4424 prefix instead of "file:" so that when FILE-NAME begins with "//",
4425 as it does when the target file is on a network share, url-handler
4426 isn't confused.
4427
4428 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4431 a preactivated advice from an old advice.el; they're not compatible!
4432
4433 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4434
4435 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4436 Fix string-spec case.
4437
4438 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4439
4440 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4441
4442 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4443 (advice--buffer-local-function-sample): New var.
4444 (advice--set-buffer-local, advice--buffer-local): New functions.
4445 (add-function, remove-function): Use them.
4446
4447 2012-11-15 Drew Adams <drew.adams@oracle.com>
4448
4449 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4450
4451 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4454 potential binding of print-gensym to t, and prettify (back)quotes in
4455 case they appear in args's default values (bug#12884).
4456
4457 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4458
4459 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4460 (advice-eval-interactive-spec): New function.
4461 (advice--make-interactive-form): Support around advice (bug#12844).
4462
4463 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4464
4465 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4466 more strict. Add docstring.
4467 (ruby-expression-expansion-re): Extract from
4468 `ruby-match-expression-expansion'.
4469 (ruby-syntax-propertize-function): After everything else, search
4470 for expansions in string literals, mark their insides as
4471 whitespace syntax and save match data for font-lock.
4472 (ruby-font-lock-keywords): Use the 2nd group from expression
4473 expansion matches.
4474 (ruby-match-expression-expansion): Use the match data saved to the
4475 text property in ruby-syntax-propertize-function.
4476
4477 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4478
4479 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4480 (bug#12879).
4481
4482 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4483
4484 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4485 start/end keyword a bit harder. Works with different values of N.
4486 Add more comments.
4487 (ruby-end-of-block): Update accordingly.
4488
4489 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * woman.el (woman-file-name): Don't mess with unread-command-events
4492 (bug#12861).
4493
4494 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4495 Remove out of date self-require hack.
4496 (ad-do-advised-functions): Use simple `dolist'.
4497 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4498 (ad-advice-definition): Redefine as functions.
4499 (ad-advice-classes): Move before first use.
4500 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4501 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4502 (ad--defalias-fset): Remove functions.
4503 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4504 (ad-get-orig-definition): Rewrite.
4505 (ad-make-advised-definition-docstring): Change base docstring.
4506 (ad-real-orig-definition): Rewrite.
4507 (ad-map-arglists): Change name of called function.
4508 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4509 (ad-make-advised-definition): Simplify.
4510 (ad-assemble-advised-definition): Tweak for new calling context.
4511 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4512 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4513 function and call ad-activate if needed.
4514 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4515 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4516 (ad-compile-function): Compile ad-Advice-*.
4517 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4518 (ad-start-advice, ad-stop-advice): Remove.
4519
4520 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4521
4522 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4523 period before class method names, not after. Remove handling of
4524 one impossible case. Add comments.
4525
4526 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * emacs-lisp/advice.el: Remove support for freezing.
4529 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4530 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4531 Remove support for `freeze'.
4532
4533 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4534 override the default.
4535 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4536 cl--dotimes/dolist.
4537 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4538 `cl' is loaded.
4539
4540 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4541 from add-advice.
4542 (advice--strip-macro): New function.
4543 (advice--defalias-fset): Use them to handle macros.
4544 (advice-add): Use them.
4545 (advice-member-p): Correctly handle macros.
4546
4547 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4548
4549 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4550 Never font-lock the beginning of singleton class as heredoc.
4551
4552 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4555
4556 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4557
4558 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4559 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4560 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4561
4562 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4563
4564 Fix end-of-defun misbehavior.
4565 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4566 python-beginning-of-defun-function. Handle nested defuns
4567 correctly.
4568 (python-nav-end-of-defun): Rename from
4569 python-end-of-defun-function. Ensure forward movement.
4570 (python-info-current-defun): Reimplement to work as intended
4571 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4572 parent defuns as soon as possible.
4573
4574 2012-11-13 Glenn Morris <rgm@gnu.org>
4575
4576 * progmodes/flymake.el (flymake-error-bitmap)
4577 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4578 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4579
4580 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4581
4582 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4583 backward, always stop at indentation. Reverts the change from
4584 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4585
4586 2012-11-13 Glenn Morris <rgm@gnu.org>
4587
4588 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4589 Add ibuffer-filter-by-derived-mode.
4590
4591 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4592 the same name shadowing each other.
4593
4594 * window.el (with-temp-buffer-window): Doc tweak.
4595
4596 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4597
4598 * help.el (temp-buffer-max-height):
4599 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4600 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4601
4602 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4603
4604 * emacs-lisp/nadvice.el: New package.
4605 * subr.el (special-form-p): New function.
4606 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4607 (elp-all-instrumented-list): Remove var.
4608 (elp-not-profilable): Remove elp-wrapper.
4609 (elp-profilable-p): Use autoloadp and special-form-p.
4610 (elp--advice-name): New const.
4611 (elp-instrument-function): Use advice-add.
4612 (elp--instrumented-p): New predicate.
4613 (elp-restore-function): Use advice-remove.
4614 (elp-restore-all, elp-reset-all): Use mapatoms.
4615 (elp-set-master): Use elp--instrumented-p.
4616 (elp--make-wrapper): Rename from elp-wrapper, return a function
4617 suitable for advice-add. Use cl-inf.
4618 (elp-results): Use mapatoms+elp--instrumented-p.
4619 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4620 (debug-function-list): Remove var.
4621 (debug): Rename arg, and then let-bind it explicitly inside.
4622 (debugger-setup-buffer): Rename arg.
4623 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4624 (debugger-frame-number): Adjust to new debug-on-entry setup.
4625 (debug--implement-debug-on-entry): Rename from
4626 implement-debug-on-entry, add argument.
4627 (debugger-special-form-p): Remove, use special-form-p instead.
4628 (debug-on-entry): Use advice-add.
4629 (debug--function-list): New function.
4630 (cancel-debug-on-entry): Use it, along with advice-remove.
4631 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4632 (debugger-list-functions): Use debug--function-list instead of
4633 debug-function-list.
4634 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4635 (ad-special-form-p): Remove, use special-form-p instead.
4636 (ad-set-advice-info): Use add-function and remove-function.
4637 (ad--defalias-fset): Adjust accordingly.
4638
4639 2012-11-10 Glenn Morris <rgm@gnu.org>
4640
4641 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4642 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4643 (report-emacs-bug-create-existing-bugs-buffer)
4644 (report-emacs-bug-parse-query-results)
4645 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4646
4647 * term.el (term-default-fg-color, term-default-bg-color):
4648 Make obsolete, rather than just saying "deprecated" in the doc.
4649
4650 * term.el (term): Rename from `term-face'.
4651 (term-current-face, ansi-term-color-vector)
4652 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4653 Update all users.
4654
4655 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4656
4657 * server.el (server-create-window-system-frame): Handle Nextstep
4658 specially (Bug#12780).
4659
4660 2012-11-10 Glenn Morris <rgm@gnu.org>
4661
4662 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4663 Unautoload, and make obsolete. (Bug#7449)
4664
4665 2012-11-10 Chong Yidong <cyd@gnu.org>
4666
4667 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4668 rename from diff-remove-trailing-whitespace (Bug#12831).
4669
4670 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4671
4672 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4673 miscompilation of trace.el.
4674
4675 2012-11-10 Glenn Morris <rgm@gnu.org>
4676
4677 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4678
4679 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4682 (bug#12812).
4683
4684 2012-11-10 Chong Yidong <cyd@gnu.org>
4685
4686 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4687 a defcustom with an appropriate :set function.
4688 (minibuffer-default--in-prompt-regexps): New function.
4689
4690 2012-11-10 Glenn Morris <rgm@gnu.org>
4691
4692 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4693 (define-modify-macro): Doc fixes.
4694
4695 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4696 (gv-define-simple-setter): Update doc of `fix-return'.
4697
4698 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4699
4700 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4701 twice when `fix-return' is set (bug#12813).
4702
4703 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4704 gv-define-simple-setter (bug#12812).
4705
4706 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4707 (bug#12756).
4708
4709 2012-11-10 Glenn Morris <rgm@gnu.org>
4710
4711 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4712
4713 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4714 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4715 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4716 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4717
4718 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4719
4720 2012-11-10 Leo Liu <sdl.web@gmail.com>
4721
4722 * ido.el (ido-set-matches-1): Improve flex matching performance by
4723 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4724
4725 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4726
4727 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4728 (ad--defalias-fset): New function.
4729 (ad-safe-fset): Remove.
4730 (ad-make-freeze-definition): Use cl-letf*.
4731
4732 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * subr.el (dolist): Don't bind VAR in RESULT.
4735
4736 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4737 (fset, documentation): Don't save real def since we don't advise.
4738 (ad-do-advised-functions): Remove problematic `result-form'.
4739 (ad-safe-fset): `ad-real-fset' => `fset'.
4740 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4741 uses CL's dolist internally.
4742 (ad-arglist): Remove unused arg `name'.
4743 (ad-docstring, ad-make-advised-docstring):
4744 `ad-real-documentation' => `documentation'.
4745 (warning-suppress-types): Declare.
4746 (ad-set-arguments): Simple CSE.
4747 (ad-recover-normality): Sanity check.
4748
4749 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4750 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4751
4752 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4753
4754 * ses.el: symbol to coordinate mapping is made by symbol property
4755 `ses-cell'. This means that the same mapping is done for all SES
4756 sheets. That is good enough for cells with standard A1 names, but
4757 not for named cell. So a hash map is added for the latter.
4758 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4759 (ses-sym-rowcol): Use hashmap for named cell.
4760 (ses-is-cell-sym-p): New defun.
4761 (ses-decode-cell-symbol): New defun.
4762 (ses-create-cell-variable): Add cell to hashmap when name is not
4763 A1-like.
4764 (ses-rename-cell): Check that cell new name is not already in
4765 spreadsheet with the use of ses-is-cell-sym-p
4766 (ses-rename-cell): Use hash map for named cells, but accept also
4767 renaming back to A1-like.
4768
4769 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * emacs-lisp/advice.el: Use new dynamic docstrings.
4772 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4773 Use dynamic-docstring-function instead of ad-advice-info.
4774 (ad--make-advised-docstring): New function extracted from
4775 ad-make-advised-docstring.
4776 (ad-make-advised-docstring): Use it.
4777 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4778 from sql-help.
4779 (sql-help): Use it with dynamic-docstring-function.
4780
4781 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4782
4783 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * files.el (hack-one-local-variable--obsolete): New function.
4786 (hack-one-local-variable): Use it for obsolete settings.
4787
4788 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4789 the new name.
4790
4791 * progmodes/js.el (js--filling-paragraph): New var.
4792 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4793 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4794 less sneaky.
4795
4796 2012-11-08 Julien Danjou <julien@danjou.info>
4797
4798 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4799 `auto-mode-alist' (Bug#12835).
4800
4801 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4802
4803 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4804 (perl--prettify-symbols-alist): New const.
4805 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4806 New functions.
4807 (perl-font-lock-keywords-2): Use them.
4808 (perl-electric-noindent-p): New function.
4809 (perl-mode): Use it to set up electric-indent-mode.
4810 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4811 (perl-mode-map): Remove bindings for them.
4812 (perl-imenu-generic-expression, perl-outline-level):
4813 Match functions&packages in column>0.
4814
4815 * env.el (env--substitute-vars-regexp): New const.
4816 (substitute-env-vars): Use it. Add `only-defined' arg.
4817 * net/tramp.el (tramp-replace-environment-variables): Use it.
4818
4819 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4820 Byte-compile *before* eval in eval-and-compile.
4821 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4822 (byte-compile-file-form-autoload): Don't hide actual definition.
4823 (byte-compile-maybe-guarded): Accept `functionp' as well.
4824
4825 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4826
4827 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4828
4829 * notifications.el (notifications-get-server-information-method):
4830 New defconst.
4831 (notifications-get-capabilities): Fix docstring.
4832 (notifications-get-server-information): New defun.
4833
4834 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4835
4836 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4837 readability.
4838
4839 * textmodes/ispell.el: Experimental support for support debugging.
4840 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4841 buffer for ispell.
4842 (ispell-print-if-debug): New function to print stuff to
4843 `ispell-debug-buffer' if debugging is enabled.
4844 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4845 show some debugging info.
4846 (ispell-buffer-with-debug): New function that creates a debugging
4847 buffer and calls `ispell-buffer' with debugging enabled.
4848
4849 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4850 comment in autoconf mode. (Bug#12768)
4851
4852 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4853
4854 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4855 frame-first-window, frame-root-window, frame-selected-window,
4856 minibuffer-selected-window, minibuffer-window,
4857 window-absolute-pixel-edges, window-at, window-body-height,
4858 window-body-width, window-display-table, window-combination-limit,
4859 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4860 window-inside-edges, window-inside-pixel-edges, window-left-child,
4861 window-left-column, window-margins, window-next-buffers,
4862 window-next-sibling, window-new-normal, window-new-total,
4863 window-normal-size, window-parameter, window-parameters, window-parent,
4864 window-pixel-edges, window-point, window-prev-buffers,
4865 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4866 window-start, window-text-height, window-top-child, window-top-line,
4867 window-total-height, window-total-width and window-use-time to the list
4868 of functions without side-effects.
4869 (toplevel): Add window-valid-p to the list of error-free functions
4870 without side-effects.
4871
4872 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4873
4874 * textmodes/ispell.el (ispell-program-name):
4875 Update spellchecker parameters when customized.
4876
4877 2012-11-04 Glenn Morris <rgm@gnu.org>
4878
4879 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4880
4881 2012-11-04 Chong Yidong <cyd@gnu.org>
4882
4883 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4884 same-window-* variables.
4885
4886 2012-11-04 Juri Linkov <juri@jurta.org>
4887
4888 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4889 (isearch-describe-key, isearch-describe-mode): Use a display
4890 action instead of binding same-window-* variables (Bug#10040).
4891
4892 2012-11-03 Glenn Morris <rgm@gnu.org>
4893
4894 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4895 Rename handler properties back from cl-- to cl-. (Bug#12788)
4896
4897 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4898
4899 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4900
4901 * term/pc-win.el: Don't load term/internal from here.
4902
4903 * loadup.el: Load term/internal from here.
4904
4905 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4906
4907 * progmodes/python.el (inferior-python-mode): Fix hang in
4908 jit-lock (Bug#12645).
4909
4910 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4911
4912 * window.el (switch-to-visible-buffer)
4913 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4914
4915 2012-11-03 Glenn Morris <rgm@gnu.org>
4916
4917 * emacs-lisp/cl-lib.el (cl--random-time):
4918 Rename from cl-random-time. (Bug#12773)
4919 (cl--gensym-counter, cl--random-state): Update callers.
4920 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4921
4922 2012-11-03 Chong Yidong <cyd@gnu.org>
4923
4924 * cus-start.el: Make cursor-type customizable (Bug#11633).
4925
4926 2012-11-02 Glenn Morris <rgm@gnu.org>
4927
4928 * filecache.el: No need to load find-lisp when compiling.
4929 (find-lisp-find-files): Autoload it.
4930 (file-cache-add-directory-recursively): Don't require find-lisp.
4931
4932 * image.el (image-type-from-file-name): Trivial simplification.
4933
4934 * emacs-lisp/bytecomp.el (byte-compile-eval):
4935 Decouple "noruntime" and "cl-functions" warnings.
4936
4937 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4938
4939 * play/gomoku.el (gomoku-display-statistics): Update mode line
4940 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4941
4942 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4943
4944 * window.el (quit-restore-window): If the window has been
4945 created on an existing frame and ended up as the sole window on
4946 that frame, do not delete it (Bug#12764).
4947
4948 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4951 Rename from sh--inside-arithmetic-expression, handle more cases
4952 (bug#11263).
4953
4954 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4955 (sh-font-lock-open-heredoc): Use it (bug#12770).
4956
4957 2012-10-30 Glenn Morris <rgm@gnu.org>
4958
4959 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4960
4961 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4962
4963 2012-10-29 Chong Yidong <cyd@gnu.org>
4964
4965 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4966 function key is stored in a keyboard macro (Bug#4894).
4967
4968 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4969
4970 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4973 header comments".
4974 (diff-unified->context, diff-context->unified)
4975 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4976
4977 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4978
4979 * files.el (find-alternate-file): Only ask one question (bug#12487).
4980
4981 2012-10-29 Chong Yidong <cyd@gnu.org>
4982
4983 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4984 Suggested by Dan Nicolaescu (Bug#6326).
4985
4986 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4987
4988 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4989
4990 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4991
4992 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4993
4994 * face-remap.el (face-remap-add-relative): Handle the case where a
4995 face-remapping-alist entry is a cons cell (Bug#12762).
4996
4997 2012-10-29 Kevin Ryde <user42@zip.com.au>
4998
4999 * woman.el (woman-parse-numeric-value): Handle picas correctly
5000 (Bug#12639).
5001
5002 2012-10-29 Glenn Morris <rgm@gnu.org>
5003
5004 * emacs-lisp/cl.el (defsetf): Doc fix.
5005
5006 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5009 syntax to the matching opener, if any (bug#12547).
5010 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5011 matching open as a "case-(".
5012 (sh-smie-rc-grammar): Add a corresponding rule for it.
5013
5014 2012-10-28 Daniel Hackney <dan@haxney.org>
5015
5016 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5017 "PKGNAME-autoloads.el" in case we created it.
5018
5019 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5022 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5023 (completion--twq-all): Disable too-strict assertions.
5024
5025 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5026
5027 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5028
5029 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5030 text to match the real keybindings.
5031
5032 2012-10-27 Juri Linkov <juri@jurta.org>
5033
5034 * wdired.el (wdired-keep-marker-rename): New defcustom.
5035 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5036 (Bug#11795)
5037
5038 * dired.el (dired-keep-marker-rename): Add reference to
5039 `wdired-keep-marker-rename' in the docstring.
5040 Add default character value ?R to display initially in
5041 Customization UI instead of ?@.
5042
5043 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5044
5045 * window.el (display-buffer): In doc-string describe
5046 window-height and window-width alist entries.
5047
5048 * time.el (display-time-world): Restore fit-window-to-buffer
5049 behavior.
5050
5051 2012-10-27 Chong Yidong <cyd@gnu.org>
5052
5053 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5054
5055 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5056
5057 * minibuffer.el (completion-category-overrides): New completion
5058 category `bookmark' (bug#11131).
5059
5060 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5061
5062 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5063 Silence bogus compiler warnings for ad-do-it.
5064
5065 * bookmark.el (bookmark-completing-read): Set the completion category
5066 to `bookmark' (bug#11131).
5067
5068 2012-10-26 Bastien <bzg@altern.org>
5069 Stefan Monnier <monnier@iro.umontreal.ca>
5070
5071 * face-remap.el: Use lexical-binding.
5072 (text-scale-adjust): Improve docstring. Use itself for the temporary
5073 overlay-map bindings, so as to repeat the "Use..." message each time.
5074
5075 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * emacs-lisp/macroexp.el (macroexp--expand-all):
5078 Obey byte-compile-warning-enabled-p (bug#12486).
5079
5080 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5081 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5082
5083 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5084
5085 * mouse.el (mouse-drag-line): Move last form into preceding when
5086 clause (Bug#12731).
5087
5088 * help.el (resize-temp-buffer-window): Fix doc-string.
5089
5090 2012-10-25 David Engster <deng@randomsample.de>
5091
5092 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5093 Remove. This feature is already integrated in imenu.
5094
5095 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5096 always loaded. Require `speedbar' unconditionally.
5097
5098 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5099
5100 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5101
5102 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5103
5104 * net/ldap.el (ldap-search-internal): The official ldif format starts
5105 with a "version: 1" header (bug#12724).
5106
5107 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5108 (bug#12721).
5109
5110 2012-10-25 Glenn Morris <rgm@gnu.org>
5111
5112 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5113
5114 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 * minibuffer.el (minibuffer-force-complete): Use one more marker
5117 for the temporary-overlay-map command (bug#12619).
5118
5119 2012-10-24 Chong Yidong <cyd@gnu.org>
5120
5121 * time.el (display-time-world-mode): Derive from special-mode.
5122 (display-time-world): Use display-buffer (Bug#12708).
5123 (display-time-world-mode-map): Variable deleted.
5124 (display-time-world-display): Wrap the final delete-char inside
5125 inhibit-read-only.
5126
5127 2012-10-24 Chong Yidong <cyd@gnu.org>
5128
5129 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5130 Doc fix.
5131
5132 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5133
5134 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5135
5136 * minibuffer.el (completion--all-sorted-completions-location): New var.
5137 (completion--cache-all-sorted-completions)
5138 (completion--flush-all-sorted-completions): Use it.
5139 (completion-in-region, completion-in-region--postch)
5140 (completion-at-point, completion-help-at-point): Use markers in
5141 completion-in-region--data (bug#12619).
5142
5143 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5144
5145 * progmodes/compile.el (compilation-start): Try to handle common
5146 quoting of `cd' argument (bug#12640).
5147
5148 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5149 (bug#12671).
5150
5151 2012-10-23 Glenn Morris <rgm@gnu.org>
5152
5153 * progmodes/gud.el (gud-menu-map):
5154 Check gdb-active-process is bound. (Bug#12358)
5155
5156 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5157
5158 * repeat.el (repeat): Set real-this-command (bug#12232).
5159
5160 * htmlfontify.el (hfy-post-html-hook):
5161 * filesets.el (filesets-cache-fill-content-hook):
5162 * arc-mode.el (archive-extract-hook):
5163 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5164 * net/rcirc.el (rcirc-sentinel-functions)
5165 (rcirc-receive-message-functions, rcirc-activity-functions)
5166 (rcirc-print-functions):
5167 * net/dbus.el (dbus-event-error-functions):
5168 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5169 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5170 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5171 * term/sun.el (sun-raw-prefix-hooks):
5172 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5173
5174 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5175
5176 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5177 Set `tramp-chunksize' to 1. This improves the performance.
5178 (tramp-smb-wait-for-output): Add timeout to
5179 `tramp-accept-process-output' calls.
5180
5181 2012-10-23 Chong Yidong <cyd@gnu.org>
5182
5183 * faces.el (font-list-limit): Define as an obsolete variable.
5184
5185 * startup.el (command-line):
5186 * cus-start.el: Don't refer to font-list-limit.
5187
5188 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5189
5190 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5192 * subr.el (internal-temp-output-buffer-show): Rename from
5193 temp-output-buffer-show, since previously compiled files expect this name.
5194
5195 2012-10-23 Glenn Morris <rgm@gnu.org>
5196
5197 * image.el (image-type-from-file-name): If multiple types match,
5198 return the first one that is supported. (Bug#9045)
5199
5200 2012-10-22 Glenn Morris <rgm@gnu.org>
5201
5202 * image.el (imagemagick-enabled-types): Doc fix.
5203
5204 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5205
5206 * progmodes/which-func.el (which-func-current): The hash-table may have
5207 an explicit nil (bug#12338).
5208
5209 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5210
5211 * electric.el (electric-pair-delete-selection-self-insert-function):
5212 Rename to electric-pair-will-use-region, return a boolean.
5213 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5214
5215 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5216 (delete-selection-pre-hook): Use use-region-p.
5217 (delete-selection-self-insert-function): Remove.
5218 (self-insert-command): Obey self-insert-uses-region-functions.
5219 (self-insert-iso): Revert to previous setting, since we don't actually
5220 know what that command does.
5221 (delete-selection-self-insert-hooks): Remove.
5222
5223 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5224
5225 * delsel.el (delete-selection-helper): New function, extracted from
5226 delete-selection-pre-hook.
5227 (delete-selection-pre-hook): Use it.
5228 (delete-selection-self-insert-function): New function.
5229 (delete-selection-self-insert-hooks): New hook.
5230 (self-insert-command, self-insert-iso): Use it.
5231 * electric.el (electric-pair-syntax): New function, extracted from
5232 electric-pair-post-self-insert-function.
5233 (electric-pair-post-self-insert-function): Use it.
5234 (electric-pair-delete-selection-self-insert-function): New function.
5235 (electric-pair-mode): Require delsel and setup
5236 delete-selection-self-insert-hooks (bug#11520).
5237
5238 2012-10-20 Chong Yidong <cyd@gnu.org>
5239
5240 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5241 no changes to show (Bug#12586).
5242
5243 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5244 list explicitly (Bug#12571).
5245
5246 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5247
5248 * progmodes/flymake.el (flymake-create-temp-inplace):
5249 Use file-truename.
5250
5251 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5252
5253 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5254
5255 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5256
5257 * calc/calc-units.el (math-extract-units): Properly extract powers
5258 of units.
5259
5260 2012-10-20 Daniel Colascione <dancol@dancol.org>
5261
5262 * frame.el (make-frame): Set x-display-name as we used to in order
5263 to unbreak creating an X11 frame from an Emacs daemon started
5264 without a display.
5265
5266 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5269 the same completion-field (bug#12221).
5270
5271 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5272
5273 * emacs-lisp/debug.el (debug): Record height of debugger window
5274 also when debugger will be back (Bug#8789).
5275
5276 2012-10-18 Chong Yidong <cyd@gnu.org>
5277
5278 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5279 Convert to defcustom.
5280 (gdb-get-source-file): Don't bind pop-up-windows.
5281
5282 * progmodes/gud.el (gud-display-line): Don't specially re-use
5283 other frames for the gdb-mi case (Bug#12648).
5284
5285 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 * emacs-lisp/advice.el: Clean up commentary a bit.
5288 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5289 (byte-code-function-p): Never redefine.
5290
5291 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5292
5293 2012-10-18 Glenn Morris <rgm@gnu.org>
5294
5295 * dired.el (dired-sort-toggle): Some ls implementations only allow
5296 a single option string. (Bug#12666)
5297
5298 * minibuffer.el (completion-cycle-threshold): Doc fix.
5299
5300 2012-10-17 Kenichi Handa <handa@gnu.org>
5301
5302 * international/mule.el (set-keyboard-coding-system):
5303 Recover input meta mode when the new coding system doesn not use 8-bit.
5304 Supply TERMINAL arg to set-input-meta-mode.
5305
5306 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5307
5308 * wdired.el (wdired-old-marks): New variable.
5309 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5310 (wdired-do-renames): Move point with renamed file and don't lose
5311 mark status (Bug#11795).
5312
5313 2012-10-16 Juri Linkov <juri@jurta.org>
5314
5315 * replace.el (query-replace-help): Mention multi-buffer replacement
5316 keys in the Help message. (Bug#12655)
5317
5318 2012-10-15 Chong Yidong <cyd@gnu.org>
5319
5320 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5321
5322 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5323
5324 * window.el (display-buffer): Doc fix.
5325
5326 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5327 Adjust the msft regexp to the output of Studio 2010, and move msft
5328 before edg-1. See the discussion on emacs-devel,
5329 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5330 for the details.
5331
5332 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5333
5334 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5335 (oset): Move uses of object-class-fast macro after its definition.
5336
5337 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5338
5339 2012-10-13 Chong Yidong <cyd@gnu.org>
5340
5341 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5342 enabled, re-enable it (Bug#11963).
5343
5344 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5345
5346 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5347 non-nil, restore window configuration (Bug#12623).
5348
5349 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5350
5351 * help-fns.el (describe-variable, describe-function-1):
5352 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5353
5354 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5355
5356 2012-10-12 Glenn Morris <rgm@gnu.org>
5357
5358 * mail/rmailsum.el (rmail-header-summary):
5359 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5360
5361 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5362
5363 * progmodes/python.el (python-mode-map):
5364 Replace subtitute-key-definition with proper command remapping.
5365 (python-nav--up-list): Fix behavior for blocks on the same level.
5366
5367 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5368
5369 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5370
5371 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5372 changes to the format of load-history.
5373
5374 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5375 completion-ignore-case in case that var is buffer-local (bug#12615).
5376
5377 2012-10-11 Kenichi Handa <handa@gnu.org>
5378
5379 * international/eucjp-ms.el: Re-generated.
5380
5381 2012-10-10 Kenichi Handa <handa@gnu.org>
5382
5383 * select.el (xselect--encode-string): If a coding is specified for
5384 selection, and that is compatible with COMPOUND_TEXT, use it.
5385
5386 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5387
5388 * window.el (switch-to-buffer-preserve-window-point): New option.
5389 (switch-to-buffer):
5390 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5391
5392 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5393
5394 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5395 Don't document nil as a useful value (bug#12583).
5396
5397 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5398
5399 * net/tramp.el (tramp-debug-message):
5400 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5401 (with-tramp-progress-reporter): Rename from
5402 `tramp-with-progress-reporter'.
5403 (with-tramp-file-property, with-tramp-connection-property):
5404 Move from tramp-cache.el, rename from `with-file-property' and
5405 `with-connection-property', respectively.
5406
5407 * net/tramp-cache.el: Remove `with-file-property' and
5408 `with-connection-property'.
5409
5410 * net/tramp.el:
5411 * net/tramp-gvfs.el:
5412 * net/tramp-sh.el:
5413 * net/tramp-smb.el: Adapt callees.
5414
5415 * net/trampver.el: Update release number.
5416
5417 2012-10-09 Glenn Morris <rgm@gnu.org>
5418
5419 * w32-fns.el (set-message-beep):
5420 * term/w32-win.el (set-message-beep): Update declarations.
5421
5422 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5423
5424 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5425 (mode-line-widen, mode-line-input-method-map)
5426 (mode-line-coding-system-map, mode-line-remote)
5427 (mode-line-unbury-buffer, mode-line-bury-buffer)
5428 (mode-line-next-buffer, mode-line-previous-buffer):
5429 Replace save-selected-window+select-window => with-selected-window.
5430
5431 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5432 * progmodes/cc-vars.el (bq-process): Remove, unused.
5433
5434 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5435
5436 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5437
5438 Implemented `backward-up-list'-like navigation.
5439 * progmodes/python.el (python-nav-up-list)
5440 (python-nav-backward-up-list): New functions.
5441 (python-mode-map): Define substitute key for backward-up-list to
5442 python-nav-backward-up-list.
5443
5444 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5445
5446 * progmodes/python.el (python-fill-paragraph): Rename from
5447 python-fill-paragraph-function. Fixed fill-paragraph for
5448 decorators (Bug#12605).
5449
5450 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5451
5452 * progmodes/python.el (python-shell-output-filter): Handle extra
5453 carriage return in OSX (Bug#12409).
5454
5455 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5456
5457 Fix shell handling of unbalanced quotes and parens in output.
5458 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5459 (python-syntax-propertize-function): Use it.
5460 (python-shell-output-syntax-table): New var.
5461 (inferior-python-mode): Prevent unbalanced parens/quotes from
5462 previous output mess with current input context.
5463
5464 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5465
5466 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5467 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5468
5469 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5470
5471 * ffap.el (ffap-replace-file-component): Support Tramp file name
5472 syntax, not only ange-ftp's one.
5473
5474 2012-10-08 Glenn Morris <rgm@gnu.org>
5475
5476 * cus-start.el (message-log-max): Set :version.
5477
5478 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5479
5480 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5481
5482 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5483 the minibuffer window (Bug#10851).
5484
5485 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5486
5487 Enhancements on forward-sexp movement.
5488 * progmodes/python.el (python-nav-beginning-of-statement)
5489 (python-nav-end-of-statement): Return point-marker.
5490 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5491 (python-info-current-symbol)
5492 (python-info-statement-starts-block-p): Rename from
5493 python-info-beginning-of-block-p.
5494 (python-info-statement-ends-block-p): Rename from
5495 python-info-end-of-block-p.
5496 (python-info-beginning-of-statement-p)
5497 (python-info-end-of-statement-p)
5498 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5499 New functions.
5500
5501 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5502
5503 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5504 frame-selected-windows.
5505
5506 2012-10-08 Daniel Colascione <dancol@dancol.org>
5507
5508 * battery.el (battery-status-function): Check for
5509 w32-battery-status itself, not system-time windows-nt.
5510
5511 * frame.el: Require cl-lib.
5512 (display-format-alist): New variable mapping frame types to
5513 functions that initialize them.
5514 (window-system-for-display): New function: interprets
5515 display-format-alist.
5516 (make-frame-on-display): Remove existing display-selection logic
5517 and just forward to make-frame, which will now DTRT.
5518 (make-frame): Restructure to use window-system-for-display to
5519 figure out how to create a frame on a given display.
5520 (display-mouse-p): Look for frame-type w32, not a particular
5521 system-type.
5522
5523 * loadup.el: Load w32 lisp code when we have the w32 feature.
5524
5525 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5526 system-type windows-nt.
5527
5528 * server.el (server-create-window-system-frame): Look for window
5529 type.
5530 (server-proces-filter): Only force a window system when windows-nt
5531 _and_ w32. Explain why.
5532
5533 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5534 of window systems we configure for the mode.
5535
5536 * startup.el (command-line): Mark window system is initialized
5537 after we've done it.
5538
5539 * common-win.el (x-select-text): Look for w32, not windows-nt.
5540
5541 * ns-win.el: Require cl-lib. Add ourselves to
5542 display-format-alist.
5543 (ns-initialize-window-system): Assert we're not initialized twice.
5544
5545 * w32-win.el: Enable lexical binding; require cl-lib; add
5546 ourselves to display-format-alist.
5547 (w32-handle-dropped-file): Convert incoming dropped files from
5548 Windows paths to Cygwin ones before passing them on to the rest of
5549 Emacs.
5550 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5551 (w32-initialize-window-system): Assert we're not initialized twice.
5552
5553 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5554 (x-initialize-window-system): Assert we're not initialized twice.
5555
5556 * w32-common-fns.el: New File.
5557 (w32-version, w32-using-nt, w32-get-clipboard-data)
5558 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5559 (w32-charset-info-alist, x-last-selected, text)
5560 (x-get-selection-value, x-selection-value): Move here.
5561
5562 * w32-fns.el: Require w32-common-fns.
5563 (w32-version, w32-using-nt, w32-get-clipboard-data)
5564 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5565 (w32-charset-info-alist, x-last-selected, text)
5566 (x-get-selection-value, x-selection-value): Move to
5567 w32-common-fns.
5568
5569 * w32-vars.el:
5570 (w32-allow-system-shell, w32-system-shells): Define only in
5571 non-cygwin case.
5572
5573 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5576 (read-passwd): Remove a few more potential sources of leaks.
5577
5578 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5579
5580 * progmodes/python.el (inferior-python-mode)
5581 (python-shell-make-comint): Fix initialization of local
5582 variables copied from parent buffer.
5583
5584 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5585
5586 * term/ns-win.el (ns-read-file-name): Update declaration to match
5587 nsfns.m.
5588 (ns-respond-to-change-font): Change fontsize separately so we are sure
5589 it is set when font is acted upon.
5590
5591 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5592
5593 Enhancements to indentation.
5594 * progmodes/python.el (python-indent-context): Give priority to
5595 inside-string context. Make comments indentation markers.
5596 (python-indent-region): Do not mess with strings, unless it's the
5597 enclosing set of quotes.
5598
5599 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5600
5601 * window.el (internal--before-save-selected-window)
5602 (internal--after-save-selected-window): New functions extracted from
5603 save-selected-window. Make sure we return the `alist' we construct.
5604 (save-selected-window): Use them.
5605
5606 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5607 Use with-selected-window.
5608
5609 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5610 forms that define macros (bug#12593).
5611
5612 2012-10-07 Kenichi Handa <handa@gnu.org>
5613
5614 * international/mule-conf.el (compound-text-with-extensions):
5615 Add :mime-charset property as x-ctext.
5616
5617 2012-10-07 Stefan Merten <smerten@oekonux.de>
5618
5619 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5620 (rst-indent-literal-normal, rst-indent-literal-minimized)
5621 (rst-indent-comment): Correct :version tag.
5622 (rst-official-cvs-rev): Correct version string.
5623
5624 2012-10-07 Glenn Morris <rgm@gnu.org>
5625
5626 * mail/rmailmm.el (rmail-mime-process-multipart):
5627 Do not confuse a multipart message with an epilogue
5628 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5629
5630 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5631
5632 Fix shell output retrieval and comint-prompt-regexp init.
5633 * progmodes/python.el (inferior-python-mode):
5634 (python-shell-make-comint): Fix initialization of
5635 comint-prompt-regexp from copied file local variables.
5636 (python-shell-fetched-lines): Remove var.
5637 (python-shell-output-filter-in-progress): Rename from
5638 python-shell-fetch-lines-in-progress.
5639 (python-shell-output-filter-buffer): Rename from
5640 python-shell-fetch-lines-string.
5641 (python-shell-fetch-lines-filter): Delete function.
5642 (python-shell-output-filter): New function.
5643 (python-shell-send-string-no-output): Use them.
5644
5645 2012-10-07 Glenn Morris <rgm@gnu.org>
5646
5647 * hi-lock.el (hi-lock-process-phrase):
5648 Try to make it less fragile. (Bug#7161)
5649
5650 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5651
5652 2012-10-06 Glenn Morris <rgm@gnu.org>
5653
5654 * ehelp.el (electric-help-mode): Use help-mode rather than
5655 non-existent mode `help'.
5656 (electric-help-map): Use button-buffer-map. (Bug#10917)
5657
5658 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5659 (reftex-create-bibtex-footer): Fix custom types.
5660
5661 * progmodes/sh-script.el (sh-indent-after-continuation):
5662 Add explicit :group.
5663
5664 * textmodes/rst.el (rst-preferred-decorations)
5665 (rst-shift-basic-offset): Clarify obsolescence versions.
5666
5667 * profiler.el (profiler): Add missing group :version tag.
5668 * avoid.el (mouse-avoidance-banish-position):
5669 * proced.el (proced-renice-command):
5670 * calc/calc.el (calc-ensure-consistent-units):
5671 * calendar/icalendar.el (icalendar-import-format-uid):
5672 * net/tramp.el (tramp-save-ad-hoc-proxies):
5673 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5674 * progmodes/flymake.el (flymake-error-bitmap)
5675 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5676 * progmodes/sh-script.el (sh-indent-after-continuation):
5677 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5678 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5679 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5680 (vhdl-array-index-record-field-in-sensitivity-list)
5681 (vhdl-indent-comment-like-next-code-line):
5682 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5683 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5684 (reftex-cite-key-separator, reftex-create-bibtex-header)
5685 (reftex-create-bibtex-footer):
5686 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5687 (rst-indent-literal-normal, rst-indent-literal-minimized)
5688 (rst-indent-comment): Add missing custom :version tags.
5689
5690 * calendar/timeclock.el (timeclock-modeline-display):
5691 Add missing obsolete alias for renamed user option.
5692
5693 * strokes.el (strokes-modeline-string):
5694 * emulation/crisp.el (crisp-mode-modeline-string):
5695 * eshell/esh-mode.el (eshell-status-in-modeline):
5696 Aliases to defcustoms must come before the defcustom.
5697
5698 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5699 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5700 (cal-tex-cursor-week-monday): Doc fixes.
5701 (cal-tex-cursor-week2-summary): Doc fix.
5702 Rename from cal-tex-cursor-week-at-a-glance.
5703
5704 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5705 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5706
5707 * calendar/calendar.el (calendar-mode-map):
5708 Add cal-tex-cursor-week2-summary.
5709
5710 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5711
5712 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5713
5714 * subr.el (read-passwd-map): New var.
5715 (read-passwd): Use `read-string' again.
5716 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5717
5718 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5719
5720 * register.el (append-to-register, prepend-to-register):
5721 Deactivate mark, as does `copy-to-register' (bug#12389).
5722
5723 2012-10-06 Chong Yidong <cyd@gnu.org>
5724
5725 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5726
5727 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5728
5729 * international/characters.el: Fix simple mistake ((car chars) ->
5730 elt), delete duplicated code.
5731
5732 2012-10-06 Glenn Morris <rgm@gnu.org>
5733
5734 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5735
5736 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5737
5738 * color.el (color-hsl-to-rgb): Fix incorrect results for
5739 small and large hue values. (Bug#12559)
5740
5741 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5742
5743 Enhancements to docstring formatting when filling paragraphs.
5744 * progmodes/python.el (python-fill-docstring-style): Rename from
5745 python-fill-string-style. Added new style.
5746 (python-fill-string): Use new style. Better checks for
5747 docstrings.
5748
5749 2012-10-05 Glenn Morris <rgm@gnu.org>
5750
5751 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5752
5753 * color.el (color-name-to-rgb, color-rgb-to-hex)
5754 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5755 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5756 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5757 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5758
5759 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5760
5761 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5762
5763 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5764 to get the correct size across symlinks.
5765
5766 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5767
5768 2012-10-04 Juri Linkov <juri@jurta.org>
5769
5770 * replace.el (query-replace-interactive): Declare obsolete.
5771 (query-replace-read-from): Add the last incremental search string
5772 to the list of default values accessible via M-n.
5773 (map-query-replace-regexp): Use `read-regexp'.
5774 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5775 (map-query-replace-regexp, replace-string, replace-regexp):
5776 Fix docstrings to replace mentions of `query-replace-interactive'
5777 with alternatives. (Bug#12526)
5778
5779 2012-10-04 Juri Linkov <juri@jurta.org>
5780
5781 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5782 (dired-pop-to-buffer): Declare obsolete.
5783 (dired-mark-pop-up): Doc fix.
5784
5785 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5786
5787 Allow user to set docstring style for fill-paragraph.
5788 * progmodes/python.el
5789 (python-fill-comment-function, python-fill-string-function)
5790 (python-fill-decorator-function, python-fill-paren-function):
5791 Remove :safe for defcustoms.
5792 (python-fill-string-style): New defcustom
5793 (python-fill-paragraph-function): Enhance context detection.
5794 (python-fill-string): Honor python-fill-string-style settings.
5795
5796 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5797
5798 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5799 after setting its buffer (Bug#10805).
5800
5801 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5802
5803 Fix cornercase for string syntax.
5804 * progmodes/python.el (python-syntax-propertize-function):
5805 Simplify and enhance the regexp for unescaped quotes. Now it also
5806 matches quotes in weird situations like the single quote in
5807 "something\"'".
5808 (python-syntax-stringify): Simplify num-quotes detecting code.
5809
5810 2012-10-03 Glenn Morris <rgm@gnu.org>
5811
5812 * help-macro.el (three-step-help):
5813 Revert 2012-09-29 change. (Bug#12567)
5814
5815 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5816
5817 * menu-bar.el (kill-this-buffer): Don't do anything when
5818 `menu-frame' is not alive or visible (Bug#8184).
5819
5820 * emacs-lisp/debug.el (debug): When quitting the debugger window
5821 restore current buffer (Bug#12502).
5822
5823 2012-10-02 Chong Yidong <cyd@gnu.org>
5824
5825 * progmodes/hideif.el (hif-lookup, hif-defined):
5826 Handle semantic-c-takeover-hideif.
5827
5828 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5829
5830 Change sampling interval units from ms to ns.
5831 * profiler.el (profiler-sampling-interval): Change units
5832 from ms to ns, multiplying the default by 1000000 so that
5833 it remains 1 ms.
5834 (profiler-report-cpu-line-format): Give enough room for
5835 the maximum counters on 64-bit hosts.
5836 (profiler-report-render-calltree-1): Call them "CPU samples",
5837 not "Time (ms)", since they are not milliseconds now (and
5838 never really were).
5839
5840 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5841
5842 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5843 Fix querying BBDB for entries without a last name (Bug#11580).
5844
5845 2012-10-02 Chong Yidong <cyd@gnu.org>
5846
5847 * emacs-lisp/eieio.el: Restore Version header.
5848
5849 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5850
5851 * vc/diff-mode.el (diff--auto-refine-data): New var.
5852 (diff-hunk): Use it to delay refinement.
5853 (diff-mode): Remove overlays when we turn off font-lock.
5854
5855 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5856 (table-initialize-table-fixed-width-mode)
5857 (table-set-table-fixed-width-mode): Remove functions.
5858 (table-command-list): Move initialization into declaration.
5859 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5860 (table-with-cache-buffer): Use `declare'.
5861 (table-span-cell): Simplify via CSE.
5862 (table-fixed-width-mode): Use define-minor-mode.
5863 (table-call-interactively, table-funcall, table-apply): Remove.
5864 (table-function): New function, to replace them.
5865
5866 * bookmark.el (bookmark-search-pattern): Remove var.
5867 (bookmark-read-search-input): Remove function.
5868 (bookmark-bmenu-search): Reimplement using a minibuffer.
5869
5870 * faces.el (modeline): Remove obsolete face name.
5871
5872 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5873 and give a non-nil default value.
5874 (add-change-log-entry): Simplify accordingly.
5875
5876 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5877
5878 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5879 (vc-git-log-edit-toggle-amend): New function.
5880 (vc-git-log-edit-toggle-signoff): New function.
5881 (vc-git-log-edit-mode): New major mode.
5882 (vc-git-log-edit-mode-map): Keymap for it.
5883 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5884
5885 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5886 header names.
5887 (log-edit-toggle-header): New function.
5888 (log-edit-extract-headers): Accept function values in HEADERS alist.
5889
5890 2012-10-01 David Engster <deng@randomsample.de>
5891
5892 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5893 from symbol property and change message to be more consistent with
5894 Emacs proper.
5895 (eieio-describe-generic): Add filename for each implementation.
5896 Fix indices for generic and normal methods.
5897 (eieio-method-def, eieio-class-def): New buttons.
5898 (eieio-help-find-method-definition)
5899 (eieio-help-find-class-definition): New functions.
5900 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5901 class, constructor and method definitions.
5902
5903 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5904 information in symbol property.
5905 (scoped-class): Remove.
5906 (eieio-slot-name-index, call-next-method): Check if it is bound.
5907
5908 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5909
5910 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5911 (eieio-custom-mode): New major mode.
5912 (eieio-customize-object): Use it.
5913
5914 2012-10-01 Eric Ludlam <zappo@gnu.org>
5915
5916 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5917 specifying the expected class, and whether subclassing is allowed.
5918 (eieio-persistent-convert-list-to-object):
5919 (eieio-persistent-validate/fix-slot-value)
5920 (eieio-persistent-slot-type-is-class-p): New functions.
5921 (eieio-named::slot-missing): Doc fix.
5922
5923 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5924 Stop using unused publd variable.
5925
5926 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5927 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5928 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5929 (eieio-speedbar-handle-click): Do not specify a class for the
5930 method. Fixes method invocation order problems with EDE.
5931
5932 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5933
5934 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5935 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5936
5937 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5938
5939 * bookmark.el (bookmark-version-control): Give tags in the
5940 :type choices (Bug#12309), and improve doc string.
5941 (bookmark-write-file): Bind `print-circle' to `t' to allow
5942 circular custom bookmark types. (Bug#12503)
5943
5944 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5945
5946 Revert the FOLLOW-SYMLINKS change for file-attributes.
5947 * files.el (remote-file-name-inhibit-cache, after-find-file):
5948 * time.el (display-time-file-nonempty-p): Undo last change.
5949
5950 * profiler.el (profiler-sampling-interval): Change default back to 1.
5951 See Stefan Monnier in
5952 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5953
5954 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5955
5956 Shell output catching a la gud-gdb.
5957 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5958 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5959 New Vars.
5960 (python-shell-fetch-lines-filter): New function.
5961 (python-shell-send-string-no-output): Use them.
5962
5963 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5964
5965 * profiler.el (profiler-sampling-interval): Rename from
5966 profiler-sample-interval.
5967 (profiler-sampling-interval): Default to 10.
5968 (profiler-find-profile): New command (was profiler-find-log).
5969 (profiler-find-profile-other-window): New command.
5970 (profiler-find-profile-other-frame): New command.
5971 (profiler-profile): Introduce API-level data structure.
5972
5973 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5974
5975 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5976 * files.el (remote-file-name-inhibit-cache):
5977 * time.el (display-time-file-nonempty-p): Use it.
5978 * files.el (after-find-file): Don't chase links before calling
5979 file-exists-p, as file-exists-p already does the right thing.
5980
5981 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5982
5983 Merge from standalone RefTeX repository.
5984
5985 The following ChangeLog entries are shortened versions of the
5986 original ones with file paths adapted. A not so strongly edited
5987 version of the original ChangeLog can be found in the commit log.
5988
5989 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5990 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5991 Correctly handle new value type returned by `reftex-citation'.
5992
5993 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5994 that entries with whitespace at various places are found.
5995 Doc fix. Include entries that are cross-referenced from cited entries.
5996 Include @String definitions in the resulting bib file. Add header
5997 and footer defined in `reftex-create-bibtex-header' and
5998 `reftex-create-bibtex-footer'.
5999 (reftex-do-citation): Make it possible again to insert
6000 non-existent entries. Save match data when asking for optional
6001 arguments. Return all keys, not just the first one.
6002 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6003 all citations in the same line.
6004 (reftex-parse-bibtex-entry): Accept additional optional argument
6005 `raw' and keep quotes or braces if it is non-nil. Match fields
6006 containing hyphens besides word constituents.
6007 (reftex-get-string-refs): New function.
6008 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6009 and ask if it should be reread in case it did.
6010 (reftex-pop-to-bibtex-entry)
6011 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6012 entries with spaces or tabs in front of arguments.
6013 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6014 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6015 Match entries containing numbers and symbol constituents.
6016 (reftex-do-citation, reftex-figure-out-cite-format):
6017 Use `reftex-cite-key-separator'.
6018
6019 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6020 (reftex-mouse-view-crossref): Explain why point is set.
6021
6022 * textmodes/reftex-global.el: Whitespace changes.
6023
6024 * textmodes/reftex-index.el: Move provide statement to end of
6025 file.
6026 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6027 (reftex-index-visit-phrases-buffer): Set marker when visiting
6028 buffer. This allows for returning from the phrases file to the
6029 file one was just editing instead of the file where the last
6030 phrases was added from.
6031 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6032 punctuation syntax as it usually is not used as string quote in
6033 TeX-related modes and may occur unmatched. The change also
6034 prevents fontification of quoted content.
6035 (reftex-index-phrases-mode): Use it.
6036
6037 * textmodes/reftex-parse.el (reftex-parse-from-file):
6038 Move backward one char if a `\' was matched after a section macro.
6039 (reftex-parse-from-file): Use beginning of match instead of end as
6040 bound.
6041
6042 * textmodes/reftex-ref.el: Adapt creation of
6043 `reftex-<package>-<macro>' functions to new structure of
6044 `reftex-ref-style-alist'.
6045 (reftex-reference): Use `reftex-ref-style-list' function.
6046 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6047 reference macro if `reftex-ref-macro-prompt' is non-nil.
6048 (reftex-reference): Pass refstyle to `reftex-format-special'.
6049 Determine reference macro by looking at
6050 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6051 Use only one special format function.
6052 (reftex-varioref-vref, reftex-fancyref-fref)
6053 (reftex-fancyref-Fref): Remove definitions. The functions are now
6054 generated from `reftex-ref-style-alist'.
6055 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6056 Remove.
6057 (reftex-format-special): New function.
6058
6059 * textmodes/reftex-sel.el
6060 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6061 of `reftex-ref-style-alist'. Remove code for testing macro type.
6062 (reftex-select-toggle-varioref)
6063 (reftex-select-toggle-fancyref): Remove.
6064 (reftex-select-cycle-ref-style-internal)
6065 (reftex-select-cycle-ref-style-forward)
6066 (reftex-select-cycle-ref-style-backward): New functions.
6067 (reftex-select-label-map): Use `v' and `V' for general cycling
6068 through reference styles. Add `p' for switching between number
6069 and page reference types.
6070
6071 * textmodes/reftex-toc.el (reftex-re-enlarge):
6072 Call `enlarge-window' only if there is something to do because in Emacs
6073 the horizontal version throws an error even if the parameter is 0.
6074
6075 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6076 (reftex-plug-into-AUCTeX): Doc fix.
6077 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6078 string. Adapt to new name.
6079 (reftex-ref-style-alist): Change structure so that it is not
6080 possible to use multiple different package names within a style.
6081 Remove the symbols for symbols for macro type distinction.
6082 Add characters for macro selection.
6083 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6084 (reftex-create-bibtex-footer): New variables.
6085 (reftex-format-ref-function): Mention third argument of special
6086 format function.
6087 (reftex-ref-style-alist, reftex-ref-style-default-list):
6088 New variables.
6089 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6090 to new implementation. Mark as obsolete. Add compatibility code
6091 for honoring the variable values in case they are set.
6092 (reftex-cite-format-builtin, reftex-bibliography-commands):
6093 Add support for ConTeXt.
6094 (reftex-format-ref-function, reftex-format-cite-function):
6095 Fix custom type.
6096 (reftex-cite-key-separator): New variable.
6097
6098 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6099 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6100 `reftex-syntax-table' because parens have to retain their paren
6101 syntax in order for parsing of BibTeX entries like @book(...) to
6102 work.
6103 (reftex-in-comment): Do not error out if `comment-start-skip' is
6104 not set. Deal correctly with escaped comment characters.
6105 (reftex-tie-multifile-symbols): Add doc string.
6106 Initialize `reftex-ref-style-list'.
6107 (reftex-untie-multifile-symbols): Add doc string.
6108 (reftex-add-index-macros): Doc fix.
6109 (reftex-ref-style-activate, reftex-ref-style-toggle)
6110 (reftex-ref-style-list): New functions.
6111 (reftex-mode-menu): Use them. Adapt to new structure of
6112 `reftex-ref-style-alist'.
6113 (reftex-select-with-char): Kill the RefTeX Select buffer when
6114 done.
6115 (reftex-remove-if): New function.
6116 (reftex-erase-all-selection-and-index-buffers)
6117 (reftex-mode-menu): Reference styles are now computed from
6118 `reftex-ref-style-alist'. Fix typo.
6119 (reftex-report-bug): New function.
6120 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6121 algorithms with O(n log n). Introduce optional argument SORT (not
6122 yet used).
6123
6124 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6125
6126 Enhancements for triple-quote string syntax.
6127 * progmodes/python.el (python-syntax-propertize-function):
6128 Match both quote cases in one regexp.
6129 (python-syntax-stringify): Handle matches properly.
6130
6131 2012-09-30 Juri Linkov <juri@jurta.org>
6132
6133 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6134 to nil around the call to `insert' to prevent
6135 directory time modification by lock_file. (Bug#2295)
6136 * tar-mode.el (tar-summarize-buffer): Idem.
6137
6138 2012-09-30 Juri Linkov <juri@jurta.org>
6139
6140 * facemenu.el (list-colors-sort): Add option "Luminance".
6141 (list-colors-sort-key): Implement it.
6142
6143 * vc/diff-mode.el (diff-refine-removed):
6144 * vc/ediff-init.el (ediff-fine-diff-A):
6145 * vc/smerge-mode.el (smerge-refined-removed):
6146 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6147
6148 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6149
6150 * term/ns-win.el (x-file-dialog): New function.
6151
6152 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6153
6154 * ido.el (ido-max-directory-size): Default to nil; the current
6155 default is small for POSIX systems, and impractical on Windows 7
6156 now that lstat returns directory sizes for NTFS.
6157
6158 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6159
6160 In buffer display functions handle window-height/window-width
6161 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6162 * window.el (window--display-buffer): New argument ALIST.
6163 Obey window-height and window-width alist entries.
6164 (window--try-to-split-window): New argument ALIST.
6165 Bind window-combination-limit to t when the window's size shall be
6166 changed and window-combination-limit equals `window-size'.
6167 (display-buffer-in-atom-window)
6168 (display-buffer-in-major-side-window)
6169 (display-buffer-in-side-window, display-buffer-same-window)
6170 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6171 (display-buffer-pop-up-window, display-buffer-below-selected)
6172 (display-buffer-at-bottom, display-buffer-in-previous-window)
6173 (display-buffer-use-some-window): Adjust all callers of
6174 window--display-buffer and window--try-to-split-window.
6175 (fit-frame-to-buffer): New option.
6176 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6177 is non-nil.
6178 (display-buffer-in-major-side-window): Evaluate window-height /
6179 window-width alist entries.
6180
6181 * help.el (temp-buffer-resize-frames)
6182 (temp-buffer-resize-regexps): Remove options.
6183 (temp-buffer-resize-mode): Adjust doc-string.
6184 (resize-temp-buffer-window): Don't consult
6185 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6186 temp-buffer-resize-frames.
6187
6188 * dired.el (dired-mark-pop-up):
6189 Call display-buffer-below-selected with a fit-window-to-buffer alist
6190 entry.
6191
6192 2012-09-30 Chong Yidong <cyd@gnu.org>
6193
6194 * server.el (server-host): Document the security implications.
6195 (server-auth-key): Doc fix.
6196
6197 * startup.el (initial-buffer-choice): Doc fix.
6198
6199 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6200
6201 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6202 restriction change.
6203
6204 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6205
6206 * help-fns.el (help-fns--obsolete): Fix last change.
6207
6208 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6211 (minor-mode-map-alist): Remove redundant code.
6212
6213 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6214 visited in a buffer.
6215 (cvs-insert-visited-file): New function.
6216 (find-file-hook): Use it.
6217
6218 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6219
6220 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6221 chose face.
6222 (log-edit-empty-buffer-p): Don't require a space after a header.
6223
6224 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6225
6226 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6227
6228 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6229 a proper minor-mode.
6230
6231 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6232
6233 2012-09-29 Glenn Morris <rgm@gnu.org>
6234
6235 * winner.el (winner-mode): Remove variable (let define-minor-mode
6236 handle it).
6237 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6238 Doc fixes.
6239 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6240 (winner-mode): Use define-minor-mode.
6241
6242 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6243 the full definition in loaddefs, rather than duplicating it.
6244
6245 * help-macro.el (three-step-help): No need to autoload defcustom.
6246
6247 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6248 (inferior-lisp-program, inferior-lisp-load-command)
6249 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6250 No need to autoload defcustoms.
6251
6252 * hippie-exp.el (hippie-expand-try-functions-list)
6253 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6254 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6255 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6256 (hippie-expand-only-buffers): No need to autoload defcustoms.
6257 * progmodes/vhdl-mode.el (vhdl-line-expand):
6258 Explicitly load hippie-exp, so it does not get autoloaded
6259 while hippie-expand-try-functions-list is let-bound.
6260
6261 2012-09-28 Glenn Morris <rgm@gnu.org>
6262
6263 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6264
6265 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6266 Only "cl.el" counts as cl these days.
6267
6268 2012-09-28 Juri Linkov <juri@jurta.org>
6269
6270 Display archive errors in the echo area instead of inserting
6271 to the file buffer.
6272
6273 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6274 to STDERR-TEST that can be a regexp matching a successful output.
6275 Create a temporary file and redirect stderr to it. Search for
6276 STDERR-TEST in the stderr output and display it in the echo area
6277 if no match is found.
6278 (archive-extract-by-file): New function like
6279 `archive-extract-by-stdout' but extracting archives to files
6280 and looking for successful matches in stdout. Function body is
6281 mostly copied from `archive-rar-extract'.
6282 (archive-rar-extract): Use `archive-extract-by-file'.
6283 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6284
6285 2012-09-28 Leo Liu <sdl.web@gmail.com>
6286
6287 * pcomplete.el (pcomplete-show-completions):
6288 Use minibuffer-message to make pcomplete usable in minibuffer.
6289
6290 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6291
6292 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * type-break.el: Use lexical-binding.
6295 (type-break-mode): Use define-minor-mode.
6296
6297 * emacs-lisp/pcase.el (pcase--mark-used): New.
6298 (pcase--u1): Use it (bug#12512).
6299
6300 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6301 in load-history with the right file name.
6302
6303 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6304
6305 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6306 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6307 (doc-view-get-bounding-box): Make bounding box slicing work for
6308 ODF and DVI documents.
6309
6310 2012-09-28 Glenn Morris <rgm@gnu.org>
6311
6312 * type-break.el (type-break-mode, type-break-interval)
6313 (type-break-good-rest-interval, type-break-keystroke-threshold):
6314 No need to autoload.
6315 (type-break-good-rest-interval, type-break-keystroke-threshold):
6316 Add :set-after.
6317
6318 2012-09-28 Chong Yidong <cyd@gnu.org>
6319
6320 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6321 Add :version tag.
6322
6323 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6326
6327 2012-09-27 Glenn Morris <rgm@gnu.org>
6328
6329 * faces.el (x-display-name): Declare (for without-x builds).
6330
6331 * linum.el (linum-format): Don't autoload it. Improve :type.
6332
6333 * progmodes/tcl.el: Don't require outline when compiling.
6334 (outline-regexp, outline-level): Declare.
6335 * textmodes/sgml-mode.el: Don't require outline when compiling.
6336 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6337
6338 * term.el (term-ansi-reset):
6339 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6340
6341 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6342 files for RCS and SCCS. (Bug#9781)
6343
6344 2012-09-27 Chong Yidong <cyd@gnu.org>
6345
6346 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6347 change; value should be t.
6348
6349 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6350
6351 * image-mode.el: Use lexical-binding.
6352 (image-mode-winprops): Use t to stand for the window of
6353 a buffer that's not displayed.
6354 * doc-view.el (doc-view-new-window-function): Handle the new
6355 t in winprops.
6356 (doc-view-enlarge): Make it a real nop if the size is not changed.
6357 (doc-view-display): Handle the case where the buffer is not (yet?)
6358 displayed in any window.
6359 (doc-view-saved-settings): New var.
6360 (doc-view-mode): Use it.
6361 (doc-view-fallback-mode): Set it.
6362
6363 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6364 Set lexical-binding.
6365 (minibuffer-eldef-shorten-default): New var.
6366 (minibuffer-default-in-prompt-regexps): Use it for new default.
6367 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6368
6369 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6370
6371 * international/uni-bidi.el:
6372 * international/uni-category.el:
6373 * international/uni-name.el:
6374 * international/uni-numeric.el: Regenerate.
6375
6376 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6377 Stefan Monnier <monnier@iro.umontreal.ca>
6378
6379 * profiler.el: New file.
6380
6381 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6382
6383 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6384 (testcover-reinstrument): Simplify with CSE.
6385
6386 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6387
6388 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6389
6390 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6391
6392 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6393 (verilog-auto-input, verilog-auto-insert-lisp)
6394 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6395 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6396 (verilog-auto-unused, verilog-auto-wire)
6397 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6398 newline. Reported by Andrew Jones.
6399 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6400 Reported by Brad Dobbie.
6401 (verilog-batch-delete-trailing-whitespace):
6402 Create verilog-batch-delete-trailing-whitespace.
6403 Reported by Brad Dobbie.
6404 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6405 parameters from another module. Reported by Dan Katz.
6406 (verilog-auto, verilog-auto-assign-modport)
6407 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6408 AUTOINOUTMODPORT for UVM interface module shell generation.
6409 Reported by Brad Dobbie.
6410 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6411 standard behavior.
6412 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6413 Reported by Matt Martin.
6414
6415 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6416
6417 * window.el (window--resize-child-windows): When resizing child
6418 windows proportionally, process them in reverse order to
6419 preserve the "when splitting a window the new one gets the odd
6420 line" behavior.
6421 (window--resize-root-window-vertically): When resizing the
6422 minibuffer window try to affect only windows at the bottom of the
6423 frame. (Bug#12419)
6424
6425 2012-09-25 Chong Yidong <cyd@gnu.org>
6426
6427 * subr.el (declare): Doc fix.
6428
6429 * help-fns.el (help-fns--obsolete): Handle macros properly.
6430
6431 2012-09-25 Chong Yidong <cyd@gnu.org>
6432
6433 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6434 this function obsolete.
6435
6436 * calendar/cal-x.el (calendar-two-frame-setup)
6437 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6438 * calendar/calendar.el (american-calendar, european-calendar)
6439 (calendar-for-loop):
6440 * comint.el (comint-dynamic-simple-complete)
6441 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6442 * desktop.el (desktop-load-default):
6443 * dired-x.el (dired-omit-here-always)
6444 (dired-hack-local-variables, dired-default-directory):
6445 * emacs-lisp/derived.el (derived-mode-class):
6446 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6447 * emacs-lock.el (toggle-emacs-lock):
6448 * epa.el (epa-display-verify-result):
6449 * epg.el (epg-sign-keys, epg-start-sign-keys)
6450 (epg-passphrase-callback-function):
6451 * eshell/esh-util.el (eshell-for):
6452 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6453 (eshell-add-to-window-buffer-names):
6454 * files.el (locate-file-completion):
6455 * imenu.el (imenu-example--create-c-index)
6456 (imenu-example--create-lisp-index)
6457 (imenu-example--lisp-extract-index-name)
6458 (imenu-example--name-and-position):
6459 * international/mule-cmds.el (princ-list):
6460 * international/mule-diag.el (decode-codepage-char):
6461 * international/mule-util.el (detect-coding-with-priority):
6462 * iswitchb.el (iswitchb-read-buffer):
6463 * mail/mailalias.el (mail-complete):
6464 * mail/sendmail.el (mail-sent-via):
6465 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6466 (mouse-major-mode-menu):
6467 * password-cache.el (password-read-and-add):
6468 * pcomplete.el (pcomplete-parse-comint-arguments):
6469 * progmodes/sh-script.el (sh-maybe-here-document):
6470 * replace.el (query-replace-regexp-eval):
6471 * savehist.el (savehist-load):
6472 * simple.el (choose-completion-delete-max-match):
6473 * term.el (term-dynamic-simple-complete):
6474 * vc/ediff-init.el (ediff-check-version):
6475 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6476 * vc/vc.el (vc-diff-switches-list):
6477 * view.el (view-return-to-alist-update): Likewise.
6478
6479 * subr.el (eval-next-after-load, makehash, insert-string)
6480 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6481 mark obsolete.
6482 (mode-line-inverse-video): Variable deleted.
6483
6484 * international/mule-util.el (string-to-sequence): Remove.
6485
6486 * calendar/calendar.el (calendar-version):
6487 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6488 (icalendar-convert-diary-to-ical):
6489 * cus-edit.el (custom-mode):
6490 * ansi-color.el (ansi-color-unfontify-region):
6491 * international/latin1-disp.el (latin1-char-displayable-p):
6492 * progmodes/cwarn.el (turn-on-cwarn-mode):
6493 * progmodes/which-func.el (which-func-update-1):
6494 Use define-obsolete-function-alias.
6495
6496 * net/newst-backend.el (newsticker-cache-filename):
6497 * net/newst-treeview.el (newsticker-groups-filename):
6498 Fix incorrect obsolescence declaration.
6499
6500 * allout.el (allout-passphrase-hint-string): Likewise.
6501 (allout-init): Use a declare form to mark obsolete.
6502
6503 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6504 this applies to functions.
6505
6506 * iswitchb.el (iswitchb-read-buffer): Move code of
6507 iswitchb-define-mode-map here, and delete that obsolete function.
6508
6509 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6510 font-lock-reference-face.
6511
6512 2012-09-25 Glenn Morris <rgm@gnu.org>
6513
6514 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6515 Doc fixes.
6516
6517 * eshell/em-term.el (eshell-term-name):
6518 Default to term-term-name. (Bug#12485)
6519
6520 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6521
6522 * progmodes/python.el (python-shell-send-buffer): Better handling
6523 of "if __name__ == '__main__':" conditionals when sending the buffer.
6524
6525 2012-09-24 Glenn Morris <rgm@gnu.org>
6526
6527 * eshell/esh-cmd.el (eshell-find-alias-function):
6528 Tighten up file-name regexp. (Bug#12499)
6529
6530 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6531
6532 Enhancements for triple-quote string syntax.
6533 * progmodes/python.el (python-quote-syntax): Remove.
6534 (python-syntax-propertize-function): New value.
6535 (python-syntax-count-quotes, python-syntax-stringify):
6536 New functions.
6537
6538 2012-09-24 Chong Yidong <cyd@gnu.org>
6539
6540 * mail/supercite.el (sc-version): Remove obsolete function.
6541 (sc-describe): Don't mark as obsolete, since it is bound.
6542 (sc-submit-bug-report): Remove.
6543
6544 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6545 (cvs-commit-buffer-require-final-newline): Remove.
6546 (log-edit-require-final-newline)
6547 (log-edit-changelog-full-paragraphs): Default to t.
6548
6549 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6550 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6551 * vc/vc.el (vc-checkout-carefully): Likewise.
6552
6553 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6554 (emerge-version): Remove.
6555
6556 * progmodes/compile.el (compile-internal): Remove.
6557 (compilation-parse-errors-function): Fix typo.
6558
6559 * international/mule.el (set-char-table-default): Remove.
6560 (set-coding-priority, make-coding-system, generic-char-p)
6561 (charset-list, charset-bytes, charset-id): Use declare to mark
6562 functions as obsolete.
6563
6564 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6565 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6566 * vc/vc-hooks.el (vc-default-registered): Don't use
6567 vc-master-templates.
6568
6569 * font-lock.el (font-lock-reference-face):
6570 Use define-obsolete-variable-alias.
6571
6572 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6573 * calendar/calendar.el (calendar-font-lock-keywords):
6574 * calendar/diary-lib.el (diary-font-lock-keywords)
6575 (diary-fancy-font-lock-keywords):
6576 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6577 * textmodes/reftex-index.el (reftex-insert-index):
6578 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6579 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6580 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6581 * progmodes/prolog.el (prolog-font-lock-keywords):
6582 * progmodes/idlwave.el (idlwave-idl-keywords):
6583 * progmodes/ada-mode.el (ada-font-lock-keywords):
6584 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6585
6586 2012-09-24 Glenn Morris <rgm@gnu.org>
6587
6588 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6589
6590 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6591
6592 * progmodes/python.el (python-indent-line): More consistent cursor
6593 movement behavior.
6594
6595 2012-09-23 Stefan Merten <smerten@oekonux.de>
6596
6597 * textmodes/rst.el: Fix compiler warning.
6598
6599 2012-09-23 Roland Winkler <winkler@gnu.org>
6600
6601 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6602 Transcribe also LaTeX hyphenation.
6603 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6604 bibtex-reformat-previous-options.
6605
6606 2012-09-23 Roland Winkler <winkler@gnu.org>
6607
6608 * proced.el (proced-renice-command): New variable.
6609 (proced-marked-processes): New function.
6610 (proced-with-processes-buffer): New macro.
6611 (proced-send-signal): Use them.
6612 (proced-renice): New command bound to r.
6613
6614 2012-09-23 Roland Winkler <winkler@gnu.org>
6615
6616 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6617 ibuffer-saved-filter-groups has one element, shortcut the call of
6618 completing-read. (Bug#12331)
6619
6620 2012-09-23 Chong Yidong <cyd@gnu.org>
6621
6622 * bindings.el (mode-line-toggle-read-only):
6623 * bs.el (bs-toggle-readonly):
6624 * buff-menu.el (Buffer-menu-toggle-read-only):
6625 * dired.el (dired-toggle-read-only):
6626 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6627
6628 2012-09-23 Chong Yidong <cyd@gnu.org>
6629
6630 * image.el (image-type-available-p): Adapt to init-image-library
6631 argument changes.
6632
6633 2012-09-22 Juri Linkov <juri@jurta.org>
6634
6635 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6636 `dired-toggle-read-only'. (Bug#12462)
6637
6638 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6639
6640 * subr.el (temp-output-buffer-show): New function.
6641 (with-output-to-temp-buffer): Call temp-output-buffer-show
6642 instead of internal-temp-output-buffer-show.
6643
6644 2012-09-22 Chong Yidong <cyd@gnu.org>
6645
6646 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6647 (Bug#12462).
6648
6649 * repeat.el (repeat): Doc fix (Bug#12348).
6650
6651 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6652 (Bug#10909).
6653
6654 * simple.el (shell-command-on-region): Doc fix.
6655 (read-only-mode): Doc fix.
6656
6657 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6658
6659 * emacs-lisp/timer.el (run-with-idle-timer)
6660 (timer-activate-when-idle): Warn against reinvoking an idle timer
6661 from within its own timer action. (Bug#12447)
6662
6663 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6664
6665 * cus-start.el (window-combination-limit): Add new optional
6666 values.
6667 * window.el (temp-buffer-window-show)
6668 (window--try-to-split-window): Handle new values of
6669 window-combination-limit (Bug#1806).
6670 (split-window): Test window-combination-limit for t instead of
6671 non-nil.
6672 (display-buffer-at-bottom): New buffer display action function.
6673 * help.el (temp-buffer-resize-regexps): New option.
6674 (temp-buffer-resize-mode): Rewrite doc-string.
6675 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6676 Don't resize reused window. Suggested by Glenn Morris.
6677
6678 2012-09-22 Stefan Merten <smerten@oekonux.de>
6679
6680 * textmodes/rst.el: Revamp section title faces.
6681 (rst-official-version)
6682 (rst-package-emacs-version-alist): Sync with official version
6683 V1.4.0.
6684 (rst-faces-defaults, rst-set-level-default)
6685 (rst-level-face-max, rst-level-face-base-color)
6686 (rst-level-face-base-light, rst-level-face-format-light)
6687 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6688 (rst-adornment-faces-alist): Match new setup.
6689 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6690 (rst-level-5, rst-level-6): New faces.
6691
6692 2012-09-22 Chong Yidong <cyd@gnu.org>
6693
6694 * simple.el (undo): Handle indirect buffers (Bug#8207).
6695
6696 2012-09-21 Leo Liu <sdl.web@gmail.com>
6697
6698 IDO: Disable match re-ordering for buffer switching.
6699 * ido.el (ido-buffer-disable-smart-matches): New variable.
6700 (ido-set-matches-1): Use it. (Bug#2042)
6701
6702 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6703
6704 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6705 Fix 2011-05-17 change. (Bug#12418)
6706
6707 2012-09-21 Leo Liu <sdl.web@gmail.com>
6708
6709 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6710
6711 2012-09-21 Glenn Morris <rgm@gnu.org>
6712
6713 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6714 Be more robust about locating simple.el.
6715
6716 2012-09-21 Glenn Morris <rgm@gnu.org>
6717
6718 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6719
6720 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6721
6722 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6723
6724 2012-09-20 Juri Linkov <juri@jurta.org>
6725
6726 * replace.el (query-replace-read-from): Use `read-regexp' instead
6727 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6728 (occur-read-primary-args): Use `read-regexp' instead of
6729 `read-string'.
6730 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6731 `read-from-minibuffer'.
6732 * isearch.el (isearch-occur): Use `read-regexp' instead of
6733 `read-string'.
6734 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6735 `read-from-minibuffer'.
6736 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6737 of `read-string'. (Bug#7567)
6738
6739 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6740 and allow accepting a list of strings prepended to a list of
6741 standard default values. Doc fix. (Bug#12321)
6742
6743 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6744
6745 * replace.el (read-regexp): Don't add ": " when PROMPT already
6746 ends with a colon and space. (Bug#12321)
6747
6748 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6749
6750 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6751 error.
6752
6753 2012-09-20 Stefan Merten <smerten@oekonux.de>
6754
6755 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6756 Fixes feature request bug#11711.
6757 (rst-mode): Create `imenu-create-index-function'.
6758 (rst-get-stripped-line): Delete after refactoring.
6759 (rst-section-tree, rst-section-tree-rec)
6760 (rst-section-tree-point): Refactor and document properly.
6761 (rst-imenu-find-adornments-for-position)
6762 (rst-imenu-convert-cell, rst-imenu-create-index):
6763 New function.
6764
6765 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6768 (macroexp--expand-all): Use it.
6769 (macroexp--funcall-and-return): Remove by folding it into its sole
6770 caller (macroexp--warn-and-return).
6771 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6772 Use macroexp--obsolete-warning.
6773
6774 * calc/calc.el: Fix last change by removing the whole chunk, since it
6775 was only needed back when Calc was not bundled.
6776
6777 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6778
6779 * emacs-lisp/debug.el (debug): Restore assignment to
6780 debugger-old-buffer removed on 2012-09-08.
6781
6782 2012-09-20 Juri Linkov <juri@jurta.org>
6783
6784 * dired-aux.el (dired-diff): Remove (require 'diff) since
6785 `diff-latest-backup-file' is now autoloaded.
6786
6787 2012-09-20 Chong Yidong <cyd@gnu.org>
6788
6789 * vc/diff.el (diff-latest-backup-file): Autoload.
6790
6791 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * calc/calc.el: Remove redundant autoload shape check.
6794 (sel-mode): Don't defvar.
6795 (calc-get-stack-element): Add `sel-mode' arg instead.
6796 (calc-top, calc-top-list): Pass it this additional argument.
6797 * calc/calc-store.el (calc-store-map):
6798 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6799 (calc-map-equation, calc-outer-product, calc-inner-product):
6800 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6801
6802 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6803
6804 2012-09-19 Juri Linkov <juri@jurta.org>
6805
6806 * dired-aux.el (dired-diff): Add (require 'diff) because
6807 `diff-latest-backup-file' is not autoloaded.
6808 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6809 of `dired-get-filename' to t to not report error when there is
6810 no default file on the current line.
6811
6812 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6815 macroexp--eval-if-compile.
6816 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6817 (macroexp--expand-all): Use them (bug#12371).
6818
6819 * doc-view.el (doc-view-guess-paper-size)
6820 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6821
6822 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6823
6824 New feature: set optimal slice from BoundingBox information.
6825 * doc-view.el (doc-view-mode-map): Add keybinding.
6826 (doc-view-menu): Add menu entry.
6827 (doc-view-set-slice): Adapt docstring.
6828 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6829 (doc-view-scale-bounding-box)
6830 (doc-view-set-slice-from-bounding-box): New functions.
6831 (doc-view-paper-sizes): New defvar.
6832
6833 2012-09-19 Glenn Morris <rgm@gnu.org>
6834
6835 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6836 (byte-compile-log-warning): Autoload. (Bug#12371)
6837
6838 * calendar/calendar.el (calendar-american-month-header)
6839 (calendar-european-month-header, calendar-iso-month-header)
6840 (calendar-month-header): New options.
6841 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6842 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6843
6844 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6845
6846 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6847
6848 2012-09-18 Juri Linkov <juri@jurta.org>
6849
6850 * dired-aux.el (dired-diff): Restore original functionality of
6851 getting the default value, but keep new feature of using the
6852 latest existing backup file (`diff-latest-backup-file').
6853
6854 2012-09-18 Juri Linkov <juri@jurta.org>
6855
6856 * dired.el (dired-mark): If the region is active in Transient Mark
6857 mode, mark all files in the active region. Doc fix.
6858 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6859 Doc fix. (Bug#10624)
6860
6861 2012-09-18 Juri Linkov <juri@jurta.org>
6862
6863 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6864 attributes for M-n are pulled from the file at point.
6865 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6866 Suggested by Drew Adams. (Bug#10624)
6867
6868 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6869
6870 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6871 whitespace after "end".
6872 (ruby-do-end-to-brace): Collapse block to one line if it fits
6873 within fill-column.
6874
6875 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6876
6877 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6878 value.
6879 (debug): Don't remove debugger window when debugger is expected
6880 to be back.
6881
6882 2012-09-18 Chong Yidong <cyd@gnu.org>
6883
6884 * custom.el (defface): Doc fix.
6885
6886 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6887
6888 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6889
6890 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6891 to initialize query-on-exit; then test that instead (bug#12288).
6892
6893 2012-09-17 Stefan Merten <smerten@oekonux.de>
6894
6895 * textmodes/rst.el: Add support for `testcover'.
6896 (rst-defcustom-testcover, rst-testcover-add-compose)
6897 (rst-testcover-add-1value): New functions.
6898 (rst-portable-mark-active-p): Replace by `use-region-p'.
6899 (rst-update-section, rst-classify-adornment)
6900 (rst-find-title-line): Mark `1value' forms.
6901 (rst-classify-adornment): Remove superfluous form.
6902 (rst-update-section, rst-get-adornments-around)
6903 (rst-adornment-complete-p, rst-get-next-adornment)
6904 (rst-adjust, rst-promote-region)
6905 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6906 (rst-find-pfx-in-region, rst-section-tree-rec)
6907 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6908 (rst-toc-node, rst-toc, rst-forward-section)
6909 (rst-iterate-leftmost-paragraphs)
6910 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6911 (rst-bullet-list-region)
6912 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6913 (rst-compile-find-conf, rst-compile)
6914 (rst-repeat-last-character): Fix style.
6915
6916 2012-09-17 Chong Yidong <cyd@gnu.org>
6917
6918 * comint.el (comint--complete-file-name-data): Don't add a space
6919 if the status is `sole'; that adds a gratuitous space in the
6920 completion-cycling case (Bug#12092).
6921
6922 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6923
6924 2012-09-17 Richard Stallman <rms@gnu.org>
6925
6926 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6927 only in the mime-shown mode, not in raw mode.
6928 (rmail-mime): Toggle off mime by displaying the message without
6929 mime processing. (Bug#12305)
6930
6931 * mail/rmail.el (rmail-retry-failure):
6932 Turn off mime processing first. (Bug#12037)
6933
6934 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6935
6936 2012-09-17 Chong Yidong <cyd@gnu.org>
6937
6938 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6939 (shell-dynamic-complete-functions): Convert to defcustom.
6940 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6941
6942 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6943 * comint.el (comint-prompt-read-only):
6944 * custom.el (defcustom):
6945 * hi-lock.el (hi-lock-mode):
6946 * ibuffer.el (ibuffer-formats):
6947 * ielm.el (ielm-prompt-read-only):
6948 * novice.el (disable-command):
6949 * saveplace.el (toggle-save-place):
6950 * speedbar.el (speedbar-supported-extension-expressions):
6951 * startup.el (auto-save-list-file-prefix, init-file-user)
6952 (after-init-hook, inhibit-startup-echo-area-message):
6953 * strokes.el (strokes-help):
6954 * time-stamp.el (time-stamp):
6955 * calendar/calendar.el (calendar, diary-file):
6956 * calendar/diary-lib.el (diary-mail-entries, diary)
6957 (diary-list-entries-hook):
6958 * calendar/holidays.el (holidays, calendar-holidays):
6959 * calendar/lunar.el (lunar-phases):
6960 * calendar/solar.el (sunrise-sunset):
6961 * emulation/edt.el (edt-load-keys):
6962 * emulation/viper.el (viper-mode):
6963 * eshell/em-alias.el (eshell-command-aliases-list):
6964 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6965 * international/ogonek.el (ogonek-information):
6966 * net/tramp-cmds.el (tramp-bug):
6967 * net/quickurl.el (quickurl-reread-hook-postfix):
6968 * play/decipher.el (decipher-font-lock-keywords):
6969 * progmodes/cc-styles.el (c-set-style):
6970 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6971 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6972 * progmodes/octave-mod.el (octave-mode):
6973 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6974 * progmodes/verilog-mode.el (verilog-read-defines):
6975 * textmodes/two-column.el (2C-mode): Likewise.
6976
6977 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6978
6979 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6980 that holds many addresses.
6981
6982 2012-09-16 Chong Yidong <cyd@gnu.org>
6983
6984 * align.el (align-areas): Call the indication function with
6985 positions instead of markers for arguments (Bug#12343).
6986
6987 * files.el (parse-colon-path): Use split-string (Bug#12351).
6988
6989 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6990 (display-buffer-function): Mark as obsolete.
6991
6992 * progmodes/compile.el (compilation-parse-errors): Accept list
6993 values similar to font-lock-keywords (Bug#12136).
6994 Suggested by Oleksandr Manzyuk.
6995 (compilation-error-regexp-alist): Doc fix.
6996
6997 2012-09-15 Glenn Morris <rgm@gnu.org>
6998
6999 * version.el (emacs-bzr-version-bzr): New function.
7000 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7001
7002 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7003 checkouts, check the parent dirstate matches the branch.
7004 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7005 empty string.
7006
7007 * version.el (emacs-bzr-version): Doc fix.
7008 (emacs-bzr-version-dirstate): New function.
7009 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7010 is local try and check that it matches the branch. If not, just
7011 use dirstate information. (Bug#12441)
7012
7013 2012-09-14 Juri Linkov <juri@jurta.org>
7014
7015 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7016 (Bug#12399)
7017
7018 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7019
7020 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7021
7022 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7023 Remove obsolete byte-compiler hack that tried to silence some warnings.
7024 (edebug-submit-bug-report): Remove.
7025 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7026 Remove aliases, use the un-prefixed name instead.
7027 (edebug-pop-to-buffer): Consider other frames.
7028 (edebug-original-read):: Make it more obvious that it's always defined.
7029 (edebug--make-form-data-entry, edebug--form-data-name)
7030 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7031 single-dashed name, and implement with cl-defstruct.
7032 (edebug-set-form-data-entry): Use the standard accessors.
7033 (edebug-make-top-form-data-entry): Use push.
7034 (edebug-no-match): Drop useless `funcall'.
7035 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7036 to functions.
7037 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7038 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7039 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7040 (easy-menu-define, with-custom-print): Remove redundant specs.
7041 (edebug-outside-overriding-local-map)
7042 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7043 (edebug--display): Bind unread-command-events directly to nil rather
7044 than binding it to unread-command-events and later setting it to nil.
7045 (edebug--display): Kill edebug-eval-buffer here...
7046 (edebug--recursive-edit): ...rather than here.
7047 Bind standard-output and standard-input.
7048 (edebug-eval): Check cl-macroexpand-all is fboundp.
7049 (edebug-temp-display-freq-count): Fix last change.
7050
7051 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7052 * subr.el (noreturn, 1value): Add `debug' spec.
7053 * emacs-lisp/advice.el: Require cl-lib.
7054 (ad-copy-tree): Remove, use copy-tree instead.
7055 (ad-dolist): Remove use dolist or cl-dolist instead.
7056 (ad-do-return): Remove, use cl-return instead.
7057 (defadvice): Add `debug' spec.
7058
7059 2012-09-13 Juri Linkov <juri@jurta.org>
7060
7061 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7062 (Bug#12399)
7063
7064 2012-09-13 Glenn Morris <rgm@gnu.org>
7065
7066 * calc/calc.el (math-compose-expr):
7067 * calc/calc-ext.el (math-compose-expr):
7068 * progmodes/cc-defs.el (cl-macroexpand-all):
7069 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7070 (cl-macroexpand-all): Update declarations.
7071
7072 * vc/vc.el: No need to require ediff.
7073 (ediff-load-version-control): Declare.
7074 (ediff-vc-internal): Fix declaration.
7075 (vc-version-ediff): Require ediff.
7076
7077 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7078
7079 Use a more backwards-compatible timer format (Bug#12430).
7080 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7081 being right after USECS, as that better supports old code that
7082 inadvisedly looked directly at the timer vector.
7083
7084 2012-09-13 Kenichi Handa <handa@gnu.org>
7085
7086 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7087 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7088 `coding-priority' property of these language environment.
7089
7090 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7091
7092 Fix glitches caused by addition of psec to timers (Bug#12430).
7093 * image.el (image-animate-timer):
7094 * time.el (display-time-world-timer):
7095 Use timer--function and timer--args rather than raw access to
7096 timer vector.
7097
7098 2012-09-13 Glenn Morris <rgm@gnu.org>
7099
7100 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7101 If not compiling a file, try using load-file-name.
7102
7103 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7104
7105 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7106 Fix last change.
7107 (edebug-update-eval-list): Use `push'.
7108
7109 * emacs-lisp/edebug.el: Use lexical-binding.
7110 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7111 Mark unused args with underscore.
7112 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7113 (edebug-form-data): Use defvar-local.
7114 (edebug-make-before-and-after-form, edebug-make-after-form):
7115 Use backquote.
7116 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7117 Not dynamically scoped any more.
7118 (edebug--enter-trace): Add arguments `function' and `args'.
7119 Rename from edebug-enter-trace.
7120 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7121 (edebug--update-coverage): Add `after-index' and `value' args.
7122 Rename from edebug-update-coverage.
7123 (edebug-slow-after): Call it accordingly.
7124 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7125 edebug-recursive-edit.
7126 (edebug--display): Call it accordingly. Add args `value',
7127 `offset-index', and `arg-mode'. Rename from edebug-display.
7128 (edebug-debugger, edebug): Call it accordingly.
7129 (edebug-eval-display-list): Use dolist.
7130
7131 2012-09-12 Juri Linkov <juri@jurta.org>
7132
7133 * info.el (Info-search): Don't check for isearch-mode and
7134 isearch-regexp before let-binding search-spaces-regexp to
7135 Info-search-whitespace-regexp.
7136 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7137 search-whitespace-regexp if isearch-lax-whitespace or
7138 isearch-regexp-lax-whitespace is non-nil.
7139 (Info-mode): Don't set local variable search-whitespace-regexp.
7140 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7141
7142 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7145 (debugger-env-macro): Remove support for unread-command-char.
7146
7147 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7148 the temporary map re-appearing on emulation-mode-map-alists.
7149
7150 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7151 since 22.1.
7152
7153 * ehelp.el (with-electric-help): Accept functions in
7154 electric-help-form-to-execute.
7155 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7156 And replace unread-command-char -> unread-command-events.
7157
7158 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7159
7160 Sync with Tramp 2.2.6.
7161
7162 * net/tramp.el (tramp-accept-process-output): Don't use
7163 JUST-THIS-ONE in the XEmacs case.
7164
7165 * net/trampver.el: Update release number.
7166
7167 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7168
7169 * emacs-lisp/debug.el (debugger-previous-window-height):
7170 New variable.
7171 (debug): When debugger-jumping-flag is non-nil try to restore
7172 height of debugger window. (Bug#8789)
7173
7174 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7175
7176 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7177 overriding-local-map and pre/post-command-hook here.
7178 (edebug-recursive-edit): Do it here instead (bug#12345).
7179 (edebug-outside-unread-command-char): Remove all uses of
7180 unread-command-char.
7181
7182 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7183 inhibit-debugger is bound instead.
7184
7185 2012-09-11 Bastien Guerry <bzg@gnu.org>
7186
7187 * subr.el (set-temporary-overlay-map): Add a docstring.
7188 (Bug#12346)
7189
7190 2012-09-11 Bastien Guerry <bzg@gnu.org>
7191
7192 * minibuffer.el (completion-table-subvert): Fix docstring.
7193 (Bug#12347)
7194
7195 2012-09-11 Bastien Guerry <bzg@gnu.org>
7196
7197 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7198
7199 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7200
7201 * progmodes/sql.el: Version 3.1
7202 (sql-db2-escape-newlines): New variable.
7203 (sql-escape-newlines-filter): Use it.
7204
7205 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7206
7207 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7208
7209 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7210
7211 * vc/diff-mode.el (diff-mode-menu):
7212 Bind diff-remove-trailing-whitespace.
7213
7214 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7215
7216 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7217 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7218 (emacs-lisp-byte-code-mode): New functions.
7219 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7220 (eval-defun-2): Remove bogus interactive spec.
7221 (lisp-indent-line): Remove redundant whole-exp code, now done in
7222 indent-according-to-mode.
7223 (save-match-data): Remove redundant indent data.
7224
7225 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7226 Use `declare'.
7227
7228 2012-09-09 Juri Linkov <juri@jurta.org>
7229
7230 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7231 (replace-lax-whitespace, query-replace-regexp)
7232 (query-replace-regexp-eval, replace-regexp): Doc fix.
7233 (perform-replace, replace-highlight): Let-bind
7234 isearch-lax-whitespace to replace-lax-whitespace and
7235 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7236
7237 * isearch.el (isearch-query-replace): Let-bind
7238 replace-lax-whitespace to isearch-lax-whitespace and
7239 replace-regexp-lax-whitespace to
7240 isearch-regexp-lax-whitespace. (Bug#10885)
7241
7242 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7243
7244 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7245
7246 2012-09-09 Alan Mackenzie <acm@muc.de>
7247
7248 * progmodes/cc-engine.el (c-state-cache-init):
7249 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7250 (c-record-parse-state-state):
7251 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7252
7253 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7254
7255 * register.el (register-separator): Rename from
7256 separator-register. All uses changed. Doc fix.
7257 (register): Fix version.
7258
7259 2012-09-09 Chong Yidong <cyd@gnu.org>
7260
7261 * replace.el (query-replace-map): Bind four new symbols for
7262 requesting window scrolling.
7263
7264 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7265 query-replace-map (Bug#8948).
7266
7267 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7268
7269 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7270 since they are now in query-replace-map.
7271
7272 * window.el (scroll-other-window-down): Make the arg optional.
7273
7274 2012-09-09 Chong Yidong <cyd@gnu.org>
7275
7276 * files.el (hack-local-variables-confirm): Use quit-window to kill
7277 the *Local Variables* buffer.
7278
7279 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7280
7281 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7282 not just expect to be at its beginning. Adjust callees.
7283 Succeed when do-end block has no space before the pipe character.
7284 (ruby-brace-to-do-end): When the original block is one-liner,
7285 convert to multiline. Reindent the result.
7286
7287 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7288
7289 * register.el (register): New group.
7290 (separator-register): New user option.
7291 (increment-register): Route it to `append-to-register', if
7292 register contains text. Implication is that `C-x r +' can now be
7293 used for appending to a text register (bug#12217).
7294 (append-to-register, prepend-to-register): Add separator based on
7295 `separator-register'.
7296
7297 2012-09-08 Alan Mackenzie <acm@muc.de>
7298
7299 AWK Mode: make auto-newline work when there's "==" in the pattern.
7300 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7301 correctly.
7302 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7303 Test more rigorously for "=" token.
7304
7305 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7306
7307 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7308 Only fail when reached LIMIT.
7309
7310 2012-09-08 Chong Yidong <cyd@gnu.org>
7311
7312 * dired.el (dired-mode-map): Don't bind M-=.
7313
7314 * dired-aux.el (dired-diff): Use backup file as default.
7315
7316 2012-09-08 Drew Adams <drew.adams@oracle.com>
7317
7318 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7319
7320 2012-09-08 Chong Yidong <cyd@gnu.org>
7321
7322 * subr.el (syntax-after, syntax-class): Doc fix.
7323
7324 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7325
7326 * window.el (display-buffer-in-previous-window): New buffer
7327 display action function.
7328
7329 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7330 (debugger-previous-window): New variable.
7331 (debug): Rewrite using display-buffer-in-previous-window,
7332 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7333
7334 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7337
7338 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7339
7340 * progmodes/python.el (python-shell-send-string):
7341 When default-directory is remote, create temp file on remote
7342 filesystem.
7343 (python-shell-send-file): When file is remote, pass local view of
7344 file paths to remote Python interpreter. (Bug#12340)
7345
7346 2012-09-07 Chong Yidong <cyd@gnu.org>
7347
7348 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7349
7350 * files.el (after-find-file): Don't fail on a read-only buffer if
7351 require-final-newline is `visit' or `visit-save' (Bug#11156).
7352
7353 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7354
7355 * userlock.el (ask-user-about-supersession-threat):
7356 Use read-char-choice (Bug#12093).
7357
7358 2012-09-07 Chong Yidong <cyd@gnu.org>
7359
7360 * subr.el (buffer-narrowed-p): New function.
7361
7362 * ses.el (ses-widen):
7363 * simple.el (count-words--buffer-message):
7364 * net/browse-url.el (browse-url-of-buffer): Use it.
7365
7366 * simple.el (count-words-region): Don't signal an error if there
7367 is a non-nil prefix arg and the mark is not set.
7368
7369 * help.el (describe-key-briefly): Allow the message to be seen
7370 when invoked from the minibuffer (Bug#7014).
7371
7372 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7373
7374 * progmodes/ruby-mode.el (ruby-end-of-defun)
7375 (ruby-beginning-of-defun): Simplify, allow indentation before
7376 block beginning and end keywords.
7377 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7378 (ruby-end-of-defun): Expect that the point is at the beginning of
7379 the defun.
7380
7381 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7382
7383 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7384 (bug#12367).
7385 (cl--make-usage-args): Strip _ from argument names.
7386
7387 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7388
7389 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7390 obsolete alias speedbar-key-map.
7391 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7392 (vhdl-index-menu-init): Don't use obsolete variable
7393 font-lock-maximum-size.
7394
7395 2012-09-06 Chong Yidong <cyd@gnu.org>
7396
7397 * frame.el (window-system-version): Mark as obsolete.
7398
7399 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7400 of obsolete variable speedbar-key-map.
7401
7402 2012-09-06 Juri Linkov <juri@jurta.org>
7403
7404 * replace.el (replace-lax-whitespace): New defcustom.
7405 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7406 (replace-string, replace-regexp): Mention it in docstrings.
7407 (perform-replace, replace-highlight): Let-bind
7408 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7409 to the values of replace-lax-whitespace and regexp-flag.
7410 Don't let-bind search-whitespace-regexp. (Bug#10885)
7411
7412 * isearch.el (isearch-query-replace): Let-bind
7413 replace-lax-whitespace instead of let-binding
7414 replace-search-function and replace-re-search-function.
7415 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7416 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7417 (isearch-toggle-symbol): Set isearch-regexp to nil
7418 in isearch-word mode (like in isearch-toggle-word).
7419
7420 2012-09-06 Juri Linkov <juri@jurta.org>
7421
7422 * replace.el (replace-search-function)
7423 (replace-re-search-function): Set default values to nil.
7424 (perform-replace): Let-bind isearch-related variables based on
7425 replace-related values, call `isearch-search-fun' and let-bind
7426 the result to `search-function'. Remove code that sets
7427 `search-function' and `search-string' separately for
7428 `delimited-flag'.
7429 (replace-highlight): Add new argument `delimited-flag' and
7430 rename other arguments to the names used in `perform-replace'.
7431 Let-bind `isearch-word' to the argument `delimited-flag'.
7432 (Bug#10885, bug#10887)
7433
7434 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7435
7436 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7437 ruby-beginning-of-indent, simplify, allow all keywords to have
7438 indentation before them.
7439 (ruby-beginning-of-indent): Adjust for above. Search until the
7440 found point is not inside a string or comment.
7441 (ruby-font-lock-keywords): Allow symbols to start with "@"
7442 character, give them higher priority than variables.
7443 (ruby-syntax-propertize-function)
7444 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7445 matchers. Expression expansions are not comments when inside a
7446 string, and there comment syntax status is irrelevant.
7447 (ruby-match-expression-expansion): New function. Check that
7448 expression expansion is inside a string, and it's not escaped.
7449 (ruby-font-lock-keywords): Use it.
7450
7451 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7452
7453 * help.el (temp-buffer-max-height): New default value.
7454 (temp-buffer-resize-frames): New option.
7455 (resize-temp-buffer-window): Optionally resize frame.
7456
7457 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7458 (fit-frame-to-buffer): New function.
7459
7460 2012-09-05 Glenn Morris <rgm@gnu.org>
7461
7462 * emulation/cua-rect.el (cua--init-rectangles):
7463 * textmodes/picture.el (picture-mode-map):
7464 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7465 like forward-char and backward-char. (Bug#12317)
7466
7467 2012-09-05 Leo Liu <sdl.web@gmail.com>
7468
7469 * progmodes/flymake.el (flymake-warning-re): New variable.
7470 (flymake-parse-line): Use it.
7471
7472 2012-09-05 Glenn Morris <rgm@gnu.org>
7473
7474 * calendar/holidays.el (holiday-christian-holidays):
7475 Rename an entry. (Bug#12289)
7476
7477 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7478
7479 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7480 (bug#12222).
7481
7482 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7483
7484 * loadup.el: Load macroexp. Remove hack.
7485 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7486 (macroexp--expand-all): Use it to get better warnings.
7487 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7488 (internal-macroexpand-for-load): New functions.
7489 (macroexp--pending-eager-loads): New var.
7490 (emacs-startup-hook): New hack to replace one in loadup.el.
7491 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7492 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7493 (cl-psetf): Simplify.
7494 (cl-defstruct): Add indent rule.
7495
7496 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7497
7498 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7499 over `user-mail-address' for the SMTP MAIL FROM envelope.
7500 (smtpmail-via-smtp): Ditto.
7501
7502 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7503
7504 * progmodes/ruby-mode.el: Clean up keybindings.
7505 (ruby-mode-map): Don't bind ruby-electric-brace,
7506 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7507 backward-kill-word, reindent-then-newline-and-indent.
7508 (ruby-mark-defun): Remove.
7509 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7510 (ruby-mode): Set local beginning-of-defun-function and
7511 end-of-defun-function values.
7512
7513 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7514
7515 * window.el (temp-buffer-window-setup-hook)
7516 (temp-buffer-window-show-hook): New hooks.
7517 (temp-buffer-window-setup, temp-buffer-window-show)
7518 (with-temp-buffer-window): New functions.
7519 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7520 (special-display-popup-frame): Make sure the window used shows BUFFER.
7521
7522 * help.el (temp-buffer-resize-mode): Fix doc-string.
7523 (resize-temp-buffer-window): New optional argument WINDOW.
7524
7525 * files.el (recover-file, save-buffers-kill-emacs):
7526 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7527
7528 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7529
7530 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7531 remote definition of `default-directory', ensure we can connect.
7532
7533 2012-09-02 Juri Linkov <juri@jurta.org>
7534
7535 Toggle whitespace matching mode with M-s SPC.
7536 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7537
7538 * isearch.el (search-whitespace-regexp): Doc fix.
7539 Remove cons cell customization.
7540 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7541 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7542 New variables.
7543 (isearch-forward, isearch-forward-regexp): Doc fix.
7544 (isearch-toggle-lax-whitespace): New command.
7545 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7546 (re-search-forward-lax-whitespace)
7547 (re-search-backward-lax-whitespace): New functions.
7548 (isearch-whitespace-regexp): Remove function.
7549 (isearch-query-replace): Let-bind replace-search-function and
7550 replace-re-search-function.
7551 (isearch-occur): Let-bind search-spaces-regexp according to the
7552 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7553 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7554 condition for C-q SPC.
7555 (isearch-search-fun-default): Use new functions mentioned above.
7556 (isearch-search-forward, isearch-search-backward): Remove functions.
7557 (isearch-search): Don't let-bind search-spaces-regexp.
7558 (isearch-lazy-highlight-space-regexp): Remove variable.
7559 (isearch-lazy-highlight-lax-whitespace)
7560 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7561 (isearch-lazy-highlight-new-loop): Use them.
7562 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7563
7564 2012-09-02 Chong Yidong <cyd@gnu.org>
7565
7566 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7567
7568 2012-09-02 Glenn Morris <rgm@gnu.org>
7569
7570 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7571
7572 2012-09-01 Glenn Morris <rgm@gnu.org>
7573
7574 * term.el: Tidy up menu definitions.
7575 (term-mode-map): Use easymenu for In/Out, Complete menus.
7576 (term-pager-break-map): Initialize in the defvar.
7577 (term-terminal-menu, term-signals-menu): Define with easymenu.
7578 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7579 (term-pager-menu): New, extracted from term-process-pager.
7580 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7581 (term-update-mode-line): Propertize line/char and page items.
7582 (term-process-pager): Move keymap initialization elsewhere.
7583
7584 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7585
7586 * window.el (switch-to-prev-buffer): Handle additional values of
7587 BURY-OR-KILL argument. Don't switch in minibuffer window.
7588 (switch-to-next-buffer): Don't switch in minibuffer window.
7589 (quit-restore-window): New function based on quit-window.
7590 Handle additional values of former KILL argument.
7591 (quit-window): Call quit-restore-window with appropriate
7592 interpretation of KILL argument.
7593 (display-buffer-below-selected): New buffer display action
7594 function.
7595
7596 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7597
7598 * minibuffer.el (completion-at-point-functions): Complete docstring
7599 (bug#12254).
7600
7601 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7602
7603 Better seed support for (random).
7604 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7605 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7606 * play/mpuz.el, play/tetris.el, play/zone.el:
7607 * calc/calc-comb.el (math-init-random-base):
7608 * play/blackbox.el (bb-init-board):
7609 * play/life.el (life):
7610 * server.el (server-use-tcp):
7611 * type-break.el (type-break):
7612 Remove unnecessary call to (random t).
7613 * net/sasl.el (sasl-unique-id-function):
7614 Change (random t) to (random), now that the latter is more random.
7615 * play/life.el (life-initialized): Remove no-longer-needed var.
7616
7617 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7618
7619 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7620 Consider frame's buffer predicate when choosing the buffer.
7621 (Bug#12081)
7622
7623 2012-08-30 Richard Stallman <rms@gnu.org>
7624
7625 * simple.el (special-mode-map): Delete binding for `z'.
7626
7627 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7628
7629 * progmodes/compile.el (compilation-always-kill): Doc fix.
7630
7631 2012-08-30 Chong Yidong <cyd@gnu.org>
7632
7633 * window.el (display-buffer-reuse-frames): Make the obsolescence
7634 message more informative.
7635
7636 2012-08-30 Glenn Morris <rgm@gnu.org>
7637
7638 * paren.el (show-paren-delay):
7639 Add a :set function. Doc fix. (Bug#12297)
7640
7641 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7642
7643 * progmodes/compile.el (compilation-always-kill): New var.
7644 (compilation-start): Use it.
7645
7646 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7647
7648 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7649 * files.el (read-only-mode): Move to simple.el.
7650
7651 * files.el (read-only-mode): New minor mode.
7652 (toggle-read-only): Use it and mark obsolete.
7653 (find-file--read-only):
7654 * vc/vc.el (vc-next-action, vc-checkout):
7655 * vc/vc-cvs.el (vc-cvs-checkout):
7656 * obsolete/vc-mcvs.el (vc-mcvs-update):
7657 * ffap.el (ffap--toggle-read-only): Update callers.
7658
7659 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7660
7661 * eshell/esh-ext.el (eshell-external-command): Do not examine
7662 remote shell scripts.
7663 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7664
7665 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7666 "/usr/local/sbin".
7667
7668 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7671
7672 2012-08-28 Leo Liu <sdl.web@gmail.com>
7673
7674 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7675 completion-at-point. (Bug#12220)
7676
7677 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7678
7679 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7680
7681 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7682
7683 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7684 be buffer-local; add delete-trailing-whitespace (bug#12259).
7685
7686 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7687
7688 * progmodes/hideif.el (hif-compress-define-list):
7689 Fix typo. (Bug#11951)
7690
7691 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7692
7693 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7694 buffer local setting.
7695
7696 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7697 rcirc-encode-coding-system.
7698
7699 2012-08-28 Leo Liu <sdl.web@gmail.com>
7700
7701 * net/rcirc.el (rcirc-split-message): New function.
7702 (rcirc-send-message): Use it. (Bug#12051)
7703
7704 2012-08-28 Juri Linkov <juri@jurta.org>
7705
7706 * info.el (Info-fontify-node): Hide empty lines at the end of
7707 the node. (Bug#12272)
7708
7709 2012-08-27 Drew Adams <drew.adams@oracle.com>
7710
7711 * dired.el (dired-pop-to-buffer): Make window start at beginning
7712 of buffer (Bug#12281).
7713
7714 2012-08-26 Chong Yidong <cyd@gnu.org>
7715
7716 * window.el (special-display-regexps, special-display-frame-alist)
7717 (special-display-buffer-names, special-display-function)
7718 (display-buffer-reuse-frames): Mark as obsolete.
7719
7720 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7721
7722 * help.el (help-print-return-message): Don't treat
7723 display-buffer-reuse-frames specially.
7724
7725 2012-08-26 Chong Yidong <cyd@gnu.org>
7726
7727 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7728 New variable, replacing gdb-frame-parameters.
7729 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7730 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7731 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7732 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7733 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7734 the functions directly with gdb-display-buffer-other-frame-action.
7735 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7736 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7737 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7738 (gdb-display-registers-buffer): Define directly.
7739 (def-gdb-display-buffer): Macro deleted.
7740 (gdb-display-buffer): Remove second and third args, callers don't
7741 use them. Defer to the default display-buffer behavior, apart
7742 from making windows dedicated.
7743 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7744
7745 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7746
7747 * window.el (display-buffer-pop-up-frame): Handle a
7748 pop-up-frame-parameters alist entry.
7749 (display-buffer): Document it.
7750
7751 2012-08-26 Chong Yidong <cyd@gnu.org>
7752
7753 * isearch.el (search-whitespace-regexp): Make string and nil
7754 values apply to both ordinary and regexp search. Allow a cons
7755 cell value to distinguish between the two.
7756 (isearch-whitespace-regexp, isearch-search-forward)
7757 (isearch-search-backward): New functions.
7758 (isearch-occur, isearch-search-fun-default, isearch-search)
7759 (isearch-lazy-highlight-new-loop): Use them.
7760 (isearch-forward, isearch-forward-regexp): Doc fix.
7761
7762 2012-08-26 Chong Yidong <cyd@gnu.org>
7763
7764 * faces.el (help-argument-name): Always inherit from italic
7765 (Bug#12213).
7766
7767 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7768
7769 * window.el (window--even-window-heights): Even heights when
7770 WINDOW and the selected window form a vertical combination.
7771 (display-buffer-use-some-window): Provide that window used gets
7772 sized back by quit-window. (Bug#11880) and (Bug#12091)
7773
7774 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7775
7776 Fix file time stamp problem with bzr and CVS (Bug#12001).
7777 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7778 in the file's time stamp, since the version control system loses
7779 that information.
7780
7781 2012-08-22 Juri Linkov <juri@jurta.org>
7782
7783 * info.el (Info-fontify-node): Hide the suffix of the
7784 Info file name in the header line. (Bug#12187)
7785
7786 2012-08-22 Glenn Morris <rgm@gnu.org>
7787
7788 * calendar/cal-tex.el (cal-tex-weekly-common):
7789 Restore leading blank page.
7790
7791 2012-08-22 Le Wang <l26wang@gmail.com>
7792
7793 * misc.el (forward-to-word, backward-to-word): Activate or extend
7794 the region under `shift-select-mode'. (Bug#12231)
7795
7796 2012-08-22 Bastien Guerry <bzg@gnu.org>
7797
7798 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7799 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7800 gives details on why the space is never needed.
7801
7802 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7803
7804 * window.el (walk-window-tree, window-with-parameter):
7805 New optional argument MINIBUF to control whether these functions
7806 should run on the minibuffer window.
7807 (window-at-side-list): Don't operate on minibuffer window.
7808 (window-in-direction): Simplify and rewrite doc-string.
7809 (window--size-ignore): Rename to window--size-ignore-p.
7810 Update callers.
7811 (display-buffer-in-atom-window, window--major-non-side-window)
7812 (window--major-side-window, display-buffer-in-major-side-window)
7813 (delete-side-window, display-buffer-in-side-window):
7814 New functions.
7815 (window--side-check, window-deletable-p, delete-window)
7816 (delete-other-windows, split-window): Handle side windows and
7817 atomic windows appropriately.
7818 (window--display-buffer): Call display-buffer-record-window also
7819 when the window buffer did not change.
7820
7821 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7822
7823 * help-fns.el (help-fns--key-bindings):
7824 Abbreviate non-symbol remap targets. (Bug#12174)
7825
7826 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7827
7828 * dired.el (dired-mark-remembered): Don't clobber point.
7829 (Bug#11795)
7830
7831 2012-08-22 Glenn Morris <rgm@gnu.org>
7832
7833 * progmodes/bug-reference.el (bug-reference): New custom group.
7834 (bug-reference-bug-regexp): Make it a defcustom.
7835
7836 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7837
7838 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7839 (js-paren-indent-offset, js-square-indent-offset)
7840 (js-curly-indent-offset): Add :safe (Bug#12257).
7841
7842 2012-08-22 Edward O'Connor <hober0@gmail.com>
7843
7844 * json.el (json-key-format): Add error properties.
7845 (json-encode-key): New function.
7846 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7847 Use json-encode-key.
7848
7849 2012-08-22 Glenn Morris <rgm@gnu.org>
7850
7851 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7852 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7853 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7854 Update for above change.
7855
7856 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7857
7858 * cus-face.el (custom-face-attributes): Fix customize type for the
7859 :underline attribute. (Bug#11805)
7860
7861 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7862
7863 * window.el (window-point-1, set-window-point-1): Remove.
7864 (window-in-direction, record-window-buffer)
7865 (set-window-buffer-start-and-point, split-window-below)
7866 (window--state-get-1, display-buffer-record-window):
7867 Replace calls to window-point-1 and set-window-point-1 by calls to
7868 window-point and set-window-point respectively.
7869
7870 2012-08-21 Glenn Morris <rgm@gnu.org>
7871
7872 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7873 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7874 Use it.
7875
7876 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7877 (cal-tex-shortday): New function.
7878 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7879 (cal-tex-cursor-filofax-daily): Use the above.
7880
7881 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7882 New functions.
7883 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7884 (cal-tex-cursor-filofax-week): Use them.
7885
7886 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7887 New constants.
7888 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7889 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7890
7891 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7892 (cal-tex-end-document): Don't rely on buffer name.
7893
7894 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7895 Use cal-tex-vspace.
7896 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7897 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7898 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7899 Use cal-tex-arg.
7900
7901 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7902 (cal-tex-cursor-week, cal-tex-cursor-week2)
7903 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7904 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7905 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7906 (cal-tex-insert-preamble, cal-tex-b-document)
7907 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7908 Improve cal-tex-cmd usage.
7909
7910 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7911 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7912 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7913 (cal-tex-weekly-paper): New function.
7914 (cal-tex-cursor-week, cal-tex-cursor-week2)
7915 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7916 (cal-tex-cursor-day): Use it.
7917
7918 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7919 (cal-tex-cursor-filofax-week): Remove leading blank page.
7920
7921 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7922 Add autoload cookie. For now at least, don't use color, since
7923 no other cal-tex function does.
7924
7925 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7926 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7927 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7928
7929 2012-08-21 Juri Linkov <juri@jurta.org>
7930
7931 * info.el (Info-file-attributes): New variable.
7932 (info-insert-file-contents): Add file attributes to
7933 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7934 `Info-toc-nodes' when previous modtime of the Info file is less
7935 than new modtime.
7936 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7937 of info.el. (Bug#12230)
7938
7939 2012-08-20 Glenn Morris <rgm@gnu.org>
7940
7941 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7942 * calendar/holidays.el (calendar-holiday-list):
7943 Report errors with display-warning rather than beep'n'sleep.
7944
7945 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7946
7947 * net/tramp.el (tramp-accept-process-output): Accept only output
7948 from PROC. Otherwise, process filters and sentinels might be
7949 confused. (Bug#12145)
7950
7951 2012-08-20 Chong Yidong <cyd@gnu.org>
7952
7953 * descr-text.el (describe-text-properties-1): Use overlays-in to
7954 report on empty overlays (Bug#3322).
7955
7956 2012-08-20 Glenn Morris <rgm@gnu.org>
7957
7958 * mail/rmailout.el (rmail-output-read-file-name):
7959 Trap and report errors in rmail-output-file-alist elements.
7960
7961 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7962 since most non-font-lock faces are not also variables).
7963
7964 2012-08-20 Edward Reingold <reingold@iit.edu>
7965
7966 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7967 New function. (Bug12160)
7968
7969 2012-08-19 Glenn Morris <rgm@gnu.org>
7970
7971 * mail/rmailout.el (rmail-output-read-file-name):
7972 Fix previous change (when the alist is nil or does not match).
7973
7974 2012-08-19 Chong Yidong <cyd@gnu.org>
7975
7976 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7977 (Bug#12228).
7978
7979 2012-08-18 Chong Yidong <cyd@gnu.org>
7980
7981 * simple.el (yank-handled-properties): New defcustom.
7982 (yank-excluded-properties): Add font-lock-face and category.
7983 (yank): Doc fix.
7984
7985 * subr.el (remove-yank-excluded-properties):
7986 Obey yank-handled-properties. The special handling of font-lock-face
7987 and category is now done this way, instead of being hard-coded.
7988 (insert-for-yank-1): Remove font-lock-face handling.
7989 (yank-handle-font-lock-face-property)
7990 (yank-handle-category-property): New function.
7991
7992 2012-08-17 Glenn Morris <rgm@gnu.org>
7993
7994 * mail/rmailout.el (rmail-output-read-file-name):
7995 Check rmail-output-file-alist against the full message body
7996 in the correct rmail buffer. (Bug#12214)
7997
7998 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7999
8000 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8001 Eliminate superfluous prompt. (Bug#12203)
8002
8003 2012-08-17 Chong Yidong <cyd@gnu.org>
8004
8005 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8006 font spec, set the font directly (Bug#3228).
8007
8008 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8009
8010 * window.el (delete-window): Fix last fix.
8011
8012 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8013
8014 * window.el (window-valid-p): Move to window.c.
8015 (window-child, window-child-count, window-last-child)
8016 (window-normalize-window, window-combined-p)
8017 (window-combinations, window-atom-root, window-min-size)
8018 (window-sizable, window-sizable-p, window-size-fixed-p)
8019 (window-min-delta, window-max-delta, window--resizable)
8020 (window--resizable-p, window-resizable, window-total-size)
8021 (window-full-height-p, window-full-width-p, window-body-size)
8022 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8023 (minimize-window, window-deletable-p, delete-window)
8024 (delete-other-windows, set-window-buffer-start-and-point)
8025 (next-buffer, previous-buffer, split-window, balance-windows-2)
8026 (set-window-text-height, window-buffer-height)
8027 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8028 (truncated-partial-width-window-p): Minor code adjustments.
8029 In doc-strings state whether the argument window has to denote a
8030 live, valid or any window.
8031
8032 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8033
8034 * progmodes/subword.el (subword-forward-function)
8035 (subword-backward-function, subword-forward-regexp)
8036 (subword-backward-regexp): New variables.
8037 (subword-forward, subword-forward-internal, subword-backward-internal):
8038 Use new variables, eg so that different "word" definitions
8039 can be easily used. (Bug#11411)
8040
8041 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8044 for composite selectors.
8045 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8046 operation just because we can't find a previous revision.
8047
8048 2012-08-15 Chong Yidong <cyd@gnu.org>
8049
8050 * frame.el (set-frame-font): Accept font objects.
8051
8052 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8055
8056 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8057
8058 * man.el (Man-overstrike-face, Man-underline-face)
8059 (Man-reverse-face): Remove variables.
8060 (Man-overstrike, Man-underline, Man-reverse): New faces.
8061 (Man-fontify-manpage): Use them instead of the variables.
8062 (Man-cleanup-manpage): Comment change.
8063 (Man-ansi-color-map): New variable.
8064 (Man-fontify-manpage): Use it.
8065 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8066
8067 Implement ANSI SGR parameters 22-27 (bug#12146).
8068 * ansi-color.el (ansi-colors): Doc fix.
8069 (ansi-color-context, ansi-color-context-region): Doc fix.
8070 (ansi-color--find-face): New function.
8071 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8072 Rename the local variable `face' to `codes' since it is now a list of
8073 ansi codes. Doc fix.
8074 (ansi-color-get-face): Remove.
8075 (ansi-color-parse-sequence): New function, derived from
8076 ansi-color-get-face.
8077 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8078 codes 22-27.
8079
8080 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8081
8082 * subr.el (read-passwd): Allow use from a minibuffer.
8083
8084 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8085
8086 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8087 inside comments and strings as identifiers.
8088
8089 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8090 expression to evaluate. This allows to evaluate expressions with
8091 embedded whitespace.
8092 (gud-tooltip-tips): Add a blank before the newline in the
8093 message-box text, for the benefit of message-box emulation on
8094 MS-Windows.
8095
8096 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8097 messages from GDB, pop them up in a tooltip to give feedback to
8098 user.
8099 (gdb-tooltip-print-1): Quote the expression to evaluate.
8100 This allows to evaluate expressions with embedded whitespace.
8101 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8102 if the TTY name is nil or empty (which happens when communicating
8103 with the inferior via pipes, e.g. on MS-Windows).
8104 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8105 don't send that to the GUD buffer.
8106
8107 2012-08-14 Glenn Morris <rgm@gnu.org>
8108
8109 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8110 Optimize away setq-default with no args, as for setq. (Bug#12195)
8111
8112 2012-08-14 Chong Yidong <cyd@gnu.org>
8113
8114 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8115
8116 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8117 (Bug#12085).
8118
8119 2012-08-14 Glenn Morris <rgm@gnu.org>
8120
8121 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8122
8123 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8124
8125 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8126 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8127 Use cached shell name.
8128
8129 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8130
8131 * progmodes/python.el (python-shell-send-string):
8132 (python-shell-send-setup-code): Do not use `format' with `message'.
8133
8134 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8135
8136 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8137 (ruby-percent-literal-beg-re): New constant.
8138 (ruby-syntax-general-delimiters-goto-beg): Rename to
8139 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8140 (ruby-syntax-propertize-general-delimiters): Rename to
8141 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8142 popular term. Adjust comments everywhere.
8143 (ruby-syntax-propertize-percent-literal): Only propertize when not
8144 inside a simple string or comment. When the literal is unclosed,
8145 leave the text after it unpropertized.
8146 (ruby-syntax-methods-before-regexp): New constant.
8147 (ruby-syntax-propertize-function): Use it to recognize regexps.
8148 Don't look at the text after regexp, just use the whitelist.
8149
8150 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8151
8152 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8153 non-nil always load the compiled file if it exists. (Bug#12197)
8154
8155 2012-08-14 Chong Yidong <cyd@gnu.org>
8156
8157 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8158 (hi-lock-set-pattern): When deciding whether to use font lock or
8159 overlays, look at font-lock-mode instead of font-lock-fontified
8160 (Bug#12168).
8161 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8162 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8163
8164 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8165
8166 * subr.el (internal--after-with-selected-window): Fix typo
8167 (Bug#12193).
8168
8169 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8170
8171 Use `completion-table-dynamic' for completion functions.
8172 * progmodes/python.el
8173 (python-shell-completion--do-completion-at-point)
8174 (python-shell-completion--get-completions):
8175 Remove functions.
8176 (python-shell-completion-complete-at-point): New function.
8177 (python-completion-complete-at-point): Use it.
8178
8179 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8180
8181 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8182 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8183
8184 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8185
8186 * subr.el (function-get): Refine `autoload' arg so it can also
8187 autoload functions for gv.el (bug#12191).
8188 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8189 autoloads macros.
8190
8191 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8192 Prefer pcase-let over destructuring-bind.
8193 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8194 Also, remove whitespace as we go, rather than after accumulating the
8195 various places.
8196
8197 * subr.el (internal--before-with-selected-window)
8198 (internal--after-with-selected-window): Fix typo seleted->selected.
8199 (with-selected-window): Adjust callers.
8200 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8201
8202 2012-08-13 Bastien Guerry <bzg@gnu.org>
8203
8204 * window.el (special-display-popup-frame): Minor docstring
8205 enhancement. (Bug#12172)
8206
8207 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8208
8209 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8210 type 1-6.
8211 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8212 extended headers.
8213
8214 * files.el (hack-local-variables-filter): Remove useless eval.
8215
8216 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8217
8218 * subr.el (with-selected-window): Fix last change.
8219
8220 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8221
8222 * subr.el (internal--before-with-seleted-window)
8223 (internal--after-with-seleted-window): New functions.
8224 (with-selected-window): Use them, to replace dependency on
8225 tty-top-frame.
8226
8227 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8228
8229 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8230 binding for `newline'.
8231 (ruby-move-to-block): When moving backward, stop at block opening,
8232 not indentation.
8233 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8234 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8235 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8236 `ruby-toggle-block'.
8237
8238 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8239
8240 * ibuffer.el (ibuffer-do-toggle-read-only):
8241 * dired.el (dired-toggle-read-only):
8242 * buff-menu.el (Buffer-menu-toggle-read-only):
8243 * bindings.el (mode-line-toggle-read-only):
8244 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8245
8246 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8247
8248 * descr-text.el (describe-char): Put the overlays over the
8249 "displayed as" character.
8250
8251 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8252
8253 * calc/calc-units.el (math-default-units-table): Give an
8254 initial value.
8255 (math-put-default-units): Add options to put composite units and
8256 unit systems in the default units table.
8257 (calc-convert-units): Send composite units to
8258 `math-put-default-units' when appropriate.
8259
8260 2012-08-11 Glenn Morris <rgm@gnu.org>
8261
8262 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8263
8264 * tutorial.el (help-with-tutorial):
8265 * emacs-lisp/copyright.el (copyright-update-directory):
8266 * emacs-lisp/autoload.el (autoload-find-generated-file)
8267 (autoload-find-file): Disable local eval: (for insurance).
8268
8269 * files.el (hack-local-variables-filter): If an eval: form is not
8270 known to be safe, and enable-local-variables is :safe, then ignore
8271 the form totally, as is done for non-eval forms. (Bug#12155)
8272 This is CVE-2012-3479.
8273
8274 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8277 (rx-form): Simplify.
8278
8279 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8280
8281 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8282 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8283 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8284 (ruby-syntax-propertize-function): Adjust for changes in
8285 `ruby-syntax-propertize-heredoc'.
8286
8287 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8288
8289 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8290 binding (use `M-;' instead).
8291 (ruby-singleton-class-p): New function.
8292 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8293
8294 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8295
8296 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8297
8298 2012-08-10 Chong Yidong <cyd@gnu.org>
8299
8300 * progmodes/python.el (python-shell-get-process-name): Don't mess
8301 with same-window-buffer-names.
8302
8303 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8304 (eshell-remove-from-window-buffer-names): Make obsolete.
8305 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8306 (eshell): Just use pop-to-buffer-same-window instead.
8307
8308 2012-08-10 Chong Yidong <cyd@gnu.org>
8309
8310 * bindings.el: Bind M-= back to count-words-region.
8311
8312 * simple.el (count-words-region): Accept a prefix arg for acting
8313 on the entire buffer.
8314 (count-words--buffer-message): New helper function.
8315
8316 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8319 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8320 (event-start, event-end): Use posn-at-point to return a more
8321 informative posn.
8322 (posnp): New function.
8323 * mouse.el (popup-menu-normalize-position): Use it.
8324
8325 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8326
8327 * mouse.el (popup-menu-normalize-position): New function.
8328 (popup-menu): Use `popup-menu-normalize-position' to normalize
8329 the form for POSITION argument.
8330
8331 * term/x-win.el (x-menu-bar-open):
8332 Use the value returend from (posn-at-point) as position
8333 passed to `popup-menu'.
8334
8335 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8336
8337 * calc/calccomp.el (math-compose-expr): Add extra argument
8338 indicating that parentheses should be put around products in
8339 denominators. Give multiplication precedence over division during
8340 composition.
8341
8342 2012-08-09 Chong Yidong <cyd@gnu.org>
8343
8344 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8345 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8346 (Man-untabify-command, manual-program): Convert to defcustom
8347 (Bug#10429).
8348
8349 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8350
8351 * descr-text.el (describe-char): Don't insert extra newlines
8352 (Bug#10127).
8353
8354 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8355 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8356
8357 * align.el (align-region): Delete temporary markers (Bug#10047).
8358 Plus some code cleanups.
8359
8360 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8361
8362 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8363 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8364 (python-shell-internal-last-output): Use make-local-variable
8365 instead of make-variable-buffer-local.
8366
8367 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8368
8369 * progmodes/python.el: Enhancements to forward-sexp.
8370 (python-nav-forward-sexp): Rename from
8371 python-nav-forward-sexp-function.
8372 (python-nav--forward-sexp, python-nav--backward-sexp):
8373 New functions.
8374
8375 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8376
8377 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8378 modes and simplification modes.
8379
8380 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * delsel.el (delete-selection-pre-hook): Don't propagate the
8383 file-supersession signals (bug#12161).
8384
8385 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8388 (cl-map-extents): Add compatibility aliases (bug#12135).
8389
8390 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8391
8392 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8393 tests by `ignore-error'.
8394 (tramp-find-shell): Open also a new shell, when cache is already
8395 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8396
8397 2012-08-08 Juri Linkov <juri@jurta.org>
8398
8399 * bookmark.el: Add `defaults' property to the bookmark record.
8400 (bookmark-current-buffer): Doc fix.
8401 (bookmark-make-record): Add `defaults' property with default values
8402 to the bookmark record.
8403 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8404 with `bookmark-insert-current-bookmark'.
8405 (bookmark-set): Get `defaults' property from the bookmark record
8406 and use it in `read-from-minibuffer'.
8407 (bookmark-insert-current-bookmark): Remove function.
8408
8409 * info.el (Info-bookmark-make-record): Add `defaults' property
8410 with values of canonical Info node name, the current Info file
8411 name and the current Info node name. (Bug#12107)
8412
8413 2012-08-08 Juri Linkov <juri@jurta.org>
8414
8415 * files.el (basic-save-buffer): Use `buffer-name' as the default
8416 of `read-file-name' when buffer is not visiting a file (bug#12128).
8417
8418 2012-08-08 Juri Linkov <juri@jurta.org>
8419
8420 * info.el (Info-isearch-search): Doc fix.
8421 (Info-search): Change search-failed message from "initial node" to
8422 "end of node" (bug#12078).
8423 (Info-isearch-search): Change `isearch-string-state' to
8424 `isearch--state-string'.
8425
8426 2012-08-08 Glenn Morris <rgm@gnu.org>
8427
8428 * language/persian.el: Remove file.
8429 * language/misc-lang.el: Move unique part of persian.el here.
8430 * loadup.el: Remove language/persian.
8431
8432 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8433
8434 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8435
8436 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8437
8438 * progmodes/python.el: Fix defsubst warning.
8439 (python-syntax-context) Rename from python-info-ppss-context.
8440 (python-syntax-context-type): Rename from
8441 python-info-ppss-context-type.
8442 (python-syntax-comment-or-string-p): Rename from
8443 python-info-ppss-comment-or-string-p.
8444
8445 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8446
8447 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8448
8449 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8450
8451 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8452 a defcustom that is quoted with backquote.
8453
8454 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8455 Fix handling of interactive spec when the body uses return.
8456 (math-do-arg-check, math-define-function-body): Use backquote forms.
8457 * calc/calc-ext.el (math-defcache): Likewise.
8458 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8459 * allout.el (allout-new-exposure): Likewise.
8460 * calc/calcalg2.el (math-tracing-integral): Likewise.
8461 * info.el (Info-last-menu-item): Likewise.
8462 * emulation/vip.el (vip-loop): Likewise.
8463 * textmodes/artist.el (artist-funcall): Likewise.
8464 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8465 Construct menu-item directly.
8466
8467 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8468 Don't declare.
8469
8470 2012-08-07 Chong Yidong <cyd@gnu.org>
8471
8472 * simple.el (deactivate-mark): Preserve text properties when
8473 saving the primary selection (Bug#8384).
8474
8475 2012-08-07 Kevin Ryde <user42@zip.com.au>
8476
8477 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8478 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8479 and continue processing (Bug#12110).
8480
8481 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8482
8483 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8484 syntax-propertize-function (bug#10095).
8485
8486 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8489 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8490 describe-function-1.
8491 (describe-function-1): Use them. Move compiler macro after sig.
8492 (help-fns--compiler-macro): Use function-get. Assume we're already in
8493 standard-output. Adjust layout to new call order.
8494
8495 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8496 re-binding a symbol that has a symbol-macro (bug#12119).
8497
8498 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8499
8500 * language/persian.el: New file. (Bug#11812)
8501 * loadup.el: Add language/persian.el.
8502
8503 2012-08-06 Chong Yidong <cyd@gnu.org>
8504
8505 * window.el (window--maybe-raise-frame): New function.
8506 (window--display-buffer): Split off from here.
8507 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8508 (display-buffer-pop-up-window, display-buffer-use-some-window):
8509 Obey an inhibit-switch-frame action alist entry.
8510 (display-buffer): Update doc.
8511
8512 * replace.el (occur-after-change-function): Avoid losing focus by
8513 using the inhibit-switch-frame display parameter (Bug#12139).
8514
8515 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8516
8517 Make internal shell process buffer names start with space.
8518 * progmodes/python.el (python-shell-make-comint): Add optional
8519 argument INTERNAL.
8520 (run-python-internal): Use it.
8521 (python-shell-internal-get-or-create-process): Check for new
8522 internal buffer names.
8523
8524 2012-08-06 Glenn Morris <rgm@gnu.org>
8525
8526 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8527 Do less getting and setting of environment variables.
8528
8529 2012-08-05 Chong Yidong <cyd@gnu.org>
8530
8531 * proced.el (proced): Add substitution string to docstring to
8532 trigger autoloading of the proced library on C-h f (Bug#1768).
8533
8534 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8535 Don't show defvars which have no second argument (Bug#8638).
8536
8537 * imenu.el (imenu-generic-expression): Move documentation here
8538 from imenu--generic-function.
8539 (imenu--generic-function): Refer to imenu-generic-expression.
8540
8541 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8542
8543 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8544 indentation declaration.
8545 (viper-loop): Add indentation declaration (Bug#7025).
8546
8547 2012-08-05 Chong Yidong <cyd@gnu.org>
8548
8549 * help-fns.el (describe-variable): Add hyperlink for
8550 directory-local variables files. Improve buffer-local and
8551 permanent-local reporting; suggested by MON KEY (Bug#6644).
8552
8553 * help-mode.el (help-dir-local-var-def): New button type.
8554
8555 * files.el (kill-buffer-hook): Provide a defvar.
8556
8557 2012-08-05 Glenn Morris <rgm@gnu.org>
8558
8559 * eshell/esh-ext.el (eshell/addpath):
8560 Also update eshell-path-env. (Bug#12013)
8561
8562 2012-08-05 Chong Yidong <cyd@gnu.org>
8563
8564 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8565
8566 * fringe.el (fringe-styles): Add docstring.
8567 (fringe--check-mode): New function.
8568 (set-fringe-mode, set-fringe-style): Use it.
8569 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8570
8571 * files.el (set-auto-mode): Fix invalid setq call.
8572
8573 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8574
8575 * isearch.el: Misc simplification; use defstruct.
8576 (isearch-mode-map): Dense maps now work like sparse ones.
8577 (isearch--state): New defstruct.
8578 (isearch-string-state, isearch-message-state, isearch-point-state)
8579 (isearch-success-state, isearch-forward-state)
8580 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8581 (isearch-wrapped-state, isearch-barrier-state)
8582 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8583 replaced by defstruct's accessors.
8584 (isearch--set-state): Rename from isearch-top-state and change
8585 calling convention.
8586 (isearch-push-state): Use new isearch--get-state.
8587 (isearch-toggle-word): Disable regexp when enabling word.
8588 (isearch-message-prefix): Remove unused arg _c-q-hack.
8589 (isearch-message-suffix): Remove unused arg _ellipsis.
8590
8591 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8592
8593 * simple.el (list-processes--refresh): For a server use :host or
8594 :local as the address.
8595 (list-processes): Doc fix.
8596
8597 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8598
8599 * lisp/mpc.el: Support password in host argument.
8600 (mpc--proc-connect): Parse and use new password element.
8601 Set mpc-proc variable instead of returning process.
8602 (mpc-proc): Adjust accordingly.
8603
8604 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8605
8606 * whitespace.el (whitespace-display-mappings): Use Unicode
8607 codepoints, instead of emacs-mule codepoints. See
8608 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8609 for the details.
8610
8611 * files.el (file-truename): Don't skip symlink-chasing part on
8612 windows-nt. Incorporate the resolution of 8+3 short aliases on
8613 Windows into the loop that recursively chases symlinks.
8614 Compare directory and its parent case-insensitively on MS-Windows and
8615 MS-DOS.
8616
8617 2012-08-03 Chong Yidong <cyd@gnu.org>
8618
8619 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8620
8621 * sort.el (sort-regexp-fields): Doc fix.
8622
8623 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8624
8625 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8626 labels regex position point at the expected place.
8627
8628 2012-08-03 MON KEY <monkey@sandpframing.com>
8629
8630 * net/imap.el (imap-interactive-login, imap-authenticate)
8631 (imap-mailbox-lsub, imap-mailbox-list)
8632 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8633 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8634 (imap-parse-response): Doc fix.
8635
8636 2012-08-03 João Távora <joaotavora@gmail.com>
8637
8638 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8639 if sexp scanning does not move point (Bug#5734).
8640
8641 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8642
8643 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8644 Add listings, minted, and ctable packages.
8645 (reftex-label-alist-builtin): Move listings, minted, and ctable
8646 entries before LaTeX.
8647 (reftex-label-alist): Docfix.
8648
8649 2012-08-02 Bastien Guerry <bzg@gnu.org>
8650
8651 * replace.el (occur): Fix docstring (bug#12122).
8652
8653 2012-08-02 Glenn Morris <rgm@gnu.org>
8654
8655 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8656
8657 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8658
8659 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8660 * international/mule-cmds.el: Create
8661 inactivate-current-input-method-function as an obsolete alias for
8662 deactivate-current-input-method-function. See Katsumi Yamaoka in
8663 <http://bugs.gnu.org/10150#46>.
8664
8665 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8666
8667 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8668 of nested `if's.
8669
8670 2012-08-01 Glenn Morris <rgm@gnu.org>
8671
8672 * progmodes/autoconf.el (autoconf-definition-regexp):
8673 Add AH_TEMPLATE, adjust submatch numbering.
8674 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8675 (autoconf-current-defun-function): Update for above change.
8676 (autoconf-current-defun-function): First skip to end of current word.
8677
8678 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8679
8680 * calendar/cal-html.el (cal-html-insert-agenda-days):
8681 Fix typo. (Bug#12018)
8682
8683 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8684
8685 Shell processes: enhancements to startup and CEDET compatibility.
8686 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8687 (python-shell-make-comint): accept-process-output at startup.
8688 (run-python-internal): Set inferior-python-mode-hook to nil.
8689 (python-shell-internal-get-or-create-process): call sit-for.
8690 (python-preoutput-result): Add obsolete alias.
8691 (python-shell-internal-send-string): Use it.
8692 (python-shell-send-setup-code): Remove call to
8693 accept-process-output.
8694
8695 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8696
8697 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8698 (Bug#12108)
8699
8700 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8701
8702 * calc-mode.el (calc-basic-simplification-mode): Rename from
8703 `calc-limited-simplification-mode'.
8704 (calc-alg-simplification-mode): New function.
8705 (calc-set-simplify-mode): Adjust message.
8706
8707 * calc.el (calc-set-mode-line): Adjust mode line display for
8708 basic simplification mode.
8709
8710 * calc-help.el (calc-m-prefix-help): Update help message.
8711
8712 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8713 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8714
8715 2012-07-31 Bastien Guerry <bzg@gnu.org>
8716
8717 * man.el (man): Fix comment. (bug#12101)
8718
8719 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8720
8721 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8722 Don't return a non-nil value when no suitable buffer was found.
8723
8724 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8725
8726 * progmodes/python.el (run-python-internal): Disable font lock for
8727 internal shells.
8728
8729 2012-07-30 Stefan Merten <smerten@oekonux.de>
8730
8731 * textmodes/rst.el: Silence `checkdoc-ispell'.
8732 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8733 (rst-official-version, rst-official-cvs-rev)
8734 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8735 (rst-mode-map): New key binding.
8736
8737 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8738
8739 Update .PHONY listings in makefiles.
8740 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8741 autoloads, update-subdirs, updates, bzr-update, update-authors,
8742 compile-onefile, compile-calc, backup-compiled-files,
8743 compile-after-backup, compile-one-process, mh-autoloads,
8744 bootstrap-clean, distclean, maintainer-clean.
8745
8746 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8747
8748 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8749 (calc-set-mode-line): Don't display "AlgSimp ".
8750
8751 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8752 (calc-lim-simplify-mode): New function.
8753 (calc-set-simplify-mode): Default to 'alg.
8754 (calc-default-simplify-mode): Make algebraic simplifications
8755 the default.
8756
8757 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8758 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8759
8760 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8761 indicate new simplification modes.
8762
8763 * calc/README: Mention new default simplification mode.
8764
8765 * calc/calc.el (math-normalize-error): New variable.
8766 (math-normalize): Set `math-normalize-error' to t
8767 when there's an error.
8768
8769 * calc/calc-alg.el (math-simplify): Don't simplify when
8770 `math-normalize' returns an error.
8771
8772 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8773
8774 * international/mule-cmds.el (set-locale-environment): Revert last
8775 change, since display-graphic-p returns nil when this function is
8776 called during startup. Instead...
8777
8778 * term/w32console.el (terminal-init-w32console): ...setup the
8779 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8780
8781 2012-07-29 Juri Linkov <juri@jurta.org>
8782
8783 * simple.el (goto-line): Don't display default line number in the
8784 prompt because it should be displayed by `read-number' (bug#9952).
8785 Add the current line number to the defaults of `goto-line' to
8786 allow its easier modification by users with `M-n' (bug#9201).
8787
8788 * subr.el (read-number): Support multiple default values like in
8789 other minibuffer reading functions. Replace `read' with
8790 `string-to-number' for consistency with `number-to-string'.
8791
8792 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8793
8794 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8795 * emulation/viper-init.el (viper-deactivate-input-method-action):
8796 Rename from viper-inactivate-input-method-action.
8797 (viper-deactivate-input-method):
8798 Rename from viper-inactivate-input-method.
8799 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8800 * international/mule-cmds.el (deactivate-input-method):
8801 Rename from inactivate-input-method.
8802 Also run input-method-deactivate-hook.
8803 (deactivate-current-input-method-function):
8804 Rename from inactivate-current-input-method-function.
8805 (input-method-deactivate-hook): New hook.
8806 (input-method-inactivate-hook): Mark obsolete.
8807 (inactivate-input-method): Mark obsolete.
8808
8809 * international/quail.el (quail-activate):
8810 Also run quail-deactivate-hook.
8811 (quail-deactivate): Rename from quail-inactivate.
8812 * international/robin.el (robin-activate):
8813 Also run robin-deactivate-hook.
8814 (robin-deactivate): Rename from robin-inactivate.
8815
8816 2012-07-29 Chong Yidong <cyd@gnu.org>
8817
8818 * simple.el (indicate-copied-region): New function.
8819 (kill-ring-save): Split off from here.
8820
8821 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8822 (kill-rectangle): Set deactivate-mark to t on read-only error.
8823
8824 * register.el (copy-to-register, copy-rectangle-to-register):
8825 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8826 (append-to-register, prepend-to-register): Call indicate-copied-region.
8827
8828 2012-07-29 Juri Linkov <juri@jurta.org>
8829
8830 * simple.el (async-shell-command-buffer): New defcustom.
8831 (shell-command): Use it. (Bug#4719)
8832
8833 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8834
8835 * international/mule-cmds.el (set-locale-environment): In a
8836 console session on MS-Windows, set up keyboard and terminal
8837 encoding from the OEM codepage, not the ANSI codepage.
8838 (Bug#12055)
8839
8840 2012-07-28 Chong Yidong <cyd@gnu.org>
8841
8842 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8843 gdb-get-location.
8844
8845 2012-07-28 Leo Liu <sdl.web@gmail.com>
8846
8847 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8848 the alist (bug#12029).
8849
8850 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8851
8852 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8853 (compile-always, compile-first)
8854 ($(lisp)/calendar/cal-loaddefs.el)
8855 ($(lisp)/calendar/diary-loaddefs.el)
8856 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8857 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8858 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8859 instead of on update-subdirs.
8860 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8861
8862 2012-07-28 Chong Yidong <cyd@gnu.org>
8863
8864 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8865 directory if vc-deduce-backend returns nil (Bug#7350).
8866
8867 * simple.el (delete-trailing-lines): New option.
8868 (delete-trailing-whitespace): Obey it (Bug#11879).
8869
8870 2012-07-28 David Engster <deng@randomsample.de>
8871
8872 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8873 Explanation of new 'symbol-qnames feature in doc-strings.
8874 (xml-maybe-do-ns): Return expanded names as plain symbols if
8875 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8876 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8877
8878 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8879
8880 Consistent completion in inferior python with emacs -nw.
8881 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8882 binding in inferior-python-mode-map with "\t".
8883 (python-shell-completion-complete-at-point)
8884 (python-completion-complete-at-point): Remove interactive spec.
8885
8886 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8887
8888 * calc/calccomp.el (math-compose-expr): Undo previous change.
8889
8890 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8891
8892 * progmodes/python.el (python-mode-map): Add keybinding for
8893 run-python.
8894 (python-shell-make-comint): Fix pop-to-buffer call.
8895 (run-python): Autoload. New arg SHOW.
8896 (python-shell-get-or-create-process): Do not pop python process
8897 buffer.
8898
8899 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8900
8901 * notifications.el (notifications-on-action-signal)
8902 (notifications-on-closed-signal): Use also the bus address for the map.
8903 (notifications-notify, notifications-close-notification)
8904 (notifications-get-capabilities): Add optional argument BUS.
8905
8906 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8907
8908 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8909 Add support for the lstlisting and minted environments, and for the
8910 ctable macro.
8911 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8912 labels written in keyvals syntax.
8913
8914 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8915
8916 * calc/calccomp.el (math-compose-expr): Use parentheses when
8917 there is a product in the denominator of a fraction.
8918
8919 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8920
8921 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8922 ($(lisp)/calendar/diary-loaddefs.el)
8923 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8924 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8925 Fixes failures in parallel bootstrap because subdirs.el is being
8926 rewritten while the autoload files are built at the same time,
8927 which needs to load subdirs.el.
8928
8929 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8930
8931 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8932 (mouse-drag-line): Don't exit tracking when a switch-frame or
8933 switch-window event occurs (Bug#12006).
8934
8935 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8936
8937 * mouse.el (popup-menu): Fix last change.
8938
8939 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8940
8941 Autoload from Lisp with more care. Follow aliases when looking for
8942 function properties.
8943 * subr.el (autoloadp): New function.
8944 (symbol-file): Use it.
8945 (function-get): New function.
8946 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8947 autoload-do-load.
8948 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8949 (lisp-indent-function):
8950 * emacs-lisp/gv.el (gv-get):
8951 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8952 * emacs-lisp/byte-opt.el (byte-optimize-form):
8953 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8954 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8955 Use function-get.
8956 * emacs-lisp/cl.el: Don't propagate function properties any more.
8957
8958 * speedbar.el (speedbar-add-localized-speedbar-support):
8959 * emacs-lisp/disass.el (disassemble-internal):
8960 * desktop.el (desktop-load-file):
8961 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8962 (describe-function-1):
8963 * emacs-lisp/find-func.el (find-function-noselect):
8964 * emacs-lisp/elp.el (elp-instrument-function):
8965 * emacs-lisp/advice.el (ad-has-proper-definition):
8966 * apropos.el (apropos-safe-documentation, apropos-macrop):
8967 * emacs-lisp/debug.el (debug-on-entry):
8968 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8969 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8970 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8971
8972 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8973
8974 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8975 function, not an obsolete variable (Bug#12046).
8976
8977 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8978
8979 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8980
8981 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8982
8983 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8984 window only if it is still live (Bug#12034).
8985
8986 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8987
8988 * subr.el (redirect-frame-focus): Add advertised calling
8989 convention (Bug#12030).
8990
8991 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8992
8993 Prefer typical American spelling for "acknowledgment".
8994 * vc/add-log.el (change-log-acknowledgment): Rename from
8995 change-log-acknowledgement, with an alias for the old name.
8996
8997 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8998
8999 * calc-alg.el (math-simplify-divide): Don't cross multiply
9000 in an equation when the lhs is a variable.
9001
9002 2012-07-24 Julien Danjou <julien@danjou.info>
9003
9004 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9005 Remove, unused.
9006
9007 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9008
9009 * startup.el (command-line): Don't display an empty user name in
9010 the error message about non-existent home directory, when
9011 init-file-user was set to an empty string. See
9012 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9013 for the details and context.
9014
9015 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9016
9017 * ses.el (ses-cell-formula-aset): New macro.
9018 (ses-cell-references-aset): New macro.
9019 (ses-cell-p): New function.
9020 (ses-rename-cell): Do no longer rely on complex operations like
9021 ses-cell-set-formula or ses-set-cell to change the cell and handle
9022 the undo at the same time, but rather use lower level new macros
9023 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9024 the undo directly. Refresh the mode line.
9025
9026 2012-07-21 Leo Liu <sdl.web@gmail.com>
9027
9028 * progmodes/cc-cmds.el (c-defun-name):
9029 Use match-string-no-properties instead for consistency.
9030
9031 2012-07-20 Leo Liu <sdl.web@gmail.com>
9032
9033 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9034 (Bug#7879)
9035
9036 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9037
9038 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9041 * progmodes/bug-reference.el, misearch.el: Provide themselves
9042 (bug#11915).
9043
9044 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9045 of narrowed buffer (bug#11966).
9046
9047 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9048
9049 * ses.el (ses-rename-cell): Set new name also in reference list of
9050 cells of which the renamed cell depends.
9051
9052 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9053
9054 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9055 to check whether menu-bar is shown or not. If not shown,
9056 show the menu-bar as a popup menu instead of using tmm.
9057 * mouse.el (popup-menu): Accept `point' as `position' argument.
9058
9059 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9060
9061 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9062 up inside string symbol literal (bug#11923).
9063
9064 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9065
9066 * startup.el (fancy-startup-text): Read the whole tutorial, not
9067 just its first 256 bytes. Prevents gibberish in display of the
9068 tutorial title.
9069
9070 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9071
9072 Drop idle buffer compaction due to an absence of the
9073 proved efficiency.
9074 * compact.el: Remove.
9075
9076 2012-07-19 Sam Steingold <sds@gnu.org>
9077
9078 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9079 vc-bzr-pull & vc-bzr-merge-branch.
9080 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9081 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9082 for consistency with compilation-error-regexp-alist.
9083 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9084 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9085 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9086 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9087
9088 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9089
9090 * emacs-lisp/chart.el: Use lexical-binding.
9091 (chart-emacs-storage): Don't hardcode the list of entries.
9092
9093 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9094
9095 Next round of tweaks caused by Fgarbage_collect changes.
9096 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9097
9098 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9099
9100 Compact buffers when idle.
9101 * compact.el: New file.
9102
9103 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * subr.el (eventp): Presume that if it looks vaguely like an event,
9106 it's an event (bug#10190).
9107
9108 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9109
9110 Enhancements to ppss related code (thanks Stefan).
9111 * progmodes/python.el (python-indent-context)
9112 (python-indent-calculate-indentation, python-indent-dedent-line)
9113 (python-indent-electric-colon, python-nav-forward-block)
9114 (python-mode-abbrev-table)
9115 (python-info-assignment-continuation-line-p): Simplify checks
9116 for ppss context.
9117 (python-info-continuation-line-p): Cleanup.
9118 (python-info-ppss-context): Do not catch 'quote.
9119 (python-info-ppss-context-type)
9120 (python-info-ppss-comment-or-string-p): Simplify.
9121
9122 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9123
9124 * progmodes/python.el: Enhancements to eldoc support.
9125 (python-info-current-symbol): New function.
9126 (python-eldoc-at-point): Use python-info-current-symbol.
9127 (python-info-current-defun): Fix cornercase on first defun scan.
9128 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9129 and signal error when no inferior python process is available.
9130
9131 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9132
9133 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9134 assume it's always t.
9135 (vc-git-registered): Remove caching, the function is only called
9136 once.
9137 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9138
9139 2012-07-18 Chong Yidong <cyd@gnu.org>
9140
9141 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9142
9143 * simple.el (count-words): Report on narrowing (Bug#9959).
9144
9145 * bindings.el: Bind M-= to count-words.
9146
9147 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9148
9149 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9150
9151 * progmodes/sh-script.el (sh-imenu-generic-expression):
9152 Capture a function with `function' keyword and without parentheses
9153 like "function FOO" (bug#11856).
9154
9155 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9156
9157 * window.el (split-window-sensibly): Make WINDOW argument
9158 optional.
9159
9160 2012-07-18 Chong Yidong <cyd@gnu.org>
9161
9162 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9163
9164 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9165 and make C-x 8 RET exit isearch (Bug#11439).
9166
9167 * international/iso-transl.el: Move isearch-mode-map key
9168 definitions to isearch.el.
9169
9170 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9173 (eieio-defclass): Use gv-define-setter when possible.
9174
9175 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9176
9177 Reflect recent changes in Fgarbage_collect.
9178 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9179 reflect new format of data returned by Fgarbage_collect.
9180
9181 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9182
9183 New utility functions + python-info-ppss-context fix (Bug#11910).
9184 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9185 (python-info-ppss-comment-or-string-p): New functions.
9186 (python-info-ppss-context): Small fix for string check.
9187
9188 2012-07-17 Juri Linkov <juri@jurta.org>
9189
9190 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9191 (dired-do-async-shell-command): Don't add `*' at the end of the
9192 command (Bug#11815).
9193 (dired-do-shell-command): Doc fix.
9194 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9195 Join the individual commands using either "&" or ";" as the
9196 separator depending on the values of these trailing characters.
9197 At the end re-add the trailing "&". (Bug#10598)
9198
9199 * simple.el (async-shell-command): Sync the interactive spec with
9200 `shell-command'. Doc fix.
9201 (shell-command): Doc fix.
9202
9203 2012-07-17 Juri Linkov <juri@jurta.org>
9204
9205 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9206
9207 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9208
9209 Final renames and doc fixes for movement commands (bug#11899).
9210 * progmodes/python.el (python-nav-beginning-of-statement):
9211 Rename from python-nav-statement-start.
9212 (python-nav-end-of-statement): Rename from
9213 python-nav-statement-end.
9214 (python-nav-beginning-of-block): Rename from
9215 python-nav-block-start.
9216 (python-nav-end-of-block): Rename from python-nav-block-end.
9217
9218 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9219
9220 * progmodes/python.el (python-shell-send-string-no-output):
9221 Allow accept-process-output to quit, keeping shell process ready for
9222 future interactions (Bug#11868).
9223
9224 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9225
9226 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9227
9228 * emacs-lisp/elint.el (elint-find-args-in-code):
9229 Use help-function-arglist, so as to handle lexical byte-code.
9230
9231 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9232 change (bug#11826).
9233
9234 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9237 Avoid spuriously marking the buffer as modified because of c-is-sws.
9238
9239 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9240 as not-a-comment (bug#11946).
9241
9242 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9243 for uninterned vars.
9244
9245 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9246 Use read-event since we don't really want to read chars but bytes.
9247
9248 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9249 $$..$$ but also $..$ using regexps (bug#11953).
9250 Use tex-verbatim for \url and \path.
9251 (tex-font-lock-keywords): Define as defconst like the others.
9252 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9253
9254 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9255
9256 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9257 alias for insert-char.
9258
9259 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9260
9261 * progmodes/python.el: Simplified imenu implementation.
9262 (python-nav-jump-to-defun): Remove command.
9263 (python-mode-map): Use `imenu' instead.
9264 (python-nav-list-defun-positions-cache)
9265 (python-imenu-include-defun-type, python-imenu-make-tree)
9266 (python-imenu-subtree-root-label, python-imenu-index-alist):
9267 Remove vars.
9268 (python-nav-list-defun-positions, python-nav-read-defun)
9269 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9270 (python-imenu-make-tree, python-imenu-create-index):
9271 Remove functions.
9272 (python-mode): Update to interact with imenu by setting
9273 `imenu-extract-index-name-function' only.
9274
9275 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9276
9277 * progmodes/python.el: Enhancements to navigation commands.
9278 (python-nav-backward-sentence)
9279 (python-nav-forward-sentence): Remove.
9280 (python-nav-backward-statement, python-nav-forward-statement)
9281 (python-nav-statement-start, python-nav-statement-end)
9282 (python-nav-backward-block, python-nav-forward-block)
9283 (python-nav-block-start, python-nav-block-end)
9284 (python-nav-forward-sexp-function)
9285 (python-info-current-line-comment-p)
9286 (python-info-current-line-empty-p): New functions.
9287 (python-indent-context): Use `python-nav-statement-start'.
9288
9289 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9290
9291 * eshell/em-ls.el (eshell/ls): Use `apply'.
9292
9293 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9294 multi-hops, instead of Tramp internals.
9295
9296 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9297
9298 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9299 when F1 and F2 are located on different hosts.
9300
9301 2012-07-14 Chong Yidong <cyd@gnu.org>
9302
9303 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9304 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9305 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9306 (xterm-mouse--read-event-sequence-1000)
9307 (xterm-mouse--read-event-sequence-1006): New functions. For old
9308 mouse protocol, handle M-mouse-X events correctly.
9309 (xterm-mouse-event): New arg specifying mouse protocol.
9310 (turn-on-xterm-mouse-tracking-on-terminal)
9311 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9312 sequence to toggle extended coordinates on newer XTerms.
9313 This appears to be harmless on terminals which do not support this.
9314
9315 2012-07-14 Leo Liu <sdl.web@gmail.com>
9316
9317 Add fringe bitmap indicators for flymake. (Bug#11253)
9318 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9319 (flymake-make-overlay): New arg BITMAP.
9320 (flymake-error-bitmap, flymake-warning-bitmap)
9321 (flymake-fringe-indicator-position): New user variables.
9322
9323 * fringe.el: New bitmap exclamation-mark.
9324
9325 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9326
9327 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9328 also (Bug#7879).
9329
9330 2012-07-14 Chong Yidong <cyd@gnu.org>
9331
9332 * electric.el (electric-pair-post-self-insert-function): Fix pair
9333 insertion in empty-region case (Bug#11520).
9334
9335 2012-07-14 Chong Yidong <cyd@gnu.org>
9336
9337 * bindings.el: Consolidate ctl-x-r-map bindings.
9338 Bind copy-rectangle-as-kill to C-x r w.
9339
9340 * rect.el, register.el: Move bindings to bindings.el.
9341
9342 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9343
9344 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9345
9346 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9347
9348 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9349
9350 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9351
9352 * bindings.el (top): Use `mapc' instead of `mapcar'.
9353
9354 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9355
9356 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9357
9358 * progmodes/sql.el (sql-comint): Suppress the check for program on
9359 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9360 (Bug#11908)
9361
9362 2012-07-13 Chong Yidong <cyd@gnu.org>
9363
9364 * bindings.el: Assign a non-nil permanent-local property to
9365 per-buffer variables which lack a default value (Bug#11930).
9366
9367 * help-fns.el (describe-variable): In the "automatically becomes
9368 local" notice, take note of permanent-local variables.
9369
9370 2012-07-13 Chong Yidong <cyd@gnu.org>
9371
9372 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9373 to allow printing the message when called from Lisp.
9374
9375 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9376 Remove toggle-read-only.
9377
9378 * bs.el (bs-toggle-readonly):
9379 * buff-menu.el (Buffer-menu-toggle-read-only):
9380 Remove with-no-warnings around toggle-read-only.
9381
9382 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9383 Remove with-no-warnings around toggle-read-only.
9384 (ffap-read-only, ffap-read-only-other-window)
9385 (ffap-read-only-other-frame): Callers changed.
9386
9387 * help-mode.el: Don't require view package.
9388 (help-mode-finish): Set buffer-read-only instead of calling
9389 toggle-read-only.
9390
9391 * bindings.el (mode-line-toggle-read-only):
9392 * dired.el (dired-toggle-read-only):
9393 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9394 with non-nil second arg.
9395
9396 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9397 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9398 directly.
9399
9400 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9401
9402 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9403 not incf.
9404
9405 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9406
9407 More CL cleanups and reduction of use of cl.el.
9408 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9409 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9410 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9411 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9412 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9413 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9414 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9415 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9416 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9417 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9418 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9419 * eshell/em-cmpl.el, eshell/em-banner.el:
9420 * calendar/parse-time.el: Use cl-lib.
9421 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9422 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9423 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9424 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9425 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9426 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9427 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9428 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9429 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9430 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9431 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9432 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9433 `lambda' rather than with `quote'.
9434 (eshell-do-opt): Adjust accordingly.
9435 (eshell-process-option): Simplify.
9436 * eshell/esh-var.el:
9437 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9438 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9439 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9440 to `pcase--dontcare'.
9441 * emacs-lisp/cl.el (labels): Mark obsolete.
9442 (cl--letf, letf): Move to cl-lib.
9443 (cl--letf*, letf*): Remove.
9444 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9445 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9446 (cl-progv): Rewrite.
9447 (cl--letf, cl-letf): Move from cl.el.
9448 (cl-letf*): New macro.
9449 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9450
9451 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9452
9453 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9454
9455 2012-07-11 Chong Yidong <cyd@gnu.org>
9456
9457 * vc/log-edit.el (log-edit-vc-backend): New variable.
9458 (log-edit): Doc fix.
9459
9460 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9461 argument of log-edit to set up all local variables.
9462 (vc-start-logentry): New optional arg specifying VC backend.
9463
9464 * vc/vc.el (vc-checkin): Use it.
9465 (vc-deduce-fileset): Handle Log Edit buffers.
9466 (vc-diff): Make first argument optional too.
9467
9468 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9469
9470 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9471
9472 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9473 command, just in case. The function is not needed anymore.
9474 (eshell-external-command): Do not call `eshell-remote-command'.
9475
9476 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9477
9478 Reduce use of (require 'cl).
9479 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9480 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9481 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9482 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9483 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9484 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9485 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9486 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9487 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9488 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9489 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9490 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9491 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9492 (byte-compile-unfold-bcf, byte-compile-check-variable):
9493 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9494 (byte-compile-nilconstp):
9495 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9496 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9497
9498 * emacs-lisp/gv.el (cond): Make it a valid place.
9499 (if): Simplify slightly.
9500
9501 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9502 (pcase--self-quoting-p): New function.
9503 (pcase--u1): Use it.
9504
9505 2012-07-10 Glenn Morris <rgm@gnu.org>
9506
9507 * emacs-lisp/authors.el (authors-fixed-entries):
9508 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9509
9510 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9511
9512 Rename configure.in to configure.ac (Bug#11603).
9513 * emacs-lisp/authors.el (authors-canonical-file-name):
9514 * progmodes/autoconf.el (autoconf-mode):
9515 Prefer configure.ac to configure.in.
9516
9517 2012-07-08 Chong Yidong <cyd@gnu.org>
9518
9519 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9520 Implement the mouse-1-click-follows-link handling properly.
9521
9522 * info.el (Info-link-keymap): Use follow-link mechanism for
9523 header-line links (Bug#374).
9524
9525 * simple.el (deactivate-mark): Do not set the primary selection
9526 if another program has acquired it (Bug#11772).
9527
9528 2012-07-07 Kevin Ryde <user42@zip.com.au>
9529
9530 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9531 (woman-decode-region): Replace escaped-escapes without destroying
9532 bold or underline (Bug#11552).
9533 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9534
9535 2012-07-07 Chong Yidong <cyd@gnu.org>
9536
9537 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9538 (interprogram-cut-function, interprogram-paste-function):
9539 Mention that we typically mean the clipboard.
9540
9541 2012-07-06 Glenn Morris <rgm@gnu.org>
9542
9543 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9544
9545 * files.el (toggle-read-only): Restrict message to interactive use.
9546
9547 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9548
9549 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9550
9551 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9552
9553 2012-07-06 Glenn Morris <rgm@gnu.org>
9554
9555 * Makefile.in (compile-one-process): Rename from "recompile".
9556
9557 * Makefile.in (bzr-update): "compile" is the same as "recompile
9558 autoloads", but parallelizable, so use that instead.
9559
9560 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9561
9562 * window.el (quit-window): Always restore window height when
9563 it's saved in quit-restore parameter (Bug#11810).
9564
9565 2012-07-06 Glenn Morris <rgm@gnu.org>
9566
9567 * simple.el (kill-whole-line): Doc tweak.
9568
9569 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9570
9571 * files.el (file-relative-name): Compare file names
9572 case-insensitively if on MS-Windows or MS-DOS, or if
9573 read-file-name-completion-ignore-case is non-nil. Don't use
9574 case-fold-search for this purpose. (Bug#11827)
9575
9576 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9577
9578 * calendar/cal-dst.el (calendar-current-time-zone):
9579 Return calendar-current-time-zone-cache if non-nil.
9580
9581 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9582 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9583
9584 * calendar/cal-dst.el (calendar-current-time-zone):
9585 Return calendar-current-time-zone-cache if non-nil.
9586
9587 2012-07-06 Glenn Morris <rgm@gnu.org>
9588
9589 * Makefile.in (cvs-update): Remove old alias.
9590
9591 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9592
9593 Sync with Tramp 2.2.6-pre.
9594
9595 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9596 compatible declaration.
9597
9598 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9599 Protect `list-load-path-shadows' call.
9600
9601 * net/tramp-compat.el (top): Require packages, which aren't
9602 autoloaded anymore for XEmacs. Protect call of
9603 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9604 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9605 it hurts at least for SXEmacs.
9606 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9607 standard-value for `temporary-file-directory'.
9608
9609 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9610 Redirect stderr to /dev/null.
9611 (tramp-sh-handle-write-region): uid and gid can be floats.
9612 Reported by Russell Sim <russell.sim@gmail.com>.
9613 (tramp-sh-handle-vc-registered): Hide errors.
9614 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9615 and `start-file-process'.
9616 (tramp-maybe-open-connection): Check also whether `non-essential'
9617 is bound.
9618
9619 2012-07-04 Chong Yidong <cyd@gnu.org>
9620
9621 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9622 (xml-parse-tag): Likewise, and avoid changing entity tables.
9623 (xml-syntax-table): Define from scratch, making sure not to give
9624 x2000 and other Unicode spaces whitespace syntax, since those are
9625 not spaces in XML.
9626 (xml-parse-fragment): Delete unused function.
9627 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9628 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9629 (xml-entity-ref, xml-pe-reference-re)
9630 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9631 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9632 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9633 (xml-entity-value-re): Use syntax references in regexps where
9634 possible; no need to define inside a let-binding.
9635 (xml-parse-dtd): Use xml-pe-reference-re.
9636 (xml-entity-or-char-ref-re): New defconst.
9637 (xml-parse-string, xml-substitute-special): Use it.
9638
9639 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9640
9641 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9642 (find-file--read-only): New function.
9643 (find-file-read-only, find-file-read-only-other-window)
9644 (find-file-read-only-other-frame): Use it.
9645 (insert-file-contents-literally): Don't `fset'.
9646 (get-free-disk-space): Use locate-dominating-file.
9647
9648 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9649 function is already compiled.
9650
9651 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9652
9653 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9654
9655 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9656 files on the same host.
9657
9658 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9659
9660 * help-fns.el (describe-function-1): Only call
9661 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9662
9663 2012-07-03 Chong Yidong <cyd@gnu.org>
9664
9665 * xml.el: Protect parser against XML bombs.
9666 (xml-entity-expansion-limit): New variable.
9667 (xml-parse-string, xml-substitute-special): Use it.
9668 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9669
9670 2012-07-03 Glenn Morris <rgm@gnu.org>
9671
9672 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9673 Allow linking to specific messages in debbugs reports (eg 123#5).
9674
9675 2012-07-02 Chong Yidong <cyd@gnu.org>
9676
9677 * xml.el: Fix entity and character reference expansion, allowing
9678 them to expand into markup as per XML spec.
9679 (xml-default-ns): New variable.
9680 (xml-entity-alist): Use XML spec definitions for lt and amp.
9681 (xml-parse-region): Make first two arguments optional.
9682 Discard text properties.
9683 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9684 All callers changed.
9685 (xml-parse-tag): Call xml-parse-tag-1. For backward
9686 compatibility, this function should not modify buffer contents.
9687 (xml-parse-tag-1): Fix opening-tag regexp.
9688 (xml-parse-string): Rewrite, handling entity and character
9689 references properly.
9690 (xml--entity-replacement-text): Signal an error if a parameter
9691 entity is undefined.
9692
9693 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9694
9695 * comint.el (comint-output-filter): Filter out repeated prompts.
9696
9697 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9698 and file-name-absolute-p.
9699 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9700 internal calls.
9701
9702 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9703
9704 Spelling fixes.
9705 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9706 Rename from byte-compile--refiy-function. All uses changed.
9707
9708 2012-07-01 Chong Yidong <cyd@gnu.org>
9709
9710 * xml.el (xml--parse-buffer): New function. Move most of
9711 xml-parse-region here.
9712 (xml-parse-region): Copy region into a temporary buffer, since
9713 parameter entity substitution requires changing buffer contents.
9714 Use xml--parse-buffer.
9715 (xml-parse-file): Use xml--parse-buffer.
9716 (xml-parse-dtd): Make parameter entity substitution work right.
9717 Use proper regexps for ELEMENT declarations (Bug#7172).
9718
9719 2012-06-30 Glenn Morris <rgm@gnu.org>
9720
9721 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9722
9723 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9724 Remove outdated and unnecessary dbus declarations.
9725
9726 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9727
9728 * emacs-lisp/timer.el (timer-until): Subtract results of
9729 float-time, instead of taking float-time of the result of
9730 time-subtract, since float-time signals an error for negative time
9731 arguments.
9732
9733 2012-06-30 Chong Yidong <cyd@gnu.org>
9734
9735 * xml.el (xml-*-re): Convert defvars into defconsts, and
9736 eval-and-compile them so eval-and-compile works on derivatives.
9737 (xml--entity-replacement-text): Use eval-and-comple.
9738
9739 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9740
9741 * vc/vc-git.el (vc-git-registered): Use cache property
9742 `git-registered'.
9743 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9744 `vc-git-working-revision' in order to benefit from the cache.
9745 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9746
9747 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9748
9749 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9750 removed (likely outside Emacs). (Bug#11757)
9751
9752 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9753
9754 * emacs-lisp/cl-lib.el: Require macroexp.
9755
9756 2012-06-30 Chong Yidong <cyd@gnu.org>
9757
9758 * xml.el: Implement XML parameter entities.
9759 (xml-parameter-entity-alist): New variable.
9760 (xml-parse-region, xml-parse-fragment): Preserve previous values
9761 of xml-entity-alist and xml-parameter-entity-alist, so that
9762 repeated calls on different documents do not change them.
9763 (xml-parse-tag): Fix doctype regexp.
9764 (xml--entity-replacement-text): New function.
9765 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9766 properly requires url retrieval which is unimplemented.
9767 (xml-escape-string): Doc fix.
9768
9769 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9772
9773 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9774
9775 * fringe.el (fringe-mode): Doc fix.
9776
9777 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9778
9779 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9780 is non-nil.
9781 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9782 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9783
9784 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9785
9786 * calendar/cal-dst.el (calendar-current-time-zone):
9787 Return calendar-current-time-zone-cache if non-nil.
9788
9789 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9790
9791 * progmodes/which-func.el (which-func-format):
9792 Add mouse-face. (Bug#11698)
9793
9794 2012-06-29 Leo Liu <sdl.web@gmail.com>
9795
9796 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9797
9798 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * minibuffer.el (minibuffer-confirm-exit-commands):
9801 Add completion-at-point (bug#11725).
9802
9803 2012-06-29 Glenn Morris <rgm@gnu.org>
9804
9805 * progmodes/f90.el (f90-font-lock-keywords-2):
9806 Add some preprocessor elements. (Bug#10499)
9807
9808 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9811 Use syntax-propertize (bug#11739).
9812
9813 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9814
9815 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9816
9817 2012-06-28 Julien Danjou <julien@danjou.info>
9818
9819 * term.el (term-handle-colors-array): Use a set of new faces to
9820 color the terminal. Also uses :inverse-video property.
9821 (term-default-fg-color): Set to nil by default, deprecate in favor
9822 of `term-face'.
9823 (term-default-bg-color): Set to nil by default, deprecate in favor
9824 of `term-face'.
9825 (term-current-face): Use `term-face' by default.
9826 (term-bold-attribute): Variable deleted.
9827
9828 2012-06-28 Glenn Morris <rgm@gnu.org>
9829
9830 * simple.el (completion-list-mode-finish):
9831 Don't use toggle-read-only. (Since completion-list-mode has
9832 a special mode-class, it wasn't doing anything extra anyway.)
9833
9834 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 Make inlining of other-mode interpreted functions work (bug#11799).
9837 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9838 (byte-compile): Use it to fix compilation of lexical-binding closures.
9839 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9840 function, if needed.
9841
9842 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9843
9844 * help-mode.el (help-make-xrefs): Don't just withstand
9845 cyclic-variable-indirection but any error in documentation-property.
9846
9847 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9848 memory use.
9849 * bindings.el (bindings--define-key): New function.
9850 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9851 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9852 * bindings.el: Use it to purecopy define-key bindings.
9853
9854 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9855
9856 * emacs-lisp/cl.el (flet): Mark obsolete.
9857 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9858 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9859 * progmodes/js.el (js-c-fill-paragraph):
9860 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9861 (ebrowse-switch-member-buffer-to-derived-class):
9862 * play/5x5.el (5x5-solver): Use cl-flet.
9863
9864 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9865 (cl--symbol-function): New macro.
9866 (cl--letf, cl--letf*): Use it.
9867
9868 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9869 Strip "toggle-" if any.
9870
9871 2012-06-27 Glenn Morris <rgm@gnu.org>
9872
9873 * info.el (Info-default-directory-list): Move here from paths.el.
9874 * paths.el: Remove file, which is now empty.
9875 * loadup.el: No longer load "paths".
9876
9877 * custom.el (custom-initialize-delay): Doc fix.
9878
9879 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9880 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9881 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9882 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9883 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9884 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9885 * eshell/eshell.el (eshell-defgroup): Remove alias.
9886
9887 2012-06-27 Chong Yidong <cyd@gnu.org>
9888
9889 * help.el (help-enable-auto-load): New variable.
9890
9891 * help-fns.el (help-fns--autoloaded-p): New function.
9892 (describe-function-1): Refer to a function as "autoloaded" if it
9893 was autoloaded at any time in the past. Perform autoloading if
9894 help-enable-auto-load is non-nil.
9895
9896 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9897
9898 * makefile.w32-in (compile, compile-always): Depend on
9899 update-subdirs, not on subdirs.el. Otherwise, several different
9900 sub-targets of 'bootstrap' running in parallel could
9901 simultaneously write to subdirs.el, producing a garbled file.
9902
9903 2012-06-26 Sam Steingold <sds@gnu.org>
9904
9905 * files.el (file-name-base): New convenience function.
9906 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9907 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9908 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9909 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9910 * textmodes/ispell.el, textmodes/reftex-ref.el:
9911 * textmodes/tex-mode.el: Use it.
9912 Did not touch cedet and org because they are maintained elsewhere.
9913
9914 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9915
9916 * calendar/calendar.el (calendar-exit): Don't try to delete or
9917 iconify last frame. See:
9918 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9919
9920 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9921
9922 * server.el (server-process-filter): Remember dir in the
9923 process's `server-client-directory' properties.
9924
9925 2012-06-24 Chong Yidong <cyd@gnu.org>
9926
9927 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9928 non-tag text.
9929
9930 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9931
9932 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9933
9934 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * help-fns.el (describe-variable): Don't croak when doc is not found.
9937 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9938 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9939 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9940 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9941 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9942 ((lambda ..) ..).
9943 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9944
9945 2012-06-23 Chong Yidong <cyd@gnu.org>
9946
9947 * info.el (Info-mouse-follow-link): Accept symbol values of
9948 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9949 (Info-fontify-node): Use Info-link-keymap for all navigation
9950 buttons, with link-args property to perform the desired action.
9951 (Info-link-keymap): Doc fix.
9952 (Info-next-link-keymap, Info-prev-link-keymap)
9953 (Info-up-link-keymap): Delete now-unused keymaps.
9954
9955 2012-06-23 Chong Yidong <cyd@gnu.org>
9956
9957 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9958
9959 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9960 system abbrevs.
9961
9962 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9963
9964 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9965
9966 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9967 (bug#11719).
9968
9969 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9970 the requote function doesn't work properly (bug#11714).
9971
9972 2012-06-23 Glenn Morris <rgm@gnu.org>
9973
9974 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9975
9976 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9977
9978 Further GV/CL cleanups.
9979 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9980 gv-expander.
9981 (gv--defun-declaration): New function.
9982 (defun-declarations-alist): Use it.
9983 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9984 (gv-place): Autoload.
9985 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9986 original definition of dotimes and dolist.
9987 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9988 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9989 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9990 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9991 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9992 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9993 to the function's definition.
9994 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9995 * window.el:
9996 * files.el:
9997 * faces.el:
9998 * env.el: Don't use CL.
9999
10000 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10001
10002 Support higher-resolution time stamps (Bug#9000).
10003
10004 * calendar/time-date.el (with-decoded-time-value): New arg
10005 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10006 (encode-time-value): New optional arg PICO. New type 3.
10007 (time-to-seconds) [!float-time]: Support the new picoseconds
10008 component if it's used.
10009 (seconds-to-time, time-subtract, time-add):
10010 Support ps-resolution time stamps as well.
10011
10012 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10013 (timerp): Timer vectors now have length 9, not 8.
10014 (timer--time): Support new-style (4-part) time stamps.
10015 (timer-next-integral-multiple-of-time): Time stamps now have
10016 picosecond resolution, so take a bit more care about rounding.
10017 (timer-relative-time, timer-inc-time): New optional arg psecs.
10018 (timer-set-time-with-usecs): Set psecs to 0.
10019 (timer--activate): Check psecs component, too.
10020
10021 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10022
10023 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10024
10025 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10026 Move the non-essential binding to the post/pre-command-hook where it is
10027 more obviously correct.
10028
10029 * subr.el (read-passwd): Don't use a history at all.
10030 * savehist.el (savehist-save): Remove password saved accidentally
10031 because of the above bug.
10032
10033 2012-06-22 Bastien Guerry <bzg@gnu.org>
10034
10035 * files.el (toggle-read-only): Display a message telling whether
10036 the buffer is read-only or not (bug#11726).
10037
10038 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 * emacs-lisp/gv.el: New file.
10041 * subr.el (push, pop): Extend to generalized variables.
10042 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10043 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10044 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10045 gv-define-simple-setter, and gv-define-expander.
10046 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10047 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10048 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10049 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10050 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10051 gv-letplace.
10052 (cl-defstruct): Don't define setf-method any more.
10053 * emacs-lisp/cl.el (flet): Don't autoload.
10054 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10055 (define-setf-expander, defsetf, define-modify-macro)
10056 (cl-struct-setf-expander): Move from cl-lib.el.
10057 * emacs-lisp/syntax.el:
10058 * emacs-lisp/ewoc.el:
10059 * emacs-lisp/smie.el:
10060 * emacs-lisp/cconv.el:
10061 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10062 (timer--time): Use gv-define-simple-setter.
10063 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10064 to avoid coding-system problems in subr.el. Adjust all users.
10065 (macroexp--maxsize, macroexp-small-p): New functions.
10066 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10067 * scroll-bar.el (scroll-bar-mode):
10068 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10069 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10070 * winner.el (winner-configuration, winner-make-point-alist)
10071 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10072 * files.el (locate-file-completion-table): Avoid list*.
10073
10074 2012-06-22 Chong Yidong <cyd@gnu.org>
10075
10076 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10077 (dired-create-files): Doc fix (Bug#11329).
10078 (dired-do-copy): Doc fix (Bug#11334).
10079 (dired-mark-read-string): Doc fix (Bug#11553).
10080
10081 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10082 Doc fix (Bug#11326).
10083 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10084 (dired-dwim-target): Doc fix.
10085
10086 * wdired.el (wdired-mode): Doc fix.
10087
10088 2012-06-22 Glenn Morris <rgm@gnu.org>
10089
10090 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10091 (pcmpl-rpm-cache-stamp-file): New constant.
10092 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10093 (pcmpl-rpm-packages): Optionally cache list of packages.
10094
10095 * pcmpl-rpm.el (pcmpl-rpm): New group.
10096 (pcmpl-rpm-query-options): New option.
10097 (pcmpl-rpm-packages): No need to inline it.
10098 Use pcmpl-rpm-query-options.
10099
10100 * calendar/calendar.el (calendar-in-read-only-buffer):
10101 Avoid some needless mode changes.
10102
10103 2012-06-21 Chong Yidong <cyd@gnu.org>
10104
10105 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10106 (desktop-path): Remove . from the default value (Bug#10977).
10107 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10108
10109 2012-06-20 Chong Yidong <cyd@gnu.org>
10110
10111 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10112
10113 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10114
10115 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10116 (bug#11201).
10117
10118 2012-06-20 Chong Yidong <cyd@gnu.org>
10119
10120 * term.el (term-window-width): Handle the case of a missing right
10121 fringe (Bug#8837).
10122 (term-check-size): Use window-text-height (Bug#5445).
10123 (term-mode): Use define-derived-mode. Minor cleanups.
10124 Set font-lock-defaults (Bug#7692).
10125 (term-move-columns, term-insert-char, term-emulate-terminal)
10126 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10127
10128 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10129
10130 * net/ange-ftp.el (ange-ftp-get-passwd):
10131 Bind `enable-recursive-minibuffers'.
10132 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10133
10134 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10135
10136 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10137
10138 2012-06-19 Glenn Morris <rgm@gnu.org>
10139
10140 * progmodes/python.el (python-mode): Derive from prog-mode.
10141
10142 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10143
10144 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10145 (edt-user-menu-bar-update-buffers): New functions.
10146 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10147
10148 2012-06-19 Chong Yidong <cyd@gnu.org>
10149
10150 * subr.el (with-selected-window): Preserve the selected window's
10151 terminal's top-frame (Bug#4702).
10152
10153 * window.el (save-selected-window): Likewise.
10154
10155 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10156
10157 * progmodes/python.el (python-rx-constituents): Move backquote.
10158 (python-skeleton-define, python-define-auxiliary-skeleton):
10159 Use `declare'.
10160
10161 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10162
10163 * minibuffer.el (read-file-name-default): Revert the patch from
10164 2012-06-17.
10165
10166 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10167
10168 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10169 (pcase--u1, pcase--q1): Don't use apply-partially.
10170
10171 2012-06-18 Glenn Morris <rgm@gnu.org>
10172
10173 * progmodes/python.el (python-proc, python-buffer)
10174 (python-send-receive, python-send-string): Fix obsolete versions.
10175
10176 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10177
10178 * window.el (special-display-p): Completely remove stringp
10179 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10180
10181 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10182
10183 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10184
10185 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10186
10187 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10188 * net/tramp-sh.el (tramp-maybe-open-connection):
10189 Throw if `non-essential' is non-nil.
10190
10191 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10192
10193 * window.el (special-display-p): Signal an error if BUFFER-NAME
10194 is not a string (Bug#11713).
10195
10196 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10197
10198 * progmodes/python.el (python-info-beginning-of-backslash):
10199 Rename from python-info-beginning-of-backlash, as a spelling fix.
10200
10201 2012-06-17 Chong Yidong <cyd@gnu.org>
10202
10203 * term.el (term-emulate-terminal): If term-check-size is called,
10204 move point to the process mark without resetting point (Bug#4635).
10205
10206 2012-06-17 Glenn Morris <rgm@gnu.org>
10207
10208 * international/mule-cmds.el (mule-menu-keymap)
10209 (set-language-environment, set-locale-environment): Doc tweaks.
10210
10211 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10212
10213 * cus-face.el (custom-face-attributes): Add wave-style underline
10214 attribute.
10215 * faces.el (set-face-attribute): Update docstring to describe
10216 wave-style underline attribute.
10217
10218 2012-06-16 Chong Yidong <cyd@gnu.org>
10219
10220 * term/xterm.el (terminal-init-xterm): Discard input before
10221 querying background mode (Bug#10959).
10222
10223 2012-06-16 Stefan Merten <smerten@oekonux.de>
10224
10225 * textmodes/rst.el: Added and corrected some comments.
10226 (rst-re-alist-def): Improve symbol syntax.
10227 (rst-mode-syntax-table): Correct syntax entries.
10228 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10229 (rst-official-version, rst-official-cvs-rev): Update version
10230 information.
10231
10232 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10233
10234 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10235 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10236
10237 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10238
10239 * progmodes/python.el: New python.el merge.
10240 (python-guess-indent): Obsolete var.
10241 (python-indent-guess-indent-offset): New defcustom.
10242 (python-indent): Obsolete var.
10243 (python-indent-offset): New defcustom.
10244 (python-python-command, python-jython-command): Delete var.
10245 (python-shell-interpreter): New defcustom.
10246 (python-pdbtrack-do-tracking-p): Delete var.
10247 (python-pdbtrack-activate): New defcustom.
10248 (python-use-skeletons): Obsolete var.
10249 (python-skeleton-autoinsert): New defcustom.
10250 (inferior-python-filter-regexp, python-continuation-offset)
10251 (python-honour-comment-indentation, python-indent-string-contents)
10252 (python-jython-packages, python-mode-hook)
10253 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10254 (python-shell-prompt-alist)
10255 (python-source-modes): Delete defcustoms.
10256 (python-check-buffer-name, python-eldoc-setup-code)
10257 (python-eldoc-string-code, python-ffap-setup-code)
10258 (python-ffap-string-code, python-fill-comment-function)
10259 (python-fill-decorator-function, python-fill-paren-function)
10260 (python-fill-string-function, python-imenu-include-defun-type)
10261 (python-imenu-make-tree, python-imenu-subtree-root-label)
10262 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10263 (python-shell-compilation-regexp-alist)
10264 (python-shell-completion-module-string-code)
10265 (python-shell-completion-pdb-string-code)
10266 (python-shell-completion-setup-code)
10267 (python-shell-completion-string-code)
10268 (python-shell-enable-font-lock, python-shell-exec-path)
10269 (python-shell-extra-pythonpaths)
10270 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10271 (python-shell-process-environment)
10272 (python-shell-prompt-block-regexp)
10273 (python-shell-prompt-output-regexp)
10274 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10275 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10276 (python-shell-virtualenv-path): New defcustoms.
10277 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10278 (inferior-python-mode-syntax-table, python--prompt-regexp)
10279 (python-buffer, python-command python-python-command)
10280 (python-default-template, python-imports, python-indent-index)
10281 (python-indent-list, python-indent-list-length)
10282 (python-mode-running, python-pdbtrack-is-tracking-p)
10283 (python-preoutput-continuation, python-preoutput-leftover)
10284 (python-preoutput-result, python-preoutput-skip-next-prompt)
10285 (python-prev-dir/file, python-recursing)
10286 (python-saved-check-command, python-version-checked)
10287 (python-which-func-length-limit)
10288 (view-return-to-alist): Delete vars.
10289 (python-check-custom-command, python-dotty-syntax-table)
10290 (python-imenu-index-alist, python-indent-current-level)
10291 (python-indent-dedenters, python-indent-levels)
10292 (python-nav-beginning-of-defun-regexp)
10293 (python-nav-list-defun-positions-cache)
10294 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10295 (python-shell-internal-buffer)
10296 (python-skeleton-available): New vars.
10297 (def-python-skeleton): Delete macro.
10298 (python-skeleton-define): New macro.
10299 (python-define-auxiliary-skeleton, python-rx): New macros.
10300 (python-insert-class): Delete command.
10301 (python-skeleton-class): New command.
10302 (python-insert-def): Delete command.
10303 (python-skeleton-def): New command.
10304 (python-insert-for): Delete command.
10305 (python-skeleton-for): New command.
10306 (python-insert-if): Delete command.
10307 (python-skeleton-if): New command.
10308 (python-insert-try/except, python-insert-try/finally): Delete commands.
10309 (python-skeleton-try): New command.
10310 (python-insert-while): Delete command.
10311 (python-skeleton-while): New command.
10312 (python-backspace): Delete command.
10313 (python-indent-dedent-line-backspace): New command.
10314 (python-electric-colon): Delete command.
10315 (python-indent-electric-colon): New command.
10316 (python-guess-indent): Delete command.
10317 (python-indent-guess-indent-offset): New command.
10318 (python-shift-left): Delete command.
10319 (python-indent-shift-left): New command.
10320 (python-shift-right): Delete command.
10321 (python-indent-shift-right): New command.
10322 (python-find-function): Delete command.
10323 (python-nav-jump-to-defun): New command.
10324 (python-next-statement): Delete command.
10325 (python-nav-forward-sentence): New command.
10326 (python-previous-statement): Delete command.
10327 (python-nav-backward-sentence): New command.
10328 (python-fill-paragraph): Delete command.
10329 (python-fill-paragraph-function): New command.
10330 (python-send-buffer): Delete command.
10331 (python-shell-send-buffer): New command.
10332 (python-send-defun): Delete command.
10333 (python-shell-send-defun): New command.
10334 (python-send-region, python-send-region-and-go): Delete commands.
10335 (python-shell-send-region)
10336 (python-shell-switch-to-shell): New commands.
10337 (python-send-string): Delete command.
10338 (python-shell-send-string): New command.
10339 (python-switch-to-python): Delete command.
10340 (python-shell-switch-to-shell): New command.
10341 (python-describe-symbol): Delete command.
10342 (python-eldoc-at-point): New command.
10343 (python--set-prompt-regexp, python-args-to-list)
10344 (python-after-info-look, python-check-version)
10345 (python-check-comint-prompt, python-find-imports)
10346 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10347 (python-unload-function, python-expand-template)
10348 (python-maybe-jython, python-preoutput-filter)
10349 (python-pdbtrack-get-source-buffer)
10350 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10351 (python-pdbtrack-toggle-stack-tracking)
10352 (python-pdbtrack-track-stack-file, python-initial-text)
10353 (python-first-word, python-comment-line-p, python-send-command)
10354 (python-setup-brm, python-sentinel, python-set-proc)
10355 (python-skip-out, python-input-filter, python-outdent-p)
10356 (python-outline-level, python-backslash-continuation-line-p)
10357 (python-end-of-block, python-end-of-statement, python-mark-block)
10358 (python-beginning-of-block, python-beginning-of-statement)
10359 (python-blank-line-p, python-beginning-of-string)
10360 (python-open-block-statement-p): Delete functions.
10361 (python-indent-line, python-indent-line-1): Delete functions.
10362 (python-indent-line): New function.
10363 (python-indentation-levels): Delete function.
10364 (python-indent-calculate-levels): New function.
10365 (python-proc): Delete function.
10366 (python-shell-get-process): New function.
10367 (python-send-receive): Delete function.
10368 (python-shell-send-string-no-output): New function.
10369 (python-module-path): Delete function.
10370 (python-ffap-module-path): New function.
10371 (python-completion-at-point)
10372 (python-symbol-completions): Delete functions.
10373 (python-completion-complete-at-point): New function.
10374 (python-load-file): Delete function.
10375 (python-shell-send-file): New function.
10376 (python-calculate-indentation): Delete function.
10377 (python-indent-calculate-indentation): New function.
10378 (python-skip-comments/blanks): Delete function.
10379 (python-util-forward-comment): New function.
10380 (python-continuation-line-p): Delete function.
10381 (python-info-continuation-line-p): New function.
10382 (python-which-func, python-current-defun): Delete function.
10383 (python-info-current-defun): New function.
10384 (python-beginning-of-defun): Delete function.
10385 (python-nav-beginning-of-defun): New function.
10386 (python-close-block-statement-p)
10387 (python-block-end-p): Delete function.
10388 (python-info-closing-block): New function.
10389 (python-comint-output-filter-function)
10390 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10391 (python-fill-comment, python-fill-decorator, python-fill-paren)
10392 (python-fill-string, python-imenu-make-element-tree)
10393 (python-imenu-make-tree, python-imenu-tree-assoc)
10394 (python-indent-context, python-indent-dedent-line)
10395 (python-indent-line-function)
10396 (python-indent-post-self-insert-function)
10397 (python-indent-toggle-levels)
10398 (python-info-assignment-continuation-line-p)
10399 (python-info-beginning-of-backlash)
10400 (python-info-block-continuation-line-p)
10401 (python-info-closing-block-message)
10402 (python-info-line-ends-backslash-p)
10403 (python-info-looking-at-beginning-of-defun)
10404 (python-info-ppss-context, python-info-ppss-context-type)
10405 (python-nav-list-defun-positions, python-nav-read-defun)
10406 (python-nav-sentence-end, python-nav-sentence-start)
10407 (python-pdbtrack-comint-output-filter-function)
10408 (python-pdbtrack-set-tracked-buffer)
10409 (python-shell-calculate-exec-path)
10410 (python-shell-calculate-process-environment)
10411 (python-shell-completion--do-completion-at-point)
10412 (python-shell-completion--get-completions)
10413 (python-shell-completion-complete-at-point)
10414 (python-shell-completion-complete-or-indent)
10415 (python-shell-get-or-create-process)
10416 (python-shell-get-process-name)
10417 (python-shell-internal-get-or-create-process)
10418 (python-shell-internal-get-process-name)
10419 (python-shell-internal-send-string, python-shell-make-comint)
10420 (python-shell-parse-command, python-shell-send-setup-code)
10421 (python-skeleton-add-menu-items)
10422 (python-util-clone-local-variables, python-util-position)
10423 (run-python-internal, python-indentation-levels)
10424 (python-nav-beginning-of-defun)
10425 (python-completion-complete-at-point): New functions.
10426 (run-python): Change arguments. New API requirements.
10427
10428 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10429
10430 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10431 (bug#11649).
10432
10433 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10434 (macroexp--expand-all): Use it.
10435
10436 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10437 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10438 Use `cl-function' instead.
10439
10440 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10441
10442 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10443 Suggested by Stefan Monnier while discussing bug#11657.
10444
10445 2012-06-14 Sam Steingold <sds@gnu.org>
10446
10447 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10448
10449 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10450
10451 * play/doctor.el (doctor-doc): Remove parameter and use
10452 doctor-sent instead of sent.
10453 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10454
10455 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10456
10457 * files.el: Require cl-lib.
10458 (file-name-non-special): Replace case -> cl-case.
10459
10460 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10461
10462 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10463 mapping from #' to function*.
10464
10465 2012-06-13 Chong Yidong <cyd@gnu.org>
10466
10467 * mouse.el (mouse-drag-track): Do not set the mark if the user
10468 releases the mouse without selecting anything (Bug#11588).
10469
10470 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10471
10472 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10473 as well (bug#11646).
10474
10475 * loadup.el: Count byte-code functions as well.
10476
10477 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10478 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10479
10480 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10481 (bug#11649). Add cl-defun and cl-defmacro.
10482
10483 2012-06-13 Drew Adams <drew.adams@oracle.com>
10484
10485 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10486 Fix last change.
10487
10488 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10489
10490 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10491 Otherwise, it blocks in batch mode.
10492
10493 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10494
10495 * help-mode.el (bookmark-make-record-default): Declare.
10496
10497 2012-06-13 Chong Yidong <cyd@gnu.org>
10498
10499 * emacs-lisp/package.el (list-packages): Compute a list of
10500 packages that are newly-available since the last list-packages
10501 invocation.
10502 (package-menu--new-package-list): New var.
10503 (package-menu--generate, package-menu--print-info)
10504 (package-menu--status-predicate, package-menu-mark-install):
10505 Handle new status label "new".
10506
10507 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10508
10509 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10510 conversion to backquotes.
10511
10512 2012-06-12 Chong Yidong <cyd@gnu.org>
10513
10514 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10515 Rename from gud-inhibit-global-bindings.
10516
10517 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10518
10519 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10520 hook from nxml-glyph-set-hook.
10521
10522 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10523 declaration.
10524
10525 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10526
10527 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10528 Convert to defcustom.
10529
10530 2012-06-12 Drew Adams <drew.adams@oracle.com>
10531
10532 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10533 New functions.
10534 (help-mode): Use them.
10535
10536 2012-06-11 Glenn Morris <rgm@gnu.org>
10537
10538 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10539 Use preprocessor face for directives.
10540 (fortran-directive-re): Doc fix.
10541
10542 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10543
10544 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10545 conversion to backquotes (bug#11652).
10546
10547 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10548 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10549 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10550 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10551 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10552 (cl-ninth, cl-tenth): Mark them as inlinable.
10553 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10554 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10555 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10556 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10557 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10558 (cl-list*, cl-adjoin): Don't put an autoload manually.
10559 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10560 (cl--compiler-macro-list*): Add autoload cookie.
10561 (cl--compiler-macro-cXXr): New function.
10562
10563 * help-fns.el (help-fns--compiler-macro): New function extracted from
10564 describe-function-1; follow aliases and use `compiler-macro' property.
10565 (describe-function-1): Use it.
10566
10567 2012-06-11 Chong Yidong <cyd@gnu.org>
10568
10569 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10570 is uninstalled, if imagemagick is installed.
10571
10572 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * emacs-lisp/cl-lib.el: Use lexical-binding.
10575 (cl-map-extents, cl-maclisp-member): Remove.
10576 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10577 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10578 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10579 * emacs-lisp/cl-extra.el: Use lexical-binding.
10580 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10581 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10582 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10583 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10584 * emacs-lisp/cl-seq.el: Use lexical-binding.
10585 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10586 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10587 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10588 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10589 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10590 CL's internals.
10591
10592 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10593
10594 Sync with Tramp 2.2.6-pre.
10595
10596 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10597 `print-length' and `print-level' to nil, in order to avoid
10598 truncation. Reported by Christopher Schmidt
10599 <christopher@ristopher.com>.
10600
10601 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10602
10603 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10604 New defmacro.
10605 (tramp-compat-copy-directory): Add optional argument
10606 COPY-CONTENTS. It is not handled yet.
10607
10608 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10609 (tramp-ftp-file-name-p): Simplify.
10610
10611 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10612 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10613 connection vector.
10614
10615 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10616 (tramp-methods): Do not use `tramp-password-end-of-line'.
10617 (tramp-completion-function-alist-putty): Handle UNIX case.
10618 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10619 (tramp-do-file-attributes-with-stat)
10620 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10621 gid as real numbers. They could run out of integer range on cygwin.
10622 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10623 (tramp-sh-handle-expand-file-name): Handle hops.
10624 (tramp-open-connection-setup-interactive-shell):
10625 Use `tramp-cleanup'. Move check for busyboxes ...
10626 (tramp-find-shell): ... here. Simplify implementation.
10627 Set "remote-shell" property also for alternative shells.
10628 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10629 If failing, a regular file would be written otherwise.
10630 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10631 (tramp-find-inline-encoding): Cache the coding commands in the
10632 process cache. Apply test command on the remote side, if defined.
10633 (tramp-find-inline-compress): Cache the compress commands in the
10634 process cache.
10635 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10636 when requested. Handle hops.
10637 (tramp-current-connection): New defvar.
10638 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10639 Throw `suppress', if there was a failed connection shortly before.
10640 Handle user interrupt. (Bug#10187)
10641 (tramp-get-inline-compress, tramp-get-inline-coding):
10642 Read connection properties from the process cache.
10643
10644 * net/tramp-smb.el (tramp-smb-server-version)
10645 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10646 New defconsts.
10647 (tramp-smb-prompt): Extend for powershell prompt.
10648 (tramp-smb-file-name-handler-alist): Add handlers for
10649 `process-file', `shell-command' and `start-file-process'.
10650 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10651 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10652 (tramp-smb-file-name-p): Simplify.
10653 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10654 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10655 (tramp-smb-shell-quote-argument): New defuns.
10656 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10657 Implement using "tar". By this, time-stamps are preserved.
10658 (tramp-smb-handle-copy-file): Handle also the case of directories.
10659 (tramp-smb-do-file-attributes-with-stat)
10660 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10661 Use `tramp-get-connection-buffer').
10662 (tramp-smb-handle-rename-file): Use "rename", when source and
10663 target are on the same share.
10664 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10665 Use `tramp-smb-server-version'.
10666 (tramp-smb-wait-for-output): Remove prompt.
10667
10668 * net/tramp.el (top): Require 'cl.
10669 (tramp-methods, tramp-rsh-end-of-line):
10670 Remove `tramp-password-end-of-line' from docstring.
10671 (tramp-save-ad-hoc-proxies): New defcustom.
10672 (tramp-completion-function-alist): Adapt docstring.
10673 (tramp-default-password-end-of-line): Remove defcustom.
10674 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10675 (tramp-user-regexp, tramp-file-name-regexp-unified)
10676 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10677 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10678 (tramp-remote-file-name-spec-regexp): New defconst.
10679 (tramp-file-name-structure): Extend structure for hops.
10680 (tramp-get-method-parameter): Move up.
10681 (tramp-file-name-p, tramp-dissect-file-name)
10682 (with-parsed-tramp-file-name): Handle hops.
10683 (tramp-file-name-hop): New defun.
10684 (tramp-make-tramp-file-name): New optional arg HOP.
10685 (tramp-message-show-progress-reporter-message): New defvar.
10686 (tramp-with-progress-reporter): Use it. We cannot use
10687 `tramp-message-show-message' here, because this suppresses also
10688 error buffers.
10689 (tramp-error-with-buffer): Suppress buffer view, if
10690 `tramp-message-show-message' is nil.
10691 Use `tramp-get-connection-buffer'.
10692 (tramp-cleanup): New defun.
10693 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10694 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10695 an error unchanged.
10696 (tramp-completion-handle-file-name-all-completions): Handle hops.
10697 Fix an error when called from ido.
10698 (tramp-completion-dissect-file-name): Use better local variable
10699 name. Add hop to the vector.
10700 (tramp-handle-insert-file-contents): Use progress-reporter for the
10701 whole scenario.
10702 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10703 to `t'.
10704 (tramp-check-for-regexp): Simplify search.
10705 (tramp-enter-password): Remove it. Move implementation ...
10706 (tramp-action-password): ... here.
10707 (tramp-mode-string-to-int, tramp-local-host-p)
10708 (tramp-make-tramp-temp-file, tramp-read-passwd)
10709 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10710 Set tramp-autoload cookie.
10711
10712 * net/trampver.el: Update release number.
10713
10714 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10715 Michael Albinus <michael.albinus@gmx.de>
10716
10717 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10718 (tramp-parse-group, tramp-parse-file)
10719 (tramp-parse-shostkeys-sknownhosts): New defuns.
10720 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10721 (tramp-parse-shosts-group, tramp-parse-sconfig)
10722 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10723 (tramp-parse-sknownhosts, tramp-parse-hosts)
10724 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10725 Use them.
10726 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10727 (tramp-parse-putty-group): Don't narrow.
10728 (tramp-parse-putty): Make a loop.
10729 (tramp-file-name-handler): Catch the `suppress' signal.
10730
10731 2012-06-11 Chong Yidong <cyd@gnu.org>
10732
10733 * image.el (imagemagick-register-types): Put the ImageMagick entry
10734 at the end of image-type-file-name-regexps.
10735
10736 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10737
10738 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10739 (pcase, pcase-let*, pcase-dolist): Use them.
10740
10741 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10742
10743 * emacs-lisp/pcase.el (pcase--let*): New function.
10744 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10745 (pcase--expand): Use macroexp-let².
10746
10747 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10748
10749 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10750 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10751 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10752 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10753 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10754 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10755
10756 2012-06-10 Glenn Morris <rgm@gnu.org>
10757
10758 * mail/rmail.el (rmail-yank-current-message): Leave point at
10759 correct position. (Bug#11660)
10760
10761 2012-06-10 Chong Yidong <cyd@gnu.org>
10762
10763 * allout-widgets.el: Fix code header.
10764
10765 2012-06-10 Chong Yidong <cyd@gnu.org>
10766
10767 * cus-edit.el (customize-changed-options-previous-release):
10768 Bump to 24.1.
10769
10770 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10771
10772 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10773
10774 2012-06-09 Chong Yidong <cyd@gnu.org>
10775
10776 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10777
10778 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10779
10780 * window.el (special-display-popup-frame): Don't use
10781 window--display-buffer (Bug#11651).
10782
10783 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10784
10785 Fix parallel builds: make sure loaddefs.el is not being written
10786 while Lisp files are compiled.
10787 (compile): Don't depend on 'mh-autoloads'.
10788 (compile-CMD, compile-SH): Depend on 'autoloads'.
10789 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10790
10791 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10792
10793 2012-06-09 Chong Yidong <cyd@gnu.org>
10794
10795 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10796 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10797 Doc fixes (Bug#11225).
10798
10799 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10800
10801 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10802 a function if there's a clear indication that it has a compiler-macro.
10803 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10804 (macro-declarations-alist): Add arglist to declaration functions.
10805 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10806 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10807 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10808 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10809 Also add autoload to find the compiler macro.
10810 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10811 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10812 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10813 (cl--compiler-macro-get): New functions, replacing calls to
10814 cl-define-compiler-macro.
10815 (cl-typep) [compiler-macro]: Use macroexp-let².
10816
10817 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10818
10819 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10820 string properly, fixes Bug#11473.
10821
10822 2012-06-08 Chong Yidong <cyd@gnu.org>
10823
10824 * faces.el (set-face-attribute): Doc fix.
10825 (modify-face): Don't use :bold and :italic.
10826 (error, warning, success): Tweak definitions.
10827
10828 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10829 (custom-modified, custom-set, custom-changed, custom-themed)
10830 (custom-saved, custom-button, custom-button-mouse)
10831 (custom-button-pressed, custom-state, custom-comment-tag)
10832 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10833 (custom-group-subtitle): Use new-style face specs.
10834 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10835 (custom-set-face, custom-changed-face, custom-saved-face)
10836 (custom-button-face, custom-button-pressed-face)
10837 (custom-documentation-face, custom-state-face)
10838 (custom-comment-face, custom-comment-tag-face)
10839 (custom-variable-tag-face, custom-variable-button-face)
10840 (custom-face-tag-face, custom-group-tag-face-1)
10841 (custom-group-tag-face): Remove obsolete face alias.
10842
10843 * epa.el (epa-validity-high, epa-validity-medium)
10844 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10845 (epa-field-name, epa-field-body):
10846 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10847 (font-lock-keyword-face, font-lock-builtin-face)
10848 (font-lock-function-name-face, font-lock-variable-name-face)
10849 (font-lock-type-face, font-lock-constant-face):
10850 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10851 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10852 * speedbar.el (speedbar-button-face, speedbar-file-face)
10853 (speedbar-directory-face, speedbar-tag-face)
10854 (speedbar-selected-face, speedbar-highlight-face)
10855 (speedbar-separator-face):
10856 * whitespace.el (whitespace-newline, whitespace-space)
10857 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10858 (whitespace-line, whitespace-space-before-tab)
10859 (whitespace-space-after-tab, whitespace-indentation)
10860 (whitespace-empty):
10861 * emulation/cua-base.el (cua-global-mark):
10862 * eshell/em-prompt.el (eshell-prompt):
10863 * net/newst-plainview.el (newsticker-new-item-face)
10864 (newsticker-old-item-face, newsticker-immortal-item-face)
10865 (newsticker-obsolete-item-face, newsticker-date-face)
10866 (newsticker-statistics-face, newsticker-default-face):
10867 * net/newst-reader.el (newsticker-feed-face)
10868 (newsticker-extra-face, newsticker-enclosure-face):
10869 * net/newst-treeview.el (newsticker-treeview-face)
10870 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10871 (newsticker-treeview-immortal-face)
10872 (newsticker-treeview-obsolete-face)
10873 (newsticker-treeview-selection-face):
10874 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10875 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10876 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10877 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10878 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10879 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10880 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10881 (mpuz-text):
10882 * progmodes/vera-mode.el (vera-font-lock-number)
10883 (vera-font-lock-function, vera-font-lock-interface):
10884 * textmodes/table.el (table-cell): Use new-style face specs, and
10885 don't use the old :bold and :italic attributes.
10886
10887 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10888 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10889 (ebrowse-member-class, ebrowse-progress): Likewise.
10890 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10891 (ebrowse-file-name-face, ebrowse-default-face)
10892 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10893 (ebrowse-progress-face): Remove obsolete faces.
10894
10895 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10896 Inherit from error and warning faces respectively.
10897
10898 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10899 Likewise.
10900 (flyspell-incorrect-face, flyspell-duplicate-face):
10901 Remove obsolete aliases.
10902
10903 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10904
10905 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10906 Avoid infloop.
10907
10908 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10909
10910 * startup.el (argv, argi): Make lexically scoped.
10911 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10912 * emacs-lisp/cl-macs.el: Use lexical-binding.
10913 Rename cl-bind-* to cl--bind-*.
10914 * files.el: Don't require `cl' since it doesn't use it.
10915 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10916
10917 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10918
10919 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10920 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10921 instead of calling external sort utility.
10922 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10923
10924 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10925
10926 * descr-text.el (describe-char): Mention how to insert the
10927 character, if the current input method doesn't support it.
10928 See the discussion in this thread for the details:
10929 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10930
10931 2012-06-08 Sam Steingold <sds@gnu.org>
10932
10933 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10934 XF86Back to previous-buffer.
10935 (minibuffer-local-map): Bind them to next-history-element and
10936 previous-history-element respectively.
10937 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10938 help-go-back respectively.
10939 * info.el (Info-mode-map): Bind them to Info-history-forward and
10940 Info-history-back respectively.
10941 These are the keys next to Up on the ThinkPad keyboard.
10942
10943 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10944
10945 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10946 * emacs-lisp/cl-macs.el: Provide itself.
10947 (cl--labels-convert-cache): New var.
10948 (cl--labels-convert): New function.
10949 (cl-flet, cl-labels): New implementation with new semantics, relying on
10950 lexical-binding.
10951 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10952 (cl-closure-vars, cl--function-convert-cache)
10953 (cl--function-convert): Move from cl-macs.el.
10954 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10955 rename by removing the "cl-" prefix.
10956 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10957
10958 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10959
10960 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10961 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10962 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10963 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10964 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10965 (cl-hash-table-count): Add old compatibility aliases.
10966
10967 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10968 Use macroexpand-all-environment instead.
10969 (cl--old-macroexpand): New var.
10970 (cl--sm-macroexpand): New function.
10971 (cl-symbol-macrolet): Use it during macro expansion.
10972 (cl--function-convert-cache): New var.
10973 (cl--function-convert): New function, extracted from
10974 cl-macroexpand-all.
10975 (cl-lexical-let): Use it.
10976
10977 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10978 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10979 (cl-member): Remove old alias.
10980
10981 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10982 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10983 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10984 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10985 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10986 (cl-macroexpand-cmacs): Remove var.
10987 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10988 Use macroexpand-all instead.
10989
10990 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10993 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10994 (macroexp-copyable-p): New functions and macros.
10995 * emacs-lisp/edebug.el (edebug-unwrap):
10996 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10997 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10998 (pcase--let*): Remove.
10999 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11000 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11001 macroexp-const-p instead.
11002 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11003
11004 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11005 instead of "cl-" for internal definitions. Use macroexp-const-p.
11006 (cl-old-bc-file-form): Remove var.
11007 (cl-const-exprs-p): Remove fun.
11008 (cl-labels, cl-macrolet): Use backquote.
11009 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11010 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11011 (cl-define-setf-expander): Rename from cl-define-setf-method.
11012 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11013
11014 * international/mule-cmds.el: Don't require CL.
11015 (view-hello-file): Don't use `letf'.
11016
11017 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11018
11019 * tmm.el (tmm-prompt): Use string-prefix-p.
11020 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11021 (tmm-add-prompt): Use minibuffer-completion-help.
11022 (tmm-delete-map): Remove.
11023
11024 * subr.el (kbd): Make it its own function.
11025
11026 2012-06-07 Stefan Merten <smerten@oekonux.de>
11027
11028 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11029 Silence compiler warnings. Fix versions.
11030 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11031 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11032 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11033 (rst-package-emacs-version-alist): Correct Emacs version to
11034 represent major merge with upstream.
11035 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11036
11037 2012-06-06 Glenn Morris <rgm@gnu.org>
11038
11039 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11040 Only print environment variables if set.
11041
11042 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11043
11044 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11045 (macroexp--cons): Rename from maybe-cons.
11046 (macroexp--accumulate): Rename from macroexp-accumulate.
11047 (macroexp--all-forms): Rename from macroexpand-all-forms.
11048 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11049 (macroexp--expand-all): Rename from macroexpand-all-1.
11050
11051 2012-06-06 Sam Steingold <sds@gnu.org>
11052
11053 * calendar/calendar.el (calendar-in-read-only-buffer):
11054 Call `special-mode' to enable the standard read-only keybindings.
11055
11056 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11057
11058 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11059 with "loading" messages (bug#11635).
11060
11061 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11062
11063 * files.el (enable-remote-dir-locals): New option.
11064 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11065
11066 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11067 Ensure, that the temp directory is local.
11068
11069 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11070 `temporary-file-directory'.
11071
11072 * progmodes/python.el (python-send-region): Ensure, that the
11073 temporary file is created also in the remote case.
11074
11075 2012-06-06 Glenn Morris <rgm@gnu.org>
11076
11077 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11078 (vc-rcs-update-changelog): Use it.
11079
11080 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11081
11082 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11083 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11084 (vc-sccs-diff): Replace use of the external vcdiff script.
11085
11086 2012-06-05 Glenn Morris <rgm@gnu.org>
11087
11088 * ledit.el: Move to obsolete/.
11089
11090 2012-06-05 Sam Steingold <sds@gnu.org>
11091
11092 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11093 patch (Bug#11140).
11094
11095 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 * emacs-lisp/cust-print.el: Move to obsolete.
11098
11099 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11100 compiler-macro expansion.
11101
11102 Add native compiler-macro support.
11103 * emacs-lisp/macroexp.el (macroexpand-all-1):
11104 Support compiler-macros directly. Properly follow aliases and apply
11105 the compiler macros more thoroughly.
11106 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11107 macroexpand now properly follows aliases.
11108 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11109 (cl-compiler-macroexpand): Use new prop.
11110 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11111
11112 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11113
11114 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11115
11116 * window.el (get-lru-window, get-mru-window, get-largest-window):
11117 New argument NOT-SELECTED to avoid picking the selected window.
11118 (window--display-buffer-1, window--display-buffer-2): Replace by
11119 new function window--display-buffer
11120 (display-buffer-same-window, display-buffer-reuse-window)
11121 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11122 Use window--display-buffer.
11123 (display-buffer-use-some-window): Remove temporary dedication
11124 hack by calling get-lru-window and get-largest-window with
11125 NOT-SELECTED argument non-nil. Call window--display-buffer.
11126
11127 2012-06-05 Glenn Morris <rgm@gnu.org>
11128
11129 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11130 Replace external vcdiff script.
11131
11132 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11133
11134 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11135
11136 2012-06-04 Chong Yidong <cyd@gnu.org>
11137
11138 * image.el (imagemagick-types-inhibit): Revert last change.
11139 Add INFO and M.
11140 (imagemagick-enabled-types): Remove CIN and EPS*.
11141
11142 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 * emacs-lisp/cl-lib.el: Rename from cl.el.
11145 * emacs-lisp/cl.el: New compatibility file.
11146 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11147 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11148 to obey the "cl-" prefix.
11149 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11150
11151 2012-06-03 Glenn Morris <rgm@gnu.org>
11152
11153 * emacs-lisp/authors.el (authors-aliases): Addition.
11154
11155 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11156 Fix :version.
11157
11158 2012-06-03 Stefan Merten <smerten@oekonux.de>
11159
11160 * textmodes/rst.el: Add comments.
11161 (rst-transition, rst-adornment): New faces.
11162 (rst-adornment-faces-alist): Make default safe to reevaluate.
11163 Fixes
11164 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11165 Improve customization tags.
11166 (rst-define-level-faces): Clarify meaning.
11167
11168 2012-06-03 Chong Yidong <cyd@gnu.org>
11169
11170 * progmodes/compile.el (compilation-mode-line-fail)
11171 (compilation-mode-line-run, compilation-mode-line-exit):
11172 New faces.
11173 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11174
11175 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11176
11177 * progmodes/which-func.el (which-func-update-ediff-windows):
11178 New function. Use it in ediff-select-hook (Bug#11478).
11179
11180 2012-06-03 Chong Yidong <cyd@gnu.org>
11181
11182 * bindings.el: Remove explicit help text from format-mode-line.
11183 It is now supplied by mode-line-default-help-echo.
11184 (mode-line-front-space, mode-line-end-spaces)
11185 (mode-line-misc-info): New variables.
11186 (mode-line-modes, mode-line-position): Move the default value to
11187 the variable definition.
11188 (mode-line-default-help-echo): New defcustom.
11189 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11190 (mode-line-modified-help-echo): New functions.
11191 (mode-line-mule-info, mode-line-modified): Use them.
11192 (mode-line-eol-desc, propertized-buffer-identification):
11193 Consistency fixes for help text.
11194 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11195 set-buffer-file-coding-system (Bug#289).
11196 (mode-line-mule-info-help-echo): Update help text.
11197
11198 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11199
11200 * simple.el (execute-extended-command): Set real-this-command
11201 (bug#11506).
11202
11203 2012-06-02 Chong Yidong <cyd@gnu.org>
11204
11205 Remove incorrect uses of "modeline" in comments, docstrings, and
11206 function/variable names (Bug#10329).
11207
11208 * cus-edit.el (mode-line):
11209 * dframe.el (dframe-mouse-hscroll):
11210 * emacs-lisp/re-builder.el:
11211 * emacs-lisp/easy-mmode.el (define-minor-mode):
11212 * frame.el (set-frame-name):
11213 * help.el (lookup-minor-mode-from-indicator):
11214 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11215 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11216 (c-toggle-hungry-state):
11217 * progmodes/antlr-mode.el (antlr-language-alist):
11218 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11219 * progmodes/vhdl-mode.el (vhdl-mode):
11220 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11221 * term/ns-win.el (ns-face-at-pos):
11222 * term/sup-mouse.el (sup-mouse-report):
11223 * textmodes/flyspell.el (flyspell-mode-line-string):
11224 * textmodes/ispell.el (ispell-highlight-face):
11225 * textmodes/reftex-global.el:
11226 * vc/vc-arch.el (vc-arch-mode-line-string):
11227 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11228 * vc/vc-git.el (vc-git-mode-line-string):
11229 * vc/vc-hooks.el (vc-display-status)
11230 (vc-default-mode-line-string):
11231 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11232
11233 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11234
11235 * dired.el (dired-sort-set-mode-line): Rename from
11236 dired-sort-set-modeline. All callers changed.
11237
11238 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11239 eshell-status-in-modeline.
11240
11241 * foldout.el (foldout-mode-line-string): Rename from
11242 foldout-modeline-string. All callers changed.
11243 (foldout-update-mode-line): Rename from foldout-update-modeline.
11244
11245 * subr.el (redraw-modeline): Make into obsolete alias.
11246
11247 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11248 timeclock-modeline-display. Make old name an alias.
11249 (timeclock-update-mode-line): Likewise. All callers changed.
11250 (timeclock-mode-line-display): No need to check before using
11251 add-hook.
11252 (timeclock-relative, timeclock-day-over-hook)
11253 (timeclock-use-elapsed, timeclock-mode-string)
11254 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11255
11256 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11257 crisp-mode-modeline-string.
11258
11259 * play/solitaire.el (solitaire-build-mode-line): Rename from
11260 solitaire-build-modeline. All callers changed.
11261
11262 * play/zone.el (zone-hiding-mode-line): Rename from
11263 zone-hiding-modeline. All callers changed.
11264 (zone): Remove unusued `modeline-hidden-level' property.
11265
11266 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11267 xscheme-modeline-initialize. All callers changed.
11268
11269 * strokes.el (strokes-lighter): Rename from
11270 strokes-modeline-string.
11271
11272 * textmodes/sgml-mode.el (html-face-tag-alist)
11273 (html-tag-face-alist): Use mode-line face instead of obsolete
11274 alias modeline.
11275
11276 2012-06-02 Stefan Merten <smerten@oekonux.de>
11277
11278 * textmodes/rst.el: Always require `cl'.
11279 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11280
11281 2012-06-02 Chong Yidong <cyd@gnu.org>
11282
11283 * image.el (imagemagick-enabled-types): Rename from
11284 imagemagick-types-enable. Add many more types.
11285 (imagemagick-types-inhibit): Change default to nil.
11286 (imagemagick-filter-types): Caller changed.
11287
11288 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11289
11290 * emacs-lisp/cl-macs.el: Use backquotes.
11291 (cl-transform-function-property): Use eval-and-compile rather than
11292 abusing `require'.
11293 (defstruct): Use declare-function instead of with-no-warnings.
11294
11295 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11296 (byte-compile-output-docform): Re-add the print-circle bindings.
11297 (byte-compile-fix-header): Use #$ just because it's shorter.
11298 (byte-compile-output-file-form): Remove defun/defmacro.
11299
11300 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11301
11302 * simple.el (choose-completion): Remove now obsolete binding for
11303 owindow.
11304
11305 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11306
11307 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11308 in order to avoid "Stack overflow in regexp matcher".
11309
11310 2012-05-31 Glenn Morris <rgm@gnu.org>
11311
11312 * image.el: For clarity, call imagemagick-register-types at
11313 top-level, rather than relying on a custom :initialize.
11314 (imagemagick-types-enable): New option. (Bug#11557)
11315 (imagemagick-filter-types): New function. (Bug#7406)
11316 (imagemagick-register-types): Use imagemagick-filter-types.
11317 If disabling support, remove elements altogether rather
11318 than using an impossible regexp.
11319 (imagemagick-types-inhibit): Give it the default init function.
11320
11321 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11322
11323 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11324 Handle arbitrary file name lengths (Bug#11585).
11325
11326 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11327
11328 * desktop.el (desktop-read): Clear previous and next buffers for
11329 all windows and bury *Messages* buffer (bug#11556).
11330
11331 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11332
11333 Add `declare' for `defun'. Align `defmacro's with it.
11334 * emacs-lisp/easy-mmode.el (define-minor-mode)
11335 (define-globalized-minor-mode): Don't autoload the var definitions.
11336 * emacs-lisp/byte-run.el: Use lexical-binding.
11337 (defun-declarations-alist, macro-declarations-alist): New vars.
11338 (defmacro, defun): Use them.
11339 (make-obsolete, define-obsolete-function-alias)
11340 (make-obsolete-variable, define-obsolete-variable-alias):
11341 Use `declare'.
11342 (macro-declaration-function): Mark obsolete.
11343 * emacs-lisp/autoload.el: Use lexical-binding.
11344 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11345
11346 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11347
11348 * textmodes/ispell.el (ispell-with-no-warnings):
11349 Define as a macro.
11350 (ispell-kill-ispell, ispell-change-dictionary):
11351 Use `called-interactively-p' for Emacs instead of obsolete
11352 `interactive-p'.
11353
11354 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11355
11356 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11357 (macro-declaration-function): Move var from C code.
11358 (macro-declaration-function): Define function with defalias.
11359 * emacs-lisp/macroexp.el (macroexpand-all-1):
11360 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11361 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11362 defun/defmacro any more.
11363 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11364 Provide fallback for unknown arglist.
11365 (byte-compile-arglist-warn): Change calling convention.
11366 (byte-compile-output-file-form): Move print-vars binding.
11367 (byte-compile-output-docform): Simplify accordingly.
11368 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11369 (byte-compile-defmacro-declaration): Remove.
11370 (byte-compile-file-form-defmumble): Generalize to defalias.
11371 (byte-compile-output-as-comment): Return byte-positions.
11372 Simplify callers accordingly.
11373 (byte-compile-lambda): Use `assert'.
11374 (byte-compile-defun, byte-compile-defmacro): Remove.
11375 (byte-compile-file-form-defalias):
11376 Use byte-compile-file-form-defmumble.
11377 (byte-compile-defalias-warn): Remove.
11378
11379 2012-05-29 Stefan Merten <smerten@oekonux.de>
11380
11381 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11382 possible. Fix authors. Improve comments. Improve loading of `cl'.
11383
11384 (rst-mode-abbrev-table): Merge definition.
11385 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11386 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11387
11388 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11389
11390 * calendar/icalendar.el
11391 (icalendar-export-region): Export UID properly.
11392
11393 2012-05-29 Leo Liu <sdl.web@gmail.com>
11394 * calendar/icalendar.el (icalendar-import-format):
11395 Add `icalendar-import-format-uid' (Bug#11525).
11396 (icalendar-import-format-uid): New.
11397 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11398 Export UID.
11399
11400 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11401
11402 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11403 different alternative patterns.
11404 (pcase-codegen): Be more careful to preserve identity.
11405 (pcase--u1): Don't forget to mark vars as used.
11406
11407 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11408 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11409 (byte-compile-from-buffer): ...rather than here.
11410
11411 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11412 functions from byte-compile-function-environment.
11413
11414 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11415
11416 * window.el (window-deletable-p): Avoid deleting the root window
11417 of a frame with an active minibuffer.
11418
11419 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11420
11421 * simple.el (choose-completion): Use quit-window (Bug#11567).
11422
11423 2012-05-29 Chong Yidong <cyd@gnu.org>
11424
11425 * whitespace.el (whitespace-cleanup): Fix usage of
11426 whitespace-empty-at-bob-regexp (Bug#11492).
11427
11428 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11429
11430 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11431 revert (Bug#11488).
11432
11433 2012-05-29 Juri Linkov <juri@jurta.org>
11434
11435 * isearch.el (isearch-mode-map): Bind `M-s _' to
11436 `isearch-toggle-symbol'. Bind `M-s c' to
11437 `isearch-toggle-case-fold'.
11438 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11439 (isearch-forward): Add `M-s _' to the docstring.
11440 (isearch-forward-symbol, isearch-toggle-case-fold)
11441 (isearch-symbol-regexp): New functions. (Bug#11381)
11442
11443 2012-05-29 Juri Linkov <juri@jurta.org>
11444
11445 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11446 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11447 a function, call it to get the regexp.
11448 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11449 property `isearch-message-prefix' instead of the string "word ".
11450 (isearch-search-fun-default): For the case of `isearch-word',
11451 return a lambda that calls re-search-forward/re-search-backward
11452 with a regexp returned by `word-search-regexp' or by the function
11453 in `isearch-word'.
11454
11455 2012-05-29 Juri Linkov <juri@jurta.org>
11456
11457 * isearch.el (isearch-search-fun-default): New function.
11458 (isearch-search-fun): Move default part to the new function
11459 `isearch-search-fun-default'.
11460 (isearch-search-fun-function): Set the default value to
11461 `isearch-search-fun-default'. (Bug#11381)
11462
11463 * comint.el (comint-history-isearch-end):
11464 Use `isearch-search-fun-default'.
11465 (comint-history-isearch-search): Use `isearch-search-fun-default'
11466 and remove spacial case for `isearch-word'.
11467 (comint-history-isearch-wrap): Remove spacial case for
11468 `isearch-word'.
11469
11470 * hexl.el (hexl-isearch-search-function):
11471 Use `isearch-search-fun-default'.
11472
11473 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11474 Use `word-search-regexp' for `isearch-word'.
11475
11476 * misearch.el (multi-isearch-search-fun):
11477 Use `isearch-search-fun-default'.
11478
11479 * simple.el (minibuffer-history-isearch-search):
11480 Use `isearch-search-fun-default' and remove spacial case for
11481 `isearch-word'.
11482 (minibuffer-history-isearch-wrap): Remove spacial case for
11483 `isearch-word'.
11484
11485 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11486 Remove spacial case for `isearch-word'.
11487 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11488
11489 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11490
11491 Decrease XEmacs incompatibilities.
11492 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11493 Use `string-match'.
11494 (flyspell-delete-region-overlays): Use alternative definition for
11495 XEmacs.
11496 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11497 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11498 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11499 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11500 `define-obsolete-face-alias' under XEmacs, but old method.
11501
11502 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11503 `with-no-warnings' definition or Emacs alias.
11504 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11505 (ispell-word): Do not use `region-p' if XEmacs.
11506
11507 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11508
11509 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11510 Check for `ispell-dictionary-base-alist' instead of full
11511 `ispell-dictionary-alist'.
11512 (ispell-init-process): Show spellchecker when starting new Ispell
11513 process.
11514
11515 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11516
11517 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11518 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11519
11520 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11521
11522 * version.el (motif-version-string, gtk-version-string)
11523 (ns-version-string): Declare.
11524
11525 2012-05-27 Juri Linkov <juri@jurta.org>
11526
11527 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11528 after the `eval-defun-1' specialcaseing
11529 like in `edebug-eval-defun' (bug#10181).
11530
11531 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11532 like in `eval-defun-1'.
11533
11534 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11535
11536 * mail/sendmail.el (mail-yank-region):
11537 Recognize rmail-yank-current-message in addition to insert-buffer.
11538 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11539 a *mail* buffer created through rmail-start-mail with sendmail as
11540 mail-user-agent.
11541
11542 2012-05-27 Chong Yidong <cyd@gnu.org>
11543
11544 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11545 Default to 256 (Bug#11267).
11546
11547 * help.el (describe-mode): Doc fix.
11548
11549 2012-05-26 Glenn Morris <rgm@gnu.org>
11550
11551 * w32-fns.el (w32-init-info): Remove.
11552 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11553
11554 * info.el (info-initialize): For self-contained NS builds, put the
11555 included info/ directory at the front. (Bug#2791)
11556
11557 * paths.el (Info-default-directory-list): Make it a defcustom,
11558 mainly so that we can use custom-initialize-delay.
11559
11560 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11561
11562 * subr.el (buffer-has-markers-at): Mark obsolete.
11563
11564 * subr.el (lambda): Use declare.
11565
11566 * emacs-lisp/lisp-mode.el (lambda):
11567 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11568
11569 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11570
11571 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11572
11573 2012-05-26 Glenn Morris <rgm@gnu.org>
11574
11575 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11576
11577 2012-05-25 Glenn Morris <rgm@gnu.org>
11578
11579 * paths.el: Remove no-byte-compile.
11580 * loadup.el: No need to load paths.el uncompiled.
11581
11582 * image.el (imagemagick-types-inhibit): Doc fix.
11583
11584 * version.el: Remove no-byte-compile and associated formatting.
11585 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11586 is ancient code from when there was an "inc-vers.el".
11587
11588 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * progmodes/gdb-mi.el: Minor style changes.
11591 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11592 Turn into minor modes.
11593 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11594 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11595 (gdb-shell): Remove unneeded let-binding.
11596 (gdb-get-many-fields): Eliminate O(n²) behavior.
11597
11598 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11599
11600 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11601 platforms that don't link in fontset.c.
11602
11603 2012-05-25 Juri Linkov <juri@jurta.org>
11604
11605 Use the same diff color scheme as in modern VCSes (bug#10181).
11606
11607 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11608 to avoid confusion with `diff-added' that now uses green colors.
11609 (diff-removed): Use shades of red.
11610 (diff-added): Use shades of green.
11611 (diff-changed): Leave just the yellow color.
11612 (diff-use-changed-face): New variable.
11613 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11614 how to highlight context diff changes.
11615 (diff-refine-change): Use shades of yellow.
11616 (diff-refine-removed): New face that uses shades of red.
11617 (diff-refine-added): New face that uses shades of green.
11618 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11619 `diff-refine-removed' in the call to `smerge-refine-subst'
11620 depending on the value of `diff-use-changed-face'.
11621
11622 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11623 (smerge-other): Use shades of green.
11624 (smerge-base): Use shades of yellow.
11625 (smerge-refined-change): Empty face.
11626 (smerge-refined-removed): New face that uses shades of red.
11627 (smerge-refined-added): New face that uses shades of green.
11628 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11629 args `props-r' and `props-a', and use them. Doc fix.
11630 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11631 on its value use different faces `smerge-refined-change',
11632 `smerge-refined-removed', `smerge-refined-added' in the call to
11633 `smerge-refine-subst'.
11634
11635 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11636 Add face condition `min-colors 88' with shades of red.
11637 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11638 `min-colors 88' with shades of green.
11639 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11640 `min-colors 88' with shades of yellow.
11641
11642 2012-05-24 Glenn Morris <rgm@gnu.org>
11643
11644 * paths.el (prune-directory-list, remote-shell-program): Move to...
11645 * files.el (prune-directory-list, remote-shell-program): ...here.
11646 For the latter, delay initialization, prefer ssh, just search PATH.
11647
11648 * paths.el (term-file-prefix): Move to faces.el (the only user).
11649 * faces.el (term-file-prefix): Move here, make it a defcustom.
11650
11651 * paths.el (news-directory, news-path, news-inews-program):
11652 Move to gnus/nnspool.el.
11653
11654 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11655
11656 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11657 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11658 Make the latter a defcustom, with a delayed initialization.
11659
11660 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11661 These were deleted from Gnus itself late 2010.
11662
11663 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11664
11665 * progmodes/which-func.el (which-func-ff-hook):
11666 Check against user-error, not error.
11667
11668 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11669 cl-specs.el, which no longer exists.
11670
11671 2012-05-22 Glenn Morris <rgm@gnu.org>
11672
11673 * info.el (info-emacs-bug): New command.
11674 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11675 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11676
11677 2012-05-21 Glenn Morris <rgm@gnu.org>
11678
11679 * makefile.w32-in (update-subdirs-SH):
11680 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11681
11682 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11685
11686 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11687 Simplify Maven regexp, and make sure the file can't start with a space
11688 (bug#11517).
11689
11690 2012-05-21 Glenn Morris <rgm@gnu.org>
11691
11692 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11693 Scrap superfluous subshells.
11694
11695 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11698 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11699
11700 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11701
11702 * calc/calc.el (calc-ensure-consistent-units): New variable.
11703
11704 * calc/calc-units.el (math-consistent-units-p)
11705 (math-check-unit-consistency): New functions.
11706 (calc-quick-units, calc-convert-units):
11707 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11708 is non-nil.
11709 (calc-extract-units): Fix typo.
11710
11711 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11712
11713 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11714
11715 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11716 (flyspell-default-deplacement-commands): Don't spell check after
11717 repeated window/frame switches (e.g. triggered by mouse-movement).
11718 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11719 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11720 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11721 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11722 Remove unused vars.
11723 (flyspell-get-casechars, flyspell-get-not-casechars):
11724 Simplify; Don't bother removing a ] just to add it back.
11725 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11726
11727 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11728
11729 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11730 New functions.
11731 (math-function-table): Add support for more C functions.
11732
11733 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11734
11735 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11736 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11737 Protect delay handling for otherchars against empty otherchars.
11738
11739 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11740
11741 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11742 their respective macro declarations.
11743 * skeleton.el (define-skeleton):
11744 * progmodes/compile.el (define-compilation-mode):
11745 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11746 (define-ibuffer-filter):
11747 * emacs-lisp/generic.el (define-generic-mode):
11748 * emacs-lisp/easy-mmode.el (define-minor-mode)
11749 (define-globalized-minor-mode):
11750 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11751 * emacs-lisp/byte-run.el (defsubst):
11752 * custom.el (deftheme): Add doc-string metadata.
11753
11754 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11755
11756 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11757
11758 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11759
11760 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11761
11762 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11763 * emacs-lisp/cl-macs.el: Idem.
11764 * emacs-lisp/cl-specs.el: Remove.
11765
11766 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11767
11768 Minor renaming of internal CL functions and variables.
11769 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11770 (cl--position): Rename from cl-position.
11771 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11772 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11773 (cl--random-state): Rename from *random-state*.
11774
11775 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11776
11777 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11778 parens around the arg list (bug#11499).
11779
11780 2012-05-17 Juri Linkov <juri@jurta.org>
11781
11782 * isearch.el (word-search-regexp, word-search-backward)
11783 (word-search-forward, word-search-backward-lax)
11784 (word-search-forward-lax): Move functions from search.c
11785 (bug#10145, bug#11381).
11786
11787 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11788
11789 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11790 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11791 Delay for otherchars as for normal word components.
11792
11793 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * minibuffer.el (completion--sifn-requote): Fix last change.
11796 (minibuffer-local-must-match-filename-map):
11797 Move define-obsolete-variable-alias before its var.
11798
11799 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11800
11801 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11802
11803 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11804 behavior.
11805 (completion--string-equal-p): New function.
11806 (completion--twq-all): Use it to get better assertion failure data.
11807
11808 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11809 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11810 (shell--requote-argument): New functions.
11811 (shell-completion-vars): Use them.
11812 (shell--parse-pcomplete-arguments): Rename from
11813 shell-parse-pcomplete-arguments.
11814 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11815 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11816 Obey comint-file-name-quote-list.
11817
11818 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11819 (smie-indent-keyword): Use it.
11820
11821 2012-05-14 Stefan Merten <smerten@oekonux.de>
11822
11823 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11824
11825 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11826
11827 * net/rlogin.el (rlogin-mode-map): Fix last change.
11828
11829 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11830
11831 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11832 the following \r\n using a single `process-send-string', since the
11833 Lotus SMTP server refuses to accept any commands if they are sent
11834 with two `process-send-string's (Bug#11444).
11835
11836 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11837
11838 * shell.el (shell-parse-pcomplete-arguments):
11839 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11840
11841 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11842
11843 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11844 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11845 (image-transform-width, image-transform-fit-width): New functions.
11846 (image-transform-properties): Use them.
11847 (image-transform-check-size): New function.
11848 (image-toggle-display-image): Use it (for testing).
11849 (image-transform-set-rotation): Reduce angle mod 360.
11850 Delete obsolete comment.
11851
11852 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11853
11854 * image-mode.el: Fix scaling (bug#11399).
11855 (image-transform-resize): Doc fix.
11856 (image-transform-properties): Default scale is 1 and height should
11857 be an integer.
11858
11859 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11860
11861 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11862 than hard-coding `car', to fix misbehavior when moving forward.
11863
11864 2012-05-13 Chong Yidong <cyd@gnu.org>
11865
11866 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11867 (tabulated-list-entries, tabulated-list-padding)
11868 (tabulated-list-sort-key): Make permanent-local.
11869
11870 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11871 (electric-buffer-list): Put electric buffer menu
11872 command descriptions in this docstring, instead of the docstring
11873 of electric-buffer-menu-mode. Code cleanups.
11874 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11875 Electric-buffer-menu-mode.
11876 (electric-buffer-update-highlight): Minor code cleanup.
11877
11878 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11879
11880 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11881 (Bug#11447)
11882
11883 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11884
11885 Move define-obsolete-variable-alias before the var's definition.
11886 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11887 * tooltip.el (tooltip-hook):
11888 * textmodes/reftex-toc.el (reftex-toc-map):
11889 * textmodes/reftex-sel.el (reftex-select-label-map)
11890 (reftex-select-bib-map):
11891 * textmodes/reftex-index.el (reftex-index-map)
11892 (reftex-index-phrases-map):
11893 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11894 * progmodes/meta-mode.el (meta-mode-map):
11895 * novice.el (disabled-command-hook):
11896 * loadhist.el (unload-hook-features-list):
11897 * frame.el (blink-cursor):
11898 * files.el (find-file-not-found-hooks, write-file-hooks)
11899 (write-contents-hooks):
11900 * emulation/tpu-edt.el (GOLD-map):
11901 * emacs-lock.el (emacs-lock-from-exiting):
11902 * emacs-lisp/generic.el (generic-font-lock-defaults):
11903 * emacs-lisp/chart.el (chart-map):
11904 * dos-fns.el (register-name-alist):
11905 * dired-x.el (dired-omit-files-p):
11906 * desktop.el (desktop-enable):
11907 * cus-edit.el (custom-mode-hook):
11908 * buff-menu.el (buffer-menu-mode-hook):
11909 * bookmark.el (bookmark-read-annotation-text-func)
11910 (bookmark-exit-hooks):
11911 * allout.el (allout-mode-deactivate-hook)
11912 (allout-exposure-change-hook, allout-structure-added-hook)
11913 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11914 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11915 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11916 comes before the corresponding variable's definition.
11917
11918 2012-05-12 Chong Yidong <cyd@gnu.org>
11919
11920 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11921 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11922 (Buffer-menu-mode-map): Bind it.
11923 (Buffer-menu--pretty-name): Add a mouse-face property.
11924
11925 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11926
11927 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11928 (prolog-upper-case-string, prolog-lower-case-string)
11929 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11930 (prolog-use-smie, prolog-smie-grammar): New vars.
11931 (prolog-smie-forward-token, prolog-smie-backward-token)
11932 (prolog-smie-rules): New funs.
11933 (prolog-comment-indent): Remove.
11934 (prolog-mode-variables): Use default comment indentation instead.
11935 Setup SMIE.
11936 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11937 (prolog-mode): Don't call them any more.
11938 (prolog-electric-colon, prolog-electric-dash)
11939 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11940
11941 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11942
11943 * minibuffer.el (completion--twq-all): Again, allow case differences.
11944
11945 * term.el: Move keymap initialization code to be more idiomatic.
11946 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11947 (term-terminal-menu): Move initialization into declaration.
11948 (term-escape-char): Let the user set it in her .emacs.
11949
11950 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11951 Provide SMIE-based indentation (not enabled by default yet).
11952 (sh-mode-map): Don't bind electric keys.
11953 Use electric-pair-mode instead of skeleton-pair.
11954 (sh-assignment-regexp): Fit within 80 columns.
11955 (sh-indent-supported): Specify actual shell name instead of boolean.
11956 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11957 (sh-maybe-here-document): Use it. Make obsolete.
11958 (sh-electric-here-document-mode) New minor mode.
11959 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11960 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11961 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11962 (sh-smie-rc-grammar, sh-use-smie): New vars.
11963 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11964 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11965 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11966 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11967 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11968 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11969 (sh-set-shell): Use smie-setup if requested.
11970
11971 * term.el (term-set-escape-char): Properly set term-escape-char.
11972 See http://stackoverflow.com/questions/10524656.
11973
11974 2012-05-10 Chong Yidong <cyd@gnu.org>
11975
11976 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11977 Use url-generic-parse-url, and handle host names and Windows
11978 filenames properly.
11979 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11980 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11981 URL schemes to work on.
11982 (ffap--toggle-read-only): New function.
11983 (ffap-read-only, ffap-read-only-other-window)
11984 (ffap-read-only-other-frame): Use it.
11985 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11986 necessary for ffap-url-unwrap-remote.
11987
11988 2012-05-10 Dave Abrahams <dave@boostpro.com>
11989
11990 * cus-start.el (create-lockfiles): Add it.
11991
11992 2012-05-09 Chong Yidong <cyd@gnu.org>
11993
11994 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11995 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11996
11997 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11998
11999 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12000
12001 2012-05-09 Chong Yidong <cyd@gnu.org>
12002
12003 * ansi-color.el (ansi-color-process-output): Check for validity of
12004 comint-last-output-start before using it. This avoids a bad
12005 interaction with gdb-mi's input/output buffer.
12006
12007 2012-05-09 Glenn Morris <rgm@gnu.org>
12008
12009 * files.el (dir-locals-read-from-file):
12010 Mention dir-locals in any error message.
12011
12012 2012-05-09 Chong Yidong <cyd@gnu.org>
12013
12014 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12015 package (Bug#11410).
12016
12017 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12018 variables into description.
12019
12020 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12021
12022 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12023 shell-delimiter-argument-list (bug#11348).
12024 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12025
12026 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12027
12028 * textmodes/rst.el: Silence byte-compiler warnings.
12029 (rst-re-alist, rst-reset-section-caches): Move around.
12030 (rst-re): Use `characterp', not `char-valid-p'.
12031 (font-lock-beg, font-lock-end): Declare.
12032
12033 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12034 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12035
12036 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12037
12038 2012-05-08 Glenn Morris <rgm@gnu.org>
12039
12040 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12041
12042 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12043
12044 * vc/log-edit.el: Add GNU coding standards highlighting.
12045 (log-edit-font-lock-gnu-style)
12046 (log-edit-font-lock-gnu-keywords): New vars.
12047 (log-edit-font-lock-keywords): New fun.
12048 (log-edit-mode): Don't fold case in font-lock.
12049 (log-edit-font-lock-keywords): Do not assume case-folding.
12050
12051 * imenu.el: Misc cleanup. Make docstrings out of comments.
12052 Use lexical-binding.
12053 (imenu--index-alist, imenu--last-menubar-index-alist)
12054 (imenu-menubar-modified-tick): Use defvar-local.
12055 (imenu--split-menu): Remove unused var.
12056 (imenu--cleanup-seen): Declare as global.
12057 (imenu--cleanup): Use dolist.
12058
12059 * subr.el (defvar-local): Add debug spec and doc-string position.
12060
12061 2012-05-08 Glenn Morris <rgm@gnu.org>
12062
12063 * language/burmese.el, language/cham.el, language/czech.el:
12064 * language/english.el, language/georgian.el, language/greek.el:
12065 * language/japanese.el, language/khmer.el, language/korean.el:
12066 * language/lao.el, language/misc-lang.el, language/romanian.el:
12067 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12068 * language/thai.el, language/utf-8-lang.el:
12069 Remove no-byte-compile setting.
12070
12071 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12072
12073 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12074
12075 * progmodes/make-mode.el (makefile-browse):
12076 Remove unnecessary interactive. (Bug#11324)
12077
12078 2012-05-07 Glenn Morris <rgm@gnu.org>
12079
12080 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12081
12082 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12083
12084 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12085
12086 * loadup.el: Preload newcomment.el.
12087 * newcomment.el: Move autoload-only code to toplevel.
12088
12089 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12090 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12091 Handle new :right-align column property.
12092 (tabulated-list-print-col): Idem, plus use `display' text-property to
12093 try and preserve alignment for variable pitch fonts.
12094
12095 2012-05-07 Chong Yidong <cyd@gnu.org>
12096
12097 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12098 (tabulated-list-use-header-line): New var.
12099 (tabulated-list-init-header): Use it.
12100 (tabulated-list-print-fake-header): New function.
12101 (tabulated-list-print): Use it.
12102 (tabulated-list-sort-button-map): Add non-header-line commands.
12103 (tabulated-list-init-header): Add column name property to basic
12104 labels as well.
12105 (tabulated-list-col-sort): Handle non-header-line button case.
12106 (tabulated-list--sort-by-column-name): Fix a corner case.
12107
12108 * buff-menu.el (list-buffers--refresh):
12109 Handle Buffer-menu-use-header-line.
12110
12111 2012-05-06 Chong Yidong <cyd@gnu.org>
12112
12113 * buff-menu.el: Convert to Tabulated List mode.
12114 (Buffer-menu-buffer+size-width): Make obsolete.
12115 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12116 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12117 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12118 documentation into docstring of buffer-menu.
12119 (Buffer-menu-toggle-files-only): Add an informative message.
12120 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12121 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12122 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12123 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12124 (Buffer-menu-execute, Buffer-menu-select)
12125 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12126 (Buffer-menu-bury): Use Tabulated List machinery.
12127 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12128 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12129 Delete.
12130 (list-buffers--refresh): New function.
12131 (list-buffers-noselect): Use it.
12132 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12133 (Buffer-menu--pretty-file-name): New helper functions.
12134
12135 * loadup.el: Preload tabulated-list.
12136
12137 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12138 tabulated-list-sort-column.
12139 (tabulated-list-init-header): Add the initial aligning space even
12140 if tabulated-list-padding is zero.
12141
12142 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12143
12144 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12145 whose cdr is not a cons cell correctly (bug#11038).
12146
12147 2012-05-06 Chong Yidong <cyd@gnu.org>
12148
12149 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12150 Accept additional plist in column descriptors.
12151 (tabulated-list-init-header): Obey it.
12152 (tabulated-list-get-entry): New function.
12153 (tabulated-list-put-tag): Use it. Use string-width instead of
12154 length.
12155 (tabulated-list--column-number): New function.
12156 (tabulated-list-print): Use it.
12157 (tabulated-list-print-col): New function.
12158 Set `tabulated-list-column-name' property on each column's text.
12159 (tabulated-list-print-entry): Use it.
12160 (tabulated-list-delete-entry, tabulated-list-set-col):
12161 New functions.
12162 (tabulated-list-sort-column): New command (Bug#11337).
12163
12164 * buff-menu.el (list-buffers): Move C-x C-b binding from
12165 buff-menu.el to bindings.el.
12166
12167 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12168 :advertised-binding feature.
12169
12170 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12171
12172 * progmodes/compile.el (compilation-internal-error-properties):
12173 Calculate start position correctly when end-col is set but
12174 end-line is not (Bug#11382).
12175
12176 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12177
12178 * man.el (Man-unindent): Use text-property-default-nonsticky to
12179 prevent untabify from inheriting face properties (Bug#11408).
12180
12181 2012-05-05 Stefan Merten <smerten@oekonux.de>
12182
12183 * textmodes/rst.el: Major merge with upstream development up to
12184 Docutils SVN r7399 / rst.el V1.2.1.
12185
12186 Clarify maintainership and authors.
12187
12188 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12189 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12190 (rst-official-version, rst-official-cvs-rev, rst-version)
12191 (rst-package-emacs-version-alist): New functions and variables
12192 for version information.
12193
12194 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12195 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12196 (rst-mode-syntax-table, rst-mode): New and corrected functions
12197 and variables representing reStructuredText features.
12198
12199 (rst-re): New function for reStructuredText regexes. Use in
12200 many places.
12201
12202 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12203 (rst-mode-map): Rebind keys.
12204
12205 (rst-mode-lazy, rst-font-lock-keywords)
12206 (rst-font-lock-extend-region)
12207 (rst-font-lock-extend-region-internal)
12208 (rst-font-lock-extend-region-extend)
12209 (rst-font-lock-find-unindented-line-limit)
12210 (rst-font-lock-find-unindented-line-match)
12211 (rst-adornment-level, rst-font-lock-adornment-level)
12212 (rst-font-lock-adornment-match)
12213 (rst-font-lock-handle-adornment-pre-match-form)
12214 (rst-font-lock-handle-adornment-matcher): Major revision of
12215 font-locking. Integrate with other code. Use `jit-lock-mode'.
12216
12217 (rst-preferred-adornments, rst-adjust-hook)
12218 (rst-new-adornment-down, rst-preferred-bullets)
12219 (rst-preferred-bullets, rst-indent, rst-indent-width)
12220 (rst-indent-field, rst-indent-literal-normal)
12221 (rst-indent-literal-minimized, rst-indent-comment): Change,
12222 extend and improve customization.
12223
12224 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12225 (rst-normalize-cursor-position, rst-get-decoration)
12226 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12227 (rst-rstrip, rst-toc-insert-find-delete-contents)
12228 (rst-shift-fill-region, rst-compute-bullet-tabs)
12229 (rst-debug-print-tabs, rst-debug-mark-found)
12230 (rst-shift-region-guts, rst-shift-region-right)
12231 (rst-shift-region-left, rst-use-char-classes)
12232 (rst-font-lock-keywords-function)
12233 (rst-font-lock-indentation-point)
12234 (rst-font-lock-find-unindented-line-begin)
12235 (rst-font-lock-find-unindented-line-end)
12236 (rst-font-lock-find-unindented-line)
12237 (rst-font-lock-adornment-point, rst-font-lock-level)
12238 (rst-adornment-level-alist): Remove functions and variables.
12239
12240 (rst-compare-adornments, rst-get-adornment-match)
12241 (rst-suggest-new-adornment, rst-get-adornments-around)
12242 (rst-adornment-complete-p, rst-get-next-adornment)
12243 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12244 (rst-straighten-adornments): Standardize function names to
12245 use "adornment" instead of "decoration". Correct callers.
12246 Similar standardizing in many places.
12247
12248 (rst-update-section, rst-adjust, rst-promote-region)
12249 (rst-enumerate-region, rst-bullet-list-region)
12250 (rst-repeat-last-character): Correct use of `interactive'.
12251
12252 (rst-classify-adornment, rst-find-all-adornments)
12253 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12254 (rst-find-leftmost-column, rst-repeat-last-character):
12255 Refactor functions.
12256
12257 (rst-find-title-line, rst-reset-section-caches)
12258 (rst-get-adornments-around, rst-adjust-adornment-work)
12259 (rst-arabic-to-roman, rst-roman-to-arabic)
12260 (rst-insert-list-pos, rst-insert-list-new-item)
12261 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12262 New functions.
12263
12264 (rst-all-sections, rst-section-hierarchy)
12265 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12266 New variables.
12267
12268 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12269 configuration instead of only buffer. Change where necessary.
12270
12271 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12272 (rst-shift-region, rst-adaptive-fill): New functions for
12273 indentation and filling.
12274
12275 (rst-comment-line-break, rst-comment-indent)
12276 (rst-comment-insert-comment, rst-comment-region)
12277 (rst-uncomment-region): New functions for handling comments.
12278
12279 (rst-compile): Quote shell arguments.
12280
12281 (rst-compile-pdf-preview, rst-compile-slides-preview):
12282 Delete temporary files after use.
12283
12284 2012-05-05 Glenn Morris <rgm@gnu.org>
12285
12286 * calendar/cal-html.el: Optionally include holidays in the output.
12287 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12288 (cal-html-holidays): New option.
12289 (cal-html-css-default): Add holiday entry.
12290 (holiday-in-range): Autoload it.
12291 (cal-html-htmlify-entry): Add optional class argument.
12292 (cal-html-htmlify-list): Add optional holidays argument.
12293 (cal-html-insert-agenda-days): Include holidays in the output.
12294 (cal-html-one-month): Maybe include holidays.
12295
12296 * calendar/holidays.el (holiday-in-range):
12297 Move here from cal-tex-list-holidays.
12298 * calendar/cal-tex.el (cal-tex-list-holidays):
12299 Make it an obsolete alias for holiday-in-range. Update all callers.
12300
12301 2012-05-05 Chong Yidong <cyd@gnu.org>
12302
12303 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12304 Nextstep.
12305
12306 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12307
12308 * files.el (file-auto-mode-skip): New var.
12309 (set-auto-mode-1): Use it.
12310
12311 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12312
12313 * repeat.el: Use lexical-binding.
12314 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12315 (repeat-undo-count): Remove.
12316 (repeat):
12317 * progmodes/octave-mod.el (octave-abbrev-start):
12318 * progmodes/f90.el (f90-abbrev-start):
12319 * face-remap.el (text-scale-adjust):
12320 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12321
12322 * emacs-lisp/pcase.el (pcase--let*): New function.
12323 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12324 a bit more.
12325 (pcase--split-pred): Be more clever about ruling out overlap between
12326 a predicate and some constant pattern.
12327 (pcase--q1): Use `null' instead of (eq foo nil).
12328
12329 * subr.el (setq-local, defvar-local): New macros.
12330 (kbd): Redefine as an alias.
12331 (with-selected-window): Leave unrelated frames alone.
12332 (set-temporary-overlay-map): New function.
12333
12334 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12335
12336 * subr.el (user-error): New function.
12337 * window.el (switch-to-buffer):
12338 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12339 (smerge-match-conflict):
12340 * simple.el (previous-matching-history-element)
12341 (next-matching-history-element, goto-history-element, undo-more)
12342 (undo-start):
12343 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12344 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12345 (next-file, tags-loop-scan, list-tags, complete-tag):
12346 * progmodes/compile.el (compilation-loop):
12347 * mouse.el (mouse-minibuffer-check):
12348 * man.el (Man-bgproc-sentinel, Man-goto-page):
12349 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12350 (Info-history-forward, Info-follow-reference, Info-menu)
12351 (Info-extract-menu-item, Info-extract-menu-counting)
12352 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12353 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12354 (Info-next-reference, Info-prev-reference, Info-index)
12355 (Info-index-next, Info-follow-nearest-node)
12356 (Info-copy-current-node-name):
12357 * imenu.el (imenu--make-index-alist)
12358 (imenu-default-create-index-function, imenu-add-to-menubar):
12359 * files.el (basic-save-buffer, recover-file):
12360 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12361 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12362 (checkdoc-message-text, checkdoc-defun):
12363 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12364 * cus-edit.el (customize-changed-options, customize-rogue)
12365 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12366 (custom-variable-mark-to-reset-standard)
12367 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12368 (custom-file):
12369 * completion.el (check-completion-length):
12370 * comint.el (comint-search-arg)
12371 (comint-previous-matching-input-string-position)
12372 (comint-previous-matching-input)
12373 (comint-replace-by-expanded-history-before-point, comint-send-input)
12374 (comint-copy-old-input, comint-backward-matching-input)
12375 (comint-goto-process-mark, comint-set-process-mark):
12376 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12377 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12378
12379 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12380
12381 * dabbrev.el (dabbrev--ignore-case-p): New function.
12382 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12383 Use it.
12384
12385 * files.el (automount-dir-prefix): Mark as obsolete.
12386
12387 2012-05-04 Glenn Morris <rgm@gnu.org>
12388
12389 * patcomp.el, play/bruce.el: Move to obsolete/.
12390
12391 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12392
12393 Fix minor Y10k bugs.
12394 * arc-mode.el (archive-unixdate):
12395 * autoinsert.el (auto-insert-alist):
12396 * calc/calc-forms.el (math-this-year):
12397 * emacs-lisp/copyright.el (copyright-current-year)
12398 (copyright-update-year, copyright):
12399 * tar-mode.el (tar-clip-time-string):
12400 * time.el (display-time-update):
12401 Don't assume years have 4 digits.
12402
12403 2012-05-04 Chong Yidong <cyd@gnu.org>
12404
12405 * dos-w32.el (file-name-buffer-file-type-alist)
12406 (direct-print-region-use-command-dot-com):
12407 * ffap.el (ffap-menu-regexp):
12408 * find-file.el (ff-special-constructs):
12409 * follow.el (follow-debug):
12410 * forms.el (forms--debug):
12411 * iswitchb.el (iswitchb-all-frames):
12412 * ido.el (ido-all-frames):
12413 * emacs-lisp/timer.el (timer-max-repeats):
12414 * mail/feedmail.el (feedmail-mail-send-hook)
12415 (feedmail-mail-send-hook-queued):
12416 * mail/footnote.el (footnote-signature-separator):
12417 * mail/mailabbrev.el (mail-alias-separator-string)
12418 (mail-abbrev-mode-regexp):
12419 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12420 * progmodes/idlwave.el (idlwave-libinfo-file)
12421 (idlwave-default-completion-case-is-down)
12422 (idlwave-library-routines): Convert defvars to defcustoms.
12423
12424 * mail/rmail.el (rmail-decode-mime-charset):
12425 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12426 (idlwave-shell-fix-inserted-breaks)
12427 (idlwave-shell-activate-alt-keybindings)
12428 (idlwave-shell-use-breakpoint-glyph):
12429 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12430
12431 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12432
12433 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12434
12435 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12436
12437 * progmodes/verilog-mode.el (font-lock-keywords):
12438 Fix mis-highligting auto. Reported by Craig Barner.
12439 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12440 defines from global name space. Reported by Dan Dever.
12441 (verilog-auto-reset, verilog-auto-reset-widths)
12442 (verilog-auto-tieoff): Support using unbased numbers for
12443 AUTORESET and AUTOTIEOFF.
12444 (verilog-submit-bug-report): Update variable list.
12445 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12446 parenthesis from not matching. Reported by Michael Rytting.
12447 (verilog-auto-template-lint): Fix hash error when linting modules
12448 with no used templates.
12449 (verilog-warn, verilog-warn-error)
12450 (verilog-warn-fatal): When non-interactive report multiple
12451 warnings before exiting. Suggested by Brad Dobbie.
12452 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12453 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12454 to report unused template errors. Reported by Brad Dobbie.
12455 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12456 nets, bug438. Reported by Vns Blore.
12457 (verilog-auto-inout-module, verilog-auto-reg)
12458 (verilog-read-decls, verilog-read-sub-decls-sig)
12459 (verilog-signals-edit-wire-reg, verilog-signals-with):
12460 Fix passing of Verilog data types in ANSI input/output ports
12461 such as "output logic" into the AUTOs. Special case "wire" and
12462 "reg" for backwards compatibility presuming Verilog 2001.
12463 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12464 (verilog-preprocess): Fix replication of preprocess output.
12465 Reported by Brad Dobbie.
12466 (verilog-auto-inst-interfaced-ports):
12467 Create verilog-auto-inst-interfaced-ports, bug429.
12468 Reported by Julian Gorfajn.
12469 (verilog-after-save-font-hook)
12470 (verilog-before-save-font-hook): New variable.
12471 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12472 (verilog-save-font-mods): Wrap disabling fontification, reported
12473 by David Rogoff.
12474 (verilog-do-indent, verilog-pretty-declarations-auto)
12475 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12476 Reported by Pierre-David Pfister.
12477 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12478 of class declarations, bug292. Reported by Kevin Heilman.
12479 (verilog-read-decls): Fix 'parameter type' not appearing in
12480 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12481 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12482 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12483 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12484 Reported by David Kravitz.
12485
12486 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12487
12488 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12489 assignment with tests in ifs and for loops.
12490 (verilog-extended-complete-re, verilog-complete-reg): Change so
12491 that DPI inport functions don't look like fuction declarations.
12492 (verilog-pretty-expr): Don't line up assignment
12493 operations to the test and increment in if and for loops
12494 (verilog-extended-complete-re, verilog-complete-reg): Change so
12495 that DPI inport functions don't look like fuction declarations.
12496
12497 2012-05-03 Kenichi Handa <handa@m17n.org>
12498
12499 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12500 decoding, and show a warning message without signaling an error
12501 (Bug#11282).
12502
12503 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12504
12505 * emacs-lisp/bytecomp.el
12506 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12507 since cconv.el might have introduced :fun-body, internal-make-closure,
12508 and friends for bytecomp to handle (bug#11391).
12509 * custom.el (defcustom): Avoid ((λ ..) ..).
12510
12511 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12512
12513 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12514
12515 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12516
12517 * notifications.el (dbus-debug):
12518 * term/linux.el (gpm-mouse-enable):
12519 * term/screen.el (xterm-register-default-colors): Declare.
12520
12521 2012-05-02 Chong Yidong <cyd@gnu.org>
12522
12523 * cus-start.el (gc-cons-percentage, exec-suffixes)
12524 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12525 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12526 (make-cursor-line-fully-visible, void-text-area-pointer)
12527 (font-list-limit): Add customization data.
12528
12529 * allout.el (allout-exposure-change-functions)
12530 (allout-structure-added-functions)
12531 (allout-structure-deleted-functions)
12532 (allout-structure-shifted-functions): Rename abnormal hooks from
12533 *-hook, and convert to defcustoms.
12534 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12535 Convert to defcustoms.
12536 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12537
12538 * allout-widgets.el: Hook callers changed.
12539
12540 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12541
12542 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12543 the yanked message in preference to the default value of
12544 buffer-file-coding-system.
12545
12546 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12547
12548 * window.el (display-buffer--action-function-custom-type):
12549 Fix entry.
12550
12551 2012-05-02 Alan Mackenzie <acm@muc.de>
12552
12553 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12554
12555 2012-05-01 Glenn Morris <rgm@gnu.org>
12556
12557 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12558
12559 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12560
12561 * cus-edit.el (custom-variable-documentation): Simplify with format.
12562
12563 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12564 Stefan Monnier <monnier@iro.umontreal.ca>
12565
12566 * simple.el (suggest-key-bindings, execute-extended-command):
12567 Move from keyboard.c.
12568
12569 2012-05-01 Chong Yidong <cyd@gnu.org>
12570
12571 * follow.el: Eliminate advice.
12572 (set-process-filter, process-filter, sit-for): Advice deleted.
12573 (follow-mode-off-hook): Obsolete hook removed.
12574 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12575 Vars deleted.
12576 (follow-auto): Use a :set function.
12577 (follow-mode): Rewritten. Don't advise process filters.
12578 (follow-switch-to-current-buffer-all, follow-scroll-up)
12579 (follow-scroll-down): Assume follow-mode is bound.
12580 (follow-comint-scroll-to-bottom)
12581 (follow-align-compilation-windows): New functions.
12582 (follow--window-sorter): New function.
12583 (follow-all-followers): Use it to explicitly sort windows by their
12584 positions; don't make assumptions about next-window order.
12585 (follow-windows-start-end, follow-delete-other-windows-and-split)
12586 (follow-calc-win-start): Doc fix.
12587 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12588 vertical-motion unnecessarily.
12589 (follow-adjust-window): New function.
12590 (follow-post-command-hook): Use it.
12591 (follow-call-set-process-filter, follow-call-process-filter)
12592 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12593 (follow-stop-intercept-process-output, follow-generic-filter):
12594 Functions deleted.
12595 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12596 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12597 New functions, replacing advice on scroll-bar-* commands.
12598 (follow-mwheel-scroll): New function (Bug#4112).
12599
12600 * comint.el (comint-adjust-point): New function.
12601 (comint-postoutput-scroll-to-bottom): Use it.
12602 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12603
12604 2012-05-01 Glenn Morris <rgm@gnu.org>
12605
12606 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12607 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12608 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12609 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12610 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12611 Remove no-byte-compile setting.
12612
12613 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12614
12615 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12616 all-completions code to not return a number in the last cdr.
12617
12618 2012-04-30 Leo Liu <sdl.web@gmail.com>
12619
12620 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12621 read-only error.
12622
12623 2012-04-29 Chong Yidong <cyd@gnu.org>
12624
12625 * follow.el (follow-calc-win-end): Rewrite to handle partial
12626 screen lines correctly (Bug#8390).
12627 (follow-avoid-tail-recenter): Minor cleanup.
12628
12629 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12630
12631 Avoid the obsolete `assoc' package.
12632 * speedbar.el (speedbar-refresh): Avoid adelete.
12633 (speedbar-file-lists): Simplify and avoid aput.
12634 * man.el (Man--sections, Man--refpages): New vars, replacing
12635 Man-sections-alist and Man-refpages-alist.
12636 (Man-build-section-alist, Man-build-references-alist):
12637 Use them; avoid aput.
12638 (Man--last-section, Man--last-refpage): New vars.
12639 (Man-follow-manual-reference): Use them.
12640 Use the `default' arg of completing-read.
12641 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12642
12643 2012-04-27 Chong Yidong <cyd@gnu.org>
12644
12645 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12646
12647 * startup.el (x-apply-session-resources): New function.
12648
12649 * term/ns-win.el (ns-initialize-window-system):
12650 * term/w32-win.el (w32-initialize-window-system):
12651 * term/x-win.el (x-initialize-window-system): Use it to properly
12652 set menu-bar-mode and other vars from X resources, even if the
12653 initial frame is not a window-system frame (Bug#2299).
12654
12655 * subr.el (read-key): Avoid running filter function when setting
12656 up temporary tool bar entries (Bug#9922).
12657
12658 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12659
12660 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12661 (Bug#11344)
12662
12663 2012-04-27 Chong Yidong <cyd@gnu.org>
12664
12665 * select.el (xselect--encode-string): New function, split from
12666 xselect-convert-to-string.
12667 (xselect-convert-to-string): Use it.
12668 (xselect-convert-to-filename, xselect-convert-to-os)
12669 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12670 returned strings are properly encoded (Bug#11315).
12671
12672 2012-04-27 Chong Yidong <cyd@gnu.org>
12673
12674 * simple.el (delete-active-region): Move to killing custom group.
12675
12676 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12677
12678 * progmodes/which-func.el (which-func-current): Quote %
12679 characters for mode-line processing.
12680
12681 2012-04-27 Chong Yidong <cyd@gnu.org>
12682
12683 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12684 reaching eob (Bug#11286).
12685
12686 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12687
12688 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12689 (gdb): Make it buffer-local and init to zero.
12690 (gdb-control-commands-regexp): New variable.
12691 (gdb-send): Don't wrap in "-interpreter-exec console" if
12692 gdb-control-level is positive. Increment gdb-control-level
12693 whenever the command matches gdb-control-commands-regexp, and
12694 decrement it each time the command is "end". (Bug#11279)
12695
12696 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12697
12698 * window.el (adjust-window-trailing-edge, enlarge-window)
12699 (shrink-window, window-resize):
12700 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12701 windows (Bug#11276).
12702
12703 2012-04-27 Chong Yidong <cyd@gnu.org>
12704
12705 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12706 fix "missing prefix" warning. All callers changed.
12707
12708 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12709
12710 * emacs-lisp/assoc.el: Move to obsolete/.
12711
12712 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12713
12714 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12715
12716 * term/ns-win.el (ns-define-service):
12717 * progmodes/pascal.el (pascal-goto-defun):
12718 * progmodes/js.el (js--read-tab):
12719 * progmodes/etags.el (tags-lazy-completion-table):
12720 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12721 * emacs-lisp/ewoc.el (ewoc--wrap):
12722 * emacs-lisp/assoc.el (aput, adelete, amake):
12723 * doc-view.el (doc-view-convert-current-doc):
12724 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12725
12726 2012-04-26 Chong Yidong <cyd@gnu.org>
12727
12728 * image.el (image-type-from-buffer): Only return supported image
12729 type (Bug#9045).
12730
12731 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12732 value, for symmetry with diff-end-of-hunk.
12733 (diff-split-hunk, diff-find-source-location)
12734 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12735 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12736 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12737 compute the relevant hunk or file properly (Bug#6005).
12738 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12739
12740 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12741
12742 * vc/vc-mtn.el:
12743 * vc/vc-hg.el:
12744 * vc/vc-git.el:
12745 * vc/vc-dir.el:
12746 * vc/vc-cvs.el:
12747 * vc/vc-bzr.el:
12748 * vc/vc-arch.el:
12749 * vc/vc.el: Replace lexical-let by lexical-binding.
12750 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12751 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12752 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12753
12754 2012-04-26 Chong Yidong <cyd@gnu.org>
12755
12756 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12757 (diff-mode-shared-map): Bind it to / and [remap undo].
12758
12759 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12760 (ediff-window-setup-function): Use it as the default, to set up
12761 windows based on whether the current frame is graphical (Bug#2138).
12762 (ediff-choose-window-setup-function-automatically): Make obsolete.
12763
12764 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12765
12766 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12767
12768 * ffap.el: Remove old code for obsolete package.
12769 (ffap-complete-as-file-p): Remove.
12770
12771 Use completion-table-with-quoting for comint and pcomplete.
12772 * comint.el (comint--unquote&requote-argument)
12773 (comint--unquote-argument, comint--requote-argument): New functions.
12774 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12775 (comint-quote-filename): Use regexp-opt-charset.
12776 (comint--common-suffix, comint--common-quoted-suffix)
12777 (comint--table-subvert): Remove.
12778 (comint-unquote-function, comint-requote-function): New vars.
12779 (comint--complete-file-name-data): Use them with
12780 completion-table-with-quoting.
12781 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12782 * pcomplete.el (pcomplete-arg-quote-list)
12783 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12784 (pcomplete-unquote-argument-function): Default to non-nil.
12785 (pcomplete-unquote-argument): Simplify.
12786 (pcomplete--common-quoted-suffix): Remove.
12787 (pcomplete-requote-argument-function): New var.
12788 (pcomplete--common-suffix): New function.
12789 (pcomplete-completions-at-point): Use completion-table-with-quoting
12790 and completion-table-subvert.
12791
12792 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12793 (minibuffer--double-dollars): Preserve properties.
12794 (completion--sifn-requote): New function.
12795 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12796
12797 * minibuffer.el: Add support for completion of quoted/escaped data.
12798 (completion-table-with-quoting, completion-table-subvert): New funs.
12799 (completion--twq-try, completion--twq-all): New functions.
12800 (completion--nth-completion): New function.
12801 (completion-try-completion, completion-all-completions): Use it.
12802
12803 2012-04-25 Leo Liu <sdl.web@gmail.com>
12804
12805 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12806 Use compilation-message if available to find real filename.
12807
12808 2012-04-25 Chong Yidong <cyd@gnu.org>
12809
12810 * vc/diff-mode.el (diff-setup-whitespace): New function.
12811 (diff-mode): Use it.
12812
12813 * vc/diff.el (diff-sentinel):
12814 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12815 Whitespace mode variables based on diff style (Bug#8612).
12816
12817 2012-04-25 Leo Liu <sdl.web@gmail.com>
12818
12819 * progmodes/python.el (python-send-region): Add suffix .py to the
12820 temp file.
12821
12822 * files.el (auto-mode-alist): Use javascript-mode instead.
12823
12824 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12825
12826 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12827
12828 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12829 (soap-resolve-references-for-array-type): Hack to prevent self
12830 references, see Bug#9.
12831 (soap-parse-envelope): Report the contents of the 'detail' node
12832 when receiving a fault reply.
12833 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12834
12835 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12836 (soap-inspect-simple-type): New function.
12837
12838 * net/soap-client.el (soap-simple-type): New struct.
12839 (soap-default-xsd-types, soap-default-soapenc-types)
12840 (soap-decode-basic-type, soap-encode-basic-type):
12841 support unsignedInt and double basic types.
12842 (soap-resolve-references-for-simple-type)
12843 (soap-parse-simple-type, soap-encode-simple-type): New function.
12844 (soap-parse-schema): Parse xsd:simpleType declarations.
12845
12846 * net/soap-client.el (soap-default-xsd-types)
12847 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12848 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12849 the local name of "soapenc:Array".
12850 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12851 decoding integer, byte and anyURI xsd types.
12852
12853 2012-04-25 Chong Yidong <cyd@gnu.org>
12854
12855 * cus-edit.el (custom-buffer-create-internal): Update header text.
12856
12857 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12858
12859 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12860 settings on 'system-type', not on 'window-system'. On MS-Windows,
12861 set interactive-mode on in GDB.
12862
12863 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12864
12865 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12866 (ruby-syntax-propertize-regexp): Remove.
12867 (ruby-syntax-propertize-function): Split regexp into chunks.
12868 Match following code directly.
12869
12870 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12871
12872 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12873 (ruby-syntax-propertize-regexp): New function.
12874 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12875 by a special keyword.
12876
12877 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12878 (ruby-syntax-general-delimiters-goto-beg)
12879 (ruby-syntax-propertize-general-delimiters): New functions.
12880 (ruby-syntax-propertize-function): Use them to handle GDL.
12881 (ruby-font-lock-keywords): Move old handling of GDL...
12882 (ruby-font-lock-syntactic-keywords): .. to here.
12883 (ruby-calculate-indent): Adjust indentation for GDL.
12884
12885 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12886
12887 * notifications.el (top): Remove unneeded declarations.
12888 (notifications-specification-version): Change to "1.2".
12889 (notifications-interface, notifications-notify-method)
12890 (notifications-close-notification-method): Fix docstring.
12891 (notifications-get-capabilities-method): New defconst.
12892 (notifications-notify): Add :action-items, :resident and
12893 :transient hints. Change "image_data" to "image-data" and
12894 "image_path" to "image-path".
12895 (notifications-get-capabilities): New defun.
12896
12897 2012-04-24 Leo Liu <sdl.web@gmail.com>
12898
12899 * progmodes/python.el: Move hideshow setup to the end.
12900
12901 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12902
12903 * window.el (handle-select-window): Clear echo area since this is
12904 no more done by read_char (Bug#11304).
12905
12906 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12907
12908 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12909 and `/ M' to filter-derived-mode.
12910 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12911 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12912 (ibuffer-mark-by-mode): Use default rather than initial-input.
12913 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12914
12915 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12916
12917 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12918 (ibuffer-filter-by-derived-mode): New filter.
12919 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12920
12921 2012-04-23 Andreas Politz <politza@fh-trier.de>
12922
12923 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12924
12925 2012-04-23 Chong Yidong <cyd@gnu.org>
12926
12927 * cus-edit.el (customize-apropos, customize-apropos-options):
12928 Disable matching of non-option variables (Bug#11176).
12929 (customize-option, customize-option-other-window)
12930 (customize-changed-options): Doc fix.
12931 (customize-apropos-options, customize-apropos-faces)
12932 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12933
12934 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12935 Fix word list splitting (Bug#11132).
12936 (apropos-symbol, apropos-keybinding, apropos-label)
12937 (apropos-property, apropos-function-button)
12938 (apropos-variable-button, apropos-misc-button): New faces.
12939 (apropos-symbol-face, apropos-keybinding-face)
12940 (apropos-label-face, apropos-property-face, apropos-match-face):
12941 Variables removed (Bug#8396).
12942 (apropos-library-button, apropos-format-plist, apropos-print)
12943 (apropos-print-doc, apropos-describe-plist): Callers changed.
12944
12945 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12946
12947 * net/xesam.el (xesam-mode-map): Use let-bound map in
12948 initialization. (Bug#11292)
12949
12950 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12951
12952 Preserve ispell session localwords when switching back to
12953 original buffer.
12954
12955 * textmodes/ispell.el (ispell-buffer-session-localwords):
12956 New buffer-local variable to hold buffer session localwords.
12957 (ispell-kill-ispell): Add option 'clear to delete session
12958 localwords.
12959 (ispell-command-loop, ispell-change-dictionary)
12960 (ispell-buffer-local-words): Preserve session localwords when
12961 needed.
12962
12963 * textmodes/flyspell.el (flyspell-process-localwords)
12964 (flyspell-do-correct): Preserve session localwords when needed.
12965
12966 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12967
12968 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12969 using obsolete `translation-table-for-input'.
12970 (ispell-word, ispell-process-line, ispell-complete-word):
12971 Use plain `insert' instead of removed `ispell-insert-word'.
12972
12973 2012-04-22 Chong Yidong <cyd@gnu.org>
12974
12975 * cus-edit.el (custom-variable-menu)
12976 (custom-variable-reset-saved, custom-face-menu)
12977 (custom-face-reset-saved): If there is no saved value, make the
12978 "reset-saved" operation bring back the default (Bug#9509).
12979 (custom-face-state): Properly detect themed faces.
12980
12981 * faces.el (face-spec-set): Stop supporting deprecated form of
12982 third arg.
12983
12984 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12985
12986 Move functions from C to Lisp. Make non-blocking method calls
12987 the default. Implement further D-Bus standard interfaces.
12988
12989 * net/dbus.el (dbus-message-internal): Declare function.
12990 Remove unneeded function declarations.
12991 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12992 (dbus-message-type-method-return, dbus-message-type-error)
12993 (dbus-message-type-signal): Declare variables. Remove local
12994 definitions.
12995 (dbus-interface-dbus, dbus-interface-peer)
12996 (dbus-interface-introspectable, dbus-interface-properties)
12997 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12998 Adapt docstring.
12999 (dbus-interface-objectmanager): New defconst.
13000 (dbus-call-method, dbus-call-method-asynchronously)
13001 (dbus-send-signal, dbus-method-return-internal)
13002 (dbus-method-error-internal, dbus-register-service)
13003 (dbus-register-signal, dbus-register-method): New defuns, moved
13004 from dbusbind.c
13005 (dbus-call-method-handler, dbus-setenv)
13006 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13007 New defuns.
13008 (dbus-call-method-non-blocking): Make it an obsolete function.
13009 (dbus-unregister-object, dbus-unregister-service)
13010 (dbus-handle-event, dbus-register-property)
13011 (dbus-property-handler): Obey the new structure of
13012 `bus-registered-objects'.
13013 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13014 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13015 Use `dbus-call-method'.
13016
13017 2012-04-22 Chong Yidong <cyd@gnu.org>
13018
13019 * cus-edit.el (custom-commands, custom-reset-menu)
13020 (Custom-reset-standard): Tweak labels.
13021 (custom-reset-button-menu): Change default to t.
13022 (custom-buffer-create-internal): For the custom-reset-button-menu
13023 case, put the revert button first.
13024 (custom-group-subtitle): New face.
13025 (custom-group-value-create): Align docstring to a specific column.
13026
13027 * wid-edit.el (widget-documentation-link-add): Don't handle
13028 indentation in this function.
13029 (widget-documentation-string-indent-to): New function.
13030 (widget-documentation-string-value-create): Use it.
13031
13032 * autorevert.el (auto-revert):
13033 * epg-config.el (epg):
13034 * ibuffer.el (ibuffer):
13035 * mpc.el (mpc):
13036 * ses.el (ses):
13037 * eshell/eshell.el (eshell):
13038 * net/ange-ftp.el (ange-ftp):
13039 * progmodes/ebnf2ps.el (postscript):
13040 * progmodes/flymake.el (flymake):
13041 * progmodes/prolog.el (prolog):
13042 * progmodes/verilog-mode.el (verilog-mode):
13043 * progmodes/which-func.el (which-func):
13044 * term/xterm.el (xterm):
13045 * textmodes/picture.el (picture):
13046 * textmodes/tildify.el (tildify):
13047 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13048 customization buffers.
13049
13050 2012-04-22 Alan Mackenzie <acm@muc.de>
13051
13052 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13053 Adding a ) can hide the resulting (..) from searches. Fix it.
13054 Bound the backward search to the position of the existing (.
13055
13056 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13057
13058 * progmodes/verilog-mode.el (verilog-mode): Check whether
13059 which-func-modes is t before adding verilog-mode.
13060 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13061
13062 2012-04-21 Leo Liu <sdl.web@gmail.com>
13063
13064 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13065
13066 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13067
13068 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13069 filling of the last column of a table (Bug#5635).
13070 (woman-find-next-control-line): New arg, specifying an additional
13071 regexp component for the control line.
13072 (woman2-roff-buffer): Use it.
13073 (woman-break-table): New function.
13074 (woman2-TS): Use it.
13075
13076 2012-04-21 Chong Yidong <cyd@gnu.org>
13077
13078 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13079 (woman-horizontal-escapes, woman-negative-vertical-space)
13080 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13081 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13082
13083 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13084
13085 * minibuffer.el (completion-file-name-table): Complete user names.
13086
13087 2012-04-20 Leo Liu <sdl.web@gmail.com>
13088
13089 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13090 and pcase-let*.
13091
13092 2012-04-20 Chong Yidong <cyd@gnu.org>
13093
13094 * server.el (server-execute): Respect initial-buffer-choice if it
13095 is a string and there are no files to open (Bug#2825).
13096 (server-create-window-system-frame, server-create-tty-frame):
13097 Don't switch buffers here.
13098 (server-process-filter): Only try to open a window system frame if
13099 compiled with graphical support (Bug#8314).
13100
13101 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13102
13103 * battery.el (battery-echo-area-format): Display remaining time
13104 for sysfs backend too (Bug#11269).
13105 (battery-linux-sysfs): Fix conditional for the charge.
13106
13107 2012-04-20 Chong Yidong <cyd@gnu.org>
13108
13109 * progmodes/gdb-mi.el (gdb): Revert previous change.
13110 (gdb-inferior-io--init-proc): New function.
13111 (gdb-init-1): Use it.
13112 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13113 responsible for allocating a new pty and hooking it to gdb when
13114 the old pty gets an EIO due to process exit.
13115 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13116 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13117 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13118
13119 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13120
13121 * window.el (window-min-size, window-sizable, window-min-delta)
13122 (window-max-delta, window--resizable, window-resizable)
13123 (window-total-size, window-full-height-p, window-full-width-p)
13124 (window-in-direction, window--resize-mini-window, window-resize)
13125 (window--resize-child-windows-normal)
13126 (window--resize-child-windows, window--resize-siblings)
13127 (window--resize-this-window, adjust-window-trailing-edge)
13128 (enlarge-window, shrink-window): Doc fixes.
13129
13130 2012-04-20 Chong Yidong <cyd@gnu.org>
13131
13132 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13133 New function to call delete-process on the gdb-inferior buffer's pty.
13134 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13135 pty process (Bug#11273).
13136 (gdb-update): New arg to suppress talking to the gdb process.
13137 (gdb-done-or-error): Use it.
13138 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13139 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13140 sentinel not being called.
13141
13142 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13143
13144 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13145
13146 2012-04-20 Glenn Morris <rgm@gnu.org>
13147
13148 * net/network-stream.el (open-network-stream): Doc fix.
13149
13150 2012-04-20 Chong Yidong <cyd@gnu.org>
13151
13152 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13153
13154 2012-04-20 Alan Mackenzie <acm@muc.de>
13155
13156 Ensure searching for keywords is case sensitive.
13157
13158 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13159 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13160 (c-defun-name, c-mark-function, c-cpp-define-name)
13161 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13162 (c-context-line-break): Bind case-fold-search to nil.
13163
13164 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13165 Bind case-fold-search to nil.
13166
13167 2012-04-20 Chong Yidong <cyd@gnu.org>
13168
13169 * mail/sendmail.el (mail-bury): Call return action with the right
13170 Rmail buffer (Bug#11242).
13171
13172 * server.el (server-process-filter): Handle corner case where both
13173 tty and nowait options are present (Bug#11102).
13174
13175 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13176
13177 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13178 (top level): Put into the executable the ident-style '$Id:' tag on
13179 windows-nt as well.
13180
13181 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13182
13183 * electric.el (electric-indent-post-self-insert-function): Check that
13184 electric-indent-mode is enabled in current buffer.
13185
13186 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13187
13188 * imenu.el (imenu-progress-message): Restore; it is "used" in
13189 erc/erc-imenu.el and net/snmp-mode.el.
13190
13191 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13192
13193 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13194 (mouse-avoidance-nudge-mouse): Remove unused binding.
13195
13196 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13197
13198 * descr-text.el (describe-char):
13199 * progmodes/python.el (python-describe-symbol):
13200 Don't call `toggle-read-only', set `buffer-read-only'.
13201
13202 * imenu.el (imenu-default-goto-function): Mark unused args.
13203 (imenu-progress-message): Remove obsolete macro; all callers changed.
13204
13205 * subr.el (keymap-canonicalize): Remove unused binding.
13206 (read-passwd): Mark unused arg.
13207
13208 * tutorial.el (tutorial--display-changes): Remove unused binding.
13209 (tutorial--save-tutorial-to): Remove unused variable.
13210
13211 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13212 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13213 (package-generate-autoloads, package-menu--generate)
13214 (package-menu--find-upgrades): Remove unused bindings.
13215
13216 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13217 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13218 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13219 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13220 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13221 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13222 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13223 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13224 (cua-delete-char-rectangle): Mark unused args.
13225 (cua-align-rectangle): Remove unused binding.
13226
13227 * mail/rmail.el (compilation--message->loc)
13228 (epa--find-coding-system-for-mime-charset): Declare.
13229
13230 * net/dbus.el (dbus-register-service): Declare.
13231 (dbus-name-owner-changed-handler): Remove unused binding.
13232
13233 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13234 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13235 (nxml-scan-backward-within): Mark unused arg.
13236 (nxml-dynamic-markup-word): Remove unused binding.
13237
13238 * mouse.el (mouse-menu-major-mode-map):
13239 * emacs-lisp/authors.el (authors-scan-change-log)
13240 (authors-add-to-author-list):
13241 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13242 * emacs-lisp/smie.el (smie-auto-fill):
13243 * mail/sendmail.el (mail-bury):
13244 * mail/unrmail.el (unrmail):
13245 * net/tls.el (open-tls-stream):
13246 * textmodes/picture.el (picture-mouse-set-point):
13247 Remove unused bindings.
13248
13249 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13250
13251 * net/tramp.el (tramp-action-password): Let-bind
13252 `enable-recursive-minibuffers' to t.
13253
13254 2012-04-18 Sam Steingold <sds@gnu.org>
13255
13256 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13257 instead of 'string to accommodate values like [f11].
13258 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13259 * progmodes/gdb-mi.el: Likewise.
13260
13261 2012-04-18 Leo Liu <sdl.web@gmail.com>
13262
13263 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13264 current buffer.
13265 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13266 LOCAL is nil.
13267
13268 2012-04-18 Chong Yidong <cyd@gnu.org>
13269
13270 * simple.el (line-move): Use forward-line if in batch mode
13271 (Bug#11053).
13272
13273 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13274
13275 * files.el (after-find-file): Do not try to add a final newline if
13276 the buffer is read-only (Bug#11156).
13277
13278 2012-04-17 Richard Stallman <rms@gnu.org>
13279
13280 * mail/rmail.el (rmail-start-mail):
13281 Pass (rmail-mail-return...) for the return-action.
13282 Pass (rmail-yank-current-message...) for the yank-action.
13283 (rmail-yank-current-message): New function.
13284 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13285 (rmail-reply): Likewise.
13286 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13287
13288 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13289 buffer, not the last. Reject temp buffers. Use the rmail-mode
13290 buffer, not newbuf.
13291
13292 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13293
13294 * server.el (server-ensure-safe-dir): Simplify.
13295
13296 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13297
13298 * emacs-lisp/smie.el: Provide smarter auto-filling.
13299 (smie-auto-fill): New function.
13300 (smie-setup): Use it.
13301
13302 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13303
13304 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13305
13306 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13307 (comment-indent): Use it.
13308
13309 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13310
13311 * ses.el: The overall change is to add cell renaming, that is
13312 setting fancy names for cell symbols other than name matching
13313 "\\`[A-Z]+[0-9]+\\'" regexp .
13314 (ses-localvars): Add ses--renamed-cell-symb-list.
13315 (ses-create-cell-variable): New defun.
13316 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13317 (ses-relocate-formula): Relocate formulas only for cells the
13318 symbols of which are not renamed, i.e. symbols whose names do not
13319 match regexp "\\`[A-Z]+[0-9]+\\'".
13320 (ses-relocate-all): Relocate values only for cells the symbols of
13321 which are not renamed.
13322 (ses-load): Create cells variables as the (ses-cell ...) are read,
13323 in order to check row col consistency with cell symbol name only
13324 for cells that are not renamed.
13325 (ses-replace-name-in-formula): New defun.
13326 (ses-rename-cell): New defun.
13327
13328 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13329
13330 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13331 New option (bug#11118).
13332 (perl-calculate-indent): Respect it.
13333
13334 2012-04-17 Glenn Morris <rgm@gnu.org>
13335
13336 * dired-aux.el (dired-mark-read-string): Doc fix.
13337
13338 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13339
13340 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13341 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13342
13343 2012-04-17 Glenn Morris <rgm@gnu.org>
13344
13345 * mouse.el (mouse-drag-track):
13346 * speedbar.el (speedbar-frame-mode):
13347 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13348
13349 2012-04-16 Leo Liu <sdl.web@gmail.com>
13350
13351 * progmodes/python.el: Trivial cleanup.
13352
13353 2012-04-16 Glenn Morris <rgm@gnu.org>
13354
13355 * vc/vc.el (vc-string-prefix-p):
13356 * vc/pcvs-util.el (cvs-string-prefix-p):
13357 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13358 * mpc.el (mpc-string-prefix-p):
13359 Make all of these into obsolete aliases for string-prefix-p.
13360 Update callers.
13361 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13362
13363 * textmodes/two-column.el: Move custom options to the start.
13364 (frame-width): Remove compat definition.
13365 (2C-associate-buffer, 2C-dissociate):
13366 Use with-current-buffer rather than save-excursion.
13367 (2C-dissociate): Force a mode-line update.
13368 (2C-autoscroll): Use ignore-errors.
13369
13370 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13371 Autoload trivia.
13372
13373 * emacs-lisp/cl-extra.el (*random-state*):
13374 Remove unnecessary declaration.
13375
13376 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13377
13378 * play/cookie1.el (cookie-snarf):
13379 Give an explicit error if input file cannot be read.
13380
13381 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13382
13383 * progmodes/perl-mode.el (c-macro-expand):
13384 Remove unnecessary autoload (it is in loaddefs.el).
13385
13386 * textmodes/picture.el (picture-desired-column)
13387 (picture-update-desired-column): Convert comments to doc-strings.
13388 (picture-substitute): Remove function.
13389 (picture-mode-map): Initialize in the defvar.
13390
13391 * woman.el: Remove eval-after-load for tar-mode.
13392 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13393 (woman-tar-extract-file): Autoload it.
13394
13395 * frame.el (automatic-hscrolling): Make this alias obsolete.
13396
13397 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13398
13399 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13400 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13401 (ispell-dictionary-base-alist): Revert to original XEmacs
13402 friendly version for default. [:alpha:] will be added in
13403 `ispell-set-spellchecker-params' if needed.
13404
13405 2012-04-16 Chong Yidong <cyd@gnu.org>
13406
13407 * image.el (imagemagick--file-regexp): New variable.
13408 (imagemagick-register-types): Use it.
13409 (imagemagick-types-inhibit): Add :set function. Allow new value
13410 of t to inhibit all types.
13411
13412 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13413 so we can preload it.
13414
13415 * loadup.el (fboundp): Preload regexp-opt, needed by
13416 imagemagick-register-types.
13417
13418 2012-04-15 Chong Yidong <cyd@gnu.org>
13419
13420 * frame.el (scrolling): Remove nearly unused customization group.
13421
13422 * scroll-all.el (scroll-all-mode): Move to windows group.
13423
13424 2012-04-15 Chong Yidong <cyd@gnu.org>
13425
13426 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13427
13428 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13429
13430 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13431 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13432
13433 2012-04-15 Glenn Morris <rgm@gnu.org>
13434
13435 * simple.el (process-file-side-effects): Doc fix.
13436
13437 2012-04-15 Glenn Morris <rgm@gnu.org>
13438
13439 * international/mule-cmds.el (set-language-environment): Doc fix.
13440
13441 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13442
13443 * server.el (server-auth-key, server-generate-key): Doc fixes.
13444 (server-get-auth-key): Doc fix. Use `string-match-p'.
13445 (server-start): Reflow docstring.
13446
13447 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13448
13449 * server.el (server-generate-key): `called-interactively-p'
13450 requires a parameter.
13451
13452 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13453
13454 * server.el (server-auth-key): New variable.
13455 (server-generate-key, server-get-auth-key): New function.
13456 (server-start): Use the new variable and functions to allow
13457 setting a permanent server key (bug#9423).
13458
13459 2012-04-14 Leo Liu <sdl.web@gmail.com>
13460
13461 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13462
13463 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13464
13465 Spelling fixes.
13466 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13467 Emacs uses American spelling.
13468
13469 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13470
13471 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13472 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13473 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13474 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13475
13476 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13477
13478 * progmodes/which-func.el (which-func-modes): Change default.
13479
13480 2012-04-14 Kim F. Storm <storm@cua.dk>
13481
13482 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13483 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13484
13485 2012-04-14 Chong Yidong <cyd@gnu.org>
13486
13487 * custom.el (custom-theme-set-variables): Doc fix.
13488
13489 2012-04-14 Glenn Morris <rgm@gnu.org>
13490
13491 * international/mule.el (set-auto-coding-for-load): Doc fix.
13492
13493 2012-04-14 Alan Mackenzie <acm@muc.de>
13494
13495 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13496 imenu work again for Objective C Mode. Correct the *-index values,
13497 these having been disturbed by a previous change in 2011-08.
13498
13499 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13500 Correct two search limits.
13501
13502 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13503
13504 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13505
13506 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13507
13508 * international/characters.el: Fix sorting.
13509
13510 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13511
13512 * international/characters.el: Add more missing Latin case pairs.
13513
13514 2012-04-14 Glenn Morris <rgm@gnu.org>
13515
13516 * files.el (dir-locals-set-class-variables): Doc fix.
13517
13518 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13519
13520 * international/characters.el: Add set-case-syntax-pair call for
13521 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13522 counterpart. (Bug#11209)
13523
13524 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13525
13526 2012-04-14 Glenn Morris <rgm@gnu.org>
13527
13528 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13529
13530 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13531
13532 * textmodes/ispell.el (ispell-dictionary-base-alist):
13533 Add data for Hebrew.
13534
13535 2012-04-14 Chong Yidong <cyd@gnu.org>
13536
13537 * net/rcirc.el (rcirc-cmd-quit):
13538 Revert 2012-03-18 change (Bug#11192).
13539
13540 2012-04-14 Glenn Morris <rgm@gnu.org>
13541
13542 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13543
13544 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13545
13546 * minibuffer.el (completion-in-region-mode-map):
13547 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13548
13549 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13550
13551 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13552
13553 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13554
13555 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13556 to allow `C-M-f' and `C-M-b' to move to the nearest path
13557 separator (bug#9511).
13558
13559 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13560
13561 * avoid.el: Require cl when compiling. And also move the
13562 `provide' to the end.
13563
13564 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13565
13566 * avoid.el (mouse-avoidance-banish-position): New variable.
13567 (mouse-avoidance-banish-destination): Use it (bug#10165).
13568
13569 2012-04-13 Leo Liu <sdl.web@gmail.com>
13570
13571 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13572
13573 2012-04-13 Ken Brown <kbrown@cornell.edu>
13574
13575 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13576 this is no longer needed now that cygstart understands file:// URLs.
13577 (browse-url-filename-alist): For the same reason, don't modify
13578 file:// URLs on Cygwin.
13579
13580 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13581
13582 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13583 the region on shift if the binding is already shifted (bug#11221).
13584
13585 2012-04-12 Glenn Morris <rgm@gnu.org>
13586
13587 * mail/mailpost.el: Move to obsolete/.
13588
13589 2012-04-12 Drew Adams <drew.adams@oracle.com>
13590
13591 * imenu.el (imenu--generic-function): Ignore invisible definitions
13592 (bug#10123).
13593
13594 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13595
13596 * hexl.el (hexl-bits): New variable.
13597 (hexl-options): Mention the variable in the doc string.
13598 (hexl-rulerise, hexl-line-displen): New functions.
13599 (hexl-mode): Mention the new variable.
13600 (hexl-mode, hexl-current-address, hexl-current-address):
13601 Use the displen.
13602 (hexl-ascii-start-column): New function.
13603 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13604 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13605
13606 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13607
13608 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13609 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13610 the encoding, as expected by hunspell.
13611
13612 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13613
13614 * battery.el (battery--linux-sysfs-regexp): New const.
13615 (battery-status-function): Use it. Remove yeeloong special case.
13616 (battery-yeeloong-sysfs): Remove.
13617 (battery-echo-area-format): Remove yeeloong special case.
13618
13619 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13620
13621 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13622 Reported by Noah Friedman.
13623
13624 * subr.el (read-passwd): Use read-string.
13625
13626 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13627
13628 * vcursor.el (vcursor-move): Increase the priority of the overlay
13629 (bug#9663).
13630
13631 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13632
13633 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13634 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13635
13636 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13637
13638 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13639 define-minor-mode (bug#10760).
13640
13641 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13642
13643 * progmodes/grep.el (rgrep): Tweak the find command line so
13644 that directories matching `grep-find-ignored-files' won't be
13645 pruned (bug#10351).
13646
13647 2012-04-11 Chong Yidong <cyd@gnu.org>
13648
13649 * startup.el (command-line): Remove support for long-obsolete
13650 variable font-lock-face-attributes.
13651
13652 2012-04-11 Glenn Morris <rgm@gnu.org>
13653
13654 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13655
13656 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13657
13658 * window.el (window--state-get-1): Obey window-point-insertion-type.
13659
13660 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13661
13662 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13663 to previous function when point is on the first character of a
13664 function. Take care of that in `narrow-to-defun' (bug#6157).
13665
13666 2012-04-11 Glenn Morris <rgm@gnu.org>
13667
13668 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13669 not just file-errors.
13670
13671 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13672 (vc-bzr-sha1): Use internal sha1.
13673
13674 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13675
13676 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13677
13678 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13679
13680 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13681 that start in the middle of the line (bug#10496).
13682
13683 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13684
13685 * battery.el (battery-linux-proc-acpi): Only one battery is
13686 discharged at a time, but that seems to confuse battery.el when
13687 computing `rate-type' for the battery not being discharged
13688 (bug#10332).
13689
13690 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13691
13692 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13693
13694 * international/quail.el: Use dolist and simplify.
13695 (quail-define-package, quail-update-keyboard-layout)
13696 (quail-define-rules): Use dolist.
13697 (quail-insert-kbd-layout, quail-get-translation): CSE.
13698
13699 * tmm.el: Use dolist, remove left over hook.
13700 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13701 Use dolist.
13702 (calendar-load-hook): Don't mess with it.
13703
13704 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13705 Use derived-mode-p. Run the diff asynchronously.
13706
13707 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13708
13709 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13710
13711 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13712
13713 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13714 (list-dynamic-libraries--loaded): New function.
13715 (list-dynamic-libraries--refresh): Use it.
13716
13717 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13718
13719 * progmodes/python.el (python-fill-paragraph):
13720 Make python-fill-region in a multiline string work when font-lock is
13721 disabled (bug#7018).
13722
13723 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13724
13725 * language/european.el (cp775): Add oem/legacy (en)coding on
13726 DOS/MS Windows for the Baltic languages. There are still plenty
13727 of texts written in this encoding/codepage (bug#6519).
13728
13729 2012-04-10 Glenn Morris <rgm@gnu.org>
13730
13731 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13732 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13733
13734 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13735
13736 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13737 next-line "n" and previous-line "p" in order to make recentf more
13738 consistent with ibuffer, dired or org-mode (bug#9387).
13739
13740 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13741
13742 * image.el (put-image): Return the overlay created instead of the
13743 optional input string (bug#7834). Note that this may break code
13744 that is (for some reason or other) depending on `put-image'
13745 returning the string.
13746
13747 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13748
13749 * simple.el (zap-to-char): Allow zapping using input methods
13750 (bug#1580).
13751
13752 * textmodes/fill.el (fill-region): Leave point and mark where they
13753 were before filling (bug#5399).
13754
13755 2012-04-09 Glenn Morris <rgm@gnu.org>
13756
13757 * version.el (emacs-bzr-get-version):
13758 Handle lightweight checkouts of local branches.
13759
13760 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13761
13762 * international/characters.el: Recover lost case pairs. (Bug#11209)
13763
13764 2012-04-09 Chong Yidong <cyd@gnu.org>
13765
13766 * custom.el (custom-variable-p): Return nil for non-symbol
13767 arguments instead of signaling an error.
13768 (user-variable-p): Obsolete alias for custom-variable-p.
13769
13770 * apropos.el (apropos-variable):
13771 * files-x.el (read-file-local-variable):
13772 * simple.el (set-variable):
13773 * woman.el (woman-mini-help):
13774 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13775
13776 2012-04-09 Glenn Morris <rgm@gnu.org>
13777
13778 * startup.el (normal-top-level): Don't look for leim-list.el
13779 in places where it will not be found. (Bug#910)
13780
13781 * international/mule-cmds.el (set-default-coding-systems):
13782 * files.el (normal-mode):
13783 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13784 This function was removed with ucs-tables.el in 2008.
13785
13786 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13787
13788 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13789 ispell-encoding8-command to "-i", without a trailing space.
13790 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13791 separate command-line arguments, to specify the encoding, since
13792 that's how hunspell expects it.
13793
13794 2012-04-08 Glenn Morris <rgm@gnu.org>
13795
13796 * loadup.el: Load bindings before cus-start.
13797 This reduces somewhat the number of "rogue" settings in emacs -Q.
13798
13799 2012-04-07 Glenn Morris <rgm@gnu.org>
13800
13801 * version.el (emacs-bzr-get-version): New function.
13802 (emacs-bzr-version): New variable.
13803 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13804 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13805
13806 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13807
13808 * international/uni-bidi.el, international/uni-category.el:
13809 * international/uni-combining.el, international/uni-decimal.el:
13810 * international/uni-decomposition.el, international/uni-digit.el:
13811 * international/uni-lowercase.el, international/uni-mirrored.el:
13812 * international/uni-name.el, international/uni-numeric.el:
13813 * international/uni-titlecase.el, international/uni-uppercase.el:
13814 Update for Unicode 6.1.
13815
13816 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13817
13818 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13819
13820 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13821
13822 * window.el (shrink-window): Mention the `window-min-height'
13823 variable in the doc string.
13824
13825 2012-04-05 Bastien Guerry <bzg@altern.org>
13826
13827 * color.el (color-lighten-name): Fix typo.
13828
13829 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13830
13831 * server.el (server--on-display-p): New function.
13832 (server--on-display-p): Use it.
13833
13834 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13835
13836 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13837 (bug#11145).
13838
13839 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13840
13841 * comint.el (comint--common-quoted-suffix): Check string boundary
13842 before comparing (bug#11158).
13843 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13844
13845 2012-04-04 Chong Yidong <cyd@gnu.org>
13846
13847 * minibuffer.el (completion-extra-properties): Doc fix.
13848
13849 * subr.el (delayed-warnings-hook): Doc fix.
13850
13851 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13852
13853 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13854 selection (Bug#11159).
13855 (epa-insert-keys): Inform that the default public key will be
13856 exported if no key is selected.
13857
13858 2012-04-04 Richard Stallman <rms@gnu.org>
13859
13860 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13861
13862 2012-04-03 Chong Yidong <cyd@gnu.org>
13863
13864 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13865 mail-insert-file, not its obsolete alias mail-attach-file.
13866
13867 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13868
13869 * notifications.el (notifications-notify): Fix docstring.
13870
13871 2012-04-02 Glenn Morris <rgm@gnu.org>
13872
13873 * emacs-lisp/authors.el (authors-aliases): Another addition.
13874
13875 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13876
13877 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13878 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13879 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13880
13881 2012-04-01 Chong Yidong <cyd@gnu.org>
13882
13883 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13884 Handle root directory properly.
13885 (copy-directory): Caller changed.
13886
13887 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13888 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13889
13890 2012-03-31 Glenn Morris <rgm@gnu.org>
13891
13892 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13893
13894 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13895
13896 * calendar/calendar.el (calendar-window-list)
13897 (calendar-hide-window): Restore. (Bug#11140)
13898 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13899
13900 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13901
13902 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13903
13904 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13905 Check if file is a symlink (Bug#10489).
13906
13907 * files.el (copy-directory): Likewise.
13908
13909 2012-03-30 Chong Yidong <cyd@gnu.org>
13910
13911 * image.el (imagemagick-types-inhibit)
13912 (imagemagick-register-types): Doc fix.
13913
13914 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13915
13916 * textmodes/ispell.el (ispell-get-extended-character-mode):
13917 Disable extended-char-mode for hunspell. hunspell does not support it
13918 and treats ~word as ordinary words in pipe mode.
13919
13920 2012-03-30 Glenn Morris <rgm@gnu.org>
13921
13922 * tutorial.el (help-with-tutorial): Ensure local variables don't
13923 happen to make the buffer read-only. (Bug#11127)
13924
13925 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13926
13927 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13928 (perl-calculate-indent): Return `noindent' in strings.
13929
13930 2012-03-28 Sam Steingold <sds@gnu.org>
13931
13932 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13933 instead of the broken adhockery which does not prevent calendar
13934 buffers from being displayed at random after exit.
13935 (calendar-window-list, calendar-hide-window): Remove the broken
13936 adhockery.
13937
13938 2012-03-28 Glenn Morris <rgm@gnu.org>
13939
13940 * replace.el (query-replace-map): Doc fix.
13941
13942 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13943
13944 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13945 contents. (Bug#11109)
13946
13947 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13948
13949 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13950 (bug#11077).
13951 (avl-tree--check, avl-tree--check-node): New funs.
13952
13953 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13954
13955 * window.el (switch-to-visible-buffer): New option.
13956 (switch-to-prev-buffer, switch-to-next-buffer):
13957 Observe switch-to-visible-buffer. Make sure that checking for a window
13958 showing a buffer already is done on the same frame.
13959
13960 2012-03-27 Glenn Morris <rgm@gnu.org>
13961
13962 * startup.el (mail-host-address): Doc fix.
13963
13964 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13965
13966 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13967 than 197 variables.
13968
13969 2012-03-26 Ami Fischman <ami@fischman.org>
13970
13971 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13972
13973 2012-03-26 Glenn Morris <rgm@gnu.org>
13974
13975 * files.el (save-buffers-kill-emacs): Doc fix.
13976
13977 * startup.el (normal-top-level, command-line, command-line-1):
13978 Give them doc strings.
13979
13980 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13981
13982 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13983 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13984
13985 2012-03-25 Chong Yidong <cyd@gnu.org>
13986
13987 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13988 theme if it was previously enabled before (Bug#11031).
13989
13990 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13991 spec with custom-face-get-current-spec if its :shown-value is not
13992 determined yet (Bug#9337).
13993 (customize-create-theme, custom-theme-revert): Doc fixes.
13994
13995 * button.el (button-at): Minor addition to docstring.
13996
13997 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13998
13999 * vc/vc.el (vc-merge): Fix a prompt.
14000
14001 2012-03-24 Chong Yidong <cyd@gnu.org>
14002
14003 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14004 point (Bug#9623).
14005
14006 * button.el (button-at): Minor addition to docstring.
14007
14008 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14009
14010 * newcomment.el (comment-choose-indent): No space after BOL.
14011
14012 2012-03-22 Sam Steingold <sds@gnu.org>
14013
14014 * window.el (switch-to-prev-buffer): Revert last patch because the
14015 bug turned out to be an advertised feature (Elisp manual 28.14).
14016
14017 2012-03-22 Glenn Morris <rgm@gnu.org>
14018
14019 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14020 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14021
14022 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14023
14024 * net/network-stream.el (network-stream-open-starttls): Make error
14025 message under Windows be less misleading.
14026
14027 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14028
14029 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14030 understands (bug#9942).
14031
14032 2012-03-22 Chong Yidong <cyd@gnu.org>
14033
14034 * simple.el (end-of-visible-line): Handle return value of
14035 next-single-property-change properly (Bug#9371).
14036
14037 2012-03-22 Kenichi Handa <handa@m17n.org>
14038
14039 * international/quail.el (quail-insert-kbd-layout): Fix previous
14040 change. To avoid unwanted bidi reordering, use
14041 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14042
14043 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14044
14045 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14046 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14047 (ruby-beginning-of-indent): Be more careful with the difference
14048 between word-boundary and symbol boundary.
14049 (ruby-mode-syntax-table): Make : a symbol constituent.
14050
14051 2012-03-21 Andreas Politz <politza@fh-trier.de>
14052
14053 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14054
14055 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14056
14057 * progmodes/etags.el (tags-completion-at-point-function):
14058 Improve last fix.
14059
14060 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14061
14062 2012-03-21 Sam Steingold <sds@gnu.org>
14063
14064 * progmodes/etags.el (tags-completion-at-point-function):
14065 Avoid the error when point is inside the pattern.
14066
14067 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14068
14069 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14070 line (Bug#10855).
14071
14072 2012-03-21 Drew Adams <drew.adams@oracle.com>
14073
14074 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14075
14076 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14077
14078 * ido.el (ido-set-current-directory, ido-read-internal)
14079 (ido-choose-completion-string, ido-completion-help): Handle nil
14080 value of ido-completion-buffer (Bug#11008).
14081
14082 2012-03-21 Sam Steingold <sds@gnu.org>
14083
14084 * window.el (switch-to-prev-buffer): Do not switch to a visible
14085 window previous buffer, just like with the frame previous buffers.
14086
14087 2012-03-21 Chong Yidong <cyd@gnu.org>
14088
14089 * faces.el (make-face, make-empty-face, copy-face):
14090 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14091 Doc fixes.
14092
14093 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14094
14095 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14096 (widget-complete): Remove broken use of it.
14097
14098 2012-03-20 Chong Yidong <cyd@gnu.org>
14099
14100 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14101 Use string-width and truncate-string-width to handle arbitrary
14102 characters.
14103
14104 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14105
14106 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14107 to draw rectangles, not squares. (Regression introduced by revno
14108 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14109
14110 2012-03-18 Chong Yidong <cyd@gnu.org>
14111
14112 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14113 it is not yet defined (for temacs).
14114
14115 2012-03-18 Leo Liu <sdl.web@gmail.com>
14116
14117 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14118 prefix.
14119
14120 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14121
14122 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14123 (ispell-choices-win-default-height, ispell-silently-savep)
14124 (ispell-dictionary-alist, ispell-encoding8-command)
14125 (ispell-check-version, ispell-aspell-find-dictionary)
14126 (ispell-valid-dictionary-list, ispell-words-keyword)
14127 (ispell-get-word, ispell-internal-change-dictionary)
14128 (ispell-region, ispell-skip-region-list)
14129 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14130 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14131 (ispell-message-text-end, ispell-message)
14132 (ispell-buffer-local-parsing): Doc fix.
14133
14134 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14135
14136 * htmlfontify.el: Add support for code block fontification for ODT
14137 export (Bug #9914).
14138 (hfy-optimisations): Define new option
14139 `body-text-only'
14140 (hfy-fontify-buffer): Honor above setting.
14141 (hfy-begin-span, hfy-end-span): New routines factored out form
14142 `hfy-fontify-buffer'.
14143 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14144 that permit insertion of custom tags.
14145 (hfy-fontify-buffer): Use above handlers.
14146 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14147 (hfy-face-to-css): Re-defined to be a variable.
14148 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14149 over multiple runs. This is made possible by having the caller let
14150 bind a special variable `hfy-user-sheet-assoc'.
14151 (htmlfontify-string): New defun.
14152 (hfy-compile-face-map): Make sure that the last char in the
14153 buffer is correctly fontified.
14154 (hfy-face-resolve-face): Whitespace only change.
14155
14156 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14157
14158 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14159 message more clear.
14160
14161 2012-03-16 Leo Liu <sdl.web@gmail.com>
14162
14163 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14164
14165 2012-03-16 Alan Mackenzie <acm@muc.de>
14166
14167 Further optimize the handling of large macros.
14168
14169 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14170 limit to a call of `c-literal-limits'.
14171 (c-determine-+ve-limit): New function.
14172 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14173 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14174 In CASE 5B, restrict a search limit to 500.
14175 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14176
14177 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14178 Restrict macro bounds to +-500 from after-change's BEG END.
14179
14180 2012-03-16 Leo Liu <sdl.web@gmail.com>
14181
14182 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14183
14184 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14185
14186 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14187 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14188
14189 2012-03-16 Glenn Morris <rgm@gnu.org>
14190
14191 * view.el (view-buffer, view-buffer-other-window)
14192 (view-buffer-other-frame): Doc fixes re special mode-class.
14193
14194 * subr.el (eval-after-load): If named feature is provided not from
14195 a file, run after-load forms. (Bug#10946)
14196
14197 * calendar/calendar.el (calendar-insert-at-column):
14198 Handle non-unit-width characters a bit better. (Bug#10978)
14199
14200 2012-03-15 Chong Yidong <cyd@gnu.org>
14201
14202 * emacs-lisp/ring.el (ring-extend): New function.
14203 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14204
14205 * comint.el (comint-read-input-ring)
14206 (comint-add-to-input-history): Grow comint-input-ring lazily.
14207
14208 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14209
14210 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14211 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14212
14213 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14214 (imenu-add-to-menubar): Don't add a redundant index.
14215 (imenu-update-menubar): Handle a dynamically composed keymap.
14216
14217 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14218
14219 * mail/sendmail.el (mail-encode-header):
14220 Bind rfc2047-encode-encoded-words to nil.
14221
14222 2012-03-13 Glenn Morris <rgm@gnu.org>
14223
14224 * calendar/calendar.el (calendar-string-spread):
14225 Handle non-unit-width characters a bit better. (Bug#10978)
14226
14227 2012-03-13 Leo Liu <sdl.web@gmail.com>
14228
14229 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14230 directory and file as argument (Bug#10822).
14231
14232 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14233
14234 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14235 For dynamically generated code, follow $PC.
14236 (gdb-disassembly-handler-custom): Handle no function name case.
14237
14238 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14239
14240 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14241 * emulation/ws-mode.el (ws-query-replace):
14242 * sort.el (sort-regexp-fields):
14243 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14244
14245 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14246
14247 * dabbrev.el: Fix cycle completion order (bug#10963).
14248 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14249 (dabbrev-completion): Don't use an obarray; provide
14250 a cycle-sort-function.
14251
14252 2012-03-12 Leo Liu <sdl.web@gmail.com>
14253
14254 * simple.el (kill-new): Use equal-including-properties for comparison.
14255 (kill-do-not-save-duplicates): Doc fix.
14256
14257 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14258
14259 * dabbrev.el: Fix cycle completion (bug#10963).
14260 Use lexical binding and wrap to 80 columns.
14261 (dabbrev-completion): Delay computing the list of completions.
14262
14263 2012-03-12 Kenichi Handa <handa@m17n.org>
14264
14265 * international/quail.el (quail-insert-kbd-layout): Surround each
14266 row by LRO and PDF instead of inserting many LRMs. Pad the left
14267 and right of each non-spacing marks. Insert invisible space
14268 between lower and upper characters to prevent composition.
14269
14270 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14271
14272 * minibuffer.el (minibuffer-complete): Don't get confused when the
14273 function is run twice via different commands (bug#10958).
14274 (complete-with-action): Fix docstring.
14275
14276 2012-03-12 Chong Yidong <cyd@gnu.org>
14277
14278 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14279 (nxml-completion-at-point-function): New function.
14280 (nxml-mode): Use it.
14281 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14282
14283 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14284 Load generated autoloads file before byte compiling (Bug#10970).
14285 (package--make-autoloads-and-compile): New helper fun.
14286
14287 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14288
14289 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14290
14291 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14292
14293 * autorevert.el (auto-revert-handler): Ensure, that
14294 file-readable-p is applied only for local files or in
14295 auto-revert-tail-mode.
14296
14297 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14298
14299 * server.el (server-eval-at): Handle non-tcp connections.
14300 Decode result string.
14301
14302 * server.el (server-msg-size): New constant.
14303 (server-reply-print): New function.
14304 (server-eval-and-print): Use it.
14305 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14306 Handle -print-nonl.
14307
14308 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14309
14310 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14311 (Bug#10987).
14312
14313 2012-03-11 Chong Yidong <cyd@gnu.org>
14314
14315 * simple.el (goto-line): Doc fix (Bug#9938).
14316
14317 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14318
14319 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14320 when finished (Bug#10963).
14321
14322 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14323
14324 * window.el (split-window-below): Fix bug in case where
14325 split-window-keep-point is nil (Bug#10971).
14326
14327 2012-03-11 Juri Linkov <juri@jurta.org>
14328
14329 * replace.el (replace-highlight): Set isearch-word to nil
14330 unconditionally. (Bug#10887)
14331
14332 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14333
14334 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14335 mairix-replace-illegal-chars; all callers changed. Don't remove
14336 ^, ~, and = characters: they are meaningful in mairix search specs.
14337 (mairix-widget-create-query): Add usage information about mairix
14338 search forms: negating words, searching for substrings, etc.
14339
14340 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14341
14342 * international/fontset.el (font-encoding-alist): Add an entry for
14343 ksx1001 (Bug#5667).
14344
14345 2012-03-10 Richard Stallman <rms@gnu.org>
14346
14347 * mail/sendmail.el (mail-encode-header):
14348 Set rfc2047-encode-encoded-words.
14349
14350 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14351
14352 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14353 view buffer means not swapped.
14354 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14355 (rmail-write-region-annotate): Error if real text has disappeared.
14356
14357 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14358
14359 2012-03-10 Chong Yidong <cyd@gnu.org>
14360
14361 * emulation/cua-rect.el (cua--init-rectangles):
14362 * emulation/cua-base.el (cua--init-keymaps):
14363 Add delete-forward-char to remappings (Bug#9666).
14364
14365 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14366
14367 * speedbar.el (speedbar-unhighlight-one-tag-line):
14368 Avoid unhighlighting due to frame switching (Bug#10275).
14369
14370 2012-03-10 Chong Yidong <cyd@gnu.org>
14371
14372 * minibuffer.el (completion-in-region, completion-help-at-point):
14373 Give the completion field overlay a high priority (Bug#6830).
14374
14375 * dired.el (dired-goto-file): Recognize absolute file name
14376 listings (Bug#7126).
14377 (dired-goto-file-1): New helper function.
14378 (dired-toggle-read-only): Inhibit warnings.
14379
14380 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14381
14382 * net/dbus.el (dbus-property-handler): Return empty array if
14383 there are no properties.
14384
14385 2012-03-09 Leo Liu <sdl.web@gmail.com>
14386
14387 * savehist.el (savehist-printable): Stricter check for string
14388 value (Bug#10937).
14389
14390 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14391
14392 * mail/smtpmail.el (smtpmail-send-it):
14393 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14394 valid mbox format.
14395
14396 2012-03-09 Glenn Morris <rgm@gnu.org>
14397
14398 * files.el (dir-locals-find-file):
14399 Don't check result is regular, readable.
14400 (dir-locals-read-from-file): Demote errors.
14401
14402 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14403
14404 * international/quail.el (quail-insert-kbd-layout):
14405 Insert invisible LRM characters before each character in a keyboard
14406 layout cell, to prevent their reordering by bidi display engine.
14407 For details, see the discussion in
14408 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14409
14410 2012-03-08 Alan Mackenzie <acm@muc.de>
14411
14412 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14413 the starting position; make it extend the marked region when
14414 invoked repeatedly - all under appropriate circumstances.
14415 Fixes bugs #5525, #10906.
14416
14417 2012-03-08 Glenn Morris <rgm@gnu.org>
14418
14419 * files.el (locate-dominating-file, dir-locals-find-file):
14420 Undo 2012-03-06 change.
14421
14422 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14423
14424 * international/quail.el (quail-help):
14425 Force bidi-paragraph-direction be left-to-right. See discussion in
14426 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14427 for the reason.
14428
14429 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14430
14431 Avoid superfluous registering of signals. (Bug#10807)
14432
14433 * notifications.el (notifications-on-action-object)
14434 (notifications-on-close-object): New defvars.
14435 (notifications-on-action-signal, notifications-on-closed-signal):
14436 Unregister the signal if not needed any longer.
14437 (notifications-notify): Register `notifications-action-signal' or
14438 `notifications-closed-signal', if :on-action or :on-close has been
14439 passed as argument.
14440
14441 2012-03-07 Chong Yidong <cyd@gnu.org>
14442
14443 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14444 non-X platforms.
14445
14446 2012-03-06 Glenn Morris <rgm@gnu.org>
14447
14448 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14449 (x-disown-selection-internal, x-get-selection-internal):
14450 Doc fix (add arglist signatures). (Bug#10783)
14451
14452 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14453
14454 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14455 Handle breakpoints with no "type".
14456
14457 2012-03-06 Glenn Morris <rgm@gnu.org>
14458
14459 * files.el (locate-dominating-file): Add optional predicate argument.
14460 (dir-locals-find-file): Make use of above change.
14461
14462 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14463
14464 * info.el (Info-insert-dir): Also try "dir.gz".
14465
14466 2012-03-06 Glenn Morris <rgm@gnu.org>
14467
14468 * files.el (dir-locals-find-file):
14469 Ignore non-readable or non-regular files. (Bug#10928)
14470
14471 * files.el (locate-dominating-file): Doc fix.
14472
14473 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14474
14475 * calendar/calendar.el (calendar-set-mode-line):
14476 `getenv' returns a string. (Bug#10951)
14477
14478 2012-03-05 Leo Liu <sdl.web@gmail.com>
14479
14480 * simple.el (backward-delete-char-untabify): Constrain point to
14481 field (Bug#10939).
14482
14483 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14484
14485 2012-03-05 Chong Yidong <cyd@gnu.org>
14486
14487 * simple.el (count-words): If called from Lisp, return the word
14488 count, for symmetry with `count-lines'. Arglist changed.
14489 (count-words--message): Args changed. Consolidate counting code
14490 from count-words and count-words-region.
14491 (count-words-region): Caller changed.
14492 (count-lines-region): Make it an obsolete alias.
14493
14494 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14495
14496 * saveplace.el (save-place-to-alist)
14497 (save-place-ignore-files-regexp): Allow value nil to disable this
14498 feature.
14499
14500 2012-03-04 Chong Yidong <cyd@gnu.org>
14501
14502 * faces.el (face-spec-reset-face): For the default face, reset the
14503 attributes to default values (Bug#10748).
14504
14505 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14506
14507 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14508 previous patch: Check `message-send-mail-function', and not the
14509 default function (bug#10897).
14510
14511 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14512
14513 * notifications.el (notifications-on-action-signal)
14514 (notifications-on-closed-signal): Check for unique service name of
14515 incoming event. Fix error in removing entry.
14516 (top): Register for signals with wildcard service name.
14517 (notifications-notify): Use daemon unique service name for map entries.
14518
14519 2012-03-04 Chong Yidong <cyd@gnu.org>
14520
14521 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14522
14523 2012-03-04 Glenn Morris <rgm@gnu.org>
14524
14525 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14526 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14527 (expand-abbrev, define-abbrev-table): Doc fixes.
14528
14529 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14530
14531 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14532 `message-default-send-mail-function' and not `send-mail-function'
14533 when doing the prompting for `sendmail-query-once' before sending
14534 in Message buffers (bug#10897).
14535
14536 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14537 This is inconsistent with all the other stream functions, which leave
14538 the setting up to the higher levels (if so wanted) (bug#10931).
14539
14540 2012-03-02 Alan Mackenzie <acm@muc.de>
14541
14542 Depessimize the handling of very large macros.
14543
14544 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14545 (c-macro-cache-syntactic): New variables to implement a one
14546 element macro cache.
14547 (c-invalidate-macro-cache): New function.
14548 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14549 Adapt to use the new cache.
14550 (c-state-safe-place): Use better the cache of safe positions.
14551 (c-state-semi-nonlit-pos-cache)
14552 (c-state-semi-nonlit-pos-cache-limit):
14553 New variables for...
14554 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14555 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14556 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14557 Use c-state-semi-safe-place.
14558
14559 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14560 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14561
14562 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14563
14564 * jka-compr.el (jka-compr-call-process):
14565 Apply `file-accessible-directory-p' only when the default directory is
14566 not remote.
14567
14568 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14569
14570 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14571 access of FILE2, if FILE1 does not exist.
14572
14573 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14574 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14575
14576 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14577 Add "PAGER=" to `process-environment'.
14578
14579 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14580
14581 * progmodes/sql.el: Bug fix
14582 (sql-get-login-ext): Save login values in globals.
14583 (sql-get-login): Use new version of `sql-get-login-ext'.
14584 (sql-interactive-mode): Set global `sql-connection' to nil.
14585 (sql-connect): Set global values for connection.
14586 (sql-product-interactive): Save global values as buffer local.
14587
14588 2012-02-29 Leo Liu <sdl.web@gmail.com>
14589
14590 * abbrev.el (define-abbrevs): Reset sys to nil.
14591
14592 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14593
14594 * files.el (file-equal-p): Rename from `files-equal-p'.
14595 Return nil when one or both files don't exist.
14596 (file-subdir-of-p): Now only top directory must exists,
14597 return nil if it doesn't.
14598 (copy-directory): No need to test with `file-subdir-of-p' after
14599 creating dir.
14600 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14601 to `file-equal-p'.
14602
14603 2012-02-28 Glenn Morris <rgm@gnu.org>
14604
14605 * shell.el (shell-mode):
14606 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14607 * play/landmark.el (landmark-font-lock-face-O):
14608 * play/handwrite.el (handwrite):
14609 * play/gomoku.el (gomoku-O):
14610 * net/browse-url.el (browse-url-browser-display):
14611 * international/mule.el (define-charset):
14612 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14613 * filesets.el (filesets-find-file-delay):
14614 * eshell/em-xtra.el (eshell-xtra):
14615 * eshell/em-unix.el (eshell-grep):
14616 * emulation/viper.el (viper-mode):
14617 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14618 * emacs-lisp/easymenu.el (easy-menu-define):
14619 * calendar/timeclock.el (timeclock-use-display-time):
14620 * bs.el (bs-mode):
14621 * bookmark.el (bookmark-save-flag):
14622 Doc fix (standardize possessive apostrophe usage).
14623
14624 2012-02-27 Chong Yidong <cyd@gnu.org>
14625
14626 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14627 Fix key-binding lookup for ESC key (Bug#9146).
14628
14629 * font-lock.el (font-lock-specified-p): Rename from
14630 font-lock-spec-present. Callers changed.
14631
14632 2012-02-27 Daniel Hackney <dan@haxney.org>
14633
14634 * emacs-lisp/package.el (package-compute-transaction):
14635 Handle holding a package version to t in package-load-list.
14636
14637 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14638
14639 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14640 (tramp-get-inode, tramp-get-device): Use cached values.
14641
14642 2012-02-26 Alan Mackenzie <acm@muc.de>
14643
14644 Check there is a font-lock specification before doing initial
14645 fontification.
14646
14647 * font-core.el (font-lock-mode): Move the conditional from
14648 :after-hook to font-lock-initial-fontify.
14649 (font-lock-default-function): Move the check for a specification
14650 to font-lock-spec-present.
14651
14652 * font-lock.el (font-lock-initial-fontify): Call ...
14653 (font-lock-spec-present): New function.
14654
14655 2012-02-26 Jim Blandy <jimb@red-bean.com>
14656
14657 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14658 (gdb-send): Apply it to the operand of the '-interpreter-exec
14659 console' command, so that we can pass arguments with (say) quotes
14660 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14661
14662 2012-02-26 Chong Yidong <cyd@gnu.org>
14663
14664 * help-fns.el (describe-function-1): Clarify description of
14665 remapping (Bug#10844).
14666
14667 * files.el (files-equal-p): Doc fix.
14668 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14669 and quit the loop once a mismatch is found.
14670
14671 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14672
14673 * bs.el (bs--show-with-configuration): Don't throw an error
14674 if the window cannot be split; otherwise, subsequent calls to
14675 bs-show fail, restoring a stale window config. (Bug#10882)
14676
14677 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14678
14679 * term/ns-win.el (global-map): Bind ns-drag-file to
14680 ns-find-file (Bug#5855, Bug#10050).
14681
14682 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14683
14684 * calendar/parse-time.el (parse-time-string): Allow extractor to
14685 return nil.
14686
14687 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14688
14689 * net/tramp.el (tramp-file-name-for-operation):
14690 Add `files-equal-p' and `file-subdir-of-p'.
14691
14692 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14693 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14694 Add COPY-CONTENTS argument.
14695
14696 2012-02-25 Chong Yidong <cyd@gnu.org>
14697
14698 Add custom groups for VC backends, for consistency with vc-bzr.
14699
14700 * vc/vc-arch.el (vc-arch):
14701 * vc/vc-cvs.el (vc-cvs):
14702 * vc/vc-git.el (vc-git):
14703 * vc/vc-hg.el (vc-hg):
14704 * vc/vc-mtn.el (vc-mtn):
14705 * vc/vc-rcs.el (vc-rcs):
14706 * vc/vc-sccs.el (vc-sccs):
14707 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14708 All relevant defcustoms reassigned.
14709
14710 2012-02-25 Chong Yidong <cyd@gnu.org>
14711
14712 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14713
14714 * term/x-win.el (x-initialize-window-system): Reduce default for
14715 x-selection-timeout to 5 seconds (Bug#8869).
14716
14717 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14718
14719 * files.el (files-equal-p, file-subdir-of-p): New functions.
14720 (copy-directory): Error when trying to copy a directory on itself.
14721 Add missing copy-contents arg to tramp handler.
14722 * dired-aux.el (dired-copy-file-recursive): Same.
14723 (dired-create-files): Modify destination when source is equal to
14724 dest when copying files.
14725 Return also when dest is a subdir of source. (Bug#10489)
14726
14727 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14728
14729 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14730 (Bug#10874)
14731
14732 2012-02-23 Alan Mackenzie <acm@muc.de>
14733
14734 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14735 parameter "after-hook:" to allow the expansion to run code after
14736 the execution of the mode hooks.
14737
14738 * font-lock.el (font-lock-initial-fontify): New function extracted
14739 from font-lock-mode-internal.
14740
14741 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14742 :after-hook.
14743
14744 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14745
14746 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14747 (completion--cache-all-sorted-completions): New function.
14748 (completion-all-sorted-completions): Use it.
14749 (completion--do-completion, minibuffer-force-complete):
14750 Use it to re-instate the flush hook.
14751
14752 * icomplete.el (icomplete-completions): Replace last fix with a better
14753 one (bug#10850).
14754
14755 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14756
14757 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14758 when it might call us back infinitely (bug#10797).
14759
14760 2012-02-23 Glenn Morris <rgm@gnu.org>
14761
14762 * minibuffer.el (completion-category-overrides): Doc fix.
14763
14764 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14765
14766 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14767 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14768
14769 2012-02-23 Glenn Morris <rgm@gnu.org>
14770
14771 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14772 (authors-obsolete-files-regexps, authors-ignored-files)
14773 (authors-ambiguous-files, authors-renamed-files-alist):
14774 Add more entries.
14775
14776 2012-02-23 Juri Linkov <juri@jurta.org>
14777
14778 * isearch.el (isearch-occur): Sync interactive spec with occur's
14779 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14780
14781 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14782
14783 2012-02-22 Juri Linkov <juri@jurta.org>
14784
14785 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14786 (ucs-insert): Doc fix. Check for hex digits in the string.
14787 Don't display `nil' in the error message. (Bug#10857)
14788
14789 2012-02-22 Alan Mackenzie <acm@muc.de>
14790
14791 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14792
14793 2012-02-22 Glenn Morris <rgm@gnu.org>
14794
14795 * ffap.el (ffap-c-path):
14796 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14797
14798 2012-02-22 Chong Yidong <cyd@gnu.org>
14799
14800 * custom.el (load-theme): Doc fix.
14801
14802 2012-02-22 Glenn Morris <rgm@gnu.org>
14803
14804 * dired-x.el (dired-guess-shell-alist-default):
14805 Remove escape sequences from nroff output. (Bug#172)
14806
14807 2012-02-21 Glenn Morris <rgm@gnu.org>
14808
14809 * vc/emerge.el (emerge-defvar-local):
14810 Set `permanent-local' property rather than unused `preserved'.
14811
14812 * textmodes/picture.el (picture-delete-char): New alias.
14813 (picture-mode-map): Use it. (Bug#10860)
14814 (picture-mode): Doc fix.
14815
14816 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14817
14818 * newcomment.el (uncomment-region-default): Remove unused binding.
14819
14820 2012-02-21 Glenn Morris <rgm@gnu.org>
14821
14822 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14823 (picture-self-insert, picture-tab-chars): Doc fix.
14824 (picture-mode-map): Fix C-a, C-e.
14825
14826 2012-02-20 Glenn Morris <rgm@gnu.org>
14827
14828 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14829
14830 2012-02-20 Leo Liu <sdl.web@gmail.com>
14831
14832 * icomplete.el (icomplete-completions): Check FROM arg before
14833 passing to substring (Bug#10850).
14834
14835 2012-02-19 Chong Yidong <cyd@gnu.org>
14836
14837 * comint.el: Require ansi-color.
14838 (comint-output-filter-functions): Add ansi-color-process-output.
14839
14840 * ansi-color.el: Don't set comint-output-filter-functions; it is
14841 now in the initial value defined in comint.el.
14842 (ansi-color-apply-face-function): New variable.
14843 (ansi-color-apply-on-region): Use it.
14844 (ansi-color-apply-overlay-face): New function.
14845
14846 * shell.el (shell): No need to require ansi-color.
14847 (shell-mode): Use ansi-color-apply-face-function to highlight
14848 color escapes using font-lock-face property (Bug#10835).
14849
14850 2012-02-19 Chong Yidong <cyd@gnu.org>
14851
14852 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14853 mode-line formats (Bug#10839).
14854
14855 2012-02-18 Glenn Morris <rgm@gnu.org>
14856
14857 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14858
14859 * mail/undigest.el (unforward-rmail-message): Doc fix.
14860
14861 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14862
14863 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14864
14865 * international/characters.el (script-list): Sync with the latest
14866 Unicode Character Database.
14867
14868 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14869
14870 * international/titdic-cnv.el: Remove duplicate coding tag.
14871 * language/cham.el: Likewise.
14872 * language/tai-viet.el: Likewise.
14873
14874 2012-02-18 Glenn Morris <rgm@gnu.org>
14875
14876 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14877 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14878 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14879 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14880 * calendar/holidays.el (holiday-bahai-holidays)
14881 (calendar-holidays, list-holidays):
14882 Use utf-8 Bahá'í in doc-strings, menus, etc.
14883
14884 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14885
14886 * saveplace.el (save-place-ignore-files-regexp): New variable
14887 allowing for excluding files from saving their location of point.
14888 The default value matches the temporary commit message editing
14889 files from Git, SVN, Bazaar, and Mercurial.
14890 (save-place-to-alist): Use it.
14891
14892 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14893 Stefan Monnier <monnier@iro.umontreal.ca>
14894
14895 * newcomment.el (uncomment-region-default): Don't leave extra space
14896 when an arg is provided (bug#8150).
14897
14898 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14899
14900 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14901
14902 2012-02-17 Glenn Morris <rgm@gnu.org>
14903
14904 * net/socks.el: Require network-stream. (Bug#10599)
14905
14906 2012-02-17 Kenichi Handa <handa@m17n.org>
14907
14908 * international/charprop.el:
14909 * international/uni-name.el:
14910 * international/uni-old-name.el:
14911 * international/uni-comment.el: Regenerate.
14912
14913 2012-02-16 Glenn Morris <rgm@gnu.org>
14914
14915 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14916 Interactively in calendar buffer, give an error if not on a date.
14917
14918 2012-02-15 Glenn Morris <rgm@gnu.org>
14919
14920 * shell.el (shell-delimiter-argument-list):
14921 Revert 2011-02-17 change. (Bug#8027)
14922
14923 2012-02-15 Chong Yidong <cyd@gnu.org>
14924
14925 * minibuffer.el (completion-at-point-functions): Doc fix.
14926
14927 * custom.el (defcustom): Doc fix; note use of defvar.
14928
14929 2012-02-15 Glenn Morris <rgm@gnu.org>
14930
14931 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14932 Doc fixes.
14933
14934 2012-02-14 Glenn Morris <rgm@gnu.org>
14935
14936 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14937
14938 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14939
14940 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14941 way the ports list is computed.
14942 (smtpmail-query-smtp-server): Prompt the user for a port number if
14943 we can't connect to any of the standard ports (bug#10810).
14944
14945 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14946
14947 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14948
14949 2012-02-13 Glenn Morris <rgm@gnu.org>
14950
14951 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14952
14953 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14954
14955 * net/gnutls.el (gnutls-trustfiles): New variable.
14956 (gnutls-negotiate): Use it.
14957
14958 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14959
14960 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14961 does its stuff if Gnus is running.
14962
14963 2012-02-13 Alan Mackenzie <acm@muc.de>
14964
14965 Fix a loop in c-set-fl-decl-start.
14966
14967 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14968 c-backward-syntactic-ws actually moves backwards.
14969
14970 2012-02-13 Leo Liu <sdl.web@gmail.com>
14971
14972 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14973 beginning so that all \C-o chars are removed.
14974
14975 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14976
14977 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14978
14979 2012-02-12 Alan Mackenzie <acm@muc.de>
14980
14981 Fix infinite loop with long macros.
14982 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14983
14984 2012-02-12 Chong Yidong <cyd@gnu.org>
14985
14986 * window.el (display-buffer): Doc fix (Bug#10785).
14987
14988 2012-02-12 Glenn Morris <rgm@gnu.org>
14989
14990 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14991 (x-disown-selection-internal, x-get-selection-internal):
14992 Sync docs with the xselect.c versions.
14993
14994 * allout-widgets.el: Add missing license notice.
14995
14996 2012-02-11 Glenn Morris <rgm@gnu.org>
14997
14998 * select.el (x-get-selection-internal, x-own-selection-internal)
14999 (x-disown-selection-internal):
15000 * x-dnd.el (x-get-selection-internal): Update declarations.
15001
15002 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15003
15004 * window.el (window-sides-slots):
15005 * tool-bar.el (tool-bar-position):
15006 * term/xterm.el (xterm-extra-capabilities):
15007 * ses.el (ses-self-reference-early-detection):
15008 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15009 (verilog-auto-wire-type)
15010 (verilog-auto-delete-trailing-whitespace)
15011 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15012 (verilog-auto-tieoff-declaration):
15013 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15014 (sql-oracle-statement-starters, sql-oracle-scan-on):
15015 * progmodes/prolog.el (prolog-align-comments-flag)
15016 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15017 (prolog-left-indent-regexp, prolog-paren-indent-p)
15018 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15019 (prolog-types, prolog-mode-specificators)
15020 (prolog-determinism-specificators, prolog-directives)
15021 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15022 (prolog-electric-dot-flag)
15023 (prolog-electric-dot-full-predicate-template)
15024 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15025 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15026 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15027 (prolog-program-switches, prolog-prompt-regexp)
15028 (prolog-debug-on-string, prolog-debug-off-string)
15029 (prolog-trace-on-string, prolog-trace-off-string)
15030 (prolog-zip-on-string, prolog-zip-off-string)
15031 (prolog-use-standard-consult-compile-method-flag)
15032 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15033 (prolog-imenu-max-lines, prolog-info-predicate-index)
15034 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15035 (prolog-char-quote-workaround):
15036 * progmodes/cc-vars.el (c-defun-tactic):
15037 * net/tramp.el (tramp-encoding-command-interactive)
15038 (tramp-local-end-of-line):
15039 * net/soap-client.el (soap-client):
15040 * net/netrc.el (netrc-file):
15041 * net/gnutls.el (gnutls):
15042 * minibuffer.el (completion-category-overrides)
15043 (completion-cycle-threshold)
15044 (completion-pcm-complete-word-inserts-delimiters):
15045 * man.el (Man-name-local-regexp):
15046 * mail/feedmail.el (feedmail-display-full-frame):
15047 * international/characters.el (glyphless-char-display-control):
15048 * eshell/em-ls.el (eshell-ls-date-format):
15049 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15050 (lisp-lambda-list-keyword-parameter-indentation)
15051 (lisp-lambda-list-keyword-parameter-alignment):
15052 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15053 * dired-x.el (dired-omit-verbose):
15054 * cus-theme.el (custom-theme-allow-multiple-selections):
15055 * calc/calc.el (calc-highlight-selections-with-faces)
15056 (calc-lu-field-reference, calc-lu-power-reference)
15057 (calc-note-threshold):
15058 * battery.el (battery-mode-line-limit):
15059 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15060 (archive-7z-update):
15061 * allout.el (allout-prefixed-keybindings)
15062 (allout-unprefixed-keybindings)
15063 (allout-inhibit-auto-fill-on-headline)
15064 (allout-flattened-numbering-abbreviation):
15065 * allout-widgets.el (allout-widgets-auto-activation)
15066 (allout-widgets-icons-dark-subdir)
15067 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15068 (allout-widgets-theme-dark-background)
15069 (allout-widgets-theme-light-background)
15070 (allout-widgets-item-image-properties-emacs)
15071 (allout-widgets-item-image-properties-xemacs)
15072 (allout-widgets-run-unit-tests-on-load)
15073 (allout-widgets-time-decoration-activity)
15074 (allout-widgets-hook-error-post-time)
15075 (allout-widgets-track-decoration):
15076 Add missing :version tags to new defcustoms and defgroups.
15077
15078 * progmodes/sql.el (sql-ansi-statement-starters)
15079 (sql-oracle-statement-starters): Add custom type.
15080
15081 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15082 (prolog-system-version): Give it a type.
15083
15084 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15085
15086 * term/pc-win.el (x-select-text, x-selection-owner-p)
15087 (x-own-selection-internal, x-disown-selection-internal)
15088 (x-get-selection-internal): Sync doc strings and argument lists
15089 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15090
15091 2012-02-11 Leo Liu <sdl.web@gmail.com>
15092
15093 * progmodes/python.el (python-end-of-statement): Fix infinite
15094 loop. (Bug#10788)
15095
15096 2012-02-10 Glenn Morris <rgm@gnu.org>
15097
15098 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15099 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15100
15101 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15102
15103 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15104 about SMTP before checking the From header.
15105
15106 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15107 into own function for reuse by emacsbug.el.
15108
15109 2012-02-10 Leo Liu <sdl.web@gmail.com>
15110
15111 * subr.el (condition-case-unless-debug): Rename from
15112 condition-case-no-debug. All callers changed.
15113 (with-demoted-errors): Fix caller.
15114
15115 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15116 * nxml/rng-valid.el (rng-do-some-validation):
15117 * emacs-lisp/package.el (package-refresh-contents)
15118 (package-menu-execute):
15119 * desktop.el (desktop-create-buffer):
15120 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15121
15122 2012-02-10 Glenn Morris <rgm@gnu.org>
15123
15124 * textmodes/bibtex.el:
15125 Add missing :version tags for new/changed defcustoms.
15126
15127 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15128
15129 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15130
15131 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15132 (smtpmail-via-smtp): Use it, or fall back on the From address.
15133 (smtpmail-send-it): Ditto.
15134
15135 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15136
15137 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15138 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15139 (byte-compile-tmp-var): New const.
15140 (byte-compile-defvar): Use it to minimize .elc size.
15141 Just use `defvar' rather than simulate it (bug#10761).
15142
15143 2012-02-09 Glenn Morris <rgm@gnu.org>
15144
15145 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15146
15147 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15148 Add :version tags.
15149
15150 * progmodes/compile.el (compilation-error-screen-columns)
15151 (compilation-first-column, compilation-filter-start): Doc fixes.
15152
15153 * vc/log-view.el (log-view-toggle-entry-display):
15154 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15155
15156 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15157 (report-emacs-bug-can-use-xdg-email):
15158 (report-emacs-bug-insert-to-mailer): Doc fixes.
15159 (report-emacs-bug): Message fix.
15160
15161 * net/browse-url.el (browse-url-can-use-xdg-open)
15162 (browse-url-xdg-open): Doc fixes.
15163
15164 * electric.el (electric-indent-mode, electric-pair-mode)
15165 (electric-layout-rules, electric-layout-mode): Doc fixes.
15166 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15167
15168 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15169
15170 * server.el (server-unselect-display): Don't inadvertently kill
15171 the current buffer. (Bug#10729)
15172
15173 2012-02-08 Glenn Morris <rgm@gnu.org>
15174
15175 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15176 (sql-list-table): Doc fixes.
15177
15178 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15179 Comment out (does nothing).
15180
15181 * completion.el (dynamic-completion-mode):
15182 * dirtrack.el (dirtrack-debug-mode):
15183 * electric.el (electric-layout-mode):
15184 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15185 * face-remap.el (text-scale-mode, buffer-face-mode):
15186 * iimage.el (iimage-mode):
15187 * image-mode.el (image-transform-mode):
15188 * minibuffer.el (completion-in-region-mode):
15189 * scroll-lock.el (scroll-lock-mode):
15190 * simple.el (next-error-follow-minor-mode):
15191 * tar-mode.el (tar-subfile-mode):
15192 * tooltip.el (tooltip-mode):
15193 * vcursor.el (vcursor-use-vcursor-map):
15194 * wid-browse.el (widget-minor-mode):
15195 * emulation/tpu-edt.el (tpu-edt-mode):
15196 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15197 * international/iso-ascii.el (iso-ascii-mode):
15198 * language/thai-util.el (thai-word-mode):
15199 * mail/supercite.el (sc-minor-mode):
15200 * net/goto-addr.el (goto-address-mode):
15201 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15202 * progmodes/cwarn.el (cwarn-mode):
15203 * progmodes/flymake.el (flymake-mode):
15204 * progmodes/glasses.el (glasses-mode):
15205 * progmodes/hideshow.el (hs-minor-mode):
15206 * progmodes/pascal.el (pascal-outline-mode):
15207 * textmodes/enriched.el (enriched-mode):
15208 * vc/smerge-mode.el (smerge-mode):
15209 Doc fixes (minor mode argument).
15210
15211 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15212
15213 * ls-lisp.el (ls-lisp-sanitize): New function.
15214 (ls-lisp-insert-directory): Use it to fix or remove any elements
15215 in file-alist with missing attributes. (Bug#4673)
15216
15217 2012-02-07 Alan Mackenzie <acm@muc.de>
15218
15219 Fix spurious recognition of c-in-knr-argdecl.
15220
15221 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15222 putative K&R region.
15223
15224 2012-02-07 Alan Mackenzie <acm@muc.de>
15225
15226 * progmodes/cc-engine.el (c-forward-objc-directive):
15227 Prevent looping in "#pragma mark @implementation".
15228
15229 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15230
15231 * notifications.el (notifications-on-closed-signal): Make `reason'
15232 optional. (Bug#10744)
15233
15234 2012-02-07 Glenn Morris <rgm@gnu.org>
15235
15236 * emacs-lisp/easy-mmode.el (define-minor-mode):
15237 Doc fixes for the macro and the mode it defines.
15238
15239 * image.el (imagemagick-types-inhibit): Doc fix.
15240
15241 * cus-start.el (imagemagick-render-type): Add it.
15242
15243 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15244
15245 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15246 Set the default at load time, too, so that `font-lock-fontify-buffer'
15247 can be called without setting up the entire mode first. This fixes
15248 a bug in `mm-inline-text' with C MIME parts.
15249
15250 2012-02-06 Chong Yidong <cyd@gnu.org>
15251
15252 * simple.el (list-processes--refresh): Delete exited processes
15253 (Bug#8094).
15254
15255 * comint.el (comint-next-prompt): next-single-char-property-change
15256 and prev-single-char-property-change never return nil (Bug#8657).
15257
15258 * custom.el (defcustom): Doc fix (Bug#9711).
15259
15260 2012-02-05 Chong Yidong <cyd@gnu.org>
15261
15262 * cus-edit.el (custom-variable-reset-backup): Quote the value
15263 before storing it in the customized-value property (Bug#6712).
15264 (custom-display): Add a customization type tag.
15265 (custom-buffer-create-internal): Improve tooltip message.
15266
15267 * wid-edit.el (widget-field-value-get): New optional arg to
15268 suppress trailing whitespace truncation.
15269 (character): Use it (Bug#2689).
15270
15271 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15272
15273 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15274 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15275
15276 2012-02-05 Chong Yidong <cyd@gnu.org>
15277
15278 * cus-edit.el (custom-variable-value-create): For mismatched
15279 types, show the current value (Bug#7600).
15280
15281 * custom.el (defcustom): Doc fix.
15282
15283 2012-02-05 Glenn Morris <rgm@gnu.org>
15284
15285 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15286
15287 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15288
15289 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15290 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15291 (pp-last-sexp): Use `looking-at-p'.
15292
15293 2012-02-04 Glenn Morris <rgm@gnu.org>
15294
15295 * files.el (revert-buffer):
15296 Doc fix (mention revert-buffer-in-progress-p).
15297
15298 * emacs-lisp/ert-x.el (ert-simulate-command):
15299 Check deferred-action-list (which is obsolete) is bound.
15300
15301 * subr.el (with-wrapper-hook): Doc fixes.
15302
15303 * simple.el (filter-buffer-substring-functions)
15304 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15305
15306 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15307
15308 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15309 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15310
15311 2012-02-04 Leo Liu <sdl.web@gmail.com>
15312
15313 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15314
15315 2012-02-04 Glenn Morris <rgm@gnu.org>
15316
15317 * image.el (image-extension-data): Add obsolete alias.
15318
15319 * isearch.el (isearch-update): Doc fix.
15320
15321 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15322
15323 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15324
15325 2012-02-03 Glenn Morris <rgm@gnu.org>
15326
15327 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15328 (image-animate-timeout): Doc fix.
15329
15330 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15331
15332 2012-02-02 Glenn Morris <rgm@gnu.org>
15333
15334 * server.el (server-auth-dir): Doc fix.
15335 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15336
15337 * subr.el (run-mode-hooks): Doc fix.
15338
15339 2012-02-02 Juri Linkov <juri@jurta.org>
15340
15341 * image-mode.el (image-toggle-display-image): Remove tautological
15342 `major-mode' from the `derived-mode-p' test.
15343
15344 2012-02-02 Kenichi Handa <handa@m17n.org>
15345
15346 * composite.el (compose-region): Cancel previous change.
15347
15348 2012-02-02 Kenichi Handa <handa@m17n.org>
15349
15350 * composite.el (compose-region, compose-string): Signal error for
15351 a null string component (Bug#6988).
15352
15353 2012-02-01 Chong Yidong <cyd@gnu.org>
15354
15355 * view.el (view-buffer-other-window, view-buffer-other-frame):
15356 Handle special modes like view-buffer (Bug#10650).
15357 (view-buffer): Simplify.
15358
15359 * frame.el (set-frame-font): Tweak meaning of third argument.
15360
15361 * dynamic-setting.el (font-setting-change-default-font):
15362 Use set-frame-font (Bug#9982).
15363
15364 2012-02-01 Glenn Morris <rgm@gnu.org>
15365
15366 * progmodes/compile.el (compilation-internal-error-properties):
15367 Respect compilation-first-column in the "*compilation*" buffer.
15368
15369 * emacs-lisp/easy-mmode.el (define-minor-mode):
15370 Relax :variable's test for a named function.
15371
15372 2012-01-31 Alan Mackenzie <acm@muc.de>
15373
15374 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15375 off by one error.
15376
15377 2012-01-31 Chong Yidong <cyd@gnu.org>
15378
15379 * frame.el (set-frame-font): New arg ALL-FRAMES.
15380
15381 * menu-bar.el (menu-set-font): Use set-frame-font.
15382
15383 * faces.el (face-spec-reset-face): Don't apply unspecified
15384 attribute values to the default face.
15385
15386 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15387
15388 * progmodes/cwarn.el (cwarn): Remove dead link.
15389 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15390 Remove * from defcustom docstrings.
15391 (turn-on-cwarn-mode): Make obsolete.
15392 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15393 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15394
15395 2012-01-31 Glenn Morris <rgm@gnu.org>
15396
15397 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15398 Fix :variable handling of mode a symbol not equal to modefun.
15399 Allow named functions to be used as the cdr of :variable.
15400
15401 2012-01-30 Glenn Morris <rgm@gnu.org>
15402
15403 * emacs-lisp/authors.el (authors-fixed-entries):
15404 Remove reference to deleted file rnewspost.el.
15405
15406 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15407
15408 * window.el (window-with-parameter): Remove unused variable `windows'.
15409 (window--side-check): Remove unused variable `code'.
15410 (window--resize-siblings): Remove unused variable `first'.
15411 (adjust-window-trailing-edge): Remove unused variable `failed'.
15412 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15413 Use `let', not `let*'.
15414 (balance-windows-2): Remove unused variable `found'.
15415 (window--state-put-2): Remove unused variable `splits'.
15416 (window-state-put): Remove unused variable `selected'.
15417 (same-window-p): Use `string-match-p'.
15418 (display-buffer-assq-regexp): Remove unused variable `value'.
15419 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15420 Mark argument ALIST as ignored.
15421 (pop-to-buffer): Remove unused variable `old-window'.
15422
15423 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15424
15425 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15426 and .lzma compressed files.
15427
15428 2012-01-29 Chong Yidong <cyd@gnu.org>
15429
15430 * frame.el (window-system-default-frame-alist): Doc fix.
15431
15432 * dynamic-setting.el (font-setting-change-default-font): Don't
15433 change the default face if SET-FONT argument is non-nil (Bug#9982).
15434
15435 2012-01-29 Samuel Bronson <naesten@gmail.com>
15436
15437 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15438
15439 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15440
15441 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15442 breakpoints in files outside current directory (Bug#6098).
15443
15444 2012-01-29 Chong Yidong <cyd@gnu.org>
15445
15446 * progmodes/python.el: Require ansi-color at top-level.
15447
15448 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15449 Define and use in Emacs Lisp mode (Bug#9360).
15450 (lisp-mode-abbrev-table): Add doc.
15451 (lisp-mode-variables): Don't set local-abbrev-table.
15452 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15453
15454 2012-01-28 Roland Winkler <winkler@gnu.org>
15455
15456 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15457
15458 2012-01-28 Roland Winkler <winkler@gnu.org>
15459
15460 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15461 (bibtex-set-dialect): Use it. Either set global values of
15462 dialect-dependent variables or bind these variables buffer-locally
15463 (Bug#10254).
15464 (bibtex-mode): Call bibtex-set-dialect via
15465 hack-local-variables-hook.
15466 (bibtex-dialect): Update docstring.
15467 Add safe-local-variable predicate.
15468 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15469 bibtex-set-dialect.
15470 (bibtex-mode-map): Define menu for each dialect.
15471 (bibtex-entry): Fix docstring.
15472
15473 2012-01-28 Chong Yidong <cyd@gnu.org>
15474
15475 * eshell/esh-arg.el (eshell-quote-argument): New function.
15476
15477 * eshell/esh-ext.el (eshell-invoke-batch-file):
15478 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15479 first arg to eshell-parse-command (Bug#10523).
15480
15481 2012-01-28 Drew Adams <drew.adams@oracle.com>
15482
15483 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15484 `default-directory' is non-nil.
15485
15486 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15487
15488 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15489 line that displays system-configuration-options. (Bug#9924)
15490
15491 2012-01-28 Drew Adams <drew.adams@oracle.com>
15492
15493 * descr-text.el (describe-char): Show information about POS, in
15494 addition to information about the character at POS. Improve and
15495 update the doc string. Change "code point" to "code point in
15496 charset", to avoid confusion with the character's Unicode code
15497 point shown above that. (Bug#10129)
15498
15499 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15500
15501 * descr-text.el (describe-char): Show the raw character, not only
15502 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15503 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15504 for the reasons.
15505
15506 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15507
15508 * emacs-lisp/package.el (package-install):
15509 Run package-refresh-contents if there is no archive yet (Bug#9798).
15510
15511 2012-01-28 Chong Yidong <cyd@gnu.org>
15512
15513 * emacs-lisp/package.el (package-maybe-load-descriptor):
15514 New function, split from package-maybe-load-descriptor.
15515 (package-maybe-load-descriptor): Use it.
15516 (package-download-transaction): Fully load required packages
15517 inside the loop, so that `require' calls work (Bug#10593).
15518 (package-install): No need to call package-initialize now.
15519
15520 2012-01-28 Chong Yidong <cyd@gnu.org>
15521
15522 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15523
15524 * tooltip.el (tooltip-mode): Doc fix.
15525 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15526
15527 * frame.el (set-cursor-color): Doc fix (Bug#352).
15528
15529 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15530 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15531
15532 * cus-edit.el (custom-buffer-create-internal): Fix search button
15533 action (Bug#10542).
15534 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15535
15536 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15537
15538 * dired.el (dired-mark-files-regexp):
15539 Include any subdirectory components. (Bug#10445)
15540
15541 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15542
15543 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15544 Handle [host]:port syntax. (Bug#10533)
15545
15546 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15547
15548 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15549
15550 2012-01-26 Glenn Morris <rgm@gnu.org>
15551
15552 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15553 * term.el (term-raw-escape-map): Use Control-X-prefix.
15554 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15555
15556 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15557
15558 * window.el (window-state-get, window--state-get-1): Don't deal
15559 with fixed-sizeness of windows. Simplify code.
15560
15561 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15562
15563 * window.el (window--state-get-1, window--state-put-2):
15564 Don't save and restore the mark.
15565
15566 2012-01-25 Chong Yidong <cyd@gnu.org>
15567
15568 * custom.el (custom-variable-p): Doc fix.
15569
15570 2012-01-25 Glenn Morris <rgm@gnu.org>
15571
15572 * dired.el (dired-goto-file): Handle some of the more common
15573 characters that `ls -b' escapes. (Bug#10596)
15574
15575 * progmodes/compile.el (compilation-next-error-function):
15576 Respect compilation-first-column in the "*compilation*" buffer.
15577 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15578
15579 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15580
15581 2012-01-24 Glenn Morris <rgm@gnu.org>
15582
15583 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15584
15585 2012-01-24 Julien Danjou <julien@danjou.info>
15586
15587 * color.el (color-rgb-to-hsl): Fix value computing.
15588 (color-hue-to-rgb): New function.
15589 (color-hsl-to-rgb): New function.
15590 (color-clamp, color-saturate-hsl, color-saturate-name)
15591 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15592 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15593
15594 2012-01-24 Glenn Morris <rgm@gnu.org>
15595
15596 * vc/vc-rcs.el (vc-rcs-create-tag):
15597 * vc/vc-sccs.el (vc-sccs-create-tag):
15598 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15599
15600 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15601
15602 * eshell/esh-util.el (eshell-read-hosts-file):
15603 Skip comment lines. (Bug#10549)
15604
15605 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15606
15607 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15608
15609 * subr.el (display-delayed-warnings): Doc fix.
15610 (collapse-delayed-warnings): New function to collapse identical
15611 adjacent warnings.
15612 (delayed-warnings-hook): Add it.
15613
15614 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15615
15616 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15617
15618 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15619 (tramp-default-user-alist): Don't add "pscp".
15620 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15621 property "login-as", if set. (Bug#10530)
15622
15623 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15624
15625 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15626 "plink1" and "psftp". (Bug#10530)
15627
15628 2012-01-21 Kenichi Handa <handa@m17n.org>
15629
15630 * international/mule-cmds.el (prefer-coding-system): Show a
15631 warning message if the default value of file-name-coding-system
15632 was not changed.
15633
15634 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15635
15636 * windmove.el (windmove-reference-loc):
15637 Fix windmove-reference-loc miscalculation.
15638
15639 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15640
15641 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15642 default unit.
15643
15644 2012-01-21 Glenn Morris <rgm@gnu.org>
15645
15646 * international/mule.el (auto-coding-alist): Add .tbz.
15647
15648 * files.el (local-enable-local-variables): Doc fix.
15649 (inhibit-local-variables-regexps): Rename from
15650 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15651 Doc fix. Add some extensions from auto-coding-alist.
15652 (inhibit-local-variables-suffixes):
15653 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15654 (inhibit-local-variables-p):
15655 New function, extracted from set-auto-mode-1.
15656 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15657 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15658 (hack-local-variables): Doc fix. Make the mode-only case
15659 respect enable-local-variables and friends.
15660 Respect inhibit-local-variables-regexps for file-locals, but
15661 not for directory-locals.
15662 (set-visited-file-name):
15663 Take account of inhibit-local-variables-regexps.
15664 Whether it applies may change as the file name is changed.
15665 * jka-cmpr-hook.el (jka-compr-install):
15666 * jka-compr.el (jka-compr-uninstall):
15667 Update for inhibit-first-line-modes-suffixes name change.
15668
15669 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15670
15671 * help-macro.el (make-help-screen): Temporarily restore original
15672 binding for minor-mode-map-alist (Bug#10454).
15673
15674 2012-01-19 Julien Danjou <julien@danjou.info>
15675
15676 * color.el (color-name-to-rgb): Use the white color to find the max
15677 color component value and return correctly computed values.
15678 (color-name-to-rgb): Add missing float conversion for max value.
15679
15680 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15681
15682 * window.el (window--state-get-1, window-state-get): Do not use
15683 special state value for window-persistent-parameters.
15684 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15685 (window--state-put-2): Reset all window parameters to nil before
15686 assigning values of persistent parameters.
15687
15688 2012-01-18 Alan Mackenzie <acm@muc.de>
15689
15690 Eliminate sluggishness and hangs in fontification of "semicolon
15691 deserts".
15692
15693 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15694 Change value 10000 -> 3000.
15695 (c-state-safe-place): Reformulate so it doesn't stack up an
15696 infinite number of wrong entries in c-state-nonlit-pos-cache.
15697 (c-determine-limit-get-base, c-determine-limit): New functions to
15698 determine backward search limits disregarding literals.
15699 (c-find-decl-spots): Amend commenting.
15700 (c-cheap-inside-bracelist-p): New function which detects "={".
15701
15702 * progmodes/cc-fonts.el
15703 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15704 backward search.
15705 (c-font-lock-declarations): Fix an occurrence of point being
15706 undefined. Check additionally for point being in a bracelist or
15707 near a macro invocation without a semicolon so as to avoid a
15708 fruitless time consuming search for a declarator. Give a more
15709 precise search limit for declarators using the new
15710 c-determine-limit.
15711
15712 2012-01-18 Glenn Morris <rgm@gnu.org>
15713
15714 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15715 (set-auto-mode): Doc fixes.
15716
15717 2012-01-17 Glenn Morris <rgm@gnu.org>
15718
15719 * isearch.el (search-nonincremental-instead): Fix doc typo.
15720
15721 * dired.el (dired-insert-directory): Handle newlines in directory name.
15722 (dired-build-subdir-alist): Unescape newlines in directory name.
15723
15724 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15725
15726 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15727 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15728 (tramp-action-terminal): Use it. (Bug#10530)
15729
15730 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15731
15732 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15733
15734 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15735
15736 * window.el (window-state-ignored-parameters): Remove variable.
15737 (window--state-get-1): Rename argument MARKERS to IGNORE.
15738 Handle persistent window parameters. Make copy of clone-of
15739 parameter only if requested. (Bug#10348)
15740 (window--state-put-2): Install a window parameter only if it has
15741 a non-nil value or an existing parameter shall be overwritten.
15742
15743 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15744
15745 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15746
15747 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15748
15749 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15750 don't pass the (nil) value of `upnode' to string-match.
15751
15752 2012-01-14 Chong Yidong <cyd@gnu.org>
15753
15754 * startup.el (command-line): Fix X resource class for cursorColor.
15755 Fix values recognized by the cursorBlink resource.
15756
15757 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15758
15759 * epg.el (epg--make-temp-file): Avoid permission race condition
15760 when running on old Emacs versions (bug#10403).
15761
15762 2012-01-14 Glenn Morris <rgm@gnu.org>
15763
15764 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15765
15766 2012-01-13 Alan Mackenzie <acm@muc.de>
15767
15768 Fix filling for when filladapt mode is enabled.
15769
15770 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15771 c-mask-paragraph, pass in `fill-paragraph' rather than
15772 `fill-region-as-paragraph'. (This is a reversion of a previous
15773 change.)
15774 * progmodes/cc-mode.el (c-basic-common-init):
15775 Make fill-paragraph-handle-comment buffer local and set it to nil.
15776
15777 2012-01-13 Glenn Morris <rgm@gnu.org>
15778
15779 * dired.el (dired-switches-escape-p): New function.
15780 (dired-insert-directory): Use dired-switches-escape-p.
15781 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15782
15783 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15784
15785 2012-01-12 Glenn Morris <rgm@gnu.org>
15786
15787 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15788 changes in adaptive-fill-regexp. (Bug#10276)
15789
15790 2012-01-11 Alan Mackenzie <acm@muc.de>
15791
15792 Fix Emacs bug #10463 - put `widen's around the critical spots.
15793
15794 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15795 widen around each invocation of c-state-pp-to-literal. Remove an
15796 unused let variable.
15797
15798 2012-01-11 Glenn Morris <rgm@gnu.org>
15799
15800 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15801 Doc fix.
15802
15803 2012-01-10 Chong Yidong <cyd@gnu.org>
15804
15805 * net/network-stream.el (network-stream-open-starttls):
15806 Avoid emitting a confusing error message when the server gives a bad
15807 response to the capability command.
15808
15809 2012-01-10 Glenn Morris <rgm@gnu.org>
15810
15811 * mail/unrmail.el (unrmail): Tweak previous change.
15812
15813 2012-01-09 Chong Yidong <cyd@gnu.org>
15814
15815 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15816
15817 2012-01-08 Alan Mackenzie <acm@muc.de>
15818
15819 Optimize font locking in long enum definitions.
15820
15821 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15822 arm to a cond form to handle enums.
15823 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15824 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15825
15826 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15827
15828 * files.el (move-file-to-trash): Preserve default file modes on error.
15829 (Bug#10401)
15830
15831 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15832
15833 * faces.el (set-face-attribute): Clarify the meaning of the nil
15834 frame (bug#10294).
15835
15836 * subr.el (with-selected-frame): Mention that the selected frame
15837 is restored (bug#9980).
15838
15839 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15840 (bug#9759).
15841
15842 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15843 (password-read): Don't autoload unused function.
15844
15845 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15846
15847 * progmodes/which-func.el (which-func-mode): Turn into a
15848 non-interactive function and mark as obsolete (bug#10428).
15849
15850 2012-01-06 Chong Yidong <cyd@gnu.org>
15851
15852 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15853 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15854 functions, along with 1 and -1.
15855
15856 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15857
15858 * time.el (display-time-load-average)
15859 (display-time-default-load-average): Doc fixes. See the thread
15860 starting at
15861 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15862 for the details.
15863
15864 2012-01-06 Glenn Morris <rgm@gnu.org>
15865
15866 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15867 has no messages. (Bug#10377)
15868
15869 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15870 than Info-edit. (Bug#10385)
15871
15872 * time.el (display-time-load-average, display-time-next-load-average):
15873 Doc fixes.
15874
15875 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15876 local setting of buffer-read-only to the input buffer. (Bug#10419)
15877
15878 * calendar/calendar.el (calendar-mode):
15879 Locally set scroll-margin to 0. (Bug#10379)
15880
15881 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15882
15883 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15884
15885 2012-01-05 Glenn Morris <rgm@gnu.org>
15886
15887 * eshell/em-unix.el (diff-no-select): Autoload it.
15888 (eshell/diff): Use diff-no-select. (Bug#10420)
15889
15890 2012-01-05 Chong Yidong <cyd@gnu.org>
15891
15892 * shell.el (shell-dynamic-complete-functions): Revert last change.
15893 (shell-command-completion-function): New function.
15894 (shell-completion-vars): Use it to implement
15895 shell-completion-execonly (Bug#10417).
15896
15897 * custom.el (enable-theme): Don't set custom-safe-themes.
15898
15899 * cus-theme.el (custom-theme-merge-theme):
15900 Ignore custom-enabled-themes and custom-safe-themes.
15901
15902 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15903
15904 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15905 first prompt in `sql-interacive-mode'.
15906 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15907 keywords.
15908 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15909 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15910 context of original buffer. Invoke `sql-login-hook'.
15911
15912 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15913
15914 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15915 letters in cite-prefix.
15916
15917 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15918
15919 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15920
15921 2012-01-03 Chong Yidong <cyd@gnu.org>
15922
15923 * shell.el (shell-dynamic-complete-functions):
15924 Put pcomplete-completions-at-point, so as to try
15925 comint-filename-completion first (Bug#10417).
15926
15927 2012-01-02 Richard Stallman <rms@gnu.org>
15928
15929 * battery.el (battery-status-function):
15930 Detect when to use battery-yeeloong-sysfs.
15931 (battery-echo-area-format): Add string for Yeeloong.
15932 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15933 (battery-yeeloong-sysfs): New function.
15934
15935 2012-01-02 Chong Yidong <cyd@gnu.org>
15936
15937 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15938 (dirtrack): Merge code for handling relative filenames in prompt
15939 from shell-dir-cookie-watcher.
15940 (dirtrack-debug-message): New arg to avoid excess format calls.
15941
15942 * shell.el (shell-dir-cookie-re): Variable deleted.
15943 (shell-dir-cookie-watcher): Function deleted.
15944 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15945 with dirtrack-mode.
15946
15947 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15948
15949 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15950 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15951 libgnutls-26.dll.
15952
15953 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15954
15955 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15956
15957 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15958
15959 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15960 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15961
15962 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15963
15964 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15965 also for alternative shells.
15966 (tramp-open-connection-setup-interactive-shell): Check, whether
15967 the shell is a busybox.
15968 (tramp-send-command): Don't suppress multiple prompts for
15969 busyboxes, it hurts.
15970
15971 2011-12-28 Chong Yidong <cyd@gnu.org>
15972
15973 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15974 (gdb-get-source-file): Move mode line update to
15975 gdb-get-source-file (Bug#10087).
15976
15977 2011-12-25 Chong Yidong <cyd@gnu.org>
15978
15979 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15980 gud-gdb-marker-filter without taking it as an argument.
15981 (gud-gdb-run-command-fetch-lines): Caller changed.
15982 (gud-gdb-completion-function): New variable.
15983 (gud-gdb-completion-at-point): Use it.
15984 (gud-gdb-completions-1): Split from gud-gdb-completions.
15985
15986 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15987 function as separate arguments.
15988 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15989 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15990 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15991 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15992 (gdb-stopped, def-gdb-auto-update-trigger)
15993 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15994 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15995 Callers changed.
15996 (gud-gdbmi-completions): New function.
15997 (gdb): Use it for generating the completion table.
15998
15999 2011-12-24 Alan Mackenzie <acm@muc.de>
16000
16001 Introduce a mechanism to widen the region used in context font
16002 locking. Use this to protect declarations from losing their contexts.
16003
16004 * progmodes/cc-langs.el (c-before-font-lock-functions):
16005 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16006 (c-before-context-fontification-functions): New defvar, a list of
16007 functions to be run just before context (etc.) font locking.
16008
16009 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16010 New, functionality extracted from
16011 c-neutralize-syntax-in-and-mark-CPP.
16012 (c-in-after-change-fontification): New variable.
16013 (c-after-change): Set c-in-after-change-fontification.
16014 (c-set-fl-decl-start): Rejig its interface, so it can be called
16015 from both after-change and context fontifying.
16016 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16017 New functions.
16018 (c-standard-font-lock-fontify-region-function): New variable.
16019 (c-font-lock-fontify-region): New function.
16020
16021 2011-12-24 Juri Linkov <juri@jurta.org>
16022
16023 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16024 (Bug#10348)
16025
16026 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16027
16028 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16029 existence of source file. (Bug#10325)
16030
16031 2011-12-23 Alan Mackenzie <acm@muc.de>
16032
16033 Fix unstable fontification inside templates.
16034
16035 * progmodes/cc-langs.el (c-before-font-lock-functions):
16036 Newly created from the singular version. The (c c++ objc) entry now
16037 additionally has c-set-fl-decl-start. The other languages (apart
16038 from AWK) have that as a single entry.
16039
16040 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16041 The functionality for "local" declarations has been extracted to
16042 c-set-fl-decl-start.
16043
16044 * progmodes/cc-mode.el (c-common-init, c-after-change):
16045 Changes due to pluralisation of c-before-font-lock-functions.
16046 (c-set-fl-decl-start): New function, extracted from
16047 c-font-lock-enclosing-decls and enhanced.
16048
16049 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16050
16051 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16052
16053 2011-12-22 Juri Linkov <juri@jurta.org>
16054
16055 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16056
16057 2011-12-22 Chong Yidong <cyd@gnu.org>
16058
16059 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16060
16061 2011-12-21 Drew Adams <drew.adams@oracle.com>
16062
16063 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16064
16065 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16066
16067 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16068
16069 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16070
16071 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16072 highlighting and support. Fix up comments for capitalization.
16073 (cfengine-mode-debug): New var.
16074 (cfengine3-mode): Change the modeline indicator to "CFE3".
16075 (cfengine3-font-lock-keywords): Improve defun highlighting.
16076 (cfengine2-actions): Rename from `cfengine-actions'.
16077 (cfengine2-font-lock-keywords): Rename from
16078 `cfengine-font-lock-keywords'.
16079 (cfengine2-imenu-expression): Rename from
16080 `cfengine-imenu-expression'.
16081 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16082 (cfengine2-beginning-of-defun): Rename from
16083 `cfengine-beginning-of-defun'.
16084 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16085 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16086 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16087 modeline indicator to "CFE2".
16088 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16089 (cfengine-mode-abbrevs): Mark obsolete.
16090
16091 2011-12-21 Chong Yidong <cyd@gnu.org>
16092
16093 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16094 filename argument.
16095
16096 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16097
16098 * window.el (window-normalize-buffer-to-display): Remove.
16099 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16100
16101 2011-12-19 Chong Yidong <cyd@gnu.org>
16102
16103 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16104 Don't signal an error in a predicate function; return non-nil.
16105 (vc-dir-mark-file): Move the error here.
16106 (vc-dir-mark-unmark): If acting on the region, keep going if one
16107 of the entries cannot be marked/unmarked.
16108 (vc-dir-mark-all-files): If current entry is a directory, mark
16109 only child files, as documented.
16110
16111 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16112
16113 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16114 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16115 addition.
16116
16117 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16118
16119 * term/ns-win.el (ns-get-selection-internal)
16120 (ns-store-selection-internal): Declare.
16121 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16122 Declare as obsolete.
16123 (ns-get-pasteboard, ns-paste-secondary):
16124 Use ns-get-selection-internal.
16125 (ns-set-pasteboard, ns-copy-including-secondary):
16126 Use ns-store-selection-internal.
16127
16128 2011-12-17 Chong Yidong <cyd@gnu.org>
16129
16130 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16131 (vc-deduce-fileset): Doc fix.
16132
16133 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16134
16135 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16136
16137 2011-12-13 Sam Steingold <sds@gnu.org>
16138
16139 * man.el (Man-getpage-in-background): When running under a
16140 window-system, ignore $MANWIDTH and $COLUMNS.
16141
16142 2011-12-15 Kenichi Handa <handa@m17n.org>
16143
16144 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16145 (setup-ethiopic-environment-internal): Comment out key-binding for
16146 ethio-toggle-punctuation.
16147
16148 2011-12-13 Alan Mackenzie <acm@muc.de>
16149
16150 Add the switch statement to AWK Mode.
16151
16152 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16153 "default" to the keywords regexp.
16154
16155 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16156 expression as the rest.
16157 (c-nonlabel-token-key): Allow string literals for AWK.
16158 Refactor for the other modes.
16159
16160 Large brace-block initialisation makes CC Mode slow: Fix.
16161 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16162 routines. Limit backward searching in c-font-lock-enclosing.decl.
16163
16164 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16165 pp-state and literal type in addition to the limits.
16166 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16167 (c-state-literal-at): Use the above new defun.
16168 (c-slow-in-literal, c-fast-in-literal): Remove.
16169 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16170
16171 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16172 being in a literal. Add a limit for backward searching.
16173
16174 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16175 c-slow-in-literal.
16176
16177 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16178
16179 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16180
16181 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16182
16183 * window.el (delete-other-windows): Use correct frame in call to
16184 window-with-parameter.
16185
16186 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16187
16188 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16189 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16190 (makefile-gmake-statements, makefile-makepp-statements):
16191 Use it and add new makepp keywords.
16192 (makefile-makepp-font-lock-keywords): Add new patterns.
16193 (makefile-match-function-end): Match new [...] and [[...]].
16194
16195 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16196
16197 * ses.el (ses-call-printer-return, ses-cell-property-get)
16198 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16199 (ses-create-cell-variable, ses-reset-header-string)
16200 (ses-cell-set-formula, ses-repair-cell-reference-all)
16201 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16202 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16203 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16204 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16205 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16206 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16207 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16208 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16209 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16210 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16211 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16212 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16213
16214 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16215
16216 * ses.el: The overall change is to add cell renaming, that is
16217 setting fancy names for cell symbols other than name matching
16218 "\\`[A-Z]+[0-9]+\\'" regexp .
16219 (ses-create-cell-variable): New defun.
16220 (ses-relocate-formula): Relocate formulas only for cells the
16221 symbols of which are not renamed, i.e. symbols whose names do not
16222 match regexp "\\`[A-Z]+[0-9]+\\'".
16223 (ses-relocate-all): Relocate values only for cells the symbols of
16224 which are not renamed.
16225 (ses-load): Create cells variables as the (ses-cell ...) are read,
16226 in order to check row col consistency with cell symbol name only
16227 for cells that are not renamed.
16228 (ses-replace-name-in-formula): New defun.
16229 (ses-rename-cell): New defun.
16230
16231 2011-12-11 Chong Yidong <cyd@gnu.org>
16232
16233 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16234 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16235
16236 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16237
16238 * window.el (other-window): Fix docstring.
16239
16240 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16241
16242 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16243 `from' or `to' address before taking its substring.
16244 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16245 encoded name is chopped in the middle of the encoded string, and
16246 thus displayed encoded.
16247
16248 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16249
16250 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16251
16252 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16253
16254 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16255 to use texinfo-update-node and commands that call it if the
16256 Texinfo file uses @node lines without next/prev/up pointers.
16257 Correct outdated description about texinfo-master-menu.
16258 (texinfo-all-menus-update, texinfo-master-menu)
16259 (texinfo-update-node, texinfo-every-node-update)
16260 (texinfo-multiple-files-update): Doc fix. Warn against updating
16261 all the @node lines.
16262 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16263 argument is numeric. Explain better in the doc string what the
16264 function really does.
16265 (texinfo-insert-master-menu-list): Improve the error message
16266 displayed if there's no menu in the Top node.
16267 (Bug#2975) See also this thread:
16268 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16269
16270 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16271
16272 * speedbar.el (speedbar-supported-extension-expressions):
16273 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16274
16275 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16276
16277 * printing.el (pr-mode-alist):
16278 * simple.el (filter-buffer-substring-functions)
16279 (completion-list-insert-choice-function):
16280 * window.el (window-with-parameter, window-atom-root)
16281 (window-sides-slots, window-size-fixed, window-min-delta)
16282 (window-max-delta, window--resize-mini-window)
16283 (window--resize-child-windows-normal, window-tree)
16284 (delete-other-windows, quit-window, split-window)
16285 (display-buffer-record-window, special-display-buffer-names)
16286 (special-display-regexps, special-display-popup-frame)
16287 (same-window-p, split-window-sensibly)
16288 (display-buffer-overriding-action, display-buffer-alist)
16289 (display-buffer-base-action, display-buffer, switch-to-buffer)
16290 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16291 (fit-window-to-buffer, recenter-positions)
16292 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16293 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16294 and remove unneeded backslashes in docstrings.
16295
16296 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16297
16298 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16299
16300 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16301 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16302 end in ".mk".
16303 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16304 when reading the makefile (bug#10116).
16305
16306 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16307
16308 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16309 (bug#10116).
16310
16311 2011-12-06 Glenn Morris <rgm@gnu.org>
16312
16313 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16314
16315 2011-12-06 Chong Yidong <cyd@gnu.org>
16316
16317 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16318
16319 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16320
16321 * textmodes/table.el (table-shorten-cell): Fix typo.
16322
16323 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16324
16325 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16326
16327 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16328
16329 * descr-text.el (describe-char): Fix display of strong
16330 right-to-left characters and directional embeddings and overrides.
16331
16332 * simple.el (what-cursor-position): Fix display of codepoints of
16333 strong right-to-left characters.
16334
16335 2011-12-05 Chong Yidong <cyd@gnu.org>
16336
16337 * faces.el (read-color): Doc fix.
16338
16339 2011-12-05 Glenn Morris <rgm@gnu.org>
16340
16341 * align.el (align--set-marker): Add doc-string.
16342 Don't try to move something that is not a marker. (Bug#10216)
16343
16344 2011-12-04 Glenn Morris <rgm@gnu.org>
16345
16346 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16347 overly zealous deletion of trailing whitespace.
16348
16349 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16350
16351 * server.el (server-delete-client): On Windows, do not try to delete
16352 the only terminal.
16353 (server-process-filter): On Windows, treat requests for a tty frame as
16354 if they were for a GUI frame if the running server is in GUI mode.
16355
16356 2011-12-03 Glenn Morris <rgm@gnu.org>
16357
16358 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16359
16360 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16361
16362 * electric.el: Streamline electric-indent's hook.
16363 (electric-indent-chars): Revert to simple list.
16364 (electric-indent-functions): New var.
16365 (electric-indent-post-self-insert-function): Use it.
16366
16367 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16368 there's no inferior buffer (bug#10196).
16369 (prolog-consult-compile): Don't use toggle-read-only.
16370
16371 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16372
16373 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16374 interrupt. (Bug#10187)
16375
16376 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16377
16378 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16379 (bug#9160).
16380
16381 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16382 (bug#10191).
16383
16384 2011-12-02 Juri Linkov <juri@jurta.org>
16385
16386 * info.el (Info-search): Display "end of manual" when Isearch
16387 reaches the end of single-file Info manual. (Bug#9918)
16388
16389 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16390
16391 * isearch.el (isearch-message-prefix): Run the input method part
16392 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16393
16394 2011-12-02 Juri Linkov <juri@jurta.org>
16395
16396 * isearch.el (isearch-occur): Use `word-search-regexp' for
16397 `isearch-word'.
16398 (isearch-search-and-update): Add condition for `isearch-word' and
16399 call `word-search-regexp'. (Bug#10145)
16400
16401 2011-12-01 Glenn Morris <rgm@gnu.org>
16402
16403 * eshell/em-hist.el (eshell-hist-initialize):
16404 Handle eshell-history-size nil and HISTSIZE set or unset.
16405 (eshell-history-file-name, eshell-history-size): Fix custom type.
16406
16407 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16408
16409 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16410
16411 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16412
16413 * progmodes/verilog-mode.el (verilog-pretty-expr):
16414 Rework verilog-pretty-expr to handle new assignment operators in system
16415 verilog, such as += *= and the like.
16416 (verilog-assignment-operator-re): Regular expression to find the
16417 assigment operator in a verilog assignment.
16418 (verilog-assignment-operation-re): Regular expression to find an
16419 assignment statement for pretty-expr.
16420 (verilog-in-attribute-p): Query returns true if point is in an
16421 attribute context; used to skip these for expression line up from
16422 pretty-expr.
16423 (verilog-in-parameter-p): Query returns true if point is in an
16424 parameter definition context; used to skip these for expression
16425 line up from pretty-expr.
16426 (verilog-in-parenthesis-p): Query returns true if point is in a
16427 parenthetical expression, specifically ( ) but not [ ] or { };
16428 used by pretty-expr.
16429 (verilog-just-one-space): If there is no space, don't add one.
16430 (verilog-get-lineup-indent-2): Specifically skip just attribute
16431 contexts for expression lineup, rather than skipping all
16432 parenthetical expressions.
16433 (verilog-calculate-indent): Fix comment, and fix indent.
16434 (verilog-do-indent): Indent declarations in lists (suggested by
16435 Joachim Lechner).
16436 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16437 skeleton items.
16438 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16439 by Alain Mellan).
16440
16441 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16442
16443 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16444 parameters with embedded comments. Reported by Ray Stevens.
16445 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16446 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16447 Reported by Tim Holt.
16448 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16449 instantiated by upper module causing wrong expansion until AUTOed a
16450 second time. Reported by K C Buckenmaier.
16451 (verilog-diff-auto): Fix showing .* as a difference when
16452 `verilog-auto-star-save' off. Reported by Dan Dever.
16453 (verilog-auto-reset, verilog-read-always-signals)
16454 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16455 temporary signals in reset list if
16456 verilog-auto-reset-blocking-in-non is nil, and match assignment
16457 style to each signal's assignment type, bug381.
16458 Reported by Thomas Esposito.
16459 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16460 (verilog-uvm-statement-re): Support UVM indentation and
16461 highlighting, with old OVM keywords only.
16462 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16463 Support AUTOTIEOFF creating non-wire data types.
16464 Suggested by Jonathan Greenlaw.
16465 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16466 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16467 (verilog-inject-sense, verilog-read-inst-pins)
16468 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16469 Fix mismatching parenthesis inside commented out code when deleting
16470 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16471 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16472 non-numeric vector width. Reported by Alex Reed.
16473 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16474 detecting signals with parameter widths. Reported by Alex Reed.
16475 (verilog-auto-delete-trailing-whitespace):
16476 With `verilog-auto-delete-trailing-whitespace' remove trailing
16477 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16478 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16479 Fix verilog-scan-cache corruption when running user AUTO expansion
16480 hooks that call indentation routines.
16481 (verilog-simplify-range-expression): Fix typo ignoring lower case
16482 identifiers.
16483 (verilog-delete-auto): Fix delete-autos to also remove user created
16484 automatics, as long as they start with AUTO.
16485 (verilog-batch-diff-auto, verilog-diff-auto)
16486 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16487 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16488 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16489 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16490 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16491 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16492 is disabled and its cache will get corrupt, causing AUTOS not to
16493 expand. Instead use only -quick functions.
16494 (verilog-scan-region): Fix scanning over escaped quotes.
16495 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16496 (verilog-re-search-backward-quick)
16497 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16498 related functions now ignore strings, to fix misparsing of strings
16499 with magic comments embedded in them.
16500 (verilog-read-auto-template):
16501 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16502 Reported by Brad Dobbie.
16503 (verilog-read-auto-template):
16504 Fix 'verilog-auto-inst-template-numbers' with comments.
16505 Reported by Brad Dobbie.
16506 (verilog-auto-inst, verilog-auto-inst-param)
16507 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16508 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16509 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16510 debugging templates without merge conflicts, bug357.
16511 Reported by Brad Dobbie.
16512 (verilog-read-auto-template):
16513 Fix verilog-auto-inst-template-numbers with multiple templates.
16514 Reported by Brad Dobbie.
16515 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16516 abbrevs so user won't be asked to save.
16517 (verilog-read-auto-lisp-present): Fix to start at beginning of
16518 buffer in case called outside of verilog-auto.
16519 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16520 to "X-2". Reported by Matthew Myers.
16521 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16522 all inputs from module templates. Reported by Leith Johnson.
16523 (verilog-module-inside-filename-p): Fix locating programs as with
16524 modules.
16525 (verilog-auto-inst-port): Fix vl-width expressions when using
16526 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16527 (verilog-decls-get-regs, verilog-decls-get-signals,
16528 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16529 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16530 verilog-read-decls): Combine reg and wire structures into one var
16531 structure to represent SystemVerilog concepts.
16532 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16533 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16534 (verilog-auto-wire-type, verilog-insert-definition):
16535 Add verilog-auto-wire-type and AUTOLOGIC to support using
16536 SystemVerilog "logic" keyword instead of "wire"/"reg".
16537 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16538 to declares outputs that also have assignments (presumably in an
16539 ifdef or generate if so there's not a driver conflict).
16540 Reported by Matthew Myers.
16541 (verilog-auto-declare-nettype, verilog-insert-definition):
16542 Add verilog-auto-declare-nettype to fix declarations using
16543 `default_nettype none. Reported by Julian Gorfajn.
16544 (verilog-read-always-signals-recurse, verilog-read-decls)
16545 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16546 malformed end statement, bug325. Reported by Joshua Wise and
16547 Andrew Drake.
16548 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16549 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16550 when expanding .* in interfaces, bug320.
16551 Reported by Pierre-David Pfister.
16552 (verilog-read-module-name): Fix import statements between module
16553 name and open parenthesis, bug317.
16554 Reported by Pierre-David Pfister.
16555 (verilog-simplify-range-expression): Fix simplification of
16556 multiplications inside AUTOWIRE connections, bug303.
16557 (verilog-auto-inst-port): Support parameter expansion in
16558 multidimensional arrays.
16559 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16560 after "assert property". Reported by Julian Gorfajn.
16561 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16562 with multiplication, bug303.
16563 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16564 Reported by Jan Frode Lonnum.
16565
16566 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16567
16568 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16569 (hfy-shell-file-name, hfy-shell):
16570 * international/fontset.el (x-decompose-font-name): Fix typos.
16571
16572 2011-11-29 Ken Brown <kbrown@cornell.edu>
16573
16574 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16575 (gdb-version): Remove defvar.
16576 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16577 (gdb-gud-context-command, gdb-non-stop-handler)
16578 (gdb-current-context-command, gdb-stopped): Use it.
16579 (gdb-init-1): Enable pretty printing here.
16580 (gdb-non-stop-handler): Don't enable pretty-printing here.
16581 Check to see if the target supports non-stop mode; if not, turn off
16582 non-stop mode. Use the following.
16583 (gdb-check-target-async): New defun.
16584 (gud-watch, gdb-stopped): Fix whitespace.
16585 (gdb-get-source-file): Don't try to display the source file if
16586 `gdb-main-file' is nil.
16587
16588 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16589
16590 * align.el: Try to generate fewer markers (bug#10047).
16591 (align--set-marker): New macro.
16592 (align-region): Use it.
16593
16594 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16595
16596 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16597
16598 2011-11-29 Chong Yidong <cyd@gnu.org>
16599
16600 * indent.el (indent-for-tab-command, indent-according-to-mode):
16601 Doc fix.
16602 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16603
16604 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16605
16606 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16607 aware of remote file names. (Bug#10124)
16608
16609 2011-11-29 Chong Yidong <cyd@gnu.org>
16610
16611 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16612
16613 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16614
16615 * files.el (find-file): Don't use force-same-window (bug#10144).
16616 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16617 use pop-to-buffer if the selected window can't be used.
16618 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16619
16620 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16621
16622 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16623 special-mode-map.
16624
16625 2011-11-28 Chong Yidong <cyd@gnu.org>
16626
16627 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16628
16629 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16630
16631 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16632 gdb-get-source-file-list on gdb-create-source-file-list.
16633
16634 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16635
16636 * whitespace.el (whitespace-newline): Use a different foreground
16637 color for 16-color light-background displays.
16638
16639 2011-11-24 Chong Yidong <cyd@gnu.org>
16640
16641 * window.el (display-buffer--special-action): Doc fix.
16642
16643 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16644
16645 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16646 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16647 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16648 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16649 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16650 (avl-tree-stack-first):
16651 * emacs-lisp/cconv.el (cconv--analyse-use):
16652 * net/gnutls.el (gnutls-negotiate): Fix typos.
16653
16654 2011-11-24 Glenn Morris <rgm@gnu.org>
16655
16656 * lpr.el (lpr-windows-system, lpr-lp-system):
16657 * mail/binhex.el (binhex-begin-line):
16658 * progmodes/grep.el (grep-history, grep-find-history):
16659 * textmodes/flyspell.el:
16660 * vc/pcvs-defs.el (cvs-global-menu):
16661 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16662 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16663 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16664
16665 * net/tls.el: Fix case of "GnuTLS".
16666
16667 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16668
16669 * version.el (emacs-build-system): Give it a doc-string.
16670
16671 2011-11-24 Juri Linkov <juri@jurta.org>
16672
16673 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16674
16675 2011-11-24 Glenn Morris <rgm@gnu.org>
16676
16677 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16678 if called on a non-mime message just toggle the headers. (Bug#8006)
16679
16680 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16681
16682 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16683 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16684 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16685 (allout-rebullet-heading, allout-open-sibtopic)
16686 (allout-toggle-current-subtree-encryption)
16687 (allout-toggle-subtree-encryption, allout-encrypt-string)
16688 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16689 (allout-distinctive-bullets-string, allout-auto-activation):
16690 * window.el (window-normalize-buffer-to-display):
16691 * progmodes/verilog-mode.el (verilog-batch-indent):
16692 * textmodes/bibtex.el (bibtex-field-braces-opt)
16693 (bibtex-field-strings-opt):
16694 * vc/cvs-status.el (cvs-tree-merge):
16695 Fix typos.
16696
16697 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16698
16699 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16700 `non-essential' to t, in order to avoid remote connections.
16701
16702 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16703
16704 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16705 On MS-DOS and MS-Windows, compare with loaddefs.el
16706 case-insensitively.
16707
16708 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16709
16710 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16711
16712 2011-11-23 Glenn Morris <rgm@gnu.org>
16713
16714 * paths.el (rmail-file-name): Reformat the doc-string so that it
16715 is picked up.
16716
16717 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16718 (rmail-auto-file): Ignore case in the "special" field names,
16719 as mail-fetch-field does for all others.
16720
16721 * mail/rmail.el (rmail-forward):
16722 * mail/rmailkwd.el (rmail-set-label):
16723 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16724 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16725
16726 * mail/rmail.el (rmail-current-message): Doc fix.
16727
16728 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16729
16730 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16731
16732 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16733
16734 2011-11-22 Glenn Morris <rgm@gnu.org>
16735
16736 * mail/rmailmm.el (test-rmail-mime-handler)
16737 (test-rmail-mime-bulk-handler)
16738 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16739
16740 2011-11-21 Juri Linkov <juri@jurta.org>
16741
16742 * calc/calc.el (calc-read-key-sequence):
16743 Let-bind `input-method-function' to nil. (Bug#10018)
16744
16745 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16746
16747 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16748 Tell the caller that the next line needs recomputation, even
16749 though it doesn't start a sexp (bug#10094).
16750
16751 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16752
16753 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16754
16755 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16756
16757 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16758 Use force-same-window.
16759
16760 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16761
16762 * descr-text.el (describe-char-unicode-data):
16763 * json.el (json-string-escape):
16764 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16765 (Footnote-unicode, Footnote-style-p):
16766 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16767
16768 2011-11-20 Chong Yidong <cyd@gnu.org>
16769
16770 * window.el (replace-buffer-in-windows): Restore interactive spec.
16771
16772 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16773
16774 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16775
16776 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16777 (byte-compile-global-not-obsolete-vars): New var.
16778 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16779 Use it.
16780 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16781
16782 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16783
16784 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16785 * progmodes/pascal.el (electric-pascal-equal):
16786 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16787 * xml.el (xml-substitute-special): Fix typos.
16788
16789 2011-11-20 Glenn Morris <rgm@gnu.org>
16790
16791 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16792 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16793 Doc fixes.
16794 (rmail-decode-mime-charset): Mark as obsolete.
16795
16796 * mail/rmailsum.el (rmail-message-regexp-p-1):
16797 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16798 Before using mime functions, check they are set. (Bug#10077)
16799
16800 2011-11-19 Juri Linkov <juri@jurta.org>
16801
16802 * info.el (Info-finder-find-node): Use `package--builtins' instead
16803 of `package-alist'. Use node names formed by the pattern "Keyword "
16804 and the keyword name.
16805
16806 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16807
16808 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16809
16810 2011-11-19 Juri Linkov <juri@jurta.org>
16811
16812 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16813 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16814 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16815 `old-history', `old-history-forward'. Add let-binding
16816 `window-selected'. Remove calls to `kill-buffer',
16817 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16818 before calling `Info-find-node', so `Info-find-node-2' will reread
16819 the Info file. Restore window positions only when `window-selected'
16820 is non-nil.
16821
16822 2011-11-19 Juri Linkov <juri@jurta.org>
16823
16824 * isearch.el (isearch-lazy-highlight-new-loop):
16825 Remove condition `(not isearch-error)'. (Bug#9918)
16826
16827 * misearch.el (multi-isearch-search-fun): Add condition
16828 `(not bound)' to ignore lazy-highlighting search.
16829 Add the search-failed message "end of multi" when the end of
16830 multi-sequence is reached. Uncapitalize the search-failed
16831 message "Repeat for next buffer".
16832
16833 * info.el (Info-search): Add the search-failed message
16834 "end of the manual" when the end of the manual is reached
16835 in Isearch mode.
16836
16837 2011-11-19 Juri Linkov <juri@jurta.org>
16838
16839 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16840 Use non-destructive `remove' instead of `delete' because
16841 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16842 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16843
16844 2011-11-19 Juri Linkov <juri@jurta.org>
16845
16846 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16847 to nil instead of binding `search-ring' and `regexp-search-ring'.
16848 (Bug#9185)
16849
16850 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16851
16852 * simple.el (line-move): Force movement by logical lines for any
16853 hscrolled window, not only when auto-hscroll-mode is on.
16854 (line-move-visual): Update doc string to that effect. (Bug#10076)
16855
16856 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16857
16858 * language/european.el (macintosh): Define as alias for mac-roman.
16859
16860 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16861
16862 * mail/rmailmm.el (rmail-mime-display-header)
16863 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16864 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16865 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16866 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16867 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16868 of a raw aref.
16869 (rmail-mime-entity-segment): To get past the tagline, move forward
16870 2 more lines, to account for the 2 empty lines that precede and
16871 follow the line with the buttons.
16872 (rmail-mime-update-tagline): Move one more line, to get past the
16873 empty line that follows the buttons in the tagline. (Bug#9520)
16874
16875 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16876
16877 * window.el (window-max-delta-1, window-min-delta-1)
16878 (window-min-size-1, window-state-get-1, window-state-put-1)
16879 (window-state-put-2): Use "window--" prefix.
16880
16881 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16882
16883 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16884 (smie-warning-count): New var.
16885 (smie-set-prec2tab): Use it.
16886 (smie-bnf->prec2): Improve warnings. Add docstring.
16887 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16888 (smie-bnf--set-class): New function.
16889 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16890 corner case.
16891
16892 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16893 (compilation-error-properties, compilation-move-to-column):
16894 Handle compilation-first-column while in the target buffer.
16895
16896 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16897 Don't hardcode point-min==1.
16898
16899 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16900 (eshell-rewrite-for-command): Remove workaround.
16901 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16902 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16903 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16904
16905 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16906
16907 2011-11-17 Glenn Morris <rgm@gnu.org>
16908
16909 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16910 Ignore buffer-local generated-autoload-file if it is the same
16911 as the global value. (Bug#10049)
16912
16913 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16914
16915 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16916 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16917 (reftex-toc-previous-heading, reftex-toc-max-level)
16918 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16919 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16920 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16921 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16922 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16923 (reftex-toc-rename-label, reftex-toc-visit-location)
16924 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16925 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16926 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16927 leaving "*toc*" only for references to the buffer.
16928
16929 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16930
16931 * window.el (window-resize, delete-window, split-window):
16932 Replace window-splits by window-combination-resize.
16933 * cus-start.el (window-splits): Replace by window-combination-resize.
16934
16935 2011-11-17 Glenn Morris <rgm@gnu.org>
16936
16937 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16938 Make bash entry derive from sh entry, not shell entry.
16939
16940 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16941
16942 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16943 local file name.
16944
16945 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16946
16947 * menu-bar.el (menu-bar-file-menu):
16948 * printing.el (pr-ps-utility):
16949 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16950 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16951 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16952 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16953 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16954 (icalendar--convert-cyclic-to-ical)
16955 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16956 (icalendar--convert-ical-to-diary)
16957 (icalendar--convert-recurring-to-diary)
16958 (icalendar--convert-non-recurring-all-day-to-diary)
16959 (icalendar-import-format-sample):
16960 * progmodes/idlw-shell.el (idlwave-shell-mode):
16961 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16962 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16963 (vhdl-ps-print-init): Fix typos.
16964
16965 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16966
16967 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16968 FSF and collapse date sequence, obscure author/maintainer email address
16969 better, remove extra version line, track relocation of author's webpage.
16970
16971 * progmodes/python.el (python-pdbtrack-input-prompt)
16972 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16973 regular python pdb prompts. Adjustments shamelessly taken exactly as
16974 suggested in EmacsWiki page (tiny change):
16975 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16976
16977 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16978
16979 * expand.el (expand-pos, expand-index, expand-point):
16980 Remove redundant info from docstring.
16981 (expand-add-abbrevs): Doc fix.
16982 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16983 (expand-sample-perl-mode-expand-list): Fix typos.
16984
16985 * net/dbus.el (dbus-event-member-name):
16986 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16987 * term/pc-win.el (msdos-create-frame-with-faces):
16988 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16989
16990 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16991
16992 * window.el (split-window, window-state-get-1)
16993 (window-state-put-1, window-state-put-2): Rename occurrences of
16994 window-nest to window-combination-limit.
16995 * cus-start.el (window-nest): Rename to window-combination-limit.
16996
16997 2011-11-16 Chong Yidong <cyd@gnu.org>
16998
16999 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17000 regexp (Bug#10033).
17001
17002 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17003
17004 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17005 `completing-read' will remove *Completions* and will preserve
17006 current-buffer for us.
17007 (tmm-add-prompt): Users of *Completions* will always (re)set its
17008 major mode.
17009 (tmm-old-comp-map): Remove.
17010
17011 2011-11-16 Glenn Morris <rgm@gnu.org>
17012
17013 * mail/rmailedit.el: Require rmailmm when compiling.
17014 (rmail-old-mime-state): New declaration.
17015 (rmail-edit-current-message): If editing a mime message,
17016 edit the "raw" message from the mbox buffer.
17017 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17018
17019 2011-11-15 Glenn Morris <rgm@gnu.org>
17020
17021 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17022 which wasn't being used. Add optional arg to force given state.
17023 (rmail-mime): Add optional arg to force given state.
17024
17025 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17026
17027 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17028 * frame.el (display-mm-dimensions-alist):
17029 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17030 (outline-move-subtree-down):
17031 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17032 (newsticker--treeview-do-get-node):
17033 * net/quickurl.el (quickurl-list-buffer-name):
17034 * progmodes/dcl-mode.el (dcl-mode):
17035 * progmodes/gdb-mi.el (gdb-mapcar*):
17036 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17037
17038 2011-11-15 Glenn Morris <rgm@gnu.org>
17039
17040 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17041 in a boolean sense, so just make it a boolean, and fix the doc.
17042 (rmail-show-mime-function, rmail-mime-feature)
17043 (rmail-require-mime-maybe): Doc fixes.
17044 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17045
17046 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17047
17048 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17049
17050 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17051 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17052 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17053 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17054
17055 2011-11-15 Glenn Morris <rgm@gnu.org>
17056
17057 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17058 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17059 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17060 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17061 (rmail-mime, rmail-show-mime): Doc fixes.
17062
17063 * term/ns-win.el (mode-line-frame-identification):
17064 Leave it alone. (Bug#10051)
17065
17066 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17067
17068 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17069 Handle empty buffers. (Bug#9978)
17070
17071 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17072
17073 * international/mule.el (define-charset):
17074 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17075 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17076 * progmodes/verilog-mode.el (verilog-backward-token):
17077 * textmodes/ispell.el (lookup-words):
17078 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17079
17080 2011-11-14 Glenn Morris <rgm@gnu.org>
17081
17082 * progmodes/executable.el
17083 (executable-make-buffer-file-executable-if-script-p):
17084 Handle file-modes returning nil.
17085
17086 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17087 message - not necessary, and causes problems. (Bug#9831)
17088
17089 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17090
17091 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17092
17093 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17094 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17095 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17096
17097 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17098
17099 * window.el (window-resize, delete-window): Use window-splits
17100 variable instead of function.
17101 (window-state-get-1, window-state-put-2, window-state-put):
17102 Don't deal with windows' splits status.
17103
17104 2011-11-12 Glenn Morris <rgm@gnu.org>
17105
17106 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17107 (apropos-documentation): Doc fixes.
17108
17109 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17110
17111 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17112 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17113
17114 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17115
17116 * electric.el (electric-indent-post-self-insert-function): Make it
17117 possible for a char to only indent in some circumstances.
17118 (electric-indent-mode): Simplify.
17119
17120 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17121
17122 * window.el (windows-with-parameter): Remove unused function.
17123 (windows-at-side): Rename to window-at-side-list.
17124 (window-check, window-atom-check, window-atom-check-1)
17125 (window-side-check, window-size-ignore, window-size-fixed-1)
17126 (window-in-direction-2): Prefix with "window--".
17127 (window-tree-1): Rename to window--subtree, fix doc-string.
17128
17129 2011-11-11 Glenn Morris <rgm@gnu.org>
17130
17131 * subr.el (eval-after-load): If FILE is already loaded,
17132 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17133
17134 2011-11-10 Glenn Morris <rgm@gnu.org>
17135
17136 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17137 Call svn via vc-svn-command rather than vc-do-command.
17138 (vc-svn-command): Add --non-interactive. (Bug#9993)
17139 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17140
17141 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17142 Add toggle-read-only. (Bug#7292)
17143 * files.el (toggle-read-only): Mention that it should only
17144 be used interactively. (Bug#10006)
17145
17146 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17147
17148 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17149 Adjust regexp for OCaml warnings.
17150
17151 * electric.el (electric-pair-post-self-insert-function): Let user
17152 turn it off buffer-locally (bug#9932).
17153
17154 * progmodes/python.el (python-beginning-of-statement):
17155 Rewrite (bug#2703).
17156
17157 * progmodes/compile.el: Better handle TABs (bug#9749).
17158 (compilation-internal-error-properties)
17159 (compilation-next-error-function): Obey the target buffer's
17160 compilation-error-screen-columns.
17161
17162 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17163
17164 * progmodes/meta-mode.el: Remove obsolete comments.
17165 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17166 Fix typos in docstrings.
17167
17168 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17169
17170 * window.el (window-size-fixed-p): Rewrite doc-string.
17171 (window-resizable-p): Rename to window--resizable-p. Update callers.
17172 (window--resizable): New function. Make all callers of
17173 window-resizable call window--resizable instead.
17174 (window-resizable): Rewrite in terms of window--resizable.
17175
17176 2011-11-08 Glenn Morris <rgm@gnu.org>
17177
17178 * progmodes/delphi.el (delphi-mode-syntax-table):
17179 Let define-derived-mode define a proper syntax table. (Bug#9994)
17180
17181 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17182
17183 * window.el: Stay away from defsubst.
17184 (window-list-no-nils): Remove.
17185 (window-state-get-1, window-state-get): Use backquote instead.
17186
17187 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17188
17189 * emacs-lisp/find-func.el (find-function-read):
17190 Fix incorrect use of default argument in `completing-read'.
17191
17192 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17193
17194 * window.el (display-buffer-function, special-display-function):
17195 Mention display-buffer-record-window but do not mention
17196 help-setup parameter in doc-strings.
17197 (window-min-delta): Fix doc-string typo.
17198
17199 2011-11-08 Chong Yidong <cyd@gnu.org>
17200
17201 * window.el (window-total-height, window-total-width): Doc fix.
17202 (window-body-size): Move from C.
17203 (window-body-height, window-body-width): Move to C.
17204
17205 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17206
17207 * window.el: Make special-display like display-buffer-alist (bug#9532).
17208 (display-buffer--special-action): New function, morphed
17209 from display-buffer--special.
17210 (display-buffer): Use it to handle special-display-buffers at higher
17211 priority (just after display-buffer-alist).
17212 (display-buffer-fallback-action, display-buffer--other-frame-action)
17213 (pop-to-buffer-same-window): Remove display-buffer--special.
17214
17215 2011-11-07 Glenn Morris <rgm@gnu.org>
17216
17217 * calendar/cal-menu.el (cal-menu-set-date-title):
17218 Do nothing if not in a calendar. (Bug#9976)
17219
17220 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17221
17222 * files.el (find-file): Always use selected-window.
17223
17224 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17225
17226 * window.el (window-combinations): Make WINDOW argument
17227 mandatory. Rewrite doc-string.
17228 (walk-window-subtree, window-atom-check, window-min-delta)
17229 (window-max-delta, window--resize-this-window)
17230 (window--resize-root-window-vertically, window-tree)
17231 (balance-windows, window-state-put): Rewrite doc-strings as to
17232 not mention the term "subwindow".
17233 (window--resize-subwindows-skip-p): Rename to
17234 window--resize-child-windows-skip-p.
17235 (window--resize-subwindows-normal): Rename to
17236 window--resize-child-windows-normal.
17237 (window--resize-subwindows): Rename to
17238 window--resize-child-windows.
17239 (window-or-subwindow-p): Rename to window--in-subtree-p.
17240
17241 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17242
17243 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17244 Ensure that mbox format messages end in two newlines (Bug#9974).
17245
17246 2011-11-06 Chong Yidong <cyd@gnu.org>
17247
17248 * window.el (window-combination-p): Function deleted; its
17249 side-effect is not used in any existing code.
17250 (window-combinations, window-combined-p): Call window-*-child
17251 directly.
17252
17253 2011-11-05 Chong Yidong <cyd@gnu.org>
17254
17255 * window.el (window-valid-p): Rename from window-any-p.
17256 (window-size-ignore, window-state-get): Callers changed.
17257 (window-normalize-window): Rename from window-normalize-any-window.
17258 New arg LIVE-ONLY, replacing window-normalize-live-window.
17259 (window-normalize-live-window): Delete.
17260 (window-combination-p, window-combined-p, window-combinations)
17261 (walk-window-subtree, window-atom-root, window-min-size)
17262 (window-sizable, window-sizable-p, window-size-fixed-p)
17263 (window-min-delta, window-max-delta, window-resizable)
17264 (window-resizable-p, window-full-height-p, window-full-width-p)
17265 (window-current-scroll-bars, window-point-1, set-window-point-1)
17266 (window-at-side-p, window-in-direction, window-resize)
17267 (adjust-window-trailing-edge, maximize-window, minimize-window)
17268 (window-deletable-p, delete-window, delete-other-windows)
17269 (record-window-buffer, unrecord-window-buffer)
17270 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17271 (quit-window, split-window, window-state-put)
17272 (set-window-text-height, fit-window-to-buffer)
17273 (shrink-window-if-larger-than-buffer): Callers changed.
17274
17275 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17276
17277 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17278 rfc2047-decode-string.
17279 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17280 warnings.
17281
17282 * window.el (window-body-height, window-body-width): Mention in
17283 the doc string that the return values are in frame's canonical
17284 units. (Bug#9949)
17285
17286 2011-11-03 Alan Mackenzie <acm@muc.de>
17287
17288 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17289 change in cc-engine.el.
17290
17291 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17292
17293 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17294
17295 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17296
17297 * window.el (quit-window): Call unrecord-window-buffer after
17298 showing another buffer in the window. (Bug#9937)
17299 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17300
17301 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17302
17303 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17304 Accept status with more than 9 shelves. (Bug#9935)
17305 Reported by Colin D Bennett <colin@gibibit.com>.
17306
17307 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17308
17309 * help.el (with-help-window): Don't reference
17310 temp-buffer-show-specifiers in doc-string.
17311
17312 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17313
17314 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17315 menu-item.
17316
17317 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17318
17319 * whitespace.el: New version 13.2.2.
17320 (whitespace-newline-mode): Disable properly. Reported by Sarah
17321 <EmacsWiki>.
17322
17323 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17324
17325 * net/newst-treeview.el: Remove "Time-stamp".
17326 (newsticker--group-manage-orphan-feeds): Do not call
17327 newsticker--treeview-tree-update.
17328 (newsticker-treeview-update, newsticker-treeview):
17329 Call newsticker--treeview-tree-update if necessary.
17330
17331 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17332
17333 * window.el (window-iso-combination-p, window-iso-combined-p)
17334 (window-iso-combinations): Remove "iso-" infix.
17335 Suggested by Chong Yidong.
17336 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17337 (window-max-delta-1, window-resize, window--resize-siblings)
17338 (window--resize-this-window, adjust-window-trailing-edge)
17339 (split-window, balance-windows-1)
17340 (shrink-window-if-larger-than-buffer):
17341 * calendar/calendar.el (calendar-generate-window):
17342 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17343
17344 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17345
17346 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17347 in place (bug#9907).
17348 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17349 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17350 (eshell-structure-basic-command, eshell-rewrite-while-command)
17351 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17352 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17353 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17354 (eshell-do-pipelines-synchronously, eshell-eval-command):
17355 Use backquotes and prefer setq to set.
17356 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17357 (eshell-macrop): Use functionp.
17358 (eshell-do-eval): Handle multiple expressions in `while' body.
17359
17360 2011-10-30 Chong Yidong <cyd@gnu.org>
17361
17362 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17363 instead of set-mark (Bug#9810).
17364
17365 2011-10-30 Chong Yidong <cyd@gnu.org>
17366
17367 * window.el (split-window-below, split-window-right): Rename from
17368 split-window-above-each-other and split-window-side-by-side
17369 respectively. All callers changed.
17370 (split-window-sensibly, split-window-sensibly): Use them.
17371 (split-window-keep-point): Doc fix.
17372
17373 * isearch.el: Add isearch-scroll property to split-window-below
17374 and split-window-right.
17375
17376 * follow.el (follow-mode):
17377 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17378 * progmodes/ada-xref.el (ada-gdb-application):
17379 * emulation/vip.el (vip-buffer-in-two-windows):
17380 * image-dired.el (image-dired-dired-with-window-configuration):
17381 * dired-x.el (dired-do-find-marked-files):
17382 * dired.el (dired-pop-to-buffer):
17383 * bs.el (bs--show-with-configuration):
17384 * vc/emerge.el (emerge-setup-windows):
17385 * textmodes/two-column.el (2C-two-columns):
17386 * textmodes/reftex-toc.el (reftex-toc):
17387 * progmodes/gdb-mi.el (gdb-setup-windows):
17388 * progmodes/fortran.el (fortran-window-create):
17389 * net/newst-treeview.el (newsticker--treeview-window-init):
17390 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17391 * emulation/tpu-edt.el (tpu-gold-map):
17392 * emulation/crisp.el (crisp-mode-map):
17393 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17394
17395 2011-10-29 Chong Yidong <cyd@gnu.org>
17396
17397 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17398
17399 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17400
17401 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17402 forged Ispell output (Bug#7904).
17403
17404 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17405
17406 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17407
17408 * doc-view.el: Avoid ugly errors about not finding nil.
17409 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17410 (doc-view-dvipdf-program, doc-view-unoconv-program)
17411 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17412 Avoid nil or absolute file name as default value.
17413 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17414
17415 2011-10-28 Alan Mackenzie <acm@muc.de>
17416
17417 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17418
17419 2011-10-28 Alan Mackenzie <acm@muc.de>
17420
17421 Amend the handling of c-beginning/end-of-defun in nested declaration
17422 scopes.
17423
17424 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17425 cc-langs.el. Change it to a defcustom.
17426
17427 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17428 cc-vars.el.
17429
17430 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17431 Prevent "class foo : bar" being spuriously recognized as a label.
17432
17433 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17434 Add parameter `inclusive' (to include enclosing braces in the region).
17435 (c-widen-to-enclosing-decl-scope): New function.
17436 (c-while-widening-to-decl-block): New macro.
17437 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17438 outward for defun boundaries, and correspondingly change symbol
17439 `respect-enclosure' to `go-outward'.
17440 (c-declaration-limits): Change algorithm to report only the "innermost"
17441 defun's boundaries.
17442
17443 2011-10-28 Deniz Dogan <deniz@dogan.se>
17444
17445 * net/rcirc.el (rcirc-mode): Use hard newlines.
17446
17447 2011-10-28 Alan Mackenzie <acm@muc.de>
17448
17449 Amend to indent and fontify macros "which include their own semicolon"
17450 correctly, using the "virtual semicolon" mechanism.
17451
17452 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17453
17454 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17455 Recode to scan one line at a time rather than having \n and \r
17456 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17457 (c-forward-label): Amend for virtual semicolons.
17458 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17459
17460 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17461 of the new C macros.
17462
17463 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17464 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17465 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17466 (c-opt-cpp-macro-define): Make into a full language variable.
17467 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17468 AWK Mode (including \n, \r) removed, no longer needed.
17469
17470 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17471 Invoke c-make-macro-with-semi-re.
17472
17473 * progmodes/cc-vars.el (c-macro-with-semi-re):
17474 (c-macro-names-with-semicolon): New variables.
17475 (c-make-macro-with-semi-re): New function.
17476
17477 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17478
17479 * vc/log-edit.el: Fill empty field rather than adding new one.
17480 (log-edit-add-field): New function.
17481 (log-edit-insert-changelog): Use it.
17482
17483 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17484
17485 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17486
17487 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17488
17489 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17490 (gdb--check-interpreter): New function.
17491 (gdb): Use it.
17492
17493 2011-10-27 Glenn Morris <rgm@gnu.org>
17494
17495 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17496 (least-positive-float, least-negative-float)
17497 (least-positive-normalized-float, least-negative-normalized-float)
17498 (float-epsilon, float-negative-epsilon):
17499 Remove unnecessary declarations.
17500
17501 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17502 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17503 (least-positive-float, least-negative-float)
17504 (least-positive-normalized-float, least-negative-normalized-float)
17505 (float-epsilon, float-negative-epsilon): Add doc-strings,
17506 based on those in cl.texi.
17507
17508 * files.el (set-visited-file-name): If the major-mode changed,
17509 reload the local variables. (Bug#9796)
17510
17511 2011-10-27 Chong Yidong <cyd@gnu.org>
17512
17513 * subr.el (change-major-mode-after-body-hook): New hook.
17514 (run-mode-hooks): Run it.
17515
17516 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17517 Use change-major-mode-before-body-hook.
17518
17519 * simple.el (fundamental-mode):
17520 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17521 change introducing fundamental-mode-hook.
17522
17523 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17524
17525 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17526
17527 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17528
17529 * ido.el (ido-file-name-all-completions-1): Do not require
17530 tramp.el explicitly. (Bug#7583)
17531
17532 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17533
17534 * progmodes/octave-mod.el:
17535 * progmodes/octave-inf.el: Update maintainer.
17536
17537 2011-10-26 Chong Yidong <cyd@gnu.org>
17538
17539 * subr.el (with-wrapper-hook): Rewrite doc.
17540
17541 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17542
17543 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17544 filenames "/method:foo:". (Bug#9793)
17545
17546 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17547
17548 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17549 (bug#9865).
17550
17551 2011-10-24 Glenn Morris <rgm@gnu.org>
17552
17553 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17554
17555 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17556
17557 * notifications.el: Add the requirement of a running D-Bus session
17558 bus to the Commentary.
17559
17560 2011-10-24 Juri Linkov <juri@jurta.org>
17561
17562 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17563 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17564 (Bug#9364)
17565
17566 2011-10-24 Juri Linkov <juri@jurta.org>
17567
17568 * info.el (Info-following-node-name-re): Add newline to the list
17569 of allowed characters for leading space. (Bug#9824)
17570
17571 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17572
17573 * progmodes/octave-inf.el (inferior-octave-mode-map):
17574 Fix C-c C-h binding.
17575 * progmodes/octave-mod.el (octave-help): Remove.
17576
17577 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17578
17579 Sync with Tramp 2.2.3.
17580
17581 * net/tramp-cache.el (top): Pacify byte-compiler using
17582 `init-file-user' and `site-run-file'.
17583
17584 * net/trampver.el: Update release number.
17585
17586 2011-10-23 Chong Yidong <cyd@gnu.org>
17587
17588 * files.el (toggle-read-only): Remove obsolete comment about
17589 version control.
17590
17591 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17592 for toggle-read-only. Note that this hasn't called vc-next-action
17593 since 2008-05-02, though it wasn't documented at the time.
17594
17595 * vc/ediff-init.el (ediff-toggle-read-only-function):
17596 Use toggle-read-only.
17597
17598 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17599
17600 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17601 of c-parse-state.
17602
17603 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17604 correct faulty logical expression.
17605 (c-parse-state-state, c-record-parse-state-state):
17606 (c-replay-parse-state-state): New defvar/defuns.
17607 (c-debug-parse-state): Use new functions.
17608
17609 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17610
17611 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17612 last fix. Use window-in-direction correctly.
17613
17614 2011-10-21 Chong Yidong <cyd@gnu.org>
17615
17616 * progmodes/idlwave.el (idlwave-mode):
17617 * progmodes/vera-mode.el (vera-mode): No need to set
17618 require-final-newline; that's done in prog-mode.
17619 Suggested by Stefan Monnier.
17620
17621 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17622
17623 * mouse.el (mouse-drag-window-above)
17624 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17625 (mouse-drag-mode-line-1, mouse-drag-header-line)
17626 (mouse-drag-vertical-line-rightward-window): Remove.
17627 (mouse-drag-line): New function.
17628 (mouse-drag-mode-line, mouse-drag-header-line)
17629 (mouse-drag-vertical-line): Call mouse-drag-line.
17630 * window.el (window-at-side-p, windows-at-side): New functions.
17631
17632 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17633
17634 * tar-mode.el (tar-grind-file-mode):
17635 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17636
17637 2011-10-21 Chong Yidong <cyd@gnu.org>
17638
17639 * progmodes/idlwave.el (idlwave-mode):
17640 * progmodes/vera-mode.el (vera-mode):
17641 Use mode-require-final-newline.
17642
17643 2011-10-20 Glenn Morris <rgm@gnu.org>
17644
17645 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17646
17647 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17648
17649 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17650
17651 2011-10-20 Chong Yidong <cyd@gnu.org>
17652
17653 * emulation/cua-base.el (cua-mode):
17654 * mail/footnote.el (footnote-mode):
17655 * mail/mailabbrev.el (mail-abbrevs-mode):
17656 * net/xesam.el (xesam-minor-mode):
17657 * progmodes/bug-reference.el (bug-reference-mode):
17658 * progmodes/cap-words.el (capitalized-words-mode):
17659 * progmodes/compile.el (compilation-minor-mode)
17660 (compilation-shell-minor-mode):
17661 * progmodes/gud.el (gud-tooltip-mode):
17662 * progmodes/hideif.el (hide-ifdef-mode):
17663 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17664 * progmodes/subword.el (subword-mode):
17665 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17666 * progmodes/which-func.el (which-function-mode):
17667 * term/tvi970.el (tvi970-set-keypad-mode):
17668 * term/vt100.el (vt100-wide-mode):
17669 * textmodes/flyspell.el (flyspell-mode):
17670 * textmodes/ispell.el (ispell-minor-mode):
17671 * textmodes/nroff-mode.el (nroff-electric-mode):
17672 * textmodes/paragraphs.el (use-hard-newlines):
17673 * textmodes/refill.el (refill-mode):
17674 * textmodes/reftex.el (reftex-mode):
17675 * textmodes/rst.el (rst-minor-mode):
17676 * textmodes/sgml-mode.el (html-autoview-mode)
17677 (sgml-electric-tag-pair-mode):
17678 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17679 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17680 * emulation/crisp.el (crisp-mode):
17681 * emacs-lisp/eldoc.el (eldoc-mode):
17682 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17683 minor mode behavior.
17684
17685 2011-10-19 Juri Linkov <juri@jurta.org>
17686
17687 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17688 the list of hard-coded chars with escape-glyph face.
17689
17690 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17691
17692 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17693
17694 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17695
17696 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17697 running process.
17698
17699 2011-10-19 Glenn Morris <rgm@gnu.org>
17700
17701 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17702 Ignore ignored files. (Bug#9726)
17703
17704 2011-10-19 Chong Yidong <cyd@gnu.org>
17705
17706 Doc fix for minor modes, stating that an omitted argument enables
17707 the mode unconditionally when called from Lisp.
17708
17709 * abbrev.el (abbrev-mode):
17710 * allout.el (allout-mode):
17711 * autoinsert.el (auto-insert-mode):
17712 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17713 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17714 (global-auto-revert-mode):
17715 * battery.el (display-battery-mode):
17716 * composite.el (global-auto-composition-mode)
17717 (auto-composition-mode):
17718 * delsel.el (delete-selection-mode):
17719 * desktop.el (desktop-save-mode):
17720 * dired-x.el (dired-omit-mode):
17721 * dirtrack.el (dirtrack-mode):
17722 * doc-view.el (doc-view-minor-mode):
17723 * double.el (double-mode):
17724 * electric.el (electric-indent-mode, electric-pair-mode):
17725 * emacs-lock.el (emacs-lock-mode):
17726 * epa-hook.el (auto-encryption-mode):
17727 * follow.el (follow-mode):
17728 * font-core.el (font-lock-mode):
17729 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17730 * help.el (temp-buffer-resize-mode):
17731 * hilit-chg.el (highlight-changes-mode)
17732 (highlight-changes-visible-mode):
17733 * hi-lock.el (hi-lock-mode):
17734 * hl-line.el (hl-line-mode, global-hl-line-mode):
17735 * icomplete.el (icomplete-mode):
17736 * ido.el (ido-everywhere):
17737 * image-file.el (auto-image-file-mode):
17738 * image-mode.el (image-minor-mode):
17739 * iswitchb.el (iswitchb-mode):
17740 * jka-cmpr-hook.el (auto-compression-mode):
17741 * linum.el (linum-mode):
17742 * longlines.el (longlines-mode):
17743 * master.el (master-mode):
17744 * mb-depth.el (minibuffer-depth-indicate-mode):
17745 * menu-bar.el (menu-bar-mode):
17746 * minibuf-eldef.el (minibuffer-electric-default-mode):
17747 * mouse-sel.el (mouse-sel-mode):
17748 * msb.el (msb-mode):
17749 * mwheel.el (mouse-wheel-mode):
17750 * outline.el (outline-minor-mode):
17751 * paren.el (show-paren-mode):
17752 * recentf.el (recentf-mode):
17753 * reveal.el (reveal-mode, global-reveal-mode):
17754 * rfn-eshadow.el (file-name-shadow-mode):
17755 * ruler-mode.el (ruler-mode):
17756 * savehist.el (savehist-mode):
17757 * scroll-all.el (scroll-all-mode):
17758 * scroll-bar.el (scroll-bar-mode):
17759 * server.el (server-mode):
17760 * shell.el (shell-dirtrack-mode):
17761 * simple.el (auto-fill-mode, transient-mark-mode)
17762 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17763 (line-number-mode, column-number-mode, size-indication-mode)
17764 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17765 * strokes.el (strokes-mode):
17766 * time.el (display-time-mode):
17767 * t-mouse.el (gpm-mouse-mode):
17768 * tool-bar.el (tool-bar-mode):
17769 * tooltip.el (tooltip-mode):
17770 * type-break.el (type-break-mode-line-message-mode)
17771 (type-break-query-mode):
17772 * view.el (view-mode):
17773 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17774 (global-whitespace-mode, global-whitespace-newline-mode):
17775 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17776
17777 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17778 Fix autogenerated docstring.
17779
17780 2011-10-19 Juri Linkov <juri@jurta.org>
17781
17782 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17783 by checking environment variables "DESKTOP_SESSION" and
17784 "XDG_CURRENT_DESKTOP". (Bug#9779)
17785
17786 2011-10-19 Juri Linkov <juri@jurta.org>
17787
17788 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17789 (browse-url-chromium-program, browse-url-chromium-arguments):
17790 New defcustoms.
17791 (browse-url-default-browser): Check for `browse-url-chromium' and
17792 call `browse-url-chromium-program'.
17793 (browse-url-chromium): New command. (Bug#9779)
17794
17795 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17796
17797 * facemenu.el (list-colors-duplicates): On Windows, detect more
17798 duplicates by assuming that only colors matching "^System" are
17799 special "system colors". (Bug#9722)
17800
17801 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17802
17803 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17804 to distinguish the author from the committer.
17805
17806 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17807
17808 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17809
17810 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17811
17812 * international/mule.el (sgml-html-meta-auto-coding-function):
17813 Add support for detecting encoding in HTML5 specified only as
17814 <meta charset="UTF-8">. Implementation just makes http-equiv and
17815 content-type parts from HTML4 encoding string optional. (Bug#9716)
17816
17817 2011-10-18 Glenn Morris <rgm@gnu.org>
17818
17819 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17820
17821 2011-10-18 Chong Yidong <cyd@gnu.org>
17822
17823 * faces.el (cursor): Doc fix.
17824
17825 2011-10-17 Chong Yidong <cyd@gnu.org>
17826
17827 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17828
17829 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17830
17831 * dirtrack.el (dirtrack): Support shell buffers with path
17832 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17833
17834 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17835
17836 * json.el: Bump version to 1.3 and note change in History.
17837 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17838
17839 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17840
17841 * comint.el (comint-insert-input, comint-send-input)
17842 (comint-get-old-input-default, comint-backward-matching-input)
17843 (comint-next-prompt): Use nil instead of `input' for field property of
17844 past user input (bug#114).
17845
17846 * minibuffer.el (completion--replace): Inherit surrounding properties
17847 (bug#114).
17848 (minibuffer-complete-and-exit): Use it.
17849
17850 * comint.el (comint--table-subvert): Quote the all-completions output
17851 (bug#9160).
17852
17853 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17854
17855 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17856
17857 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17858 window on right of selected. (Bug#9350) Reword other window
17859 entries and separate them from frame entries.
17860
17861 2011-10-15 Glenn Morris <rgm@gnu.org>
17862
17863 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17864 Doc fixes.
17865
17866 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17867
17868 * net/network-stream.el (network-stream-open-starttls):
17869 Improve detection of failure due to lack of TLS support.
17870
17871 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17872 putting the input text in front and in bold.
17873
17874 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17875
17876 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17877
17878 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17879 empty buffer.
17880
17881 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17882 unread-command-events rather than pushing yet-another event.
17883
17884 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17885
17886 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17887 the explanation of the possible choices. Make the options passed
17888 to completing-read shorter.
17889
17890 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17891
17892 * textmodes/flyspell.el (flyspell-large-region): Make sure
17893 extended character mode is used if defined (Bug#1339).
17894
17895 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17896
17897 * simple.el (what-cursor-position): Fix the display of the
17898 character info for LRE, LRO, RLE, and RLO characters by appending
17899 an invisible PDF.
17900
17901 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17902
17903 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17904 even in case of error; add debug spec; simplify data flow.
17905 (with-timeout-handler): Remove.
17906
17907 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17908
17909 Fix Bug#6019, Bug#9315.
17910
17911 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17912 complete `buffer-file-name', the local file name part could look
17913 remotely (for example on VMS).
17914
17915 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17916 `tramp-run-real-handler'.
17917 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17918 already quoted by '"'.
17919
17920 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17921 Let `file-name-handler-alist' be nil, the local file name part
17922 could look remotely (for example on VMS).
17923
17924 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17925
17926 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17927 from here...
17928 (flyspell-post-command-hook): ...to here.
17929
17930 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17931
17932 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17933 if not needed.
17934 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17935 using completion. Protect against "slow" callers.
17936 Remove the "message hack".
17937
17938 2011-10-11 Juri Linkov <juri@jurta.org>
17939
17940 * isearch.el (isearch-lazy-highlight-word): New variable.
17941 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17942 Use it. (Bug#9727)
17943
17944 2011-10-11 Glenn Morris <rgm@gnu.org>
17945
17946 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17947 like f90-previous-statement does.
17948
17949 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17950
17951 * eshell/eshell.el (eshell-command): History should be saved
17952 only in interactive use, to avoid error.
17953
17954 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17955
17956 * minibuffer.el (completion-file-name-table): Fix last change,
17957 i.e. ignore normal errors but not the other ones.
17958
17959 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17960
17961 * window.el (special-display-buffer-names)
17962 (special-display-regexps): Remove some remnants of earlier
17963 changes from doc-strings.
17964 (quit-windows-on): New function.
17965
17966 * vc/vc.el (vc-revert, vc-rollback):
17967 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17968 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17969 (Bug#6183) (Bug#7074) (Bug#7447)
17970
17971 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17972
17973 * window.el (frame-auto-hide-function): Add version tag.
17974 (Bug#9699)
17975
17976 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17977
17978 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17979 condition.
17980
17981 2011-10-09 Leo Liu <sdl.web@gmail.com>
17982
17983 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17984 (Bug#9701)
17985
17986 2011-10-08 Glenn Morris <rgm@gnu.org>
17987
17988 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17989 before the first code statement zero indent. (Bug#9690)
17990
17991 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17992
17993 * simple.el (count-words-region): Always count in the region.
17994 Report the number of lines and characters too.
17995 (count-words): New command, which counts in the buffer if the
17996 region is inactive, as count-words-region used to.
17997 (count-words--message): New function. Handle plurals.
17998 (count-lines-region): Make it an alias for count-words-region.
17999
18000 * bindings.el (esc-map): Replace count-lines-region with
18001 count-words-region.
18002
18003 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18004
18005 * window.el (window--delete): Delete dedicated frame
18006 unconditionally when argument KILL is non-nil. (Bug#9699)
18007 (switch-to-buffer): Fix doc-string typo.
18008
18009 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18010
18011 * eshell/eshell.el (eshell-command): Avoid using hooks.
18012
18013 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18014
18015 * bindings.el ([M-left],[M-right]): Bind to left-word and
18016 right-word respectively.
18017
18018 2011-10-07 Glenn Morris <rgm@gnu.org>
18019
18020 * cus-start.el (debug-on-quit): Fix custom type.
18021
18022 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18023
18024 * subr.el (define-key-after): Clarify that the function is not
18025 useful for non-menu keymaps.
18026
18027 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18028
18029 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18030
18031 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18032 in current minibuffer (Fix bug with recursive minibuffers).
18033
18034 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18035
18036 * progmodes/gdb-mi.el (gdb): Doc fix.
18037
18038 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18039
18040 * window.el (frame-auto-hide-function): New option replacing
18041 frame-auto-delete. Suggested by Stefan Monnier.
18042 (window--delete): Call frame-auto-hide-function instead of
18043 investigating frame-auto-delete.
18044 (window-point-1, set-window-point-1): New functions.
18045 (window-in-direction, record-window-buffer, window-state-get-1)
18046 (display-buffer-record-window): Use window-point-1 instead of
18047 window-point.
18048 (set-window-buffer-start-and-point): Use set-window-point-1.
18049
18050 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18051
18052 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18053
18054 2011-10-05 Glenn Morris <rgm@gnu.org>
18055
18056 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18057 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18058
18059 2011-10-05 Leo Liu <sdl.web@gmail.com>
18060
18061 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18062 works with buffer object.
18063
18064 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18065
18066 * mpc.el (mpc-tool-bar-map): Add labels.
18067
18068 2011-10-04 Glenn Morris <rgm@gnu.org>
18069
18070 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18071
18072 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18073
18074 * window.el (window--delete): New function.
18075 (frame-auto-delete): Resuscitate option.
18076 (bury-buffer, replace-buffer-in-windows)
18077 (quit-window): Rewrite using window--delete.
18078 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18079 Pass display-buffer-mark-dedicated to window--display-buffer-2
18080 (Bug#9639).
18081
18082 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18083
18084 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18085 returns a list (bug#9554). Add remote file name completion.
18086 * comint.el (comint--table-subvert): Curry and get quote&unquote
18087 functions as arguments.
18088 (comint--complete-file-name-data): Adjust call accordingly.
18089 * pcomplete.el (pcomplete--table-subvert): Remove.
18090 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18091
18092 * minibuffer.el (completion-table-case-fold): Use currying.
18093 (completion--styles-type, completion--cycling-threshold-type):
18094 New constants.
18095 (completion-styles, completion-category-overrides)
18096 (completion-cycle-threshold): Use them.
18097 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18098 completion-table-case-fold.
18099
18100 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18101
18102 * minibuffer.el (completion-category-overrides): Fix type of styles
18103 and add more user friendly tags (bug#9660).
18104
18105 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18106
18107 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18108 (mule-input-method-string): New widget.
18109 (default-input-method, language-info-custom-alist): Use it.
18110
18111 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18112
18113 * pcomplete.el: Require comint.
18114 (pcomplete--common-suffix): Remove.
18115 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18116 (pcomplete--table-subvert): Sync with comint--table-subvert.
18117 (pcomplete--entries): Use comint-completion-file-name-table.
18118 * comint.el (comint-unquote-filename): Simplify.
18119 (comint-completion-file-name-table): New function (bug#9616).
18120 (comint--complete-file-name-data): Use it.
18121
18122 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18123 (pcmpl-gnu-tar-buffer): Remove.
18124 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18125 around. Make sure pcomplete-suffix-list is only changed temporarily.
18126 Don't look inside the tar's file if it's too large.
18127
18128 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18129
18130 * cus-edit.el (custom-mode-map):
18131 * epa.el (epa-key-list-mode-map):
18132 * man.el (Man-mode-map):
18133 * startup.el (splash-screen-keymap):
18134 * simple.el (special-mode-map): Use scroll-up-command and
18135 scroll-down-command.
18136
18137 * progmodes/idlw-help.el (idlwave-help-mode-map):
18138 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18139 * net/newst-plainview.el (newsticker-mode-map):
18140 * emulation/ws-mode.el (wordstar-mode-map):
18141 * emulation/vi.el (vi-com-map):
18142 * calc/calc-graph.el (calc-graph-show-dumb):
18143 * term/sun.el (terminal-init-sun):
18144 * term/ns-win.el (global-map):
18145 * progmodes/grep.el (grep-mode-map):
18146 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18147 * mail/rmail.el (rmail-mode-map):
18148 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18149
18150 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18151 custom-safe-themes as special.
18152
18153 2011-10-01 Julien Danjou <julien@danjou.info>
18154
18155 * notifications.el (notifications-notify): Fix docstring.
18156
18157 2011-10-01 Per Starbäck <per@starback.se>
18158
18159 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18160
18161 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18162
18163 * startup.el (command-line-1): Fix last fix by inserting
18164 initial-scratch-message into *scratch* before displaying it.
18165 (Bug#9605) and (Bug#9636)
18166
18167 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18168
18169 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18170 window is hscrolled, move by logical lines. (Bug#9607)
18171 (line-move-visual): Update the doc string to the above effect.
18172
18173 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18174
18175 * window.el (display-buffer-record-window): When WINDOW is the
18176 selected window use `point' instead of `window-point'. (Bug#9626)
18177
18178 * startup.el (command-line-1): Use insert-before-markers when
18179 inserting initial-scratch-message. (Bug#9605)
18180
18181 * help.el (help-window): Remove variable.
18182
18183 2011-09-29 Glenn Morris <rgm@gnu.org>
18184
18185 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18186
18187 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18188
18189 * descr-text.el (describe-char-categories): Accept category
18190 descriptions more than one line long.
18191
18192 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18193
18194 * simple.el (delete-trailing-whitespace): Fix last change.
18195
18196 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18197 Don't confuse "y => 3" as the beginning of a `y' operation.
18198
18199 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18200 object has more than 4 slots (bug#9613).
18201
18202 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18203
18204 * subr.el (with-output-to-temp-buffer):
18205 * net/quickurl.el (quickurl, quickurl-browse-url):
18206 Fix typos in docstrings.
18207
18208 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18209
18210 * minibuffer.el (completion-styles)
18211 (completion-category-overrides): Cross reference each other in doc
18212 strings.
18213
18214 2011-09-27 Glenn Morris <rgm@gnu.org>
18215
18216 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18217 to split-string. (Bug#9606)
18218
18219 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18220
18221 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18222 (bug#9615).
18223
18224 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18225
18226 * emacs-lisp/package.el (list-packages): Fix echo area message.
18227
18228 2011-09-27 Leo Liu <sdl.web@gmail.com>
18229
18230 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18231
18232 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18233
18234 * net/dbus.el (dbus-unregister-object): Don't release services for
18235 registered signals. (Bug#9581)
18236
18237 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18238
18239 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18240 function that picks between cfengine 2 and 3 support
18241 automatically. Update docs accordingly.
18242
18243 2011-09-22 Kenichi Handa <handa@m17n.org>
18244
18245 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18246 ZERO.
18247 (indian-itrans-v5-table-for-tamil): New variable.
18248 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18249
18250 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18251
18252 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18253 that's true if the current command involved collapsing of text.
18254 It's reset to false at the beginning of the next command.
18255 (allout-post-command-business): Move the cursor to the beginning
18256 of entry if the cursor is hidden and collapsing activity just
18257 happened.
18258
18259 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18260
18261 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18262 tracking (Bug#9541).
18263
18264 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18265
18266 * net/newst-reader.el (newsticker-html-renderer)
18267 (newsticker-show-news): Automatically load html rendering package
18268 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18269 because w3m-fill-column is let-bound" and the error "Symbol's value
18270 as variable is void: w3m-fill-column".
18271
18272 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18273
18274 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18275 Release services only if they are defined. (Bug#9581)
18276
18277 2011-09-23 Richard Stallman <rms@gnu.org>
18278
18279 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18280 distinguish start of paragraph from start of its text.
18281
18282 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18283
18284 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18285 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18286 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18287
18288 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18289
18290 * international/mule-diag.el (mule-diag): Insert a newline after
18291 each fontset description.
18292
18293 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18294
18295 * simple.el (delete-trailing-whitespace):
18296 Document last change; simplify.
18297
18298 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18299
18300 * simple.el (delete-trailing-whitespace): Also delete
18301 extra newlines at the end of the buffer.
18302
18303 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18304 (picture-newline): Use forward-line so as to ignore fields.
18305
18306 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18307
18308 * subr.el (with-wrapper-hook): Fix edebug spec.
18309
18310 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18311
18312 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18313 (bug#4538).
18314
18315 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18316
18317 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18318 Fix nasty bug using wrong cached values.
18319
18320 2011-09-23 Alan Mackenzie <acm@muc.de>
18321
18322 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18323
18324 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18325
18326 * window.el (pop-to-buffer): Ensure right window is selected if we
18327 chose another frame.
18328
18329 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18330
18331 * simple.el (what-cursor-position): Use get-char-property-change
18332 and next-single-char-property-change, to be able to show display
18333 properties that come from overlays as well as text properties.
18334
18335 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18336
18337 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18338
18339 * cmuscheme.el (run-scheme, switch-to-scheme):
18340 * cus-edit.el (customize-group, custom-buffer-create)
18341 (customize-browse):
18342 * info.el (info):
18343 * shell.el (shell):
18344 * mail/sendmail.el (mail):
18345 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18346
18347 2011-09-22 Richard Stallman <rms@gnu.org>
18348
18349 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18350 move back only to line beg, don't move back over blank lines.
18351
18352 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18353
18354 * files.el (copy-directory): Set directory attributes only in case
18355 they could be retrieved from the source directory. (Bug#9565)
18356
18357 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18358
18359 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18360 (hs-find-block-beginning, hs-hide-level-recursive):
18361 Ignore strings as well as comments. (Bug#9502)
18362
18363 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18364
18365 * progmodes/sql.el (sql-comint-postgres):
18366 Convert port number to a string. (Bug#9566)
18367
18368 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18369
18370 * window.el (quit-window): Undedicate window when switching to
18371 previous buffer. Reported by Thierry Volpiatto
18372 <thierry.volpiatto@gmail.com>.
18373 (special-display-popup-frame): When popping up a new frame reset
18374 its previous buffers to nil. Simplify code.
18375
18376 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18377
18378 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18379 and process filter, as done also in `shell-command'.
18380
18381 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18382
18383 * window.el (set-window-buffer-start-and-point):
18384 Call set-window-start with NOFORCE argument t.
18385 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18386 (quit-window): Reword doc-string. Handle new format of
18387 quit-restore parameter. Don't delete window if it has a
18388 previous buffer we can show instead of the present one.
18389 (display-buffer-record-window): Rewrite using a new format for
18390 the quit-restore window parameter
18391 (special-display-popup-frame, display-buffer-same-window)
18392 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18393 (display-buffer-pop-up-window, display-buffer-use-some-window):
18394 Adapt symbol passed to display-buffer-record-window.
18395 * help.el (help-window-setup): Handle new format of quit-restore
18396 parameter.
18397
18398 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18399
18400 * faces.el (face-list): Fix docstring (bug#9564).
18401
18402 * window.el (display-buffer--action-function-custom-type):
18403 Don't include internal functions in the Custom interface.
18404
18405 2011-09-20 Juri Linkov <juri@jurta.org>
18406
18407 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18408 (Info-forward-node, Info-backward-node, Info-next-preorder)
18409 (Info-last-preorder): Use it. (Bug#9528)
18410
18411 2011-09-20 Juri Linkov <juri@jurta.org>
18412
18413 * info.el (Info-last-preorder): Visit last menu item only when
18414 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18415
18416 2011-09-20 Julien Danjou <julien@danjou.info>
18417
18418 * password-cache.el (password-cache-remove): Remove entries even if the
18419 value is nil, so that password with a nil value (negative caching) is
18420 possible to invalidate.
18421
18422 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18423
18424 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18425 all whitespace around breakpoint. (Bug#9553)
18426 (f90-find-breakpoint): Only break at whitespace inside a comment.
18427
18428 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18429
18430 * minibuffer.el (completion-file-name-table): Keep track of errors.
18431 (completion-table-with-predicate): Handle the case where pred1 is nil.
18432 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18433
18434 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18435
18436 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18437 (debugger-return-value): Signal an error if the debugging context does
18438 not await any return value.
18439
18440 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18441 * image-mode.el (image-toggle-display-text)
18442 (image-toggle-display-image): Stay away from evil `intangible'.
18443
18444 2011-09-19 Leo Liu <sdl.web@gmail.com>
18445
18446 * replace.el (occur-revert-arguments): Make it permanent-local.
18447 (occur-mode): Don't call font-lock-defontify.
18448
18449 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18450
18451 * net/ldap.el (ldap-search-internal): Don't push empty search
18452 result (Bug#9508).
18453
18454 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18455
18456 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18457
18458 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18459
18460 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18461 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18462
18463 2011-09-18 Juri Linkov <juri@jurta.org>
18464
18465 * buff-menu.el (Buffer-menu-mode-map):
18466 * dired.el (dired-mode-map):
18467 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18468 (lisp-interaction-mode-map):
18469 * emacs-lisp/package.el (package-menu-mode-map):
18470 * epa.el (epa-key-list-mode-map):
18471 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18472 (menu-bar-options-menu):
18473 * outline.el (outline-mode-menu-bar-map):
18474 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18475 * vc/vc-dir.el (vc-dir-menu-map):
18476 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18477 Capitalize non-function content words in menu item strings.
18478
18479 * dired.el (dired-mode-map): Add menu item for
18480 `image-dired-dired-toggle-marked-thumbs'.
18481
18482 2011-09-18 Juri Linkov <juri@jurta.org>
18483
18484 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18485 to `isearch-case-fold-search' and restore its original value
18486 after the `isearch-mode' call.
18487
18488 2011-09-18 Juri Linkov <juri@jurta.org>
18489
18490 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18491 because `zgrep' returns 1 for successful matches (bug#9226).
18492
18493 2011-09-18 Juri Linkov <juri@jurta.org>
18494
18495 * info.el (Info-extract-menu-node-name): Check the second match
18496 for empty string (second test-case of bug#9528).
18497 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18498 intermediate nodes to the history (first test-case of bug#9528).
18499
18500 2011-09-18 Juri Linkov <juri@jurta.org>
18501
18502 * info.el (Info-mode-syntax-table): New variable.
18503 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18504
18505 2011-09-18 Juri Linkov <juri@jurta.org>
18506
18507 * info.el (Info-file-supports-index-cookies):
18508 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18509 outputs one more line for long file names (bug#4142).
18510
18511 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18512
18513 * newcomment.el (comment-normalize-vars): If prompting for
18514 comment-start, set comment-start-skip too (Bug#8424).
18515
18516 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18517
18518 * icomplete.el: Fix previous fix of Bug#5849.
18519 (icomplete-mode): Don't set completion-show-inline-help.
18520 (icomplete-minibuffer-setup): Set completion-show-inline-help
18521 locally during icompletion.
18522
18523 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18524
18525 * woman.el (woman2-process-escapes): Don't delete unrecognized
18526 escapes (Bug#7843).
18527
18528 * files.el (inhibit-first-line-modes-regexps): Add image files.
18529 (hack-local-variables-prop-line): Return nil for malformed
18530 prop-lines (Bug#9044).
18531
18532 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18533
18534 * net/tramp.el (top): Don't require 'shell.
18535 (tramp-methods): Fix docstring.
18536 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18537 Return complete remote file name. Handle "smb" case.
18538 Use `tramp-tmpdir', if defined for the respective method.
18539 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18540
18541 * net/tramp-compat.el (top): Require 'shell.
18542
18543 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18544 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18545 `tramp-current-host'.
18546 (tramp-get-remote-tmpdir): Remove.
18547
18548 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18549 `tramp-tmpdir' entries.
18550 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18551 (tramp-smb-handle-file-attributes): Ignore errors.
18552 (tramp-smb-wait-for-output): Check also for process end.
18553
18554 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18555
18556 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18557 when sending QUIT (bug#9312).
18558
18559 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18560
18561 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18562 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18563 occur-mode-display-occurrence.
18564 (occur-edit-mode): Add usage message.
18565 (occur-cease-edit): New command.
18566 (occur-after-change-function): Use text properties to find the
18567 position of the prefix text.
18568 (occur-engine): Set stickiness of prefix text properties.
18569
18570 2011-09-17 Glenn Morris <rgm@gnu.org>
18571
18572 * progmodes/etags.el (complete-tag):
18573 Fix call to completion-in-region. (Bug#9526)
18574
18575 2011-09-17 Juri Linkov <juri@jurta.org>
18576
18577 * textmodes/ispell.el (ispell-word): Add to the error message
18578 the word, ispell program name and current dictionary (bug#9121).
18579 (ispell-tex-arg-end): Capitalize "error" in the error message.
18580
18581 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18582
18583 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18584 check. (Bug#4251)
18585
18586 2011-09-17 Juri Linkov <juri@jurta.org>
18587
18588 * window.el (window-safe-min-height, window-safe-min-width):
18589 Fix typos (followup to bug#9522).
18590
18591 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18592
18593 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18594
18595 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18596
18597 * simple.el (line-move): If goal-column is set, move by logical
18598 lines, not by display lines. (Bug#971)
18599 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18600 to reflect the above change.
18601
18602 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18603
18604 * image.el (imagemagick-register-types): Use regexp-opt.
18605
18606 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18607
18608 * window.el (display-buffer-base-action): Rename from
18609 display-buffer-default-action. Make default value empty.
18610 (display-buffer-overriding-action): Convert to defvar.
18611 (display-buffer-fallback-action): New var.
18612
18613 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18614
18615 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18616 declaration.
18617 (package--add-to-archive-contents): If there is a duplicate entry
18618 with an older version, remove it.
18619 (package-menu-mark-delete, package-menu-mark-install)
18620 (package-menu-mark-unmark): Make unused args optional.
18621 (package-menu-mark-obsolete-for-deletion):
18622 Use package-menu-get-status instead of a regexp search.
18623 (package-menu-get-status): Use tabulated-list-entry.
18624 (package-menu-mark-upgrades): New command.
18625 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18626 (package-menu-execute): Do installation before deletion.
18627 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18628 instead of checking major-mode.
18629 (package-menu--find-upgrades): New function.
18630
18631 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18632
18633 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18634 passwords in the log buffer.
18635 (smtpmail-process-filter): Update the process marker so that the
18636 "broken by peer" status message is inserted in the right place.
18637
18638 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18639
18640 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18641 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18642 bibtex-completion-at-point-function.
18643 (bibtex-completion-at-point-function): Use them.
18644
18645 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18646
18647 * mpc.el (mpc-constraints-tag-lookup): New function.
18648 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18649 also to browser "album|playlist".
18650
18651 2011-09-14 Juri Linkov <juri@jurta.org>
18652
18653 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18654 (isearch-edit-string): Use length of `isearch-string' when
18655 `isearch-fail-pos' returns nil.
18656 (isearch-message): Remove duplicate code and call
18657 `isearch-fail-pos' with arg `t'.
18658
18659 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18660
18661 * replace.el (occur-mode-goto-occurrence): Don't force using other
18662 window (Bug#9499).
18663
18664 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18665
18666 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18667
18668 * window.el (display-buffer-window): Remove.
18669 (display-buffer-record-window): Use help-setup window parameter
18670 instead of variable display-buffer-window.
18671 (display-buffer-function, special-display-buffer-names)
18672 (special-display-function): Mention help-setup parameter instead
18673 of display-buffer-window in doc-string.
18674 * help.el (help-window-setup): New argument help-window.
18675 Use help-window-setup parameter instead of display-buffer-window.
18676 Reword some messages.
18677 (with-help-window): Pass window used for displaying the buffer
18678 to help-window-setup. Don't set display-buffer-window.
18679
18680 2011-09-13 Glenn Morris <rgm@gnu.org>
18681
18682 * emacs-lisp/debug.el (debugger-make-xrefs):
18683 Preserve point. (Bug#9462)
18684
18685 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18686
18687 * window.el (window-deletable-p): Use next-frame.
18688
18689 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18690
18691 * window.el (window-auto-delete): Remove.
18692 (window-deletable-p): Remove argument FORCE. Don't deal with
18693 dedication and previous buffers.
18694 (switch-to-prev-buffer): Don't delete window.
18695 (delete-windows-on): Delete a window's frame if and only if the
18696 window is dedicated.
18697 (replace-buffer-in-windows): Delete buffer's window or frame if
18698 and only if window is dedicated.
18699 (quit-window): Handle quit-restore as before last change.
18700 (bury-buffer): Delete window only if window-deletable-p returns t.
18701
18702 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18703
18704 * window.el (window-deletable-p): Never delete the last frame on a
18705 given terminal.
18706
18707 2011-09-13 Glenn Morris <rgm@gnu.org>
18708
18709 * help.el (describe-key-briefly): Copy previous standard-output change.
18710
18711 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18712
18713 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18714
18715 2011-09-13 Glenn Morris <rgm@gnu.org>
18716
18717 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18718 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18719
18720 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18721
18722 * dired-aux.el (dired-mark-read-string): Don't return default
18723 value on empty input (Bug#9361).
18724 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18725 Omit initial minibuffer contents.
18726 (dired-do-chmod): Signal an error on empty input.
18727 (dired-mark-read-string): Don't return default on empty input.
18728
18729 * files.el (file-modes-symbolic-to-number): Doc fix.
18730
18731 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18732
18733 * international/mule-cmds.el (ucs-completions): Remove.
18734 (read-char-by-name): Use complete-with-action instead; add metadata.
18735
18736 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18737
18738 * window.el (display-buffer--action-function-custom-type)
18739 (display-buffer--action-custom-type): New vars.
18740 (display-buffer-alist, display-buffer-default-action)
18741 (display-buffer-overriding-action): Add defcustom types.
18742
18743 * frame.el (delete-other-frames): Doc fix (Bug#276).
18744
18745 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18746
18747 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18748
18749 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18750
18751 Change modes that used same-window-* vars to use switch-to-buffer.
18752
18753 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18754 Use switch-to-buffer.
18755
18756 * cus-edit.el (customize-group, custom-buffer-create)
18757 (customize-browse, custom-buffer-create-other-window):
18758 Use switch-to-buffer or switch-to-buffer-other-window.
18759
18760 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18761 (Info-prev, Info-up, Info-speedbar-goto-node)
18762 (info-display-manual): Use switch-to-buffer.
18763 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18764
18765 * mail/sendmail.el (mail): Use switch-to-buffer.
18766 (mail-recover): Use switch-to-buffer-other-window.
18767
18768 * cmuscheme.el (run-scheme, switch-to-scheme):
18769 * ielm.el (ielm):
18770 * shell.el (shell):
18771 * net/rlogin.el (rlogin):
18772 * net/telnet.el (telnet, rsh):
18773 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18774
18775 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18776
18777 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18778
18779 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18780
18781 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18782 so don't mention it (bug#9301).
18783 (dired-sort-toggle-or-edit): Clarify string further.
18784
18785 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18786 match `x', `w32' and `ns', like the manual says (bug#9029).
18787
18788 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18789 (process-kill-buffer-query-function): Mention the buffer name in
18790 the query.
18791
18792 * image-mode.el (image-next-line): The line parameter is mandatory
18793 (bug#9258).
18794
18795 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18796 which can be useful (bug#9301).
18797
18798 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18799
18800 * subr.el (match-string): Mention that the current buffer should
18801 be the same as the search was done in (bug#9282).
18802
18803 * facemenu.el: Disable the remove-* commands if the mark isn't
18804 active (bug#9162).
18805
18806 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18807
18808 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18809 of display-buffer.
18810 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18811
18812 * replace.el (occur-mode-goto-occurrence)
18813 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18814 and display-buffer.
18815
18816 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18817 display-buffer.
18818
18819 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18820 special-display and same-window variables.
18821 (mail-other-window): Use switch-to-buffer-other-window.
18822 (mail-other-frame): USe switch-to-buffer-other-frame.
18823
18824 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18825 Use display-buffer-other-frame.
18826 (gdb-display-gdb-buffer): Use pop-to-buffer.
18827
18828 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18829
18830 * progmodes/python.el: Don't set same-window-buffer-names.
18831
18832 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18833
18834 * window.el (display-buffer-alist): Add *Python*.
18835
18836 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18837
18838 * window.el (display-buffer-alist): Add entry for buffers
18839 previously handled same-window-*.
18840 (display-buffer-alist, display-buffer-default-action)
18841 (display-buffer-overriding-action): Mark as risky.
18842 (display-buffer-alist): Document action function changes.
18843 (display-buffer--same-window-action)
18844 (display-buffer--other-frame-action): New variables.
18845 (switch-to-buffer, display-buffer-other-frame): Use them.
18846 (display-buffer): Rename reuse-frame entry to reusable-frames.
18847 (display-buffer-reuse-selected-window): Function deleted.
18848 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18849 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18850 (display-buffer-special): New function.
18851 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18852 display-buffer-reuse-or-pop-window. Split off special-display
18853 part into display-buffer-special.
18854 (display-buffer-use-some-window): Don't perform any special
18855 pop-up-frames handling.
18856 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18857 (display-buffer--maybe-same-window): Rename from
18858 display-buffer-maybe-same-window.
18859
18860 * info.el: Don't set same-window-regexps.
18861 (info-setup): New function.
18862 (info-other-window, info): Call it.
18863
18864 * cus-edit.el: Don't set same-window-regexps.
18865 (customize-group): New argument.
18866 (customize-group-other-window): Use it.
18867 (customize-face, customize-face-other-window): Likewise.
18868 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18869
18870 * net/rlogin.el:
18871 * net/telnet.el:
18872 * progmodes/gud.el: Don't set same-window-regexps.
18873
18874 * cmuscheme.el:
18875 * ielm.el:
18876 * shell.el:
18877 * mail/sendmail.el:
18878 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18879
18880 2011-09-10 Juri Linkov <juri@jurta.org>
18881
18882 * isearch.el (isearch-edit-string): Remove obsolete mention of
18883 `C-w' (`isearch-yank-word-or-char') from docstring.
18884 (isearch-query-replace): Fix typo in docstring (bug#9466).
18885
18886 2011-09-10 Juri Linkov <juri@jurta.org>
18887
18888 * paren.el (show-paren-function): Don't show escaped parens.
18889 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18890
18891 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18892
18893 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18894 (mm-default-file-encoding): Remove autoload forms, they are
18895 replaced with autoload cookies in mml.el and mm-encode.el.
18896 (mail-add-attachment): New command.
18897 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18898 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18899 the doc string.
18900 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18901
18902 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18903
18904 * simple.el (count-words-region): Use buffer if there's no region
18905 (bug#9429).
18906
18907 2011-09-09 Juri Linkov <juri@jurta.org>
18908
18909 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18910 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18911 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18912
18913 2011-09-09 Alan Mackenzie <acm@muc.de>
18914
18915 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18916 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18917
18918 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18919
18920 Fix for Savannah bug#9392.
18921 * simple.el (mail-encode-mml): New defvar.
18922
18923 * mail/rmail.el (mail-encode-mml): Add a defvar.
18924 (rmail-enable-mime-composing): Default to t.
18925 (rmail-forward): Use MIME method of forwarding only if both
18926 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18927 Set mail-encode-mml non-nil if the MIME method was used.
18928
18929 * mail/sendmail.el (mml-to-mime): Add autoload form.
18930 (mail-encode-mml): Add a defvar.
18931 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18932 to nil.
18933 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18934 message through mml-to-mime, and reset mail-encode-mml to nil.
18935
18936 2011-09-09 Glenn Morris <rgm@gnu.org>
18937
18938 * woman.el (woman-if-body): When processing an .el block,
18939 do not delete the next .el block as well. (Bug#9447)
18940 (woman-special-characters): Add oq, cq, and hy characters.
18941
18942 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18943
18944 * window.el (window-deletable-p): Make sure window is live before
18945 invoking window-prev-buffers.
18946
18947 2011-09-08 Leo Liu <sdl.web@gmail.com>
18948
18949 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18950
18951 2011-09-08 Juri Linkov <juri@jurta.org>
18952
18953 * progmodes/compile.el (compilation-environment): Make it
18954 a defcustom (bug#8340).
18955
18956 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18957
18958 * window.el (frame-auto-delete): Rename to window-auto-delete.
18959 Make it control auto-deletion of windows and/or frames.
18960 (window-deletable-p): New argument FORCE. Rewrite conditions
18961 for deleting window/frame. (Bug#9419)
18962 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18963 Rewrite handling of case when window/frame can be deleted.
18964 (delete-windows-on): Call window-deletable-p with new FORCE
18965 argument t. (Bug#9456)
18966
18967 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18968
18969 * help-mode.el (help-mode): Restore autoload.
18970
18971 2011-09-07 Juri Linkov <juri@jurta.org>
18972
18973 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18974 `compilation-environment'. Set buffer-local
18975 `compilation-environment' to `thisenv' later after (funcall mode).
18976 (Bug#8340)
18977
18978 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18979 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18980 instead of replacing its value. (Bug#8340)
18981
18982 2011-09-07 Juri Linkov <juri@jurta.org>
18983
18984 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18985 based on text properties put by `grep-filter' instead of matching
18986 escape sequences.
18987 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18988 to the value of `grep-error-screen-columns' (bug#9438).
18989
18990 2011-09-07 Juri Linkov <juri@jurta.org>
18991
18992 * simple.el (next-error-highlight, next-error-highlight-no-select):
18993 Doc fix (bug#9432).
18994
18995 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18996
18997 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18998 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18999
19000 2011-09-07 Leo Liu <sdl.web@gmail.com>
19001
19002 * net/rcirc.el (rcirc-mode): Conditionally initialize
19003 rcirc-input-ring.
19004
19005 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19006
19007 * emacs-lisp/find-func.el (find-function-C-source): Only set
19008 find-function-C-source-directory after checking that we found a source
19009 file there (bug#9440).
19010
19011 2011-09-06 Alan Mackenzie <acm@muc.de>
19012
19013 * isearch.el (isearch-other-meta-char): Wherever a key list is
19014 unread, "unread" the prefix arg, too. This fixes bug #8901.
19015
19016 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19017
19018 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19019
19020 2011-09-05 Juri Linkov <juri@jurta.org>
19021
19022 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19023
19024 2011-09-05 Juri Linkov <juri@jurta.org>
19025
19026 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19027 keeping point where processing of grep matches begins, and
19028 continue to delete remaining escape sequences from the same point.
19029 (grep-filter): Make leading zero optional in "0?1;31m" because
19030 git-grep emits "\033[1;31m" escape sequences unlike expected
19031 "\033[01;31m" as GNU Grep does (bug#9408).
19032 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19033
19034 2011-09-05 Juri Linkov <juri@jurta.org>
19035
19036 * subr.el (y-or-n-p): Capitalize "yes".
19037
19038 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19039
19040 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19041 `tramp-cache-unload-hook' where appropriate.
19042 (tramp-methods): Rename `tramp-remote-sh' to
19043 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19044 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19045
19046 * net/tramp-sh.el (top): Don't require 'shell.
19047 (tramp-methods): Add `tramp-remote-shell' and
19048 `tramp-remote-shell-args' entries.
19049 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19050 (tramp-sh-handle-shell-command): Remove.
19051 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19052 Use `tramp-remote-shell'.
19053
19054 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19055
19056 * mail/sendmail.el (sendmail-query-once-function): Delete.
19057 (sendmail-query-once): Save directly to send-mail-function.
19058 Update message-send-mail-function too.
19059
19060 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19061
19062 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19063
19064 * progmodes/python.el (python-mode-map): Use correct function to
19065 start python interpreter from menu-bar (as reported by Geert
19066 Kloosterman).
19067 (inferior-python-mode-map): Fix typo.
19068 (python-shell-map): Remove.
19069
19070 2011-09-03 Deniz Dogan <deniz@dogan.se>
19071
19072 * net/rcirc.el (rcirc-print): Simplify code for
19073 rcirc-scroll-show-maximum-output. There is no need to walk
19074 through all windows to find the right one.
19075
19076 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19077
19078 * help.el (help-return-method): Doc fix.
19079
19080 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19081
19082 * window.el (window-deletable-p): Don't return a non-nil value
19083 when there's a buffer that was shown in the window before.
19084 (Bug#9419)
19085 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19086 Set window's previous buffers to nil.
19087
19088 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19089
19090 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19091 newline before and after the tag line, so it doesn't interfere
19092 with determining the paragraph direction of bidirectional text.
19093
19094 2011-09-03 Leo Liu <sdl.web@gmail.com>
19095
19096 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19097
19098 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19099
19100 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19101 (pop-to-buffer): Change interactive spec. Pass second argument
19102 directly to display-buffer.
19103 (display-buffer): Fix interactive spec. Use functionp to
19104 distinguish between a function and a list of functions.
19105
19106 * abbrev.el (edit-abbrevs):
19107 * arc-mode.el (archive-extract):
19108 * autoinsert.el (auto-insert):
19109 * bookmark.el (bookmark-bmenu-list):
19110 * files.el (find-file):
19111 * view.el (view-buffer):
19112 * progmodes/compile.el (compilation-goto-locus):
19113 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19114
19115 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19116
19117 * window.el (display-buffer-alist): Doc fix.
19118 (display-buffer): Add docstring. Don't treat
19119 display-buffer-default specially.
19120 (display-buffer-reuse-selected-window)
19121 (display-buffer-same-window, display-buffer-maybe-same-window)
19122 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19123 (display-buffer-pop-up-window)
19124 (display-buffer-reuse-or-pop-window)
19125 (display-buffer-use-some-window): New functions.
19126 (display-buffer-default-action): Use them.
19127 (display-buffer-default): Delete.
19128 (pop-to-buffer-1): Fix choice of actions.
19129
19130 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19131
19132 * minibuffer.el (completion--insert-strings): Don't get confused by
19133 completion entries that end with an LF char.
19134
19135 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19136
19137 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19138
19139 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19140
19141 * window.el (display-buffer): Restore interactive spec.
19142 (display-buffer-same-window, display-buffer-other-window):
19143 New functions.
19144 (pop-to-buffer-1): New function. Use the above.
19145 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19146 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19147
19148 * view.el (view-buffer-other-window, view-buffer-other-frame):
19149 Just use pop-to-buffer.
19150
19151 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19152
19153 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19154
19155 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19156
19157 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19158
19159 2011-08-31 Richard Stallman <rms@gnu.org>
19160
19161 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19162 of the separation of rmail-view-buffer from rmail-buffer.
19163 If you say no to "replace original", the decrypt is in the
19164 view buffer. If you say yes, the decrypt goes into the
19165 rmail buffer also.
19166
19167 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19168
19169 * window.el (display-buffer-window): Rewrite doc-string.
19170 (display-buffer-record-window): New function.
19171 (display-buffer-macro-specifiers)
19172 (display-buffer-even-window-sizes, display-buffer-set-height)
19173 (display-buffer-set-width, display-buffer-in-window)
19174 (display-buffer-reuse-window, display-buffer-split-specifiers)
19175 (display-buffer-side-specifiers, display-buffer-split-window-1)
19176 (display-buffer-split-window, display-buffer-split-atom-window)
19177 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19178 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19179 (display-buffer-other-window-means-other-frame)
19180 (display-buffer-normalize-special)
19181 (display-buffer-normalize-default)
19182 (display-buffer-normalize-argument)
19183 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19184 (display-buffer-normalize-specifiers, display-buffer-frame)
19185 (display-buffer-same-window, display-buffer-same-frame)
19186 (display-buffer-other-window)
19187 (display-buffer-same-frame-other-window)
19188 (display-buffer-other-frame, pop-to-buffer-same-window)
19189 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19190 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19191 (switch-to-buffer-same-frame)
19192 (switch-to-buffer-other-window-same-frame)
19193 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19194 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19195 (display-buffer-alist-set): Remove.
19196 (display-buffer-function, special-display-buffer-names)
19197 (special-display-regexps, special-display-function):
19198 In doc-string refer to display-buffer-window and quit-restore
19199 parameter.
19200 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19201 (special-display-frame-alist, special-display-popup-frame)
19202 (same-window-buffer-names, same-window-regexps, same-window-p)
19203 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19204 (split-window-preferred-function, split-height-threshold)
19205 (split-width-threshold, window-splittable-p)
19206 (split-window-sensibly, window--try-to-split-window)
19207 (window--frame-usable-p, even-window-heights)
19208 (window--even-window-heights, window--display-buffer-1)
19209 (window--display-buffer-2, display-buffer-other-frame):
19210 Restore old Emacs 23 code, order and doc-strings where applicable.
19211 (display-buffer-default, display-buffer-assq-regexp): New functions.
19212 (display-buffer-alist): Rewrite doc-string.
19213 (display-buffer-default-action)
19214 (display-buffer-overriding-action): New variables.
19215 (display-buffer, switch-to-buffer): Rewrite.
19216 (pop-to-buffer): Restore Emacs 23 behavior but use
19217 window-normalize-buffer-to-display.
19218 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19219 Restore Emacs 23 behavior but use
19220 window-normalize-buffer-to-switch-to.
19221 (pop-to-buffer-same-window): Rewrite.
19222 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19223 Rewrite using Emacs 23 options.
19224
19225 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19226
19227 * net/tramp.el (tramp-root-regexp): Remove.
19228 (tramp-completion-file-name-regexp-unified)
19229 (tramp-completion-file-name-regexp-separate)
19230 (tramp-completion-file-name-regexp-url): Don't use leading volume
19231 letter on w32 systems. (Bug#5303, Bug#9311)
19232 (tramp-drop-volume-letter): Simplify definition.
19233 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19234
19235 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19236
19237 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19238 (bug#9356).
19239
19240 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19241
19242 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19243
19244 2011-08-29 Juri Linkov <juri@jurta.org>
19245
19246 * isearch.el (isearch-done): Don't display message "Mark saved"
19247 when arg `edit' is non-nil to prevent its flicker in the echo area.
19248
19249 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19250
19251 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19252 obsolete packages for deletion.
19253
19254 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19255
19256 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19257 (help-mode): Derive help-mode from special-mode. Don't invoke
19258 view-mode from help-mode.
19259 (help-xref-override-view-map): Remove.
19260 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19261 view-mode is not used anymore.
19262
19263 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19264
19265 * server.el (server-port): Doc fix.
19266
19267 * cus-theme.el (custom-theme-choose-mode): Inherit from
19268 special-mode (Bug#9124).
19269 (custom-theme-choose-mode-map): Add special-mode to parent.
19270
19271 2011-08-28 Alan Mackenzie <acm@muc.de>
19272
19273 * progmodes/cc-fonts.el
19274 (c-make-font-lock-BO-decl-search-function): New function.
19275 (c-basic-matchers-after - "Fontify the clauses after various
19276 keywords"): Extract the three keyword lists for the 3 erroneous
19277 constructs from the list of four, and use the new function above
19278 in place of an old one.
19279
19280 2011-08-28 Deniz Dogan <deniz@dogan.se>
19281
19282 * net/rcirc.el (rcirc-insert-prev-input)
19283 (rcirc-insert-next-input): Remove unused argument.
19284
19285 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19286
19287 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19288
19289 2011-08-27 Alan Mackenzie <acm@muc.de>
19290
19291 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19292 handle function pointer parameters properly.
19293
19294 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19295
19296 * window.el (display-buffer-reuse-window): Fix case where
19297 selected window was reused with non-nil OTHER-WINDOW argument.
19298 (Bug#9381)
19299
19300 2011-08-27 Deniz Dogan <deniz@dogan.se>
19301
19302 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19303 oftc's NickServ messages.
19304
19305 2011-08-27 Glenn Morris <rgm@gnu.org>
19306
19307 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19308
19309 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19310
19311 * emacs-lisp/package.el (package-install): Call package-initialize
19312 if called interactively.
19313
19314 2011-08-26 Leo Liu <sdl.web@gmail.com>
19315
19316 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19317
19318 2011-08-25 Juri Linkov <juri@jurta.org>
19319
19320 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19321 `search-whitespace-regexp' (bug#9364).
19322
19323 2011-08-25 Juri Linkov <juri@jurta.org>
19324
19325 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19326 `regexp-search-ring' to their global values to protect from
19327 updating by `read-from-minibuffer' (bug#9185).
19328
19329 2011-08-25 Juri Linkov <juri@jurta.org>
19330
19331 * textmodes/ispell.el (ispell-command-loop): Add newline
19332 at the end of the "Use option `i'..." line.
19333
19334 2011-08-25 Juri Linkov <juri@jurta.org>
19335
19336 * battery.el (display-battery-mode): If `battery-status-function'
19337 or `battery-mode-line-format' is nil, display the message and set
19338 `display-battery-mode' to nil (bug#9363).
19339
19340 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19341
19342 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19343 bidi-string-mark-left-to-right; they are unnecessary now.
19344
19345 2011-08-25 Deniz Dogan <deniz@dogan.se>
19346
19347 * net/quickurl.el: Documentation typo fixes.
19348
19349 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19350
19351 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19352
19353 2011-08-25 Glenn Morris <rgm@gnu.org>
19354
19355 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19356
19357 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19358 (smtpmail-via-smtp): Handle nil response from smtp.
19359
19360 2011-08-24 Juri Linkov <juri@jurta.org>
19361
19362 * proced.el (proced-marked): Inherit from `error' instead of
19363 `font-lock-warning-face'.
19364
19365 * ibuffer.el (ibuffer-marked-face): Change default face from
19366 `font-lock-warning-face' to `warning'.
19367 (ibuffer-deletion-face): Change default face from
19368 `font-lock-type-face' to `error'.
19369
19370 * battery.el (battery-update): Use the face `error' instead of
19371 `font-lock-warning-face' (bug#6117).
19372
19373 2011-08-24 Juri Linkov <juri@jurta.org>
19374
19375 * faces.el (success): Change face color from "Green3" to
19376 "ForestGreen" on light background (bug#9353).
19377
19378 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19379
19380 * window.el (quit-window): Rename from quit-restore-window.
19381 Use same arglist as old quit-window.
19382 (frame-auto-delete): Doc fix.
19383
19384 * view.el (view-mode-exit): Use quit-window.
19385
19386 2011-08-24 Juri Linkov <juri@jurta.org>
19387
19388 * isearch.el (isearch-ring-adjust1): Start visiting previous
19389 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19390 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19391 for empty search string (when the last search string is reused
19392 automatically) to adjust the isearch ring to the last element and
19393 prepare the correct index for further M-p commands (bug#9185).
19394
19395 2011-08-24 Kenichi Handa <handa@m17n.org>
19396
19397 * international/ucs-normalize.el: If decomposition property of
19398 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19399 nil.
19400 (nfd, nfkd): Likewise.
19401
19402 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19403
19404 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19405 from process filters aren't reliably transmitted to the surrounding
19406 accept-process-output.
19407 (mpc-proc-check): New function.
19408 (mpc-proc-sync): Use it (bug#8293)
19409
19410 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19411
19412 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19413 Add compatibility functions (bug#9313).
19414
19415 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19416
19417 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19418
19419 * international/uni-bidi.el: Regenerate.
19420
19421 2011-08-23 Kenichi Handa <handa@m17n.org>
19422
19423 * international/charprop.el:
19424 * international/uni-bidi.el:
19425 * international/uni-category.el:
19426 * international/uni-combining.el:
19427 * international/uni-comment.el:
19428 * international/uni-decimal.el:
19429 * international/uni-decomposition.el:
19430 * international/uni-digit.el:
19431 * international/uni-lowercase.el:
19432 * international/uni-mirrored.el:
19433 * international/uni-name.el:
19434 * international/uni-numeric.el:
19435 * international/uni-old-name.el:
19436 * international/uni-titlecase.el:
19437 * international/uni-uppercase.el: Regenerate.
19438
19439 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19440
19441 * help.el (help-window-setup): Fix message displayed when other
19442 window is reused. (Bug#9341)
19443
19444 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19445
19446 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19447 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19448
19449 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19450 Mark obsolete.
19451 * shell.el (shell-parse-pcomplete-arguments): New function.
19452 (shell-completion-vars): Use it instead (bug#9160).
19453
19454 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19455
19456 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19457 strings and comments (bug#9333).
19458
19459 * emacs-lisp/debug.el (debug-arglist): New function.
19460 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19461 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19462
19463 2011-08-22 Juri Linkov <juri@jurta.org>
19464
19465 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19466 Revert regexp that highlights output switches to its old
19467 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19468
19469 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19470 to check for empty output (bug#9226).
19471
19472 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19473
19474 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19475 symbol-constituent as the default, as that stops font-lock from
19476 working properly (Bug#8843).
19477
19478 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19479
19480 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19481 `coding-system-for-*' around the process open call to avoid
19482 auth-source side effects.
19483 (smtpmail-try-auth-methods): Expand the secret password.
19484 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19485 probe hangs.
19486
19487 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19488
19489 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19490
19491 * emacs-lisp/find-func.el (find-function-noselect): New arg
19492 lisp-only.
19493
19494 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19495 signal an error for built-in functions (Bug#6664).
19496
19497 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19498
19499 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19500 (smtpmail-try-auth-methods): Use it.
19501
19502 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19503
19504 * font-lock.el (font-lock-fontify-region)
19505 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19506 (font-lock-default-unfontify-buffer)
19507 (font-lock-default-fontify-region)
19508 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19509
19510 * progmodes/compile.el (compilation-error-properties):
19511 Fix confusion between file struct and message struct (Bug#9319).
19512 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19513 `ant' regexp.
19514
19515 * net/browse-url.el (browse-url-firefox): Don't call
19516 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19517
19518 2011-08-20 Glenn Morris <rgm@gnu.org>
19519
19520 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19521
19522 * tutorial.el (tutorial--default-keys): Update some default bindings.
19523
19524 * files.el (hack-local-variables): Fully ignore case for "mode:".
19525
19526 2011-08-20 Alan Mackenzie <acm@muc.de>
19527
19528 Resolve invalid use of a regexp in regexp-opt.
19529
19530 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19531 detection for a java annotation.
19532
19533 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19534 detection for a java annotation.
19535
19536 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19537 handling for java.
19538 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19539
19540 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19541
19542 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19543 (Bug#9274).
19544
19545 2011-08-20 Alan Mackenzie <acm@muc.de>
19546
19547 Fontify CPP expressions correctly when starting in the middle of
19548 such a construct. Mainly for when jit-lock etc. starts a chunk
19549 here.
19550
19551 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19552 variable.
19553 (c-make-font-lock-search-form): New function, extracted from
19554 c-make-font-lock-search-function.
19555 (c-make-font-lock-search-function): Use the above function.
19556 (c-make-font-lock-context-search-function): New function.
19557 (c-cpp-matchers): Enhance the preprocessor expression case with
19558 the above function
19559 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19560 which takes an expression.
19561
19562 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19563
19564 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19565
19566 * window.el (display-buffer-reuse-window)
19567 (display-buffer-pop-up-window): Don't reuse or split a side
19568 window.
19569
19570 2011-08-19 Glenn Morris <rgm@gnu.org>
19571
19572 * files.el (hack-local-variables-prop-line, hack-local-variables):
19573 Downcase "Mode:". (Bug#9331)
19574
19575 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19576
19577 * international/characters.el: Add L and R categories.
19578
19579 * subr.el (bidi-string-mark-left-to-right): Rename from
19580 string-mark-left-to-right. Use category search.
19581
19582 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19583
19584 2011-08-18 Juri Linkov <juri@jurta.org>
19585
19586 * faces.el (error, warning, success): New faces with definitions
19587 copied from old default values of `font-lock-warning-face',
19588 `compilation-warning', `compilation-info' (bug#6117).
19589
19590 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19591
19592 * progmodes/compile.el (compilation-error): Inherit from `error'.
19593 (compilation-warning): Inherit from `warning'.
19594 (compilation-info): Inherit from `success'.
19595
19596 * dired.el (dired-marked): Inherit from `warning'.
19597 (dired-flagged): Inherit from `error'.
19598
19599 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19600
19601 * mail/smtpmail.el (auth-source): Require to avoid problems with
19602 binding variables (bug#9298). Also clean up some unused
19603 autoloads.
19604
19605 * net/network-stream.el (network-stream-open-starttls):
19606 Support using starttls.el without using gnutls-cli.
19607
19608 2011-08-17 Juri Linkov <juri@jurta.org>
19609
19610 * progmodes/grep.el (rgrep): Handle the case when
19611 `grep-find-command' is a cons cell (bug#9278).
19612
19613 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19614
19615 * window.el (display-buffer-pop-up-frame): Run frame creation
19616 function with BUFFER current (as special-display-popup-frame
19617 does). Reported by Drew Adams.
19618
19619 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19620
19621 * epa-mail.el: Simplify GnuPG group expansion using
19622 epg-expand-group.
19623 (epa-mail-group-alist, epa-mail-group-modtime)
19624 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19625 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19626 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19627 Remove.
19628
19629 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19630
19631 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19632
19633 2011-08-16 Alan Mackenzie <acm@muc.de>
19634
19635 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19636 Correct, to avoid the inside of macros.
19637
19638 2011-08-16 Richard Stallman <rms@gnu.org>
19639
19640 * epa-mail.el: Handle GnuPG group definitions.
19641 (epa-mail-group-alist, epa-mail-group-modtime)
19642 (epa-mail-gnupg-conf-file): New variables.
19643 (epa-mail-parse-groups, epa-mail-sync-groups)
19644 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19645 (epa-mail-expand-recipients): New functions.
19646 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19647
19648 * mail/rmail.el (rmail-epa-decrypt): New command.
19649
19650 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19651 Don't bind buffer-read-only, just inhibit-read-only.
19652 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19653 (epa-decrypt-armor-in-region): Make error message clearer.
19654
19655 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19656
19657 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19658 and "a2b" to "ab" for `prefix'.
19659
19660 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19661
19662 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19663 filter groups.
19664 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19665 Fourquet (Bug#8804).
19666
19667 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19668
19669 * startup.el (argi): Declare as global variable (bug#9275).
19670
19671 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19672
19673 * subr.el (string-mark-left-to-right): Search the entire string
19674 for RTL script, not just the terminating character. Doc fix.
19675
19676 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19677
19678 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19679 New function.
19680 (js--regexp-literal, js-syntax-propertize-function): Remove.
19681 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19682 (js-mode-map): Don't rebind electric keys.
19683 (js-insert-and-indent): Remove.
19684 (js-mode): Setup electric-layout and electric-indent instead.
19685
19686 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19687
19688 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19689
19690 * epa.el (epa-progress-callback-function): Fix the logic of
19691 displaying progress.
19692 * epa-file.el (epa-file-insert-file-contents): Make progress
19693 display more user-friendly.
19694 (epa-file-write-region): Ditto.
19695
19696 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19697
19698 * subr.el (string-mark-left-to-right): New function.
19699
19700 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19701 Use string-mark-left-to-right.
19702 (list-buffers-noselect): Caller changed.
19703
19704 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19705 Use string-mark-left-to-right.
19706 (tabulated-list-print): Recenter after moving point.
19707
19708 2011-08-10 Juri Linkov <juri@jurta.org>
19709
19710 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19711 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19712 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19713
19714 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19715
19716 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19717 (Bug#7554).
19718
19719 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19720
19721 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19722 character. (Bug#6594)
19723
19724 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19725
19726 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19727 (image-dired--with-db-file): New macro.
19728 (image-dired-write-tags, image-dired-remove-tag)
19729 (image-dired-create-gallery-lists, image-dired-write-comments)
19730 (image-dired-get-comment, image-dired-mark-tagged-files)
19731 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19732 (image-dired-gallery-generate): Use insert-file-contents.
19733
19734 * time.el (display-time-world-list, display-time-world-display):
19735 * time-stamp.el (time-stamp-string):
19736 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19737 set-time-zone-rule (Bug#7337).
19738
19739 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19740
19741 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19742 (epg-error-to-string, epg-errors-to-string): New function.
19743 (epg-wait-for-completion): Reverse errors list.
19744 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19745 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19746 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19747 (epg-sign-keys, epg-generate-key-from-file)
19748 (epg-generate-key-from-string): Format errors by using
19749 epg-errors-to-string (bug#9255).
19750 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19751
19752 2011-08-07 Juri Linkov <juri@jurta.org>
19753
19754 * faces.el (list-faces-display): Remove extra angle bracket
19755 from `help-mode-map'.
19756
19757 * info.el (Info-history-toc-nodes): Doc fix.
19758
19759 * longlines.el (longlines-mode): Doc fix.
19760
19761 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19762
19763 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19764 of statements and in a few more cases (bug#9183).
19765
19766 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19767 New functions.
19768 (cl-transform-lambda): Use them (bug#9239).
19769
19770 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19771
19772 * window.el (display-buffer-same-window)
19773 (display-buffer-same-frame, display-buffer-other-window)
19774 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19775 (pop-to-buffer-other-window)
19776 (pop-to-buffer-same-frame-other-window)
19777 (pop-to-buffer-other-frame): Make them defuns.
19778 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19779
19780 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19781
19782 * subr.el (make-composed-keymap): Move from C. Change calling
19783 convention, and improve docstring to bring attention to a subtle point.
19784 * minibuffer.el (completing-read-default): Adjust accordingly.
19785
19786 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19787
19788 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19789 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19790
19791 * net/trampver.el: Update release number.
19792
19793 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19794
19795 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19796 "in" (bug#9190).
19797
19798 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19799
19800 * mail/sendmail.el (sendmail-query-once): Restore the current
19801 buffer after querying (bug#9074).
19802
19803 * dired.el (dired-flagged): Use different faces for marked and
19804 flagged files (bug#6117).
19805
19806 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19807 (bug#4433).
19808
19809 * ido.el (ido-mode): Switch off the message if called
19810 non-interactively.
19811
19812 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19813 before 587, since it appears that that's more likely to work for
19814 more people.
19815
19816 * cus-edit.el (custom-file): When running under emacs -q, always
19817 refuse to save the customizations, even if the .emacs file doesn't
19818 exist.
19819
19820 * info.el: Remove the `Info-beginning-of-buffer' function
19821 (bug#8325).
19822
19823 * net/network-stream.el (network-stream-open-starttls):
19824 Use `starttls-available-p' to see whether starttls.el can be used.
19825
19826 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19827
19828 * window.el (display-buffer-in-window): Don't set dedicated status
19829 of window here (Bug#9215).
19830 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19831 (display-buffer-pop-up-side-window)
19832 (display-buffer-in-side-window): Set dedicated status of window here.
19833
19834 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19835
19836 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19837 before binding generated-autoload-file.
19838
19839 2011-08-01 Deniz Dogan <deniz@dogan.se>
19840
19841 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19842
19843 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19844
19845 Sync with Tramp 2.2.2.
19846
19847 * net/trampver.el: Update release number.
19848
19849 2011-07-30 Juri Linkov <juri@jurta.org>
19850
19851 * dired-aux.el (dired-touch-initial): Remove function.
19852 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19853 current time, and `default' to the last modification time of the
19854 current marked file (bug#6887).
19855
19856 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19857
19858 * simple.el (goto-line): Use string-to-number to provide a
19859 numeric argument to read-number (bug#9163).
19860
19861 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19862
19863 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19864 connection process, it could be nil.
19865
19866 2011-07-27 Leo Liu <sdl.web@gmail.com>
19867
19868 Simplify url handling in rcirc-mode.
19869
19870 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19871 (rcirc-browse-url-at-mouse): Remove.
19872 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19873
19874 2011-07-26 Alan Mackenzie <acm@muc.de>
19875
19876 Fontify bitfield declarations properly.
19877
19878 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19879 (c-symbol-chars): Now exported as a lang variable.
19880 (c-not-primitive-type-keywords): New lang variable.
19881
19882 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19883 QT keyword "more" to prevent "more slots: ...." being spuriously
19884 parsed as a bitfield declaration.
19885
19886 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19887 Refactor and enhance to handle bitfield declarations.
19888 (c-punctuation-in): New function.
19889 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19890 declarations properly.
19891
19892 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19893
19894 * calendar/icalendar.el (icalendar--all-events): Take care of
19895 multiple vcalendars in a single file.
19896 (icalendar--convert-float-to-ical): Checkdoc fixes.
19897
19898 2011-07-25 Deniz Dogan <deniz@dogan.se>
19899
19900 * image.el (insert-image): Clarifying docstring.
19901
19902 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19903
19904 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19905 `tramp-send-command-and-check' if there is no error.
19906 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19907
19908 2011-07-22 Alan Mackenzie <acm@muc.de>
19909
19910 Prevent cc-langs.elc being loaded at run time.
19911
19912 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19913 cc-langs.
19914
19915 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19916 "(require 'cc-langs)". Quote a form so it will evaluate at
19917 (cc-mode's) compilation time.
19918
19919 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19920
19921 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19922 loading. (Bug#9114)
19923
19924 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19925
19926 * window.el (display-buffer-pop-up-window)
19927 (display-buffer-pop-up-side-window)
19928 (display-buffer-in-side-window): Call display-buffer-set-height
19929 and display-buffer-set-width after setting the new window's
19930 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19931
19932 2011-07-20 Sam Steingold <sds@gnu.org>
19933
19934 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19935 (etags-tags-included-tables): Call `convert-standard-filename' on
19936 the file names contained in TAGS so that windows Emacs can handle
19937 TAGS files created by cygwin ctags.
19938
19939 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19940
19941 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19942 which apparently didn't work.
19943
19944 2011-07-19 Roland Winkler <winkler@gnu.org>
19945
19946 * proced.el (proced-send-signal): For *Marked Processes* buffer
19947 put point at beginning of buffer.
19948
19949 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19950
19951 * proced.el (proced-format): Make header lines align with the text
19952 (bug#1779).
19953
19954 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19955
19956 * view.el (view-buffer): Allow running in `special' modes if we're
19957 visiting a file (bug#8615).
19958
19959 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19960
19961 * window.el (display-buffer-alist-of-strings-p)
19962 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19963 New functions.
19964 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19965 more accurately.
19966
19967 2011-07-18 Alan Mackenzie <acm@muc.de>
19968
19969 Fontify declarators properly when, e.g., a jit-lock chunk begins
19970 inside a declaration.
19971
19972 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19973
19974 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19975 New function.
19976 (c-complex-decl-matchers): Insert reference to
19977 c-font-lock-enclosing-decls.
19978
19979 * progmodes/cc-engine.el (c-backward-single-comment):
19980 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19981 to nil around calls to (forward-comment -1).
19982
19983 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19984
19985 * image.el (put-image): Doc typo fix.
19986
19987 * progmodes/etags.el (tags-search): Doc typo fix.
19988
19989 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19990 password if we get errors 550 to 554.
19991
19992 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19993
19994 * net/gnutls.el (gnutls-log-level): Remove.
19995
19996 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19997 indentation character (bug#6380).
19998
19999 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20000
20001 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20002 to clarify what the problem is (bug#4291).
20003
20004 * simple.el (current-kill): Clarify what
20005 `interprogram-paste-function' does (bug#7500).
20006 (auto-fill-mode): Document `auto-fill-function' in relation to
20007 `auto-fill-mode' (bug#2470).
20008
20009 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20010
20011 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20012 method if slot is read-only (bug#9035).
20013
20014 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20015
20016 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20017 * window.el (pop-to-buffer): Select window used even if it was
20018 selected before, see discussion of (Bug#8615), (Bug#6954).
20019 Pass argument NORECORD on to select-frame-set-input-focus.
20020
20021 2011-07-15 Glenn Morris <rgm@gnu.org>
20022
20023 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20024 Respect help-form.
20025
20026 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20027
20028 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20029 (gnutls-negotiate): Use it.
20030
20031 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20032
20033 * net/gnutls.el (gnutls-negotiate):
20034 Upcase `gnutls-algorithm-priority'.
20035
20036 2011-07-15 Glenn Morris <rgm@gnu.org>
20037
20038 * jka-compr.el (jka-compr-verbose): Move from here...
20039 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20040 Add missing :version tag.
20041 * info.el: No need to require jka-compr when compiling.
20042
20043 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20044
20045 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20046 (gnutls-negotiate): Use it.
20047
20048 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20049
20050 * info.el (Info-beginning-of-buffer): New command.
20051 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20052 announcing `b' as the key (bug#8325).
20053 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20054
20055 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20056
20057 * international/mule-cmds.el
20058 (describe-specified-language-support): Make the error message
20059 clearer (bug#8905).
20060
20061 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20062
20063 * isearch.el (isearch-barrier): Add a doc string, since it's
20064 mentioned in a function doc string (bug#8678).
20065
20066 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20067
20068 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20069 buffer argument (Bug#9083) and self-identifying label argument.
20070
20071 2011-07-15 Glenn Morris <rgm@gnu.org>
20072
20073 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20074
20075 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20076
20077 * man.el (Man-fontify-manpage): Fix message when formatting the
20078 man page (bug#7929).
20079
20080 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20081
20082 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20083 argument LRM; if non-nil, append an invisible LRM character to the
20084 buffer name.
20085 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20086 last argument non-nil, when formatting buffer names.
20087 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20088 paragraph direction.
20089
20090 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20091
20092 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20093 the man page name (bug#7929).
20094
20095 * image.el (put-image): Mention the `put-image' overlay property
20096 (bug#7834).
20097
20098 * scroll-bar.el (set-scroll-bar-mode): Mention that
20099 `scroll-bar-mode' lists the values (bug#7772).
20100
20101 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20102 command (bug#7729).
20103
20104 * rect.el (apply-on-rectangle): Return the point after the last
20105 operation.
20106 (string-rectangle): Go to the point after the last operation
20107 (bug#7522).
20108
20109 * printing.el (pr-toggle-region): Clarify the documentation
20110 slightly (bug#7493).
20111
20112 * time.el (display-time-update):
20113 Allow `display-time-mail-function' to return nil (bug#7158).
20114 Fix suggested by Detlev Zundel.
20115
20116 * vc/diff.el (diff): Clarify the order the file names are read
20117 (bug#7111).
20118
20119 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20120 the doc string (bug#7015).
20121
20122 * font-lock.el (font-lock-maximum-decoration): Mention what
20123 numeric levels mean (bug#6935).
20124
20125 * startup.el (initial-buffer-choice): Don't mention the `none'
20126 selection, which is against policy.
20127
20128 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20129
20130 * window.el (display-buffer-normalize-special):
20131 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20132
20133 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20134
20135 * subr.el (version<, version<=, version=): Mention "-CVS" and
20136 "-12345" alpha version numbers.
20137
20138 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20139
20140 * bindings.el: Add advertised binding for set-mark-command
20141 (Bug#5772).
20142
20143 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20144
20145 * bindings.el (mode-line-other-buffer):
20146 * bookmark.el (bookmark-bmenu-2-window):
20147 * bs.el (bs-cycle-next, bs-cycle-previous):
20148 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20149 switch-to-buffer.
20150
20151 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20152 Delete.
20153
20154 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20155
20156 * follow.el (follow-debug-message, follow-redisplay):
20157 * jka-cmpr-hook.el (with-auto-compression-mode):
20158 Fix typos in docstrings.
20159
20160 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20161
20162 * subr.el (with-silent-modifications): Clarify somewhat what the
20163 macro inhibits (bug#6525).
20164
20165 * simple.el (eval-expression): Note what it does if called
20166 interactively (bug#6495).
20167
20168 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20169
20170 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20171 Use pop-to-buffer buffer-or-name if it is nil.
20172
20173 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20174 Remove switch-to-buffer.
20175
20176 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20177
20178 * files.el (make-directory): Clarify that an error will be raised
20179 if there's an error (bug#6397).
20180
20181 * startup.el (initial-buffer-choice): Add `none' as a choice
20182 (bug#6234).
20183
20184 * subr.el (add-hook): Clarify section about buffer-local hooks
20185 (bug#6218).
20186
20187 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20188
20189 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20190
20191 * tabify.el (untabify): Preserve the current column so that point
20192 doesn't move (bug#6032).
20193
20194 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20195
20196 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20197 Rewrite to avoid awkward possessive "s" (bug#5986).
20198
20199 2011-07-13 Glenn Morris <rgm@gnu.org>
20200
20201 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20202 (dired-insert-directory): Give a message the first time
20203 if ls is found not to support --dired.
20204
20205 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20206
20207 * simple.el (toggle-truncate-lines): Clarify what is toggled
20208 (bug#5580). Text by Drew Adams.
20209
20210 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20211
20212 * simple.el (blink-matching-open): Make the error message from the
20213 last change less verbose.
20214
20215 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20216
20217 * font-lock.el (font-lock-comment-face): Use the high contrast
20218 "yellow" color for font-lock-comment-face on low color terminals
20219 using a dark background color (bug#4221).
20220
20221 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20222
20223 * dired.el (dired-insert-set-properties): Make the doc string
20224 reflect what it does now (bug#5325).
20225
20226 * simple.el (blink-matching-open): Say that we were unable to find
20227 the match within the limit, if we're limited (bug#5122).
20228
20229 * international/mule-cmds.el (prefer-coding-system): Add an
20230 example (bug#4869).
20231
20232 * progmodes/etags.el (tags-search): Document `file-list-form'
20233 (bug#4731).
20234
20235 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20236
20237 * net/browse-url.el (browse-url-default-browser)
20238 (browse-url-browser-function): Make the default browser choice a
20239 bit more logical (bug#4300). Also clean up the doc string.
20240
20241 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20242
20243 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20244 binary endings (bug#4440).
20245
20246 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20247
20248 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20249 which can be pretty annoying (bug#8971).
20250
20251 * jka-compr.el (jka-compr-verbose): New variable, and use
20252 throughout (bug#8971).
20253
20254 * info.el (Info-find-file): Fall back on the installation
20255 directory if we can't find the info node anywhere else.
20256
20257 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20258
20259 * vc/vc.el (vc-revert-file):
20260 Don't set file time-stamp in the past. (Bug#5181)
20261
20262 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20263
20264 * files.el (after-find-file): Give a better error message when
20265 trying to find a symlink that points to a file that doesn't exist
20266 (bug#4398).
20267
20268 * progmodes/cc-vars.el: Remove (probably) misleading comment
20269 (bug#4396).
20270
20271 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20272
20273 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20274
20275 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20276
20277 * mouse-sel.el: Hack restoring functionality, while keeping
20278 compatibility with 2010-07-03 changes to mouse selection.
20279 (mouse-sel-primary-overlay): New var.
20280 (mouse-sel-selection-alist): Use it.
20281 (mouse-sel-mode): Doc fix; remove points that are default features
20282 of mouse.el.
20283
20284 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20285
20286 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20287 Fix previous fix (bug#2490).
20288
20289 2011-07-12 Roland Winkler <winkler@gnu.org>
20290
20291 * textmodes/bibtex.el (bibtex-initialize):
20292 Use pop-to-buffer-same-window.
20293 (bibtex-search-entries): Fix interactive call.
20294
20295 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20296
20297 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20298 Fontise bytecomp Error lines more correctly (bug#2490).
20299 Fix suggested by Johan Bockgård.
20300
20301 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20302
20303 * dired-x.el (dired-guess-default): Use `delete-dups'.
20304
20305 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20306
20307 * dired.el (dired-mark-prompt):
20308 * dired-aux.el (dired-read-shell-command): Doc fix.
20309
20310 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20311
20312 * mail/sendmail.el (sendmail-query-once):
20313 Use `customize-save-variable' unconditionally, now that it works under
20314 emacs -Q.
20315
20316 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20317
20318 * cus-edit.el (custom-file): Take an optional no-error variable.
20319 (customize-save-variable): Set the variable, and give a warning if
20320 running under "emacs -q".
20321
20322 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20323
20324 * loadhist.el (unload-feature-special-hooks):
20325 Add `auto-coding-functions', `fill-nobreak-predicate' and
20326 `find-directory-functions' (bug#5327).
20327
20328 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20329
20330 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20331
20332 * cus-edit.el (custom-guess-name-alist): -alist variables should
20333 use the `alist' type (bug#3120). Suggested by Drew Adams.
20334
20335 * printing.el: Add documentation to all the `pr-toggle-' commands.
20336
20337 2011-07-11 Leo Liu <sdl.web@gmail.com>
20338
20339 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20340 backends where it makes sense (bug#2623).
20341
20342 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20343
20344 * dired-x.el (dired-guess-default): Remove duplicate shell command
20345 entries (bug#2028).
20346 (dired-guess-default): Fix grammar in doc string (bug#2028).
20347 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20348
20349 * subr.el (remove-duplicates): New conveniency function.
20350
20351 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20352
20353 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20354 (bug#1526).
20355
20356 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20357
20358 * window.el (display-buffer-normalize-default): Don't invert
20359 meaning of even-window-heights. Reported by Eli Zaretskii
20360 <eliz@gnu.org>.
20361
20362 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20363
20364 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20365
20366 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20367
20368 * window.el (display-buffer): Fix arguments to
20369 display-buffer-reuse-window in last change.
20370
20371 * faces.el (link): Use a less saturated blue on light backgrounds.
20372
20373 * startup.el (fancy-startup-text, fancy-about-text)
20374 (fancy-startup-tail): Use font-lock faces, for background safety.
20375
20376 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20377
20378 * emulation/viper-cmd.el (viper-change-state-to-vi):
20379 Limit triggering of abbrev expansion (Bug#9038).
20380
20381 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20382
20383 * window.el (display-buffer-default-specifiers): Remove.
20384 (display-buffer-macro-specifiers): Remove default specifiers.
20385 (display-buffer-alist): Default to nil.
20386 (display-buffer-reuse-window): New optional argument other-window.
20387 (display-buffer-pop-up-window): Allow splitting internal
20388 windows. Check whether a live window was created.
20389 (display-buffer-other-window-means-other-frame)
20390 (display-buffer-normalize-arguments): Rename to
20391 display-buffer-normalize-argument and rewrite. Set the
20392 other-window specifier.
20393 (display-buffer-normalize-special): New function.
20394 (display-buffer-normalize-options): Rename to
20395 display-buffer-normalize-default and rewrite.
20396 (display-buffer-normalize-options-inhibit): Remove.
20397 (display-buffer-normalize-specifiers): Rewrite.
20398 (display-buffer): Process other-window specifier and call
20399 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20400 more faithfully.
20401 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20402 (display-buffer-alist-set): Don't handle 'unset default values.
20403 (display-buffer-in-window, display-buffer-alist-set):
20404 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20405 <tassilo@member.fsf.org>.
20406
20407 2011-07-09 Leo Liu <sdl.web@gmail.com>
20408
20409 * register.el (insert-register): Restore accidental change on
20410 2011-06-26. (Bug#9028)
20411
20412 2011-07-09 Glenn Morris <rgm@gnu.org>
20413
20414 * subr.el (remq): Handle the empty list. (Bug#9024)
20415
20416 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20417
20418 * mail/sendmail.el (send-mail-function): No longer delay custom
20419 initialization.
20420 * custom.el (custom-initialize-delay): Doc fix.
20421
20422 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20423
20424 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20425
20426 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20427
20428 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20429 human-friendly prompt.
20430
20431 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20432
20433 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20434 provided by a particular plugin.
20435
20436 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20437
20438 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20439 save customizations (with "emacs -Q"), just set the variable
20440 instead of erroring out.
20441
20442 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20443
20444 2011-07-08 Juri Linkov <juri@jurta.org>
20445
20446 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20447 (archive-zip-update-case): Use 7z if found by `executable-find'.
20448 The order of searching the available programs is the same as in
20449 `archive-zip-extract' (bug#8968).
20450
20451 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20452
20453 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20454 (menu-bar-options-menu): Tweak descriptions.
20455
20456 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20457
20458 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20459 menu items into verb phrases (bug#1421). Also refill to fit under
20460 80 columns.
20461
20462 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20463
20464 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20465 (Info-read-node-name): Doc fix (Bug#1084).
20466
20467 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20468 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20469 (end-of-sexp, beginning-of-sexp)
20470 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20471 (forward-symbol, forward-same-syntax, word-at-point)
20472 (sentence-at-point): Doc fix (Bug#1144).
20473
20474 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20475
20476 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20477 should cover it (bug#1281).
20478
20479 * cus-edit.el (custom-show): Mark as obsolete.
20480
20481 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20482 negotiation fails, then possibly try again with a non-encrypted
20483 connection (bug#9017).
20484
20485 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20486 be used.
20487
20488 2011-07-07 Richard Stallman <rms@gnu.org>
20489
20490 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20491 property, and handle its changed format.
20492 Look for the correct line number.
20493 Use file's line contents (but not past first =) to find
20494 correct line in message.
20495
20496 2011-07-07 Kenichi Handa <handa@m17n.org>
20497
20498 * international/characters.el (build-unicode-category-table):
20499 Delete it.
20500 (unicode-category-table): Set it by unicode-property-table-internal.
20501
20502 * international/mule-cmds.el (char-code-property-alist): Move to
20503 to src/chartab.c.
20504 (get-char-code-property): Call unicode-property-table-internal to
20505 load a file. Call get-unicode-property-internal where necessary.
20506 (put-char-code-property): Call unicode-property-table-internal to
20507 load a file. Call put-unicode-property-internal where necessary.
20508 put-unicode-property-internal where necessary.
20509 (char-code-property-description):
20510 Call unicode-property-table-internal to load a file.
20511
20512 * international/charprop.el:
20513 * international/uni-bidi.el:
20514 * international/uni-category.el:
20515 * international/uni-combining.el:
20516 * international/uni-comment.el:
20517 * international/uni-decimal.el:
20518 * international/uni-decomposition.el:
20519 * international/uni-digit.el:
20520 * international/uni-lowercase.el:
20521 * international/uni-mirrored.el:
20522 * international/uni-name.el:
20523 * international/uni-numeric.el:
20524 * international/uni-old-name.el:
20525 * international/uni-titlecase.el:
20526 * international/uni-uppercase.el: Regenerate.
20527
20528 * loadup.el: Load international/charprop.el before
20529 international/characters.
20530
20531 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20532
20533 * window.el (next-buffer, previous-buffer): Signal an error if
20534 called from a minibuffer window.
20535
20536 * bindings.el: Revert 2011-07-04 change.
20537
20538 2011-07-06 Richard Stallman <rms@gnu.org>
20539
20540 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20541 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20542 Treat markers like ints.
20543 (rmail-mime-entity): Doc fix.
20544
20545 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20546
20547 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20548 defcustom again for backwards compatibility.
20549
20550 * simple.el (shell-command-on-region): Fill.
20551
20552 * dired-aux.el (dired-kill-line): Add a doc string.
20553
20554 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20555 to "\\sw\\|\\s_" (bug#358).
20556
20557 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20558 (dired-unmark-backward): Ditto.
20559 (dired-flag-backup-files): Ditto.
20560
20561 * dired-x.el (dired-mark-sexp): Ditto.
20562
20563 2011-07-06 Richard Stallman <rms@gnu.org>
20564
20565 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20566 (rmail-mime-entity): New arg TRUNCATED.
20567 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20568 New functions.
20569 (rmail-mime-save): Warn if entity is truncated.
20570 (rmail-mime-toggle-hidden): Likewise, for showing.
20571 (rmail-mime-process-multipart): Record when an entity is truncated.
20572
20573 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20574 if ENTITY is a string.
20575
20576 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20577
20578 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20579 of faces when `M-C-x'-ing their definitions (bug#8378).
20580 Also clean up the code slightly.
20581
20582 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20583 because that makes the colors go away.
20584
20585 * mail/sendmail.el (send-mail-function): Change the default to
20586 `sendmail-query-once'.
20587 (sendmail-query-once): Add an autoload cookie.
20588
20589 * net/network-stream.el (network-stream-open-starttls): Try using
20590 a plain connection even if the server offered STARTTLS, and we
20591 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20592 capability. This should make smtpmail.el work in slightly more
20593 configurations.
20594
20595 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20596
20597 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20598 New defun.
20599 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20600
20601 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20602
20603 * progmodes/sql.el: Version 3.0
20604 (sql-product-alist): Add product :completion-object,
20605 :completion-column, and :statement attributes.
20606 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20607 (sql-mode-syntax-table): Mark all punctuation.
20608 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20609 ansi keywords.
20610 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20611 (sql-mode-oracle-font-lock-keywords): Improve.
20612 (sql-oracle-show-reserved-words): New function for development.
20613 (sql-product-font-lock): Simplify for source code buffers.
20614 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20615 New functions.
20616 (sql-highlight-product): Set product specific syntax table.
20617 (sql-mode-map): Add statement movement functions.
20618 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20619 New variable.
20620 (sql-statement-regexp, sql-beginning-of-statement)
20621 (sql-end-of-statement, sql-signum): New functions.
20622 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20623 (sql-show-sqli-buffer): Bug fix.
20624 (sql-interactive-mode): Store connection data as buffer local.
20625 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20626 with sql-interactive-mode.
20627 (sql-save-connection): Save buffer local settings.
20628 (sql-connection-menu-filter): Change menu entry name.
20629 (sql-product-interactive): Bug fix.
20630 (sql-preoutput-hold): New variable.
20631 (sql-interactive-remove-continuation-prompt): Bug fixes.
20632 (sql-debug-redirect): New variable.
20633 (sql-str-literal): New function.
20634 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20635 Redesign.
20636 (sql-oracle-save-settings, sql-oracle-restore-settings)
20637 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20638 (sql-completion-object, sql-completion-column)
20639 (sql-completion-sqlbuf): New variables.
20640 (sql-build-completions-1, sql-build-completions)
20641 (sql-try-completion): New functions.
20642 (sql-read-table-name): Use them.
20643 (sql-contains-names): New buffer local variable.
20644 (sql-list-all, sql-list-table): Use it.
20645 (sql-oracle-completion-types): New variable.
20646 (sql-oracle-completion-object, sql-sqlite-completion-object)
20647 (sql-postgres-completion-object): New functions.
20648
20649 2011-07-06 Glenn Morris <rgm@gnu.org>
20650
20651 * window.el (pop-to-buffer): Doc fix.
20652
20653 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20654
20655 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20656
20657 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20658
20659 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20660
20661 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20662
20663 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20664
20665 * button.el (button): Inherit from link face. Suggested by Dan
20666 Nicolaescu.
20667
20668 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20669
20670 * progmodes/gdb-mi.el: Fit in 80 columns.
20671 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20672 switch-to-buffer.
20673
20674 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20675 if imenu is simply not configured (bug#8941).
20676
20677 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20678
20679 * allout.el (allout-post-undo-hook): New allout outline-change
20680 event hook to signal undo activity.
20681 (allout-post-command-business): Run allout-post-undo-hook if an
20682 undo just occurred.
20683 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20684 * allout-widgets.el (allout-widgets-after-undo-function):
20685 Ensure the integrity of the current item's decoration after it has been
20686 in the vicinity of an undo.
20687 (allout-widgets-mode): Include allout-widgets-after-undo-function
20688 on the new allout-post-undo-hook.
20689
20690 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20691
20692 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20693 Let define-derived-mode define it.
20694 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20695 cycles of abbrev-table inheritance (bug#8998).
20696
20697 2011-07-05 Roland Winkler <winkler@gnu.org>
20698
20699 * textmodes/bibtex.el: Add support for biblatex.
20700 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20701 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20702 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20703 (bibtex-entry-alist, bibtex-field-alist): New variables.
20704 (bibtex-entry-field-alist): Obsolete alias for
20705 bibtex-BibTeX-entry-alist.
20706 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20707 (bibtex-set-dialect): New command.
20708 (bibtex-entry-type, bibtex-entry-head)
20709 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20710 Bind via bibtex-set-dialect.
20711 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20712 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20713 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20714 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20715 Define via bibtex-set-dialect.
20716 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20717 Obey bibtex-no-opt-remove-re.
20718 (bibtex-vec-push, bibtex-vec-incr): New functions.
20719 (bibtex-format-entry, bibtex-field-list)
20720 (bibtex-print-help-message, bibtex-validate)
20721 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20722
20723 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20724
20725 * progmodes/compile.el (compilation-goto-locus):
20726 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20727 * bs.el (bs-cycle-next, bs-cycle-previous):
20728 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20729 * bindings.el (mode-line-other-buffer):
20730 * autoinsert.el (auto-insert):
20731 * arc-mode.el (archive-extract):
20732 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20733
20734 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20735
20736 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20737 Fix check of `emacs-lock-unlockable-modes'.
20738 Coerce true values of `emacs-lock--try-unlocking' to t.
20739
20740 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20741
20742 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20743 * emacs-lock.el: New file.
20744
20745 2011-07-05 Julien Danjou <julien@danjou.info>
20746
20747 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20748 than `boundp' to check if face is set.
20749
20750 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20751
20752 * register.el (registerv-make):
20753 * window.el (window-min-height): Fix typos in docstrings.
20754
20755 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20756
20757 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20758 Update doc string.
20759
20760 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20761
20762 * server.el (server-execute): Catch quit and call
20763 `server-return-error' to pass the error back to emacsclient and
20764 close the connection (bug#8942).
20765
20766 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20767
20768 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20769 insecure exception for current topic. Also note that auto-saves
20770 are handled differently.
20771
20772 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20773 State variables for tracking auto-save inhibition situation.
20774
20775 (allout-write-contents-hook-handler): Rename from
20776 'allout-write-file-hook-handler', and describe how it depends on
20777 write-contents-functions sensitivity to non-nil value to prevent
20778 file write.
20779
20780 (allout-auto-save-hook-handler): Remove. auto-save does not check
20781 this in individual buffers, only in the starting buffer, so this
20782 is not the right way for us to inhibit auto-save in a buffer
20783 according to its condition.
20784
20785 (allout-mode): Use new allout-write-contents-hook-handler, and
20786 only with write-contents-functions. Remove auto-save provisions -
20787 they're implemented elsewhere.
20788
20789 (allout-before-change-handler): If undo is in progress, note that
20790 for attention of allout-post-command-business.
20791
20792 (allout-post-command-business): If the command we're following was
20793 an undo, check for change in the status of encrypted items and
20794 adjust auto-save inhibitions accordingly.
20795
20796 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20797 according to whether there are or aren't any plain-text topics
20798 pending encryption.
20799
20800 (allout-inhibit-auto-save-info-for-decryption):
20801 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20802 if there are plain-text topics pending encryption.
20803
20804 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20805 buffer-saved-size and some allout state to not inhibit auto-saves
20806 if there are no longer any plain-text topics pending encryption.
20807
20808 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20809 No longer provide for exemption of the current topic.
20810
20811 2011-07-04 Juri Linkov <juri@jurta.org>
20812
20813 Add 7z operations to delete and save changed members (bug#8968).
20814 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20815 New defcustoms.
20816 (archive-7z-write-file-member): New function.
20817 (archive-7z-summarize): Fix the number of dashes in the
20818 listing output.
20819
20820 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20821
20822 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20823 (bug#8958).
20824
20825 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20826
20827 * bindings.el: Ignore next-buffer and previous-buffer in
20828 minibuffer-local-map.
20829
20830 * font-lock.el (font-lock-builtin-face): Change light background
20831 color to dark slate blue (Bug#6693).
20832
20833 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20834
20835 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20836
20837 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20838
20839 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20840 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20841 Add switch-to-buffer.
20842
20843 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20844
20845 * isearch.el (isearch-search-fun-function): Clarify further the
20846 meaning of the function returned.
20847
20848 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20849
20850 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20851
20852 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20853 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20854 Use it.
20855 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20856 `tramp-default-remote-path' does not exist.
20857 (tramp-send-command-and-read): New optional argument NOERROR.
20858 (tramp-open-connection-setup-interactive-shell)
20859 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20860 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20861 (tramp-process-sentinel): Flush also process' connection property.
20862 (tramp-sh-handle-start-file-process): Do not set process
20863 sentinel. It is done now ...
20864 (tramp-maybe-open-connection): ... here. (Bug#8929)
20865
20866 2011-07-04 MON KEY <monkey@sandpframing.com>
20867
20868 * play/animate.el (animate-string): Doc fixes and allow changing
20869 the buffer name (bug#5417).
20870
20871 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20872
20873 * play/animate.el (animation-buffer-name): Rename from *animate*.
20874
20875 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20876
20877 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20878 This is simpler and helps future-proof the code.
20879 (timer-until): Use time-subtract and float-time.
20880 (timer--time-less-p): Use time-less-p.
20881
20882 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20883
20884 * type-break.el (timep): Use the value of `float-time' to avoid a
20885 byte-compiler warning.
20886
20887 * server.el (server-eval-and-print): Return any result, even nil.
20888
20889 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20890
20891 * type-break.el: Accept time formats that the builtins accept.
20892 (timep, type-break-time-difference): Accept any format that
20893 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20894 This is simpler and helps future-proof the code.
20895 (type-break-time-difference): Round rather than ignoring
20896 subseconds components.
20897
20898 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20899
20900 * info.el (Info-apropos-matches): Make non-interactive, since it
20901 doesn't seem to do anything useful as a command (bug#8829).
20902
20903 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20904
20905 * frame.el (frame-background-mode, frame-set-background-mode):
20906 Move from faces.el.
20907 (frame-default-terminal-background): New function.
20908
20909 * custom.el (custom-push-theme): Don't record faces in `changed'
20910 theme; this doesn't work correctly for per-frame face settings.
20911 (disable-theme): Use face-set-after-frame-default to reset faces.
20912 (custom--frame-color-default): New function.
20913
20914 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20915
20916 * dired.el (dired-flagging-regexp): Remove unused variable
20917 (bug#8769).
20918
20919 2011-03-29 Kevin Ryde <user42@zip.com.au>
20920
20921 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20922 `perl-Test2' extend to match possible "fail #N" rep count
20923 (bug#8377).
20924
20925 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20926
20927 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20928 `smtpmail-via-smtp' now returns the error instead of nil.
20929
20930 * isearch.el (isearch-search-fun-function): Clarify the doc string
20931 (bug#8101).
20932
20933 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20934
20935 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20936 unnecessary spaces (bug#8987).
20937
20938 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20939
20940 * net/network-stream.el (open-network-stream): Use the
20941 :end-of-capability command thoughout.
20942
20943 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20944
20945 * net/network-stream.el (open-network-stream): Add the
20946 :end-of-capability command parameter, used by pop3.el.
20947
20948 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20949
20950 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20951
20952 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20953 for list)" (bug#6475).
20954
20955 * files.el (file-expand-wildcards): Ignore non-readable
20956 sub-directories while trying to find matches instead of signaling
20957 an error (bug#6297).
20958
20959 * man.el (Man-reference-regexp): Allow matching possible
20960 word-wrapped references (bug#6289).
20961
20962 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20963 for consistency with the other vc buffers (bug#6197).
20964 (vc-checkin): Ditto.
20965
20966 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20967
20968 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20969
20970 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20971
20972 * custom.el (defcustom): Clarify that :set is only used in the
20973 Customize user interface (bug#6089).
20974
20975 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20976 associated with a file, refuse to run instead of erroring out
20977 (bug#6084).
20978
20979 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20980 the doc string, since it appears that using `fill-column' always
20981 controls the width (bug#7845).
20982
20983 * simple.el (shell-command-on-region): Say where the error output
20984 went if `shell-command-default-error-buffer' is set (bug#6857).
20985
20986 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20987
20988 * allout.el (allout-yank-processing): Adjust cursor position for
20989 backwards-deleted space.
20990
20991 (allout-rebullet-heading): Register changes with
20992 allout-exposure-changed-hook, so the modified topic is properly
20993 decorated.
20994
20995 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20996
20997 * minibuffer.el (completion-in-region): Document PREDICATE
20998 (bug#7136).
20999
21000 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21001 of keyword/argument pairs (bug#6904).
21002
21003 * replace.el (multi-occur):
21004 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21005
21006 2011-07-02 Drew Adams <drew.adams@oracle.com>
21007
21008 * dired.el (dired-mark-if): Make the message about whether it's
21009 marking or unmarking clearer (bug#8523).
21010
21011 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21012
21013 * disp-table.el (display-table-print-array): New function.
21014 (describe-display-table): Use it to print the vectors more pretty
21015 (Bug#8859).
21016
21017 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21018
21019 * window.el (window-state-get-1): Don't assign clone numbers.
21020 Add clone-of item to list of window parameters.
21021 (window-state-put-2): Don't process clone numbers.
21022 (display-buffer-alist): Fix doc-string.
21023
21024 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21025
21026 * subr.el (remq): Don't allocate if it's not needed.
21027 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21028 (keymap--merge-bindings): New functions.
21029 (keymap-canonicalize): Use them to refine the canonicalization.
21030 * minibuffer.el (minibuffer-local-completion-map)
21031 (minibuffer-local-must-match-map): Move initialization from C.
21032 (minibuffer-local-filename-completion-map): Move initialization from C;
21033 don't inherit from anything here.
21034 (minibuffer-local-filename-must-match-map): Make obsolete.
21035 (completing-read-default): Use make-composed-keymap to combine
21036 minibuffer-local-filename-completion-map with either
21037 minibuffer-local-must-match-map or
21038 minibuffer-local-filename-completion-map.
21039
21040 2011-07-01 Glenn Morris <rgm@gnu.org>
21041
21042 * type-break.el (type-break-time-sum): Use dolist.
21043
21044 * textmodes/flyspell.el (flyspell-word-search-backward):
21045 Replace CL function.
21046
21047 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21048
21049 * mouse.el (mouse--strip-first-event): New function.
21050 (function-key-map): Use it to map fringe clicks to normal clicks
21051 by default.
21052
21053 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21054 (vc-bzr-revision-completion-table): Add support for annotate and date.
21055
21056 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21057 inherit from parent.
21058
21059 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21060
21061 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21062 (dired-show-file-type): Doc fixup (bug#8818).
21063
21064 * dired.el (dired-mode): Fix up the doc string as suggested by
21065 Drew Adams (bug#8817).
21066
21067 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21068 cookie, since the manual says that it should be possible to add
21069 this function to `find-file-hook' (bug#8709).
21070
21071 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21072
21073 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21074 here. Noted Ted Zlatanov as the maintainer.
21075 (cfengine-common-settings, cfengine-common-syntax): New functions
21076 to set up common things between `cfengine-mode' and
21077 `cfengine3-mode'.
21078 (cfengine3-mode): New mode.
21079 (cfengine3-defuns cfengine3-defuns-regex
21080 (cfengine3-class-selector-regex cfengine3-category-regex)
21081 (cfengine3-vartypes cfengine3-font-lock-keywords)
21082 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21083 (cfengine3-indent-line): Add from cfengine3.el.
21084
21085 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21086
21087 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21088
21089 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21090
21091 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21092
21093 * window.el (same-window-buffer-names, same-window-regexps)
21094 (same-window-p, special-display-frame-alist)
21095 (special-display-popup-frame, special-display-function)
21096 (special-display-buffer-names, special-display-regexps)
21097 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21098 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21099 (split-window-preferred-function, split-height-threshold)
21100 (split-width-threshold, even-window-heights)
21101 (display-buffer-mark-dedicated, window-splittable-p)
21102 (split-window-sensibly, window-safely-shrinkable-p):
21103 Un-obsolete.
21104 (display-buffer): Don't spread args with function specifier
21105 because special-display-popup-frame won't like it.
21106
21107 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21108
21109 Time-stamp simplifications and fixes.
21110 These improve accuracy slightly, and future-proof the code
21111 against some potential changes to current-time format.
21112
21113 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21114 by using time-since and float-time.
21115
21116 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21117 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21118 + NNN microseconds".
21119
21120 * type-break.el (type-break-time-sum): Rewrite using time-add.
21121
21122 * play/hanoi.el (hanoi-current-time-float): Remove.
21123 All uses replaced by float-time.
21124
21125 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21126 This yields a more-accurate answer.
21127 (rng-time-to-float): Remove; no longer needed.
21128
21129 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21130
21131 * calendar/timeclock.el (timeclock-seconds-to-time):
21132 Defalias to seconds-to-time, since they're the same thing.
21133
21134 * emacs-lisp/elp.el (elp-elapsed-time):
21135 * emacs-lisp/benchmark.el (benchmark-elapse):
21136 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21137
21138 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21139
21140 * window.el (bury-buffer): Don't iconify the only frame.
21141 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21142 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21143
21144 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21145
21146 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21147 Add mouse-yank-primary.
21148
21149 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21150
21151 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21152
21153 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21154
21155 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21156 (find-library-name): Use it to find relative load names when provided
21157 absolute file name (bug#8803).
21158
21159 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21160
21161 * textmodes/flyspell.el (flyspell-word): Consider words that
21162 differ only in case as potential doublons (bug#5687).
21163
21164 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21165 Remove two rather uninteresting debugging-like messages to make
21166 debbugs.el more silent.
21167
21168 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21169 a password-like phrase.
21170
21171 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21172
21173 * progmodes/cc-guess.el: New file.
21174
21175 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21176
21177 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21178 derived from `c-basic-common-init'.
21179
21180 * progmodes/cc-mode.el (top-level): Require cc-guess.
21181 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21182
21183 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21184
21185 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21186
21187 2011-06-30 Alan Mackenzie <acm@muc.de>
21188
21189 * progmodes/cc-engine.el (c-guess-continued-construct):
21190 Correct the handling of template-args-cont, particularly for when font
21191 lock is disabled. Name this case as "CASE G".
21192
21193 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21194
21195 * allout.el (allout-yank-processing): Fix injection of extra space
21196 between bullet and non-whitespace character in first topic when
21197 pasting, ensuring that the actual spacing in the pasted topic
21198 following the bullet char is preserved. This extra space was
21199 causing pasted encrypted topics to get a decrypted status even
21200 when the content was actually still encrypted. Now the decryption
21201 status from before the paste is preserved.
21202
21203 (allout-flag-region): Set all allout overlays so they evaporate
21204 when reduced to zero length (evanescent), to prevent overlay
21205 leakage.
21206
21207 2011-06-30 Glenn Morris <rgm@gnu.org>
21208
21209 * w32-fns.el (w32-charset-info-alist): Declare.
21210
21211 * find-dired.el (find-grep-options): Simplify.
21212
21213 * term/ns-win.el (ns-set-resource): Declare.
21214
21215 * ses.el (row, col): Declare dynamic variables honestly.
21216
21217 * textmodes/reftex-parse.el (index-tags): Declare.
21218
21219 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21220
21221 * cus-edit.el (customize-push-and-save): New function.
21222
21223 * files.el (hack-local-variables-confirm): Use it.
21224
21225 * custom.el (load-theme): New arg NO-CONFIRM.
21226 Use customize-push-and-save (Bug#8720).
21227 (custom-enabled-themes): Doc fix.
21228
21229 * cus-theme.el (customize-create-theme)
21230 (custom-theme-merge-theme): Callers to load-theme changed.
21231
21232 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21233
21234 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21235 short URLs have at least one dot in them (bug #7614).
21236
21237 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21238 nil, because using a pty is apparently too slow (bug #895).
21239
21240 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21241
21242 * mail/sendmail.el (sendmail-query-once): New function.
21243 (sendmail-query-once-function): New variable.
21244
21245 2011-06-29 Glenn Morris <rgm@gnu.org>
21246
21247 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21248
21249 * ses.el (top-level): Require cl when compiling.
21250 (ses-set-localvars): Fix error statement.
21251 Call it at compile time to silence a storm of warnings.
21252
21253 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21254
21255 * window.el (normalize-live-buffer): Rename to
21256 window-normalize-buffer.
21257 (normalize-live-frame): Rename to window-normalize-frame.
21258 (normalize-any-window): Rename to window-normalize-any-window.
21259 (normalize-live-window): Rename to window-normalize-live-window.
21260 (make-window-atom): Rename to window-make-atom.
21261 (window-resize-reset): Rename to window--resize-reset.
21262 (window-resize-reset-1): Rename to window--resize-reset-1.
21263 (resize-mini-window): Rename to window--resize-mini-window.
21264 (resize-subwindows-skip-p): Rename to
21265 window--resize-subwindows-skip-p.
21266 (resize-subwindows-normal): Rename to
21267 window--resize-subwindows-normal.
21268 (resize-subwindows): Rename to window--resize-subwindows.
21269 (resize-other-windows): Rename to window--resize-siblings.
21270 (resize-this-window): Rename to window--resize-this-window.
21271 (resize-root-window): Rename to window--resize-root-window.
21272 (resize-root-window-vertically): Rename to
21273 window--resize-root-window-vertically.
21274 (normalize-buffer-to-display): Rename to
21275 window-normalize-buffer-to-display.
21276 (normalize-buffer-to-switch-to): Rename to
21277 window-normalize-buffer-to-switch-to.
21278 Correspondingly update all callers of the functions listed
21279 above.
21280 (display-buffer-alist, display-buffer-normalize-arguments)
21281 (display-buffer-normalize-options, display-buffer)
21282 (display-buffer-alist-set): Use "function" instead of
21283 "fun-with-args".
21284
21285 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21286
21287 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21288 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21289 debbugs.gnu.org. Mention acknowledgment email.
21290
21291 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21292
21293 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21294 buffer multibyteness, since it shouldn't matter.
21295
21296 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21297
21298 * window.el (display-buffer-in-side-window): Handle dedicated
21299 windows as in display-buffer-reuse-window.
21300 (display-buffer-normalize-alist): Use value of override
21301 specifier.
21302 (display-buffer-normalize-specifiers): Use value of
21303 other-window-means-other-frame specifier.
21304 (display-buffer-alist): Rewrite some texts in widgets.
21305 (display-buffer): Spread arguments when calling function
21306 specified by fun-with-args.
21307
21308 2011-06-28 Deniz Dogan <deniz@dogan.se>
21309
21310 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21311 Unnest `let'.
21312
21313 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21314 selectors (Bug#5732).
21315 (css-proprietary-nmstart-re): Use `regexp-opt'.
21316
21317 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21318
21319 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21320 (eshell-ls-date-format): New defcustom.
21321 (eshell-ls-file): Use it.
21322
21323 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21324
21325 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21326
21327 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21328
21329 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21330 (ange-ftp-make-tmp-name): New arg.
21331 (ange-ftp-file-local-copy): Use it.
21332
21333 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21334
21335 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21336 no-conversion (Bug#8870).
21337
21338 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21339
21340 * window.el (window-right, window-left, window-child)
21341 (window-child-count, window-last-child)
21342 (window-iso-combination-p, walk-window-tree-1)
21343 (window-atom-check-1, window-tree-1, delete-window)
21344 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21345 new naming conventions - window-vchild, window-hchild,
21346 window-next and window-prev are now called window-top-child,
21347 window-left-child, window-next-sibling and window-prev-sibling
21348 respectively.
21349 (resize-window-reset): Rename to window-resize-reset.
21350 (resize-window-reset-1): Rename to window-resize-reset-1.
21351 (resize-window): Rename to window-resize.
21352 (window-min-height, window-min-width)
21353 (resize-mini-window, resize-this-window, resize-root-window)
21354 (resize-root-window-vertically, adjust-window-trailing-edge)
21355 (enlarge-window, shrink-window, maximize-window)
21356 (minimize-window, delete-window, quit-restore-window)
21357 (split-window, balance-windows, balance-windows-area-adjust)
21358 (balance-windows-area, window-state-put-2)
21359 (display-buffer-even-window-sizes, display-buffer-set-height)
21360 (display-buffer-set-width, set-window-text-height)
21361 (fit-window-to-buffer): Rename all "resize-window" prefixed
21362 calls to use the "window-resize" prefix convention.
21363 (display-buffer-alist): Fix symbol for label specifier.
21364 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21365 corresponding specifier.
21366 Reported by Juanma Barranquero <lekktu@gmail.com>.
21367
21368 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21369
21370 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21371 convention.
21372 (ses-call-printer): Does not pass an empty string to formatter when the
21373 cell is empty to keep from barking printer Calc math-format-value.
21374
21375 2011-06-27 Richard Stallman <rms@gnu.org>
21376
21377 * battery.el (battery-mode-line-limit): New variable.
21378 (battery-update): Handle it.
21379
21380 * mail/rmailmm.el (rmail-mime-process-multipart):
21381 Handle truncated messages.
21382
21383 2011-06-27 Glenn Morris <rgm@gnu.org>
21384
21385 * progmodes/flymake.el (flymake-err-line-patterns):
21386 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21387
21388 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21389
21390 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21391 (ses--clean-!, ses--clean-_): New functions.
21392 (ses-range): Add configurability of readout order, and conversion
21393 to Calc vector.
21394
21395 * ses.el (ses-repair-cell-reference-all): New function.
21396 (ses-cell-symbol): Set macro as safe, so that it can be used in
21397 formulas.
21398
21399 * ses.el: Update cycle detection algorithm.
21400 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21401 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21402 (ses-set-localvars): New function.
21403 (ses-make-cell): Add property-list as a cell element.
21404 (ses-cell-property-get-fun, ses-cell-property-get)
21405 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21406 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21407 New functions.
21408 (ses-cell-property-set, ses-cell-property-pop)
21409 (ses-cell-property-get-handle): New macro.
21410 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21411 New aliases, used for code readability.
21412 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21413 cycle detection.
21414 (ses-self-reference-early-detection): New defcustom.
21415 (ses-formula-references): Robustify against self-referring cells.
21416 (ses-mode): Use ses-set-localvars.
21417 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21418 before lauching the update processing.
21419 (ses-initialize-Dijkstra-attempt): New function.
21420 (ses-recalculate-cell): Update for cycle detection based on
21421 Dijkstra algorithm.
21422
21423 * ses.el: Fix commenting and indenting convention.
21424
21425 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21426
21427 * bs.el (bs-cycle-next): Complete last change.
21428
21429 2011-06-27 Drew Adams <drew.adams@oracle.com>
21430
21431 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21432
21433 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21434
21435 * net/network-stream.el (network-stream-open-starttls):
21436 Don't re-get capabilities unless we've reestablished connection.
21437 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21438
21439 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21440 to binary to possibly avoid line encoding issues on Windows (among
21441 other things).
21442
21443 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21444
21445 * net/network-stream.el (open-network-stream): Return an :error
21446 saying what the problem was, if possible.
21447
21448 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21449 server.
21450
21451 * net/network-stream.el (network-stream-open-starttls): If we
21452 wanted to use STARTTLS, and the server offered it, but we weren't
21453 able to because we had no STARTTLS support, then close the connection.
21454 (open-network-stream): Return an :error element, if present.
21455
21456 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21457
21458 * hl-line.el (hl-line-sticky-flag): Doc fix.
21459 (global-hl-line-sticky-flag): New option (Bug#8323).
21460 (global-hl-line-highlight): Obey it.
21461
21462 * vc/vc.el (vc-revert-show-diff): Default to t.
21463
21464 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21465
21466 * allout-widgets.el (allout-widgets-post-command-business):
21467 Stop decorating intermediate isearch matches. They're not being
21468 undecorated when an isearch is continued past, and isearch
21469 automatically collapses them. This leads to "widget leaks", where
21470 decorated items accumulate in collapsed areas. Lines with lots of
21471 hidden widgets can slow down cursor travel, substantially.
21472 Too much complicated machinery would be needed to ensure undecoration,
21473 so we're doing without this nicety.
21474
21475 (allout-widgets-tally-string): Don't try to do a hash-table-count
21476 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21477 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21478 *Messages* when allout-widgets-maintain-tally is t.
21479
21480 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21481
21482 * window.el (display-buffer-normalize-argument): Rename to
21483 display-buffer-normalize-arguments. Handle special meaning of
21484 LABEL argument. Respect special-display-function when popping up
21485 a new frame. Fix code searching for a window showing the buffer
21486 on another frame.
21487 (display-buffer-normalize-specifiers):
21488 Call display-buffer-normalize-arguments.
21489 (display-buffer-in-window): Don't undedicate the window if its
21490 buffer remains the same.
21491 Reported by Drew Adams <drew.adams@oracle.com>.
21492 (display-buffer-alist): Add choice for same-window macro
21493 specfier.
21494 (display-buffer): Mention special meaning of LABEL argument in
21495 doc-string. Fix quoting. Don't pop up a new frame even as
21496 fallback.
21497
21498 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21499
21500 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21501 avoid deleting the current window in some cases (bug#8911).
21502
21503 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21504
21505 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21506 (Bug#8934)
21507
21508 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21509
21510 * net/network-stream.el (network-stream-open-starttls):
21511 Use built-in TLS support if `gnutls-available-p' is true.
21512 (network-stream-open-tls): Ditto.
21513
21514 2011-06-26 Leo Liu <sdl.web@gmail.com>
21515
21516 * register.el (registerv): New struct.
21517 (registerv-make): New function.
21518 (jump-to-register, describe-register-1, insert-register):
21519 Support the jump-func, print-func and insert-func slot of a registerv
21520 struct. (Bug#8415)
21521
21522 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21523
21524 * vc/vc.el (vc-revert-show-diff): New defcustom.
21525 (vc-diff-internal): New arg specifying diff buffer.
21526 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21527 reuse an existing *vc-diff* buffer (Bug#8927).
21528
21529 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21530
21531 2011-06-26 Glenn Morris <rgm@gnu.org>
21532
21533 * progmodes/f90.el (f90-critical-indent): New option.
21534 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21535 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21536 (f90-mode): Doc fix.
21537 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21538 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21539 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21540 (f90-match-end): Handle block, critical.
21541
21542 2011-06-25 Glenn Morris <rgm@gnu.org>
21543
21544 * calendar/diary-lib.el (diary-included-files): Doc fix.
21545 (diary-include-files): New function, extracted from
21546 diary-include-other-diary-files and diary-mark-included-diary-files.
21547 (diary-include-other-diary-files, diary-mark-included-diary-files):
21548 Just call diary-include-files.
21549 (diary-mark-entries): Reset diary-included-files on first call.
21550
21551 * calendar/diary-lib.el (diary-mark-entries)
21552 (diary-mark-included-diary-files):
21553 Visit included diary-files in temp buffers.
21554
21555 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21556 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21557 (f90-start-block-re, f90-imenu-generic-expression)
21558 (f90-looking-at-program-block-start, f90-no-block-limit):
21559 Add support for submodules.
21560
21561 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21562 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21563
21564 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21565
21566 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21567 buffer-file-type before setting its value, to avoid disastrous
21568 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21569
21570 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21571
21572 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21573
21574 * ses.el (ses-unload-function):
21575 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21576
21577 * proced.el (proced-unload-function):
21578 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21579
21580 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21581
21582 * server.el (server-create-window-system-frame): Add parameters arg.
21583 (server-process-filter): Doc fix. Handle frame-parameters.
21584
21585 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21586
21587 Fix bug#8730, bug#8781.
21588
21589 * loadhist.el (unload--set-major-mode): New function.
21590 (unload-feature): Use it.
21591
21592 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21593 (python-unload-function): New function.
21594
21595 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21596
21597 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21598
21599 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21600
21601 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21602 the candidates list.
21603
21604 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21605
21606 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21607
21608 2011-06-23 Richard Stallman <rms@gnu.org>
21609
21610 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21611 (rmail-variables): Set next-error-move-function.
21612 (rmail-what-message): Take argument POS.
21613 (rmail-next-error-move): New function.
21614
21615 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21616
21617 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21618 messages for adjacent non-terminals.
21619
21620 2011-06-23 Richard Stallman <rms@gnu.org>
21621
21622 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21623 (rmail-show-message-1): Preserve buffer modified flag.
21624 (rmail-start-mail): Don't specify use of rmail-mail-return;
21625 that's done by mail-bury now.
21626 (rmail-mail-return): Handle arg NEWBUF.
21627
21628 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21629
21630 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21631 SIZE is a number.
21632
21633 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21634
21635 * window.el (get-lru-window, get-mru-window)
21636 (get-largest-window): Never return a minibuffer window.
21637 (display-buffer-pop-up-window): Fix a bug that could lead to
21638 reusing the minibuffer window.
21639 (display-buffer): Pass original specifier argument to
21640 display-buffer-function instead of the normalized one.
21641 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21642
21643 2011-06-22 Leo Liu <sdl.web@gmail.com>
21644
21645 * minibuffer.el (completing-read-function)
21646 (completing-read-default): Move from minibuf.c.
21647
21648 2011-06-22 Richard Stallman <rms@gnu.org>
21649
21650 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21651 to Rmail even if not started by a special Rmail command.
21652
21653 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21654 Copy the buffer currently showing just one message.
21655
21656 2011-06-22 Roland Winkler <winkler@gnu.org>
21657
21658 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21659 (bibtex-clean-entry): First delete the old key so that a
21660 customized algorithm for generating the new key does not get
21661 confused by the old key.
21662 (bibtex-url): Obey regexp of first step.
21663 (bibtex-search-entries): Do not use add-to-list with local
21664 list-var.
21665
21666 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21667
21668 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21669 stored a user name, then query for the password first, instead of
21670 waiting for SMTP to give an error message and the trying again.
21671
21672 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21673
21674 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21675 BUFFER in call-process.
21676
21677 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21678
21679 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21680 QUIT twice.
21681 (smtpmail-try-auth-methods): Require user name and password from
21682 auth-source.
21683
21684 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21685
21686 * window.el (display-buffer-default-specifiers)
21687 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21688 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21689 (split-window): Normalize SIDE argument (Bug#8916).
21690
21691 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21692 (special-display-frame-alist, special-display-popup-frame):
21693 Remove duplicate declarations. These are now in window.el.
21694
21695 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21696
21697 * mail/smtpmail.el (smtpmail-via-smtp):
21698 Set :use-starttls-if-possible so that we always use STARTTLS if the
21699 server supports it. SMTP servers that support STARTTLS commonly
21700 require it.
21701
21702 * net/network-stream.el (network-stream-open-starttls): Support
21703 upgrading to STARTTLS always, even if we don't have built-in support.
21704 (open-network-stream): Add the :always-query-capabilities keyword.
21705
21706 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21707 upgrades with `open-network-stream', and rely solely on
21708 auth-source for all credentials. Big changes throughout the file,
21709 but in particular:
21710 (smtpmail-auth-credentials): Remove.
21711 (smtpmail-starttls-credentials): Remove.
21712 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21713 MAIL FROM, too.
21714
21715 * net/network-stream.el (network-stream-open-starttls):
21716 Provide support for client certificates both for external and built-in
21717 STARTTLS.
21718 (auth-source): Require.
21719 (open-network-stream): Document the :client-certificate keyword.
21720 (network-stream-certificate): Change cert-cert to cert and
21721 cert-key to key.
21722
21723 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21724
21725 * net/tramp-cache.el (top): Don't load the persistency file when
21726 "emacs -Q" has been called.
21727
21728 2011-06-21 Tim Harper <timcharper@gmail.com>
21729
21730 * term/ns-win.el (ns-initialize-window-system):
21731 Set application-specific `ApplePressAndHoldEnabled' system
21732 resource to NO as it is not yet supported by the NS port.
21733
21734 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21735
21736 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21737 (list-dynamic-libraries): ...not here.
21738
21739 2011-06-21 Leo Liu <sdl.web@gmail.com>
21740
21741 * subr.el (sha1): Implement sha1 using secure-hash.
21742
21743 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21744
21745 * window.el (display-buffer-alist): In default value do not
21746 enforce searching a window on any but the selected frame.
21747 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21748 (display-buffer-select-window): Remove function.
21749 (display-buffer-in-window): When a window on another frame gets
21750 reused, do not select it any more but just raise its frame if
21751 necessary (Bug#8851) and (Bug#8856).
21752 (display-buffer-normalize-options): Handle pop-up-frames related
21753 options more faithfully.
21754 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21755 window if it is on another frame.
21756 (display-buffer-alist, display-buffer-default-specifiers):
21757 Don't make new frame unsplittable by default.
21758 (display-buffer-normalize-argument): Fix doc-string typo and use
21759 'same-frame-other-window instead of 'other-window when associating
21760 with display-buffer-macro-specifiers.
21761
21762 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21763
21764 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21765 New functions.
21766 (5x5-mode-map, 5x5-mode-menu): Bind them.
21767 (5x5-draw-grid): Tweak the solver's rendering.
21768
21769 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21770
21771 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21772 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21773
21774 2011-06-21 Drew Adams <drew.adams@oracle.com>
21775
21776 * menu-bar.el: Use function variable instead of switch-to-buffer.
21777 (menu-bar-select-buffer-function): New variable.
21778 (menu-bar-update-buffers): Use it (bug#8876).
21779
21780 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21781
21782 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21783 variable's status.
21784
21785 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21786
21787 * x-dnd.el (x-dnd-version-from-flags)
21788 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21789 and long as number (Bug#8899).
21790 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21791
21792 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21793
21794 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21795 (completion-try-completion, completion-all-completions): Compute the
21796 metadata argument if it's missing; make it optional (bug#8795).
21797
21798 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21799 (widget-complete): Use new :completion-function property.
21800 (widget-completions-at-point): New function.
21801 (default): Use :completion-function instead of :complete.
21802 (widget-default-completions): Rename from widget-default-complete;
21803 Rewrite.
21804 (widget-string-complete, widget-file-complete, widget-color-complete):
21805 Remove functions.
21806 (file, symbol, function, variable, coding-system, color):
21807 * international/mule-cmds.el (default-input-method, charset)
21808 (language-info-custom-alist):
21809 * cus-edit.el (face): Use new property :completions.
21810
21811 * progmodes/pascal.el (pascal-completions-at-point): New function.
21812 (pascal-mode): Use it.
21813 (pascal-mode-map): Use completion-at-point.
21814 (pascal-toggle-completions): Make obsolete.
21815 (pascal-complete-word, pascal-show-completions):
21816 * progmodes/octave-mod.el (octave-complete-symbol):
21817 Redefine as obsolete alias.
21818 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21819 Signal absence of completion info for old Octave,
21820 (inferior-octave-complete): Redefine as obsolete alias.
21821 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21822 (meta-completions-at-point): Rename from meta-complete-symbol and
21823 adapt it for use on completion-at-point-functions.
21824 (meta-common-mode): Use it.
21825 (meta-looking-at-backward, meta-match-buffer): Remove.
21826 (meta-complete-symbol): Redefine as obsolete alias.
21827 (meta-common-mode-map): Use completion-at-point.
21828 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21829 (makefile-mode-map): Use completion-at-point.
21830 (makefile-completions-at-point): Rename from makefile-complete and
21831 adapt it for use on completion-at-point-functions.
21832 (makefile-mode): Use it.
21833 (makefile-complete): Redefine as obsolete alias.
21834
21835 2011-06-20 Deniz Dogan <deniz@dogan.se>
21836
21837 * net/rcirc.el: Delete trailing whitespaces once and for all.
21838
21839 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21840
21841 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21842
21843 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21844
21845 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21846
21847 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21848
21849 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21850
21851 * window.el (display-buffer-other-window-means-other-frame):
21852 Call display-buffer-normalize-alist.
21853 (display-buffer-normalize-specifiers-1): Rename to
21854 display-buffer-normalize-argument. New argument other-frame.
21855 Rewrite.
21856 (display-buffer-normalize-specifiers-2): Rename to
21857 display-buffer-normalize-options.
21858 (display-buffer-normalize-alist-1): New function.
21859 (display-buffer-normalize-specifiers-3): Rename to
21860 display-buffer-normalize-alist.
21861 Call display-buffer-normalize-alist-1.
21862 (display-buffer-normalize-options-inhibit): New variable.
21863 (display-buffer-normalize-specifiers): Rewrite calling
21864 display-buffer-normalize-alist,
21865 display-buffer-normalize-argument, and
21866 display-buffer-normalize-options. Don't call the latter if
21867 display-buffer-normalize-options-inhibit is non-nil.
21868 (frame-auto-delete): New option.
21869 (window-deletable-p): Use frame-auto-delete.
21870 (window-list-no-nils, window-state-ignored-parameters)
21871 (window-state-get-1, window-state-get, window-state-put-list)
21872 (window-state-put-1, window-state-put-2, window-state-put):
21873 New functions.
21874 (display-buffer-normalize-options): Move special-display-p group
21875 after pop-up-frame group (Bug#8851) and (Bug#8856).
21876
21877 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21878
21879 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21880 groups (Bug#8776).
21881 (rx-submatch-n): New function.
21882 (rx): Document it.
21883
21884 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21885 (Bug#8768).
21886
21887 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21888
21889 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21890
21891 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21892 anytime existing face settings are present (Bug#8889).
21893
21894 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21895 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21896 Remove unused argument.
21897
21898 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21899
21900 * window.el (display-buffer-default-specifiers):
21901 Remove pop-up-frame. Add pop-up-window-min-height,
21902 pop-up-window-min-width, and another reuse-window specifier
21903 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21904 (display-buffer-normalize-specifiers-2):
21905 Handle split-height-threshold and split-width-threshold also when
21906 pop-up-windows is unset. Add a reuse-window specifier for the
21907 case popping up a new window fails.
21908 (special-display-popup-frame): Remove double quoting.
21909 (display-buffer-normalize-specifiers-1): Fix thinko.
21910
21911 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21912
21913 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21914 according to comint-completion-addsuffix.
21915
21916 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21917 (pcomplete-suffix-list): Mark as obsolete.
21918 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21919 pcomplete-seen in the closure.
21920 (pcomplete-comint-setup): Setup completion-at-point as well.
21921 (pcomplete--entries): New function.
21922 (pcomplete--env-regexp): New var.
21923 (pcomplete-entries): Rewrite to work with partial-completion and
21924 without relying on pcomplete-suffix-list.
21925 (pcomplete-pare-list): Remove, unused.
21926
21927 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21928
21929 * window.el (display-buffer-alist): Set pop-up-window-min-height
21930 and pop-up-window-min-width in default value. Reported by
21931 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21932 other-window-means-other-frame.
21933 (display-buffer-macro-specifiers): Comment out entry for
21934 other-window specifier.
21935 (display-buffer-other-window-means-other-frame): New function.
21936 (display-buffer-normalize-specifiers-1): New arguments
21937 buffer-name and label. Treat other-window case specially.
21938 (display-buffer-normalize-specifiers-2): Treat other-window case
21939 specially.
21940 (display-buffer-normalize-specifiers-3): New function.
21941 (display-buffer-normalize-specifiers):
21942 Call display-buffer-normalize-specifiers-3.
21943
21944 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21945
21946 * window.el (same-window-p): Fix two typos introduced when
21947 adding with-no-warnings.
21948 (display-buffer-normalize-specifiers-1): Don't check
21949 pop-up-frames for 'unset initialization.
21950 (display-buffer-normalize-specifiers-2): Major rewrite using
21951 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21952 (pop-up-frames, display-buffer-reuse-frames)
21953 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21954 Suggested by David Engster <deng@randomsample.de>.
21955 (even-window-heights): Initialize to 'unset.
21956 (display-buffer-alist-set): Handle new 'unset initializations.
21957 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21958 other window case.
21959
21960 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21961
21962 * window.el (display-buffer-normalize-specifiers-1):
21963 Respect current value of pop-up-frames for most reasonable values of
21964 second argument of display-buffer (Bug#8865).
21965 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21966 (switch-to-buffer-other-window-same-frame)
21967 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21968 Adams (Bug#8875).
21969 (display-buffer): Don't check noninteractive when calling
21970 display-buffer-pop-up-frame.
21971 (display-buffer-pop-up-frame): Never pop up a frame in
21972 noninteractive mode (Bug#8857).
21973 (enlarge-window, shrink-window): Don't report an error when the
21974 window can't be resized as requested (Bug#8862).
21975
21976 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21977
21978 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21979
21980 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21981
21982 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21983
21984 2011-06-15 Alan Mackenzie <acm@muc.de>
21985
21986 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21987 for declarators, disable knr checking to speed up for normal files.
21988 2: Refactor, replacing a sequence of nested if forms by a cond form.
21989
21990 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21991
21992 * net/network-stream.el (open-network-stream): Add the keyword
21993 :always-query-capabilities for the case where you want to force a
21994 `plain' network connection, but the protocol still requires the
21995 capabilitiy command (i.e., SMTP and EHLO).
21996
21997 * subr.el (process-live-p): Rename from `process-alive-p' for
21998 consistency with other `-live-p' functions.
21999
22000 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22001
22002 * window.el (same-window-buffer-names, same-window-regexps)
22003 (special-display-frame-alist, special-display-popup-frame)
22004 (special-display-function, special-display-buffer-names)
22005 (special-display-regexps, pop-up-frame-alist)
22006 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22007 (pop-up-windows, split-window-preferred-function)
22008 (split-height-threshold, split-width-threshold, even-window-heights)
22009 (display-buffer-mark-dedicated): Don't encourage the use of
22010 display-buffer-alist from Elisp code.
22011
22012 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22013
22014 * progmodes/python.el (python-mode): Derive from prog-mode.
22015 * progmodes/ps-mode.el (ps-mode):
22016 * progmodes/mixal-mode.el (mixal-mode):
22017 * progmodes/cfengine.el (cfengine-mode):
22018 * progmodes/ld-script.el (ld-script-mode): Likewise.
22019
22020 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22021
22022 * window.el (display-buffer-alist): Trim default value to avoid
22023 popping up a new frame (Bug#8857) or reusing an arbitrary window
22024 on another frame.
22025 (display-buffer): Do not fall back on popping up a new frame in
22026 batch mode (Bug#8857).
22027
22028 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22029
22030 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22031 (custom-theme-summary): New function.
22032 (customize-themes): Use it.
22033
22034 2011-06-13 Glenn Morris <rgm@gnu.org>
22035
22036 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22037
22038 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22039
22040 * help.el (help-window): Remove variable.
22041 (help-window-point-marker, temp-buffer-max-height)
22042 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22043 (help-print-return-message): Don't set help-window.
22044 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22045 (help-window-setup-finish): Remove.
22046 (help-window-display-message, help-window-setup)
22047 (with-help-window): Major rewrite based on new
22048 display-buffer-window variable.
22049
22050 * help-mode.el (help-mode-finish): Remove help-window related
22051 code.
22052
22053 * view.el (view-exits-all-viewing-windows): Remove reference to
22054 view-return-to-alist in doc-string.
22055 (view-return-to-alist): Make obsolete.
22056 (view-buffer): Call pop-to-buffer-same-window and remove
22057 undo-window code.
22058 (view-buffer-other-window): Call pop-to-buffer-other-window and
22059 simplify code. Ignore second argument.
22060 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22061 simplify code. Ignore second argument.
22062 (view-return-to-alist-update): Make obsolete.
22063 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22064 Rewrite using quit-restore window parameters.
22065 (view-mode-exit): Rename second argument to EXIT-ONLY.
22066 Rewrite using quit-restore-window.
22067 (View-exit, View-exit-and-edit, View-leave, View-quit)
22068 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22069 appropriate arguments.
22070 (view-end-message): Use quit-restore window parameter.
22071
22072 * window.el (display-buffer-function): Rewrite doc-string.
22073 (display-buffer-window, display-buffer-alist): New variables.
22074 (display-buffer-split-specifiers)
22075 (display-buffer-side-specifiers)
22076 (display-buffer-macro-specifiers): New constants.
22077 (display-buffer-even-window-sizes, display-buffer-set-height)
22078 (display-buffer-set-width, display-buffer-select-window)
22079 (display-buffer-in-window, display-buffer-reuse-window)
22080 (display-buffer-split-window-1, display-buffer-split-window)
22081 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22082 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22083 (display-buffer-in-side-window, normalize-buffer-to-display)
22084 (display-buffer-normalize-specifiers-1)
22085 (display-buffer-normalize-specifiers-2)
22086 (display-buffer-normalize-specifiers, display-buffer-frame):
22087 New functions.
22088 (display-buffer): Major rewrite.
22089 (display-buffer-other-window, display-buffer-other-frame)
22090 (pop-to-buffer, switch-to-buffer-other-window)
22091 (switch-to-buffer-other-frame): Rewrite.
22092 (display-buffer-same-window, display-buffer-same-frame)
22093 (display-buffer-same-frame-other-window)
22094 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22095 (pop-to-buffer-other-window)
22096 (pop-to-buffer-same-frame-other-window)
22097 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22098 (switch-to-buffer-other-window-same-frame): New functions.
22099 (same-window-p, special-display-p): Rewrite disabling warnings.
22100 Make obsolete.
22101 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22102 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22103 Make obsolete
22104 (same-window-buffer-names, same-window-regexps)
22105 (special-display-frame-alist, special-display-popup-frame)
22106 (special-display-function, special-display-buffer-names)
22107 (special-display-regexps, pop-up-frame-alist)
22108 (pop-up-frame-function, split-window-preferred-function)
22109 (split-height-threshold, split-width-threshold)
22110 (even-window-heights): Make obsolete.
22111
22112 2011-06-12 Glenn Morris <rgm@gnu.org>
22113
22114 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22115 Misc simplifications.
22116
22117 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22118
22119 * window.el (window-safely-shrinkable-p): Restore function which
22120 was inadvertently removed in change from 2011-06-11. Declare as
22121 obsolete.
22122
22123 * calendar/calendar.el (calendar-generate-window):
22124 Use window-iso-combined-p instead of combination of one-window-p and
22125 window-safely-shrinkable-p.
22126
22127 2011-06-12 Glenn Morris <rgm@gnu.org>
22128
22129 * progmodes/fortran.el (fortran-mode-syntax-table):
22130 * progmodes/f90.el (f90-mode-syntax-table):
22131 Set % to punctuation. (Bug#8820)
22132 (f90-find-tag-default): Remove, no longer needed.
22133
22134 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22135
22136 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22137
22138 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22139
22140 * image.el (image-animated-p): Return animation delay in seconds.
22141 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22142 (image-animate-timeout): Remove DELAY argument. Don't assume
22143 every subimage has the same delay; get it from image-animated-p.
22144 (image-animate): Caller changed.
22145
22146 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22147
22148 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22149 to ignored backtrace functions.
22150
22151 2011-06-11 Glenn Morris <rgm@gnu.org>
22152
22153 * calendar/appt.el (appt-disp-window-function): Doc fix.
22154 (appt-check): Handle overlapping appointments. (Bug#8337)
22155
22156 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22157
22158 * window.el (window-tree-1, window-tree): New functions, moving
22159 the latter to window.el.
22160 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22161 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22162 (bw-refresh-edges): Remove.
22163 (balance-windows-1, balance-windows-2): New functions.
22164 (balance-windows): Rewrite in terms of window tree functions,
22165 balance-windows-1 and balance-windows-2.
22166 (bw-adjust-window): Remove.
22167 (balance-windows-area-adjust): New function with functionality of
22168 bw-adjust-window but using resize-window.
22169 (set-window-text-height): Rewrite doc-string.
22170 Use normalize-live-window and resize-window.
22171 (enlarge-window-horizontally, shrink-window-horizontally):
22172 Rename argument to DELTA.
22173 (window-buffer-height): New function.
22174 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22175 Rewrite using new window resize routines.
22176 (kill-buffer-and-window, mouse-autoselect-window-select):
22177 Use ignore-errors instead of condition-case.
22178 (quit-window): Call delete-frame instead of delete-windows-on
22179 for the only buffer on frame.
22180
22181 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22182
22183 * loadup.el (top-level): Load window before files for the sake
22184 of replace-buffer-in-windows.
22185
22186 * files.el (read-buffer-to-switch)
22187 (switch-to-buffer-other-window)
22188 (switch-to-buffer-other-frame, display-buffer-other-frame):
22189 Move to window.el.
22190
22191 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22192 (previous-buffer): Move to window.el.
22193
22194 * bindings.el (unbury-buffer): Move to window.el.
22195
22196 * window.el (delete-other-windows-vertically): Move after
22197 definition of delete-other-windows.
22198 (other-window, delete-windows-on, replace-buffer-in-windows):
22199 Move here from window.c.
22200 (record-window-buffer, unrecord-window-buffer)
22201 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22202 (switch-to-next-buffer): New functions.
22203 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22204 from simple.el. Call switch-to-next-buffer.
22205 (previous-buffer): Move here from simple.el.
22206 Call switch-to-prev-buffer.
22207 (bury-buffer): Move here from buffer.c. Switch to previous
22208 buffer when window cannot be deleted.
22209 (unbury-buffer): Move here from bindings.el.
22210 (ctl-x-map): Move binding for other-window from window.c to
22211 here.
22212 (read-buffer-to-switch, switch-to-buffer-other-window)
22213 (switch-to-buffer-other-frame): Move here from files.el.
22214 (normalize-buffer-to-switch-to): New functions.
22215 (switch-to-buffer): Move here from buffer.c.
22216 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22217
22218 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22219
22220 * window.el (window-min-height, window-min-width): Move here
22221 from window.c. Add defcustoms and rewrite doc-strings.
22222 (resize-mini-window, resize-window): New functions.
22223 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22224 Move here from window.c.
22225 (maximize-window, minimize-window): New functions.
22226 (delete-window, delete-other-windows, split-window): Move here
22227 from window.c.
22228 (window-split-min-size): New function.
22229 (split-window-keep-point): Mention split-window-above-each-other
22230 instead of split-window-vertically.
22231 (split-window-above-each-other, split-window-vertically):
22232 Rename split-window-vertically to split-window-above-each-other
22233 and provide defalias for old definition.
22234 (split-window-side-by-side, split-window-horizontally):
22235 Rename split-window-horizontally to split-window-side-by-side
22236 and provide defalias for the old definition.
22237 (ctl-x-map): Move bindings for delete-window,
22238 delete-other-windows and enlarge-window here from window.c.
22239 Replace bindings for split-window-vertically and
22240 split-window-horizontally by bindings for
22241 split-window-above-each-other and split-window-side-by-side.
22242
22243 * cus-start.el (all): Remove entries for window-min-height and
22244 window-min-width. Add entries for window-splits and
22245 window-nest.
22246
22247 2011-06-09 Glenn Morris <rgm@gnu.org>
22248
22249 * calendar/appt.el (appt-mode-line): New function.
22250 (appt-check, appt-disp-window): Use it.
22251
22252 * files.el (hack-one-local-variable-eval-safep):
22253 Allow minor-modes with explicit +/-1 arguments.
22254
22255 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22256
22257 * term/xterm.el (xterm): Add defgroup.
22258 (xterm-extra-capabilities): Add defcustom to supply known xterm
22259 capabilities, skip querying them, or query them (default).
22260 (terminal-init-xterm): Use it.
22261 (terminal-init-xterm-modify-other-keys): New function to set up
22262 modifyOtherKeys support to simplify `terminal-init-xterm'.
22263
22264 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22265
22266 * window.el (resize-window-reset, resize-window-reset-1)
22267 (resize-subwindows-skip-p, resize-subwindows-normal)
22268 (resize-subwindows, resize-other-windows, resize-this-window)
22269 (resize-root-window, resize-root-window-vertically)
22270 (window-deletable-p, window-or-subwindow-p)
22271 (frame-root-window-p): New functions.
22272
22273 2011-06-09 Glenn Morris <rgm@gnu.org>
22274
22275 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22276 (ange-ftp-get-files): Use it.
22277
22278 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22279
22280 * mail/sendmail.el (mail-recover-1, mail-recover):
22281 * files.el (recover-file, recover-session):
22282 Handle dired-listing-switches not being just a single short option.
22283
22284 2011-06-09 Glenn Morris <rgm@gnu.org>
22285
22286 * calendar/appt.el (appt-display-message, appt-disp-window):
22287 Handle lists of appointments.
22288
22289 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22290
22291 * window.el (one-window-p): Move down in code.
22292 Rewrite doc-string.
22293 (window-current-scroll-bars): Rewrite doc-string.
22294 Normalize live window argument.
22295 (walk-windows, get-window-with-predicate, count-windows):
22296 Rewrite doc-string. Use window-list-1.
22297 (window-in-direction-2, window-in-direction, get-mru-window):
22298 New functions.
22299
22300 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22301
22302 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22303 Doc fix (Bug#8713).
22304
22305 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22306
22307 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22308
22309 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22310
22311 * loadhist.el (unload-feature-special-hooks):
22312 Add `comint-output-filter-functions'.
22313
22314 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22315
22316 * calendar/appt.el (appt-check): Move some initializations into the let.
22317
22318 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22319
22320 * window.el (window-height): Defalias to window-total-height.
22321 (window-width): Defalias to window-body-width.
22322
22323 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22324
22325 * image-mode.el (image-toggle-animation): New command.
22326 (image-mode-map): Bind it to RET.
22327 (image-mode): Update message.
22328 (image-toggle-display-image): Avoid a spurious cache flush.
22329 (image-transform-rotation): Doc fix.
22330 (image-transform-properties): Return quickly in the normal case.
22331 (image-animate-loop): Rename from image-animate-max-time.
22332
22333 * image.el (image-animate-max-time): Move to image-mode.el.
22334 (create-animated-image): Remove unnecessary function.
22335 (image-animate): Rename from image-animate-start. New arg.
22336 (image-animate-stop): Remove; just use image-animate-timer.
22337 (image-animate-timer): Use car-safe.
22338 (image-animate-timeout): Rename argument.
22339
22340 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22341
22342 * window.el (get-lru-window, get-largest-window): Move here from
22343 window.c. Rename first argument to ALL-FRAMES.
22344 Rephrase doc-strings.
22345 (get-buffer-window-list): Rewrite using window-list-1.
22346 Rephrase doc-string.
22347 (window-safe-min-height, window-safe-min-width): New constants.
22348 (window-size-ignore, window-min-size, window-min-size-1)
22349 (window-sizable, window-sizable-p, window-size-fixed-1)
22350 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22351 (window-max-delta-1, window-max-delta, window-resizable)
22352 (window-resizable-p, window-total-height, window-total-width)
22353 (window-body-width): New functions.
22354 (window-full-height-p, window-full-width-p): Rewrite using
22355 window-total-size.
22356 (window-body-height): Rewrite using window-body-size.
22357
22358 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22359
22360 * window.el (window-right, window-left, window-child)
22361 (window-child-count, window-last-child, window-any-p)
22362 (normalize-live-buffer, normalize-live-frame)
22363 (normalize-any-window, normalize-live-window)
22364 (window-iso-combination-p, window-iso-combined-p)
22365 (window-iso-combinations)
22366 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22367 (windows-with-parameter, window-with-parameter)
22368 (window-atom-root, make-window-atom, window-atom-check-1)
22369 (window-atom-check, window-side-check, window-check):
22370 New functions.
22371 (ignore-window-parameters, window-sides, window-sides-vertical)
22372 (window-sides-slots): New variables.
22373 (window-size-fixed): Move down in code. Minor doc-string fix.
22374
22375 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22376
22377 * comint.el (comint-dynamic-complete-as-filename)
22378 (comint-dynamic-complete-filename): Correctly call
22379 completion-in-region.
22380
22381 2011-06-05 Deniz Dogan <deniz@dogan.se>
22382
22383 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22384 in last change.
22385
22386 2011-06-05 Deniz Dogan <deniz@dogan.se>
22387
22388 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22389 (rcirc): Use it to prompt for encryption.
22390
22391 2011-06-05 Roland Winkler <winkler@gnu.org>
22392
22393 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22394 (bibtex-search-entries): New command bound to C-c C-a.
22395 (bibtex-display-entries): New function.
22396
22397 2011-06-05 Roland Winkler <winkler@gnu.org>
22398
22399 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22400 (bibtex-insert-kill): After yanking insert newline if necessary.
22401 (bibtex-initialize): Call bibtex-string-files-init only once.
22402 (bibtex-mode): Do not call easy-menu-add.
22403 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22404 (bibtex-yank): Set arg properly if nil.
22405
22406 2011-06-05 Roland Winkler <winkler@gnu.org>
22407
22408 * textmodes/bibtex.el (bibtex-search-entry-globally):
22409 New variable.
22410 (bibtex-search-entry): Use it.
22411
22412 2011-06-05 Roland Winkler <winkler@gnu.org>
22413
22414 * textmodes/bibtex.el (bibtex-entry-format): New option
22415 sort-fields.
22416 (bibtex-format-entry, bibtex-reformat): Honor this option.
22417 (bibtex-parse-entry): Return fields in proper order.
22418
22419 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22420
22421 * doc-view.el (doc-view-remove-if): Move computation of result out
22422 of `dolist' to silence misleading lexical-binding warning.
22423
22424 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22425
22426 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22427 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22428
22429 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22430
22431 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22432 "SunOS 5.10".
22433
22434 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22435
22436 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22437 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22438 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22439 (tramp-parse-putty):
22440 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22441 (tramp-completion-function-alist-ssh)
22442 (tramp-completion-function-alist-telnet)
22443 (tramp-completion-function-alist-su)
22444 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22445 cookie.
22446
22447 * net/tramp-ftp.el:
22448 * net/tramp-sh.el:
22449 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22450 load "tramp.el" `tramp-set-completion-function'.
22451
22452 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22453
22454 * shell.el: Require and use pcomplete.
22455 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22456 (shell-completion-vars): Set pcomplete-default-completion-function.
22457
22458 2011-06-04 Deniz Dogan <deniz@dogan.se>
22459
22460 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22461 `memq' (Bug#8799).
22462
22463 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22464
22465 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22466
22467 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22468
22469 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22470 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22471 * vc/log-view.el (log-view-beginning-of-defun):
22472 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22473 (smerge-refine-forward, smerge-refine-chopup-region):
22474 Silence warning for unused `dotimes' counter variables.
22475
22476 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22477
22478 * net/tramp.el (tramp-with-progress-reporter): Rename from
22479 with-progress-reporter. Use `declare'.
22480 * net/tramp-smb.el:
22481 * net/tramp-sh.el:
22482 * net/tramp-gvfs.el: Update all uses.
22483
22484 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22485
22486 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22487 buffer isn't killed before making it current.
22488
22489 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22490
22491 Silence various byte-compiler warnings.
22492 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22493 `access-type' and new obsolescence format.
22494 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22495 new format.
22496 (byte-compile-check-variable): New `access-type' argument.
22497 Only warn if the access-type is obsolete.
22498 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22499 (byte-compile-variable-set): Adjust callers.
22500 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22501 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22502 setting it as obsolete.
22503 * simple.el (minibuffer-completing-symbol):
22504 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22505 access as obsolete.
22506 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22507 obsolete yet.
22508 * international/quail.el (quail-mouse-choose-completion): Remove unused
22509 code referring to obsolete var.
22510 (quail-choose-completion-string): Remove.
22511 * server.el (server-clients-with, server-kill-buffer-query-function)
22512 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22513 * proced.el (proced-send-signal):
22514 * emacs-lisp/lisp.el (lisp-complete-symbol):
22515 Replace completion-annotate-function with completion-extra-properties.
22516
22517 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22518
22519 * simple.el (goto-line): Use read-number.
22520 (overriding-map-is-bound): Remove.
22521 (saved-overriding-map): Change default.
22522 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22523 Take the map as argument.
22524 (universal-argument, negative-argument, digit-argument): Use it.
22525 (restore-overriding-map): Adjust.
22526 (do-auto-fill): Use fill-forward-paragraph.
22527 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22528
22529 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22530 (minibuffer-inactive-mode): New major mode.
22531 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22532 the *Messages* buffer" hack.
22533 (mouse-popup-menubar): Don't burp if the event is a normal key.
22534
22535 Miscellaneous tweaks.
22536 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22537 lexical scoping as in subr.el's dolist and dotimes.
22538 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22539 Silence compiler warning.
22540 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22541 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22542 * international/ccl.el (ccl-compile): Trivial simplification.
22543 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22544 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22545 `printflag' argument.
22546 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22547 Purecopy the whole obsolescence data.
22548
22549 2011-06-01 Leo Liu <sdl.web@gmail.com>
22550
22551 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22552 improve doc-string as suggested by Marco Pessotto
22553 <melmothx@gmail.com>.
22554 (rcirc-print): Fix last change.
22555
22556 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22557
22558 * minibuffer.el (complete-with-action): Return nil for the metadata and
22559 boundaries of non-functional tables.
22560 (completion-table-dynamic): Return nil for the metadata.
22561 (completion-table-with-terminator): Add default case, using
22562 complete-with-action.
22563 (completion--metadata): New function.
22564 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22565 to try and avoid pathological performance problems.
22566 (completion--embedded-envvar-table): Return `category' metadata.
22567
22568 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22569
22570 * subr.el (process-alive-p): New tiny convenience function.
22571
22572 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22573
22574 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22575 content but also its previous major mode.
22576
22577 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22578
22579 * emacs-lisp/debug.el (debug): Restore the previous content of the
22580 *Backtrace* buffer when we exit with C-M-c.
22581
22582 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22583
22584 * minibuffer.el: Add metadata method to completion tables.
22585 (completion-category-overrides): New defcustom.
22586 (completion-metadata, completion--field-metadata)
22587 (completion-metadata-get, completion--styles)
22588 (completion--cycle-threshold): New functions.
22589 (completion-try-completion, completion-all-completions):
22590 Add `metadata' argument to choose completion-styles.
22591 (completion--do-completion): Use metadata to choose cycling.
22592 (completion-all-sorted-completions): Use metadata for sorting.
22593 Remove :completion-cycle-penalty which is not needed any more.
22594 (completion--try-word-completion): Add `metadata' argument.
22595 (minibuffer-completion-help): Check metadata for annotation function
22596 and sorting.
22597 (completion-file-name-table): Return `category' metadata.
22598 (minibuffer-completing-file-name): Make obsolete.
22599 * simple.el (minibuffer-completing-symbol): Make obsolete.
22600 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22601 completion-try-completion.
22602
22603 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22604
22605 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22606
22607 2011-05-30 Leo Liu <sdl.web@gmail.com>
22608
22609 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22610 (rcirc-print): Decode all incoming messages (bug#8744).
22611 (rcirc-decode-coding-system): Allow value nil for automatic coding
22612 system detection.
22613
22614 2011-06-01 Glenn Morris <rgm@gnu.org>
22615
22616 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22617
22618 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22619
22620 * image.el (image-animate-max-time): Allow nil and t values.
22621 Default to nil.
22622 (create-animated-image): Doc fix.
22623 (image-animate-start): Remove second arg; just use
22624 image-animate-max-time.
22625 (image-animate-timeout): Doc fix. Args changed.
22626
22627 * image-mode.el (image-toggle-display-image): Ensure that the
22628 image spec passed to the animate timer is the same object as in
22629 the buffer's display property (Bug#6981).
22630 (image-transform-properties): Doc fix.
22631
22632 * image.el (image-animate-max-time): Default to nil.
22633
22634 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22635
22636 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22637 entire buffer list (Bug#8184).
22638
22639 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22640
22641 * image.el (imagemagick-types-inhibit)
22642 (imagemagick-register-types): Doc fix.
22643
22644 2011-05-29 Deniz Dogan <deniz@dogan.se>
22645
22646 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22647 default.
22648
22649 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22650
22651 * select.el: Don't perform clipboard-manager saving in hooks;
22652 leave the hooks empty.
22653
22654 2011-05-28 Leo Liu <sdl.web@gmail.com>
22655
22656 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22657 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22658 (occur-edit-mode): New major mode (Bug#8463).
22659 (occur-after-change-function): New function.
22660 (occur-engine): Give Occur tags a read-only property.
22661
22662 2011-05-28 Kevin Ryde <user42@zip.com.au>
22663
22664 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22665
22666 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22667
22668 * bindings.el (help-echo): Make the initial non-indicator dash
22669 empty on graphical terminals (Bug#7295).
22670
22671 * files.el (auto-mode-alist): Move config rule after the
22672 in-stripping one (Bug#8547).
22673
22674 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22675
22676 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22677 setting (Bug#8740).
22678
22679 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22680
22681 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22682 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22683 (Bug#8539).
22684
22685 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22686
22687 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22688
22689 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22690
22691 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22692 (hs-hide-block-at-point, hs-find-block-beginning)
22693 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22694 (Bug#8279).
22695
22696 2011-05-28 Glenn Morris <rgm@gnu.org>
22697
22698 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22699
22700 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22701
22702 * help-fns.el (describe-function-1): If the function is a derived
22703 major mode, print the parent mode.
22704
22705 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22706 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22707
22708 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22709
22710 * minibuffer.el (completion--capf-wrapper): Check applicability before
22711 returning non-nil for non-exclusive completion data.
22712 * progmodes/etags.el (tags-completion-at-point-function):
22713 * info-look.el (info-lookup-completions-at-point): Mark as
22714 non-exclusive.
22715 (info-complete): Adjust accordingly.
22716
22717 * info-look.el: Convert to lexical-binding and completion-at-point.
22718 (info-lookup-completions-at-point): New function.
22719 (info-complete): Use it and completion-in-region.
22720
22721 2011-05-28 Drew Adams <drew.adams@oracle.com>
22722
22723 * isearch.el: Let M-e start with point at the first mismatched char.
22724 (isearch-fail-pos): New function.
22725 (isearch-edit-string): Use it.
22726
22727 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22728
22729 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22730
22731 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22732
22733 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22734 traversal functions for avl-trees.
22735 (avl-tree--stack): New struct.
22736 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22737 (avl-tree-enter): Add optional `updatefun' arg.
22738 (avl-tree--do-enter): Add optional `updatefun' arg.
22739 Change return value.
22740 (avl-tree-delete): Add optional `test' and `nilflag' args.
22741 (avl-tree--do-delete): Add `test' and `nilflag' args.
22742 Change return value.
22743 (avl-tree-member): Add optional `nilflag'
22744 (avl-tree-member-p): New function.
22745 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22746 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22747 (avl-tree-stack-empty-p): New functions.
22748
22749 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22750 avl-tree--del-balance1 and make it work both ways.
22751 (avl-tree--del-balance2): Remove.
22752 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22753 make it work both ways.
22754 (avl-tree--enter-balance2): Remove.
22755 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22756 New macros.
22757 (avl-tree--mapc, avl-tree-map): Add direction argument.
22758
22759 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22760
22761 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22762
22763 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22764
22765 * select.el: Support clipboard managers with built-in function
22766 x-clipboard-manager-save, via delete-frame-functions and
22767 kill-emacs-hook.
22768 (xselect-convert-to-targets): Add MULTIPLE target to list.
22769 (xselect-convert-to-save-targets): New function.
22770
22771 2011-05-27 Kenichi Handa <handa@m17n.org>
22772
22773 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22774 let-binding rfc2047-encode-encoded-words to nil.
22775
22776 2011-05-27 Glenn Morris <rgm@gnu.org>
22777
22778 * mail/emacsbug.el: Don't require url-util.
22779
22780 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22781
22782 * files.el (set-auto-mode):
22783 Also respect mode: entries at the end of the file. (Bug#8586)
22784
22785 2011-05-26 Glenn Morris <rgm@gnu.org>
22786
22787 * files.el (hack-local-variables-prop-line, hack-local-variables):
22788 Downcase mode names, as seems to be traditional.
22789 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22790
22791 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22792 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22793
22794 2011-05-25 Julien Danjou <julien@danjou.info>
22795
22796 * textmodes/rst.el (rst-define-level-faces): Do not define face
22797 symbol if it is already defined.
22798
22799 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22800
22801 * play/5x5.el (5x5-new-game, 5x5-randomize):
22802 Reset 5x5-solver-output to nil when a new grid is cast.
22803 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22804 these debugging traces, as defmacro breaks the compiled code.
22805
22806 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22807
22808 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22809
22810 2011-05-24 Leo Liu <sdl.web@gmail.com>
22811
22812 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22813 (vc-bzr-sha1): Adapt.
22814
22815 * sha1.el: Remove. Function `sha1' is now builtin.
22816
22817 * bindings.el: Provide sha1 feature.
22818
22819 2011-05-24 Kenichi Handa <handa@m17n.org>
22820
22821 * mail/sendmail.el: Require `rfc2047'.
22822 (mail-insert-from-field): Do not perform RFC2047 encoding.
22823 (mail-encode-header): New function.
22824 (sendmail-send-it): Set buffer-file-coding-system of the work
22825 buffer to the return value of select-message-coding-system.
22826 Call mail-encode-header.
22827
22828 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22829
22830 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22831
22832 * mail/supercite.el (sc-default-cite-frame):
22833 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22834
22835 2011-05-24 Glenn Morris <rgm@gnu.org>
22836
22837 * progmodes/python.el (brm-menu): Declare.
22838
22839 * emulation/viper.el (viper-set-hooks): Declare.
22840
22841 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22842 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22843 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22844 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22845 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22846 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22847
22848 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22849
22850 Add an :exit-function for completion-at-point.
22851
22852 * minibuffer.el (completion--done): New fun.
22853 (completion--do-completion): Use it. New arg `expect-exact'.
22854 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22855 since completion--do-completion does it for us now.
22856 (minibuffer-force-complete): Use completion--done and
22857 completion--replace. Handle sole-completion case with more care.
22858 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22859 (completion-extra-properties): New var.
22860 (completion-annotate-function): Make obsolete.
22861 (minibuffer-completion-help): Adjust accordingly.
22862 Use completion-list-insert-choice-function.
22863 (completion-at-point, completion-help-at-point):
22864 Bind completion-extra-properties.
22865 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22866 * simple.el (completion-list-insert-choice-function): New var.
22867 (completion-setup-function): Preserve it.
22868 (choose-completion): Pay attention to it, shuffle the code a bit.
22869 (choose-completion-string): New arg `insert-function'.
22870
22871 * textmodes/bibtex.el: Convert to lexical binding.
22872 (bibtex-mode-map): Use completion-at-point.
22873 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22874 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22875 (bibtex-complete): Define as obsolete alias.
22876 (bibtex-complete-internal): Remove.
22877 (bibtex-format-entry): Remove unused sub-group in regexp.
22878 * shell.el (shell--command-completion-data)
22879 (shell-environment-variable-completion):
22880 * pcomplete.el (pcomplete-completions-at-point):
22881 * comint.el (comint--complete-file-name-data): Use :exit-function
22882 instead of completion-table-with-terminator so it also works for
22883 choose-completion.
22884
22885 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22886
22887 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22888
22889 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22890 (bug#8710).
22891
22892 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22893
22894 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22895
22896 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22897 customization variable and implement: If non-nil, auto-fill will
22898 be inhibited while on topic's header line.
22899
22900 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22901
22902 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22903 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22904 always have a solution in grid size = 5 cases.
22905 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22906 (5x5-solver-output, 5x5-log-buffer): New vars.
22907 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22908 Make these variables buffer local to achieve 5x5 multi-session-ness.
22909 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22910 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22911 (5x5-solve-suggest): New funs.
22912 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22913 randomize a grid so that we ensure that there is always a solution.
22914 (5x5-make-random-grid): Allow other movement than flipping.
22915
22916 2011-05-23 Kevin Ryde <user42@zip.com.au>
22917
22918 * emacs-lisp/advice.el (ad-read-advised-function):
22919 Use `function-called-at-point' as the default, if it has
22920 advice and passes PREDICATE.
22921
22922 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22923
22924 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22925 byte-compile-lambda if it's actually a lambda.
22926
22927 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22928 Fix function quoting. Use backquote better.
22929
22930 2011-05-22 Yuanle Song <sylecn@gmail.com>
22931
22932 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22933 matching (Bug#8516).
22934
22935 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22936
22937 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22938 different face (Bug#8178).
22939
22940 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22941
22942 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22943 defface (Bug#8144).
22944
22945 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22946
22947 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22948 funcall as well (bug#8712). Warn when performing those conversions.
22949 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22950
22951 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22952
22953 2011-05-22 Glenn Morris <rgm@gnu.org>
22954
22955 * files.el (hack-local-variables-prop-line): Small simplifications.
22956 (hack-local-variables, hack-local-variables-prop-line):
22957 If MODE-ONLY, return the mode, rather than just `t'.
22958
22959 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22960
22961 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22962
22963 2011-05-21 Glenn Morris <rgm@gnu.org>
22964
22965 * files.el (hack-local-variables-prop-line, hack-local-variables):
22966 If only interested in the mode, don't bother doing the other stuff.
22967
22968 * image-mode.el (image-after-revert-hook):
22969 Redraw all frames on which the image is visible. (Bug#8567)
22970
22971 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22972
22973 * wid-edit.el (widget-checklist-match-inline):
22974 Fix 2011-04-19 change. (Bug#8649)
22975
22976 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22977
22978 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22979 Also allow singlespace after single-letter capitals followed by a dot.
22980
22981 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22982 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22983
22984 2011-05-20 Nix <nix@esperi.org.uk>
22985
22986 * files.el (basic-save-buffer-2):
22987 Fix handling of break-hardlink-on-save with non-existent files.
22988
22989 2011-05-19 Deniz Dogan <deniz@dogan.se>
22990
22991 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22992 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22993
22994 2011-05-19 Glenn Morris <rgm@gnu.org>
22995
22996 * progmodes/f90.el (f90-type-def-re):
22997 Handle "type, bind(c)". (Bug#8691)
22998
22999 * emacs-lisp/autoload.el (batch-update-autoloads):
23000 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23001
23002 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23003
23004 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23005 property for the correct connection in case of multihops.
23006
23007 2011-05-18 Glenn Morris <rgm@gnu.org>
23008
23009 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23010 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23011
23012 Rationalize calendar handling of day and month abbrev-arrays.
23013 * calendar/calendar.el (calendar-customized-p): New function.
23014 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23015 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23016 Add :set function.
23017 (calendar-abbrev-length, calendar-day-abbrev-array)
23018 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23019 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23020 Elements may no longer be nil.
23021 (calendar-day-name, calendar-month-name):
23022 Update for changed nature of abbrev arrays.
23023 * calendar/diary-lib.el (diary-name-pattern):
23024 Update for changed nature of abbrev arrays.
23025 (diary-mark-entries-1): Update calendar-make-alist calls.
23026 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23027 * calendar/cal-html.el (cal-html-day-abbrev-array):
23028 Simply inherit from calendar-day-abbrev-array.
23029
23030 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23031
23032 * progmodes/grep.el (grep-mode): Disable default
23033 compilation-directory-matcher setting (bug#8684).
23034
23035 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23036
23037 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23038 instead of "head" and "tail". There were problems with SunOS 5.9,
23039 and it performs better.
23040
23041 2011-05-17 Glenn Morris <rgm@gnu.org>
23042
23043 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23044
23045 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23046 Replace obsolete function.
23047
23048 * shell.el (pcomplete-parse-arguments-function): Declare.
23049
23050 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23051 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23052 (appt-check): Doc fixes.
23053 (appt-disp-window-function, appt-delete-window-function):
23054 Remove needless special case in custom :type.
23055 (appt-display-count): Default to 0, not nil.
23056 (appt-check): Reset appt-display-count to 0, not nil.
23057
23058 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23059
23060 * progmodes/python.el (python-font-lock-keywords):
23061 Add the Python 3.X keyword "nonlocal" (bug#8639).
23062
23063 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23064
23065 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23066
23067 2011-05-16 Kevin Ryde <user42@zip.com.au>
23068
23069 * info-look.el (makefile-automake-mode): New setups, looking in
23070 automake manual, then makefile-mode.
23071 (makefile-mode): Remove automake manual, have it just in
23072 makefile-automake-mode since there's various things different or
23073 not relevant to plain make.
23074 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23075 believe a hypothetical automake-mode would go to makefile-mode,
23076 not the other way around.
23077
23078 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23079
23080 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23081 hunk-end tags (Bug#8672).
23082
23083 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23084 vc-annotate-show-diff-revision-at-line (Bug#8671).
23085
23086 2011-05-14 Glenn Morris <rgm@gnu.org>
23087
23088 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23089 in the middle of an existing one with multiple authors. (Bug#8645)
23090 (change-log-font-lock-keywords): Also handle multiple author lines
23091 with leading tabs. (Bug#8644)
23092
23093 * calendar/appt.el (appt-check): Rename some local variables.
23094 Some simplification/reordering.
23095
23096 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23097 (feedmail-sendmail-f-doesnt-sell-me-out)
23098 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23099 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23100 (feedmail-queue-runner-message-sender): Set :version.
23101 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23102 (bbdb-dwim-net-address, vm-mail): Declare.
23103 (feedmail-binmail-gnulinuxish-template):
23104 Rename from feedmail-binmail-linuxish-template.
23105 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23106 Use insert-buffer-substring.
23107
23108 2011-05-14 Bill Carpenter <bill@carpenter.org>
23109
23110 * mail/feedmail.el (feedmail-patch-level): Increase.
23111 (feedmail-debug): New custom group.
23112 (feedmail-confirm-outgoing-timeout)
23113 (feedmail-sendmail-f-doesnt-sell-me-out)
23114 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23115 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23116 (feedmail-sender-line, feedmail-from-line)
23117 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23118 (feedmail-spray-this-address)
23119 (feedmail-spray-address-fiddle-plex-list)
23120 (feedmail-queue-use-send-time-for-date)
23121 (feedmail-queue-use-send-time-for-message-id)
23122 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23123 (feedmail-buffer-eating-function):
23124 Doc fixes.
23125 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23126 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23127 (feedmail-message-action-scroll-down): New functions.
23128 (feedmail-queue-directory, feedmail-queue-draft-directory):
23129 Use expand-file-name.
23130 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23131 Remove C-v help entry.
23132 (feedmail-queue-buffer-file-name): New variable.
23133 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23134 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23135 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23136 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23137 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23138 (feedmail-message-action-toggle-spray)
23139 (feedmail-run-the-queue-no-prompts)
23140 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23141 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23142 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23143 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23144 (feedmail-envelope-deducer, feedmail-fiddle-from)
23145 (feedmail-fiddle-sender, feedmail-default-date-generator)
23146 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23147 (feedmail-fiddle-spray-address)
23148 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23149 (feedmail-fiddle-list-of-fiddle-plexes)
23150 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23151 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23152 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23153 Change default. Doc fix.
23154 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23155 (feedmail-binmail-linuxish-template): New constant.
23156 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23157 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23158 (feedmail-send-it): Add debug call.
23159 Use feedmail-queue-buffer-file-name, and
23160 feedmail-send-it-immediately-wrapper.
23161 (feedmail-message-action-send): Add debug call.
23162 Use feedmail-send-it-immediately-wrapper.
23163 (feedmail-queue-express-to-queue): Add debug call.
23164 Run feedmail-queue-express-hook.
23165 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23166 (feedmail-message-action-help-blat):
23167 Rename from feedmail-queue-send-edit-prompt-help-first.
23168 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23169 Check line-endings. Handle errors better.
23170 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23171 Doc fix. Add debug call.
23172 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23173 Use feedmail-queue-send-edit-prompt-inner.
23174 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23175 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23176 from feedmail-queue-send-edit-prompt.
23177 (feedmail-queue-send-edit-prompt-help)
23178 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23179 (feedmail-tidy-up-slug): Add debug call.
23180 Respect feedmail-queue-slug-suspect-regexp.
23181 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23182 (feedmail-dump-message-to-queue): Add debug call.
23183 Expand queue-directory.
23184 (feedmail-dump-message-to-queue): Change message slightly.
23185 Use feedmail-say-chatter.
23186 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23187 (feedmail-send-it-immediately-wrapper): New function.
23188 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23189 Insert empty string rather than newline. Handle full-frame case.
23190 Use catch/throw. Use feedmail-say-chatter.
23191 (feedmail-fiddle-from): Try mail-host-address.
23192 (feedmail-default-message-id-generator): Doc fix.
23193 Bind system-time-locale. Handle missing end.
23194 (feedmail-fiddle-x-mailer): Add debug call.
23195 Handle feedmail-x-mailer-line being nil.
23196 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23197 Add debug call. Use buffer-substring-no-properties.
23198 (feedmail-say-debug, feedmail-say-chatter): New functions.
23199 (feedmail-find-eoh): Give an explicit error.
23200
23201 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23202
23203 * net/newst-treeview.el (newsticker-treeview-face): Change default
23204 family from helvetica to sans.
23205 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23206 etc/images/newsticker.
23207
23208 * net/newst-reader.el (newsticker-feed-face): Change default
23209 family from helvetica to sans.
23210
23211 * net/newst-plainview.el (newsticker-new-item-face)
23212 (newsticker-old-item-face, newsticker-immortal-item-face)
23213 (newsticker-obsolete-item-face, newsticker-date-face)
23214 (newsticker-statistics-face): Change default family from
23215 helvetica to sans.
23216 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23217 etc/images/newsticker.
23218
23219 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23220 (newsticker--process-auto-mark-filter-match): Tell user about
23221 auto-marking.
23222
23223 2011-05-13 Didier Verna <didier@xemacs.org>
23224
23225 Common Lisp indentation improvements on defmethod and lambda-lists.
23226 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23227 TODO entries.
23228 (lisp-lambda-list-keyword-parameter-indentation)
23229 (lisp-lambda-list-keyword-parameter-alignment)
23230 (lisp-lambda-list-keyword-alignment): New customizable user options.
23231 (lisp-indent-defun-method): Improve docstring.
23232 (extended-loop-p): Fix comment.
23233 (lisp-indent-lambda-list-keywords-regexp): New variable.
23234 (lisp-indent-lambda-list): New function.
23235 (lisp-indent-259): Use it.
23236 (lisp-indent-defmethod): Support for more than one
23237 method qualifier and properly indent methods lambda-lists.
23238 (defgeneric): Provide a missing common-lisp-indent-function property.
23239
23240 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23241
23242 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23243 bounds for the empty string (bug#8667).
23244
23245 2011-05-13 Glenn Morris <rgm@gnu.org>
23246
23247 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23248
23249 * mail/sendmail.el (sendmail-program): Try executable-find first.
23250 (sendmail-send-it): `sendmail-program' cannot be unbound.
23251
23252 * calendar/appt.el (appt-make-list): Simplify.
23253 (appt-time-msg-list): Doc fix.
23254 (appt-check): Change mode-line message at the time of the appointment.
23255
23256 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23257
23258 * progmodes/ld-script.el (ld-script-keywords)
23259 (ld-script-builtins): Update keywords list.
23260
23261 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23262
23263 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23264
23265 * shell.el (shell-completion-vars): New function.
23266 (shell-mode):
23267 * simple.el (read-shell-command): Use it.
23268 (blink-matching-open): No need for " [...]" in minibuffer-message.
23269
23270 2011-05-12 Glenn Morris <rgm@gnu.org>
23271
23272 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23273 (appt-check): Simplify.
23274
23275 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23276
23277 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23278 literal "/dev/null".
23279
23280 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23281
23282 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23283 Fix typo.
23284
23285 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23286
23287 * progmodes/which-func.el (which-function):
23288 Use add-log-current-defun instead of add-log-current-defun-function,
23289 which might not be defined (Bug#8260).
23290
23291 2011-05-12 Glenn Morris <rgm@gnu.org>
23292
23293 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23294 Let byte-compile-initial-macro-environment always take precedence.
23295
23296 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23297
23298 * net/rcirc.el: Add support for SSL/TLS connections.
23299 (rcirc-server-alist): New field `encryption'.
23300 (rcirc): Check `encryption' settings.
23301 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23302 Merge make-local-variable into `set'.
23303 (rcirc--connection-open-p): New function.
23304 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23305 the process is not a network process (e.g. running gnutls-cli).
23306 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23307 Make rcirc-(en|de)code-coding-system local here.
23308 (rcirc-mode): Merge make-local-variable into `set'.
23309 (rcirc-parent-buffer): Make permanent buffer-local.
23310 (rcirc-multiline-minor-mode): Don't do it here.
23311 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23312 there's no server buffer.
23313
23314 2011-05-11 Glenn Morris <rgm@gnu.org>
23315
23316 * newcomment.el (comment-kill): Prefix "unused" local.
23317
23318 * term/w32console.el (get-screen-color): Declare.
23319
23320 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23321 Handle symbol elements of byte-compile-initial-macro-environment.
23322
23323 2011-05-10 Leo Liu <sdl.web@gmail.com>
23324
23325 * bookmark.el (bookmark-bmenu-mode-map):
23326 Bind bookmark-bmenu-search to `/'.
23327
23328 * mail/footnote.el: Convert to utf-8 encoding.
23329 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23330 (Footnote-unicode): New function.
23331 (footnote-style-alist): Add unicode style to the list.
23332 (footnote-style): Doc fix.
23333
23334 2011-05-10 Jim Meyering <meyering@redhat.com>
23335
23336 Fix doubled-word typos.
23337 * international/quail.el (quail-insert-kbd-layout): and and -> and
23338 * kermit.el: and and -> and
23339 * net/ldap.el (ldap-search-internal): to to -> to
23340 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23341 * progmodes/js.el (js-mode): and and -> and
23342 * textmodes/artist.el (artist-move-to-xy): at at -> at
23343 (artist-draw-region-trim-line-endings): if if -> if
23344 And Safetyc -> Safety.
23345 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23346
23347 2011-05-10 Glenn Morris <rgm@gnu.org>
23348 Stefan Monnier <monnier@iro.umontreal.ca>
23349
23350 * files.el (hack-one-local-variable-eval-safep):
23351 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23352
23353 2011-05-10 Glenn Morris <rgm@gnu.org>
23354
23355 * calendar/diary-lib.el (diary-list-entries-hook)
23356 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23357 (diary-nongregorian-marking-hook, diary-list-entries)
23358 (diary-include-other-diary-files, diary-mark-entries)
23359 (diary-mark-included-diary-files): Doc fixes.
23360
23361 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23362
23363 * misc.el: Require tabulated-list.el during compilation.
23364
23365 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23366
23367 * progmodes/compile.el (compilation-start):
23368 Run compilation-filter-hook for the async case too.
23369 (compilation-filter-hook): Doc fix.
23370
23371 2011-05-09 Deniz Dogan <deniz@dogan.se>
23372
23373 * wdired.el: Remove outdated installation comment. Fix usage
23374 comment.
23375
23376 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23377
23378 * misc.el: Implement new command `list-dynamic-libraries'.
23379 (list-dynamic-libraries--loaded-only-p): New variable.
23380 (list-dynamic-libraries--refresh): New function.
23381 (list-dynamic-libraries): New command.
23382
23383 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23384
23385 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23386 Fix the ant regexp to handle end-line and end-column info from jikes.
23387 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23388 higher priority to avoid clobbering by gnu.
23389
23390 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23391
23392 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23393 if the face has existing theme settings (Bug#8454).
23394
23395 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23396
23397 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23398 Only match variables declared via `my' or `our' (Bug#8261).
23399
23400 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23401 special file names `.' and `..' (Bug#8259).
23402
23403 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23404
23405 * progmodes/grep.el (grep-mode-font-lock-keywords):
23406 Remove buffer-changing entries.
23407 (grep-filter): New function.
23408 (grep-mode): Add it to compilation-filter-hook.
23409
23410 * progmodes/compile.el (compilation-filter-hook)
23411 (compilation-filter-start): New defvars.
23412 (compilation-filter): Call compilation-filter-hook prior to
23413 updating the process mark.
23414
23415 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23416
23417 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23418
23419 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23420
23421 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23422 mailclient-send-it even if window-system is nil. (Bug#8595)
23423
23424 * term/w32console.el (terminal-init-w32console):
23425 Call get-screen-color and use its output to set the frame
23426 background-mode. (Bug#8597)
23427
23428 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23429
23430 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23431 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23432 New functions.
23433 (defgeneric, eieio--defmethod): Use them.
23434 (eieio-defgeneric): Remove.
23435 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23436
23437 2011-05-07 Glenn Morris <rgm@gnu.org>
23438
23439 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23440 Use let rather than let*.
23441 (timeclock-find-discrep): Remove unused local.
23442
23443 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23444
23445 * calendar/appt.el (appt-time-msg-list): Doc fix.
23446
23447 2011-05-06 Noah Friedman <friedman@splode.com>
23448
23449 * apropos.el (apropos-print-doc): Only use
23450 emacs-lisp-docstring-fill-column when it is bound to an integer,
23451 per that variable's documentation.
23452
23453 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23454
23455 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23456 and warnings are not silently discarded (e.g. use -d instead of -P).
23457
23458 2011-05-06 Glenn Morris <rgm@gnu.org>
23459
23460 * calendar/appt.el (appt-message-warning-time): Doc fix.
23461 (appt-warning-time-regexp): New option.
23462 (appt-make-list): Respect appt-message-warning-time.
23463
23464 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23465 New options.
23466 (diary-add-to-list): Strip comments from the displayed string.
23467 (diary-mode): Set comment-start and comment-end.
23468
23469 * vc/diff-mode.el (smerge-refine-subst): Declare.
23470 (diff-refine-hunk): Don't require smerge-mode when compiling.
23471
23472 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23473
23474 * simple.el (list-processes): Return nil as the docstring says.
23475
23476 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23477
23478 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23479 to "".
23480 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23481 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23482 determining of binary transfer. (Bug#7383)
23483
23484 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23485
23486 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23487 Fix port computation bug. (Bug#8618)
23488
23489 2011-05-05 Glenn Morris <rgm@gnu.org>
23490
23491 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23492
23493 * simple.el (shell-dynamic-complete-functions)
23494 (comint-dynamic-complete-functions): Declare.
23495
23496 * net/network-stream.el (gnutls-negotiate):
23497 * simple.el (tabulated-list-print): Fix declarations.
23498
23499 * progmodes/gud.el (syntax-symbol, syntax-point):
23500 Remove unnecessary and incorrect declarations.
23501
23502 * emacs-lisp/check-declare.el (check-declare-scan):
23503 Handle byte-compile-initial-macro-environment in bytecomp.el.
23504
23505 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23506
23507 Fix earlier half-done eieio-defmethod change (bug#8338).
23508 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23509 Streamline and change calling convention.
23510 (defmethod): Adjust accordingly and simplify.
23511 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23512 new eieio--defmethod.
23513 (slot-boundp): Minor CSE simplification.
23514
23515 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23516
23517 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23518 (glasses-make-readable): Use glasses-separate-capital-groups.
23519
23520 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23521
23522 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23523 (warning-series): Doc fix.
23524 (display-warning): Don't try to create the buffer if we just found it.
23525
23526 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23527
23528 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23529 (autoload-find-generated-file): New function.
23530 (generate-file-autoloads): Bind generated-autoload-file to
23531 buffer-file-name.
23532 (update-file-autoloads, update-directory-autoloads):
23533 Use autoload-find-generated-file. If called interactively, prompt for
23534 output file (Bug#7989).
23535 (batch-update-autoloads): Doc fix.
23536
23537 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23538
23539 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23540
23541 2011-05-04 Glenn Morris <rgm@gnu.org>
23542
23543 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23544 function, so it follows changes in calendar-date-style.
23545 (diary-fancy-date-matcher): New function.
23546 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23547 (diary-fancy-font-lock-fontify-region-function):
23548 Use diary-fancy-date-pattern as a function.
23549
23550 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23551 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23552
23553 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23554
23555 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23556 instead of positional arguments. Allow :keylist and :crlfiles
23557 arguments.
23558 (open-gnutls-stream): Call it.
23559
23560 * net/network-stream.el (network-stream-open-starttls): Adjust to
23561 call `gnutls-negotiate' with :process and :hostname arguments.
23562
23563 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23564
23565 * minibuffer.el (completion--message): New function.
23566 (completion--do-completion, minibuffer-complete)
23567 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23568 (completion--do-completion): Don't ignore completion-auto-help when in
23569 icomplete-mode.
23570
23571 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23572 internal encoding (e.g. tibetan zero is not whitespace).
23573 (global-whitespace-mode): Prefer save-current-buffer.
23574 (whitespace-trailing-regexp): Remove useless save-match-data.
23575 (whitespace-empty-at-bob-regexp): Minor simplification.
23576
23577 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23578
23579 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23580
23581 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23582
23583 * textmodes/ispell.el (ispell-add-per-file-word-list):
23584 Use `concat' to create string for insertion.
23585
23586 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23587
23588 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23589 Avoid open-line which runs post-self-insert-hook.
23590 (bibtex-fill-entry): Remove unused `end' var.
23591
23592 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23593
23594 * textmodes/ispell.el (ispell-add-per-file-word-list):
23595 Protect against `nil' value of `comment-start' (Bug#8579).
23596
23597 2011-05-03 Leo Liu <sdl.web@gmail.com>
23598
23599 * isearch.el (isearch-yank-pop): New command.
23600 (isearch-mode-map): Bind it to `M-y'.
23601 (isearch-forward): Mention it.
23602
23603 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23604
23605 * simple.el (minibuffer-complete-shell-command): Remove.
23606 (minibuffer-local-shell-command-map): Use completion-at-point.
23607 (read-shell-command): Setup completion vars here instead.
23608 (read-expression-map): Bind TAB to symbol completion.
23609
23610 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23611 error directly rather via storing it into `results'.
23612
23613 2011-05-02 Leo Liu <sdl.web@gmail.com>
23614
23615 * vc/diff.el: Fix description.
23616
23617 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23618
23619 * server.el (server-eval-at): New function.
23620
23621 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23622
23623 * net/network-stream.el (open-network-stream): Take a :nowait
23624 parameter and pass it on to `make-network-process'.
23625 (network-stream-open-plain): Ditto.
23626
23627 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23628
23629 * faces.el (face-spec-set-match-display): Don't match toolkit
23630 options on terminal frames.
23631
23632 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23633
23634 * progmodes/pascal.el: Use lexical binding.
23635 (pascal-mode-map): Remove author preferences.
23636
23637 * pcomplete.el (pcomplete-std-complete): Don't abuse
23638 completion-at-point.
23639
23640 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23641
23642 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23643 removing code that has been dead since 1991 or so.
23644
23645 * startup.el (command-line): When warning about "_emacs", use a
23646 delayed warning to allow the user to filter it out.
23647
23648 2011-04-28 Deniz Dogan <deniz@dogan.se>
23649
23650 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23651 user has not joined.
23652
23653 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23654
23655 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23656 aren't any completions at point.
23657
23658 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23659
23660 * subr.el (display-delayed-warnings): New function.
23661 (delayed-warnings-hook): New variable.
23662
23663 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23664
23665 * minibuffer.el (completion-at-point, completion-help-at-point):
23666 Don't presume that a given completion-at-point-function will always
23667 use the same calling convention.
23668
23669 * pcomplete.el (pcomplete-completions-at-point):
23670 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23671 pcomplete-seen is non-nil.
23672 (pcomplete-comint-setup): Also recognize the new comint/shell
23673 completion functions.
23674 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23675 pcomplete-seen is non-nil.
23676
23677 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23678
23679 * calendar/icalendar.el (diary-lib): Add require statement.
23680 (icalendar--create-uid): Read out a uid from a text-property on
23681 the first character in the entry. This allows for code to add its
23682 own uid to the entry.
23683 (icalendar--convert-float-to-ical): Add export of
23684 `diary-float'-entries save for those with the optional DAY
23685 argument.
23686
23687 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23688
23689 * subr.el (shell-quote-argument): Use alternate escaping strategy
23690 when we spot a variable reference in a string.
23691
23692 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23693
23694 * cus-start.el (all): Define customization for debug-on-event.
23695
23696 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23697
23698 * subr.el (shell-quote-argument): Escape correctly under Windows.
23699
23700 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23701
23702 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23703
23704 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23705
23706 * net/tramp.el (tramp-process-actions): Add POS argument.
23707 Delete region between POS and (pos).
23708
23709 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23710 Use `nil' position in `tramp-process-actions' call.
23711 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23712
23713 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23714 position in `tramp-process-actions' call.
23715
23716 * net/trampver.el: Update release number.
23717
23718 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23719
23720 * custom.el (defcustom): Obey lexical-binding.
23721
23722 Fix octave-inf completion problems reported by Alexander Klimov.
23723 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23724 Inherit from octave-mode-syntax-table.
23725 (inferior-octave-mode): Set info-lookup-mode.
23726 (inferior-octave-completion-at-point): New function.
23727 (inferior-octave-complete): Use it and completion-in-region.
23728 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23729 comint-filename-completion.
23730 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23731 symbol elements which shouldn't be word elements.
23732 (octave-font-lock-keywords, octave-beginning-of-defun)
23733 (octave-function-header-regexp): Adjust regexps accordingly.
23734 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23735
23736 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23737
23738 * net/gnutls.el (gnutls-errorp): Declare before first use.
23739
23740 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23741
23742 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23743 verify-error, and verify-hostname-error parameters. Check whether
23744 default trustfile exists before going to use it. Add missing
23745 argument to gnutls-message-maybe call. Return value.
23746 Reported by Claudio Bley <claudio.bley@gmail.com>.
23747 (open-gnutls-stream): Add usage example.
23748
23749 * net/network-stream.el (network-stream-open-starttls): Give host
23750 parameter to `gnutls-negotiate'.
23751 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23752 * subr.el (shell-quote-argument): Escape correctly under Windows.
23753
23754 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23755
23756 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23757 Use correct match group (bug#8438).
23758
23759 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23760
23761 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23762 (package-menu--generate): New arg specifying packages to show.
23763 (package-menu-refresh, package-menu-execute, list-packages):
23764 Callers changed.
23765 (package-show-package-list): New function, replacing deleted
23766 package--list-packages (renamed because it is non-internal).
23767
23768 * finder.el (finder-list-matches): Use package-show-package-list
23769 instead of deleted package--list-packages.
23770
23771 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23772 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23773 (vc-annotate-mode-map): Bind it to RET.
23774
23775 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23776
23777 * progmodes/etags.el (next-file): Don't use set-buffer to change
23778 buffers (Bug#8478).
23779
23780 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23781
23782 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23783
23784 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23785 (apropos-accumulator): Doc fix.
23786 (apropos-function, apropos-macro, apropos-command)
23787 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23788 (apropos-plist): Add face property.
23789 (apropos-symbols-internal): Fix indentation.
23790 (apropos-print): Simplify help, and recognize apropos-multi-type.
23791 (apropos-print-doc): Use button-type-get to extract the button's
23792 face property. Fill docstring (Bug#8352).
23793
23794 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23795
23796 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23797
23798 * play/mpuz.el (mpuz-silent): Doc fix.
23799 (mpuz-mode-map): Use mapc.
23800 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23801 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23802 Fix typos in docstrings.
23803
23804 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23805 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23806
23807 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23808
23809 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23810
23811 * minibuffer.el (completion--do-completion): Avoid the "Next char
23812 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23813
23814 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23815 mouse-2 into unread-command-events, it is interpreted correctly.
23816
23817 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23818 (image-toggle-display): Doc fix.
23819
23820 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23821
23822 * textmodes/page.el (what-page): Use line-number-at-pos to
23823 calculate line number (Bug#6825).
23824
23825 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23826
23827 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23828 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23829 Pass argument NO-DEFAULT to `find-tag-interactive'.
23830
23831 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23832
23833 Lexical-binding cleanup.
23834
23835 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23836 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23837 * progmodes/ada-prj.el (ada-prj-initialize-values)
23838 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23839 (ada-prj-show-value):
23840 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23841 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23842 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23843 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23844 * progmodes/bug-reference.el (bug-reference-push-button):
23845 * progmodes/fortran.el (fortran-line-length):
23846 * progmodes/glasses.el (glasses-change):
23847 * progmodes/octave-mod.el (octave-fill-paragraph):
23848 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23849 (python-pdbtrack-grub-for-buffer, python-sentinel):
23850 * progmodes/sql.el (sql-save-connection):
23851 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23852 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23853 Mark unused parameters.
23854
23855 * progmodes/compile.el (compilation--flush-directory-cache)
23856 (compilation--flush-parse, compile-internal): Mark unused parameters.
23857 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23858 (compilation-next-error-function): Remove unused variable `timestamp'.
23859
23860 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23861 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23862
23863 * progmodes/dcl-mode.el (dcl-end-of-command):
23864 Remove unused variable `start'.
23865 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23866 (dcl-option-value-basic, dcl-option-value-offset)
23867 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23868 Mark unused parameters.
23869 (dcl-save-local-variable): Remove unused variable `val'.
23870 (mode): Declare.
23871
23872 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23873 Mark unused parameters.
23874 (delphi-ignore-changes): Move before first use.
23875 (delphi-charset-token-at): Remove unused variable `start'.
23876 (delphi-else-start): Remove unused variable `if-count'.
23877 (delphi-comment-block-start, delphi-comment-block-end):
23878 Remove unused variable `kind'.
23879 (delphi-indent-line): Remove unused variable `new-point'.
23880
23881 * progmodes/ebrowse.el (ebrowse-files-list)
23882 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23883 Mark unused parameters. Don't quote `lambda'.
23884 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23885 Don't quote `lambda'.
23886 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23887 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23888 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23889 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23890 Use `ignore-errors'.
23891 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23892 (ebrowse-view/find-file-and-search-pattern)
23893 (ebrowse-view/find-member-declaration/definition):
23894 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23895 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23896 Rename parameter PREFIX-ARG to PREFIX.
23897 (ebrowse-tags-read-name): Remove unused variables `start' and
23898 `member-info'.
23899 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23900 to `tags-file'.
23901
23902 * progmodes/etags.el (local-find-tag-hook): Declare.
23903 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23904 Mark unused parameters.
23905
23906 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23907 (executable-interpret): Mark unused parameter.
23908
23909 * progmodes/flymake.el (flymake-process-sentinel)
23910 (flymake-after-change-function)
23911 (flymake-create-temp-with-folder-structure)
23912 (flymake-get-include-dirs-dot): Mark unused parameters.
23913 (flymake-safe-delete-directory): Remove unused variable `err'.
23914
23915 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23916 (speedbar-timer-fn, speedbar-line-text)
23917 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23918 (speedbar-center-buffer-smartly): Declare functions.
23919 (gdb-find-watch-expression): Remove unused variable `array'.
23920 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23921 (gdb-starting): Mark unused parameters.
23922 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23923 (gdb-table-string): Remove unused variable `res'.
23924 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23925 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23926 (gdb-display-buffer): Remove unused variable `cur-size'.
23927
23928 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23929 allow lexical-binding compilation.
23930 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23931 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23932 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23933 Mark unused parameters.
23934 (gud-gdb-marker-filter): Remove unused variable `match'.
23935 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23936 lambda expressions and funcall them, instead of using `fset'.
23937
23938 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23939 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23940
23941 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23942 variable `header-beg'; use `let'.
23943
23944 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23945 `restart', `last-sexp' and `at-do'.
23946
23947 * progmodes/js.el (js--debug): Mark unused parameter.
23948 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23949 (js--splice-into-items): Remove unused variable `item'.
23950 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23951
23952 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23953 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23954 (makefile-complete): Remove unused variable `try'.
23955 (makefile-fill-paragraph, makefile-match-function-end):
23956 Mark unused parameters.
23957
23958 * progmodes/octave-inf.el (inferior-octave-complete):
23959 Remove unused variable `proc'.
23960 (inferior-octave-output-digest): Mark unused parameter.
23961
23962 * progmodes/perl-mode.el (perl-calculate-indent):
23963 Remove unused variable `err'.
23964
23965 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23966 (prolog-indent-line): Mark unused parameters.
23967 (prolog-indent-line): Remove unused variable `beg'.
23968
23969 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23970 (reporter-dont-compact-list): Declare.
23971
23972 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23973 Remove unused variable `char'.
23974 (sh-debug): Mark unused parameter.
23975 (sh-get-indent-info): Remove unused variable `start'.
23976 (sh-calculate-indent): Remove unused variable `var'.
23977
23978 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23979 (simula-electric-keyword): Remove unused variable `null'.
23980 (simula-search-backward, simula-search-forward): Remove unused
23981 variables `begin' and `end'.
23982
23983 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23984 Remove unused variable `pos'.
23985 (vera-electric-tab, vera-comment-uncomment-region):
23986 Mark unused parameters.
23987 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23988
23989 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23990
23991 * emacs-lisp/package.el (package--builtins, package-alist)
23992 (package-load-descriptor, package-built-in-p, package-activate)
23993 (define-package, package-installed-p)
23994 (package-compute-transaction, package-buffer-info)
23995 (package--push): Doc fix. Distinguish more clearly between
23996 version strings and version lists.
23997
23998 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23999
24000 Lexical-binding cleanup.
24001
24002 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24003 (5x5-make-mutate-best):
24004 * play/fortune.el (fortune-in-buffer):
24005 * play/gomoku.el (gomoku-init-display):
24006 * play/solitaire.el (solitaire, solitaire-do-check):
24007 * play/tetris.el (tetris-default-update-speed-function):
24008 Mark unused parameters.
24009
24010 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24011 (bubbles--shift): Remove unused variable `char-org'.
24012 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24013 (bubbles--show-images): Remove unused variable `char'.
24014
24015 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24016 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24017 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24018 (decipher-analyze-buffer): Use ?\s.
24019 (decipher-make-checkpoint): Remove unused variable `mapping'.
24020
24021 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24022
24023 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24024 Remove unused variable `result'; use `let'.
24025
24026 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24027 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24028 (gametree-children-shown-p, gametree-compute-reduced-score):
24029 Use `ignore-errors'.
24030
24031 * play/handwrite.el (ps-lpr-switches): Declare.
24032 (handwrite): Remove unused variables `pmin' and `lastp'.
24033
24034 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24035
24036 * play/landmark.el (landmark-init-display)
24037 (landmark-update-naught-weights): Mark unused parameters.
24038 (landmark-y): Remove unused variable `noise'. Simplify.
24039 (landmark-human-plays): Remove unused variable `score'.
24040
24041 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24042 (mpuz-try-proposal): Remove unused variable `game'.
24043
24044 * play/zone.el (life-patterns): Declare.
24045
24046 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24047
24048 * vc/vc.el (ediff-vc-internal): Declare function.
24049
24050 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24051
24052 * shell.el: Use lexical-binding and std completion UI.
24053 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24054 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24055 comint-preoutput-filter-functions rather than on
24056 comint-output-filter-functions.
24057 (shell-command-completion, shell--command-completion-data)
24058 (shell-filename-completion, shell-environment-variable-completion)
24059 (shell-c-a-p-replace-by-expanded-directory): New functions.
24060 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24061 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24062 (shell-dynamic-complete-environment-variable): Use them.
24063 (shell-dynamic-complete-as-environment-variable)
24064 (shell-dynamic-complete-as-command): Remove.
24065 (shell-match-partial-variable): Match past point.
24066 * comint.el: Clean up use of completion-at-point-functions.
24067 (comint-completion-at-point): New function.
24068 (comint-mode): Use it completion-at-point-functions.
24069 (comint-dynamic-complete): Make it obsolete.
24070 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24071 (comint-c-a-p-replace-by-expanded-history): New function.
24072 (comint-dynamic-complete-functions)
24073 (comint-replace-by-expanded-history): Use it.
24074 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24075 termination strings. Try harder to avoid second try-completion.
24076 (completion-in-region-mode-map): Disable bindings that don't work yet.
24077
24078 * comint.el: Use lexical-binding. Require CL.
24079 (comint-dynamic-complete-functions): Use comint-filename-completion.
24080 (comint-completion-addsuffix): Tweak custom type.
24081 (comint-filename-completion, comint--common-suffix)
24082 (comint--common-quoted-suffix, comint--table-subvert)
24083 (comint--complete-file-name-data): New functions.
24084 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24085 (comint-dynamic-list-filename-completions): Use them.
24086 (comint-dynamic-simple-complete): Make obsolete.
24087
24088 * minibuffer.el (completion-in-region-mode):
24089 Keep completion-in-region-mode--predicate global.
24090 (completion-in-region--postch):
24091 Assume completion-in-region-mode--predicate is not null.
24092
24093 * progmodes/flymake.el (flymake-start-syntax-check-process):
24094 Obey `dir'. Simplify.
24095
24096 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24097 we're in VC after all.
24098
24099 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24100
24101 * vc/vc.el (vc-diff-build-argument-list-internal)
24102 (vc-version-ediff, vc-ediff): New commands.
24103 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24104
24105 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24106
24107 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24108 add sanity check.
24109
24110 * obsolete/erc-hecomplete.el: Make obsolete.
24111 * obsolete/: Standardize obsolescence info in the header.
24112
24113 2011-04-20 Glenn Morris <rgm@gnu.org>
24114
24115 * calendar/solar.el (solar-horizontal-coordinates):
24116 Use the longitude argument rather than `calendar-longitude'.
24117 (solar-date-next-longitude): Remove unused locals.
24118
24119 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24120
24121 * whitespace.el: New version 13.2.1.
24122
24123 2011-04-20 felix <EmacsWiki> (tiny change)
24124
24125 * whitespace.el (global-whitespace-mode): Keep highlight when
24126 switching between major modes on a file.
24127
24128 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24129
24130 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24131 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24132 multi-line comments as well.
24133
24134 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24135
24136 Lexical-binding cleanup.
24137
24138 * arc-mode.el (archive-mode-revert):
24139 * cmuscheme.el (scheme-interactively-start-process):
24140 * custom.el (custom-initialize-delay):
24141 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24142 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24143 * emacs-lock.el (emacs-lock-clear-sentinel):
24144 * ezimage.el (defezimage):
24145 * follow.el (follow-avoid-tail-recenter):
24146 * fringe.el (set-fringe-mode-1):
24147 * generic-x.el (bat-generic-mode-compile):
24148 * help-mode.el (help-info-variable, help-do-xref)
24149 (help-mode-revert-buffer):
24150 * help.el (view-emacs-todo):
24151 * iswitchb.el (iswitchb-completion-help):
24152 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24153 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24154 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24155 * locate.el (locate-update):
24156 * longlines.el (longlines-encode-region)
24157 (longlines-after-change-function):
24158 * outline.el (outline-isearch-open-invisible):
24159 * ps-def.el (declare-function, charset-dimension, char-width)
24160 (encode-char):
24161 * ps-mule.el (ps-mule-plot-string):
24162 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24163 (recentf-edit-list-select, recentf-edit-list-validate)
24164 (recentf-open-files-action):
24165 * rect.el (delete-whitespace-rectangle-line)
24166 (rectangle-number-line-callback):
24167 * register.el (window-configuration-to-register)
24168 (frame-configuration-to-register):
24169 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24170 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24171 (xselect-convert-to-targets, xselect-convert-to-delete)
24172 (xselect-convert-to-filename, xselect-convert-to-charpos)
24173 (xselect-convert-to-lineno, xselect-convert-to-colno)
24174 (xselect-convert-to-os, xselect-convert-to-host)
24175 (xselect-convert-to-user, xselect-convert-to-class)
24176 (xselect-convert-to-name, xselect-convert-to-integer)
24177 (xselect-convert-to-atom, xselect-convert-to-identity):
24178 * subr.el (declare, ignore, process-kill-without-query)
24179 (text-clone-maintain):
24180 * terminal.el (te-get-char, te-tic-sentinel):
24181 * tool-bar.el (tool-bar-make-keymap):
24182 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24183 * type-break.el (type-break-mode, type-break-noninteractive-query):
24184 * view.el (View-back-to-mark):
24185 * wid-browse.el (widget-browse-action, widget-browse-widget)
24186 (widget-browse-widgets, widget-browse-sexp):
24187 * widget.el (define-widget-keywords):
24188 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24189 Mark unused parameters.
24190
24191 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24192 (align-areas): Remove unused variable `look'.
24193 (align-region): Remove unused variables `real-end' and `pos-list'.
24194
24195 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24196
24197 * bindings.el (mode-line-modified, mode-line-remote):
24198 Mark unused parameters.
24199 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24200
24201 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24202 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24203
24204 * comint.el (comint-history-isearch-pop-state)
24205 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24206 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24207 (comint-substitute-in-file-name): Doc fix.
24208
24209 * completion.el (cmpl-statistics-block): Mark unused parameter.
24210 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24211 (save-completions-to-file, load-completions-from-file):
24212 Remove unused local variable `e'.
24213
24214 * composite.el (compose-chars): Remove unused variable `len'.
24215 (lgstring-insert-glyph): Remove unused variable `g'.
24216 (compose-glyph-string): Remove unused variables `ascent',
24217 `descent', `lbearing' and `rbearing'.
24218 (compose-glyph-string-relative): Remove unused variables
24219 `lbearing', `rbearing' and `wadjust'.
24220 (compose-gstring-for-graphic): Remove unused variables `header',
24221 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24222 (compose-gstring-for-terminal): Remove unused variables `header'
24223 and `nchars'. Use `let', not `let*'.
24224
24225 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24226 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24227 (Custom-buffer-done, custom-buffer-create-internal)
24228 (custom-browse-visibility-action, custom-browse-group-tag-action)
24229 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24230 (widget-magic-mouse-down-action, custom-toggle-parent)
24231 (custom-add-parent-links, custom-toggle-hide-variable)
24232 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24233 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24234 (custom-face-menu-create, custom-variable-menu-create, get)
24235 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24236 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24237 (customize-apropos): Remove unused variable `tests'.
24238 (custom-group-value-create): Remove unused variable `hidden-p'.
24239 (sort-fold-case): Declare.
24240
24241 * cus-theme.el (custom-reset-standard-faces-list)
24242 (custom-reset-standard-variables-list): Declare.
24243 (customize-create-theme, custom-theme-revert, custom-theme-write)
24244 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24245 Mark unused parameters.
24246
24247 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24248
24249 * delim-col.el (delimit-columns-max): Move defvar before first use.
24250
24251 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24252 (describe-char): Don't quote `lambda'. Mark unused parameter.
24253
24254 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24255 (auto-insert): Declare.
24256 (desktop-restore-file-buffer): Rename desktop-* parameters;
24257 mark unused ones.
24258 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24259 (desktop-buffer): Rename desktop-* parameters.
24260
24261 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24262 (dframe-reposition-frame-xemacs, dframe-help-echo)
24263 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24264 Mark unused parameters.
24265
24266 * dired-aux.el (backup-extract-version-start, overwrite-query)
24267 (overwrite-backup-query, rename-regexp-query)
24268 (rename-non-directory-query): Declare.
24269 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24270 (dired-add-entry): Remove unused variable `orig-file-name'.
24271 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24272 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24273 `dired-copy-preserve-time' directly.
24274 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24275 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24276
24277 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24278 (dired-virtual-revert, dired-make-relative-symlink):
24279 Mark unused parameters.
24280 (manual-program): Declare.
24281 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24282 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24283 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24284
24285 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24286
24287 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24288
24289 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24290 Declare.
24291
24292 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24293
24294 * electric.el (Electric-command-loop): Rename parameter
24295 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24296
24297 * expand.el (expand-in-literal): Remove unused variable `here'.
24298
24299 * facemenu.el (facemenu-add-new-color):
24300 Remove unused variable `docstring'.
24301
24302 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24303 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24304 (face-attr-construct): Mark unused parameter. Doc fix.
24305 (read-color): Remove unused variable `hex-string'.
24306
24307 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24308 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24309 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24310 (display-buffer-other-frame): Remove unused variable `old-window'.
24311 (kill-buffer-hook): Declare.
24312 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24313 Mark unused parameters.
24314 (after-find-file): Pass 1 to `auto-save-mode', not t.
24315
24316 * files-x.el (auto-insert): Declare.
24317 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24318
24319 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24320 variable `buf'. Mark unused parameter.
24321 (find-lisp-insert-directory): Mark unused parameter.
24322
24323 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24324 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24325 (format-common-tail): Remove, unused.
24326 (format-deannotate-region): Remove unused variable `loc'.
24327 (format-annotate-region): Remove unused variable `p'.
24328 (format-annotate-single-property-change): Remove unused variables
24329 `default' and `tail'.
24330
24331 * forms.el (read-file-filter): Declare.
24332 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24333
24334 * frame.el (frame-creation-function-alist): Mark unused parameter.
24335 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24336
24337 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24338 Remove unused parameters.
24339 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24340 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24341
24342 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24343 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24344 (hfy-prepare-tag-map): Mark unused parameters.
24345 (htmlfontify-buffer): Use `called-interactively-p'.
24346
24347 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24348 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24349 (ibuffer-do-occur): Mark unused parameters.
24350 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24351 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24352
24353 * ibuffer.el: Don't quote `lambda'.
24354 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24355 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24356 Mark unused parameters.
24357
24358 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24359 (ido-completing-read): Mark unused parameters.
24360 (ido-copy-current-word): Mark unused parameters;
24361 remove unused variable `name'.
24362 (ido-sort-merged-list): Remove unused parameter `dirs'.
24363
24364 * ielm.el (ielm-input-sender): Mark unused parameter.
24365 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24366 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24367 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24368 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24369 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24370
24371 * image-dired.el (image-dired-display-thumbs): Remove unused
24372 variables `curr-file' and `count'.
24373 (image-dired-remove-tag): Remove unused variable `start'.
24374 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24375 variable `curr-file'
24376 (image-dired-rotate-original): Remove unused variable `temp-file'.
24377 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24378 Remove unused variable `file'.
24379 (image-dired-gallery-generate): Remove unused variable `curr'.
24380 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24381
24382 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24383
24384 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24385
24386 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24387
24388 * isearch.el (minibuffer-history-symbol): Declare.
24389 (isearch-edit-string): Remove unused variable `err'.
24390 (isearch-message-prefix, isearch-message-suffix):
24391 Mark unused parameters.
24392
24393 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24394
24395 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24396
24397 * makesum.el (double-column): Remove unused variable `cnt'.
24398
24399 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24400 (ido-ignore-item-temp-list): Declare.
24401
24402 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24403 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24404 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24405 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24406 `mouse-col-delta'.
24407
24408 * mouse-sel.el (mouse-extend-internal):
24409 Remove unused variable `orig-window-frame'.
24410
24411 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24412 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24413 Move declarations before first use.
24414 (pcomplete-opt): Mark unused parameters; doc fix.
24415
24416 * proced.el (proced-revert): Mark unused parameter.
24417 (proced-send-signal): Remove unused variable `err'.
24418
24419 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24420 Rename parameter PREFIX-ARG to ARG.
24421 (ps-basic-plot-string, ps-basic-plot-whitespace):
24422 Mark unused parameters.
24423
24424 * replace.el (replace-count): Define.
24425 (occur-revert-function): Mark unused parameters.
24426 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24427 (isearch-case-fold-search, isearch-string): Declare.
24428 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24429 bind `case-fold-search'. Remove unused variables `beg' and `end',
24430 and simplify.
24431 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24432 COUNT and bind `replace-count'.
24433 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24434 to COUNT.
24435
24436 * savehist.el (print-readably, print-string-length): Declare.
24437
24438 * shadowfile.el (shadow-expand-cluster-in-file-name):
24439 Remove unused variable `cluster'.
24440 (shadow-copy-file): Remove unused variable `i'.
24441 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24442 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24443 (shadow-define-literal-group, shadow-define-regexp-group)
24444 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24445
24446 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24447 (shell): Use `called-interactively-p'.
24448 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24449
24450 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24451 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24452 (delete-backward-char): Remove unused variable `ocol'.
24453 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24454 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24455 (event-apply-hyper-modifier, event-apply-shift-modifier)
24456 (event-apply-control-modifier, event-apply-meta-modifier):
24457 Mark unused parameters.
24458 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24459 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24460
24461 * speedbar.el (speedbar-ignored-directory-expressions)
24462 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24463 (speedbar-find-file, speedbar-dir-follow)
24464 (speedbar-directory-buttons-follow, speedbar-tag-find)
24465 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24466 (speedbar-buffers-line-directory, speedbar-buffer-click):
24467 Mark unused parameters.
24468 (speedbar-tag-file): Remove unused variable `mode'.
24469 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24470
24471 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24472
24473 * talk.el (talk): Remove unused variable `display'.
24474
24475 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24476 (tar-write-region-annotate): Mark unused parameter.
24477
24478 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24479 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24480 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24481 warning by another.
24482
24483 * time-stamp.el (time-stamp-string-preprocess):
24484 Remove unused variable `require-padding'.
24485
24486 * tree-widget.el (widget-glyph-enable): Declare.
24487 (tree-widget-action): Mark unused parameter.
24488
24489 * w32-fns.el (x-get-selection): Mark unused parameter.
24490 (autoload-make-program, generated-autoload-file): Declare.
24491
24492 * wdired.el (wdired-revert): Mark unused parameters.
24493 (wdired-xcase-word): Remove unused variable `err'.
24494
24495 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24496 (whitespace-help-scroll): Remove unused variable `data-help'.
24497
24498 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24499 (widget-image-insert, widget-after-change, default)
24500 (widget-default-format-handler, widget-default-notify)
24501 (widget-default-prompt-value, widget-info-link-action)
24502 (widget-url-link-action, widget-function-link-action)
24503 (widget-variable-link-action, widget-file-link-action)
24504 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24505 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24506 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24507 (widget-insert-button-action, widget-delete-button-action, visibility)
24508 (widget-documentation-link-action, widget-documentation-string-action)
24509 (widget-const-prompt-value, widget-regexp-match, symbol)
24510 (widget-coding-system-prompt-value)
24511 (widget-key-sequence-value-to-external, sexp)
24512 (widget-sexp-value-to-internal, character, vector, cons)
24513 (widget-choice-prompt-value, widget-boolean-prompt-value)
24514 (widget-color--choose-action): Mark unused parameters.
24515 (widget-item-match-inline, widget-choice-match-inline)
24516 (widget-checklist-match, widget-checklist-match-inline)
24517 (widget-group-match): Rename parameter VALUES to VALS.
24518 (widget-field-value-set): Remove unused variable `size'.
24519 (widget-color-action): Remove unused variables `value' and `start'.
24520
24521 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24522 variable `dir'. Doc fix.
24523 (windmove-find-other-window): Don't pass it.
24524
24525 * window.el (count-windows): Mark unused parameter.
24526 (bw-adjust-window): Remove unused variable `err'.
24527
24528 * woman.el (woman-file-name): Remove unused variable `default'.
24529 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24530 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24531 (global-font-lock-mode): Declare.
24532 (woman-decode-region): Mark unused parameter.
24533 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24534
24535 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24536 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24537 (x-dnd-handle-moz-url): Remove unused variable `title'.
24538 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24539
24540 * xml.el (xml-parse-tag, xml-parse-attlist):
24541 Remove unused variable `pos'.
24542
24543 2011-04-19 Glenn Morris <rgm@gnu.org>
24544
24545 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24546 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24547 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24548 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24549 * calendar/cal-html.el (cal-html-insert-minical):
24550 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24551 (calendar-mark-date-pattern):
24552 Prefix "unused" locals.
24553
24554 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24555 optional argument `style'.
24556
24557 * calendar/appt.el (appt-make-list):
24558 * calendar/cal-china.el (calendar-chinese-date-string):
24559 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24560 (diary-hebrew-yahrzeit):
24561 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24562 * calendar/calendar.el (calendar-generate-window):
24563 * calendar/time-date.el (time-to-days):
24564 Remove unused local variables.
24565
24566 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24567
24568 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24569 glyphless-char-display table.
24570 (tabulated-list-glyphless-char-display): New var.
24571
24572 2011-04-18 Sam Steingold <sds@gnu.org>
24573
24574 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24575 to acknowledgments.
24576
24577 2011-04-17 Glenn Morris <rgm@gnu.org>
24578
24579 * calendar/diary-lib.el (diary-sexp-entry):
24580 * calendar/holidays.el (holiday-sexp):
24581 Set debug-on-error rather than the removed stack-trace-on-error.
24582
24583 2011-04-16 Glenn Morris <rgm@gnu.org>
24584
24585 * progmodes/f90.el: Use lexical-binding.
24586 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24587
24588 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24589
24590 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24591 (mail-mode): Setup mailalias completion here instead.
24592 * mail/mailalias.el: Use lexical-binding.
24593 (pattern, mailalias-done): Declare dynamic.
24594 (mail-completion-at-point-function): New function, from mail-complete.
24595 (mail-complete): Use it.
24596 (mail-completion-expand): New function.
24597 (mail-get-names): Use it.
24598 (mail-directory, mail-directory-process, mail-directory-stream):
24599 Don't use `pattern' for lexically bound arg.
24600
24601 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24602
24603 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24604 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24605 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24606
24607 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24608 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24609 (byte-interactive-p): Define them again, for use when inlining
24610 old code.
24611
24612 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24613
24614 * loadup.el: Use `string-to-number', not `string-to-int'.
24615
24616 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24617
24618 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24619 gud-gdb-complete-command.
24620 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24621 (gud-gdb-completion-at-point): New function.
24622 (gud-gdb-completions): Remove.
24623
24624 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24625
24626 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24627 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24628 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24629 whether `executable-find' is bound.
24630
24631 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24632
24633 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24634
24635 * minibuffer.el (completion-in-region-mode-predicate)
24636 (completion-in-region-mode--predicate): New vars.
24637 (completion-in-region, completion-in-region--postch)
24638 (completion-in-region-mode): Use them.
24639 (completion--capf-wrapper): Also return the hook function.
24640 (completion-at-point, completion-help-at-point):
24641 Adjust and provide a predicate.
24642
24643 Preserve arg names for advice of subr and lexical functions (bug#8457).
24644 * help-fns.el (help-function-arglist): Consolidate the subr and
24645 new-byte-code cases. Add argument `preserve-names' to extract names
24646 from the docstring when needed.
24647 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24648 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24649 (ad-arglist): Use help-function-arglist's new arg.
24650 (ad-definition-type): Use cond.
24651
24652 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24653
24654 * autorevert.el (auto-revert-handler):
24655 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24656 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24657 Don't quote lambda.
24658
24659 * image-mode.el (image-transform-set-scale):
24660 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24661
24662 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24663
24664 * net/network-stream.el (network-stream-open-starttls): Only do
24665 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24666 Upgrades via gnutls-cli are too slow to be done opportunistically.
24667
24668 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24669
24670 * dframe.el (dframe-current-frame): Remove spurious quote.
24671
24672 2011-04-12 Glenn Morris <rgm@gnu.org>
24673
24674 * calendar/cal-tex.el (cal-tex-end-document):
24675 Try to automatically use latin1 input if needed.
24676
24677 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24678 Don't try to cons a mark onto an empty element.
24679
24680 2011-04-11 Leo Liu <sdl.web@gmail.com>
24681
24682 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24683 buffers.
24684 (ido-kill-buffer-at-head): Support killing virtual buffers.
24685
24686 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24687
24688 * minibuffer.el (completion-show-inline-help): New var.
24689 (completion--do-completion, minibuffer-complete)
24690 (minibuffer-force-complete, minibuffer-complete-word):
24691 Inhibit minibuffer messages if completion-show-inline-help is nil.
24692
24693 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24694 to avoid interference from inline help (Bug#5849).
24695
24696 2011-04-10 Leo Liu <sdl.web@gmail.com>
24697
24698 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24699 Fix typo.
24700
24701 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24702
24703 * image-mode.el (image-toggle-display-image): Signal an error if
24704 not in Image mode.
24705 (image-transform-mode, image-transform-resize)
24706 (image-transform-set-rotation): Doc fix.
24707 (image-transform-set-resize): Delete.
24708 (image-transform-set-scale, image-transform-fit-to-height)
24709 (image-transform-fit-to-width): Handle image-toggle-display-image
24710 and image-transform-resize directly.
24711
24712 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24713
24714 * doc-view.el (doc-view-fit-width-to-window)
24715 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24716 New functions for fitting the shown image to the Emacs window size.
24717 (doc-view-mode-map): Add bindings for the new functions.
24718
24719 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24720
24721 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24722 Fix typo in docstring.
24723
24724 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24725
24726 * files.el (file-size-human-readable): Produce one digit after
24727 decimal, like "ls -lh" does.
24728
24729 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24730 the file size representation.
24731
24732 * simple.el (list-processes): If async subprocesses are not
24733 available, error out with a clear error message.
24734
24735 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24736
24737 * help.el (help-form-show): New function, to be called from C.
24738 Put help-form output in a buffer named differently than *Help*.
24739
24740 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24741
24742 * files.el (file-size-human-readable): New function.
24743
24744 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24745 computing the representation inline. Don't require `cl'.
24746
24747 2011-04-08 Glenn Morris <rgm@gnu.org>
24748
24749 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24750
24751 * net/browse-url.el (browse-url-firefox):
24752 Test system-type, not system-configuration.
24753
24754 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24755 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24756 Use log-edit-empty-buffer-p. (Bug#7598)
24757
24758 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24759 (rlogin-mode-map): Initialize in the defvar.
24760 (rlogin): Use ignore-errors.
24761
24762 * replace.el (occur-mode-map): Some fixes for menu items.
24763
24764 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24765
24766 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24767
24768 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24769
24770 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24771 issuing unused warnings.
24772
24773 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24774 macro directly.
24775
24776 * simple.el: Lisp reimplement of list-processes. Based on an
24777 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24778 (process-menu-mode): New major mode.
24779 (list-processes--refresh, list-processes):
24780 (process-menu-visit-buffer): New functions.
24781
24782 * files.el (save-buffers-kill-emacs): Don't assume any return
24783 value of list-processes, which is undocumented anyway.
24784
24785 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24786
24787 * emacs-lisp/tabulated-list.el: New file.
24788
24789 * emacs-lisp/package.el: Use Tabulated List mode.
24790 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24791 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24792 table format using Tabulated List mode variables.
24793 (package--push): New macro, replacing package-list-maybe-add.
24794 (package-menu--generate): Use package--push. Renamed from
24795 package--generate-package-list.
24796 (package-menu-refresh, list-packages): Use it.
24797 (package-menu--print-info): Rename from package-print-package.
24798 Return insertion data instead of inserting it directly.
24799 (package-menu-describe-package, package-menu-execute):
24800 Use tabulated-list-get-id.
24801 (package-menu-mark-delete, package-menu-mark-install)
24802 (package-menu-mark-unmark, package-menu-backup-unmark)
24803 (package-menu-mark-obsolete-for-deletion):
24804 Use tabulated-list-put-tag.
24805 (package--list-packages, package-menu-revert)
24806 (package-menu-get-package, package-menu-get-version)
24807 (package-menu-sort-by-column): Functions deleted.
24808 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24809 (package-menu--status-predicate, package-menu--version-predicate)
24810 (package-menu--name-predicate)
24811 (package-menu--description-predicate): Handle arguments in the
24812 Tabulated List format.
24813 (package-list-packages-no-fetch): Call list-packages.
24814
24815 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24816
24817 * files.el (after-find-file-from-revert-buffer): Remove variable.
24818 (after-find-file): Don't bind it.
24819 (revert-buffer-in-progress-p): New variable.
24820 (revert-buffer): Bind it.
24821 Pass nil for `after-find-file-from-revert-buffer'.
24822
24823 * saveplace.el (save-place-find-file-hook): Use new variable
24824 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24825
24826 2011-04-06 Glenn Morris <rgm@gnu.org>
24827
24828 * Makefile.in (AUTOGEN_VCS): New variable.
24829 (autoloads): Use $AUTOGEN_VCS.
24830
24831 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24832 * calendar/calendar.el (calendar-mode-map):
24833 Check for toolkit scroll bars. (Bug#8305)
24834
24835 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24836
24837 * minibuffer.el (completion-in-region--postch)
24838 (completion-in-region-mode): Remove unnecessary messages.
24839
24840 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24841
24842 * font-lock.el (font-lock-refresh-defaults):
24843 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24844 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24845
24846 * info.el (Info-directory-list, Info-read-node-name-2)
24847 (Info-split-parameter-string): Doc fixes.
24848 (Info-virtual-nodes): Reflow docstring.
24849 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24850 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24851 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24852 Fix typos in docstrings.
24853 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24854 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24855 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24856 (Info-restore-desktop-buffer): Mark unused parameters.
24857 (Info-directory-find-file, Info-directory-find-node)
24858 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24859 (Info-virtual-index-find-node, Info-apropos-find-file)
24860 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24861 Mark unused parameters; fix typos in docstrings.
24862 (Info-virtual-index): Remove unused local variable `nodename'.
24863
24864 2011-04-05 Deniz Dogan <deniz@dogan.se>
24865
24866 * net/rcirc.el: Update my e-mail address.
24867 (rcirc-mode-map): Remove M-o binding.
24868
24869 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24870
24871 * startup.el (command-line): Save the cursor's theme-face
24872 directly, instead of using face-override-spec.
24873
24874 * custom.el (load-theme): Minor optimization in assigning faces.
24875
24876 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24877
24878 * help-fns.el (describe-variable): Complete all variables having
24879 documentation, including keywords.
24880 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24881
24882 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24883
24884 Convert to lexical-binding.
24885
24886 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24887 (bs--get-marked-string, bs--get-modified-string)
24888 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24889 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24890 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24891
24892 * ehelp.el (electric-help-execute-extended)
24893 (electric-help-ctrl-x-prefix):
24894 * hexl.el (hexl-revert-buffer-function):
24895 * linum.el (linum-after-change, linum-after-scroll):
24896 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24897
24898 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24899
24900 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24901
24902 * epa-dired.el:
24903 * epa-mail.el:
24904 * epa-hook.el:
24905 * epa-file.el:
24906 * epa.el:
24907 * epg.el: Use lexical binding.
24908
24909 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24910
24911 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24912
24913 * textmodes/flyspell.el (flyspell-word): Recognize default
24914 dictionary case for flyspell-mark-duplications-exceptions.
24915 Use regexp matching for languages.
24916 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24917 default dictionary (Bug#7926).
24918
24919 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24920
24921 * emacs-lisp/package.el (package--with-work-buffer):
24922 Recognize https URLs.
24923
24924 * net/network-stream.el: Move from gnus/proto-stream.el.
24925 Change prefix to network-stream throughout.
24926 (open-protocol-stream): Merge into open-network-stream, leaving
24927 open-protocol-stream as an alias. Handle nil BUFFER args.
24928
24929 * subr.el (open-network-stream): Move to net/network-stream.el.
24930
24931 2011-04-02 Glenn Morris <rgm@gnu.org>
24932
24933 * find-dired.el (find-exec-terminator): New option.
24934 (find-ls-option): Test for -ls support.
24935 (find-ls-subdir-switches): Test for -b in find-ls-option.
24936 (find-dired, find-grep-dired): Doc fixes.
24937 (find-dired): Use find-exec-terminator.
24938
24939 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24940 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24941 (find-name-arg): Remove purecopy.
24942
24943 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24944 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24945 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24946 accordingly. Don't add the null-device if not needed.
24947
24948 * files.el (save-some-buffers): Doc fix.
24949
24950 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24951
24952 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24953
24954 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24955
24956 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24957 Use `dolist' rather than `mapcar'.
24958
24959 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24960
24961 Add lexical binding.
24962
24963 * subr.el (apply-partially): Use new closures rather than CL.
24964 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24965 (dolist, dotimes): Use slightly different expansion for lexical code.
24966 (functionp): Move to C.
24967 (letrec): New macro.
24968 (with-wrapper-hook): Use it and apply-partially instead of CL.
24969 (eval-after-load): Preserve lexical-binding.
24970 (save-window-excursion, with-output-to-temp-buffer): Turn them
24971 into macros.
24972
24973 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24974
24975 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24976 than the arglist.
24977 (help-add-fundoc-usage): Don't add `Not documented'.
24978 (help-function-arglist): Handle closures, subroutines, and new
24979 byte-code-functions.
24980 (help-make-usage): Remove leading underscores.
24981 (describe-function-1): Handle closures.
24982 (describe-variable): Use special-variable-p for completion.
24983
24984 * files.el (lexical-binding): Declare safe.
24985
24986 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24987 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24988 (pcase): Add `let' pattern.
24989 Change memoization so it actually works.
24990 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24991 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24992 <let>: New case.
24993
24994 * emacs-lisp/macroexp.el: Use lexical binding.
24995 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24996 Don't convert ' to #' without checking that it's indeed quoting
24997 a lambda.
24998
24999 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25000 Use eval-sexp-add-defvars.
25001 (eval-sexp-add-defvars): New fun.
25002
25003 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25004
25005 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25006 Don't autoload.
25007 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25008 than the internal `byte-compile-lambda'.
25009 (defmethod): Don't hide code under quotes.
25010 (eieio-defmethod): New `code' argument.
25011
25012 * emacs-lisp/eieio-comp.el: Remove.
25013
25014 * emacs-lisp/edebug.el (edebug-eval-defun)
25015 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25016 (edebug-toggle): Avoid `eval'.
25017
25018 * emacs-lisp/disass.el (disassemble-internal): Handle new
25019 `closure' objects.
25020 (disassemble-1): Handle new byte codes.
25021
25022 * emacs-lisp/cl.el (pushnew): Silence warning.
25023
25024 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25025 (cl-byte-compile-throw): Remove.
25026 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25027
25028 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25029 closures.
25030
25031 * emacs-lisp/cconv.el: New file.
25032
25033 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25034 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25035 (byte-compile-initial-macro-environment):
25036 Handle declare-function here.
25037 (byte-compile--lexical-environment): New var.
25038 (byte-stack-ref, byte-stack-set, byte-discardN)
25039 (byte-discardN-preserve-tos): New lap codes.
25040 (byte-interactive-p): Don't use any more.
25041 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25042 New macros.
25043 (byte-compile-lapcode): Use them and handle new lap codes.
25044 (byte-compile-obsolete): Remove.
25045 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25046 (byte-compile-arglist-warn): Check late def of inlinable funs.
25047 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25048 since they should have been expanded by now.
25049 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25050 (byte-compile-from-buffer): Remove unused second arg.
25051 (byte-compile-preprocess): New function.
25052 (byte-compile-toplevel-file-form): New function to distinguish
25053 file-form calls from outside from file-form calls from hunk-handlers.
25054 (byte-compile-file-form): Simplify.
25055 (byte-compile-file-form-defsubst): Remove.
25056 (byte-compile-file-form-defmumble): Simplify now that
25057 byte-compile-lambda always returns a byte-code-function.
25058 (byte-compile): Preprocess.
25059 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25060 Remove, not used any more.
25061 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25062 (byte-compile-make-args-desc): New funs.
25063 (byte-compile-lambda): Handle lexical functions. Always return
25064 a byte-code-function.
25065 (byte-compile-reserved-constants): New var, to make up room for
25066 closed-over variables.
25067 (byte-compile-constants-vector): Obey it.
25068 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25069 (byte-compile-macroexpand-declare-function): New function.
25070 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25071 byte-code-functions.
25072 (byte-compile-form): Check obsolescence here.
25073 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25074 (byte-compile-variable-ref): Remove.
25075 (byte-compile-dynamic-variable-op): New fun.
25076 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25077 (byte-compile-variable-set): New funs.
25078 (byte-compile-discard): Add 2 args.
25079 (byte-compile-stack-ref, byte-compile-stack-set)
25080 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25081 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25082 macroexpand-all instead.
25083 (byte-compile-quote-form): Remove.
25084 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25085 (byte-compile-bind, byte-compile-unbind): New funs.
25086 (byte-compile-let): Handle let* and lexical binding.
25087 (byte-compile-let*): Remove.
25088 (byte-compile-catch, byte-compile-unwind-protect)
25089 (byte-compile-track-mouse, byte-compile-condition-case):
25090 Handle a new :fun-body form, used for lexical scoping.
25091 (byte-compile-save-window-excursion)
25092 (byte-compile-with-output-to-temp-buffer): Remove.
25093 (byte-compile-defun): Simplify.
25094 (byte-compile-stack-adjustment): New fun.
25095 (byte-compile-out): Use it.
25096 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25097
25098 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25099 handler any more.
25100
25101 * emacs-lisp/byte-opt.el: Use lexical binding.
25102 (byte-inline-lapcode): Remove (to bytecomp).
25103 (byte-compile-inline-expand): Pay attention to inlining to/from
25104 lexically bound code.
25105 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25106 any more.
25107 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25108 any more and don't call compiler-macros.
25109 (byte-compile-splice-in-already-compiled-code): Remove.
25110 (byte-code): Don't inline any more.
25111 (disassemble-offset): Receive `bytes' as argument rather than via
25112 dynamic scoping.
25113 (byte-compile-tag-number): Declare before first use.
25114 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25115 `return' even if make-spliceable.
25116 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25117 obsolete interactive-p.
25118 (byte-optimize-lapcode): Optimize new lap-codes.
25119 Don't trip up on new form of `byte-constant' lap code.
25120
25121 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25122
25123 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25124
25125 * custom.el (custom-initialize-default, custom-declare-variable):
25126 Use `defvar'.
25127
25128 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25129 New variables.
25130 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25131 (COMPILE_FIRST): Add macroexp and cconv.
25132 * makefile.w32-in: Mirror changes in Makefile.in.
25133
25134 * vc/cvs-status.el:
25135 * vc/diff-mode.el:
25136 * vc/log-edit.el:
25137 * vc/log-view.el:
25138 * vc/smerge-mode.el:
25139 * textmodes/bibtex-style.el:
25140 * textmodes/css-mode.el:
25141 * startup.el:
25142 * uniquify.el:
25143 * minibuffer.el:
25144 * newcomment.el:
25145 * reveal.el:
25146 * server.el:
25147 * mpc.el:
25148 * emacs-lisp/smie.el:
25149 * doc-view.el:
25150 * dired.el:
25151 * abbrev.el: Use lexical binding.
25152
25153 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25154
25155 * info.el (info-display-manual): New function.
25156
25157 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25158
25159 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25160
25161 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25162
25163 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25164 an entry for that server in rcirc-authinfo. (Bug#8385)
25165
25166 2011-03-31 Glenn Morris <rgm@gnu.org>
25167
25168 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25169
25170 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25171
25172 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25173
25174 * progmodes/python.el (python-default-interpreter)
25175 (python-python-command-args, python-jython-command-args)
25176 (python-which-shell, python-which-args, python-which-bufname)
25177 (python-file-queue, python-comint-output-filter-function)
25178 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25179 variables and functions.
25180
25181 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25182
25183 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25184 (completion-in-region-mode): New minor mode.
25185 (completion-in-region): Use it.
25186 (completion-in-region--data, completion-in-region-mode-map): New vars.
25187 (completion-in-region--postch): New function.
25188 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25189 New vars.
25190 (completion--capf-wrapper): New function.
25191 (completion-at-point): Use it to track well-behavedness of
25192 hook functions.
25193 (completion-help-at-point): New command.
25194
25195 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25196
25197 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25198 syntax class to search for whitespace on a single line
25199 (Message-ID: <4D938140.4030905@redhat.com>).
25200
25201 2011-03-30 Leo Liu <sdl.web@gmail.com>
25202
25203 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25204 New commands.
25205 (edit-abbrevs-map): Bind them here.
25206 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25207
25208 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25209
25210 * allout.el (allout-hide-by-annotation, allout-flag-region):
25211 Reduce possibility of overlay leakage by making them volatile.
25212
25213 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25214 hash is not shared between buffers. Mode initialization is
25215 responsible for giving it a useful starting value.
25216 (allout-item-span): Reduce possibility of overlay leakage by
25217 making them volatile.
25218 (allout-widgets-count-buttons-in-region): Add diagnostic function
25219 for tracking down button overlay leaks.
25220
25221 2011-03-29 Leo Liu <sdl.web@gmail.com>
25222
25223 * ido.el (ido-read-internal): Use the default history var
25224 minibuffer-history if no HISTORY is specified.
25225
25226 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25227
25228 * net/imap.el (imap-shell-open, imap-process-connection-type):
25229 Use imap-process-connection-type for 'shell' streams as well as
25230 Kerberos, SSL, other subprocesses.
25231
25232 2011-03-28 Leo Liu <sdl.web@gmail.com>
25233
25234 * abbrev.el (abbrev-table-empty-p): New function.
25235 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25236 nonempty ones. (Bug#5937)
25237
25238 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25239
25240 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25241
25242 2011-03-27 Leo Liu <sdl.web@gmail.com>
25243
25244 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25245 for foreground and background colors.
25246 (ansi-color-make-color-map): Adapt.
25247
25248 2011-03-25 Leo Liu <sdl.web@gmail.com>
25249
25250 * midnight.el (midnight-time-float): Remove. Note it calculates
25251 the microsecond component incorrectly and seconds-to-time does the
25252 same job.
25253 Remove redundant (require 'timer).
25254
25255 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25256 (ido-completions): Remove unused arguments. (Bug#8329)
25257
25258 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25259
25260 * minibuffer.el (completion--flush-all-sorted-completions):
25261 Remove itself from hook.
25262 (completion-at-point): Let the functions perform the completion
25263 immediately and return nil or t.
25264 * comint.el (comint-dynamic-complete-functions): Now identical to
25265 completion-at-point-functions.
25266 (comint-dynamic-list-input-ring): Remove unused var `index'.
25267 (comint--match-partial-filename, comint--unquote&expand-filename):
25268 New funs, split from comint-match-partial-filename.
25269 (comint-dynamic-complete): Use completion-at-point.
25270 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25271
25272 2011-03-24 Drew Adams <drew.adams@oracle.com>
25273
25274 * thingatpt.el: Support `defun'.
25275
25276 2011-03-23 Leo Liu <sdl.web@gmail.com>
25277
25278 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25279
25280 * help-mode.el (help-mode-finish): Tweak regexp.
25281
25282 2011-03-23 Glenn Morris <rgm@gnu.org>
25283
25284 * eshell/esh-opt.el (eshell-eval-using-options):
25285 Do not bind unused local variable `eshell-option-stub'.
25286
25287 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25288
25289 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25290
25291 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25292 keymap variable in `with-no-warnings' to avoid a warning when the
25293 keymap has been already `defconst'ed.
25294
25295 2011-03-22 Leo Liu <sdl.web@gmail.com>
25296
25297 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25298 encode all chars in abbrevs; otherwise use emacs-mule or
25299 utf-8-emacs. (Bug#8308)
25300
25301 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25302
25303 * simple.el (backward-delete-char-untabify):
25304 Avoid warning about using `delete-backward-char'.
25305
25306 * image.el (image-type-file-name-regexps): Make it variable.
25307 `imagemagick-register-types' modifies it, and the user may want
25308 to add new extensions for known image types.
25309 (imagemagick-register-types): Throw error if not using ImageMagick.
25310
25311 2011-03-22 Leo Liu <sdl.web@gmail.com>
25312
25313 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25314 located before rcirc-prompt-end-marker.
25315 (rcirc-complete): Error if point is not after rcirc prompt.
25316 Handle the case when table is nil.
25317 (rcirc-user-authenticated): Define to fix compiler warning.
25318
25319 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25320
25321 * custom.el (custom--inhibit-theme-enable): Make it affect only
25322 custom-theme-set-variables and custom-theme-set-faces.
25323 (provide-theme): Ignore custom--inhibit-theme-enable.
25324 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25325 (custom-enabling-themes): Delete variable.
25326 (enable-theme): Accept only loaded themes as arguments.
25327 Ignore the special custom-enabled-themes variable.
25328 (custom-enabled-themes): Forbid themes from setting this.
25329 Eliminate use of custom-enabling-themes.
25330 (custom-push-theme): Quote "changed" custom var entry.
25331
25332 2011-03-21 Leo Liu <sdl.web@gmail.com>
25333
25334 * ido.el (ido-read-internal): Add ido-selected to history instead
25335 of user input.
25336
25337 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25338
25339 * subr.el (deferred-action-list, deferred-action-function):
25340 Mark obsolete.
25341
25342 2011-03-21 Leo Liu <sdl.web@gmail.com>
25343
25344 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25345 change on 2011-02-13 (bug#8309).
25346
25347 * minibuffer.el (read-file-name-function): Change default value.
25348 (read-file-name--defaults): Rename from read-file-name-defaults.
25349 (read-file-name-default): Rename from read-file-name.
25350 (read-file-name): Call read-file-name-function.
25351
25352 2011-03-21 Glenn Morris <rgm@gnu.org>
25353
25354 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25355 Doc fixes.
25356
25357 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25358
25359 * cus-theme.el: Add missing provide statement.
25360 (customize-create-theme): Extract theme value correctly.
25361 (custom-theme-visit-theme): Autoload.
25362 (customize-create-theme): Prompt before inserting default faces.
25363
25364 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25365
25366 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25367 units and musical notes.
25368
25369 2011-03-20 Leo Liu <sdl.web@gmail.com>
25370
25371 * ido.el (ido-read-internal): Use completing-read-default.
25372 (ido-completing-read): Fix compatibility with completing-read.
25373
25374 2011-03-20 Christian Ohler <ohler@gnu.org>
25375
25376 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25377 (ert-delete-all-tests): Use `called-interactively-p' rather than
25378 `interactive-p'.
25379 (ert--make-xrefs-region): Respect END.
25380
25381 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25382
25383 * dired-aux.el (dired-create-directory): Signal an error if the
25384 directory already exists (Bug#8246).
25385
25386 * facemenu.el (list-colors-display): Call list-faces-display
25387 inside with-help-window.
25388 (list-colors-print): Use display property to align the final
25389 column, instead of checking window-width.
25390
25391 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25392
25393 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25394 windows-nt systems.
25395 (emerge-protect-metachars): Quote correctly for ms-dos and
25396 windows-nt systems.
25397
25398 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25399
25400 * info.el (info-initialize): Replace all uses of `:' with
25401 path-separator for compatibility with non-Unix systems.
25402 Cache quoting of path-separator. (Bug#8258)
25403
25404 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25405
25406 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25407 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25408 (mouse-avoidance-mode): Fix typos in docstrings.
25409
25410 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25411
25412 * startup.el (package-subdirectory-regexp): Move from package.el.
25413 Omit \\` and \\', and let callers add them.
25414
25415 * emacs-lisp/package.el (package-strip-version)
25416 (package-load-all-descriptors): Add \\` and \\' to
25417 package-subdirectory-regexp before using it.
25418 (package-untar-buffer): New arg DIR; ensure that file untars only
25419 into this expected directory. Remove superfluous delete-region.
25420 (package-unpack): Caller changed.
25421 (package-tar-file-info): Use package-subdirectory-regexp.
25422
25423 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25424
25425 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25426 diff-mode-shared-map (bug#8284).
25427 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25428
25429 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25430
25431 * calendar/time-date.el (format-seconds): Use assoc instead of
25432 assoc-string, since assoc-string doesn't exist in XEmacs.
25433
25434 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25435
25436 * custom.el (custom-known-themes): Reflow docstring.
25437 (custom-theme-load-path): Fix typo in docstring.
25438 (load-theme): Fix typo in error message.
25439 (custom-available-themes, custom-variable-theme-value):
25440 Use `let', not `let*'.
25441
25442 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25443
25444 * calc/README: Mention inclusion of musical notes.
25445
25446 * calc/calc-units.el (calc-lu-quant): Rename from
25447 `calc-logunits-quantity'.
25448 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25449 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25450 (calc-db): Rename from `calc-dblevel'.
25451 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25452 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25453 (calc-np): Rename from `calc-nplevel'.
25454 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25455 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25456 (calc-lu-plus): Rename from `calc-logunits-add'.
25457 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25458 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25459 (calc-lu-minus): Rename from `calc-logunits-sub'.
25460 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25461 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25462 (calc-lu-times): Rename from `calc-logunits-mul'.
25463 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25464 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25465 (calc-lu-divide): Rename from `calc-logunits-div'.
25466 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25467 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25468
25469 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25470 functions being autoloaded.
25471
25472 * calc/calc.el (calc-lu-power-reference): Rename from
25473 `calc-logunits-power-reference'.
25474 (calc-lu-field-reference): Rename from
25475 `calc-logunits-field-reference'.
25476
25477 * calc/calc-help.el (calc-l-prefix-help):
25478 Mention musical note functions.
25479
25480 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25481
25482 * minibuffer.el (completion-all-sorted-completions):
25483 Use :completion-cycle-penalty text property if present.
25484
25485 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25486
25487 * allout.el (allout-yank-processing): Adjust for new rebulleting
25488 regime so bullet being yanked is used without prompting the user
25489 for a choice.
25490
25491 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25492
25493 * startup.el (command-line): Warn the user that _emacs is deprecated.
25494
25495 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25496
25497 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25498 (delphi-verbose, delphi-comment-face, delphi-string-face)
25499 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25500 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25501 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25502 (delphi-new-comment-line, delphi-font-lock-defaults)
25503 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25504 Fix typos in docstrings.
25505
25506 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25507
25508 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25509 Invert the roles of character and string values for INSTEAD, so a
25510 string is used for the more common case of a defaulting prompt.
25511
25512 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25513
25514 * progmodes/ruby-mode.el (ruby-backward-sexp):
25515 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25516 * play/gamegrid.el (gamegrid-make-face):
25517 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25518 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25519 * notifications.el (notifications-notify):
25520 * net/xesam.el (xesam-search-engines):
25521 * net/quickurl.el (quickurl-list-insert):
25522 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25523
25524 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25525
25526 * startup.el (command-line): Update package subdirectory regexp.
25527
25528 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25529
25530 * allout.el (allout-abbreviate-flattened-numbering)
25531 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25532
25533 * subr.el (read-char-choice): Only show the cursor after the prompt,
25534 not after the answer.
25535
25536 2011-03-15 Kevin Ryde <user42@zip.com.au>
25537
25538 * help-fns.el (variable-at-point): Skip leading quotes, if any
25539 (bug#8253).
25540
25541 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25542
25543 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25544 warning message.
25545
25546 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25547
25548 * shell.el (shell): When called interactively, offer to change the
25549 shell file name on remote hosts.
25550
25551 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25552
25553 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25554 integration for LDAP parameters. The host, base, user or binddn,
25555 and secret tokens can be specified in a netrc file, for instance.
25556 This is optional because an `auth-source' parameter must be
25557 specified in the search attributes.
25558
25559 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25560
25561 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25562
25563 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25564
25565 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25566 into declaration. Remove redundant and harmful binding.
25567
25568 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25569
25570 * files.el (file-ownership-preserved-p): Pass `integer' as an
25571 explicit 2nd argument to `file-attributes'. If the file's owner
25572 is the Administrators group on Windows, and the current user is
25573 Administrator, consider that a match.
25574
25575 * server.el (server-ensure-safe-dir): Consider server directory
25576 safe on MS-Windows if its owner is the Administrators group while
25577 the current Emacs user is Administrator. Use `=' to compare
25578 numerical UIDs, since they could be integers or floats.
25579
25580 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25581
25582 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25583
25584 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25585
25586 Sync with Tramp 2.2.1.
25587
25588 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25589
25590 * net/trampver.el: Update release number.
25591
25592 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25593
25594 * progmodes/compile.el (compilation--previous-directory): Fix up
25595 various nil/dead-marker mismatches (bug#8014).
25596 (compilation-directory-properties, compilation-error-properties):
25597 Don't call it at a position past the one we're about to change.
25598
25599 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25600 Disable obsolescence warnings in the file that declares it.
25601
25602 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25603
25604 * allout-widgets.el (allout-widgets-tally):
25605 Initialize allout-widgets-tally as a hash table rather than nil to
25606 prevent mode-line redisplay warnings. Also, clarify the module
25607 description and fix a comment typo.
25608
25609 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25610
25611 * help-fns.el (describe-variable): Don't complete keywords.
25612 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25613
25614 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25615
25616 * emacs-lisp/package.el (package-version-join): Impose a standard
25617 string representation for pre/alpha/beta version lists.
25618 (package-unpack-single): Standardize the directory name by passing
25619 it through package-version-join.
25620 (package-strip-rcs-id): Accept any version string that does not
25621 signal an error in version-to-list.
25622
25623 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25624
25625 * simple.el (delete-trailing-whitespace): Return nil for the
25626 benefit of `write-file-functions'.
25627
25628 2011-03-10 Glenn Morris <rgm@gnu.org>
25629
25630 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25631
25632 * vc/vc-git.el (vc-git-program): New option.
25633 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25634 (vc-git--call): Use it.
25635
25636 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25637
25638 * cus-edit.el (Custom-newline): If no button at point, look
25639 for a subgroup button at start-of-line. (Bug#2298)
25640
25641 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25642
25643 2011-03-10 Julien Danjou <julien@danjou.info>
25644
25645 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25646 `cursor-type' is nil.
25647
25648 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25649
25650 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25651
25652 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25653
25654 * allout.el: Change so yank of distinctive-bullet items
25655 preserves the existing header prefix, rebulleting it if necessary,
25656 rather than replacing it. This is necessary for proper operation
25657 of cooperative addons like allout-widgets.
25658 (allout-make-topic-prefix, allout-rebullet-heading):
25659 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25660 value as alternate bullet to be used, instead of prompting the user
25661 for a bullet character.
25662
25663 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25664
25665 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25666 Do not use `tramp-file-name-port', because this returns also
25667 `tramp-default-port'.
25668
25669 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25670
25671 * net/rcirc.el (rcirc-handler-001): Remove useless
25672 with-rcirc-process-buffer.
25673 (rcirc-check-auth-status): Swap arguments to string-match.
25674
25675 2011-03-09 Glenn Morris <rgm@gnu.org>
25676
25677 * shell.el (shell-mode):
25678 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25679
25680 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25681 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25682
25683 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25684
25685 * emacs-lisp/package.el (package-refresh-contents)
25686 (package-menu-execute): Use condition-case-no-debug.
25687
25688 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25689
25690 * simple.el (shell-command-to-string): Use `process-file'.
25691
25692 * emacs-lisp/package.el (package-tar-file-info): Handle also
25693 remote files.
25694
25695 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25696 Use `equal' for upload base check.
25697
25698 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25699
25700 * textmodes/texinfo.el (texinfo-environments):
25701 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25702
25703 2011-03-08 Glenn Morris <rgm@gnu.org>
25704
25705 * cus-start.el (cursor-in-non-selected-windows):
25706 Fix :set quoting oddness. (Bug#8192)
25707
25708 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25709 in some setf expressions. (Bug#2159)
25710
25711 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25712
25713 * custom.el (custom-available-themes): Return themes in
25714 alphabetical order.
25715
25716 See ChangeLog.15 for earlier changes.
25717
25718 ;; Local Variables:
25719 ;; coding: utf-8
25720 ;; End:
25721
25722 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25723
25724 This file is part of GNU Emacs.
25725
25726 GNU Emacs is free software: you can redistribute it and/or modify
25727 it under the terms of the GNU General Public License as published by
25728 the Free Software Foundation, either version 3 of the License, or
25729 (at your option) any later version.
25730
25731 GNU Emacs is distributed in the hope that it will be useful,
25732 but WITHOUT ANY WARRANTY; without even the implied warranty of
25733 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25734 GNU General Public License for more details.
25735
25736 You should have received a copy of the GNU General Public License
25737 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.