* lisp/progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4 Highlight expansions inside regexp literals.
5
6 2013-05-31 Glenn Morris <rgm@gnu.org>
7
8 * obsolete/sym-comp.el (symbol-complete):
9 Replace obsolete completion-annotate-function.
10
11 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12
13 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14
15 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p): New
16 function, checks if point is inside a literal that allows
17 expression expansion.
18 (ruby-syntax-propertize-expansion): Use it.
19 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
20 around the body.
21
22 2013-05-30 Juri Linkov <juri@jurta.org>
23
24 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
25 to "\M-si".
26 (isearch-invisible): New variable.
27 (isearch-forward): Doc fix.
28 (isearch-mode): Set `isearch-invisible'
29 to the value of `search-invisible'.
30 (isearch-toggle-case-fold): Doc fix.
31 (isearch-toggle-invisible): New command.
32 (isearch-query-replace): Let-bind `search-invisible'
33 to the value of `isearch-invisible'.
34 (isearch-search): Use `isearch-invisible' instead of
35 `search-invisible'. Let-bind `search-invisible'
36 to the value of `isearch-invisible'. (Bug#11378)
37
38 2013-05-30 Juri Linkov <juri@jurta.org>
39
40 * replace.el (perform-replace): Avoid `isearch-range-invisible'
41 call when `query-flag' is nil and `search-invisible' is non-nil.
42 (Bug#11746)
43
44 2013-05-30 Glenn Morris <rgm@gnu.org>
45
46 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
47
48 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
49 (cc-require): Suppress spurious "noruntime" warnings.
50 (cc-require-when-compile): Use fboundp, for sake of compiler.
51
52 * progmodes/cc-mode.el: Move load of cc-vars before that of
53 cc-langs (which in turn loads cc-vars), to quieten compiler.
54
55 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * paren.el: Simplify the code.
58 (show-paren-mode): Always start the timer.
59 (show-paren--idle-timer): Rename from show-paren-idle-timer.
60 (show-paren--overlay, show-paren--overlay-1): Rename from
61 show-paren-overlay and show-paren-overlay-1, and initialize to an
62 overlay rather than to nil.
63 (show-paren-function): Misc cleanup and simplifications.
64
65 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
66
67 * paren.el (show-paren-data-function): New hook.
68 (show-paren--default): New function, extracted from show-paren-function.
69 (show-paren-function): Use show-paren-data-function.
70
71 2013-05-30 Glenn Morris <rgm@gnu.org>
72
73 * ielm.el (ielm-map, ielm-complete-symbol):
74 Use completion-at-point rather than obsolete functions.
75 (inferior-emacs-lisp-mode): Doc fix.
76 Set completion-at-point-functions, rather than
77 comint-dynamic-complete-functions.
78
79 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
80 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
81 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
82
83 * image.el (image-animated-p): Tweak definition.
84
85 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
86 (rlogin-process-connection-type): Tweak default. Add set-after.
87 (rlogin-host): Doc fix.
88 (rlogin): Tweak prompt.
89 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
90
91 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
92 * progmodes/tcl.el (inferior-tcl-mode-map):
93 Use completion-at-point rather than obsolete alias.
94
95 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
96
97 * minibuffer.el (read-file-name-completion-ignore-case):
98 Move before completion--in-region, for eager macro expansion.
99
100 2013-05-29 Juri Linkov <juri@jurta.org>
101
102 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
103 for total count of matching lines. Add `global-matches' for total
104 count of matches. Rename `matches' to `lines' for count of
105 matching lines. Add `matches' for count of matches.
106 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
107 to `prev-line' for line number of prev match endpt.
108 Increment `matches' for every match. Print the number of
109 matching lines in the header.
110 (occur-context-lines): Rename `lines' to `curr-line'.
111 Rename `prev-lines' to `prev-line'. (Bug#14017)
112
113 2013-05-29 Juri Linkov <juri@jurta.org>
114
115 * replace.el (perform-replace): Add `skip-read-only-count',
116 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
117 Increment them for corresponding conditions and report the number
118 of skipped occurrences in the final message. (Bug#11746)
119 (query-replace, query-replace-regexp, query-replace-regexp-eval)
120 (replace-string, replace-regexp): Doc fix.
121
122 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
123
124 * emacs-lisp/trace.el (trace--read-args): Provide a default.
125
126 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
127 prog-mode-map.
128
129 2013-05-29 Leo Liu <sdl.web@gmail.com>
130
131 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
132 (octave-help): Small simplification.
133
134 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
135 off the highlight first.
136
137 2013-05-29 Glenn Morris <rgm@gnu.org>
138
139 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
140 Handle idlwave-last-system-routine-info-cons-cell being nil.
141
142 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
143 (idlwave-write-paths): Simplify via with-temp-buffer.
144
145 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
146 * emulation/cua-rect.el: Also load cua-base at run time.
147
148 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
149 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
150 (cperl-imenu-on-info): Require imenu.
151
152 2013-05-28 Alan Mackenzie <acm@muc.de>
153
154 Handle "capitalised keywords" correctly.
155 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
156
157 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
158
159 * eshell/em-unix.el: Added -r option to cp
160
161 2013-05-28 Glenn Morris <rgm@gnu.org>
162
163 * vc/vc-arch.el (vc-exec-after): Declare.
164 (vc-switches): Autoload.
165 * vc/vc-bzr.el: No need to require vc when compiling.
166 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
167 (vc-resynch-buffer, vc-dir-refresh): Declare.
168 (vc-setup-buffer, vc-switches): Autoload.
169 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
170 (vc-resynch-buffer): Declare.
171 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
172 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
173 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
174 (grep-read-regexp, grep-read-files, grep-expand-template)
175 (vc-dir-refresh): Declare.
176 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
177 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
178 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
179 * vc/vc-mtn.el (vc-exec-after): Declare.
180 (vc-switches): Autoload.
181 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
182 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
183 (vc-file-tree-walk): Declare.
184 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
185 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
186 (vc-tag-precondition, vc-rename-master): Autoload.
187 * vc/vc-svn.el (vc-exec-after): Declare.
188 (vc-switches, vc-setup-buffer): Autoload.
189 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
190 Autoload.
191 (vc-resynch-buffer): Declare.
192
193 * obsolete/fast-lock.el (byte-compile-warnings):
194 Don't warn about obsolete features in this obsolete file.
195
196 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
197 Move definition before use.
198
199 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
200 (dun-unix-verbs): Remove dun-zippy.
201 (dun-zippy): Remove function.
202
203 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
204
205 2013-05-27 Juri Linkov <juri@jurta.org>
206
207 * replace.el (replace-search): New function with code moved out
208 from `perform-replace'.
209 (replace-highlight, replace-dehighlight): Move function definitions
210 up closer to `replace-search'. (Bug#11746)
211
212 2013-05-27 Juri Linkov <juri@jurta.org>
213
214 * replace.el (perform-replace): Ignore invisible matches.
215 In addition to checking `query-replace-skip-read-only', also
216 filter out matches by calling `run-hook-with-args-until-failure'
217 on `isearch-filter-predicates', and also check `search-invisible'
218 for t or call `isearch-range-invisible'.
219 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
220
221 2013-05-27 Juri Linkov <juri@jurta.org>
222
223 * isearch.el (isearch-filter-predicates): Rename from
224 `isearch-filter-predicate'. Doc fix. (Bug#11378)
225 (isearch-message-prefix): Display text from the property
226 `isearch-message-prefix' of the currently active filters.
227 (isearch-search): Don't compare `isearch-filter-predicate' with
228 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
229 on `isearch-filter-predicates'. Also check `search-invisible' for t
230 or call `isearch-range-invisible'.
231 (isearch-filter-visible): Make obsolete.
232 (isearch-lazy-highlight-search):
233 Call `run-hook-with-args-until-failure' on
234 `isearch-filter-predicates' and use `isearch-range-invisible'.
235
236 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
237 `isearch-filter-predicates' instead of `funcall'ing
238 `isearch-filter-predicate'.
239 (Info-mode): Set `Info-isearch-filter' to
240 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
241
242 * dired-aux.el (dired-isearch-filter-predicate-orig):
243 Remove variable.
244 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
245 (dired-isearch-filenames-end): Add and remove
246 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
247 instead of changing the value of `isearch-filter-predicate'.
248 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
249 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
250 Put property `isearch-message-prefix' to "filename " on
251 `dired-isearch-filter-filenames'.
252
253 * wdired.el (wdired-change-to-wdired-mode):
254 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
255 locally instead of changing `isearch-filter-predicate'.
256 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
257
258 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
259
260 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
261 return the commit hash (Bug#14459). Also set the
262 `vc-git-detached' property.
263 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
264 (vc-git-mode-line-string): Use the same help-echo format whether
265 in detached mode or not, because we know the actual revision now.
266 When in detached mode, shorten the revision to 7 chars.
267
268 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
269
270 * emacs-lisp/easy-mmode.el (define-minor-mode):
271 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
272 mode hook and provide a docstring.
273
274 2013-05-27 Alan Mackenzie <acm@muc.de>
275
276 Remove spurious syntax-table text properties inserted by C-y.
277 * progmodes/cc-mode.el (c-after-change): Also clear hard
278 syntax-table property with value nil.
279
280 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
281
282 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
283 when reading the events; the buffer layout shall not be changed.
284
285 2013-05-27 Leo Liu <sdl.web@gmail.com>
286
287 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
288 New variable.
289 (inferior-octave-directory-tracker): Automatically re-sync
290 default-directory.
291 (octave-help): Improve handling of 'See also'.
292
293 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * doc-view.el: Minor naming convention tweaks.
296 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
297
298 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
299 even if there's no `display' property yet (bug#14435).
300
301 2013-05-25 Eli Zaretskii <eliz@gnu.org>
302
303 * subr.el (unmsys--file-name): Rename from reveal-filename.
304
305 * Makefile.in (custom-deps, finder-data, autoloads)
306 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
307 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
308 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
309
310 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
313 error-completion on the first 2 args of condition-case (bug#14446).
314 Don't burp at EOB.
315
316 2013-05-25 Leo Liu <sdl.web@gmail.com>
317
318 * comint.el (comint-previous-matching-input): Do not flood the
319 *Messages* buffer with trivial messages.
320
321 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * progmodes/flymake.el (flymake-nop): Don't return a string.
324 (flymake-set-at): Fix typo.
325
326 * simple.el (read--expression): New function, extracted from
327 eval-expression. Set completion-at-point-functions (bug#14465).
328 (eval-expression, eval-minibuffer): Use it.
329
330 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
331
332 * progmodes/flymake.el (flymake-save-buffer-in-file)
333 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
334 (flymake-selected-frame, flymake-log, flymake-ins-after)
335 (flymake-set-at, flymake-get-buildfile-from-cache)
336 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
337 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
338 Refine the doc string.
339 (flymake-get-file-name-mode-and-masks): Reformat.
340 (flymake-get-real-file-name-function): Fix a minor bug.
341
342 2013-05-24 Juri Linkov <juri@jurta.org>
343
344 * progmodes/grep.el (grep-mode-font-lock-keywords):
345 Support =linenumber= format used by git-grep for lines with
346 function names. (Bug#13549)
347
348 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * progmodes/octave.el (octave-smie-rules): Return nil rather than
351 0 after a semi-colon; it works better for smie-auto-fill.
352 (octave--indent-new-comment-line): New function.
353 (octave-indent-new-comment-line): Use it (indirectly).
354 (octave-mode): Don't disable smie-auto-fill. Use add-function to
355 modify comment-line-break-function.
356
357 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
358 (smie-setup): Use add-function to set it.
359
360 2013-05-24 Sam Steingold <sds@gnu.org>
361
362 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
363 argument (before the `interactive' argument).
364
365 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * image-mode.el (image-mode-winprops): Add winprops to
368 image-mode-winprops-alist before running
369 image-mode-new-window-functions.
370 * doc-view.el (doc-view-new-window-function): Don't delay
371 doc-view-goto-page via timers (bug#14435).
372
373 2013-05-24 Tassilo Horn <tsdh@gnu.org>
374
375 * doc-view.el: Integrate with desktop.el. (Bug#14435)
376 (doc-view-desktop-save-buffer): New function.
377 (doc-view-restore-desktop-buffer): New function.
378 (desktop-buffer-mode-handlers):
379 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
380 handler.
381 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
382 `desktop-save-buffer' function.
383
384 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
385
386 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
387 (tramp-gvfs-file-name-handler): Raise a user error when
388 `tramp-gvfs-enabled' is nil.
389 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
390 Do not raise a user error when loading package. (Bug#14447)
391
392 * net/xesam.el: Move to obsolete/.
393
394 2013-05-24 Glenn Morris <rgm@gnu.org>
395
396 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
397
398 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
399
400 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
401 (Info-find-node, Man-getpage-in-background): Declare.
402
403 * mail/unrmail.el (unrmail):
404 Replace obsolete detect-coding-with-priority.
405
406 * net/socks.el (socks-split-string): Use this rather than split-string.
407 (socks-nslookup-host): Update for above change.
408 (dynamic-choice, s5-dynamic-choice-match)
409 (s5-dynamic-choice-match-inline, s5-widget-value-create):
410 Comment out unused code.
411
412 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
413 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
414 (gud-tooltip-echo-area): Make obsolete.
415 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
416
417 * progmodes/js.el (js--optimize-arglist): Declare.
418
419 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
420
421 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
422 (ediff-window-C): Declare.
423
424 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
425 Tweak requires to silence compiler.
426
427 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
428 (he-search-string, he-tried-table, he-expand-list)
429 (he-init-string, he-string-member, he-substitute-string)
430 (he-reset-string): Declare.
431
432 * obsolete/options.el (list-options): Use custom-variable-p,
433 rather than obsolete alias.
434
435 2013-05-23 Sam Steingold <sds@gnu.org>
436
437 * simple.el (shell-command-on-region): Pass the `replace' argument
438 down to `call-process-region' to comply with the doc as reported on
439 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
440
441 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
442
443 * emacs-lisp/smie.el (smie-indent-forward-token)
444 (smie-indent-backward-token): Handle string tokens (bug#14381).
445
446 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
447
448 * ielm.el (ielm-menu): New menu.
449 (inferior-emacs-lisp-mode): Set comment-start.
450
451 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
452
453 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
454 Fix deactivate action.
455
456 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
457 Add cleveref macros.
458
459 * lisp/textmodes/reftex-parse.el
460 (reftex-locate-bibliography-files): Accept options for
461 bibliography commands.
462 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
463 Add addbibresource. Basic Biblatex support.
464
465 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
466
467 * net/tramp-gvfs.el (top):
468 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
469 when loading package. (Bug#14447)
470
471 2013-05-23 Glenn Morris <rgm@gnu.org>
472
473 * progmodes/js.el: No need to load comint when compiling.
474 (ring-insert, comint-send-string, comint-send-input)
475 (comint-last-input-end, ido-chop): Declare.
476
477 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
478 * vc/ediff-mult.el: Adjust requires.
479 (ediff-directories-internal, ediff-directory-revisions-internal)
480 (ediff-patch-file-internal): Declare.
481 * vc/ediff-ptch.el: Adjust requires.
482 (ediff-use-last-dir, ediff-buffers-internal): Declare.
483 (ediff-find-file): Autoload.
484 * vc/ediff-util.el: No need to load ediff when compiling.
485 (ediff-regions-internal): Declare.
486 * vc/ediff-wind.el: Adjust requires.
487 (ediff-compute-toolbar-width): Define when compiling.
488 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
489 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
490 (dired-get-filename, dired-get-marked-files)
491 (ediff-last-dir-patch, ediff-patch-default-directory)
492 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
493 (ediff-patch-buffer-internal): Declare.
494
495 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
496 (ispell-process, ispell-buffer-local-words, lm-summary)
497 (lm-section-start, lm-section-end): Declare.
498 (checkdoc-ispell-init): Simplify.
499
500 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
501 (he-string-member, he-reset-string, he-substitute-string): Declare.
502
503 * eshell/em-ls.el: Adjust requires.
504 (eshell-glob-regexp): Declare.
505 * eshell/em-tramp.el: Adjust requires.
506 (eshell-parse-command): Autoload.
507 * eshell/em-xtra.el: Adjust requires.
508 (eshell-parse-command): Autoload.
509 * eshell/esh-ext.el: Adjust requires.
510 (eshell-parse-command, eshell-close-handles): Autoload.
511 * eshell/esh-io.el: Adjust requires.
512 (eshell-output-filter): Autoload.
513 * eshell/esh-util.el: No need to load tramp when compiling.
514 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
515 Declare.
516 (eshell-parse-ange-ls): Require ange-ftp and tramp.
517 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
518 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
519 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
520 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
521 * eshell/esh-opt.el, eshell/esh-proc.el:
522 * eshell/esh-var.el: Adjust requires.
523 * eshell/eshell.el: Do not require esh-util twice.
524 (eshell-add-input-to-history): Declare.
525 (eshell-command): Check history module is active before using it.
526
527 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
528
529 2013-05-22 Leo Liu <sdl.web@gmail.com>
530
531 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
532
533 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
534
535 * autorevert.el (auto-revert-notify-add-watch)
536 (auto-revert-notify-handler): Add `attrib' for the inotify case,
537 it indicates changes in file modification time.
538
539 2013-05-22 Glenn Morris <rgm@gnu.org>
540
541 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
542 Always delete the autoloaded function from the noruntime and
543 unresolved functions lists.
544
545 * allout.el: No need to load epa, epg, overlay when compiling.
546 (epg-context-set-passphrase-callback, epg-list-keys)
547 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
548 (epg-key-user-id-list): Declare.
549
550 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
551 (viper-set-parsing-style-toggling-macro)
552 (viper-set-emacs-state-searchstyle-macros):
553 Use called-interactively-p on Emacs.
554 (viper-looking-back): Make it an obsolete alias. Update callers.
555 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
556 Use looking-back rather than viper-looking-back.
557 (viper-tmp-insert-at-eob, viper-enlarge-region)
558 (viper-read-string-with-history, viper-register-to-point)
559 (viper-append-to-register, viper-change-state-to-vi)
560 (viper-backward-char-carefully, viper-forward-char-carefully)
561 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
562 (viper-change-state-to-emacs): Declare.
563 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
564 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
565 * emulation/viper-mous.el: Do not load viper-cmd.
566 (viper-backward-char-carefully, viper-forward-char-carefully)
567 (viper-forward-word, viper-adjust-window): Declare.
568
569 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
570
571 * progmodes/idlw-help.el (idlwave-help-fontify):
572 Use called-interactively-p.
573
574 * term/w32console.el (w32-get-console-codepage)
575 (w32-get-console-output-codepage): Declare.
576
577 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
578 Remove unnecessary declarations.
579 (dframe-message): Doc fix.
580
581 * info.el (dframe-select-attached-frame, dframe-current-frame):
582 Declare.
583
584 * speedbar.el (speedbar-message): Make it an obsolete alias.
585 Update all callers.
586 (speedbar-with-attached-buffer)
587 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
588 (speedbar-with-writable): Use backquote.
589 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
590 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
591 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
592 rather than speedbar- aliases.
593 * mail/rmail.el: Load dframe rather than speedbar when compiling.
594 (speedbar-make-specialized-keymap, speedbar-insert-button)
595 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
596 (speedbar-do-function-pointer): Declare.
597 (rmail-speedbar-button, rmail-speedbar-find-file)
598 (rmail-speedbar-move-message):
599 Use dframe-with-attached-buffer rather than speedbar- alias.
600 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
601 (dframe-message, speedbar-make-specialized-keymap)
602 (speedbar-add-expansion-list, speedbar-mode-functions-list)
603 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
604 (speedbar-insert-button, dframe-select-attached-frame)
605 (dframe-maybee-jump-to-attached-frame)
606 (speedbar-change-initial-expansion-list)
607 (speedbar-previously-used-expansion-list-name): Declare.
608 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
609 Use dframe-message, dframe-with-attached-buffer rather than
610 speedbar- aliases.
611 (gud-sentinel): Silence compiler.
612 * progmodes/vhdl-mode.el (speedbar-refresh)
613 (speedbar-do-function-pointer, speedbar-add-supported-extension)
614 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
615 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
616 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
617 (speedbar-file-lists, speedbar-make-tag-line)
618 (speedbar-line-directory, speedbar-goto-this-file)
619 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
620 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
621 (speedbar-make-button, speedbar-reset-scanners)
622 (speedbar-files-item-info, speedbar-line-text)
623 (speedbar-find-file-in-frame, speedbar-set-timer)
624 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
625 (speedbar-with-writable): Do not (re)define it.
626 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
627 rather than speedbar- alias.
628
629 2013-05-21 Leo Liu <sdl.web@gmail.com>
630
631 * progmodes/octave.el (octave-mode-menu): Update and re-organize
632 menu items.
633 (octave-mode): Tweak fill-nobreak-predicate.
634 (inferior-octave-startup): Check process to avoid infinite loop.
635 (inferior-octave): Pop to buffer first to show abornmal process
636 exit information.
637
638 2013-05-21 Glenn Morris <rgm@gnu.org>
639
640 * printing.el (pr-menu-bar): Define when compiling.
641
642 2013-05-21 Leo Liu <sdl.web@gmail.com>
643
644 * progmodes/octave.el (octave-auto-fill): Remove.
645 (octave-indent-new-comment-line): Improve.
646 (octave-mode): Use auto fill mode through
647 comment-line-break-function and fill-nobreak-predicate
648 (octave-goto-function-definition): Support DEFUN_DLD.
649 (octave-beginning-of-defun): Small Tweak
650 (octave-help): Show parent directory.
651
652 2013-05-21 Glenn Morris <rgm@gnu.org>
653
654 * files.el (dired-unmark):
655 * progmodes/gud.el (gdb-input): Update declarations.
656
657 * calculator.el (electric, ehelp): No need to load when compiling.
658 (Electric-command-loop, electric-describe-mode): Declare.
659
660 * doc-view.el (doc-view-current-converter-processes): Move before use.
661
662 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
663 Move MODE-set-explicitly definition before use.
664
665 * international/mule-diag.el (mule-diag):
666 Don't use obsolete window-system-version.
667
668 * mail/feedmail.el (smtpmail): No need to load when compiling.
669 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
670
671 * mail/mail-utils.el (rfc822): No need to load when compiling.
672 (rfc822-addresses): Autoload it.
673 (mail-strip-quoted-names): Trivial simplification.
674
675 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
676 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
677
678 * net/snmp-mode.el (tempo): Don't duplicate requires.
679
680 * progmodes/prolog.el (info): No need to load when compiling.
681 (comint): Require before shell requires it.
682 (Info-goto-node): Autoload it.
683 (Info-follow-nearest-node): Declare.
684 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
685
686 * textmodes/artist.el (picture-mode-exit): Declare.
687
688 * textmodes/reftex-parse.el (reftex-parse-from-file):
689 Trivial rewrite so the compiler can parse it better.
690
691 2013-05-20 Leo Liu <sdl.web@gmail.com>
692
693 * progmodes/octave.el (octave-help-mode-map)
694 (octave-help-mode-finish-hook): New variables.
695 (octave-help-mode, octave-help-mode-finish): New functions.
696 (octave-help): Use octave-help-mode.
697
698 2013-05-20 Glenn Morris <rgm@gnu.org>
699
700 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
701
702 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
703
704 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
705 start at point, so that expansion starting right after opening
706 slash in a regexp is recognized.
707 (ruby-syntax-before-regexp-re): New defvar, extracted from
708 ruby-syntax-propertize-function. Since the value of this regexp
709 is looked up at runtime now, we should be able to turn
710 `ruby-syntax-methods-before-regexp' into a defcustom later.
711 (ruby-syntax-propertize-function): Split regexp matching into two
712 parts, for opening and closing slashes. That allows us to skip
713 over string interpolations and support multiline regexps.
714 Don't call `ruby-syntax-propertize-expansions', instead use another rule
715 for them, which calls `ruby-syntax-propertize-expansion'.
716 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
717 call to `ruby-syntax-propertize-function'.
718 (ruby-syntax-propertize-expansion): Extracted from
719 `ruby-syntax-propertize-expansions'. Handles one expansion.
720 (ruby-syntax-propertize-percent-literal): Leave point right after
721 the percent symbol, so that the expression expansion rule can
722 propertize the contents.
723 (ruby-syntax-propertize-heredoc): Leave point at bol following the
724 heredoc openers.
725 (ruby-syntax-propertize-expansions): Remove.
726
727 2013-05-18 Juri Linkov <juri@jurta.org>
728
729 * man.el (Man-default-man-entry): Remove `-' from the end
730 of the default value. (Bug#14400)
731
732 2013-05-18 Glenn Morris <rgm@gnu.org>
733
734 * comint.el (comint-password-prompt-regexp):
735 Allow "password for XXX" where XXX contains colons (eg https://...).
736
737 2013-05-18 Leo Liu <sdl.web@gmail.com>
738
739 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
740 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
741 (octave-source-directories): Don't check process.
742 (octave-source-directories, octave-find-definition): Doc fix.
743
744 2013-05-18 Glenn Morris <rgm@gnu.org>
745
746 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
747 Remove backspace/delete bindings. (Bug#14392)
748
749 * cus-dep.el (custom-make-dependencies): Sort the output.
750 (custom-versions-load-alist): Convert comment to doc.
751
752 2013-05-17 Leo Liu <sdl.web@gmail.com>
753
754 * newcomment.el (comment-search-backward): Stricter in finding
755 comment start. (Bug#14303)
756
757 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
758 (octave-comment-start-skip): Properly anchored.
759
760 2013-05-17 Leo Liu <sdl.web@gmail.com>
761
762 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
763 Clean up when turned off. (Bug#14395)
764 (smie--highlight-matching-block-overlay): No longer buffer-local.
765 (smie-highlight-matching-block): Adjust.
766
767 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
768
769 Doc string fix for "nanoseconds" (Bug#14406).
770 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
771 Fix doc string typo that had "nanoseconds" instead of "microseconds".
772
773 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
774
775 * calc/calc-units.el (math-extract-units): Preserve powers
776 of units.
777
778 2013-05-17 Leo Liu <sdl.web@gmail.com>
779
780 * subr.el (delete-consecutive-dups): New function.
781 * ido.el (ido-set-matches-1): Use it.
782 * progmodes/octave.el (inferior-octave-completion-table): Use it.
783 * ido.el (ido-remove-consecutive-dups): Remove.
784
785 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
788 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
789 regexp-opt's `words'.
790
791 2013-05-16 Leo Liu <sdl.web@gmail.com>
792
793 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
794 (smie--highlight-matching-block-overlay)
795 (smie--highlight-matching-block-lastpos)
796 (smie--highlight-matching-block-timer): New variables.
797 (smie-highlight-matching-block): New function.
798 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
799 (smie-setup): Conditionally enable smie-blink-matching-open.
800
801 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
802
803 Sync with upstream verilog-mode r840.
804 * progmodes/verilog-mode.el (verilog-mode-version)
805 (verilog-mode-release-date): Update.
806 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
807 (verilog-sig-tieoff): Fix string error on
808 AUTORESET with colon define, bug594. Reported by Andrew Hou.
809 (verilog-read-decls): Fix parameters confusing
810 AUTOINST interfaces, bug565. Reported by Leith Johnson.
811
812 2013-05-16 Eli Zaretskii <eliz@gnu.org>
813
814 * subr.el (reveal-filename): New function.
815
816 * loadup.el: Compute Emacs executable versions on MS-Windows,
817 where executables have the .exe extension. Add a hard link
818 emacs-XX.YY.ZZ.exe on MS-Windows.
819
820 * Makefile.in (XARGS_LIMIT): New variable.
821 (custom-deps, finder-data, autoloads)
822 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
823 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
824 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
825 (compile-main): Limit xargs according to $(XARGS_LIMIT).
826
827 2013-05-16 Leo Liu <sdl.web@gmail.com>
828
829 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
830 (octave-mode-menu, octave-mode-map): Remove its uses.
831
832 2013-05-16 Reto Zimmermann <reto@gnu.org>
833
834 Sync with upstream vhdl mode v3.34.2.
835 * progmodes/vhdl-mode.el: Use `push' throughout.
836 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
837 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
838 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
839 (vhdl-actual-generic-name): New option to derive actual generic name.
840 (vhdl-port-paste-signals): Replace formal by actual generics.
841 (vhdl-beautify): New name for old group vhdl-align. Update users.
842 (vhdl-beautify-options): New option.
843 (vhdl-last-input-event): New compat alias. Use throughout.
844 (vhdl-goto-line): Replace user level function `goto-line'.
845 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
846 vhdl-fix-statement-buffer.
847 (vhdl-create-mode-menu): Add some entries.
848 (vhdl-align-region-groups): Respect vhdl-beautify-options.
849 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
850 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
851 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
852 to force statements on one line.
853 (vhdl-remove-trailing-spaces-region):
854 New, split from vhdl-remove-trailing-spaces.
855 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
856 Respect vhdl-beautify-options.
857 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
858 (vhdl-update-sensitivity-list): Not add with index if exists without.
859 Not include array index with signal. Ignore keywords in comments.
860 (vhdl-get-visible-signals): Regexp tweaks.
861 (vhdl-template-component-inst): Handle empty library.
862 (vhdl-template-type): Add template for 'enum' type.
863 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
864 Use vhdl-replace-string.
865 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
866 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
867 (vhdl-speedbar-initialize): Update for above name change.
868 (vhdl-compose-wire-components): Fix in handling of constants.
869 (vhdl-error-regexp-emacs-alist): New variable.
870 (vhdl-error-regexp-add-emacs): New function;
871 adds support for new compile.el (Emacs 22+)
872 (vhdl-generate-makefile-1): Change target order for single lib. units.
873 Allow use of absolute file names.
874
875 2013-05-16 Leo Liu <sdl.web@gmail.com>
876
877 * simple.el (prog-indent-sexp): Indent enclosing defun.
878
879 2013-05-15 Glenn Morris <rgm@gnu.org>
880
881 * cus-start.el (show-trailing-whitespace): Move to editing basics.
882 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
883 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
884 (whitespace-highlight): Move to whitespace group.
885
886 * comint.el (comint-source):
887 * pcmpl-linux.el (pcmpl-linux):
888 * shell.el (shell-faces):
889 * eshell/esh-opt.el (eshell-opt):
890 * international/ccl.el (ccl): Remove empty custom groups.
891
892 * completion.el (dynamic-completion-mode):
893 * jit-lock.el (jit-lock-debug-mode):
894 * minibuffer.el (completion-in-region-mode):
895 * type-break.el (type-break-mode-line-message-mode)
896 (type-break-query-mode):
897 * emulation/tpu-edt.el (tpu-edt-mode):
898 * progmodes/subword.el (global-subword-mode, global-superword-mode):
899 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
900 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
901
902 * term/xterm.el (xterm): Change parent group to terminals.
903
904 * master.el (master): Remove empty custom group.
905 (master-mode): Remove unused :group argument.
906 * textmodes/refill.el (refill): Remove empty custom group.
907 (refill-mode): Remove unused :group argument.
908
909 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
910
911 * cus-dep.el: Provide a feature.
912 (custom-make-dependencies): Ignore dotfiles (dir-locals).
913 Don't mistakenly ignore files whose basenames match a basename
914 from preloaded-file-list (eg cedet/ede/simple.el).
915 Add a fallback method for getting :group.
916
917 2013-05-15 Juri Linkov <juri@jurta.org>
918
919 * isearch.el (isearch-char-by-name): Rename from
920 `isearch-insert-char-by-name'. Doc fix.
921 (isearch-forward): Mention `isearch-char-by-name' in
922 the docstring. (Bug#13348)
923
924 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
925 `exit-minibuffer' instead of
926 `isearch-nonincremental-exit-minibuffer'.
927 (isearch-edit-string): Remove mention of
928 `isearch-nonincremental-exit-minibuffer' from docstring.
929 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
930 (isearch-forward-exit-minibuffer)
931 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
932
933 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * loadup.el: Just use unversioned DOC.
936
937 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
938 literals as extending to EOB.
939 (nxml-last-fontify-end): Remove unused variable.
940 (nxml-after-change1): Use with-silent-modifications.
941 (nxml-extend-after-change-region): Simplify.
942 (nxml-extend-after-change-region1): Remove function.
943 (nxml-after-change1): Don't adjust for dependent regions.
944 (nxml-fontify-matcher): Simplify.
945 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
946 (xmltok-add-dependent): Remove function.
947 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
948 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
949 (xmltok-scan-prolog-after-processing-instruction-open): Treat
950 unclosed <[[, <?, comment, and other literals as extending to EOB.
951 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
952 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
953 Remove functions.
954 (rng-do-some-validation-1): Don't mark dependent regions.
955 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
956 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
957 (nxml-clear-dependent-regions): Remove functions.
958 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
959 (nxml-ensure-scan-up-to-date):
960 Don't clear&mark dependent regions.
961
962 2013-05-15 Leo Liu <sdl.web@gmail.com>
963
964 * progmodes/octave.el (octave-goto-function-definition):
965 Improve and fix callers.
966
967 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
970 the setter (bug#14387).
971
972 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
973 surrounding group (bug#14402).
974
975 2013-05-14 Juri Linkov <juri@jurta.org>
976
977 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
978 (Bug#14390)
979
980 2013-05-14 Glenn Morris <rgm@gnu.org>
981
982 * progmodes/f90.el (f90-imenu-generic-expression):
983 Fix typo in 2013-05-08 change. (Bug#14402)
984
985 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
986
987 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
988 Remove signals for which replies are never received.
989
990 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
991
992 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
993 (gdb-handler-alist, gdb-handler-number): Remove variables.
994 (gdb-handler-list): New variable.
995 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
996 (gdb-pending-handler-p, gdb-handle-reply)
997 (gdb-remove-all-pending-triggers): New functions.
998 (gdb-discard-unordered-replies): New defcustom.
999 (gdb-handler): New defstruct.
1000 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1001 instead of gdb-pending-triggers. Update docstring.
1002 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1003 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1004 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1005 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1006 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1007 (gdb-frame-handler): Pending triggers are now automatically managed.
1008 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1009 Remove argument.
1010 (gdb-input): Automatically handles pending triggers. Update docstring.
1011 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1012 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1013 Update comments.
1014 (gdb-done-or-error): Now use gdb-handle-reply.
1015
1016 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1017
1018 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1019 gdb-debug-log.
1020
1021 2013-05-14 Glenn Morris <rgm@gnu.org>
1022
1023 * subr.el (user-emacs-directory-warning): New option.
1024 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1025
1026 2013-05-14 Leo Liu <sdl.web@gmail.com>
1027
1028 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1029 during redisplay.
1030 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1031 (octave-font-lock-texinfo-comment): Fix invalid search bound
1032 error: wrong side of point.
1033
1034 2013-05-14 Glenn Morris <rgm@gnu.org>
1035
1036 * progmodes/flymake.el (flymake-xml-program): New option.
1037 (flymake-xml-init): Use it.
1038
1039 * term/xterm.el: Provide a feature.
1040
1041 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1042
1043 2013-05-13 Glenn Morris <rgm@gnu.org>
1044
1045 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1046 Add compat aliases as a hack workaround. (Bug#14384)
1047
1048 2013-05-13 Leo Liu <sdl.web@gmail.com>
1049
1050 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1051 ###, and %!.
1052 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1053 C-M-q.
1054 (octave-comment-start-skip): Include %!.
1055 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1056
1057 2013-05-12 Leo Liu <sdl.web@gmail.com>
1058
1059 * progmodes/octave.el (inferior-octave-startup): Store the value
1060 of __octave_srcdir__ for octave-source-directories.
1061 (inferior-octave-check-process): New function refactored out of
1062 inferior-octave-send-list-and-digest.
1063 (octave-source-directories)
1064 (octave-find-definition-filename-function): New variables.
1065 (octave-source-directories)
1066 (octave-find-definition-default-filename): New functions.
1067 (octave-find-definition): Improve to find functions implemented in C++.
1068
1069 2013-05-12 Glenn Morris <rgm@gnu.org>
1070
1071 * calendar/diary-lib.el (diary-outlook-format-1):
1072 Don't include dayname in the output. (Bug#14349)
1073
1074 2013-05-11 Glenn Morris <rgm@gnu.org>
1075
1076 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1077
1078 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1079 Treat cc-provide like provide.
1080
1081 2013-05-11 Kevin Ryde <user42@zip.com.au>
1082
1083 * cus-dep.el (custom-make-dependencies):
1084 Use generated-autoload-load-name for the sake of files such
1085 such cedet/semantic/bovine/c.el, where the base file name
1086 is not in load-path. (Bug#5277)
1087
1088 2013-05-11 Glenn Morris <rgm@gnu.org>
1089
1090 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1091 Provide features.
1092
1093 2013-05-11 Leo Liu <sdl.web@gmail.com>
1094
1095 * progmodes/octave.el (octave-indent-comment): Improve.
1096 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1097 (octave-eldoc-function-signatures, octave-eldoc-function):
1098 New functions.
1099 (octave-mode, inferior-octave-mode): Add eldoc support.
1100
1101 2013-05-11 Richard Stallman <rms@gnu.org>
1102
1103 * epa.el (epa-decrypt-file): Take output file name as argument
1104 and read it using `interactive'.
1105
1106 2013-05-11 Leo Liu <sdl.web@gmail.com>
1107
1108 * progmodes/octave.el (octave-beginning-of-line)
1109 (octave-end-of-line): Check before using up-list because it jumps
1110 out of more syntactic contructs since moving to smie.
1111 (octave-indent-comment): New function.
1112 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1113 (octave-begin-keywords, octave-end-keywords)
1114 (octave-reserved-words, octave-smie-bnf-table)
1115 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1116
1117 2013-05-11 Glenn Morris <rgm@gnu.org>
1118
1119 * faces.el (internal-face-x-get-resource):
1120 * frame.el (ns-display-monitor-attributes-list):
1121 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1122
1123 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1124
1125 * calc/calc-menu.el: Make it loadable in isolation.
1126
1127 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1128 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1129 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1130 (eudc-bbdb-query-internal): Require 'bbdb.
1131
1132 * lpr.el (lpr-headers-switches):
1133 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1134
1135 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1136
1137 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1138
1139 * term.el (term-set-escape-char): Make it idempotent.
1140
1141 2013-05-10 Leo Liu <sdl.web@gmail.com>
1142
1143 * progmodes/octave.el (inferior-octave-completion-table):
1144 No longer a function and all uses changed. Use cache to speed up
1145 completion due to bug#11906.
1146 (octave-beginning-of-defun): Re-write to be more general.
1147
1148 2013-05-10 Glenn Morris <rgm@gnu.org>
1149
1150 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1151
1152 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * comint.el (comint-redirect-send-command-to-process): Use :around
1155 rather than :override for comint-redirect-filter.
1156 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1157 Call it instead of comint-redirect-original-filter-function (which
1158 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1159
1160 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1161
1162 * frame.el (display-monitor-attributes-list): Add NS case.
1163 (ns-display-monitor-attributes-list): Declare.
1164
1165 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1166
1167 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1168
1169 2013-05-09 Glenn Morris <rgm@gnu.org>
1170
1171 * international/fontset.el (vertical-centering-font-regexp):
1172 Set standard-value.
1173
1174 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1175
1176 * bookmark.el (bookmark-search-delay):
1177 * cus-start.el (vertical-centering-font-regexp):
1178 * ps-mule.el (ps-mule-font-info-database-default):
1179 * ps-print.el (ps-default-fg, ps-default-bg):
1180 * type-break.el (type-break-good-break-interval):
1181 * whitespace.el (whitespace-indentation-regexp)
1182 (whitespace-space-after-tab-regexp):
1183 * emacs-lisp/testcover.el (testcover-1value-functions)
1184 (testcover-noreturn-functions, testcover-progn-functions)
1185 (testcover-prog1-functions):
1186 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1187 * eshell/em-glob.el (eshell-glob-translate-alist):
1188 * play/tetris.el (tetris-tty-colors):
1189 * progmodes/cpp.el (cpp-face-default-list):
1190 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1191 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1192 (idlwave-help-browser-generic-args):
1193 * progmodes/make-mode.el (makefile-special-targets-list):
1194 * progmodes/python.el (python-shell-virtualenv-path):
1195 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1196 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1197 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1198 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1199 * textmodes/reftex-vars.el (reftex-format-label-function):
1200 * textmodes/remember.el (remember-diary-file): Fix custom types.
1201
1202 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1203 Add :version.
1204
1205 2013-05-09 Leo Liu <sdl.web@gmail.com>
1206
1207 * progmodes/octave.el (inferior-octave-completion-at-point):
1208 Restore file completion. (Bug#14300)
1209 (inferior-octave-startup): Fix incorrect highlighting for the
1210 first prompt.
1211
1212 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1213
1214 * progmodes/ruby-mode.el: First cut at SMIE support.
1215 (ruby-use-smie): New var.
1216 (ruby-smie-grammar): New constant.
1217 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1218 (ruby-smie--forward-token, ruby-smie--backward-token)
1219 (ruby-smie-rules): New functions.
1220 (ruby-mode-variables): Setup SMIE if applicable.
1221
1222 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1223
1224 * simple.el (line-move-visual): Signal beginning/end of buffer
1225 only if vertical-motion moved less than it was requested. Avoids
1226 silly incorrect error messages when there are display strings with
1227 multiple newlines at EOL.
1228
1229 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1230
1231 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1232 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1233 (prolog-char-quote-workaround):
1234 * progmodes/cperl-mode.el (cperl-under-as-char):
1235 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1236 Mark as obsolete.
1237 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1238 their declaration.
1239 (vhdl-mode-syntax-table-init): Remove.
1240
1241 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1242 last change.
1243
1244 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1245 syntax for "_".
1246 (ld-script-font-lock-keywords):
1247 Change regexps to use things like \_< and \_>.
1248
1249 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1250 Change all regexps to use things like \_< and \_>.
1251
1252 * progmodes/autoconf.el (autoconf-definition-regexp)
1253 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1254 Handle a _ with symbol syntax.
1255 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1256
1257 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1258 Consolidate declaration.
1259 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1260 the declaration.
1261 (ada-create-syntax-table): Remove.
1262 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1263 already has the right syntax nowadays.
1264 (ada-goto-next-word): Don't change the syntax of "_".
1265
1266 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1267 with-wrapper-hook.
1268
1269 2013-05-08 Sam Steingold <sds@gnu.org>
1270
1271 * thingatpt.el (thing-at-point): Accept optional second argument
1272 NO-PROPERTIES to strip the text properties from the return value.
1273 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1274 to `thing-at-point' instead of stripping the properties ourselves.
1275 Also, when `thing-at-point' fails to find a url, prepend "http://"
1276 to the filename at point on the assumption that the user is
1277 pointing at something like gnu.org/gnu.
1278
1279 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1280
1281 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1282 * faces.el (crm-separator):
1283 Silence byte-compiler.
1284
1285 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1286 (tool-bar-map): Remove unneeded defvars.
1287
1288 2013-05-08 Leo Liu <sdl.web@gmail.com>
1289
1290 Re-work a fix for bug#10994 based on Le Wang's patch.
1291 * ido.el (ido-remove-consecutive-dups): New helper.
1292 (ido-completing-read): Use it.
1293 (ido-chop): Revert fix for bug#10994.
1294
1295 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1296
1297 * cus-edit.el (custom-save-variables):
1298 Pretty-print long values. (Bug#14187)
1299
1300 2013-05-08 Glenn Morris <rgm@gnu.org>
1301
1302 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1303 (m4-mode-syntax-table): Init in the defvar.
1304 (m4-mode-abbrev-table): Let define-derived-mode define it.
1305
1306 2013-05-08 Tom Tromey <tromey@redhat.com>
1307
1308 * progmodes/m4-mode.el (m4-mode-syntax-table):
1309 Do not treat "_" as word constituent. (Bug#14167)
1310
1311 2013-05-07 Glenn Morris <rgm@gnu.org>
1312
1313 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1314 Remove explicit eshell-isearch-cancel-map.
1315
1316 * progmodes/f90.el (f90-smart-end-names): New option.
1317 (f90-smart-end): Doc fix.
1318 (f90-end-block-optional-name): New constant.
1319 (f90-block-match): Respect f90-smart-end-names.
1320
1321 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1322
1323 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1324 about implicit semi-colons (bug#14218).
1325
1326 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1327
1328 * frame.el (display-monitor-attributes-list)
1329 (frame-monitor-attributes): New functions.
1330
1331 2013-05-06 Leo Liu <sdl.web@gmail.com>
1332
1333 * progmodes/octave.el (octave-syntax-propertize-function): Change
1334 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1335 (octave-font-lock-keywords): Use octave-operator-regexp.
1336 (octave-completion-at-point): Rename from
1337 octave-completion-at-point-function.
1338 (inferior-octave-directory-tracker): Robustify.
1339 (octave-text-functions): Remove and fix its uses. No such things
1340 any more.
1341
1342 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 * emacs-lisp/trace.el (trace--display-buffer): New function.
1345 (trace-make-advice): Use it.
1346
1347 2013-05-06 Juri Linkov <juri@jurta.org>
1348
1349 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1350 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1351 Doc fix.
1352 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1353 in the help string. (Bug#12985)
1354
1355 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1356
1357 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1358
1359 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1361 * progmodes/perl-mode.el: Add support for here documents.
1362 (perl-syntax-propertize-function): Match here-doc markers.
1363 (perl-syntax-propertize-special-constructs): Find their end.
1364 (perl-imenu-generic-expression): Use [:alnum:].
1365
1366 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1367 (advice--add-function): Refresh the advice if already present
1368 (bug#14317).
1369
1370 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1371
1372 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1373
1374 2013-05-06 Glenn Morris <rgm@gnu.org>
1375
1376 * w32-fns.el (w32-charset-info-alist): Declare.
1377
1378 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1379 of its defcustom properties.
1380 (eshell-cmpl-initialize): No need to load pcomplete.
1381
1382 * generic-x.el: No need to require comint when compiling.
1383
1384 * net/eudc-export.el: Make it loadable without bbdb.
1385 (top-level): Use require rather than load-library.
1386 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1387 (eudc-batch-export-records-to-bbdb)
1388 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1389 Require bbdb.
1390
1391 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1394 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1395 some tweaks, instead.
1396
1397 2013-05-05 Leo Liu <sdl.web@gmail.com>
1398
1399 * progmodes/octave.el (octave-font-lock-keywords)
1400 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1401 (inferior-octave-send-list-and-digest): Improve error message.
1402 (octave-mode, inferior-octave-mode): Use setq-local.
1403 (octave-help): Set info-lookup-mode.
1404
1405 2013-05-05 Richard Stallman <rms@gnu.org>
1406
1407 * vc/compare-w.el (compare-windows-whitespace):
1408 Treat no-break space as whitespace.
1409
1410 * mail/rmailsum.el (rmail-summary-rmail-update):
1411 Detect empty summary and don't change selected message.
1412 (rmail-summary-goto-msg): Likewise.
1413
1414 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1415 Doc fixes, rename args.
1416
1417 2013-05-05 Alan Mackenzie <acm@muc.de>
1418
1419 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1420
1421 2013-05-05 Juri Linkov <juri@jurta.org>
1422
1423 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1424 to not add the length of the summary segment to the return value.
1425 (Bug#14125)
1426
1427 2013-05-05 Leo Liu <sdl.web@gmail.com>
1428
1429 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1430 (inferior-octave-output-filter): Remove.
1431 (octave-send-region, inferior-octave-startup): Fix callers.
1432 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1433 (octave-binary-file-extensions): New user variable.
1434 (octave-find-definition): Confirm if opening binary files.
1435 (octave-help-file): Use octave-find-definition to get the binary
1436 confirmation.
1437 (octave-help): Adjust for octave-help-file change.
1438
1439 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1440
1441 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1442 Merge the two entries that handle function definitions.
1443 (pascal--syntax-propertize): New const.
1444 (pascal-mode): Use it. Use setq-local.
1445
1446 2013-05-04 Glenn Morris <rgm@gnu.org>
1447
1448 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1449 (diary-from-outlook): Respect diary-from-outlook-function.
1450
1451 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1454 Move the declaration from C.
1455 (read-minibuffer, eval-minibuffer): Move from C.
1456 (completion-setup-function): Avoid minibuffer-completion-contents.
1457
1458 2013-05-03 Leo Liu <sdl.web@gmail.com>
1459
1460 * progmodes/octave.el (octave-font-lock-keywords): Do not
1461 dehighlight 'end' in comments or strings.
1462 (octave-completing-read, octave-goto-function-definition):
1463 New helpers.
1464 (octave-help-buffer): New user variable.
1465 (octave-help-file, octave-help-function): New button types.
1466 (octave-help): New command and bind it to C-h ;.
1467 (octave-find-definition): New command and bind it to M-.
1468 (user-error): Alias to error if not defined.
1469
1470 2013-05-02 Leo Liu <sdl.web@gmail.com>
1471
1472 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1473 for \. (bug#14332)
1474 (octave-font-lock-keywords): Include [ and {.
1475
1476 2013-05-02 Leo Liu <sdl.web@gmail.com>
1477
1478 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1479 (inferior-octave): Remove calling comint-mode and return the buffer.
1480 (inferior-octave-startup): Cosmetic changes.
1481
1482 2013-05-02 Leo Liu <sdl.web@gmail.com>
1483
1484 * progmodes/octave.el (octave-syntax-propertize-function):
1485 Include the case when ' is at line beginning. (Bug#14336)
1486
1487 2013-05-02 Glenn Morris <rgm@gnu.org>
1488
1489 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1490 * desktop.el (vc-dir-mode): Just autoload it here.
1491
1492 2013-05-02 Alan Mackenzie <acm@muc.de>
1493
1494 Eliminate variable c-standard-font-lock-fontify-region-function.
1495 * progmodes/cc-mode.el
1496 (c-standard-font-lock-fontify-region-function): Remove.
1497 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1498
1499 2013-05-01 Leo Liu <sdl.web@gmail.com>
1500
1501 * progmodes/octave.el: Compatible with older emacs-24 releases.
1502 (inferior-octave-has-built-in-variables): Remove. Built-in
1503 variables were removed from Octave in 2007.
1504 (inferior-octave-startup): Fix uses.
1505 (comint-line-beginning-position): Remove compatibility code for
1506 emacs 21.
1507
1508 2013-05-01 Juri Linkov <juri@jurta.org>
1509
1510 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1511
1512 2013-05-01 Juri Linkov <juri@jurta.org>
1513
1514 * comint.el (comint-previous-matching-input): Don't print message
1515 "History item: %d" when `isearch-mode' is active.
1516 (comint-history-isearch-message): Print message "History item: %d"
1517 when `comint-input-ring-index' is not empty and this function is
1518 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1519
1520 2013-05-01 Leo Liu <sdl.web@gmail.com>
1521
1522 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1523 definitions. Use completion-at-point to insert keywords.
1524 (octave-abbrev-start): Remove.
1525 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1526
1527 2013-04-30 Leo Liu <sdl.web@gmail.com>
1528
1529 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1530 change.
1531
1532 2013-04-30 Alan Mackenzie <acm@muc.de>
1533
1534 Handle arbitrarily long C++ member initialisation lists.
1535 * progmodes/cc-engine.el (c-back-over-member-initializers):
1536 new function.
1537 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1538 (most) member init lists.
1539
1540 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1541
1542 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1543 variable.
1544
1545 2013-04-30 Leo Liu <sdl.web@gmail.com>
1546
1547 * progmodes/octave.el (octave-variables): Remove. No builtin
1548 variables any more. All converted to functions.
1549 (octave-font-lock-keywords, octave-completion-at-point-function):
1550 Fix uses.
1551 (octave-font-lock-texinfo-comment): New user variable.
1552 (octave-texinfo-font-lock-keywords): New variable for texinfo
1553 comment block.
1554 (octave-function-comment-block): New face.
1555 (octave-font-lock-texinfo-comment): New function.
1556 (octave-mode): Font lock texinfo comment block.
1557
1558 2013-04-29 Leo Liu <sdl.web@gmail.com>
1559
1560 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1561 indexing expression.
1562 (octave-continuation-string): Do not use \.
1563 (inferior-octave-complete-impossible): Remove.
1564 (inferior-octave-completion-table)
1565 (inferior-octave-completion-at-point): Remove its uses.
1566 (inferior-octave-startup): completion_matches was introduced to
1567 Octave in 1996 so safe to assume it.
1568 (octave-function-file-comment): Improve to follow how Octave does it.
1569 (octave-update-function-file-comment): Tweak.
1570
1571 2013-04-29 Leo Liu <sdl.web@gmail.com>
1572
1573 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1574 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1575 (octave-function-file-comment): Fix typo.
1576 (octave-sync-function-file-names): Use read-char-choice.
1577
1578 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1579
1580 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1581 to t for the less important warnings.
1582
1583 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1584
1585 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1586
1587 2013-04-27 Glenn Morris <rgm@gnu.org>
1588
1589 * vc/log-view.el (log-view-current-entry):
1590 Treat "---" separator lines as part of the following rev. (Bug#14169)
1591
1592 2013-04-27 Juri Linkov <juri@jurta.org>
1593
1594 * subr.el (read-number): Doc fix about using it by interactive
1595 code letter `n'. (Bug#14254)
1596
1597 2013-04-27 Juri Linkov <juri@jurta.org>
1598
1599 * desktop.el (desktop-auto-save-timeout): New option.
1600 (desktop-file-checksum): New variable.
1601 (desktop-save): Add optional arg `auto-save' and don't auto-save
1602 if nothing changed.
1603 (desktop-auto-save-timer): New variable.
1604 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1605 (after-init-hook): Call `desktop-auto-save-set-timer'.
1606 Suggested by Reuben Thomas <rrt@sc3d.org> in
1607 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1608
1609 2013-04-27 Leo Liu <sdl.web@gmail.com>
1610
1611 * progmodes/octave.el (octave-function-file-p)
1612 (octave-skip-comment-forward, octave-function-file-comment)
1613 (octave-update-function-file-comment): New functions.
1614 (octave-mode-map): Bind C-c ; to
1615 octave-update-function-file-comment.
1616 (octave-mode-menu): Add octave-update-function-file-comment.
1617 (octave-mode, inferior-octave-mode): Fix doc-string.
1618 (octave-insert-defun): Conform to Octave's coding convention.
1619 (Bug#14285)
1620
1621 * files.el (basic-save-buffer): Don't let errors in
1622 before-save-hook prevent saving buffer.
1623
1624 2013-04-20 Roland Winkler <winkler@gnu.org>
1625
1626 * faces.el (read-face-name): Use completing-read if arg multiple
1627 is nil.
1628
1629 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1630
1631 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1632 displayed, move point to after the totals line.
1633 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1634 for the details.
1635
1636 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1637
1638 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1639 Add current dir to the load-path.
1640 (package-generate-autoloads): Don't rely on
1641 autoload-ensure-default-file.
1642
1643 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1644
1645 * textmodes/remember.el (remember-store-in-files): Document that
1646 the file name format is passed to `format-time-string'.
1647
1648 2013-04-26 Leo Liu <sdl.web@gmail.com>
1649
1650 * progmodes/octave.el (octave-sync-function-file-names): New function.
1651 (octave-mode): Use it in before-save-hook.
1652
1653 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1654
1655 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1656 (bug#14274).
1657
1658 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1659 \n and comment, even if it's not an implicit ; (bug#14218).
1660
1661 2013-04-26 Glenn Morris <rgm@gnu.org>
1662
1663 * subr.el (read-number): Once more use `read' rather than
1664 `string-to-number', to trap non-numeric input. (Bug#14254)
1665
1666 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1667
1668 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1669 Use `syntax-multiline' text property consistently instead of
1670 `font-lock-multiline'. (bug#14237).
1671
1672 2013-04-26 Glenn Morris <rgm@gnu.org>
1673
1674 * emacs-lisp/shadow.el (list-load-path-shadows):
1675 No longer necessary to check for duplicate simple.el, since
1676 2012-07-07 change to init_lread to not include installation lisp
1677 directories in load-path when running uninstalled. (Bug#14270)
1678
1679 2013-04-26 Leo Liu <sdl.web@gmail.com>
1680
1681 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1682 (octave-mode, inferior-octave-mode): Use setq-local.
1683 (octave-not-in-string-or-comment-p): Rename to
1684 octave-in-string-or-comment-p.
1685 (octave-in-comment-p, octave-in-string-p)
1686 (octave-in-string-or-comment-p): Replace defsubst with defun.
1687
1688 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1689
1690 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1691
1692 2013-04-25 Bastien Guerry <bzg@gnu.org>
1693
1694 * textmodes/remember.el (remember-data-directory)
1695 (remember-directory-file-name-format): Fix custom types.
1696
1697 2013-04-25 Leo Liu <sdl.web@gmail.com>
1698
1699 * progmodes/octave.el (octave-completion-at-point-function):
1700 Make use of inferior octave process.
1701 (octave-initialize-completions): Remove.
1702 (inferior-octave-completion-table): New function.
1703 (inferior-octave-completion-at-point): Use it.
1704 (octave-completion-alist): Remove.
1705
1706 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1707
1708 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1709 (opascal-mode-syntax-table): New var.
1710 (opascal-literal-kind, opascal-is-literal-end)
1711 (opascal-literal-token-at): Rewrite.
1712 (opascal--literal-start-re, opascal-font-lock-keywords)
1713 (opascal--syntax-propertize): New constants.
1714 (opascal-font-lock-defaults): Adjust.
1715 (opascal-mode): Use them. Set comment-<foo> variables as well.
1716 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1717 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1718 (delphi-other-face, opascal-other-face): Remove face variables.
1719 (opascal-save-state): Remove macro.
1720 (opascal-fontifying-progress-step): Remove constant.
1721 (opascal--ignore-changes): Remove var.
1722 (opascal-set-token-property, opascal-parse-next-literal)
1723 (opascal-is-stable-literal, opascal-complete-literal)
1724 (opascal-is-literal-start, opascal-face-of)
1725 (opascal-parse-region, opascal-parse-region-until-stable)
1726 (opascal-fontify-region, opascal-after-change)
1727 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1728 (opascal-debug-parse-region, opascal-debug-parse-window)
1729 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1730 (opascal-debug-fontify-buffer): Remove.
1731 (opascal-debug-mode-map): Adjust accordingly.
1732
1733 2013-04-25 Leo Liu <sdl.web@gmail.com>
1734
1735 Merge octave-mod.el and octave-inf.el into octave.el with some
1736 cleanups.
1737 * progmodes/octave.el: New file renamed from octave-mod.el.
1738 * progmodes/octave-inf.el: Merged into octave.el.
1739 * progmodes/octave-mod.el: Renamed to octave.el.
1740
1741 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1742
1743 * textmodes/reftex-vars.el
1744 (reftex-label-ignored-macros-and-environments): New defcustom.
1745
1746 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1747
1748 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1751 (smie-indent-keyword): Improve the check to ensure that the next
1752 comment is really on the same line.
1753 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1754
1755 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1756 semi-colons if the line is not otherwise empty (bug#14218).
1757
1758 2013-04-25 Glenn Morris <rgm@gnu.org>
1759
1760 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1761
1762 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * progmodes/opascal.el (opascal-set-token-property): Rename from
1765 opascal-set-text-properties and only set `token' (bug#14134).
1766 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1767 (opascal-literal-text-properties): Remove.
1768 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1769 Adjust callers.
1770
1771 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1772
1773 * textmodes/remember.el (remember-handler-functions): Add an
1774 option for a new handler `remember-store-in-files'.
1775 (remember-data-directory, remember-directory-file-name-format):
1776 New options.
1777 (remember-store-in-files): New function to store remember notes
1778 as separate files within a directory.
1779
1780 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1781
1782 * progmodes/compile.el (compilation-next-error-function):
1783 Pass "formats" to compilation-find-file (bug#11777).
1784
1785 2013-04-24 Glenn Morris <rgm@gnu.org>
1786
1787 * vc/vc-bzr.el (vc-bzr-print-log):
1788 * vc/vc-hg.el (vc-hg-print-log):
1789 * vc/vc-svn.el (vc-svn-print-log):
1790 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1791
1792 * vc/vc-bzr.el (vc-bzr-print-log):
1793 * vc/vc-cvs.el (vc-cvs-print-log):
1794 * vc/vc-git.el (vc-git-print-log):
1795 * vc/vc-hg.el (vc-hg-print-log):
1796 * vc/vc-mtn.el (vc-mtn-print-log):
1797 * vc/vc-rcs.el (vc-rcs-print-log):
1798 * vc/vc-sccs.el (vc-sccs-print-log):
1799 * vc/vc-svn.el (vc-svn-print-log):
1800 * vc/vc.el (vc-print-log-internal): Doc fixes.
1801
1802 2013-04-23 Glenn Morris <rgm@gnu.org>
1803
1804 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1805 Remove venerable code attempting to avoid substitute-command-keys.
1806
1807 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1808
1809 * textmodes/reftex-vars.el (reftex-label-regexps):
1810 Call `reftex-compile-variables' after changes to this variable.
1811
1812 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1813
1814 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1815 Use lexical-binding.
1816 (jit-lock-force-redisplay): Use markers, check buffer's continued
1817 existence and beware narrowed buffers.
1818 (jit-lock-fontify-now): Adjust call accordingly.
1819
1820 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1823 to avoid misleading the user.
1824
1825 2013-04-22 Leo Liu <sdl.web@gmail.com>
1826
1827 * info-look.el: Prefer latex2e.info. (Bug#14240)
1828
1829 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1830
1831 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1832
1833 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1834 * net/tramp.el (tramp-call-process): ... here
1835 (tramp-set-completion-function, tramp-parse-putty):
1836 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1837 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1838 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1839 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1840 (tramp-call-local-coding-command): Use `tramp-call-process'
1841 instead of `tramp-compat-call-process'.
1842
1843 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1844 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1845 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1846 (tramp-find-inline-compress): Improve traces.
1847 (tramp-maybe-send-script): Check for Perl binary.
1848 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1849
1850 2013-04-22 Daiki Ueno <ueno@gnu.org>
1851
1852 * epg.el (epg-context-pinentry-mode): New function.
1853 (epg-context-set-pinentry-mode): New function.
1854 (epg--start): Pass --pinentry-mode option to gpg command.
1855
1856 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1857
1858 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
1859 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1860 `completion-at-point'. (Bug#13774)
1861
1862 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1863 default key binding for `describe-distribution' has been moved to
1864 `C-h C-o'. (Bug#13970)
1865
1866 2013-04-21 Glenn Morris <rgm@gnu.org>
1867
1868 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1869 Add doc strings.
1870 (vc-print-log): Clarify interactive prompt.
1871
1872 2013-04-20 Glenn Morris <rgm@gnu.org>
1873
1874 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1875 No longer include timestamp etc information.
1876
1877 2013-04-20 Roland Winkler <winkler@gnu.org>
1878
1879 * faces.el (read-face-name): Bug fix, return just one face if arg
1880 multiple is nil. (Bug#14209)
1881
1882 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1883
1884 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1885 (remove-function): Autoload.
1886
1887 * comint.el (comint-redirect-original-filter-function): Remove.
1888 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1889 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1890 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1891 * progmodes/prolog.el (prolog-consult-compile):
1892 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1893 Use add/remove-function instead.
1894 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1895 (gud-tooltip-process-output, gud-tooltip-tips):
1896 Use add/remove-function instead.
1897 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1898 (scheme-interaction-mode, exit-scheme-interaction-mode):
1899 Use add/remove-function instead.
1900
1901 * vc/vc-dispatcher.el: Use lexical-binding.
1902 (vc--process-sentinel): Rename from vc-process-sentinel.
1903 Change last arg to be the code to run. Don't use vc-previous-sentinel
1904 and vc-sentinel-commands any more.
1905 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1906 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1907
1908 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1909
1910 * progmodes/sh-script.el (sh-imenu-generic-expression):
1911 Handle function names with a single character. (Bug#14111)
1912
1913 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1914
1915 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1916 for subroutines defined in an eval (bug#14182).
1917
1918 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1919
1920 * bookmark.el (bookmark-completing-read): Improve handling of empty
1921 string (bug#14176).
1922
1923 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1926
1927 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1928
1929 New faster Imenu implementation (bug#14058).
1930 * progmodes/python.el:
1931 (python-imenu-prev-index-position):
1932 (python-imenu-format-item-label-function)
1933 (python-imenu-format-parent-item-label-function)
1934 (python-imenu-format-parent-item-jump-label-function):
1935 New vars.
1936 (python-imenu-format-item-label)
1937 (python-imenu-format-parent-item-label)
1938 (python-imenu-format-parent-item-jump-label)
1939 (python-imenu--put-parent, python-imenu--build-tree)
1940 (python-imenu-create-index, python-imenu-create-flat-index)
1941 (python-util-popn): New functions.
1942 (python-mode): Set imenu-create-index-function to
1943 python-imenu-create-index.
1944
1945 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * winner.el (winner-active-region): Use region-active-p, activate-mark
1948 and deactivate-mark (bug#14225).
1949
1950 * simple.el (deactivate-mark): Don't inline it.
1951
1952 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1953
1954 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1955
1956 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1957
1958 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1959 file extensions from the archive-mode entry in order to prefer
1960 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1961
1962 2013-04-18 Leo Liu <sdl.web@gmail.com>
1963
1964 * bindings.el (help-event-list): Add ?\?.
1965
1966 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 * subr.el (with-wrapper-hook): Declare obsolete.
1969 * simple.el (filter-buffer-substring-function): New hook.
1970 (filter-buffer-substring): Use it.
1971 (filter-buffer-substring-functions): Mark obsolete.
1972 * minibuffer.el (completion-in-region-function): New hook.
1973 (completion-in-region): Use it.
1974 (completion-in-region-functions): Mark obsolete.
1975 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1976 * abbrev.el (abbrev-expand-function): New hook.
1977 (expand-abbrev): Use it.
1978 (abbrev-expand-functions): Mark obsolete.
1979 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1980 and :filter-return.
1981
1982 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1983
1984 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1985 and do not care about match data.
1986
1987 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1990 completion tables when completing error conditions and
1991 `declare' arguments.
1992 (lisp-complete-symbol, field-complete): Mark as obsolete.
1993 (check-parens): Unmatched parens are user errors.
1994 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1995
1996 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1997
1998 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1999 command changed buffer (ie. `flyspell-pre-buffer' is not current
2000 buffer), which prevents making decisions based on invalid value of
2001 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2002 cause an error when `flyspell-pre-point' was nil after switching
2003 buffers.
2004 (flyspell-post-command-hook): No longer needs to change buffers when
2005 checking pre-word. While at it remove unnecessary progn.
2006
2007 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2008
2009 * textmodes/ispell.el (ispell-add-per-file-word-list):
2010 Fix `flyspell-correct-word-before-point' error when accepting
2011 words and `coment-padding' is an integer by using
2012 `comment-normalize-vars' (Bug #14214).
2013
2014 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2015
2016 New defun movement commands.
2017 * progmodes/python.el (python-nav--syntactically)
2018 (python-nav--forward-defun, python-nav-backward-defun)
2019 (python-nav-forward-defun): New functions.
2020
2021 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2022
2023 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2024 (python-syntax-context): Use named compiler-macro for backwards
2025 compatibility with Emacs 24.x.
2026
2027 2013-04-17 Leo Liu <sdl.web@gmail.com>
2028
2029 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2030 octave-hide-process-buffer.
2031
2032 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2033
2034 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2035 (bug#14216).
2036
2037 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2038
2039 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2040 Fix adjustment of offset when receiving incomplete responses from GDB
2041 (bug#14129).
2042
2043 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2046 python-mode-abbrev-table.
2047 (python-skeleton-define): Adjust accordingly.
2048 (python-mode-abbrev-table): New table that inherits from it so that
2049 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2050
2051 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2052 (abbrev-symbol): Use it.
2053 (abbrev--before-point): Use it since we already handle inheritance.
2054
2055 2013-04-16 Leo Liu <sdl.web@gmail.com>
2056
2057 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2058 binding to info-lookup-symbol.
2059
2060 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2061
2062 * minibuffer.el (completion--twq-all):
2063 * term/ns-win.el (ns-initialize-window-system):
2064 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2065
2066 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2069 global bindings.
2070
2071 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2072
2073 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2074
2075 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2076 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2077 to nil.
2078 (ruby-end-of-defun): Remove the unused arg, change the docstring
2079 to reflect that this function is only used as the value of
2080 `end-of-defun-function'.
2081 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2082 to reflect an earlier change that beginning/end-of-defun functions
2083 jump between methods in a class definition, as well as top-level
2084 functions.
2085
2086 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * minibuffer.el (minibuffer-complete): Don't just scroll
2089 a *Completions* that's been iconified.
2090 (minibuffer-force-complete): Make sure repetitions do cycle when going
2091 through completion-in-region -> minibuffer-complete.
2092
2093 2013-04-15 Alan Mackenzie <acm@muc.de>
2094
2095 Correct the placement of c-cpp-delimiters when there're #s not at
2096 col 0.
2097
2098 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2099 place a submatch around the #.
2100 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2101 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2102 on the #, not BOL.
2103
2104 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2105
2106 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2107 (advice--member-p): New arg `name'.
2108 (advice--add-function, advice-member-p): Use it (bug#14202).
2109
2110 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2111
2112 Reformulate java imenu-generic-expression.
2113 The old expression contained ill formed regexps.
2114
2115 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2116 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2117 (cc-imenu-java-method-arg-regexp): New defconsts.
2118 (cc-imenu-java-build-type-args-regex): New defun.
2119 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2120 handling of spaces in the regexp.
2121
2122 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2123
2124 * textmodes/ispell.el (ispell-command-loop): Remove
2125 flyspell highlight of a word when ispell accepts it (bug #14178).
2126
2127 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2128
2129 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2130 uses code from the previous `ange-ftp-run-real-handler'.
2131 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2132 only in case that function exist. This is needed for proper
2133 unloading of Tramp.
2134
2135 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2136
2137 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2138
2139 * textmodes/reftex.el (reftex-compile-variables): Use it.
2140
2141 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * files.el (normal-mode): Only use default major-mode if no other mode
2144 was specified.
2145
2146 * emacs-lisp/trace.el (trace-values): New function.
2147
2148 * files.el: Allow : in local variables (bug#14089).
2149 (hack-local-variable-regexp): New var.
2150 (hack-local-variables-prop-line, hack-local-variables): Use it.
2151
2152 2013-04-13 Roland Winkler <winkler@gnu.org>
2153
2154 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2155 data before it gets modified by bibtex-beginning-of-entry.
2156
2157 2013-04-13 Roland Winkler <winkler@gnu.org>
2158
2159 * textmodes/bibtex.el (bibtex-url): Doc fix.
2160
2161 2013-04-13 Roland Winkler <winkler@gnu.org>
2162
2163 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2164 does not visit a BibTeX file, exclude it from the list of buffers
2165 returned by bibtex-initialize.
2166
2167 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2168
2169 * window.el (split-window): Remove interactive form, since as a
2170 command this function is a special case of split-window-below.
2171 Correct doc string.
2172
2173 2013-04-12 Roland Winkler <winkler@gnu.org>
2174
2175 * faces.el (read-face-name): Do not override value of arg default.
2176 Allow single faces and strings as default values. Remove those
2177 elements from return value that are not faces.
2178 (describe-face): Simplify.
2179 (face-at-point): New optional args thing and multiple so that this
2180 function can provide the same functionality previously provided by
2181 read-face-name.
2182 (make-face-bold, make-face-unbold, make-face-italic)
2183 (make-face-unitalic, make-face-bold-italic, invert-face)
2184 (modify-face, read-face-and-attribute): Use face-at-point.
2185
2186 * cus-edit.el (customize-face, customize-face-other-window)
2187 * cus-theme.el (custom-theme-add-face)
2188 * face-remap.el (buffer-face-set)
2189 * facemenu.el (facemenu-set-face): Use face-at-point.
2190
2191 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2192
2193 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2194
2195 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2196
2197 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2198 off leading { and trailing } from field values.
2199
2200 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * emacs-lisp/timer.el (timer--check): New function.
2203 (timer--time, timer-set-function, timer-event-handler): Use it.
2204 (timer-set-idle-time): Simplify.
2205 (timer--activate): CSE.
2206 (timer-event-handler): Give more info in error message.
2207 (internal-timer-start-idle): New function, moved from C.
2208
2209 * mpc.el (mpc-proc): Add `restart' argument.
2210 (mpc-proc-cmd): Use it.
2211 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2212 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2213 less often.
2214
2215 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2216
2217 * progmodes/sh-script.el: Implement `sh-mode' own
2218 `add-log-current-defun-function' (bug#14112).
2219 (sh-current-defun-name): New function.
2220 (sh-mode): Use the function.
2221
2222 2013-04-09 Bastien Guerry <bzg@gnu.org>
2223
2224 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2225
2226 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2227
2228 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2229
2230 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2231 timer (bug#14156).
2232
2233 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2234
2235 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2236 declaration.
2237
2238 2013-04-07 Leo Liu <sdl.web@gmail.com>
2239
2240 * pcmpl-x.el: New file.
2241
2242 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2243
2244 Do not set x-display-name until X connection is established.
2245 This is needed to prevent from weird situation described at
2246 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2247 * frame.el (make-frame): Set x-display-name after call to
2248 window system initialization function, not before.
2249 * term/x-win.el (x-initialize-window-system): Add optional
2250 display argument and use it.
2251 * term/w32-win.el (w32-initialize-window-system):
2252 * term/ns-win.el (ns-initialize-window-system):
2253 * term/pc-win.el (msdos-initialize-window-system):
2254 Add compatible optional display argument.
2255
2256 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2257
2258 * files.el (normal-backup-enable-predicate): On MS-Windows and
2259 MS-DOS compare truenames of temporary-file-directory and of the
2260 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2261 don't fail comparison by compare-strings. Also, compare file
2262 names case-insensitively on MS-Windows and MS-DOS.
2263
2264 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2267 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2268
2269 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2270
2271 * whitespace.el (whitespace-color-on, whitespace-color-off):
2272 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2273
2274 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2275
2276 * ispell.el (ispell-set-spellchecker-params):
2277 Really set `ispell-args' for all equivs.
2278
2279 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2280
2281 * ido.el (ido-completions): Use extra elements of ido-decorations
2282 (bug#14143).
2283 (ido-decorations): Update docstring.
2284
2285 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2286
2287 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2288 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2289 nil during initialization, in order not to miss changes since the
2290 file was opened. (Bug#14140)
2291
2292 2013-04-05 Leo Liu <sdl.web@gmail.com>
2293
2294 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2295
2296 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2297
2298 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2299
2300 2013-04-04 Glenn Morris <rgm@gnu.org>
2301
2302 * electric.el (electric-pair-inhibit-predicate): Add :version.
2303
2304 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2307 when a package is required several times (bug#14082).
2308
2309 2013-04-04 Roland Winkler <winkler@gnu.org>
2310
2311 * faces.el (read-face-name): Behave as promised by the docstring.
2312 Assume that arg default is a list of faces.
2313 (describe-face): Call read-face-name with list of default faces.
2314
2315 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2316
2317 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2318 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2319 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2320 the header.
2321 (bookmark-exit-hook-internal): Save even if list is empty.
2322
2323 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2324
2325 * emacs-lisp/package.el (package-pinned-packages): New var.
2326 (package--add-to-archive-contents): Obey it (bug#14118).
2327
2328 2013-04-03 Alan Mackenzie <acm@muc.de>
2329
2330 Handle `parse-partial-sexp' landing inside a comment opener
2331 (Bug#13244). Also adapt to the new values of element 7 of a parse
2332 state.
2333
2334 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2335 parameter `not-in-delimiter'. Handle being inside comment opener.
2336 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2337 character in case we're typing a '*' after a '/'.
2338 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2339 instead by passing the parameter to c-state-pp-to-literal.
2340
2341 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2342 for elt. 7 of a parse state.
2343
2344 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2345
2346 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2347 * international/latin1-disp.el, international/mule-util.el:
2348 * language/cyril-util.el, language/european.el, language/ind-util.el:
2349 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2350 * language/tibetan.el, language/viet-util.el:
2351 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2352
2353 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2354
2355 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2356 (electric-pair-post-self-insert-function): Use it.
2357 (electric-pair-default-inhibit): New function, extracted from
2358 electric-pair-post-self-insert-function.
2359
2360 2013-03-31 Roland Winkler <winkler@gnu.org>
2361
2362 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2363
2364 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2367
2368 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
2369
2370 Un-indent after "pass" and "return" statements (Bug#13888)
2371 * progmodes/python.el (python-indent-block-enders): New var.
2372 (python-indent-calculate-indentation): Use it.
2373
2374 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2375
2376 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2377 defun. Defining it as defalias could introduce too eager
2378 byte-compiler optimization. (Bug#14030)
2379
2380 2013-03-30 Chong Yidong <cyd@gnu.org>
2381
2382 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2383
2384 2013-03-30 Leo Liu <sdl.web@gmail.com>
2385
2386 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2387 (kmacro-execute-from-register): Pass the keyboard macro to
2388 kmacro-call-macro or repeating won't work correctly.
2389
2390 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2391
2392 * progmodes/subword.el: Back to using `forward-symbol'.
2393
2394 * subr.el (forward-whitespace, forward-symbol)
2395 (forward-same-syntax): Move from thingatpt.el.
2396
2397 2013-03-29 Leo Liu <sdl.web@gmail.com>
2398
2399 * kmacro.el (kmacro-to-register): New command.
2400 (kmacro-execute-from-register): New function.
2401 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2402
2403 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * mpc.el: Use defvar-local and setq-local.
2406 (mpc--proc-connect): Connection failures are not bugs.
2407 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2408 (mpc-volume-map): Bind to the up-events.
2409
2410 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2411
2412 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2413 instead of `forward-symbol'.
2414
2415 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2418 (edebug--recursive-edit): Use it.
2419 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2420 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2421
2422 2013-03-28 Leo Liu <sdl.web@gmail.com>
2423
2424 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2425
2426 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2427
2428 * facemenu.el (list-colors-callback): New defvar.
2429 (list-colors-redisplay): New function.
2430 (list-colors-display): Install list-colors-redisplay as the
2431 revert-buffer-function. (Bug#14063)
2432
2433 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2434
2435 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2436 and suffixes don't overlap (bug#14061).
2437
2438 * case-table.el: Use lexical-binding.
2439 (case-table-get-table): New function.
2440 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2441
2442 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2443
2444 * progmodes/subword.el: Add `superword-mode' to do word motion
2445 over symbol_words (parallels and leverages `subword-mode' which
2446 does word motion inside MixedCaseWords).
2447
2448 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2449
2450 * eshell/em-unix.el: Move su and sudo to...
2451 * eshell/em-tramp.el: ...Eshell tramp module.
2452
2453 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2454
2455 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2456 Change return value to be a sexp. Delay `get-buffer' to after
2457 restoring the desktop (bug#13951).
2458
2459 2013-03-26 Leo Liu <sdl.web@gmail.com>
2460
2461 * register.el: Move semantic tag handling back to
2462 cedet/semantic/senator.el. (Bug#14052)
2463
2464 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2467 into the prompt either (bug#13963).
2468
2469 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2470
2471 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2472 part of "(error-foo)".
2473
2474 2013-03-24 Juri Linkov <juri@jurta.org>
2475
2476 * replace.el (list-matching-lines-prefix-face): New defcustom.
2477 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2478 `occur-engine' if `face-differs-from-default-p' returns t.
2479 (occur-engine): Add `,' inside backquote construct to evaluate
2480 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2481 Pass `prefix-face' to the functions `occur-context-lines' and
2482 `occur-engine-add-prefix'.
2483 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2484 `prefix-face' and propertize the prefix with `prefix-face'.
2485 (Bug#14017)
2486
2487 2013-03-24 Leo Liu <sdl.web@gmail.com>
2488
2489 * nxml/rng-valid.el (rng-validate-while-idle)
2490 (rng-validate-quick-while-idle): Guard against deleted buffer.
2491 (Bug#13999)
2492
2493 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2494 is the last entry in kill-buffer-hook.
2495
2496 * files.el (kill-buffer-hook): Doc fix.
2497
2498 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2499
2500 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2501 Make it safe-local.
2502
2503 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2504
2505 2013-03-23 Leo Liu <sdl.web@gmail.com>
2506
2507 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2508 Remove.
2509
2510 * nxml/rng-valid.el (rng-validate-mode)
2511 (rng-after-change-function, rng-do-some-validation):
2512 * nxml/rng-maint.el (rng-validate-buffer):
2513 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2514 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2515 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2516 (nxml-extend-after-change-region): Use with-silent-modifications.
2517
2518 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2519 timer-idle-list.
2520
2521 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2522 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2523 timer-idle-list. (Bug#13999)
2524
2525 2013-03-23 Juri Linkov <juri@jurta.org>
2526
2527 * info.el (info-index-match): New face.
2528 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2529 main pattern and add text properties with the new face to matches
2530 in index entries relative to the beginning of the index entry.
2531 (Bug#14015)
2532
2533 2013-03-21 Eric Ludlam <zappo@gnu.org>
2534
2535 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2536 Inhibit read only while inserting objects.
2537
2538 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2539
2540 * progmodes/cfengine.el: Update docs to mention
2541 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2542 symbol motion. Remove "_" from the word syntax.
2543
2544 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2545
2546 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2547 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2548
2549 2013-03-20 Juri Linkov <juri@jurta.org>
2550
2551 * info.el (Info-next-reference-or-link)
2552 (Info-prev-reference-or-link): New functions.
2553 (Info-next-reference, Info-prev-reference): Use them.
2554 (Info-try-follow-nearest-node): Handle footnote navigation.
2555 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2556
2557 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2558
2559 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2560 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2561
2562 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2563
2564 Suppress unnecessary non-ASCII chatter during build process.
2565 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2566 (batch-skkdic-convert): Suppress most of the chatter.
2567 It's not needed so much now that machines are faster,
2568 and its non-ASCII component was confusing; see Dmitry Gutov in
2569 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2570
2571 2013-03-20 Leo Liu <sdl.web@gmail.com>
2572
2573 * ido.el (ido-chop): Fix bug#10994.
2574
2575 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2576
2577 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2578 Remove vars.
2579 (whitespace-color-on, whitespace-color-off):
2580 Use `font-lock-fontify-buffer' (Bug#13817).
2581
2582 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2583
2584 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2585 remapping in mode-line.
2586 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2587
2588 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2589
2590 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2591 value for `whitespace-line' face (Bug#13875).
2592 (whitespace-font-lock-keywords): Change description.
2593 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2594 the constructed keywords instead.
2595 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2596
2597 2013-03-19 Leo Liu <sdl.web@gmail.com>
2598
2599 * progmodes/compile.el (compilation-display-error): New command.
2600 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2601 C-o. (Bug#13992)
2602
2603 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2604
2605 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2606
2607 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2608
2609 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2610
2611 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2612
2613 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2614
2615 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2616 * net/tramp-gvfs.el (top):
2617 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2618 (tramp-handle-shell-command): Use it.
2619 (tramp-dissect-file-name): Raise an error when hostname is a
2620 method name, and neither method nor user is specified.
2621
2622 * net/trampver.el: Update release number.
2623
2624 2013-03-18 Leo Liu <sdl.web@gmail.com>
2625
2626 Make sure eldoc can be turned off properly.
2627 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2628 eldoc-mode.
2629 (eldoc-display-message-p): Revert last change.
2630 (eldoc-display-message-no-interference-p)
2631 (eldoc-print-current-symbol-info): Tweak.
2632
2633 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2634
2635 * doc-view.el (doc-view-new-window-function): Check the new window
2636 overlay's display property instead the char property of the
2637 buffer's first char. Use `with-selected-window' instead of
2638 `save-window-excursion' with `select-window'.
2639 (doc-view-document->bitmap): Check the current doc-view overlay's
2640 display property instead the char property of the buffer's first char.
2641
2642 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2643
2644 Automate the build of ja-dic.el (Bug#13984).
2645 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2646 from the input, rather than assume that it's been done for us by the
2647 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2648 the current date into a ja-dic.el comment, as that complicates
2649 regression testing.
2650
2651 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * whitespace.el: Fix double evaluation.
2654 (whitespace-space, whitespace-hspace, whitespace-tab)
2655 (whitespace-newline, whitespace-trailing, whitespace-line)
2656 (whitespace-space-before-tab, whitespace-indentation)
2657 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2658 obsolete defvars.
2659 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2660 (whitespace-color-on): Use a single font-lock-add-keywords call.
2661 Fix double-evaluation of face variables.
2662
2663 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2664
2665 * net/tramp-adb.el (tramp-adb-parse-device-names):
2666 Use `start-process' instead of `call-process'. Otherwise, the
2667 function might be blocked under MS Windows. (Bug#13299)
2668
2669 2013-03-17 Leo Liu <sdl.web@gmail.com>
2670
2671 Extend eldoc to display info in the mode-line. (Bug#13978)
2672 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2673 (eldoc-mode-line-string): New variable.
2674 (eldoc-minibuffer-message): New function.
2675 (eldoc-message-function): New variable.
2676 (eldoc-message): Use it.
2677 (eldoc-display-message-p)
2678 (eldoc-display-message-no-interference-p):
2679 Support eldoc-post-insert-mode.
2680
2681 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2682 (eval-expression): Run it.
2683
2684 2013-03-17 Roland Winkler <winkler@gnu.org>
2685
2686 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2687 strings in the list of return values.
2688
2689 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2690
2691 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2692 radix before checking for HMS forms.
2693
2694 2013-03-16 Leo Liu <sdl.web@gmail.com>
2695
2696 * progmodes/scheme.el: Add indentation and font-locking for λ.
2697 (Bug#13975)
2698
2699 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2700
2701 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2702 token before point (bug#13942).
2703
2704 2013-03-16 Leo Liu <sdl.web@gmail.com>
2705
2706 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2707
2708 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2709
2710 * startup.el (command-line-normalize-file-name): Fix handling of
2711 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2712 <xfq.free@gmail.com> in
2713 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2714
2715 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2716
2717 Sync with Tramp 2.2.7.
2718
2719 * net/trampver.el: Update release number.
2720
2721 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2722
2723 * doc-view.el Fix bug#13887.
2724 (doc-view-insert-image): Don't modify overlay associated to
2725 non-live windows, and implement horizontal centering of image in
2726 case it's smaller than the window.
2727 (doc-view-new-window-function): Force redisplay of new windows on
2728 doc-view buffers.
2729
2730 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2731
2732 * saveplace.el (save-place-alist-to-file): Don't sort
2733 `save-place-alist', just pretty-print it (bug#13882).
2734
2735 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2736
2737 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2738 whether `default-file-name-coding-system' is bound. It isn't in
2739 XEmacs.
2740
2741 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2744 backquotes for `obsolete' (bug#13929).
2745
2746 * international/mule.el (find-auto-coding): Include file name in
2747 obsolescence warning (bug#13922).
2748
2749 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2750
2751 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2752 for CFEngine 3-specific indentation.
2753 (cfengine3-indent-line): Use it. Fix up category regex.
2754 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2755
2756 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2757
2758 * type-break.el (type-break-file-name):
2759 * textmodes/remember.el (remember-data-file):
2760 * strokes.el (strokes-file):
2761 * shadowfile.el (shadow-initialize):
2762 * saveplace.el (save-place-file):
2763 * ps-bdf.el (bdf-cache-file):
2764 * progmodes/idlwave.el (idlwave-config-directory):
2765 * net/quickurl.el (quickurl-url-file):
2766 * international/kkc.el (kkc-init-file-name):
2767 * ido.el (ido-save-directory-list-file):
2768 * emulation/viper.el (viper-custom-file-name):
2769 * emulation/vip.el (vip-startup-file):
2770 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2771 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2772
2773 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2774
2775 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2776 * language/thai-word.el: Switch to UTF-8.
2777
2778 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2779
2780 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2781
2782 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2783
2784 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2785 Use with-current-buffer and don't move point.
2786 (net-utils-run-simple): Remove useless code.
2787 (net-utils-remove-ctl-m): Remove unused custom.
2788
2789 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2790
2791 * international/characters.el (glyphless-set-char-table-range): New fun.
2792 (update-glyphless-char-display): Use it (bug#13744).
2793
2794 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2795
2796 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2797 namespaces in the syntax, indent closer for hanging brace
2798 correctly, allow single-quote delimited 'strings', and make
2799 `cfengine3-mode' the default.
2800
2801 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2802
2803 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2804 Use lexical-binding. Fix up docstring according to conventions.
2805 (gdbmi-debug-mode): New var.
2806 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2807 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2808 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2809 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2810 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2811 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2812 (gdbmi-bnf-incomplete-record-result): New functions.
2813 (gdb-car<): Remove function.
2814 (gdbmi-record-list): Remove variable.
2815 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2816 (gdbmi-bnf-result-state-configs): New const.
2817 (gud-gdbmi-marker-filter): Rewrite.
2818 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2819 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2820 Add `token' argument.
2821 (gdb-done, gdb-error): New functions.
2822 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2823
2824 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2825
2826 * term/xterm.el (xterm--report-background-handler): Don't burp
2827 upon timeout.
2828 (xterm--version-handler): Extract from terminal-init-xterm.
2829 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2830 Allow multiple handlers.
2831 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2832
2833 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2834 (xterm--report-background-handler, xterm--query): New functions.
2835 (terminal-init-xterm): Use them.
2836
2837 2013-03-11 Michael R. Mauger <michael@mauger.com>
2838
2839 * progmodes/sql.el Version 3.2
2840 Please note that my address changed to <michael@mauger.com>;
2841 the <mmaug@yahoo.com> address remains active.
2842 (sql-connection-alist): Updates documentation to fix bug#13715.
2843 (sql-connect): Handle missing `sql-connection-alist' correctly.
2844 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2845 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2846 property.
2847 (sql-default-value): New function.
2848 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2849 values were not used.
2850 (sql-rename-buffer): Make sure alternate buffer name has no text
2851 properties.
2852 (sql-input-sender, sql-execute-feature): Fetch variable with
2853 `buffer-local-value' rather than `with-current-buffer'.
2854 (sql-*): Use #' function syntax consistently.
2855 (sql-*): Use message/error/user-error consistently.
2856
2857 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * xt-mouse.el (xterm-mouse-event-read): Remove.
2860 (xterm-mouse--read-event-sequence-1000)
2861 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2862
2863 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2864
2865 * term/xterm.el (xterm-function-map): Support format used with
2866 formatOtherKeys=1 (bug#13839).
2867
2868 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2869 (with-no-warnings): Use `declare'.
2870
2871 * whitespace.el (whitespace-enable-predicate): New variable.
2872 (whitespace-enable-predicate): Use it.
2873
2874 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2875 (comint-output-filter, comint-update-fence):
2876 Use with-silent-modifications.
2877
2878 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2879
2880 * replace.el (occur-read-regexp-defaults-function): New var.
2881 (occur-read-regexp-defaults): New defun.
2882 (occur-read-primary-args): Propagate above change (bug#13892).
2883
2884 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2885
2886 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2887
2888 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2889
2890 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2891
2892 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2893 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2894 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2895 New defconst.
2896 (tramp-gvfs-file-name-handler-alist) [directory-files]
2897 [directory-files-and-attributes, file-exists-p, file-modes]:
2898 Use Tramp default handler.
2899 [file-acl, file-selinux-context, process-file, set-file-acl]:
2900 [set-file-modes, set-file-selinux-context, shell-command]:
2901 [start-file-process]: Remove handler.
2902 [verify-visited-file-modtime]: New handler.
2903 (tramp-gvfs-dbus-string-to-byte-array)
2904 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2905 calls of `dbus-string-to-byte-array' and
2906 `tramp-gvfs-dbus-byte-array-to-string'.
2907 (tramp-gvfs-handle-copy-file)
2908 (tramp-gvfs-handle-delete-directory)
2909 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2910 (tramp-gvfs-handle-file-directory-p)
2911 (tramp-gvfs-handle-file-executable-p)
2912 (tramp-gvfs-handle-file-name-all-completions)
2913 (tramp-gvfs-handle-file-readable-p)
2914 (tramp-gvfs-handle-file-writable-p)
2915 (tramp-gvfs-handle-insert-directory)
2916 (tramp-gvfs-handle-insert-file-contents)
2917 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2918 (tramp-gvfs-handle-set-visited-file-modtime)
2919 (tramp-gvfs-handle-write-region): Rewrite.
2920 (tramp-gvfs-handle-file-acl)
2921 (tramp-gvfs-handle-file-selinux-context)
2922 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2923 (tramp-gvfs-handle-set-file-modes)
2924 (tramp-gvfs-handle-set-file-selinux-context)
2925 (tramp-gvfs-handle-shell-command)
2926 (tramp-gvfs-handle-start-file-process)
2927 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2928 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2929 over the symlinks. Fix user handling.
2930 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2931 of the D-Bus signals.
2932 (tramp-gvfs-connection-mounted-p): Handle different names of the
2933 D-Bus methods.
2934 (tramp-gvfs-mount-spec-entry): New defun.
2935 (tramp-gvfs-mount-spec): Use it.
2936 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2937 there is a share name. Handle different names of the D-Bus
2938 signals and methods. Set connection properties needed for
2939 `tramp-check-cached-permissions'.
2940 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2941 Return t or nil.
2942
2943 * net/tramp.el (tramp-backtrace): Move up.
2944 (tramp-error): Dump a backtrace into the debug buffer when
2945 `tramp-verbose > 9.
2946 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2947 (tramp-file-mode-permissions, tramp-get-local-uid)
2948 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2949 tramp-sh.el.
2950
2951 * net/tramp-sh.el (tramp-file-mode-type-map)
2952 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2953 (tramp-file-mode-permissions, tramp-get-local-uid)
2954 (tramp-get-local-gid): Move to tramp.el.
2955
2956 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2957
2958 Separate mouse-1-click-follows-link from mouse-drag-region.
2959 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2960 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2961 (mouse-drag-line, mouse-drag-track):
2962 Remove mouse-1-click-follows-link code.
2963 (mouse--remap-link-click-p): Remove.
2964
2965 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2966
2967 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2968 (hi-lock-read-regexp-defaults): New defun.
2969 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2970 (hi-lock-face-phrase-buffer): Propagate above change.
2971 Update docstring (bug#13892).
2972
2973 * subr.el (find-tag-default-as-regexp): New defun.
2974 * replace.el (read-regexp): Propagate above change.
2975
2976 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2977
2978 * calc/calc-units.el (calc-convert-units): Fix the way that default
2979 new units are stored.
2980
2981 2013-03-07 Matthias Meulien <orontee@gmail.com>
2982
2983 * bookmark.el: Define a face to highlight bookmark names in
2984 bookmark menu buffers, where the default is a bold face similarly
2985 to buffer names in buffer menu buffers.
2986 (bookmark-menu-bookmark): New face to highlight bookmark names.
2987 (bookmark-insert-location): Remove duplicated text property to
2988 conform to buffer list (see `list-buffers').
2989 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2990 `bookmark-menu-bookmark' to bookmark names.
2991
2992 2013-03-07 Matthias Meulien <orontee@gmail.com>
2993 Karl Fogel <kfogel@red-bean.com>
2994
2995 * bookmark.el: Display the bookmark list header similarly to the
2996 buffer list header (see `list-buffers'), where the default is now
2997 an immovable/immutable header line.
2998 (bookmark-bmenu-use-header-line): New variable.
2999 (bookmark-bmenu-inline-header-height): New name for
3000 `bookmark-bmenu-header-height', to avoid confusion with the code
3001 for the new immovable header. All references changed.
3002 (bookmark-bmenu-set-header): New function.
3003 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3004 Conditionalize header construction accordingly.
3005 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3006 the inline header height.
3007 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3008 Conditionalize the skipping of the inline header height.
3009
3010 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3011
3012 * progmodes/js.el (js--multi-line-declaration-indentation):
3013 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3014
3015 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3016
3017 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3018 Only propertize regexp when not inside a string (Bug#13885).
3019
3020 2013-03-06 Alan Mackenzie <acm@muc.de>
3021
3022 Correct the position of point in some line-up functions.
3023 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3024 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
3025 point at column 0 rather than at a random place in the line.
3026
3027 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3028
3029 * net/tramp-compat.el (tramp-compat-delete-directory):
3030 Implement TRASH argument.
3031
3032 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3033
3034 Keep pre-existing highlighting in completion candidates (Bug#13250).
3035 * minibuffer.el (completions-first-difference): State that the
3036 face is "added" in the docstring.
3037 (completions-common-part): Same. And don't inherit from default.
3038 (completion-hilit-commonality): Prepend 'completions-common-part
3039 and 'completion-first-difference faces to the 'face property,
3040 instead of replacing the value(s).
3041 (completion--insert-strings): Same with 'completions-annotations face.
3042 (completion-hilit-commonality): Use 'face instead of
3043 'font-lock-face, because it gets priority if the completion
3044 strings already have 'face set.
3045
3046 2013-03-04 Alan Mackenzie <acm@muc.de>
3047
3048 Replace `last-command-event' by `last-command-char' in XEmacs.
3049 * progmodes/cc-defs.el (c-last-command-char): New macro.
3050 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3051 (c-semi&comma-no-newlines-before-nonblanks)
3052 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3053 in place of `last-command-event'.
3054 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3055 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3056 (c-electric-paren, c-electric-continued-statement): Use the new
3057 macro in place of `last-command-event'.
3058
3059 2013-03-04 Glenn Morris <rgm@gnu.org>
3060
3061 * files.el (inhibit-local-variables-regexps):
3062 Add .diff and .patch. (Bug#13862)
3063
3064 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3065
3066 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3067 whether the "su" command is available on the device.
3068
3069 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3070
3071 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3072 (tramp-adb-handle-process-file): Remove superfluous setting.
3073 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3074 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3075 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3076
3077 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3078
3079 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3080 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3081 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3082 Use dict-key rather than dict-name for the error message.
3083
3084 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3085
3086 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3087 when reverting (bug#13831).
3088
3089 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3090
3091 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3092 Always expand affix-file before storing to protect against changed
3093 `default-directory'.
3094 (ispell-print-if-debug): Make sure message is printed at the end
3095 of the debug buffer.
3096
3097 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3098
3099 * net/tramp.el (tramp-obsolete-methods): New defconst.
3100 (tramp-warned-obsolete-methods): New defvar.
3101 (tramp-find-method): Check for obsolete methods. Map them to a
3102 replacement method if appropriate.
3103
3104 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3105 Remove methods.
3106 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3107 "ssh2" and "plink1".
3108
3109 2013-02-28 Dale Sedivec <dale@codefu.org>
3110
3111 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3112 Return valid syntax-table property value when converting
3113 quotes within text from string syntax to punctuation syntax (bug#13844).
3114
3115 2013-02-28 Juri Linkov <juri@jurta.org>
3116
3117 * dired-aux.el (dired-diff): If file at point is a backup file,
3118 use its original as the default value, and reverse the order
3119 of arguments to the `diff' call. Doc fix. (Bug#13772)
3120
3121 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3122
3123 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3124 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3125
3126 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3127
3128 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3129
3130 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3131 Ask hunspell about available and default dictionaries.
3132 (ispell-parse-hunspell-affix-file): Extract relevant info from
3133 hunspell affix file.
3134 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3135 `ispell-dictionary-alist' entry for given dictionary after info
3136 provided by `ispell-parse-hunspell-affix-file'.
3137 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3138 of parsed hunspell dicts and associated affix files.
3139 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3140 of parsed hunspell dicts and associated parameters.
3141 (ispell-set-spellchecker-params):
3142 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3143 previously done.
3144 (ispell-start-process):
3145 Call `ispell-hunspell-fill-dictionary-entry' for current
3146 dictionary if it is not initialized.
3147
3148 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * imenu.el: Comment nitpicks.
3151
3152 2013-02-28 Sam Steingold <sds@gnu.org>
3153
3154 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3155 See <http://stackoverflow.com/questions/14720205>.
3156
3157 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3158
3159 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3160 (net-utils-mode): Use it.
3161 (net-utils--revert-cmd): New var.
3162 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3163 (traceroute): Use net-utils-run-simple.
3164
3165 2013-02-28 Glenn Morris <rgm@gnu.org>
3166
3167 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3168
3169 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3172 (doc-view-fallback-mode): Remove overlays here.
3173 (doc-view-toggle-display): Instead of here. Don't throw away
3174 image-mode-winprops-alist.
3175 (doc-view-goto-page): Don't mess with hscroll.
3176
3177 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3178
3179 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3180 &optional (bug#13819).
3181
3182 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3183
3184 * net/tramp-adb.el (tramp-adb-parse-device-names)
3185 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3186
3187 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3188
3189 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3190 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3191 defined. POSIX environments fall back to the "C" locale then and
3192 emit a warning, which shall be suppressed.
3193
3194 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3197 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3198
3199 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3200
3201 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3202
3203 2013-02-25 Juri Linkov <juri@jurta.org>
3204
3205 * replace.el (read-regexp): Let-bind `default' to the first
3206 element of `defaults' if it's a list, otherwise it should be
3207 a string or nil. Let-bind `suggestions' to `defaults' if it's
3208 a list, otherwise make a list with the string value. Doc fix.
3209 (Bug#13805)
3210
3211 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3212
3213 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3214 that match "\`\.#", to avoid compiling lock files, even if they
3215 are readable (as they are on MS-Windows).
3216
3217 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * files.el (basic-save-buffer): Remove redundant directory-creation.
3220
3221 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3222
3223 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3224 Add option to force `pi' to remain symbolic.
3225 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3226 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3227 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3228 derivatives, when necessary.
3229
3230 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3231
3232 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3233 (ps-mode-octal-region): Use string-make-unibyte.
3234
3235 2013-02-23 Glenn Morris <rgm@gnu.org>
3236
3237 * emulation/viper-cmd.el (viper-submit-report):
3238 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3239 * progmodes/vera-mode.el (vera-mode-help-address):
3240 * textmodes/artist.el (artist-maintainer-address):
3241 * textmodes/reftex.el (reftex-report-bug):
3242 * vc/ediff-util.el (ediff-submit-report):
3243 Add bug-gnu-emacs to bug report address.
3244
3245 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3246 Remove bug report entries.
3247 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3248
3249 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3250 (byte-compile-file, byte-compile-from-buffer):
3251 Use separate input/output buffers for each level of recursive
3252 byte-compile-file calls. (Bug#13787)
3253
3254 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3255
3256 * net/tramp.el (tramp-methods): Fix docstring.
3257 (tramp-ssh-controlmaster-options): Rename it from
3258 `tramp-ssh-controlmaster-template'. Return a string.
3259 (tramp-default-method): Adapt check for
3260 `tramp-ssh-controlmaster-options'.
3261
3262 * net/tramp-sh.el (tramp-methods):
3263 Replace `tramp-ssh-controlmaster-template' by "%c".
3264 (tramp-do-copy-or-rename-file-out-of-band)
3265 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3266 that it is applied for the first hop only.
3267
3268 2013-02-22 Juri Linkov <juri@jurta.org>
3269
3270 * isearch.el (isearch-lazy-highlight-new-loop):
3271 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3272 to `isearch-other-end' if it is not nil. (Bug#13402)
3273
3274 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3275 to `match-beg'.
3276
3277 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3278 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3279 and `isearch-error' to nil.
3280
3281 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
3282
3283 * progmodes/python.el (python-info-current-defun):
3284 Enhance match-data cluttering prevention.
3285
3286 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3287
3288 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3289
3290 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3291 Handle multibyte file names.
3292
3293 2013-02-22 Glenn Morris <rgm@gnu.org>
3294
3295 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3296 (sgml-transformation-function): Give it a :set function.
3297 (sgml-tag): Doc fix.
3298
3299 * cmuscheme.el (scheme-buffer):
3300 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3301 * progmodes/tcl.el (inferior-tcl-buffer):
3302 * textmodes/tex-mode.el (tex-command): Doc fixes.
3303
3304 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3305
3306 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3307
3308 2013-02-21 Bastien Guerry <bzg@gnu.org>
3309
3310 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3311
3312 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3313
3314 * progmodes/python.el (python-info-current-defun):
3315 Enhance match-data cluttering prevention.
3316
3317 2013-02-21 Glenn Morris <rgm@gnu.org>
3318
3319 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3320 loaded while outline-regexp is let bound. (Bug#9584)
3321
3322 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3323
3324 * progmodes/python.el (python-info-current-defun): Fix failed
3325 defun name retrieval because of unwanted match-data cluttering.
3326
3327 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3328
3329 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3330 defconst. Apply independent check for ControlPersist.
3331
3332 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3333 temporarily, via "env".
3334
3335 2013-02-21 Glenn Morris <rgm@gnu.org>
3336
3337 * info.el (Info-enable-edit): Remove.
3338 (Info-edit): Disable it rather than using Info-enable.
3339 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3340 (Info-cease-edit): Make editing of Info files obsolete.
3341
3342 * informat.el (Info-tagify):
3343 Handle buffers not visiting files. (Bug#13763)
3344
3345 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3346
3347 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3348
3349 2013-02-21 Glenn Morris <rgm@gnu.org>
3350
3351 * files.el (basic-save-buffer): Move check for existing parent
3352 directory after hooks. (Bug#13773)
3353
3354 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3355
3356 * simple.el (command-execute): Move from C. Add obsolete check.
3357 (extended-command-history): Move from C.
3358
3359 2013-02-20 Ulrich Müller <ulm@gentoo.org>
3360
3361 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3362 (jka-compr-mode-alist-additions): Handle .txz suffix for
3363 XZ-compressed tar archives (bug#13770).
3364
3365 2013-02-20 Bastien Guerry <bzg@gnu.org>
3366
3367 * outline.el (outline-regexp, outline-heading-end-regexp):
3368 Make variables, not options (bug#13731).
3369
3370 2013-02-20 Glenn Morris <rgm@gnu.org>
3371
3372 * image.el (image-current-frame): Change from variable to function.
3373 (image-show-frame): Rename from image-nth-frame. Update callers.
3374 * image-mode.el (image-multi-frame): New variable.
3375 (image-mode-map, image-mode, image-goto-frame):
3376 Use image-multi-frame rather than image-current-frame.
3377 (image-mode, image-goto-frame): Use image-current-frame as
3378 function rather than as variable.
3379
3380 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3381 * emacs-lisp/cl-macs.el (cl--make-type-test)
3382 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3383
3384 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3385
3386 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3387 (tramp-get-file-property, tramp-set-file-property)
3388 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3389 (tramp-flush-file-property, tramp-flush-directory-property):
3390 Rename argument to KEY.
3391 (tramp-flush-connection-property): Simplify a little bit.
3392 (tramp-connection-property-p): New defun.
3393 (top): Reapply saved values only if there isn't a corresponding
3394 entry in `tramp-connection-properties'.
3395
3396 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
3397
3398 * progmodes/python.el (python-indent-context):
3399 Fix python-info-line-ends-backslash-p call.
3400 (python-info-line-ends-backslash-p)
3401 (python-info-beginning-of-backslash): Respect line-number argument.
3402 (python-info-current-line-comment-p):
3403 Fix behavior when not at beginning-of-line.
3404 (python-util-position): Remove function.
3405 (python-util-goto-line): New function.
3406
3407 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3408
3409 * eshell/em-unix.el (eshell/su): Require tramp.
3410 (eshell/sudo): Require tramp. Remove now unnecessary check.
3411
3412 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3413 `tramp-current-connection' in order to avoid an error when several
3414 commands are invoked in a short time in eshell and friends.
3415
3416 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3417
3418 Cleanup some of EIEIO's namespace.
3419 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3420 Use it to define all the class-* and object-* field accessors (renamed
3421 to eieio--class-* and eieio--object-*). Update all uses.
3422 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3423 class-num-slots and object-num-slots.
3424 (eieio--check-type): New macro.
3425 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3426 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3427 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3428 (object-assoc-list-safe): Use it.
3429 (eieio-defclass): Tighten regexp.
3430 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3431 Remove unreachable code.
3432 (object-class-fast): Declare obsolete.
3433 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3434 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3435 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3436 Rename from class-name, object-name, object-set-name-string,
3437 object-class, object-class-name, class-parents, class-children,
3438 class-precedence-list, class-parent; with obsolete alias.
3439 (class-of, class-direct-superclasses, class-direct-subclasses):
3440 Declare obsolete.
3441 (eieio-defmethod): Use `memq'; remove unreachable code.
3442 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3443 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3444 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3445
3446 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3447
3448 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3449 commentary.
3450
3451 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3452
3453 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3454 Use font-lock-keyword-face for macros and special forms (bug#8345).
3455
3456 2013-02-17 Didier Verna <didier@didierverna.net>
3457
3458 * net/network-stream.el (network-stream-open-starttls):
3459 Check that response to the starttls-command is non-nil. (Bug#13706)
3460
3461 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3462
3463 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3464 Don't assume all identifier chars have syntax word.
3465 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3466 Remove bar-not-symbol. Adjust callers.
3467 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3468
3469 2013-02-17 Leo Liu <sdl.web@gmail.com>
3470
3471 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3472
3473 2013-02-17 Glenn Morris <rgm@gnu.org>
3474
3475 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3476
3477 * image-mode.el (image-mode-map): Add image-dired menu entry.
3478
3479 * image-dired.el (tumme): Make this alias obsolete.
3480
3481 2013-02-16 Glenn Morris <rgm@gnu.org>
3482
3483 * image.el (image-animated-types): Remove.
3484 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3485 (image-animated-p): Make obsolete alias.
3486 (image-animate, image-nth-frame, image-animate-timeout):
3487 Use image-multi-frame-p.
3488 (image-animate-timeout): If no delay, use image-default-frame-delay.
3489 * image-mode.el (image-mode, image-toggle-animation):
3490 Use image-multi-frame-p. (Bug#763, bug#10739)
3491 (image-mode): Adjust startup message for a multi-frame image.
3492
3493 * image-mode.el (image-mode-map): Give it a menu.
3494
3495 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3496
3497 * net/tramp-cache.el (tramp-connection-properties): New customer
3498 option.
3499 (tramp-get-connection-property): Use it.
3500
3501 * net/tramp-compat.el (top): Require 'trampver.
3502
3503 * net/tramp-sh.el (tramp-remote-process-environment):
3504 Set tramp-autoload cookie.
3505
3506 2013-02-16 Kevin Ryde <user42@zip.com.au>
3507
3508 * info-look.el (info-lookup-select-mode): If major-mode has no
3509 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3510
3511 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3512
3513 * replace.el (read-regexp): Tighten the regexp that matches tag.
3514 When tag is retrieved with `find-tag-default', use regexp that
3515 matches tag at point. Also update docstring (Bug#13687).
3516
3517 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3518
3519 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3520 add watch for the file, not its parent directory, since w32notify
3521 sets up the watch for the directory internally. (Bug#13725)
3522
3523 2013-02-16 Glenn Morris <rgm@gnu.org>
3524
3525 * image.el (image-default-frame-delay): New variable.
3526 (image-animated-p): Use image-default-frame-delay.
3527 (image-minimum-frame-delay): New constant.
3528 (image-animate-timeout): Use image-minimum-frame-delay.
3529
3530 * image.el (image-nth-frame): New, split from image-animate-timeout.
3531 (image-animate-timeout): Use image-nth-frame.
3532 * image-mode.el (image-goto-frame, image-next-frame)
3533 (image-previous-frame): New commands.
3534 (image-mode-map): Add new frame commands.
3535
3536 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3537
3538 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3539 If col-desc already has help-echo, use it. (Bug#13563)
3540
3541 2013-02-16 Glenn Morris <rgm@gnu.org>
3542
3543 * image.el (image-current-frame): New variable.
3544 (image-animate-timeout): Set image-current-frame.
3545 * image-mode.el (image-mode): For animated images,
3546 display a frame counter via mode-line-process.
3547
3548 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3549
3550 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3552 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3553
3554 2013-02-15 Alan Mackenzie <acm@muc.de>
3555
3556 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3557 global minor mode has been enabled, call the minor mode function
3558 for a new buffer once only, after the major mode hook, whilst
3559 allowing that hook explicitly to disable the minor mode.
3560 (MODE-disable-in-buffer): New (generated) function.
3561 (disable-MODE): New (generated) buffer local variable.
3562
3563 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3564
3565 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3566 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3567 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3568 `ido-next-match' and `ido-prev-match' resply.
3569 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3570 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3571 `icomplete-backward-completions' (Bug#13708).
3572
3573 2013-02-15 Glenn Morris <rgm@gnu.org>
3574
3575 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3576
3577 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3580 (goto-address-fontify-region): Use them instead of narrowing, so
3581 syntax-ppss has access to the whole buffer.
3582
3583 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3584
3585 * progmodes/python.el: Explain how to restore "cc-mode"-like
3586 forward-sexp movement in header documentation (Bug#13642).
3587 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3588 comments and strings (GH bug 114).
3589
3590 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3591
3592 * progmodes/python.el (python-info-current-defun): Fix current
3593 defun detection (Bug#13618).
3594
3595 2013-02-15 Chong Yidong <cyd@gnu.org>
3596
3597 * xml.el (xml-parse-string): Fix typo in handling of bad character
3598 references.
3599
3600 2013-02-15 Glenn Morris <rgm@gnu.org>
3601
3602 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3603
3604 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3605
3606 * net/tramp.el (tramp-debug-message):
3607 Add `tramp-condition-case-unless-debug'.
3608 (tramp-debug-on-error): New defvar.
3609 (tramp-condition-case-unless-debug): New defun.
3610 (tramp-file-name-handler): Use it.
3611
3612 2013-02-14 Juri Linkov <juri@jurta.org>
3613
3614 * info.el (Info-isearch-filter): Treat non-nil values of
3615 `search-invisible' including its default value `open'
3616 like the value `t' to match hidden text. (Bug#13402)
3617
3618 2013-02-14 Glenn Morris <rgm@gnu.org>
3619
3620 * help-fns.el (find-lisp-object-file-name): Give special treatment
3621 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3622
3623 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3624
3625 * net/quickurl.el (quickurl-save-urls):
3626 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3627
3628 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3629
3630 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3631 depth for unfinished percent literal. Not using it in the caller.
3632 (ruby-move-to-block): Jump over multiline literals of all types,
3633 ignoring code-looking contents inside them.
3634 (ruby-add-log-current-method): Improve performance at the expense
3635 of accuracy. `ruby-block-contains-point' is relatively slow, so
3636 only use it for method and singleton class blocks.
3637
3638 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3639
3640 Use ControlMaster where applicable. (Bug#13677)
3641
3642 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3643 replacing `tramp-detect-ssh-controlmaster'.
3644 (tramp-default-method): Use it.
3645
3646 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3647 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3648 arguments.
3649 [scpc, rsyncc]: Remove methods.
3650 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3651 and "ssh2_old".
3652 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3653 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3654
3655 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3656
3657 * emacs-lisp/package.el (package--initialized): Move before first use.
3658
3659 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3660
3661 * icomplete.el (icomplete-hide-common-prefix): New user option.
3662 (icomplete-first-match): New face.
3663 (icomplete-completions): Correct handling of "complete but not
3664 unique" (Bug#12638).
3665
3666 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3667
3668 * descr-text.el (describe-char): Display the script (bug#13698).
3669
3670 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * tmm.el: Use lexical-binding and current-active-maps.
3673 (tmm-menubar): Use map-keymap and pcase.
3674 (tmm--completion-table): New function.
3675 (tmm-prompt): Use it to fix the menu order.
3676 (tmm-get-keybind): Use current-active-maps.
3677
3678 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3679
3680 Add dired-hide-details-mode. (Bug#6799)
3681
3682 * locate.el (locate-mode): Set parent mode property to dired-mode.
3683
3684 * find-dired.el (find-dired): Call dired-insert-set-properties on
3685 initial information line. Set process mark on end of buffer.
3686 (find-dired-sentinel):
3687 Call dired-insert-set-properties on summary.
3688
3689 * dired.el (dired-hide-details-hide-symlink-targets)
3690 (dired-hide-details-hide-information-lines): New options.
3691 (dired-insert-directory):
3692 Set properties after final treatment of output.
3693 (dired-insert-set-properties):
3694 Set dired-hide-details-* properties.
3695 (dired-mode-map): Bind dired-hide-details-mode.
3696 (dired-mode): Set buffer-invisibility-spec to a list.
3697 (dired-next-line): Skip hidden lines.
3698 (dired-previous-line): Use dired-next-line.
3699 (dired-hide-details-mode): New minor mode.
3700 (dired-hide-details-update-invisibility-spec): New function.
3701
3702 2013-02-13 Glenn Morris <rgm@gnu.org>
3703
3704 * play/yow.el: Move to obsolete/. (Bug#9384)
3705
3706 2013-02-13 Juri Linkov <juri@jurta.org>
3707
3708 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3709 to select `ediff-control-frame' and set input focus correctly on Xfce.
3710 (Bug#12218)
3711
3712 2013-02-13 Juri Linkov <juri@jurta.org>
3713
3714 * image-mode.el (image-mode-map):
3715 * doc-view.el (doc-view-mode-map):
3716 * vc/ediff-util.el (ediff-setup-keymap):
3717 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3718
3719 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3720
3721 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3722 performance. Instead of recalculating indentation fully for each
3723 line, sum up indentation depth based only on visited lines.
3724 (ruby-parse-partial): Increase the depth after "do" even when END
3725 is right after it.
3726 (ruby-parse-partial): When END is in the middle of a percent
3727 literal, increase the depth if the delimiter chars belong to the
3728 paren syntax class.
3729
3730 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3731
3732 * play/fortune.el (fortune-compile): Also make the compiled file
3733 if it does not exist at all, not just if it is old. (Bug#5338)
3734
3735 2013-02-13 Glenn Morris <rgm@gnu.org>
3736
3737 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3738
3739 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3740
3741 * lisp/emacs-lisp/package.el (package-menu-execute):
3742 Add optional noquery argument. (Bug#13625)
3743
3744 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3745
3746 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3747 if DIR exists and PARENTS is non-nil.
3748
3749 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3750
3751 * progmodes/js.el (js--multi-line-declaration-indentation):
3752 Silence byte-compiler warning.
3753
3754 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3755
3756 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3757
3758 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3759 only if it doesn't exist.
3760
3761 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3762 Set process marker.
3763
3764 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3765
3766 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3767 UserInstallation when calling soffice to work around LibreOffice
3768 bug 37531.
3769
3770 2013-02-12 Glenn Morris <rgm@gnu.org>
3771
3772 * files.el (basic-save-buffer):
3773 Offer to create a non-existing directory. (Bug#3016)
3774
3775 * calc/calc-graph.el (calc-graph-show-dumb):
3776 * calendar/calendar.el (calendar-mode-map):
3777 * cus-edit.el (custom-mode-map):
3778 * ehelp.el (electric-help-map):
3779 * emulation/vip.el (vip-mode-map):
3780 * epa.el (epa-key-list-mode-map):
3781 * info.el (Info-mode-map):
3782 * mail/rmail.el (rmail-mode-map):
3783 * mail/rmailsum.el (rmail-summary-mode-map):
3784 * man.el (Man-mode-map):
3785 * net/newst-plainview.el (newsticker-mode-map):
3786 * progmodes/cpp.el (cpp-edit-mode-map):
3787 * progmodes/grep.el (grep-mode-map):
3788 * progmodes/idlw-help.el (idlwave-help-mode-map):
3789 * simple.el (special-mode-map):
3790 * startup.el (splash-screen-keymap):
3791 * view.el (view-mode-map):
3792 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3793
3794 2013-02-11 Elias Pipping <pipping@lavabit.com>
3795
3796 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3797 (bug#13679).
3798
3799 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3800
3801 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3802
3803 2013-02-11 Glenn Morris <rgm@gnu.org>
3804
3805 * vc/diff.el (diff-use-labels): New variable.
3806 (diff-no-select): Use --label rather than -L, and first
3807 check that it is supported. (Bug#11067)
3808
3809 * files.el (enable-dir-local-variables): New variable.
3810 (hack-dir-local-variables): Respect enable-dir-local-variables.
3811 * tutorial.el (help-with-tutorial):
3812 Ignore directory-local variables. (Bug#11127)
3813
3814 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3815 (vc-svn-global-switches): ... to here. (Bug#13513)
3816
3817 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3818
3819 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3820 Handle "foo (bar, default: xxx): " prompts.
3821
3822 2013-02-10 Chong Yidong <cyd@gnu.org>
3823
3824 * files.el (basic-save-buffer-1): Do not set
3825 buffer-file-coding-system-explicit (Bug#4533).
3826
3827 * mail/emacsbug.el (report-emacs-bug): Change binding of
3828 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3829
3830 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3831
3832 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3833 * calc/calc-units.el (calc-convert-units): Use new variable.
3834
3835 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3836
3837 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3838
3839 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3840 buffer-file-type.
3841
3842 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3843 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3844 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3845 coding-system-for-write instead.
3846
3847 * jka-compr.el (jka-compr-write-region): Don't bind
3848 buffer-file-type.
3849
3850 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3851 buffer-file-type.
3852
3853 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3854 (insert-file-contents-literally): Remove reference to
3855 file-name-buffer-file-type-alist.
3856
3857 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3858 make-obsolete.
3859 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3860 (find-buffer-file-type-coding-system): Remove references to
3861 find-buffer-file-type-match, find-buffer-file-type, and
3862 buffer-file-type.
3863 Don't put find-buffer-file-type-coding-system into
3864 file-coding-system-alist.
3865 (find-file-binary, find-file-text): Bind coding-system-for-read
3866 instead of file-name-buffer-file-type-alist.
3867
3868 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3869
3870 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3871 converter (Bug#13622).
3872 (doc-view-unoconv-program): Make obsolete alias.
3873 (doc-view-odf->pdf-converter-program): New variable.
3874 (doc-view-odf->pdf-converter-function): New variable.
3875 (doc-view-mode-p): Use it.
3876 (doc-view-odf->pdf-converter-unoconv):
3877 Rename from `doc-view-odf->pdf-converter-unoconv'.
3878 (doc-view-odf->pdf-converter-soffice): New function.
3879 (doc-view-convert-current-doc):
3880 Use `doc-view-odf->pdf-converter-function'.
3881
3882 2013-02-09 Chong Yidong <cyd@gnu.org>
3883
3884 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3885 view-echo-area-messages (Bug#13340).
3886
3887 * help.el (view-echo-area-messages): Use display-buffer.
3888
3889 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3890 (Bug#13561).
3891
3892 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3893
3894 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3895 Eval body right away, now that we do eager macroexpansion (bug#13605).
3896
3897 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3898 (fundamental-mode): Use run-mode-hooks.
3899
3900 * eshell/esh-proc.el (eshell/kill): Fix last change.
3901 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3902
3903 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3904
3905 * eshell/esh-proc.el (eshell/kill): Rewrite.
3906
3907 * eshell/em-ls.el (show-almost-all): Declare.
3908 (eshell-do-ls): Add support for -A argument.
3909
3910 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3911
3912 * icomplete.el (icomplete-forward-completions)
3913 (icomplete-backward-completions): Handle corner case (bug#13602).
3914
3915 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3916
3917 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3918 be nil. Handle this. (Bug#13636)
3919
3920 2013-02-07 Richard Stallman <rms@gnu.org>
3921
3922 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3923 `save-buffer-coding-system'.
3924
3925 2013-02-07 Alan Mackenzie <acm@muc.de>
3926
3927 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3928 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3929 (c-parse-state-get-strategy): Don't return 'BOD any more.
3930 (c-append-lower-brace-pair-to-state-cache):
3931 Extra parameter HERE instead of narrowing.
3932 Widen to top of buffer before searching backwards for a brace pair.
3933 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3934 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3935 Narrow to parameter HERE, in place of being called narrowed.
3936 (c-remove-stale-state-cache): Extra parameter HERE in place of
3937 narrowing. Check there's an open brace in the cache before
3938 searching for its match.
3939 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3940 (c-parse-state-1): Don't narrow here for 'forward strategy,
3941 instead passing extra parameter HERE to several functions.
3942 Remove 'BOD strategy.
3943
3944 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3945
3946 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3947 used to install the package.
3948
3949 2013-02-06 Glenn Morris <rgm@gnu.org>
3950
3951 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3952 if we can't get user input. (Bug#6567)
3953
3954 * startup.el (command-line): If simple.el is missing,
3955 test and warn about for some possible causes.
3956
3957 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3958
3959 * cus-start.el (all): Add ns-use-native-fullscreen.
3960
3961 2013-02-05 Glenn Morris <rgm@gnu.org>
3962
3963 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3964
3965 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3966 Fix directory creation in fallback case.
3967
3968 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3969
3970 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3971 (vc-update-change-log): Use dolist.
3972
3973 2013-02-04 Chong Yidong <cyd@gnu.org>
3974
3975 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3976 code from ffap.el.
3977 (thing-at-point-beginning-of-url-regexp): New var.
3978 (thing-at-point-uri-schemes): Update list of URI schemes.
3979 (thing-at-point-url-regexp): Variable deleted.
3980 (thing-at-point-markedup-url-regexp): Disallow newlines.
3981 (thing-at-point-newsgroup-regexp)
3982 (thing-at-point-newsgroup-heads)
3983 (thing-at-point-default-mail-uri-scheme): New variables.
3984 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3985 method to find the possible bounds of the URI at point.
3986 New optional argument to find ill-formed URIs.
3987 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3988 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3989 the scheme-adding heuristics from ffap-url-at-point.
3990 (thing-at-point--bounds-of-well-formed-url): New function.
3991 Do parens matching to decide whether to include parens in the URI
3992 (Bug#9153).
3993
3994 * ffap.el: Require thingatpt.
3995 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3996 All URI-valid characters are now recognized (Bug#5673).
3997 (ffap-string-at-point): Use use-region-p.
3998 (ffap-url-regexp): Extra character is handled by thing-at-point.
3999 (ffap-string-at-point-mode-alist): Allow parentheses.
4000 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4001 Convert to aliases; code moved to thingatpt.el.
4002 (ffap-gnus-hook): Use setq-local.
4003
4004 2013-02-04 Glenn Morris <rgm@gnu.org>
4005
4006 * emacs-lisp/ert.el (ert--explain-format-atom):
4007 Don't try to print non-characters as characters. (Bug#13543)
4008
4009 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4010
4011 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4012 (tramp-backtrace): New defun.
4013 (tramp-handle-insert-file-contents): Use `visit' when inserting
4014 the local copy.
4015
4016 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4017 Use `remote-file-name-inhibit-cache'.
4018
4019 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4020
4021 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4022 (bug#13614).
4023
4024 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4025 current-load-list (bug#13366).
4026
4027 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4028
4029 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4030 Identify g++ template instantiation trace. (Bug#12287)
4031 (compilation-mode-hook, compilation-start-hook)
4032 (compilation-window-height): Simplify docstrings. (Bug#13379)
4033
4034 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4035
4036 * mouse.el (mouse-drag-track): Always deactivate the mark before
4037 running the final event's command since that command is in charge of
4038 activating the mark if needed (bug#13523).
4039
4040 2013-02-02 Juri Linkov <juri@jurta.org>
4041
4042 * replace.el (perform-replace): Move let-bindings of isearch-*
4043 variables deeper to the loop that searches for the next match.
4044 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4045 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4046 (Bug#13579)
4047
4048 * isearch.el (isearch-search-fun-default): Check for null
4049 first element of isearch-cmds as a precaution when it's used
4050 with inactive isearch.
4051
4052 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4053
4054 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4055 error when buffer in question is narrowed so position 1 is out of
4056 visible part.
4057
4058 2013-02-02 Glenn Morris <rgm@gnu.org>
4059
4060 * textmodes/remember.el (remember-clipboard): Doc fix.
4061
4062 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4065 properties (bug#13179).
4066
4067 2013-02-02 Juri Linkov <juri@jurta.org>
4068
4069 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4070 instead of hard-coded default face `match'. (Bug#9438)
4071
4072 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4073
4074 * vc/vc-arch.el (vc-arch-registered):
4075 * vc/vc-bzr.el (vc-bzr-registered):
4076 * vc/vc-cvs.el (vc-cvs-registered):
4077 * vc/vc-git.el (vc-git-registered):
4078 * vc/vc-hg.el (vc-hg-registered):
4079 * vc/vc-mtn.el (vc-mtn-registered):
4080 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4081 (Bug#13139)
4082
4083 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4084 prefix argument. (Bug#11656)
4085
4086 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4089
4090 2013-02-01 Glenn Morris <rgm@gnu.org>
4091
4092 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4093 if the backend is known not to support it.
4094
4095 * imenu.el (imenu-default-create-index-function):
4096 Tweak infinite loop test to check for forward motion as well as none.
4097
4098 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4099
4100 * net/soap-client.el (soap-invoke): Encode the string for
4101 `url-request-data' as UTF-8.
4102 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4103
4104 2013-02-01 Glenn Morris <rgm@gnu.org>
4105
4106 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4107
4108 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4109
4110 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4111
4112 * net/tramp.el (tramp-tramp-file-p): Comment check for
4113 `string-as-unibyte'. The function does not exist on XEmacs, and
4114 likely we need another approach.
4115
4116 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4117 `tramp-gw-*' variables are bound.
4118
4119 2013-01-31 Glenn Morris <rgm@gnu.org>
4120
4121 * files.el (basic-save-buffer-2): Choose coding system for
4122 writing the file before backing it up, to reduce delay between
4123 backing up and writing the new version. (Bug#13522)
4124
4125 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4126
4127 * simple.el (cycle-spacing): New command.
4128 (just-one-space): Use it.
4129
4130 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4131
4132 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4133 (opascal-newline-always-indents): Remove custom.
4134 (opascal-tab, opascal-newline): Remove commands.
4135 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4136 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4137 (opascal-save-match-data): Remove, use save-match-data instead.
4138 (opascal-save-state): Use with-silent-modifications.
4139
4140 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4141 (bug#13585).
4142
4143 2013-01-30 Juri Linkov <juri@jurta.org>
4144
4145 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4146 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4147 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4148
4149 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4150
4151 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4152 column if we're just deleting the backslashes.
4153 (makefile-fill-paragraph): Use eolp.
4154
4155 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4156
4157 * autorevert.el (auto-revert-use-notify): Fix docstring.
4158
4159 2013-01-30 Leo Liu <sdl.web@gmail.com>
4160
4161 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4162
4163 2013-01-30 Glenn Morris <rgm@gnu.org>
4164
4165 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4166 unread-command-events twice in some cases. This tries to implement
4167 the 2012-07-26 changes in a different way. (Bug#13560)
4168
4169 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4170
4171 * progmodes/python.el
4172 (python-pdbtrack-comint-output-filter-function): Enhancements on
4173 stacktrace detection. (thanks @gnovak)
4174
4175 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4178 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4179 Use defvar-local.
4180 (jit-lock-register): Use setq-local.
4181
4182 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4183
4184 * calc-units.el (math-default-units-table): Remove initial value.
4185 (calc-convert-units): Treat expressions where all the units cancel as
4186 if they didn't have units.
4187
4188 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4189
4190 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4191 (tramp-completion-reread-directory-timeout): Fix type.
4192 (tramp-connection-min-time-diff): New defcustom.
4193
4194 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4195
4196 2013-01-30 Glenn Morris <rgm@gnu.org>
4197
4198 * imenu.el (imenu-default-create-index-function):
4199 Put back a version of the infinite loop test removed 2013-01-23.
4200
4201 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4202
4203 * progmodes/python.el (python-shell-parse-command):
4204 Find python-shell-interpreter with modified environment.
4205
4206 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4209
4210 2013-01-29 Alan Mackenzie <acm@muc.de>
4211
4212 Amend to fontify /regexp/s in actions correctly.
4213 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4214 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4215 are no longer included.
4216 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4217 What used to be these variables without "-line" in the name.
4218 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4219 (c-awk-non-arith-op-bra-re): Now also matches {.
4220 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4221 "return", and "case".
4222 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4223 by /.
4224 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4225 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4226
4227 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4228
4229 * autorevert.el (auto-revert-use-notify):
4230 Use `custom-initialize-default' for initialization. (Bug#13583)
4231
4232 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4233
4234 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4235 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4236 in `tramp-file-name-handler'.
4237 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4238 compatibility.
4239 (tramp-compute-multi-hops): Check, whether
4240 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4241
4242 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4245 (bug#13297).
4246
4247 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4248
4249 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4250 checks made superfluous by the \_< operator.
4251 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4252 temporarily) broken indentation.
4253 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4254 Highlight nested constants, too. \_< broke that.
4255
4256 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4257
4258 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4259 instead of "\\b".
4260
4261 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4262
4263 * autorevert.el (auto-revert-handler): Notifications which result
4264 from a saved file shall not be taken into account. (Bug#13557)
4265
4266 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4267
4268 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4269 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4270 (lisp-mode): Pass t for it. (Bug#13556)
4271
4272 2013-01-25 Alan Mackenzie <acm@muc.de>
4273
4274 AWK Mode: Fix indentation bug at top level. Bug #12274.
4275
4276 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4277 just before CASE 5D.
4278
4279 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4280
4281 * net/socks.el (socks-nslookup-host): Use string-to-number.
4282
4283 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4284
4285 * autorevert.el (auto-revert-remote-files)
4286 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4287 (auto-revert-notify-enabled, auto-revert-use-notify)
4288 (auto-revert-notify-watch-descriptor-hash-list)
4289 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4290 (auto-revert-notify-event-descriptor)
4291 (auto-revert-notify-event-action)
4292 (auto-revert-notify-event-file-name): Doc fix.
4293 (global-auto-revert-mode): Reorder checks.
4294 (auto-revert-notify-rm-watch): Respect changed values of
4295 `auto-revert-notify-watch-descriptor-hash-list'.
4296 (auto-revert-notify-add-watch): Check for
4297 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4298 `inotify-add-watch'. Watch `default-directory' instead of
4299 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4300 has a changed meaning now. (Bug#13540)
4301 (auto-revert-notify-handler): Change implementation wrt events
4302 returning from a directory.
4303 (auto-revert-handler): Reorder implementation for checks of remote
4304 files.
4305 (auto-revert-buffers): Fix parentheses error.
4306
4307 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
4308
4309 * progmodes/python.el: Enhancements to header documentation about
4310 skeletons. (Bug#5716)
4311
4312 * imenu.el (imenu-default-create-index-function): Remove useless
4313 infinite loop check. (Bug#13438)
4314
4315 2013-01-25 Alan Mackenzie <acm@muc.de>
4316
4317 Fix a bug in the state cache mechanism. Refactor this a bit.
4318
4319 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4320 `cache-pos' element from the return value.
4321 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4322 buffer to enable proper searching from beyond HERE. Amend the
4323 test for detecting the sought brace pair. Amend the value written
4324 to the "brace desert cache" when the brace isn't found.
4325 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4326 and several other variables analogously.
4327 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4328 parameter to a locally calculated variable.
4329 (c-parse-state-1): Change the calling conventions to the two
4330 defuns involving `cache-pos'.
4331
4332 2013-01-25 Chong Yidong <cyd@gnu.org>
4333
4334 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4335
4336 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4337
4338 * paren.el (show-paren-function): Make sure to set 'priority and
4339 'face only if the overlay does exist.
4340
4341 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4342
4343 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4344
4345 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4346 basic attributes.
4347 (tramp-sh-handle-set-file-acl): Improve error checking.
4348
4349 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4350
4351 * doc-view.el (doc-view-display): Force mode line update until all
4352 document is converted. Suggested by Stefan Monnier (Bug#13164).
4353
4354 2013-01-23 Bastien Guerry <bzg@gnu.org>
4355
4356 * paren.el (show-paren-function): Make sure an overlay exists
4357 before trying to delete it. Also use `pos' as a position only
4358 when it is an integer.
4359
4360 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4361
4362 * play/gametree.el (gametree-break-line-here): Use point-marker.
4363
4364 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4365
4366 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4367 Mark descriptive parts with `display' property.
4368
4369 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4370
4371 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4372 New variable to map standard dict names to hunspell ones.
4373 (ispell-set-spellchecker-params): Make sure specific dict names
4374 are used for standard dicts with hunspell.
4375
4376 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4377
4378 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4379 chars for note (%N) and url (%U).
4380 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4381
4382 2013-01-21 Juri Linkov <juri@jurta.org>
4383
4384 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4385 in addition to existing separate binding `meta f10' in `global-map'.
4386 (Bug#13484)
4387
4388 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4389
4390 Improve XEmacs compatibility.
4391
4392 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4393
4394 * net/tramp-adb.el (top): Require `time-date'.
4395 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4396 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4397 Use `tramp-file-name-handler'.
4398 (tramp-adb-maybe-open-connection):
4399 Use `tramp-compat-set-process-query-on-exit-flag'.
4400
4401 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4402 Use `tramp-compat-funcall'.
4403
4404 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4405 `tramp-compat-funcall'.
4406
4407 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
4408
4409 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4410 reimplementation using "adb shell command ..." instead of running
4411 remote shell interactively.
4412
4413 2013-01-20 Glenn Morris <rgm@gnu.org>
4414
4415 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4416 Add native profiler menu entries.
4417
4418 * profiler.el (profiler-running-p): New function.
4419 (profiler-cpu-profile): Use profiler-running-p.
4420 (profiler-report-mode-map): Add some more menu entries.
4421
4422 2013-01-19 Glenn Morris <rgm@gnu.org>
4423
4424 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4425 fixes 2012-12-07 change. (Bug#13499)
4426
4427 2013-01-19 Leo Liu <sdl.web@gmail.com>
4428
4429 * dired.el (dired-get-marked-files): Prune erroneous values due to
4430 last change. (Bug#13152)
4431
4432 2013-01-19 Glenn Morris <rgm@gnu.org>
4433
4434 * progmodes/etags.el (tags-table-check-computed-list):
4435 Preserve point in tags buffer. (Bug#13412)
4436
4437 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4438
4439 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4440 Chong Yidong <cyd@gnu.org>
4441
4442 * image-mode.el (image-next-file, image-previous-file):
4443 New commands (Bug#8453).
4444 (image-mode-map): Bind them to n and p.
4445 (image-mode--images-in-directory): New helper function.
4446
4447 2013-01-19 Chong Yidong <cyd@gnu.org>
4448
4449 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4450 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4451 save and restore the old window configuration.
4452
4453 2013-01-18 Leo Liu <sdl.web@gmail.com>
4454
4455 * progmodes/js.el: Tweak autoload cookie for alias.
4456
4457 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4458
4459 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4460 buffer local, again. This was lost with the fix on 2013-01-12.
4461
4462 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
4463
4464 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4465 order to support several eshell buffers in parallel.
4466
4467 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4468
4469 * autorevert.el (auto-revert-use-notify): In the :set function, do
4470 not modify `kill-buffer-hook'.
4471 (auto-revert-notify-rm-watch):
4472 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4473 (auto-revert-notify-add-watch): Do not call
4474 `auto-revert-notify-rm-watch', but add it to a buffer local
4475 `kill-buffer-hook'.
4476
4477 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4478
4479 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4480 call to `eval' rather than a backquoted lambda.
4481
4482 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4485 to return an explicit nil.
4486 (advice--remove-function): Change accordingly.
4487
4488 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4489 the use of nadvice.el.
4490
4491 * progmodes/which-func.el (which-function): Silence imenu errors
4492 (bug#13433).
4493
4494 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4495
4496 * progmodes/sql.el (sql-imenu-generic-expression):
4497 (sql-mode-font-lock-object-name): Match schema qualified names.
4498 (sql-connect): Use string keys.
4499 (sql-product-interactive): Wait for interpreter prompt.
4500 (sql-comint-oracle): Set process coding based on NLS_LANG.
4501
4502 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4503
4504 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4505 (sql-interactive-remove-continuation-prompt):
4506 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4507
4508 2013-01-14 Leo Liu <sdl.web@gmail.com>
4509
4510 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4511 (Bug#13420)
4512
4513 2013-01-14 Glenn Morris <rgm@gnu.org>
4514
4515 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4516 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4517
4518 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
4519
4520 * progmodes/python.el (python-nav-end-of-statement):
4521 Fix cornercase when handling multiline strings.
4522
4523 2013-01-13 Richard Stallman <rms@gnu.org>
4524
4525 * mail/sendmail.el (mail-position-on-field): Add doc string.
4526
4527 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4528 Get current message boundaries and pass them to
4529 message-forward-make-body-mime. Minor style changes.
4530
4531 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4532
4533 * cus-start.el (all): Avoid warnings about
4534 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4535
4536 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4537
4538 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4539
4540 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4543 (jit-lock--debug-fontifying): New var.
4544 (jit-lock--debug-fontify): New function.
4545 * subr.el (condition-case-unless-debug): Don't prevent catching the
4546 error, just let the debbugger run.
4547 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4548 timer code and don't drop errors silently.
4549
4550 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4551
4552 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4553 `permanent-local' property.
4554 (auto-revert-notify-handler): Use `file-equal-p'.
4555
4556 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4557
4558 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4559 file notification by ACTION. For filtering by file name, compare
4560 only the non-directory part of the file name.
4561
4562 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4563
4564 * autorevert.el: Use cl-lib instead of cl.
4565
4566 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4567 (vc-bzr-checkin): Use it.
4568 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4569 will preserve match-data.
4570
4571 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4572
4573 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4574 (js--declaration-keyword-re): New var.
4575 (js--multi-line-declaration-indentation): New function.
4576 (js--proper-indentation): Use it.
4577
4578 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4579
4580 * calc/calc.el (calc-highlight-selections-with-faces)
4581 (calc-dispatch):
4582 * comint.el (comint-history-isearch-message):
4583 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4584 * ffap.el (ffap-string-at-point-region, ffap-next)
4585 (ffap-string-at-point, ffap-string-around)
4586 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4587 (ffap-literally):
4588 * font-lock.el (font-lock-keywords-alist)
4589 (font-lock-removed-keywords-alist):
4590 * help-mode.el (help-xref-symbol-regexp):
4591 * info.el (Info-find-emacs-command-nodes):
4592 * international/mule.el (add-to-coding-system-list):
4593 * isearch.el (isearch-message-function, isearch-fail-pos):
4594 * misearch.el (multi-isearch-next-buffer-function):
4595 * newcomment.el (comment-box):
4596 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4597 (pr-setting-database):
4598 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4599 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4600 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4601 (pike-font-lock-keywords-3):
4602 * progmodes/compile.el (compile):
4603 * progmodes/etags.el (tags-table-files)
4604 (tags-table-files-function, tags-included-tables-function):
4605 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4606 (gdb-restore-windows):
4607 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4608 (ps-n-up-filling-database):
4609 * server.el (server-buffer, server-log):
4610 * simple.el (newline, delete-backward-char, delete-forward-char)
4611 (minibuffer-history-isearch-message, kill-line, track-eol)
4612 (temporary-goal-column):
4613 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4614 (flyspell-default-deplacement-commands):
4615 * textmodes/ispell.el (ispell-accept-output):
4616 * textmodes/sgml-mode.el (html-tag-help):
4617 * vc/compare-w.el (compare-ignore-whitespace)
4618 (compare-ignore-case, compare-windows-dehighlight):
4619 * vc/diff.el (diff):
4620 * whitespace.el (whitespace-point)
4621 (whitespace-font-lock-refontify, whitespace-bob-marker)
4622 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4623
4624 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4625
4626 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4627 (auto-revert-notify-rm-watch): Ignore errors.
4628 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4629 inotify, and '(size last-write-time) for w32notify.
4630 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4631 watch fails - this is a fallback to the file modification check.
4632 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4633 (auto-revert-notify-event-action)
4634 (auto-revert-notify-event-file-name): New defuns.
4635 (auto-revert-notify-handler): Use them. Implement first
4636 plausibility checks.
4637 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4638
4639 2013-01-11 Julien Danjou <julien@danjou.info>
4640
4641 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4642 max are almost equal. Also return the correct value for V which is
4643 already between 0 and 1.
4644
4645 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4646
4647 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4648
4649 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4650
4651 * autorevert.el (auto-revert-notify-rm-watch)
4652 (auto-revert-notify-add-watch): Fix typos in w32notify function
4653 names.
4654
4655 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4656
4657 * autorevert.el (auto-revert-notify-enabled): Move up.
4658 (auto-revert-use-notify): New defcustom.
4659 (auto-revert-mode, global-auto-revert-mode)
4660 (auto-revert-notify-add-watch, auto-revert-handler)
4661 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4662 `auto-revert-notify-enabled'.
4663
4664 2013-01-10 Elias Pipping <pipping@exherbo.org>
4665
4666 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4667 * doc-view.el (doc-view-document->bitmap):
4668 Use doc-view-single-page-converter-function instead of
4669 single-page-converter arg; adjust callers.
4670
4671 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4672
4673 * progmodes/which-func.el (which-function): Understand Semantic's use
4674 of overlays in imenu--index-alist.
4675
4676 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4677
4678 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4679 (Man-man-k-use-anchor): New var.
4680 (Man-parse-man-k): New function.
4681 (Man-completion-table): Use it.
4682 (man): Flush the completion cache between uses.
4683
4684 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4685
4686 * autorevert.el: Add file watch support.
4687 (auto-revert-notify-enabled): New defconst.
4688 (auto-revert-notify-watch-descriptor-hash-list)
4689 (auto-revert-notify-watch-descriptor)
4690 (auto-revert-notify-modified-p): New defvars.
4691 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4692 (auto-revert-notify-handler): New defuns.
4693 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4694 when mode is disabled.
4695 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4696 (auto-revert-buffers): Add file watches for active buffers.
4697
4698 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4699
4700 * cus-start.el (toplevel): Only allow float values for
4701 scroll-up-aggressively and scroll-down-aggressively.
4702 Allow any number for line-spacing.
4703
4704 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4707 (doc-view-pdf->png-converter-function): Use mupdf if available.
4708 (doc-view-djvu->png-converter-function)
4709 (doc-view-ps->png-converter-function): Remove.
4710 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4711 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4712 (doc-view-already-converted-p): Adjust accordingly.
4713 (doc-view-mode-p): Simplify.
4714 (doc-view-enlarge): Use setq-local.
4715 (doc-view-pdf->png-converter-ghostscript)
4716 (doc-view-djvu->png-converter-ddjvu)
4717 (doc-view-pdf->png-converter-mupdf): Rework to call
4718 doc-view-start-process directly.
4719 (doc-view-pdf/ps->png): Simplify accordingly.
4720 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4721 (doc-view-document->bitmap): Rename from doc-view-document->png.
4722 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4723 (doc-view-set-slice-from-bounding-box): Fix completion table.
4724 (doc-view-mode): Use add-hook for after-revert-hook.
4725
4726 2013-01-10 Glenn Morris <rgm@gnu.org>
4727
4728 * emacs-lisp/authors.el (authors-ignored-files)
4729 (authors-valid-file-names, authors-renamed-files-alist):
4730 Add some more entries.
4731
4732 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4735 `t' pseudo-window entry.
4736
4737 2013-01-10 Alan Mackenzie <acm@muc.de>
4738
4739 Fix bugs in the c-parse-state mechanism. Reuse some markers
4740 instead of continually generating new ones.
4741
4742 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4743 (c-state-old-cpp-end-marker): New variables.
4744 (c-append-lower-brace-pair-to-state-cache): Start a backward
4745 search for "}" definitively outside CPP constructs.
4746 (c-remove-stale-state-cache): Inform the caller of a need to
4747 search back for a brace pair in certain circumstances.
4748 (c-state-maybe-marker): New macro.
4749 (c-parse-state): Reuse markers when appropriate.
4750
4751 2013-01-10 Glenn Morris <rgm@gnu.org>
4752
4753 * simple.el (execute-extended-command): Doc fix.
4754 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4755
4756 2013-01-10 Chong Yidong <cyd@gnu.org>
4757
4758 * faces.el (read-face-name): Doc fix.
4759
4760 2013-01-10 Roland Winkler <winkler@gnu.org>
4761
4762 * emacs-lisp/crm.el: Allow any regexp for separators.
4763 (crm-default-separator): All spaces around the default comma separator.
4764 (crm--completion-command): New macro.
4765 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4766 (crm-complete-and-exit): Handle non-single-char separators.
4767
4768 2013-01-09 Elias Pipping <pipping@lavabit.com>
4769
4770 * doc-view.el: Add support for DjVu (bug#13164).
4771 (doc-view-djvu->png-converter-function): New config var.
4772 (doc-view-single-page-converter-function, doc-view--image-type)
4773 (doc-view--image-file-extension): New vars.
4774 (doc-view-mode): Initialize them.
4775 (doc-view-goto-page): Use them.
4776 (doc-view-mode-p): Add support for ddjvu.
4777 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4778 (doc-view-set-up-single-converter): New funs.
4779 (doc-view-pdf/ps->png): Extend for djvu.
4780 (doc-view-document->png): Rename from doc-view-pdf->png.
4781 (doc-view-convert-current-doc): Handle djvu.
4782 (doc-view-insert-image, doc-view-display)
4783 (doc-view-already-converted-p): Don't hardcode png.
4784 (doc-view-set-doc-type): Recognize djvu docs.
4785
4786 2013-01-09 Elias Pipping <pipping@lavabit.com>
4787
4788 * doc-view.el: Add support for mupdf converter (bug#13164).
4789 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4790 (doc-view-ps->png-converter-function): New config vars.
4791 (doc-view-pdf->png-converter-ghostscript)
4792 (doc-view-ps->png-converter-ghostscript)
4793 (doc-view-pdf->png-converter-mupdf): New functions.
4794 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4795
4796 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
4797
4798 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4799 first in session cache: When `tramp-own-remote-path' is in
4800 `tramp-remote-path', the remote path is only set in the session
4801 cache.
4802
4803 2013-01-09 Glenn Morris <rgm@gnu.org>
4804
4805 * emacs-lisp/trace.el (trace-function-foreground)
4806 (trace-function-background): Doc fix.
4807
4808 2013-01-09 Juri Linkov <juri@jurta.org>
4809
4810 * international/mule-cmds.el (read-char-by-name): Move let-binding
4811 of completion-ignore-case around completing-read to fix regression
4812 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4813 `string-match-p' using the nil value of `case-fold-search' and
4814 `completion-ignore-case' in `completion-pcm--all-completions'.
4815 (Bug#12615).
4816
4817 2013-01-09 Glenn Morris <rgm@gnu.org>
4818
4819 * progmodes/compile.el (compilation-parse-errors):
4820 Fix typo. (Bug#13369)
4821
4822 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4823
4824 * comint.el (comint-send-input): Check size of buffer before
4825 waiting for process output, in case already accepted. (Bug#13290)
4826
4827 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4828
4829 Spelling fixes.
4830 * net/tramp-adb.el (tramp-adb-get-toolbox):
4831 Fix misspelling of 'unknown'.
4832
4833 2013-01-08 Juri Linkov <juri@jurta.org>
4834
4835 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4836 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4837 Use underline style wave on terminals that support it. (Bug#13000)
4838
4839 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4840
4841 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4842 the predicate returns nil.
4843
4844 * simple.el: Use lexical-binding.
4845 (primitive-undo): Use pcase.
4846 (minibuffer-history-isearch-push-state): Use a closure.
4847
4848 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4849
4850 * simple.el (primitive-undo): Move from undo.c.
4851
4852 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4853
4854 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4855 (cvs-mode-remove-handled): Use it (bug#13380).
4856
4857 * emacs-lisp/nadvice.el (advice--tweak): New function.
4858 (advice--remove-function, advice--subst-main): Use it.
4859
4860 * emacs-lisp/advice.el: Update commentary.
4861
4862 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4863
4864 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4865 Remove spurious entry.
4866
4867 2013-01-08 Glenn Morris <rgm@gnu.org>
4868
4869 * net/tramp.el (tramp-default-host-alist): Add :version.
4870
4871 2013-01-08 Juri Linkov <juri@jurta.org>
4872
4873 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4874 single completion. (Bug#12456)
4875 (info--manual-names): Expand node completions into an explicit list
4876 before appending it to another list. Filter out internal buffers
4877 with the leading space in the buffer name. (Bug#10771)
4878
4879 2013-01-08 Juri Linkov <juri@jurta.org>
4880
4881 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4882 that defaults to the Top node.
4883 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4884 the short format (FILENAME) goes to the Top node.
4885 (Info-build-node-completions): Rename arg `file' to `filename'.
4886 (Bug#13365)
4887
4888 2013-01-07 Bastien Guerry <bzg@gnu.org>
4889
4890 * menu-bar.el (menu-bar-search-documentation-menu):
4891 Use `apropos-user-option' and fix the help message.
4892
4893 2013-01-07 Bastien Guerry <bzg@gnu.org>
4894
4895 * apropos.el (apropos-do-all): Update docstring.
4896 (apropos-user-option-button): New face.
4897 (apropos-user-option): Rename from `apropos-variable' and update
4898 docstring.
4899 (apropos-variable): Rewrite, now show all variables by default.
4900 (apropos-print): Mention "User option" instead of "Variable" when
4901 printing doc for user options. (Bug#13276)
4902
4903 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
4904
4905 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4906 Handle filename correctly, when parsing "source -> target" symlink
4907 output.
4908 (tramp-adb-handle-set-file-times): New defun.
4909
4910 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4913 advice list when the interactive-spec of ad-Advice-* changes.
4914
4915 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4916
4917 * wid-edit.el (widget-default-get): Work for inlined elements.
4918 (Bug#12670)
4919
4920 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4921
4922 * net/tramp.el (tramp-default-host-alist): New defcustom.
4923 (tramp-find-host): Use it.
4924 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4925 `eshell-directory-change-hook'.
4926
4927 * net/tramp-adb.el (top): Add adb specific entry in
4928 `tramp-default-host-alist'.
4929 (tramp-adb-file-name-host): Remove function.
4930 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4931 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4932
4933 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4934
4935 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
4936
4937 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4938
4939 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4940
4941 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4942 consist of more than one digit.
4943 (tramp-adb-file-name-handler-alist):
4944 Use `tramp-handle-file-exists-p' consistently.
4945 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4946 (tramp-adb-handle-file-exists-p): Remove function.
4947 (tramp-adb-file-name-host): New defun.
4948 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4949 Use it.
4950 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4951
4952 2013-01-06 Chong Yidong <cyd@gnu.org>
4953
4954 * vc/vc.el (vc-next-action): Detect buffer modifications
4955 conflicting with locking VCS operation (Bug#11490).
4956
4957 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4958
4959 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4960
4961 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4962 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4963
4964 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
4965
4966 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4967 parsing of ls output using regular expression (handle filenames
4968 with spaces). Use virtual device number.
4969 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4970 cleanup).
4971
4972 2013-01-04 Daiki Ueno <ueno@gnu.org>
4973
4974 * epg.el: Silence byte-compiler warnings.
4975 (epg--start): Use delete-char instead of delete-backward-char.
4976 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4977
4978 2013-01-04 Daiki Ueno <ueno@gnu.org>
4979
4980 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4981 Suggested by Eli Zaretskii <eliz@gnu.org>.
4982
4983 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4984
4985 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4986 non-negative integers. Otherwise, the default values are used.
4987 (tramp-convert-file-attributes): Convert uid and gid to integers.
4988
4989 2013-01-04 Glenn Morris <rgm@gnu.org>
4990
4991 * term.el (term-handle-colors-array): Ensure face attributes
4992 are fully specified, not nil. (Bug#13337)
4993
4994 * term.el (term-default-fg-color, term-default-bg-color):
4995 Fix custom type.
4996
4997 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4998 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4999 rather than 'jka-compr being loaded. (Bug#13338)
5000
5001 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5002
5003 * icomplete.el (icomplete-completions):
5004 Honor icomplete-prospects-height once more following
5005 2012-11-29 changes. (Bug#13224)
5006
5007 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5010 of called-interactively-p as well (bug#13237).
5011
5012 * view.el (view--enable, view--disable): Rename from view-mode-enable
5013 and view-mode-disable and assume it's called from view-mode.
5014 (view-mode-enable, view-mode-disable): Redefine as obsolete
5015 compatibility layer above view-mode.
5016 (view-mode-enter): Call `view-mode'.
5017
5018 * files.el (after-find-file): Call `view-mode'.
5019
5020 * doc-view.el (doc-view-scale-internally): New var.
5021 (doc-view-enlarge, doc-view-insert-image): Obey it.
5022
5023 2013-01-03 Daiki Ueno <ueno@gnu.org>
5024
5025 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5026 exist. (Bug#13344)
5027
5028 2013-01-03 Glenn Morris <rgm@gnu.org>
5029
5030 * mail/rmail.el (rmail-set-header-1): Ignore case.
5031 Handle multi-line headers. (Bug#13330)
5032
5033 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5034 Handle paragraph starting at beginning of buffer.
5035
5036 * subr.el (eval-after-load): Don't purecopy the form, so that it
5037 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5038
5039 * emacs-lisp/byte-run.el (defun): Place cl declarations
5040 after any interactive spec. (Bug#13265)
5041
5042 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5043
5044 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5045 defun. Don't check for DECL if DOCSTRING isn't a string.
5046 (defun): Likewise.
5047
5048 2013-01-02 Glenn Morris <rgm@gnu.org>
5049
5050 * eshell/em-cmpl.el (eshell-pcomplete):
5051 More thoroughly imitate pcomplete. (Bug#13293)
5052
5053 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5054 Return nil for empty path elements. (Bug#13296)
5055
5056 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
5057
5058 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5059 order to improve efficiency (Based on Daniel Colascione's
5060 <dancol@dancol.org> patch). (Bug#13182)
5061
5062 2013-01-02 Glenn Morris <rgm@gnu.org>
5063
5064 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5065
5066 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5067
5068 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5069 neither DOCSTRING nor DECL was given. (Bug#13316)
5070
5071 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5072
5073 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5074 `error' call.
5075 (tramp-do-copy-or-rename-file): Ignore errors when calling
5076 `set-file-extended-attributes'.
5077
5078 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5079 Add handler for `file-acl'.
5080 (tramp-smb-handle-file-acl): New defun.
5081
5082 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5083
5084 * calc/README: Mention ISO 8601 week-numbering dates.
5085
5086 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5087
5088 * view.el (view-mode-enable): New argument run-view-mode-hook.
5089 Run view-mode-hook only when it's non-nil (Bug#13315).
5090 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5091 argument t.
5092
5093 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
5094
5095 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5096 (No device connected, invalid device name). (Bug #13299)
5097
5098 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5099
5100 * window.el (window-resizable--p): Rename to window-resizable-p.
5101 (window-resize-no-error): New function.
5102
5103 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5104 broken in fix from 2012-12-28.
5105
5106 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * subr.el (special-form-p): Don't signal errors on undef aliases.
5109
5110 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5111
5112 * calc/calc-forms.el (math-parse-date): Try using
5113 `math-parse-iso-date' when it looks like it might be needed.
5114 Allow times of 24:00.
5115 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5116 of 24:00.
5117
5118 2012-12-30 Glenn Morris <rgm@gnu.org>
5119
5120 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5121 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5122 (rmail-summary-displayed, rmail-summary): Declare.
5123 (mairix-rmail-display): Just require rmail.
5124
5125 2012-12-30 Chong Yidong <cyd@gnu.org>
5126
5127 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5128 check for the tarball contents.
5129
5130 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5131
5132 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5133 tarfile content listings (Bug#13136).
5134
5135 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5136
5137 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5138 Insert the undecoded text of the message being forwarded. (Bug#9521)
5139
5140 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5141
5142 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5143 integers, if they are real numbers. (Bug#13282)
5144
5145 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5146 Return `t' on success.
5147
5148 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5149 Add handler for `set-file-selinux-context'.
5150
5151 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5152
5153 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5154 (tramp-sh-handle-set-file-acl): Return `t' on success.
5155
5156 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5157
5158 * files.el (backup-buffer-copy, basic-save-buffer-2):
5159 If set-file-extended-attributes fails, fall back on set-file-modes
5160 instead of signaling an error. (Bug#13298)
5161 (basic-save-buffer): Likewise.
5162
5163 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5164
5165 * progmodes/python.el: Support other commands triggering
5166 python-indent-line so indentation cycling continues to work.
5167 (python-indent-trigger-commands): New defcustom.
5168 (python-indent-line): Use it.
5169
5170 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5171
5172 * progmodes/python.el (python-shell-send-region): Add blank lines
5173 for non sent code so backtraces remain correct.
5174
5175 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5176
5177 * progmodes/python.el: Remove cl dependency.
5178 (python-syntax-count-quotes): Replace incf call.
5179 (python-fill-string): Replace setf call.
5180
5181 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5182
5183 * info.el (info-other-window): New arg, for consistency with info.
5184
5185 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5186
5187 * mail/rmail.el (rmail-maybe-display-summary):
5188 Rewrite (Bug#13066).
5189
5190 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5191
5192 * epg.el (epg--start): Modify process-environment locally.
5193
5194 2012-12-28 Daiki Ueno <ueno@gnu.org>
5195
5196 * epg.el: Support pinentry-curses.
5197 Suggested by Werner Koch in
5198 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5199 (epg-agent-file, epg-agent-mtime): New variable.
5200 (epg--start): Record the modified time of gpg-agent socket file,
5201 to restore Emacs frame after pinentry-curses termination.
5202 (epg-wait-for-completion): Restore Emacs frame here.
5203
5204 2012-12-27 Juri Linkov <juri@jurta.org>
5205
5206 * info.el (Info-file-completions): New variable.
5207 (Info-read-node-name-1): Complete node names in the Info file
5208 when a file name is given. Call `Info-build-node-completions'
5209 with a file name.
5210 (Info-build-node-completions): Add new arg `file'. When it is
5211 non-nil, visit it in a temporary buffer and cache its completions in
5212 `Info-current-file-completions'. Move most of the function body to
5213 `Info-build-node-completions-1'.
5214 (Info-build-node-completions-1): New function with the body from
5215 `Info-build-node-completions'. (Bug#12456)
5216
5217 2012-12-27 Juri Linkov <juri@jurta.org>
5218
5219 * frame.el (frame-maximization-style): Remove user option.
5220 (cycle-frame-maximized): Remove function.
5221 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5222 (toggle-frame-fullscreen): New command bound to <f11> instead of
5223 `toggle-frame-maximized'.
5224 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5225
5226 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5227
5228 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5229
5230 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5231 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5232 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5233 for `file-accessible-directory-p'. (Bug#13275)
5234
5235 2012-12-27 Sam Steingold <sds@gnu.org>
5236
5237 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5238 continuations, see <http://stackoverflow.com/questions/3582436>.
5239
5240 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5241
5242 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5243 "module" and "def" to have indentation before them.
5244 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5245
5246 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5247
5248 2012-12-27 Alan Mackenzie <acm@muc.de>
5249
5250 Speed up fontification where there's large brace blocks.
5251 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5252 to a call of c-beginning-of-decl-1.
5253
5254 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5255
5256 * comint.el (comint-adjust-window-point): New function.
5257 (comint-postoutput-scroll-to-bottom):
5258 Call comint-adjust-window-point (Bug#13248).
5259
5260 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5261
5262 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5263 Rakefile regexp.
5264 (auto-mode-alist): Associate .gemspec files with ruby-mode
5265 (https://bugs.ruby-lang.org/issues/5453).
5266
5267 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
5268
5269 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5270 Suppress coloring, if possible (required for BusyBox based systems like
5271 CyanogenMod).
5272 (tramp-adb-handle-file-attributes)
5273 (tramp-adb-handle-insert-directory)
5274 (tramp-adb-handle-file-name-all-completions): Use it.
5275 (tramp-adb-get-toolbox): New defun. Check for remote shell
5276 implementation (BusyBox or Toolbox).
5277
5278 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5279
5280 * startup.el (initial-buffer-choice): Allow function as value
5281 (Bug#13251).
5282 (command-line-1): Handle case where initial-buffer-choice
5283 specifies a function.
5284 * server.el (server-execute): Handle case where
5285 initial-buffer-choice specifies a function.
5286
5287 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5288
5289 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5290 its own function.
5291 (smtpmail-try-auth-methods): Forget the user name/password if the
5292 login is unsuccessful (bug#12424).
5293
5294 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5295
5296 * notifications.el (notifications-notify): Protect body with
5297 `with-demoted-errors'.
5298
5299 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5300 Check properties of remote device. Restart connection, if there is a
5301 change.
5302
5303 2012-12-21 Chong Yidong <cyd@gnu.org>
5304
5305 * sort.el (sort-subr): Doc fix (Bug#13056).
5306
5307 2012-12-21 Bastien Guerry <bzg@gnu.org>
5308
5309 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5310
5311 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5312
5313 * simple.el (process-file): Overwrite stderr file, if exists.
5314
5315 2012-12-21 Daiki Ueno <ueno@gnu.org>
5316
5317 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5318 (epg-error): Set `error-message' property.
5319
5320 2012-12-21 Chong Yidong <cyd@gnu.org>
5321
5322 * international/mule-cmds.el (read-char-by-name): Signal an error
5323 if the user does not supply a valid character (Bug#13177).
5324
5325 * simple.el (transpose-subr-1): Preserve marker positions by
5326 changing the insertion sequence (Bug#13122).
5327
5328 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5329
5330 * simple.el (kill-region): Deactivate mark even for empty regions
5331 (Bug#13169).
5332
5333 2012-12-21 Chong Yidong <cyd@gnu.org>
5334
5335 * help-fns.el (describe-variable): Make sure we get the right
5336 buffer name (Bug#13105). Suggested by Kelly Dean.
5337
5338 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5339
5340 * comint.el (comint-redirect-previous-input-string): New variable.
5341 (comint-redirect-setup, comint-redirect-cleanup)
5342 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5343 (comint-redirect-preoutput-filter): Fix verbose message.
5344
5345 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5346
5347 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5348 is too long for Tramp. See discussion in
5349 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5350
5351 * progmodes/compile.el (compilation-start): Remove line escape
5352 template.
5353
5354 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5355
5356 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5357 Adjust comment.
5358
5359 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5360
5361 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5362 following non-comment text (bug#13207).
5363 (lm-header-multiline): Continuation lines need to be indented more than
5364 the first line.
5365 (lm-homepage): New function.
5366 (lm-with-file): Don't be confused if narrowing is in effect.
5367
5368 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5371 very beginning of a hunk (e.g. killing the first line).
5372
5373 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5374
5375 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5376 and text properties from returned ACL string.
5377 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5378 for "setfacl" command.
5379
5380 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5381
5382 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5383 `tramp-cleanup-this-connection', when the process has died.
5384 (Bug#13151)
5385
5386 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5389
5390 2012-12-17 Kevin Ryde <user42@zip.com.au>
5391
5392 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5393
5394 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5395
5396 Add support for preserving ACL entries of files.
5397
5398 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5399 `set-file-acl' handlers.
5400
5401 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5402 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5403
5404 * net/tramp-compat.el (tramp-compat-copy-file):
5405 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5406
5407 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5408 Add `file-acl' and `set-file-acl' handlers.
5409 (tramp-gvfs-handle-copy-file):
5410 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5411 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5412 New defuns.
5413
5414 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5415 Add `file-acl' and `set-file-acl' handlers.
5416 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5417 (tramp-sh-handle-set-file-acl): New defuns.
5418 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5419 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5420
5421 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5422 Add `file-acl' and `set-file-acl' handlers.
5423 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5424
5425 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5426
5427 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5428 use pop-to-buffer with NORECORD argument t. As buffer name, use
5429 *Metahelp* with a leading space (Bug#13190).
5430
5431 2012-12-16 Romain Francoise <romain@orebokech.com>
5432
5433 * files.el (file-extended-attributes)
5434 (set-file-extended-attributes): New functions.
5435 (backup-buffer): Use them to handle both SELinux context and ACL
5436 entries.
5437 (backup-buffer-copy): Work with an alist of extended attributes,
5438 rather than an SELinux context.
5439 (basic-save-buffer-2): Ditto.
5440
5441 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5442
5443 * battery.el (battery-bsd-apm): New function.
5444
5445 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5446
5447 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5448 standard date formats.
5449
5450 2012-12-15 Juri Linkov <juri@jurta.org>
5451
5452 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5453 `isearch-insert-char-by-name'.
5454 (with-isearch-suspended): New defmacro with body mostly from
5455 `isearch-edit-string' except the part that sets
5456 `isearch-new-string' and `isearch-new-message'.
5457 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5458 body that sets `isearch-new-string' and `isearch-new-message'.
5459 (isearch-insert-char-by-name): New command.
5460 * international/mule-cmds.el (read-char-by-name): Let-bind
5461 `enable-recursive-minibuffers' to t.
5462 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5463
5464 2012-12-15 Juri Linkov <juri@jurta.org>
5465
5466 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5467 (Bug#13175)
5468
5469 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5470
5471 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5472 the prompt. (Bug#13045)
5473
5474 2012-12-14 Glenn Morris <rgm@gnu.org>
5475
5476 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5477 Try to include filename in non-bytecomp warning. (Bug#13132)
5478
5479 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5480
5481 Fix permissions bugs with setgid directories etc. (Bug#13125)
5482 * files.el (backup-buffer): Don't rely on 9th output of
5483 file-attributes, as it's now a placeholder. Instead, use the new
5484 optional arg of file-ownership-preserved-p.
5485 (file-ownership-preserved-p): New optional arg GROUP.
5486 Fix mishandling of setuid directories that would cause this
5487 function to return t when it should have returned nil.
5488 Document what happens if the file does not exist, and when
5489 it's not known whether the ownership will be preserved.
5490 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5491 Likewise.
5492 (tramp-get-local-gid): Use group-gid for integer, as that's
5493 faster and more reliable.
5494
5495 2012-12-14 Julien Danjou <julien@danjou.info>
5496
5497 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5498 Update keywords list, data type and PL/pgSQL.
5499
5500 2012-12-14 Dave Abrahams <dave@boostpro.com>
5501
5502 * vc/ediff-util.el (ediff-buffer-type): New function.
5503 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5504 rather than taking it as as argument.
5505 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5506
5507 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5508
5509 * json.el: Add pretty-print option (bug#12634).
5510 (json-encoding-separator, json-encoding-default-indentation)
5511 (json--encoding-current-indentation, json-encoding-pretty-print)
5512 (json-encoding-lisp-style-closings): New vars.
5513 (json--with-indentation): New macro.
5514 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5515 (json-encode-array): Use it to obey json-encoding-pretty-print.
5516 (json-pretty-print-buffer, json-pretty-print): New commands.
5517
5518 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5519
5520 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5521 Extract `ruby-syntax-propertize-expansions'.
5522 (ruby-syntax-propertize-expansions): Only change syntax on
5523 certain string delimiters, to punctuation. This way the common
5524 functions like forward-word and thing-at-point still work.
5525 (ruby-match-expression-expansion): Improve readability.
5526 (ruby-block-contains-point): New function.
5527 (ruby-add-log-current-method): Handle several edge cases.
5528
5529 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5530
5531 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5532 unload-feature finishes even when aborting an ongoing edebug session.
5533 Also, do not worry about edebug-mode, unload-feature takes care of it.
5534
5535 2012-12-13 Andreas Schwab <schwab@suse.de>
5536
5537 * net/tls.el (tls-program): Update customize type.
5538
5539 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5540
5541 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5542 (edebug-setup-hook, cl-read-load-hooks): Use it.
5543 (edebug-unload-function): New function. (Bug#13163)
5544
5545 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5546
5547 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5548 Otherwise, there could be errors in autoloading. (Bug#13151)
5549
5550 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
5551
5552 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5553 sequences.
5554
5555 2012-12-13 Alan Mackenzie <acm@muc.de>
5556
5557 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5558 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5559 around `forward-comment' not recognizing ^M as whitespace.
5560
5561 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
5562
5563 * progmodes/python.el (python-skeleton-class)
5564 (python-skeleton-def): Do not add space after defun name.
5565
5566 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5568 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5569 (cl--symbol-function): Remove (now that funbound is like nil).
5570
5571 2012-12-12 Glenn Morris <rgm@gnu.org>
5572
5573 * button.el (button--area-button-p): Fix typo.
5574
5575 2012-12-12 Sam Steingold <sds@gnu.org>
5576
5577 * frame.el (frame-maximization-style): New user option.
5578 (toggle-frame-maximized): Toggle frame maximization according to
5579 `frame-maximization-style', bound to <f11>.
5580 (cycle-frame-maximized): Cycle between all maximization styles and
5581 non-maximized frame, bound to shift-<f11>.
5582
5583 2012-12-12 David Cadé <codename68@gmail.com>
5584
5585 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5586
5587 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5588
5589 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5590 (eieio-override-prin1): Don't quote kewords and booleans.
5591 (object-write) <eieio-default-superclass>: Don't put closing parens
5592 on new line, avoid needless empty lines, align values that are objects
5593 with the slot keyword (instead of beginning on the same line).
5594 (eieio-list-prin1): Align value with slot keyword; increase
5595 eieio-print-depth before printing members of the list.
5596
5597 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5598
5599 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5600 a display text-property.
5601 (report-emacs-bug-hook): Don't bother deleting it any more.
5602
5603 * hilit-chg.el (highlight-save-buffer-state): Delete.
5604 Use with-silent-modifications instead.
5605 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5606
5607 * button.el: Handle buttons in display text-properties.
5608 (button--area-button-p, button--area-button-string):
5609 Use (STRING . STRING-POS) representation instead of just STRING.
5610
5611 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5612
5613 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5614 subdirectory be skipped.
5615
5616 2012-12-11 Glenn Morris <rgm@gnu.org>
5617
5618 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5619
5620 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5621 Treat preprocessor lines embedded in continuations like comments.
5622 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5623
5624 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5625
5626 * calc/calc.el (calc-standard-date-formats): Add more date
5627 formats.
5628 * calc/calc-forms.el (math-parse-iso-date): New function.
5629 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5630 (math-parse-iso-date-validate): Add extra error checking.
5631 (calc-date-notation): Add ability to access new date formats.
5632
5633 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5636 font-lock as well as when there's no text-property.
5637
5638 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5639
5640 * hi-lock.el: Refine the choice of default face.
5641 (hi-lock-keyword->face): New function. Use it wherever we used
5642 cadadadr instead.
5643 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5644 (hi-lock--last-face): Remove var.
5645 (hi-lock--unused-faces): New var to replace it.
5646 (hi-lock-read-face-name): Use/maintain it.
5647 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5648 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5649 if it has another face.
5650
5651 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5652
5653 * subr.el (w32notify-handle-event): New function.
5654 (inotify-handle-event): Doc fix.
5655
5656 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5657
5658 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5659
5660 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5661
5662 * simple.el (just-one-space): Doc fix.
5663
5664 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5665
5666 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5667
5668 2012-12-10 Le Wang <l26wang@gmail.com>
5669
5670 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5671 narrowed buffer (bug#12361).
5672
5673 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5674
5675 * vc/vc-hooks.el (vc-state): Doc fix.
5676
5677 2012-12-10 Glenn Morris <rgm@gnu.org>
5678
5679 * mail/rmail.el (rmail-maybe-display-summary):
5680 Preserve buffer, in case select-window changes it. (Bug#13066)
5681
5682 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5683
5684 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5685 cl-load-hook where they belong.
5686
5687 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5690
5691 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5692
5693 Parallelize byte compilation on MS-Windows.
5694 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5695 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5696 (WINS_BASIC): Define as concatenation of the above.
5697 (compile): Subdivide into 4 separate and independent jobs that can
5698 be run in parallel.
5699 (compile0-CMD, compile0-SH): New targets for compiling
5700 COMPILE_FIRST files, which are prerequisites for the rest of the
5701 byte-compilation.
5702 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5703 New targets for parallel compilation with cmd.exe.
5704 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5705 compiling under a Unixy shell.
5706
5707 2012-12-09 Chong Yidong <cyd@gnu.org>
5708
5709 * simple.el (set-mark-default-inactive): Delete this
5710 accidentally-introduced option.
5711 (set-mark-command, exchange-point-and-mark): Remove calls.
5712
5713 2012-12-09 Glenn Morris <rgm@gnu.org>
5714
5715 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5716 Respect a defcustom's :set function, if appropriate. (Bug#109)
5717 (eval-defun): Doc fix.
5718
5719 2012-12-08 Juri Linkov <juri@jurta.org>
5720
5721 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5722 (Info-fontify-node, Info-bookmark-make-record): Remove the
5723 file extension from Info-current-file (Bug#13016).
5724
5725 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5728 point, still provide some default.
5729 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5730 names, since we don't use it right now. Actually return the list.
5731 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5732
5733 2012-12-07 Chong Yidong <cyd@gnu.org>
5734
5735 * novice.el (disabled-command-function): Remove a spurious help
5736 xref (Bug#13043). Suggested by Kelly Dean.
5737
5738 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5739 syntax is specified (Bug#13025).
5740
5741 * info.el (Info-set-mode-line): Remove the file extension from
5742 Info-current-file if there is one (Bug#13016).
5743
5744 2012-12-07 Glenn Morris <rgm@gnu.org>
5745
5746 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5747 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5748 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5749 and rmail-mime-decoded. (Bug#9841)
5750
5751 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5752 (batch-unrmail, unrmail): Doc fixes.
5753 (unrmail): Respect unrmail-mbox-format.
5754 * mail/rmail.el (rmail-mbox-format): New option.
5755 (rmail-show-message-1): Respect rmail-mbox-format.
5756
5757 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5760
5761 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5764 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5765 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5766 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5767 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5768 (cl-progv): Don't rely on dynamic scoping to find the body.
5769 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5770 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5771 (cl-declaim): Use backquotes.
5772 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5773 Use "cl--" prefix for the object's tag.
5774
5775 * ses.el: Use advice-add/remove.
5776 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5777 (copy-region-as-kill, yank): Use advice-add.
5778 (ses-unload-function): Use advice-remove.
5779
5780 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5781
5782 * button.el: Make them work in header-lines (bug#12817).
5783 (button-map): Add bindings for header-line and mode-line use.
5784 (button-get, button-put, button-label): `button' may now be a string.
5785 (button-activate): Don't make it a defsubst.
5786 (button--area-button-p, button--area-button-string): New functions.
5787 (make-text-button): Fix the return value when `beg' was a string.
5788 (push-button): Handle the mode-line case.
5789
5790 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5793 (sql-signum): Remove. Use `cl-signum' instead.
5794 (sql-read-passwd): Remove; use read-passwd instread.
5795 (sql-get-login-ext): Use read-string.
5796 (sql-get-login): Use dolist and pcase.
5797 (sql--completion-table): Rename from sql-try-completion.
5798 Use complete-with-action.
5799 (sql-mode): Don't change abbrev-all-caps globally.
5800 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5801 (sql-postgres-completion-object): Initialize vars in their `let'.
5802 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5803 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5804 (sql-comint-interbase): Use a single append, without setq.
5805 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5806
5807 * hi-lock.el: Rework the default face and the serialize regexp code.
5808 (hi-lock--auto-select-face-defaults): Remove.
5809 (hi-lock-string-serialize-serial): Remove.
5810 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5811 make weak.
5812 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5813 equal string.
5814 (hi-lock-set-pattern): Adjust accordingly.
5815 (hi-lock--regexps-at-point): Simplify accordingly.
5816 (hi-lock--auto-select-face-defaults): Remove.
5817 (hi-lock--last-face): New var to replace it.
5818 (hi-lock-read-face-name): Rewrite (bug#11095).
5819 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5820
5821 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5822
5823 * net/tramp.el (tramp-replace-environment-variables):
5824 Hide compiler warning.
5825 (tramp-file-name-for-operation): Remove `executable-find',
5826 `start-process', `call-process' and `call-process-region'.
5827
5828 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5829
5830 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5831 compatibility.
5832
5833 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5834
5835 2012-12-06 Chong Yidong <cyd@gnu.org>
5836
5837 * ffap.el (ffap-replace-file-component): Fix typo.
5838
5839 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5842 fix open-paren-like token test (bug#12785).
5843
5844 2012-12-06 Glenn Morris <rgm@gnu.org>
5845
5846 * mail/rmailsum.el (rmail-new-summary): Tweak for
5847 rmail-maybe-display-summary changing buffer. (Bug#13066)
5848
5849 2012-12-06 Juri Linkov <juri@jurta.org>
5850
5851 * info.el (Info-fontify-node): Don't hide the last newline.
5852 (Bug#12272)
5853
5854 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5855
5856 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5857 so as to enable message-read-from-minibuffer to expand mail aliases.
5858
5859 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5860
5861 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5862 the `intangible' property.
5863 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5864
5865 2012-12-05 Deniz Dogan <deniz@dogan.se>
5866
5867 * net/rcirc.el (rcirc-urls): Update documentation.
5868 (rcirc-condition-filter): New function.
5869 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5870 and exclude consecutive duplicate URLs (Bug#6082).
5871
5872 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5873
5874 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5875 Check return code of copy command.
5876
5877 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5878 Use group `tramp'. Add version.
5879
5880 2012-12-05 Chong Yidong <cyd@gnu.org>
5881
5882 * ffap.el (ffap-url-regexp): Don't require matching at front of
5883 string (Bug#4952).
5884 (ffap-url-p): If only a substring matches, return that.
5885 (ffap-url-at-point): Use the return value of ffap-url-p.
5886 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5887 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5888 (ffap-guess-file-name-at-point): Likewise.
5889 (ffap-replace-file-component): Fix typo.
5890
5891 * info.el (info-display-manual): Add existing Info buffers, whose
5892 files may not be in Info-directory-list, to the completion.
5893 (info--manual-names): New helper function.
5894
5895 2012-12-05 Glenn Morris <rgm@gnu.org>
5896
5897 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5898 New functions, for detecting and resolving conflicts. (Bug#10709)
5899
5900 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5901
5902 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5903 (hi-lock-auto-select-face-defaults): New buffer local variable.
5904 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5905 (hi-lock-unface-buffer): Prompt user with useful defaults.
5906 With prefix arg, unhighlight all hi-lock patterns in buffer.
5907
5908 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5911
5912 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5913
5914 * Makefile.in (TRAMP_SRC):
5915 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5916
5917 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5918
5919 * net/tramp-adb.el: New package.
5920
5921 2012-12-04 Chong Yidong <cyd@gnu.org>
5922
5923 * terminal.el: Move to obsolete/.
5924
5925 * longlines.el: Move to obsolete/.
5926
5927 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5928 Remove code referring to longlines mode.
5929
5930 2012-12-03 Juri Linkov <juri@jurta.org>
5931
5932 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5933
5934 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5935
5936 * textmodes/ispell.el (ispell-init-process)
5937 (ispell-start-process, ispell-internal-change-dictionary):
5938 Make sure personal dictionary name is expanded after initial
5939 `default-directory' value. Use expanded strings for
5940 keep/restart checks and for value (Bug#13019).
5941
5942 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5943
5944 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5945
5946 2012-12-03 Leo Liu <sdl.web@gmail.com>
5947
5948 * files.el (dir-locals-read-from-file): Check file non-empty
5949 before reading. (Bug#13038)
5950
5951 2012-12-03 Glenn Morris <rgm@gnu.org>
5952
5953 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5954 Remove any version extension before checking filename. (Bug#13006)
5955 (jka-compr-compression-info-list): Belated :version bump.
5956
5957 2012-12-03 Chong Yidong <cyd@gnu.org>
5958
5959 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5960
5961 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5962 (buffer-menu): Doc fix (Bug#12294).
5963
5964 2012-12-03 Roland Winkler <winkler@gnu.org>
5965
5966 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5967 of diary-show-all-entries in the diary buffer (Bug#12994).
5968
5969 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5970
5971 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5972 "<STDIN>". This is binary safe.
5973
5974 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5975
5976 * calc/calc-forms.el (math-absolute-from-iso-dt)
5977 (math-date-to-iso-dt, math-parse-iso-date-validate)
5978 (math-iso-dt-to-date): New functions.
5979 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5980 (math-fd-isoweekday): New variables.
5981 (calc-date-notation, math-parse-standard-date, math-format-date)
5982 (math-format-date-part): Add support for more formatting codes.
5983
5984 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5985
5986 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5987 current buffer's file name when called interactively (Bug#12488).
5988
5989 2012-12-02 Juri Linkov <juri@jurta.org>
5990
5991 * info.el (info-display-manual): Don't clobber an existing Info
5992 buffer (Bug#10770). Add completion (Bug#10771).
5993
5994 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5995
5996 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5997 before using it for comparison (Bug#5297).
5998
5999 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6000
6001 * textmodes/css-mode.el (css-current-defun-name): New function.
6002 (css-mode): Use it.
6003
6004 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6005 (html-mode): Use it.
6006
6007 2012-12-01 Chong Yidong <cyd@gnu.org>
6008
6009 Modularize add-log-current-defun (Bug#2224).
6010 Suggested by Jari Aalto.
6011
6012 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6013 (add-log-current-defun): Move mode-specific code to other files.
6014 (add-log-lisp-like-modes, add-log-c-like-modes)
6015 (add-log-tex-like-modes): Variables deleted.
6016
6017 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6018 (lisp-mode-variables): Use it.
6019
6020 * progmodes/cc-mode.el (c-common-init):
6021 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6022 add-log-current-defun-function.
6023
6024 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6025 (m4-mode): Use it.
6026
6027 * progmodes/perl-mode.el (perl-current-defun-name): New.
6028 (perl-mode): Use it.
6029
6030 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6031 Use lisp-current-defun-name.
6032
6033 * textmodes/tex-mode.el (tex-current-defun-name): New.
6034 (tex-common-initialization): Use it.
6035
6036 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6037 (texinfo-mode): Use it.
6038
6039 2012-12-01 Chong Yidong <cyd@gnu.org>
6040
6041 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6042 * progmodes/autoconf.el (autoconf-mode):
6043 * progmodes/js.el (js-mode):
6044 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6045 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6046 * progmodes/perl-mode.el (perl-mode):
6047 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6048 * textmodes/css-mode.el (css-mode):
6049 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6050 (sgml-tags-invisible, sgml-guess-indent):
6051 * textmodes/tex-mode.el (tex-common-initialization)
6052 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6053 (doctex-mode, plain-tex-mode, latex-mode):
6054 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6055
6056 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6057
6058 * vc/vc-hg.el (vc-hg-next-revision):
6059 Ensure use of default "tip" output format. (Bug#6968)
6060
6061 2012-12-01 Kim F. Storm <storm@cua.dk>
6062
6063 * startup.el (fancy-startup-tail): Add a clickable link
6064 (Bug#2176).
6065
6066 2012-12-01 Chong Yidong <cyd@gnu.org>
6067
6068 * startup.el (fancy-startup-tail): Improve the message about
6069 auto-save files (Bug#2176).
6070
6071 * files.el (recover-session): Improve the descriptive message, and
6072 use substitute-command-keys.
6073
6074 2012-12-01 Glenn Morris <rgm@gnu.org>
6075
6076 * ido.el (ido-file-internal):
6077 Handle other-window, other-frame for dired. (Bug#13036)
6078
6079 2012-11-30 Glenn Morris <rgm@gnu.org>
6080
6081 * icomplete.el (icomplete-separator): Fix :version.
6082
6083 2012-11-30 Chong Yidong <cyd@gnu.org>
6084
6085 * shell.el (shell): For C-u M-x shell, use an inactive shell
6086 buffer as the default (Bug#1975).
6087 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6088 (shell-mode): Use them to reapply ansi colorization if Shell mode
6089 is re-enabled.
6090
6091 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6092
6093 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6094
6095 2012-11-30 Samuel Bronson <naesten@gmail.com>
6096
6097 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6098 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6099
6100 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6101
6102 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6103 by move-to-column (Bug#3234).
6104
6105 2012-11-30 Chong Yidong <cyd@gnu.org>
6106
6107 * longlines.el (longlines-wrap-line, longlines-encode-region):
6108 Preserve text properties (Bug#1425).
6109
6110 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6111
6112 * vc/vc.el (vc-register): Allow registering a file which is
6113 already registered with a different backend (Bug#10589).
6114
6115 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6116 Stefan Monnier <monnier@iro.umontreal.ca>
6117
6118 * icomplete.el: Change separator; add ido-style commands.
6119 (icomplete-show-key-bindings): Remove custom var.
6120 (icomplete-get-keys): Remove function.
6121 (icomplete-forward-completions, icomplete-backward-completions):
6122 New commands.
6123 (icomplete-minibuffer-map): New var.
6124 (icomplete-minibuffer-setup): Use it.
6125 (icomplete-exhibit): Don't delay if the list of completions is known.
6126 (icomplete-separator): New custom.
6127 (icomplete-completions): Use it.
6128 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6129 (minibuffer-force-complete-and-exit): New command.
6130 (minibuffer--complete-and-exit): New function extracted from
6131 minibuffer-complete-and-exit.
6132 (minibuffer-complete-and-exit): Use it.
6133
6134 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6135 error message when the file doesn't exist (bug#12974).
6136
6137 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6138
6139 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6140
6141 2012-11-29 Glenn Morris <rgm@gnu.org>
6142
6143 * files.el (hack-dir-local-variables): Warn if try to set
6144 coding via dir-locals, since it doesn't work. (Bug#7169)
6145
6146 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6147 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6148 Set buffer-local value of desktop-save-buffer.
6149 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6150 New functions.
6151 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6152 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6153
6154 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6155 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6156 Doc fix.
6157 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6158 Doc fixes.
6159
6160 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6161
6162 * calc/calc-forms.el (calc-date-notation): Fix regexp
6163 used to find time codes. Fix symbol for seconds.
6164
6165 2012-11-27 Glenn Morris <rgm@gnu.org>
6166
6167 * emacs-lisp/derived.el (derived-mode-make-docstring):
6168 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6169
6170 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6171
6172 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6173 lexically scoped variables (bug#13005).
6174
6175 2012-11-27 Glenn Morris <rgm@gnu.org>
6176
6177 * vc/vc-hooks.el (vc-mistrust-permissions):
6178 Default to t, to avoid data-loss. (Bug#11490)
6179
6180 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
6181
6182 * progmodes/python.el (python-indent-guess-indent-offset):
6183 If indentation is guessed make python-indent-offset buffer-local.
6184
6185 Fix Imenu regression.
6186 * progmodes/python.el (python-nav-beginning-of-defun):
6187 Fix forward movement when statement(s) separates point from defun.
6188 (python-imenu-prev-index-position): New function.
6189
6190 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6191
6192 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6193
6194 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6195 Don't set buffer-file-type. Return nil. (Bug#12989)
6196
6197 2012-11-27 Glenn Morris <rgm@gnu.org>
6198
6199 * hippie-exp.el (hippie-expand-try-functions-list):
6200 Re-autoload it. (Bug#12982)
6201
6202 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6203
6204 * descr-text.el (describe-char-padded-string):
6205 Call internal-char-font only on GUI frames. (Bug#11964)
6206
6207 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6208
6209 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6210 and obsoletion message.
6211
6212 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6213
6214 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6215 the constructs to keep outside of the `cl-block' (bug#12977).
6216
6217 2012-11-27 Chong Yidong <cyd@gnu.org>
6218
6219 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6220 keep reading until we get the up-event anyway, in order to process
6221 the up-event for mouse-1-click-follows-link (Bug#12971).
6222
6223 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6226 base function is not yet defined (bug#12965).
6227 (ad-activate-advised-definition): Use ad-compile-function.
6228 (ad-activate): Use cond.
6229
6230 2012-11-25 Leo Liu <sdl.web@gmail.com>
6231
6232 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6233 (Bug#12979)
6234
6235 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6236
6237 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6238 reftex-section-info-function in order to be compatible with
6239 Texinfo integration.
6240
6241 * textmodes/reftex.el (reftex-section-pre-regexp)
6242 (reftex-section-post-regexp, reftex-section-info-function):
6243 New variable.
6244 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6245 reftex-section-post-regexp, and reftex-section-info-function in order
6246 to be compatible with Texinfo integration.
6247
6248 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6249 use reftex-section-pre-regexp variable in order to be compatible with
6250 Texinfo integration.
6251
6252 2012-11-25 Chong Yidong <cyd@gnu.org>
6253
6254 * faces.el: Make face-spec-set more analogous to setq.
6255 (face-spec-set): Change the third arg to specify whether this
6256 function is being called via defface, customize, or a third party.
6257 Set the appropriate symbol properties. Clear the override spec if
6258 setting via Custom. Initialize face if necessary. (Bug#4988)
6259 (face-spec-recalc): Allow theme faces to completely replace the
6260 defface spec, in the same way as custom faces (Bug#8454).
6261
6262 * cus-face.el (custom-declare-face): Move face initialization to
6263 face-spec-set.
6264 (custom-theme-set-faces): Don't initialize the face name here, as
6265 that is now done in face-spec-set.
6266
6267 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6268 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6269 Simplify by using the new arg to face-spec-set.
6270
6271 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6272 reset face-override-spec too, and use custom-declare-face.
6273
6274 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6275
6276 * term/ns-win.el (ns-initialize-window-system): Move creation of
6277 fontsets here (Bug#11964).
6278
6279 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6280
6281 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6282 cell renaming.
6283
6284 2012-11-24 Chong Yidong <cyd@gnu.org>
6285
6286 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6287 obsolete.
6288
6289 * custom.el (custom-theme-set-variables): Use a topological sort
6290 for ordering by custom dependencies (Bug#12952).
6291 (custom--sort-vars, custom--sort-vars-1): New functions.
6292
6293 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6294
6295 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6296 lexical-binding (bug#12938).
6297
6298 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6299
6300 * image-mode.el (image-transform-check-size): Use assertions only
6301 for images of type imagemagick.
6302
6303 Otherwise no error, image-transform-fit-to-{width,height} is
6304 silently ignored, as before. Doc fix.
6305
6306 2012-11-24 Chong Yidong <cyd@gnu.org>
6307
6308 * faces.el (color-defined-p): Doc fix (Bug#12853).
6309
6310 2012-11-24 Juri Linkov <juri@jurta.org>
6311
6312 * dired.el (dired-mark): Add optional arg `interactive'.
6313 Check for `use-region-p' if `interactive' is non-nil.
6314 (dired-unmark, dired-flag-file-deletion): Add optional arg
6315 `interactive'. Call `dired-mark' with the arg `interactive'.
6316 (Bug#10624)
6317
6318 * wdired.el: Revert 2012-10-17 change partly and replace it with
6319 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6320 (wdired-finish-edit): Add marks for new file names to
6321 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6322 after `revert-buffer'.
6323 (wdired-do-renames): Remove calls to `dired-remove-file',
6324 `dired-add-file', `dired-add-entry'. (Bug#11795)
6325
6326 2012-11-24 Alan Mackenzie <acm@muc.de>
6327
6328 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6329
6330 Fix bugs in the state cache. Enhance a debugging mechanism.
6331 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6332 "brace at column zero" strategy for C++.
6333 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6334 (c-parse-state-point): New variable.
6335 (c-record-parse-state-state): Record old parse state with
6336 `copy-tree'. Record previous value of point.
6337 (c-debug-parse-state-double-cons): New debugging function.
6338 (c-debug-parse-state): Call the above new function.
6339 (c-toggle-parse-state-debug): Output a confirmatory message.
6340
6341 * progmodes/cc-mode.el (c-before-change, c-after-change):
6342 Call c-invalidate-state-cache from `c-before-change' instead of
6343 `c-after-change'.
6344
6345 2012-11-23 Chong Yidong <cyd@gnu.org>
6346
6347 * find-cmd.el (find-constituents): Add executable, ipath,
6348 readable, samefile, writable, daystart, regextype (Bug#12856).
6349
6350 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6353
6354 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6355
6356 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6357 definition. This fixes a bootstrap failure.
6358 (calc-gregorian-switch): In menu, put dates before regions.
6359 This is easier to follow, lines up better in the menu, and lets us
6360 coalesce regions that switch at the same time. Give country
6361 names, not "Vatican", as that's better for non-expert users.
6362 Use names that are stable between the date of switch and now, e.g.,
6363 Bohemia and Moravia (which existed then and now) and not
6364 Czechoslovakia (which didn't exist then and doesn't exist now).
6365 What is now the U.S. mostly did not switch at the same time as
6366 Britain, so omit the U.S. Correct spelling of "Britain".
6367 Catholic Switzerland was too much of a mess, so omit it.
6368
6369 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6370
6371 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6372 after the variable is changed.
6373
6374 2012-11-21 Daniel Colascione <dancol@dancol.org>
6375
6376 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6377 in SQL declarations for font-lock.
6378 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6379
6380 2012-11-21 Glenn Morris <rgm@gnu.org>
6381
6382 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6383 (face-italic-p): Add optional argument "inherit".
6384
6385 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6386 Remove -p suffix from names, for consistency with other set-face-*.
6387 (set-face-inverse-video): Fix interactive spec.
6388 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6389 * textmodes/table.el (table--update-cell-face):
6390 Use set-face-inverse-video rather than now obsolete alias.
6391
6392 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6393
6394 * simple.el (line-move): Don't call line-move-partial if
6395 scroll-conservatively is in effect. (Bug#12927)
6396
6397 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6398
6399 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6400 Fallback on completion-at-point rather than
6401 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6402 (eshell-cmpl-initialize): Setup completion-at-point.
6403
6404 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6405
6406 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6407
6408 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6409
6410 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6411 are remote, check out-of-band property for both.
6412
6413 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6416 code rewrite.
6417
6418 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6419
6420 More minor time fixes.
6421 * calendar/time-date.el: Commentary fix.
6422 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6423 too much other code depends on (0 0) time stamps.
6424 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6425 Add a couple of FIXME comments.
6426
6427 Minor cleanup for times as lists of four integers.
6428 * files.el (dir-locals-directory-cache):
6429 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6430 Doc fixes.
6431 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6432 * ps-bdf.el (bdf-file-newer-than-time):
6433 Process four-integers time stamps, not two. Doc fixes.
6434
6435 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6436
6437 * uniquify.el (uniquify-managed): Use defvar-local.
6438 (rename-buffer, create-file-buffer): Advise with advice-add.
6439 (uniquify-unload-function): Unadvise accordingly.
6440
6441 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6442 (trace-buffer): Don't purecopy.
6443 (trace-entry-message, trace-exit-message): Add `context' arg.
6444 (trace--timer): New var.
6445 (trace-make-advice): Adjust for use in nadvice.
6446 Add `context' argument. Delay `display-buffer' via a timer.
6447 (trace-function-internal): Use advice-add.
6448 (trace--read-args): New function.
6449 (trace-function-foreground, trace-function-background): Use it.
6450 (trace-function): Rename to trace-function-foreground and redefine as
6451 an alias to that new name.
6452 (untrace-function, untrace-all): Adjust to the use of nadvice.
6453
6454 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6455
6456 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6457
6458 * subr.el (called-interactively-p-functions): New var.
6459 (internal--called-interactively-p--get-frame): New macro.
6460 (called-interactively-p, interactive-p): Rewrite in Lisp.
6461 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6462 (called-interactively-p-functions): Use it.
6463 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6464 (called-interactively-p-functions): Use it.
6465 * allout.el (allout-called-interactively-p): Don't assume
6466 called-interactively-p is a subr.
6467
6468 2012-11-20 Glenn Morris <rgm@gnu.org>
6469
6470 * profiler.el (profiler-report-mode-map): Add a menu.
6471 No need to bind `q' because we derive from special-mode.
6472 (profiler-report-find-entry): Handle calls from the menu-bar.
6473
6474 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * emacs-lisp/byte-run.el (defun-declarations-alist):
6477 Allow a compiler-macro to be a lambda expression.
6478
6479 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6480 eval-when-compile.
6481 (python-syntax-context): Add compiler-macro.
6482 (python-font-lock-keywords): Simplify with De Morgan.
6483
6484 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6485
6486 * files.el (load-file): Require match in minibuffer selection, as was
6487 the case in Emacs-20 before we changed the spec to allow .elc files
6488 (bug#12935).
6489
6490 * json.el: Don't require cl since we don't use it.
6491 * color.el: Don't require cl.
6492 (color-complement): `caddr' -> `nth 2'.
6493
6494 * calendar/time-date.el (time-to-seconds): De-obsolete.
6495
6496 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6497
6498 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6499 year numbers.
6500 (math-date-to-julian-dt): Adjust the initial approximation for the
6501 year to deal with the new definition of the DATE.
6502
6503 2012-11-19 Daniel Colascione <dancol@dancol.org>
6504
6505 * term/w32-win.el (cygwin-convert-path-from-windows):
6506 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6507
6508 2012-11-18 Chong Yidong <cyd@gnu.org>
6509
6510 * filecache.el (file-cache--read-list): New function.
6511 (file-cache-add-directory-list, file-cache-add-file-list)
6512 (file-cache-delete-file-list, file-cache-delete-directory-list):
6513 Use it to read a list of files or directories (Bug#12846).
6514 (file-cache-add-file, file-cache-add-directory)
6515 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6516 (file-cache-delete-directory): Print an message.
6517
6518 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6519
6520 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6521 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6522
6523 2012-11-18 Glenn Morris <rgm@gnu.org>
6524
6525 * image.el (insert-image, insert-sliced-image): Doc fix.
6526
6527 2012-11-18 Chong Yidong <cyd@gnu.org>
6528
6529 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6530 (Bug#12810).
6531
6532 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6533
6534 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6535 response when the target file is in a subdirectory (Bug#12757).
6536
6537 2012-11-18 Chong Yidong <cyd@gnu.org>
6538
6539 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6540
6541 2012-11-18 Glenn Morris <rgm@gnu.org>
6542
6543 * emacs-lisp/cl-lib.el (face-underline-p):
6544 Use set-face-underline rather than the alias set-face-underline-p.
6545
6546 * window.el (with-temp-buffer-window): Doc fix.
6547 * subr.el (with-output-to-temp-buffer):
6548 Add doc xref to with-temp-buffer-window.
6549
6550 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6551
6552 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6553 * calc/calc.el (math-format-date-cache): Declare.
6554
6555 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6556
6557 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6558 It also uses January 1, 1 AD as its day number 1.
6559 * calc/calc-forms.el (math-julian-date-beginning)
6560 (math-julian-date-beginning-int): Implement this.
6561
6562 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6563
6564 * descr-text.el (quail-find-key):
6565 * dired.el (desktop-file-name):
6566 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6567 * generic-x.el (comint-mode, comint-exec):
6568 * image-dired.el (widget-forward):
6569 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6570 (speedbar-change-expand-button-char)
6571 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6572 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6573 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6574 (widget-field-action, widget-value-set):
6575 * speedbar.el (imenu--make-index-alist):
6576 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6577 (ring-length, ring-insert):
6578 * vcursor.el (compare-windows-skip-whitespace):
6579 * woman.el (dired-get-filename):
6580 Declare functions.
6581
6582 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6583
6584 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6585
6586 * calc/calc.el (calc-gregorian-switch): New variable.
6587
6588 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6589 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6590 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6591 (math-leap-year-p): Add option to distinguish between Julian
6592 and Gregorian calendars.
6593 (math-day-number): Use `math-day-in-year' to do the computations.
6594 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6595 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6596 to do the computations.
6597 (math-date-to-dt): Use `math-date-to-julian-dt' and
6598 `math-date-to-gregorian-dt' to do the computations.
6599 (calcFunc-weekday, math-format-date-part): Use the new version of
6600 the DATE to determine the weekday.
6601 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6602 when necessary.
6603
6604 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6605
6606 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6607 Cygwin; otherwise use 'file:'. (Bug#12914)
6608 (cygwin-convert-path-from-windows): Declare, to avoid
6609 byte-compiler warnings.
6610
6611 2012-11-17 Andreas Politz <politza@fh-trier.de>
6612
6613 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6614 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6615 prefix and negative numeric prefix args (Bug#12795).
6616
6617 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6618
6619 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6620 Don't signal an error with a score that is too low to add to the
6621 list of top scores. (Bug#12779)
6622
6623 2012-11-17 Chong Yidong <cyd@gnu.org>
6624
6625 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6626
6627 * filecache.el (file-cache-add-file): Handle relative file name in
6628 the argument (Bug#12694).
6629
6630 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6631
6632 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6633
6634 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6635
6636 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6637
6638 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6639
6640 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6641
6642 * window.el (enlarge-window, shrink-window): Don't mention return
6643 value in doc-string (Bug#12896).
6644 (window--display-buffer): Don't resize frames - it won't work
6645 with all window managers and defeat pop-up-frame-alist.
6646 (display-buffer-alist): In doc-string explain that CONDITION can
6647 be a function and which arguments are passed to it (Bug#12854).
6648 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6649 expressions (Bug#12854).
6650 (display-buffer): Pass ACTION argument to
6651 display-buffer-assq-regexp.
6652
6653 2012-11-16 Glenn Morris <rgm@gnu.org>
6654
6655 * window.el (fit-frame-to-buffer-bottom-margin)
6656 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6657
6658 * faces.el (face-underline-p): Use face-attribute-specified-or.
6659
6660 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6661
6662 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6663
6664 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6665
6666 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6667
6668 2012-11-16 Glenn Morris <rgm@gnu.org>
6669
6670 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6671 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6672
6673 * faces.el (face-underline-p): Doc fix. Handle :underline being
6674 things other than `t' (a string, a list).
6675 (face-inverse-video-p): Doc fix.
6676 (set-face-underline): Rename it back from set-face-underline-p.
6677 Doc fix. Allow interactive input of values other than t.
6678 (read-face-attribute): Apply formatting to :underline,
6679 since like :box and :stipple it can take list values.
6680
6681 * term.el (ansi-term): Don't let C-x escape-char binding
6682 clobber the more standard C-c binding. (Bug#12842)
6683
6684 * subr.el (set-temporary-overlay-map): Doc fix.
6685
6686 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6687
6688 * window.el (record-window-buffer)
6689 (display-buffer-record-window): When copying the markers to
6690 window-point preserve window-point-insertion-type. (Bug#12588)
6691
6692 2012-11-16 Glenn Morris <rgm@gnu.org>
6693
6694 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6695 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6696 Use new names for hooks rather than obsolete aliases.
6697
6698 2012-11-15 Daniel Colascione <dancol@dancol.org>
6699
6700 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6701 prefix instead of "file:" so that when FILE-NAME begins with "//",
6702 as it does when the target file is on a network share, url-handler
6703 isn't confused.
6704
6705 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6706
6707 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6708 a preactivated advice from an old advice.el; they're not compatible!
6709
6710 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6711
6712 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6713 Fix string-spec case.
6714
6715 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6716
6717 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6718
6719 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6720 (advice--buffer-local-function-sample): New var.
6721 (advice--set-buffer-local, advice--buffer-local): New functions.
6722 (add-function, remove-function): Use them.
6723
6724 2012-11-15 Drew Adams <drew.adams@oracle.com>
6725
6726 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6727
6728 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6731 potential binding of print-gensym to t, and prettify (back)quotes in
6732 case they appear in args's default values (bug#12884).
6733
6734 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6737 (advice-eval-interactive-spec): New function.
6738 (advice--make-interactive-form): Support around advice (bug#12844).
6739
6740 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6741
6742 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6743 more strict. Add docstring.
6744 (ruby-expression-expansion-re): Extract from
6745 `ruby-match-expression-expansion'.
6746 (ruby-syntax-propertize-function): After everything else, search
6747 for expansions in string literals, mark their insides as
6748 whitespace syntax and save match data for font-lock.
6749 (ruby-font-lock-keywords): Use the 2nd group from expression
6750 expansion matches.
6751 (ruby-match-expression-expansion): Use the match data saved to the
6752 text property in ruby-syntax-propertize-function.
6753
6754 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6757 (bug#12879).
6758
6759 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6760
6761 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6762 start/end keyword a bit harder. Works with different values of N.
6763 Add more comments.
6764 (ruby-end-of-block): Update accordingly.
6765
6766 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * woman.el (woman-file-name): Don't mess with unread-command-events
6769 (bug#12861).
6770
6771 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6772 Remove out of date self-require hack.
6773 (ad-do-advised-functions): Use simple `dolist'.
6774 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6775 (ad-advice-definition): Redefine as functions.
6776 (ad-advice-classes): Move before first use.
6777 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6778 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6779 (ad--defalias-fset): Remove functions.
6780 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6781 (ad-get-orig-definition): Rewrite.
6782 (ad-make-advised-definition-docstring): Change base docstring.
6783 (ad-real-orig-definition): Rewrite.
6784 (ad-map-arglists): Change name of called function.
6785 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6786 (ad-make-advised-definition): Simplify.
6787 (ad-assemble-advised-definition): Tweak for new calling context.
6788 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6789 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6790 function and call ad-activate if needed.
6791 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6792 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6793 (ad-compile-function): Compile ad-Advice-*.
6794 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6795 (ad-start-advice, ad-stop-advice): Remove.
6796
6797 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6798
6799 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6800 period before class method names, not after. Remove handling of
6801 one impossible case. Add comments.
6802
6803 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * emacs-lisp/advice.el: Remove support for freezing.
6806 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6807 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6808 Remove support for `freeze'.
6809
6810 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6811 override the default.
6812 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6813 cl--dotimes/dolist.
6814 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6815 `cl' is loaded.
6816
6817 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6818 from add-advice.
6819 (advice--strip-macro): New function.
6820 (advice--defalias-fset): Use them to handle macros.
6821 (advice-add): Use them.
6822 (advice-member-p): Correctly handle macros.
6823
6824 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6825
6826 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6827 Never font-lock the beginning of singleton class as heredoc.
6828
6829 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6830
6831 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6832
6833 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6834
6835 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6836 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6837 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6838
6839 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
6840
6841 Fix end-of-defun misbehavior.
6842 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6843 python-beginning-of-defun-function. Handle nested defuns
6844 correctly.
6845 (python-nav-end-of-defun): Rename from
6846 python-end-of-defun-function. Ensure forward movement.
6847 (python-info-current-defun): Reimplement to work as intended
6848 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6849 parent defuns as soon as possible.
6850
6851 2012-11-13 Glenn Morris <rgm@gnu.org>
6852
6853 * progmodes/flymake.el (flymake-error-bitmap)
6854 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6855 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6856
6857 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6858
6859 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6860 backward, always stop at indentation. Reverts the change from
6861 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6862
6863 2012-11-13 Glenn Morris <rgm@gnu.org>
6864
6865 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6866 Add ibuffer-filter-by-derived-mode.
6867
6868 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6869 the same name shadowing each other.
6870
6871 * window.el (with-temp-buffer-window): Doc tweak.
6872
6873 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6874
6875 * help.el (temp-buffer-max-height):
6876 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6877 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6878
6879 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * emacs-lisp/nadvice.el: New package.
6882 * subr.el (special-form-p): New function.
6883 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6884 (elp-all-instrumented-list): Remove var.
6885 (elp-not-profilable): Remove elp-wrapper.
6886 (elp-profilable-p): Use autoloadp and special-form-p.
6887 (elp--advice-name): New const.
6888 (elp-instrument-function): Use advice-add.
6889 (elp--instrumented-p): New predicate.
6890 (elp-restore-function): Use advice-remove.
6891 (elp-restore-all, elp-reset-all): Use mapatoms.
6892 (elp-set-master): Use elp--instrumented-p.
6893 (elp--make-wrapper): Rename from elp-wrapper, return a function
6894 suitable for advice-add. Use cl-inf.
6895 (elp-results): Use mapatoms+elp--instrumented-p.
6896 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6897 (debug-function-list): Remove var.
6898 (debug): Rename arg, and then let-bind it explicitly inside.
6899 (debugger-setup-buffer): Rename arg.
6900 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6901 (debugger-frame-number): Adjust to new debug-on-entry setup.
6902 (debug--implement-debug-on-entry): Rename from
6903 implement-debug-on-entry, add argument.
6904 (debugger-special-form-p): Remove, use special-form-p instead.
6905 (debug-on-entry): Use advice-add.
6906 (debug--function-list): New function.
6907 (cancel-debug-on-entry): Use it, along with advice-remove.
6908 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6909 (debugger-list-functions): Use debug--function-list instead of
6910 debug-function-list.
6911 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6912 (ad-special-form-p): Remove, use special-form-p instead.
6913 (ad-set-advice-info): Use add-function and remove-function.
6914 (ad--defalias-fset): Adjust accordingly.
6915
6916 2012-11-10 Glenn Morris <rgm@gnu.org>
6917
6918 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6919 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6920 (report-emacs-bug-create-existing-bugs-buffer)
6921 (report-emacs-bug-parse-query-results)
6922 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6923
6924 * term.el (term-default-fg-color, term-default-bg-color):
6925 Make obsolete, rather than just saying "deprecated" in the doc.
6926
6927 * term.el (term): Rename from `term-face'.
6928 (term-current-face, ansi-term-color-vector)
6929 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6930 Update all users.
6931
6932 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6933
6934 * server.el (server-create-window-system-frame): Handle Nextstep
6935 specially (Bug#12780).
6936
6937 2012-11-10 Glenn Morris <rgm@gnu.org>
6938
6939 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6940 Unautoload, and make obsolete. (Bug#7449)
6941
6942 2012-11-10 Chong Yidong <cyd@gnu.org>
6943
6944 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6945 rename from diff-remove-trailing-whitespace (Bug#12831).
6946
6947 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6950 miscompilation of trace.el.
6951
6952 2012-11-10 Glenn Morris <rgm@gnu.org>
6953
6954 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6955
6956 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6957
6958 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6959 (bug#12812).
6960
6961 2012-11-10 Chong Yidong <cyd@gnu.org>
6962
6963 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6964 a defcustom with an appropriate :set function.
6965 (minibuffer-default--in-prompt-regexps): New function.
6966
6967 2012-11-10 Glenn Morris <rgm@gnu.org>
6968
6969 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6970 (define-modify-macro): Doc fixes.
6971
6972 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6973 (gv-define-simple-setter): Update doc of `fix-return'.
6974
6975 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6976
6977 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6978 twice when `fix-return' is set (bug#12813).
6979
6980 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6981 gv-define-simple-setter (bug#12812).
6982
6983 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6984 (bug#12756).
6985
6986 2012-11-10 Glenn Morris <rgm@gnu.org>
6987
6988 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6989
6990 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6991 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6992 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6993 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6994
6995 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6996
6997 2012-11-10 Leo Liu <sdl.web@gmail.com>
6998
6999 * ido.el (ido-set-matches-1): Improve flex matching performance by
7000 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7001
7002 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7003
7004 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7005 (ad--defalias-fset): New function.
7006 (ad-safe-fset): Remove.
7007 (ad-make-freeze-definition): Use cl-letf*.
7008
7009 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7010
7011 * subr.el (dolist): Don't bind VAR in RESULT.
7012
7013 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7014 (fset, documentation): Don't save real def since we don't advise.
7015 (ad-do-advised-functions): Remove problematic `result-form'.
7016 (ad-safe-fset): `ad-real-fset' => `fset'.
7017 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7018 uses CL's dolist internally.
7019 (ad-arglist): Remove unused arg `name'.
7020 (ad-docstring, ad-make-advised-docstring):
7021 `ad-real-documentation' => `documentation'.
7022 (warning-suppress-types): Declare.
7023 (ad-set-arguments): Simple CSE.
7024 (ad-recover-normality): Sanity check.
7025
7026 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7027 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7028
7029 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
7030
7031 * ses.el: symbol to coordinate mapping is made by symbol property
7032 `ses-cell'. This means that the same mapping is done for all SES
7033 sheets. That is good enough for cells with standard A1 names, but
7034 not for named cell. So a hash map is added for the latter.
7035 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7036 (ses-sym-rowcol): Use hashmap for named cell.
7037 (ses-is-cell-sym-p): New defun.
7038 (ses-decode-cell-symbol): New defun.
7039 (ses-create-cell-variable): Add cell to hashmap when name is not
7040 A1-like.
7041 (ses-rename-cell): Check that cell new name is not already in
7042 spreadsheet with the use of ses-is-cell-sym-p
7043 (ses-rename-cell): Use hash map for named cells, but accept also
7044 renaming back to A1-like.
7045
7046 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7047
7048 * emacs-lisp/advice.el: Use new dynamic docstrings.
7049 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7050 Use dynamic-docstring-function instead of ad-advice-info.
7051 (ad--make-advised-docstring): New function extracted from
7052 ad-make-advised-docstring.
7053 (ad-make-advised-docstring): Use it.
7054 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7055 from sql-help.
7056 (sql-help): Use it with dynamic-docstring-function.
7057
7058 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7059
7060 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7061
7062 * files.el (hack-one-local-variable--obsolete): New function.
7063 (hack-one-local-variable): Use it for obsolete settings.
7064
7065 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7066 the new name.
7067
7068 * progmodes/js.el (js--filling-paragraph): New var.
7069 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7070 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7071 less sneaky.
7072
7073 2012-11-08 Julien Danjou <julien@danjou.info>
7074
7075 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7076 `auto-mode-alist' (Bug#12835).
7077
7078 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7081 (perl--prettify-symbols-alist): New const.
7082 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7083 New functions.
7084 (perl-font-lock-keywords-2): Use them.
7085 (perl-electric-noindent-p): New function.
7086 (perl-mode): Use it to set up electric-indent-mode.
7087 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7088 (perl-mode-map): Remove bindings for them.
7089 (perl-imenu-generic-expression, perl-outline-level):
7090 Match functions&packages in column>0.
7091
7092 * env.el (env--substitute-vars-regexp): New const.
7093 (substitute-env-vars): Use it. Add `only-defined' arg.
7094 * net/tramp.el (tramp-replace-environment-variables): Use it.
7095
7096 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7097 Byte-compile *before* eval in eval-and-compile.
7098 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7099 (byte-compile-file-form-autoload): Don't hide actual definition.
7100 (byte-compile-maybe-guarded): Accept `functionp' as well.
7101
7102 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7103
7104 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7105
7106 * notifications.el (notifications-get-server-information-method):
7107 New defconst.
7108 (notifications-get-capabilities): Fix docstring.
7109 (notifications-get-server-information): New defun.
7110
7111 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7112
7113 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7114 readability.
7115
7116 * textmodes/ispell.el: Experimental support for support debugging.
7117 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7118 buffer for ispell.
7119 (ispell-print-if-debug): New function to print stuff to
7120 `ispell-debug-buffer' if debugging is enabled.
7121 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7122 show some debugging info.
7123 (ispell-buffer-with-debug): New function that creates a debugging
7124 buffer and calls `ispell-buffer' with debugging enabled.
7125
7126 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7127 comment in autoconf mode. (Bug#12768)
7128
7129 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7130
7131 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7132 frame-first-window, frame-root-window, frame-selected-window,
7133 minibuffer-selected-window, minibuffer-window,
7134 window-absolute-pixel-edges, window-at, window-body-height,
7135 window-body-width, window-display-table, window-combination-limit,
7136 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7137 window-inside-edges, window-inside-pixel-edges, window-left-child,
7138 window-left-column, window-margins, window-next-buffers,
7139 window-next-sibling, window-new-normal, window-new-total,
7140 window-normal-size, window-parameter, window-parameters, window-parent,
7141 window-pixel-edges, window-point, window-prev-buffers,
7142 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7143 window-start, window-text-height, window-top-child, window-top-line,
7144 window-total-height, window-total-width and window-use-time to the list
7145 of functions without side-effects.
7146 (toplevel): Add window-valid-p to the list of error-free functions
7147 without side-effects.
7148
7149 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7150
7151 * textmodes/ispell.el (ispell-program-name):
7152 Update spellchecker parameters when customized.
7153
7154 2012-11-04 Glenn Morris <rgm@gnu.org>
7155
7156 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7157
7158 2012-11-04 Chong Yidong <cyd@gnu.org>
7159
7160 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7161 same-window-* variables.
7162
7163 2012-11-04 Juri Linkov <juri@jurta.org>
7164
7165 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7166 (isearch-describe-key, isearch-describe-mode): Use a display
7167 action instead of binding same-window-* variables (Bug#10040).
7168
7169 2012-11-03 Glenn Morris <rgm@gnu.org>
7170
7171 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7172 Rename handler properties back from cl-- to cl-. (Bug#12788)
7173
7174 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7175
7176 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7177
7178 * term/pc-win.el: Don't load term/internal from here.
7179
7180 * loadup.el: Load term/internal from here.
7181
7182 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
7183
7184 * progmodes/python.el (inferior-python-mode): Fix hang in
7185 jit-lock (Bug#12645).
7186
7187 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7188
7189 * window.el (switch-to-visible-buffer)
7190 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7191
7192 2012-11-03 Glenn Morris <rgm@gnu.org>
7193
7194 * emacs-lisp/cl-lib.el (cl--random-time):
7195 Rename from cl-random-time. (Bug#12773)
7196 (cl--gensym-counter, cl--random-state): Update callers.
7197 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7198
7199 2012-11-03 Chong Yidong <cyd@gnu.org>
7200
7201 * cus-start.el: Make cursor-type customizable (Bug#11633).
7202
7203 2012-11-02 Glenn Morris <rgm@gnu.org>
7204
7205 * filecache.el: No need to load find-lisp when compiling.
7206 (find-lisp-find-files): Autoload it.
7207 (file-cache-add-directory-recursively): Don't require find-lisp.
7208
7209 * image.el (image-type-from-file-name): Trivial simplification.
7210
7211 * emacs-lisp/bytecomp.el (byte-compile-eval):
7212 Decouple "noruntime" and "cl-functions" warnings.
7213
7214 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7215
7216 * play/gomoku.el (gomoku-display-statistics): Update mode line
7217 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7218
7219 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7220
7221 * window.el (quit-restore-window): If the window has been
7222 created on an existing frame and ended up as the sole window on
7223 that frame, do not delete it (Bug#12764).
7224
7225 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7226
7227 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7228 Rename from sh--inside-arithmetic-expression, handle more cases
7229 (bug#11263).
7230
7231 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7232 (sh-font-lock-open-heredoc): Use it (bug#12770).
7233
7234 2012-10-30 Glenn Morris <rgm@gnu.org>
7235
7236 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7237
7238 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7239
7240 2012-10-29 Chong Yidong <cyd@gnu.org>
7241
7242 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7243 function key is stored in a keyboard macro (Bug#4894).
7244
7245 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7246
7247 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7250 header comments".
7251 (diff-unified->context, diff-context->unified)
7252 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7253
7254 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7255
7256 * files.el (find-alternate-file): Only ask one question (bug#12487).
7257
7258 2012-10-29 Chong Yidong <cyd@gnu.org>
7259
7260 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7261 Suggested by Dan Nicolaescu (Bug#6326).
7262
7263 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7264
7265 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7266
7267 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7268
7269 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7270
7271 * face-remap.el (face-remap-add-relative): Handle the case where a
7272 face-remapping-alist entry is a cons cell (Bug#12762).
7273
7274 2012-10-29 Kevin Ryde <user42@zip.com.au>
7275
7276 * woman.el (woman-parse-numeric-value): Handle picas correctly
7277 (Bug#12639).
7278
7279 2012-10-29 Glenn Morris <rgm@gnu.org>
7280
7281 * emacs-lisp/cl.el (defsetf): Doc fix.
7282
7283 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7286 syntax to the matching opener, if any (bug#12547).
7287 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7288 matching open as a "case-(".
7289 (sh-smie-rc-grammar): Add a corresponding rule for it.
7290
7291 2012-10-28 Daniel Hackney <dan@haxney.org>
7292
7293 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7294 "PKGNAME-autoloads.el" in case we created it.
7295
7296 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7297
7298 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7299 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7300 (completion--twq-all): Disable too-strict assertions.
7301
7302 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7303
7304 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7305
7306 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7307 text to match the real keybindings.
7308
7309 2012-10-27 Juri Linkov <juri@jurta.org>
7310
7311 * wdired.el (wdired-keep-marker-rename): New defcustom.
7312 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7313 (Bug#11795)
7314
7315 * dired.el (dired-keep-marker-rename): Add reference to
7316 `wdired-keep-marker-rename' in the docstring.
7317 Add default character value ?R to display initially in
7318 Customization UI instead of ?@.
7319
7320 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7321
7322 * window.el (display-buffer): In doc-string describe
7323 window-height and window-width alist entries.
7324
7325 * time.el (display-time-world): Restore fit-window-to-buffer
7326 behavior.
7327
7328 2012-10-27 Chong Yidong <cyd@gnu.org>
7329
7330 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7331
7332 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7333
7334 * minibuffer.el (completion-category-overrides): New completion
7335 category `bookmark' (bug#11131).
7336
7337 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7338
7339 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7340 Silence bogus compiler warnings for ad-do-it.
7341
7342 * bookmark.el (bookmark-completing-read): Set the completion category
7343 to `bookmark' (bug#11131).
7344
7345 2012-10-26 Bastien <bzg@altern.org>
7346 Stefan Monnier <monnier@iro.umontreal.ca>
7347
7348 * face-remap.el: Use lexical-binding.
7349 (text-scale-adjust): Improve docstring. Use itself for the temporary
7350 overlay-map bindings, so as to repeat the "Use..." message each time.
7351
7352 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7353
7354 * emacs-lisp/macroexp.el (macroexp--expand-all):
7355 Obey byte-compile-warning-enabled-p (bug#12486).
7356
7357 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7358 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7359
7360 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7361
7362 * mouse.el (mouse-drag-line): Move last form into preceding when
7363 clause (Bug#12731).
7364
7365 * help.el (resize-temp-buffer-window): Fix doc-string.
7366
7367 2012-10-25 David Engster <deng@randomsample.de>
7368
7369 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7370 Remove. This feature is already integrated in imenu.
7371
7372 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7373 always loaded. Require `speedbar' unconditionally.
7374
7375 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7376
7377 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7378
7379 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7380
7381 * net/ldap.el (ldap-search-internal): The official ldif format starts
7382 with a "version: 1" header (bug#12724).
7383
7384 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7385 (bug#12721).
7386
7387 2012-10-25 Glenn Morris <rgm@gnu.org>
7388
7389 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7390
7391 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * minibuffer.el (minibuffer-force-complete): Use one more marker
7394 for the temporary-overlay-map command (bug#12619).
7395
7396 2012-10-24 Chong Yidong <cyd@gnu.org>
7397
7398 * time.el (display-time-world-mode): Derive from special-mode.
7399 (display-time-world): Use display-buffer (Bug#12708).
7400 (display-time-world-mode-map): Variable deleted.
7401 (display-time-world-display): Wrap the final delete-char inside
7402 inhibit-read-only.
7403
7404 2012-10-24 Chong Yidong <cyd@gnu.org>
7405
7406 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7407 Doc fix.
7408
7409 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7410
7411 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7412
7413 * minibuffer.el (completion--all-sorted-completions-location): New var.
7414 (completion--cache-all-sorted-completions)
7415 (completion--flush-all-sorted-completions): Use it.
7416 (completion-in-region, completion-in-region--postch)
7417 (completion-at-point, completion-help-at-point): Use markers in
7418 completion-in-region--data (bug#12619).
7419
7420 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * progmodes/compile.el (compilation-start): Try to handle common
7423 quoting of `cd' argument (bug#12640).
7424
7425 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7426 (bug#12671).
7427
7428 2012-10-23 Glenn Morris <rgm@gnu.org>
7429
7430 * progmodes/gud.el (gud-menu-map):
7431 Check gdb-active-process is bound. (Bug#12358)
7432
7433 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7434
7435 * repeat.el (repeat): Set real-this-command (bug#12232).
7436
7437 * htmlfontify.el (hfy-post-html-hook):
7438 * filesets.el (filesets-cache-fill-content-hook):
7439 * arc-mode.el (archive-extract-hook):
7440 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7441 * net/rcirc.el (rcirc-sentinel-functions)
7442 (rcirc-receive-message-functions, rcirc-activity-functions)
7443 (rcirc-print-functions):
7444 * net/dbus.el (dbus-event-error-functions):
7445 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7446 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7447 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7448 * term/sun.el (sun-raw-prefix-hooks):
7449 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7450
7451 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7452
7453 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7454 Set `tramp-chunksize' to 1. This improves the performance.
7455 (tramp-smb-wait-for-output): Add timeout to
7456 `tramp-accept-process-output' calls.
7457
7458 2012-10-23 Chong Yidong <cyd@gnu.org>
7459
7460 * faces.el (font-list-limit): Define as an obsolete variable.
7461
7462 * startup.el (command-line):
7463 * cus-start.el: Don't refer to font-list-limit.
7464
7465 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7466
7467 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7468
7469 * subr.el (internal-temp-output-buffer-show): Rename from
7470 temp-output-buffer-show, since previously compiled files expect this name.
7471
7472 2012-10-23 Glenn Morris <rgm@gnu.org>
7473
7474 * image.el (image-type-from-file-name): If multiple types match,
7475 return the first one that is supported. (Bug#9045)
7476
7477 2012-10-22 Glenn Morris <rgm@gnu.org>
7478
7479 * image.el (imagemagick-enabled-types): Doc fix.
7480
7481 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7482
7483 * progmodes/which-func.el (which-func-current): The hash-table may have
7484 an explicit nil (bug#12338).
7485
7486 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * electric.el (electric-pair-delete-selection-self-insert-function):
7489 Rename to electric-pair-will-use-region, return a boolean.
7490 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7491
7492 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7493 (delete-selection-pre-hook): Use use-region-p.
7494 (delete-selection-self-insert-function): Remove.
7495 (self-insert-command): Obey self-insert-uses-region-functions.
7496 (self-insert-iso): Revert to previous setting, since we don't actually
7497 know what that command does.
7498 (delete-selection-self-insert-hooks): Remove.
7499
7500 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7501
7502 * delsel.el (delete-selection-helper): New function, extracted from
7503 delete-selection-pre-hook.
7504 (delete-selection-pre-hook): Use it.
7505 (delete-selection-self-insert-function): New function.
7506 (delete-selection-self-insert-hooks): New hook.
7507 (self-insert-command, self-insert-iso): Use it.
7508 * electric.el (electric-pair-syntax): New function, extracted from
7509 electric-pair-post-self-insert-function.
7510 (electric-pair-post-self-insert-function): Use it.
7511 (electric-pair-delete-selection-self-insert-function): New function.
7512 (electric-pair-mode): Require delsel and setup
7513 delete-selection-self-insert-hooks (bug#11520).
7514
7515 2012-10-20 Chong Yidong <cyd@gnu.org>
7516
7517 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7518 no changes to show (Bug#12586).
7519
7520 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7521 list explicitly (Bug#12571).
7522
7523 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7524
7525 * progmodes/flymake.el (flymake-create-temp-inplace):
7526 Use file-truename.
7527
7528 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7529
7530 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7531
7532 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7533
7534 * calc/calc-units.el (math-extract-units): Properly extract powers
7535 of units.
7536
7537 2012-10-20 Daniel Colascione <dancol@dancol.org>
7538
7539 * frame.el (make-frame): Set x-display-name as we used to in order
7540 to unbreak creating an X11 frame from an Emacs daemon started
7541 without a display.
7542
7543 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7546 the same completion-field (bug#12221).
7547
7548 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7549
7550 * emacs-lisp/debug.el (debug): Record height of debugger window
7551 also when debugger will be back (Bug#8789).
7552
7553 2012-10-18 Chong Yidong <cyd@gnu.org>
7554
7555 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7556 Convert to defcustom.
7557 (gdb-get-source-file): Don't bind pop-up-windows.
7558
7559 * progmodes/gud.el (gud-display-line): Don't specially re-use
7560 other frames for the gdb-mi case (Bug#12648).
7561
7562 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7563
7564 * emacs-lisp/advice.el: Clean up commentary a bit.
7565 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7566 (byte-code-function-p): Never redefine.
7567
7568 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7569
7570 2012-10-18 Glenn Morris <rgm@gnu.org>
7571
7572 * dired.el (dired-sort-toggle): Some ls implementations only allow
7573 a single option string. (Bug#12666)
7574
7575 * minibuffer.el (completion-cycle-threshold): Doc fix.
7576
7577 2012-10-17 Kenichi Handa <handa@gnu.org>
7578
7579 * international/mule.el (set-keyboard-coding-system):
7580 Recover input meta mode when the new coding system doesn not use 8-bit.
7581 Supply TERMINAL arg to set-input-meta-mode.
7582
7583 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7584
7585 * wdired.el (wdired-old-marks): New variable.
7586 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7587 (wdired-do-renames): Move point with renamed file and don't lose
7588 mark status (Bug#11795).
7589
7590 2012-10-16 Juri Linkov <juri@jurta.org>
7591
7592 * replace.el (query-replace-help): Mention multi-buffer replacement
7593 keys in the Help message. (Bug#12655)
7594
7595 2012-10-15 Chong Yidong <cyd@gnu.org>
7596
7597 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7598
7599 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7600
7601 * window.el (display-buffer): Doc fix.
7602
7603 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7604 Adjust the msft regexp to the output of Studio 2010, and move msft
7605 before edg-1. See the discussion on emacs-devel,
7606 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7607 for the details.
7608
7609 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7612 (oset): Move uses of object-class-fast macro after its definition.
7613
7614 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7615
7616 2012-10-13 Chong Yidong <cyd@gnu.org>
7617
7618 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7619 enabled, re-enable it (Bug#11963).
7620
7621 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7622
7623 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7624 non-nil, restore window configuration (Bug#12623).
7625
7626 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7627
7628 * help-fns.el (describe-variable, describe-function-1):
7629 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7630
7631 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7632
7633 2012-10-12 Glenn Morris <rgm@gnu.org>
7634
7635 * mail/rmailsum.el (rmail-header-summary):
7636 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7637
7638 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
7639
7640 * progmodes/python.el (python-mode-map):
7641 Replace subtitute-key-definition with proper command remapping.
7642 (python-nav--up-list): Fix behavior for blocks on the same level.
7643
7644 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7645
7646 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7647
7648 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7649 changes to the format of load-history.
7650
7651 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7652 completion-ignore-case in case that var is buffer-local (bug#12615).
7653
7654 2012-10-11 Kenichi Handa <handa@gnu.org>
7655
7656 * international/eucjp-ms.el: Re-generated.
7657
7658 2012-10-10 Kenichi Handa <handa@gnu.org>
7659
7660 * select.el (xselect--encode-string): If a coding is specified for
7661 selection, and that is compatible with COMPOUND_TEXT, use it.
7662
7663 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7664
7665 * window.el (switch-to-buffer-preserve-window-point): New option.
7666 (switch-to-buffer):
7667 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7668
7669 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7672 Don't document nil as a useful value (bug#12583).
7673
7674 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7675
7676 * net/tramp.el (tramp-debug-message):
7677 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7678 (with-tramp-progress-reporter): Rename from
7679 `tramp-with-progress-reporter'.
7680 (with-tramp-file-property, with-tramp-connection-property):
7681 Move from tramp-cache.el, rename from `with-file-property' and
7682 `with-connection-property', respectively.
7683
7684 * net/tramp-cache.el: Remove `with-file-property' and
7685 `with-connection-property'.
7686
7687 * net/tramp.el:
7688 * net/tramp-gvfs.el:
7689 * net/tramp-sh.el:
7690 * net/tramp-smb.el: Adapt callees.
7691
7692 * net/trampver.el: Update release number.
7693
7694 2012-10-09 Glenn Morris <rgm@gnu.org>
7695
7696 * w32-fns.el (set-message-beep):
7697 * term/w32-win.el (set-message-beep): Update declarations.
7698
7699 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7702 (mode-line-widen, mode-line-input-method-map)
7703 (mode-line-coding-system-map, mode-line-remote)
7704 (mode-line-unbury-buffer, mode-line-bury-buffer)
7705 (mode-line-next-buffer, mode-line-previous-buffer):
7706 Replace save-selected-window+select-window => with-selected-window.
7707
7708 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7709 * progmodes/cc-vars.el (bq-process): Remove, unused.
7710
7711 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7712
7713 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
7714
7715 Implemented `backward-up-list'-like navigation.
7716 * progmodes/python.el (python-nav-up-list)
7717 (python-nav-backward-up-list): New functions.
7718 (python-mode-map): Define substitute key for backward-up-list to
7719 python-nav-backward-up-list.
7720
7721 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7722
7723 * progmodes/python.el (python-fill-paragraph): Rename from
7724 python-fill-paragraph-function. Fixed fill-paragraph for
7725 decorators (Bug#12605).
7726
7727 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7728
7729 * progmodes/python.el (python-shell-output-filter): Handle extra
7730 carriage return in OSX (Bug#12409).
7731
7732 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7733
7734 Fix shell handling of unbalanced quotes and parens in output.
7735 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7736 (python-syntax-propertize-function): Use it.
7737 (python-shell-output-syntax-table): New var.
7738 (inferior-python-mode): Prevent unbalanced parens/quotes from
7739 previous output mess with current input context.
7740
7741 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7742
7743 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7744 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7745
7746 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7747
7748 * ffap.el (ffap-replace-file-component): Support Tramp file name
7749 syntax, not only ange-ftp's one.
7750
7751 2012-10-08 Glenn Morris <rgm@gnu.org>
7752
7753 * cus-start.el (message-log-max): Set :version.
7754
7755 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7756
7757 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7758
7759 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7760 the minibuffer window (Bug#10851).
7761
7762 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7763
7764 Enhancements on forward-sexp movement.
7765 * progmodes/python.el (python-nav-beginning-of-statement)
7766 (python-nav-end-of-statement): Return point-marker.
7767 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7768 (python-info-current-symbol)
7769 (python-info-statement-starts-block-p): Rename from
7770 python-info-beginning-of-block-p.
7771 (python-info-statement-ends-block-p): Rename from
7772 python-info-end-of-block-p.
7773 (python-info-beginning-of-statement-p)
7774 (python-info-end-of-statement-p)
7775 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7776 New functions.
7777
7778 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7779
7780 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7781 frame-selected-windows.
7782
7783 2012-10-08 Daniel Colascione <dancol@dancol.org>
7784
7785 * battery.el (battery-status-function): Check for
7786 w32-battery-status itself, not system-time windows-nt.
7787
7788 * frame.el: Require cl-lib.
7789 (display-format-alist): New variable mapping frame types to
7790 functions that initialize them.
7791 (window-system-for-display): New function: interprets
7792 display-format-alist.
7793 (make-frame-on-display): Remove existing display-selection logic
7794 and just forward to make-frame, which will now DTRT.
7795 (make-frame): Restructure to use window-system-for-display to
7796 figure out how to create a frame on a given display.
7797 (display-mouse-p): Look for frame-type w32, not a particular
7798 system-type.
7799
7800 * loadup.el: Load w32 lisp code when we have the w32 feature.
7801
7802 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7803 system-type windows-nt.
7804
7805 * server.el (server-create-window-system-frame): Look for window
7806 type.
7807 (server-proces-filter): Only force a window system when windows-nt
7808 _and_ w32. Explain why.
7809
7810 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7811 of window systems we configure for the mode.
7812
7813 * startup.el (command-line): Mark window system is initialized
7814 after we've done it.
7815
7816 * common-win.el (x-select-text): Look for w32, not windows-nt.
7817
7818 * ns-win.el: Require cl-lib. Add ourselves to
7819 display-format-alist.
7820 (ns-initialize-window-system): Assert we're not initialized twice.
7821
7822 * w32-win.el: Enable lexical binding; require cl-lib; add
7823 ourselves to display-format-alist.
7824 (w32-handle-dropped-file): Convert incoming dropped files from
7825 Windows paths to Cygwin ones before passing them on to the rest of
7826 Emacs.
7827 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7828 (w32-initialize-window-system): Assert we're not initialized twice.
7829
7830 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7831 (x-initialize-window-system): Assert we're not initialized twice.
7832
7833 * w32-common-fns.el: New File.
7834 (w32-version, w32-using-nt, w32-get-clipboard-data)
7835 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7836 (w32-charset-info-alist, x-last-selected, text)
7837 (x-get-selection-value, x-selection-value): Move here.
7838
7839 * w32-fns.el: Require w32-common-fns.
7840 (w32-version, w32-using-nt, w32-get-clipboard-data)
7841 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7842 (w32-charset-info-alist, x-last-selected, text)
7843 (x-get-selection-value, x-selection-value): Move to
7844 w32-common-fns.
7845
7846 * w32-vars.el:
7847 (w32-allow-system-shell, w32-system-shells): Define only in
7848 non-cygwin case.
7849
7850 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7853 (read-passwd): Remove a few more potential sources of leaks.
7854
7855 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7856
7857 * progmodes/python.el (inferior-python-mode)
7858 (python-shell-make-comint): Fix initialization of local
7859 variables copied from parent buffer.
7860
7861 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7862
7863 * term/ns-win.el (ns-read-file-name): Update declaration to match
7864 nsfns.m.
7865 (ns-respond-to-change-font): Change fontsize separately so we are sure
7866 it is set when font is acted upon.
7867
7868 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7869
7870 Enhancements to indentation.
7871 * progmodes/python.el (python-indent-context): Give priority to
7872 inside-string context. Make comments indentation markers.
7873 (python-indent-region): Do not mess with strings, unless it's the
7874 enclosing set of quotes.
7875
7876 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7877
7878 * window.el (internal--before-save-selected-window)
7879 (internal--after-save-selected-window): New functions extracted from
7880 save-selected-window. Make sure we return the `alist' we construct.
7881 (save-selected-window): Use them.
7882
7883 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7884 Use with-selected-window.
7885
7886 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7887 forms that define macros (bug#12593).
7888
7889 2012-10-07 Kenichi Handa <handa@gnu.org>
7890
7891 * international/mule-conf.el (compound-text-with-extensions):
7892 Add :mime-charset property as x-ctext.
7893
7894 2012-10-07 Stefan Merten <smerten@oekonux.de>
7895
7896 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7897 (rst-indent-literal-normal, rst-indent-literal-minimized)
7898 (rst-indent-comment): Correct :version tag.
7899 (rst-official-cvs-rev): Correct version string.
7900
7901 2012-10-07 Glenn Morris <rgm@gnu.org>
7902
7903 * mail/rmailmm.el (rmail-mime-process-multipart):
7904 Do not confuse a multipart message with an epilogue
7905 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7906
7907 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7908
7909 Fix shell output retrieval and comint-prompt-regexp init.
7910 * progmodes/python.el (inferior-python-mode):
7911 (python-shell-make-comint): Fix initialization of
7912 comint-prompt-regexp from copied file local variables.
7913 (python-shell-fetched-lines): Remove var.
7914 (python-shell-output-filter-in-progress): Rename from
7915 python-shell-fetch-lines-in-progress.
7916 (python-shell-output-filter-buffer): Rename from
7917 python-shell-fetch-lines-string.
7918 (python-shell-fetch-lines-filter): Delete function.
7919 (python-shell-output-filter): New function.
7920 (python-shell-send-string-no-output): Use them.
7921
7922 2012-10-07 Glenn Morris <rgm@gnu.org>
7923
7924 * hi-lock.el (hi-lock-process-phrase):
7925 Try to make it less fragile. (Bug#7161)
7926
7927 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7928
7929 2012-10-06 Glenn Morris <rgm@gnu.org>
7930
7931 * ehelp.el (electric-help-mode): Use help-mode rather than
7932 non-existent mode `help'.
7933 (electric-help-map): Use button-buffer-map. (Bug#10917)
7934
7935 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7936 (reftex-create-bibtex-footer): Fix custom types.
7937
7938 * progmodes/sh-script.el (sh-indent-after-continuation):
7939 Add explicit :group.
7940
7941 * textmodes/rst.el (rst-preferred-decorations)
7942 (rst-shift-basic-offset): Clarify obsolescence versions.
7943
7944 * profiler.el (profiler): Add missing group :version tag.
7945 * avoid.el (mouse-avoidance-banish-position):
7946 * proced.el (proced-renice-command):
7947 * calc/calc.el (calc-ensure-consistent-units):
7948 * calendar/icalendar.el (icalendar-import-format-uid):
7949 * net/tramp.el (tramp-save-ad-hoc-proxies):
7950 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7951 * progmodes/flymake.el (flymake-error-bitmap)
7952 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7953 * progmodes/sh-script.el (sh-indent-after-continuation):
7954 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7955 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7956 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7957 (vhdl-array-index-record-field-in-sensitivity-list)
7958 (vhdl-indent-comment-like-next-code-line):
7959 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7960 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7961 (reftex-cite-key-separator, reftex-create-bibtex-header)
7962 (reftex-create-bibtex-footer):
7963 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7964 (rst-indent-literal-normal, rst-indent-literal-minimized)
7965 (rst-indent-comment): Add missing custom :version tags.
7966
7967 * calendar/timeclock.el (timeclock-modeline-display):
7968 Add missing obsolete alias for renamed user option.
7969
7970 * strokes.el (strokes-modeline-string):
7971 * emulation/crisp.el (crisp-mode-modeline-string):
7972 * eshell/esh-mode.el (eshell-status-in-modeline):
7973 Aliases to defcustoms must come before the defcustom.
7974
7975 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7976 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7977 (cal-tex-cursor-week-monday): Doc fixes.
7978 (cal-tex-cursor-week2-summary): Doc fix.
7979 Rename from cal-tex-cursor-week-at-a-glance.
7980
7981 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7982 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7983
7984 * calendar/calendar.el (calendar-mode-map):
7985 Add cal-tex-cursor-week2-summary.
7986
7987 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7990
7991 * subr.el (read-passwd-map): New var.
7992 (read-passwd): Use `read-string' again.
7993 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7994
7995 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7996
7997 * register.el (append-to-register, prepend-to-register):
7998 Deactivate mark, as does `copy-to-register' (bug#12389).
7999
8000 2012-10-06 Chong Yidong <cyd@gnu.org>
8001
8002 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8003
8004 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8005
8006 * international/characters.el: Fix simple mistake ((car chars) ->
8007 elt), delete duplicated code.
8008
8009 2012-10-06 Glenn Morris <rgm@gnu.org>
8010
8011 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8012
8013 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8014
8015 * color.el (color-hsl-to-rgb): Fix incorrect results for
8016 small and large hue values. (Bug#12559)
8017
8018 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
8019
8020 Enhancements to docstring formatting when filling paragraphs.
8021 * progmodes/python.el (python-fill-docstring-style): Rename from
8022 python-fill-string-style. Added new style.
8023 (python-fill-string): Use new style. Better checks for
8024 docstrings.
8025
8026 2012-10-05 Glenn Morris <rgm@gnu.org>
8027
8028 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8029
8030 * color.el (color-name-to-rgb, color-rgb-to-hex)
8031 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8032 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8033 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8034 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8035
8036 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8037
8038 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8039
8040 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8041 to get the correct size across symlinks.
8042
8043 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8044
8045 2012-10-04 Juri Linkov <juri@jurta.org>
8046
8047 * replace.el (query-replace-interactive): Declare obsolete.
8048 (query-replace-read-from): Add the last incremental search string
8049 to the list of default values accessible via M-n.
8050 (map-query-replace-regexp): Use `read-regexp'.
8051 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8052 (map-query-replace-regexp, replace-string, replace-regexp):
8053 Fix docstrings to replace mentions of `query-replace-interactive'
8054 with alternatives. (Bug#12526)
8055
8056 2012-10-04 Juri Linkov <juri@jurta.org>
8057
8058 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8059 (dired-pop-to-buffer): Declare obsolete.
8060 (dired-mark-pop-up): Doc fix.
8061
8062 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
8063
8064 Allow user to set docstring style for fill-paragraph.
8065 * progmodes/python.el
8066 (python-fill-comment-function, python-fill-string-function)
8067 (python-fill-decorator-function, python-fill-paren-function):
8068 Remove :safe for defcustoms.
8069 (python-fill-string-style): New defcustom
8070 (python-fill-paragraph-function): Enhance context detection.
8071 (python-fill-string): Honor python-fill-string-style settings.
8072
8073 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8074
8075 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8076 after setting its buffer (Bug#10805).
8077
8078 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
8079
8080 Fix cornercase for string syntax.
8081 * progmodes/python.el (python-syntax-propertize-function):
8082 Simplify and enhance the regexp for unescaped quotes. Now it also
8083 matches quotes in weird situations like the single quote in
8084 "something\"'".
8085 (python-syntax-stringify): Simplify num-quotes detecting code.
8086
8087 2012-10-03 Glenn Morris <rgm@gnu.org>
8088
8089 * help-macro.el (three-step-help):
8090 Revert 2012-09-29 change. (Bug#12567)
8091
8092 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8093
8094 * menu-bar.el (kill-this-buffer): Don't do anything when
8095 `menu-frame' is not alive or visible (Bug#8184).
8096
8097 * emacs-lisp/debug.el (debug): When quitting the debugger window
8098 restore current buffer (Bug#12502).
8099
8100 2012-10-02 Chong Yidong <cyd@gnu.org>
8101
8102 * progmodes/hideif.el (hif-lookup, hif-defined):
8103 Handle semantic-c-takeover-hideif.
8104
8105 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8106
8107 Change sampling interval units from ms to ns.
8108 * profiler.el (profiler-sampling-interval): Change units
8109 from ms to ns, multiplying the default by 1000000 so that
8110 it remains 1 ms.
8111 (profiler-report-cpu-line-format): Give enough room for
8112 the maximum counters on 64-bit hosts.
8113 (profiler-report-render-calltree-1): Call them "CPU samples",
8114 not "Time (ms)", since they are not milliseconds now (and
8115 never really were).
8116
8117 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8118
8119 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8120 Fix querying BBDB for entries without a last name (Bug#11580).
8121
8122 2012-10-02 Chong Yidong <cyd@gnu.org>
8123
8124 * emacs-lisp/eieio.el: Restore Version header.
8125
8126 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8127
8128 * vc/diff-mode.el (diff--auto-refine-data): New var.
8129 (diff-hunk): Use it to delay refinement.
8130 (diff-mode): Remove overlays when we turn off font-lock.
8131
8132 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8133 (table-initialize-table-fixed-width-mode)
8134 (table-set-table-fixed-width-mode): Remove functions.
8135 (table-command-list): Move initialization into declaration.
8136 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8137 (table-with-cache-buffer): Use `declare'.
8138 (table-span-cell): Simplify via CSE.
8139 (table-fixed-width-mode): Use define-minor-mode.
8140 (table-call-interactively, table-funcall, table-apply): Remove.
8141 (table-function): New function, to replace them.
8142
8143 * bookmark.el (bookmark-search-pattern): Remove var.
8144 (bookmark-read-search-input): Remove function.
8145 (bookmark-bmenu-search): Reimplement using a minibuffer.
8146
8147 * faces.el (modeline): Remove obsolete face name.
8148
8149 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8150 and give a non-nil default value.
8151 (add-change-log-entry): Simplify accordingly.
8152
8153 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8154
8155 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8156 (vc-git-log-edit-toggle-amend): New function.
8157 (vc-git-log-edit-toggle-signoff): New function.
8158 (vc-git-log-edit-mode): New major mode.
8159 (vc-git-log-edit-mode-map): Keymap for it.
8160 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8161
8162 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8163 header names.
8164 (log-edit-toggle-header): New function.
8165 (log-edit-extract-headers): Accept function values in HEADERS alist.
8166
8167 2012-10-01 David Engster <deng@randomsample.de>
8168
8169 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8170 from symbol property and change message to be more consistent with
8171 Emacs proper.
8172 (eieio-describe-generic): Add filename for each implementation.
8173 Fix indices for generic and normal methods.
8174 (eieio-method-def, eieio-class-def): New buttons.
8175 (eieio-help-find-method-definition)
8176 (eieio-help-find-class-definition): New functions.
8177 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8178 class, constructor and method definitions.
8179
8180 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8181 information in symbol property.
8182 (scoped-class): Remove.
8183 (eieio-slot-name-index, call-next-method): Check if it is bound.
8184
8185 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8186
8187 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8188 (eieio-custom-mode): New major mode.
8189 (eieio-customize-object): Use it.
8190
8191 2012-10-01 Eric Ludlam <zappo@gnu.org>
8192
8193 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8194 specifying the expected class, and whether subclassing is allowed.
8195 (eieio-persistent-convert-list-to-object):
8196 (eieio-persistent-validate/fix-slot-value)
8197 (eieio-persistent-slot-type-is-class-p): New functions.
8198 (eieio-named::slot-missing): Doc fix.
8199
8200 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8201 Stop using unused publd variable.
8202
8203 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8204 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8205 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8206 (eieio-speedbar-handle-click): Do not specify a class for the
8207 method. Fixes method invocation order problems with EDE.
8208
8209 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8212 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8213
8214 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8215
8216 * bookmark.el (bookmark-version-control): Give tags in the
8217 :type choices (Bug#12309), and improve doc string.
8218 (bookmark-write-file): Bind `print-circle' to `t' to allow
8219 circular custom bookmark types. (Bug#12503)
8220
8221 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8222
8223 Revert the FOLLOW-SYMLINKS change for file-attributes.
8224 * files.el (remote-file-name-inhibit-cache, after-find-file):
8225 * time.el (display-time-file-nonempty-p): Undo last change.
8226
8227 * profiler.el (profiler-sampling-interval): Change default back to 1.
8228 See Stefan Monnier in
8229 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8230
8231 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
8232
8233 Shell output catching a la gud-gdb.
8234 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8235 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8236 New Vars.
8237 (python-shell-fetch-lines-filter): New function.
8238 (python-shell-send-string-no-output): Use them.
8239
8240 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8241
8242 * profiler.el (profiler-sampling-interval): Rename from
8243 profiler-sample-interval.
8244 (profiler-sampling-interval): Default to 10.
8245 (profiler-find-profile): New command (was profiler-find-log).
8246 (profiler-find-profile-other-window): New command.
8247 (profiler-find-profile-other-frame): New command.
8248 (profiler-profile): Introduce API-level data structure.
8249
8250 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8251
8252 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8253 * files.el (remote-file-name-inhibit-cache):
8254 * time.el (display-time-file-nonempty-p): Use it.
8255 * files.el (after-find-file): Don't chase links before calling
8256 file-exists-p, as file-exists-p already does the right thing.
8257
8258 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8259
8260 Merge from standalone RefTeX repository.
8261
8262 The following ChangeLog entries are shortened versions of the
8263 original ones with file paths adapted. A not so strongly edited
8264 version of the original ChangeLog can be found in the commit log.
8265
8266 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8267 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8268 Correctly handle new value type returned by `reftex-citation'.
8269
8270 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8271 that entries with whitespace at various places are found.
8272 Doc fix. Include entries that are cross-referenced from cited entries.
8273 Include @String definitions in the resulting bib file. Add header
8274 and footer defined in `reftex-create-bibtex-header' and
8275 `reftex-create-bibtex-footer'.
8276 (reftex-do-citation): Make it possible again to insert
8277 non-existent entries. Save match data when asking for optional
8278 arguments. Return all keys, not just the first one.
8279 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8280 all citations in the same line.
8281 (reftex-parse-bibtex-entry): Accept additional optional argument
8282 `raw' and keep quotes or braces if it is non-nil. Match fields
8283 containing hyphens besides word constituents.
8284 (reftex-get-string-refs): New function.
8285 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8286 and ask if it should be reread in case it did.
8287 (reftex-pop-to-bibtex-entry)
8288 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8289 entries with spaces or tabs in front of arguments.
8290 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8291 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8292 Match entries containing numbers and symbol constituents.
8293 (reftex-do-citation, reftex-figure-out-cite-format):
8294 Use `reftex-cite-key-separator'.
8295
8296 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8297 (reftex-mouse-view-crossref): Explain why point is set.
8298
8299 * textmodes/reftex-global.el: Whitespace changes.
8300
8301 * textmodes/reftex-index.el: Move provide statement to end of
8302 file.
8303 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8304 (reftex-index-visit-phrases-buffer): Set marker when visiting
8305 buffer. This allows for returning from the phrases file to the
8306 file one was just editing instead of the file where the last
8307 phrases was added from.
8308 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8309 punctuation syntax as it usually is not used as string quote in
8310 TeX-related modes and may occur unmatched. The change also
8311 prevents fontification of quoted content.
8312 (reftex-index-phrases-mode): Use it.
8313
8314 * textmodes/reftex-parse.el (reftex-parse-from-file):
8315 Move backward one char if a `\' was matched after a section macro.
8316 (reftex-parse-from-file): Use beginning of match instead of end as
8317 bound.
8318
8319 * textmodes/reftex-ref.el: Adapt creation of
8320 `reftex-<package>-<macro>' functions to new structure of
8321 `reftex-ref-style-alist'.
8322 (reftex-reference): Use `reftex-ref-style-list' function.
8323 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8324 reference macro if `reftex-ref-macro-prompt' is non-nil.
8325 (reftex-reference): Pass refstyle to `reftex-format-special'.
8326 Determine reference macro by looking at
8327 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8328 Use only one special format function.
8329 (reftex-varioref-vref, reftex-fancyref-fref)
8330 (reftex-fancyref-Fref): Remove definitions. The functions are now
8331 generated from `reftex-ref-style-alist'.
8332 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8333 Remove.
8334 (reftex-format-special): New function.
8335
8336 * textmodes/reftex-sel.el
8337 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8338 of `reftex-ref-style-alist'. Remove code for testing macro type.
8339 (reftex-select-toggle-varioref)
8340 (reftex-select-toggle-fancyref): Remove.
8341 (reftex-select-cycle-ref-style-internal)
8342 (reftex-select-cycle-ref-style-forward)
8343 (reftex-select-cycle-ref-style-backward): New functions.
8344 (reftex-select-label-map): Use `v' and `V' for general cycling
8345 through reference styles. Add `p' for switching between number
8346 and page reference types.
8347
8348 * textmodes/reftex-toc.el (reftex-re-enlarge):
8349 Call `enlarge-window' only if there is something to do because in Emacs
8350 the horizontal version throws an error even if the parameter is 0.
8351
8352 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8353 (reftex-plug-into-AUCTeX): Doc fix.
8354 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8355 string. Adapt to new name.
8356 (reftex-ref-style-alist): Change structure so that it is not
8357 possible to use multiple different package names within a style.
8358 Remove the symbols for symbols for macro type distinction.
8359 Add characters for macro selection.
8360 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8361 (reftex-create-bibtex-footer): New variables.
8362 (reftex-format-ref-function): Mention third argument of special
8363 format function.
8364 (reftex-ref-style-alist, reftex-ref-style-default-list):
8365 New variables.
8366 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8367 to new implementation. Mark as obsolete. Add compatibility code
8368 for honoring the variable values in case they are set.
8369 (reftex-cite-format-builtin, reftex-bibliography-commands):
8370 Add support for ConTeXt.
8371 (reftex-format-ref-function, reftex-format-cite-function):
8372 Fix custom type.
8373 (reftex-cite-key-separator): New variable.
8374
8375 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8376 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8377 `reftex-syntax-table' because parens have to retain their paren
8378 syntax in order for parsing of BibTeX entries like @book(...) to
8379 work.
8380 (reftex-in-comment): Do not error out if `comment-start-skip' is
8381 not set. Deal correctly with escaped comment characters.
8382 (reftex-tie-multifile-symbols): Add doc string.
8383 Initialize `reftex-ref-style-list'.
8384 (reftex-untie-multifile-symbols): Add doc string.
8385 (reftex-add-index-macros): Doc fix.
8386 (reftex-ref-style-activate, reftex-ref-style-toggle)
8387 (reftex-ref-style-list): New functions.
8388 (reftex-mode-menu): Use them. Adapt to new structure of
8389 `reftex-ref-style-alist'.
8390 (reftex-select-with-char): Kill the RefTeX Select buffer when
8391 done.
8392 (reftex-remove-if): New function.
8393 (reftex-erase-all-selection-and-index-buffers)
8394 (reftex-mode-menu): Reference styles are now computed from
8395 `reftex-ref-style-alist'. Fix typo.
8396 (reftex-report-bug): New function.
8397 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8398 algorithms with O(n log n). Introduce optional argument SORT (not
8399 yet used).
8400
8401 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
8402
8403 Enhancements for triple-quote string syntax.
8404 * progmodes/python.el (python-syntax-propertize-function):
8405 Match both quote cases in one regexp.
8406 (python-syntax-stringify): Handle matches properly.
8407
8408 2012-09-30 Juri Linkov <juri@jurta.org>
8409
8410 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8411 to nil around the call to `insert' to prevent
8412 directory time modification by lock_file. (Bug#2295)
8413 * tar-mode.el (tar-summarize-buffer): Idem.
8414
8415 2012-09-30 Juri Linkov <juri@jurta.org>
8416
8417 * facemenu.el (list-colors-sort): Add option "Luminance".
8418 (list-colors-sort-key): Implement it.
8419
8420 * vc/diff-mode.el (diff-refine-removed):
8421 * vc/ediff-init.el (ediff-fine-diff-A):
8422 * vc/smerge-mode.el (smerge-refined-removed):
8423 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8424
8425 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8426
8427 * term/ns-win.el (x-file-dialog): New function.
8428
8429 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8430
8431 * ido.el (ido-max-directory-size): Default to nil; the current
8432 default is small for POSIX systems, and impractical on Windows 7
8433 now that lstat returns directory sizes for NTFS.
8434
8435 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8436
8437 In buffer display functions handle window-height/window-width
8438 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8439 * window.el (window--display-buffer): New argument ALIST.
8440 Obey window-height and window-width alist entries.
8441 (window--try-to-split-window): New argument ALIST.
8442 Bind window-combination-limit to t when the window's size shall be
8443 changed and window-combination-limit equals `window-size'.
8444 (display-buffer-in-atom-window)
8445 (display-buffer-in-major-side-window)
8446 (display-buffer-in-side-window, display-buffer-same-window)
8447 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8448 (display-buffer-pop-up-window, display-buffer-below-selected)
8449 (display-buffer-at-bottom, display-buffer-in-previous-window)
8450 (display-buffer-use-some-window): Adjust all callers of
8451 window--display-buffer and window--try-to-split-window.
8452 (fit-frame-to-buffer): New option.
8453 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8454 is non-nil.
8455 (display-buffer-in-major-side-window): Evaluate window-height /
8456 window-width alist entries.
8457
8458 * help.el (temp-buffer-resize-frames)
8459 (temp-buffer-resize-regexps): Remove options.
8460 (temp-buffer-resize-mode): Adjust doc-string.
8461 (resize-temp-buffer-window): Don't consult
8462 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8463 temp-buffer-resize-frames.
8464
8465 * dired.el (dired-mark-pop-up):
8466 Call display-buffer-below-selected with a fit-window-to-buffer alist
8467 entry.
8468
8469 2012-09-30 Chong Yidong <cyd@gnu.org>
8470
8471 * server.el (server-host): Document the security implications.
8472 (server-auth-key): Doc fix.
8473
8474 * startup.el (initial-buffer-choice): Doc fix.
8475
8476 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8477
8478 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8479 restriction change.
8480
8481 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8482
8483 * help-fns.el (help-fns--obsolete): Fix last change.
8484
8485 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8486
8487 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8488 (minor-mode-map-alist): Remove redundant code.
8489
8490 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8491 visited in a buffer.
8492 (cvs-insert-visited-file): New function.
8493 (find-file-hook): Use it.
8494
8495 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8496
8497 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8498 chose face.
8499 (log-edit-empty-buffer-p): Don't require a space after a header.
8500
8501 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8502
8503 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8504
8505 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8506 a proper minor-mode.
8507
8508 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8509
8510 2012-09-29 Glenn Morris <rgm@gnu.org>
8511
8512 * winner.el (winner-mode): Remove variable (let define-minor-mode
8513 handle it).
8514 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8515 Doc fixes.
8516 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8517 (winner-mode): Use define-minor-mode.
8518
8519 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8520 the full definition in loaddefs, rather than duplicating it.
8521
8522 * help-macro.el (three-step-help): No need to autoload defcustom.
8523
8524 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8525 (inferior-lisp-program, inferior-lisp-load-command)
8526 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8527 No need to autoload defcustoms.
8528
8529 * hippie-exp.el (hippie-expand-try-functions-list)
8530 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8531 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8532 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8533 (hippie-expand-only-buffers): No need to autoload defcustoms.
8534 * progmodes/vhdl-mode.el (vhdl-line-expand):
8535 Explicitly load hippie-exp, so it does not get autoloaded
8536 while hippie-expand-try-functions-list is let-bound.
8537
8538 2012-09-28 Glenn Morris <rgm@gnu.org>
8539
8540 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8541
8542 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8543 Only "cl.el" counts as cl these days.
8544
8545 2012-09-28 Juri Linkov <juri@jurta.org>
8546
8547 Display archive errors in the echo area instead of inserting
8548 to the file buffer.
8549
8550 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8551 to STDERR-TEST that can be a regexp matching a successful output.
8552 Create a temporary file and redirect stderr to it. Search for
8553 STDERR-TEST in the stderr output and display it in the echo area
8554 if no match is found.
8555 (archive-extract-by-file): New function like
8556 `archive-extract-by-stdout' but extracting archives to files
8557 and looking for successful matches in stdout. Function body is
8558 mostly copied from `archive-rar-extract'.
8559 (archive-rar-extract): Use `archive-extract-by-file'.
8560 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8561
8562 2012-09-28 Leo Liu <sdl.web@gmail.com>
8563
8564 * pcomplete.el (pcomplete-show-completions):
8565 Use minibuffer-message to make pcomplete usable in minibuffer.
8566
8567 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8568
8569 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8570
8571 * type-break.el: Use lexical-binding.
8572 (type-break-mode): Use define-minor-mode.
8573
8574 * emacs-lisp/pcase.el (pcase--mark-used): New.
8575 (pcase--u1): Use it (bug#12512).
8576
8577 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8578 in load-history with the right file name.
8579
8580 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8581
8582 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8583 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8584 (doc-view-get-bounding-box): Make bounding box slicing work for
8585 ODF and DVI documents.
8586
8587 2012-09-28 Glenn Morris <rgm@gnu.org>
8588
8589 * type-break.el (type-break-mode, type-break-interval)
8590 (type-break-good-rest-interval, type-break-keystroke-threshold):
8591 No need to autoload.
8592 (type-break-good-rest-interval, type-break-keystroke-threshold):
8593 Add :set-after.
8594
8595 2012-09-28 Chong Yidong <cyd@gnu.org>
8596
8597 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8598 Add :version tag.
8599
8600 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8603
8604 2012-09-27 Glenn Morris <rgm@gnu.org>
8605
8606 * faces.el (x-display-name): Declare (for without-x builds).
8607
8608 * linum.el (linum-format): Don't autoload it. Improve :type.
8609
8610 * progmodes/tcl.el: Don't require outline when compiling.
8611 (outline-regexp, outline-level): Declare.
8612 * textmodes/sgml-mode.el: Don't require outline when compiling.
8613 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8614
8615 * term.el (term-ansi-reset):
8616 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8617
8618 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8619 files for RCS and SCCS. (Bug#9781)
8620
8621 2012-09-27 Chong Yidong <cyd@gnu.org>
8622
8623 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8624 change; value should be t.
8625
8626 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * image-mode.el: Use lexical-binding.
8629 (image-mode-winprops): Use t to stand for the window of
8630 a buffer that's not displayed.
8631 * doc-view.el (doc-view-new-window-function): Handle the new
8632 t in winprops.
8633 (doc-view-enlarge): Make it a real nop if the size is not changed.
8634 (doc-view-display): Handle the case where the buffer is not (yet?)
8635 displayed in any window.
8636 (doc-view-saved-settings): New var.
8637 (doc-view-mode): Use it.
8638 (doc-view-fallback-mode): Set it.
8639
8640 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8641 Set lexical-binding.
8642 (minibuffer-eldef-shorten-default): New var.
8643 (minibuffer-default-in-prompt-regexps): Use it for new default.
8644 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8645
8646 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8647
8648 * international/uni-bidi.el:
8649 * international/uni-category.el:
8650 * international/uni-name.el:
8651 * international/uni-numeric.el: Regenerate.
8652
8653 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8654 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 * profiler.el: New file.
8657
8658 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8659
8660 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8661 (testcover-reinstrument): Simplify with CSE.
8662
8663 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8664
8665 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8666
8667 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8668
8669 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8670 (verilog-auto-input, verilog-auto-insert-lisp)
8671 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8672 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8673 (verilog-auto-unused, verilog-auto-wire)
8674 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8675 newline. Reported by Andrew Jones.
8676 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8677 Reported by Brad Dobbie.
8678 (verilog-batch-delete-trailing-whitespace):
8679 Create verilog-batch-delete-trailing-whitespace.
8680 Reported by Brad Dobbie.
8681 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8682 parameters from another module. Reported by Dan Katz.
8683 (verilog-auto, verilog-auto-assign-modport)
8684 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8685 AUTOINOUTMODPORT for UVM interface module shell generation.
8686 Reported by Brad Dobbie.
8687 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8688 standard behavior.
8689 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8690 Reported by Matt Martin.
8691
8692 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8693
8694 * window.el (window--resize-child-windows): When resizing child
8695 windows proportionally, process them in reverse order to
8696 preserve the "when splitting a window the new one gets the odd
8697 line" behavior.
8698 (window--resize-root-window-vertically): When resizing the
8699 minibuffer window try to affect only windows at the bottom of the
8700 frame. (Bug#12419)
8701
8702 2012-09-25 Chong Yidong <cyd@gnu.org>
8703
8704 * subr.el (declare): Doc fix.
8705
8706 * help-fns.el (help-fns--obsolete): Handle macros properly.
8707
8708 2012-09-25 Chong Yidong <cyd@gnu.org>
8709
8710 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8711 this function obsolete.
8712
8713 * calendar/cal-x.el (calendar-two-frame-setup)
8714 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8715 * calendar/calendar.el (american-calendar, european-calendar)
8716 (calendar-for-loop):
8717 * comint.el (comint-dynamic-simple-complete)
8718 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8719 * desktop.el (desktop-load-default):
8720 * dired-x.el (dired-omit-here-always)
8721 (dired-hack-local-variables, dired-default-directory):
8722 * emacs-lisp/derived.el (derived-mode-class):
8723 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8724 * emacs-lock.el (toggle-emacs-lock):
8725 * epa.el (epa-display-verify-result):
8726 * epg.el (epg-sign-keys, epg-start-sign-keys)
8727 (epg-passphrase-callback-function):
8728 * eshell/esh-util.el (eshell-for):
8729 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8730 (eshell-add-to-window-buffer-names):
8731 * files.el (locate-file-completion):
8732 * imenu.el (imenu-example--create-c-index)
8733 (imenu-example--create-lisp-index)
8734 (imenu-example--lisp-extract-index-name)
8735 (imenu-example--name-and-position):
8736 * international/mule-cmds.el (princ-list):
8737 * international/mule-diag.el (decode-codepage-char):
8738 * international/mule-util.el (detect-coding-with-priority):
8739 * iswitchb.el (iswitchb-read-buffer):
8740 * mail/mailalias.el (mail-complete):
8741 * mail/sendmail.el (mail-sent-via):
8742 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8743 (mouse-major-mode-menu):
8744 * password-cache.el (password-read-and-add):
8745 * pcomplete.el (pcomplete-parse-comint-arguments):
8746 * progmodes/sh-script.el (sh-maybe-here-document):
8747 * replace.el (query-replace-regexp-eval):
8748 * savehist.el (savehist-load):
8749 * simple.el (choose-completion-delete-max-match):
8750 * term.el (term-dynamic-simple-complete):
8751 * vc/ediff-init.el (ediff-check-version):
8752 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8753 * vc/vc.el (vc-diff-switches-list):
8754 * view.el (view-return-to-alist-update): Likewise.
8755
8756 * subr.el (eval-next-after-load, makehash, insert-string)
8757 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8758 mark obsolete.
8759 (mode-line-inverse-video): Variable deleted.
8760
8761 * international/mule-util.el (string-to-sequence): Remove.
8762
8763 * calendar/calendar.el (calendar-version):
8764 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8765 (icalendar-convert-diary-to-ical):
8766 * cus-edit.el (custom-mode):
8767 * ansi-color.el (ansi-color-unfontify-region):
8768 * international/latin1-disp.el (latin1-char-displayable-p):
8769 * progmodes/cwarn.el (turn-on-cwarn-mode):
8770 * progmodes/which-func.el (which-func-update-1):
8771 Use define-obsolete-function-alias.
8772
8773 * net/newst-backend.el (newsticker-cache-filename):
8774 * net/newst-treeview.el (newsticker-groups-filename):
8775 Fix incorrect obsolescence declaration.
8776
8777 * allout.el (allout-passphrase-hint-string): Likewise.
8778 (allout-init): Use a declare form to mark obsolete.
8779
8780 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8781 this applies to functions.
8782
8783 * iswitchb.el (iswitchb-read-buffer): Move code of
8784 iswitchb-define-mode-map here, and delete that obsolete function.
8785
8786 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8787 font-lock-reference-face.
8788
8789 2012-09-25 Glenn Morris <rgm@gnu.org>
8790
8791 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8792 Doc fixes.
8793
8794 * eshell/em-term.el (eshell-term-name):
8795 Default to term-term-name. (Bug#12485)
8796
8797 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8798
8799 * progmodes/python.el (python-shell-send-buffer): Better handling
8800 of "if __name__ == '__main__':" conditionals when sending the buffer.
8801
8802 2012-09-24 Glenn Morris <rgm@gnu.org>
8803
8804 * eshell/esh-cmd.el (eshell-find-alias-function):
8805 Tighten up file-name regexp. (Bug#12499)
8806
8807 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8808
8809 Enhancements for triple-quote string syntax.
8810 * progmodes/python.el (python-quote-syntax): Remove.
8811 (python-syntax-propertize-function): New value.
8812 (python-syntax-count-quotes, python-syntax-stringify):
8813 New functions.
8814
8815 2012-09-24 Chong Yidong <cyd@gnu.org>
8816
8817 * mail/supercite.el (sc-version): Remove obsolete function.
8818 (sc-describe): Don't mark as obsolete, since it is bound.
8819 (sc-submit-bug-report): Remove.
8820
8821 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8822 (cvs-commit-buffer-require-final-newline): Remove.
8823 (log-edit-require-final-newline)
8824 (log-edit-changelog-full-paragraphs): Default to t.
8825
8826 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8827 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8828 * vc/vc.el (vc-checkout-carefully): Likewise.
8829
8830 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8831 (emerge-version): Remove.
8832
8833 * progmodes/compile.el (compile-internal): Remove.
8834 (compilation-parse-errors-function): Fix typo.
8835
8836 * international/mule.el (set-char-table-default): Remove.
8837 (set-coding-priority, make-coding-system, generic-char-p)
8838 (charset-list, charset-bytes, charset-id): Use declare to mark
8839 functions as obsolete.
8840
8841 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8842 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8843 * vc/vc-hooks.el (vc-default-registered): Don't use
8844 vc-master-templates.
8845
8846 * font-lock.el (font-lock-reference-face):
8847 Use define-obsolete-variable-alias.
8848
8849 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8850 * calendar/calendar.el (calendar-font-lock-keywords):
8851 * calendar/diary-lib.el (diary-font-lock-keywords)
8852 (diary-fancy-font-lock-keywords):
8853 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8854 * textmodes/reftex-index.el (reftex-insert-index):
8855 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8856 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8857 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8858 * progmodes/prolog.el (prolog-font-lock-keywords):
8859 * progmodes/idlwave.el (idlwave-idl-keywords):
8860 * progmodes/ada-mode.el (ada-font-lock-keywords):
8861 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8862
8863 2012-09-24 Glenn Morris <rgm@gnu.org>
8864
8865 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8866
8867 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
8868
8869 * progmodes/python.el (python-indent-line): More consistent cursor
8870 movement behavior.
8871
8872 2012-09-23 Stefan Merten <smerten@oekonux.de>
8873
8874 * textmodes/rst.el: Fix compiler warning.
8875
8876 2012-09-23 Roland Winkler <winkler@gnu.org>
8877
8878 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8879 Transcribe also LaTeX hyphenation.
8880 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8881 bibtex-reformat-previous-options.
8882
8883 2012-09-23 Roland Winkler <winkler@gnu.org>
8884
8885 * proced.el (proced-renice-command): New variable.
8886 (proced-marked-processes): New function.
8887 (proced-with-processes-buffer): New macro.
8888 (proced-send-signal): Use them.
8889 (proced-renice): New command bound to r.
8890
8891 2012-09-23 Roland Winkler <winkler@gnu.org>
8892
8893 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8894 ibuffer-saved-filter-groups has one element, shortcut the call of
8895 completing-read. (Bug#12331)
8896
8897 2012-09-23 Chong Yidong <cyd@gnu.org>
8898
8899 * bindings.el (mode-line-toggle-read-only):
8900 * bs.el (bs-toggle-readonly):
8901 * buff-menu.el (Buffer-menu-toggle-read-only):
8902 * dired.el (dired-toggle-read-only):
8903 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8904
8905 2012-09-23 Chong Yidong <cyd@gnu.org>
8906
8907 * image.el (image-type-available-p): Adapt to init-image-library
8908 argument changes.
8909
8910 2012-09-22 Juri Linkov <juri@jurta.org>
8911
8912 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8913 `dired-toggle-read-only'. (Bug#12462)
8914
8915 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8916
8917 * subr.el (temp-output-buffer-show): New function.
8918 (with-output-to-temp-buffer): Call temp-output-buffer-show
8919 instead of internal-temp-output-buffer-show.
8920
8921 2012-09-22 Chong Yidong <cyd@gnu.org>
8922
8923 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8924 (Bug#12462).
8925
8926 * repeat.el (repeat): Doc fix (Bug#12348).
8927
8928 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8929 (Bug#10909).
8930
8931 * simple.el (shell-command-on-region): Doc fix.
8932 (read-only-mode): Doc fix.
8933
8934 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8935
8936 * emacs-lisp/timer.el (run-with-idle-timer)
8937 (timer-activate-when-idle): Warn against reinvoking an idle timer
8938 from within its own timer action. (Bug#12447)
8939
8940 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8941
8942 * cus-start.el (window-combination-limit): Add new optional
8943 values.
8944 * window.el (temp-buffer-window-show)
8945 (window--try-to-split-window): Handle new values of
8946 window-combination-limit (Bug#1806).
8947 (split-window): Test window-combination-limit for t instead of
8948 non-nil.
8949 (display-buffer-at-bottom): New buffer display action function.
8950 * help.el (temp-buffer-resize-regexps): New option.
8951 (temp-buffer-resize-mode): Rewrite doc-string.
8952 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8953 Don't resize reused window. Suggested by Glenn Morris.
8954
8955 2012-09-22 Stefan Merten <smerten@oekonux.de>
8956
8957 * textmodes/rst.el: Revamp section title faces.
8958 (rst-official-version)
8959 (rst-package-emacs-version-alist): Sync with official version
8960 V1.4.0.
8961 (rst-faces-defaults, rst-set-level-default)
8962 (rst-level-face-max, rst-level-face-base-color)
8963 (rst-level-face-base-light, rst-level-face-format-light)
8964 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8965 (rst-adornment-faces-alist): Match new setup.
8966 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8967 (rst-level-5, rst-level-6): New faces.
8968
8969 2012-09-22 Chong Yidong <cyd@gnu.org>
8970
8971 * simple.el (undo): Handle indirect buffers (Bug#8207).
8972
8973 2012-09-21 Leo Liu <sdl.web@gmail.com>
8974
8975 IDO: Disable match re-ordering for buffer switching.
8976 * ido.el (ido-buffer-disable-smart-matches): New variable.
8977 (ido-set-matches-1): Use it. (Bug#2042)
8978
8979 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8980
8981 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8982 Fix 2011-05-17 change. (Bug#12418)
8983
8984 2012-09-21 Leo Liu <sdl.web@gmail.com>
8985
8986 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8987
8988 2012-09-21 Glenn Morris <rgm@gnu.org>
8989
8990 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8991 Be more robust about locating simple.el.
8992
8993 2012-09-21 Glenn Morris <rgm@gnu.org>
8994
8995 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8996
8997 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8998
8999 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9000
9001 2012-09-20 Juri Linkov <juri@jurta.org>
9002
9003 * replace.el (query-replace-read-from): Use `read-regexp' instead
9004 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9005 (occur-read-primary-args): Use `read-regexp' instead of
9006 `read-string'.
9007 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9008 `read-from-minibuffer'.
9009 * isearch.el (isearch-occur): Use `read-regexp' instead of
9010 `read-string'.
9011 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9012 `read-from-minibuffer'.
9013 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9014 of `read-string'. (Bug#7567)
9015
9016 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9017 and allow accepting a list of strings prepended to a list of
9018 standard default values. Doc fix. (Bug#12321)
9019
9020 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9021
9022 * replace.el (read-regexp): Don't add ": " when PROMPT already
9023 ends with a colon and space. (Bug#12321)
9024
9025 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9026
9027 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9028 error.
9029
9030 2012-09-20 Stefan Merten <smerten@oekonux.de>
9031
9032 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9033 Fixes feature request bug#11711.
9034 (rst-mode): Create `imenu-create-index-function'.
9035 (rst-get-stripped-line): Delete after refactoring.
9036 (rst-section-tree, rst-section-tree-rec)
9037 (rst-section-tree-point): Refactor and document properly.
9038 (rst-imenu-find-adornments-for-position)
9039 (rst-imenu-convert-cell, rst-imenu-create-index):
9040 New function.
9041
9042 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9043
9044 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9045 (macroexp--expand-all): Use it.
9046 (macroexp--funcall-and-return): Remove by folding it into its sole
9047 caller (macroexp--warn-and-return).
9048 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9049 Use macroexp--obsolete-warning.
9050
9051 * calc/calc.el: Fix last change by removing the whole chunk, since it
9052 was only needed back when Calc was not bundled.
9053
9054 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9055
9056 * emacs-lisp/debug.el (debug): Restore assignment to
9057 debugger-old-buffer removed on 2012-09-08.
9058
9059 2012-09-20 Juri Linkov <juri@jurta.org>
9060
9061 * dired-aux.el (dired-diff): Remove (require 'diff) since
9062 `diff-latest-backup-file' is now autoloaded.
9063
9064 2012-09-20 Chong Yidong <cyd@gnu.org>
9065
9066 * vc/diff.el (diff-latest-backup-file): Autoload.
9067
9068 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9069
9070 * calc/calc.el: Remove redundant autoload shape check.
9071 (sel-mode): Don't defvar.
9072 (calc-get-stack-element): Add `sel-mode' arg instead.
9073 (calc-top, calc-top-list): Pass it this additional argument.
9074 * calc/calc-store.el (calc-store-map):
9075 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9076 (calc-map-equation, calc-outer-product, calc-inner-product):
9077 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9078
9079 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9080
9081 2012-09-19 Juri Linkov <juri@jurta.org>
9082
9083 * dired-aux.el (dired-diff): Add (require 'diff) because
9084 `diff-latest-backup-file' is not autoloaded.
9085 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9086 of `dired-get-filename' to t to not report error when there is
9087 no default file on the current line.
9088
9089 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9092 macroexp--eval-if-compile.
9093 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9094 (macroexp--expand-all): Use them (bug#12371).
9095
9096 * doc-view.el (doc-view-guess-paper-size)
9097 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9098
9099 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9100
9101 New feature: set optimal slice from BoundingBox information.
9102 * doc-view.el (doc-view-mode-map): Add keybinding.
9103 (doc-view-menu): Add menu entry.
9104 (doc-view-set-slice): Adapt docstring.
9105 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9106 (doc-view-scale-bounding-box)
9107 (doc-view-set-slice-from-bounding-box): New functions.
9108 (doc-view-paper-sizes): New defvar.
9109
9110 2012-09-19 Glenn Morris <rgm@gnu.org>
9111
9112 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9113 (byte-compile-log-warning): Autoload. (Bug#12371)
9114
9115 * calendar/calendar.el (calendar-american-month-header)
9116 (calendar-european-month-header, calendar-iso-month-header)
9117 (calendar-month-header): New options.
9118 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9119 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9120
9121 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9122
9123 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9124
9125 2012-09-18 Juri Linkov <juri@jurta.org>
9126
9127 * dired-aux.el (dired-diff): Restore original functionality of
9128 getting the default value, but keep new feature of using the
9129 latest existing backup file (`diff-latest-backup-file').
9130
9131 2012-09-18 Juri Linkov <juri@jurta.org>
9132
9133 * dired.el (dired-mark): If the region is active in Transient Mark
9134 mode, mark all files in the active region. Doc fix.
9135 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9136 Doc fix. (Bug#10624)
9137
9138 2012-09-18 Juri Linkov <juri@jurta.org>
9139
9140 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9141 attributes for M-n are pulled from the file at point.
9142 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9143 Suggested by Drew Adams. (Bug#10624)
9144
9145 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9146
9147 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9148 whitespace after "end".
9149 (ruby-do-end-to-brace): Collapse block to one line if it fits
9150 within fill-column.
9151
9152 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9153
9154 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9155 value.
9156 (debug): Don't remove debugger window when debugger is expected
9157 to be back.
9158
9159 2012-09-18 Chong Yidong <cyd@gnu.org>
9160
9161 * custom.el (defface): Doc fix.
9162
9163 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9164
9165 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9166
9167 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9168 to initialize query-on-exit; then test that instead (bug#12288).
9169
9170 2012-09-17 Stefan Merten <smerten@oekonux.de>
9171
9172 * textmodes/rst.el: Add support for `testcover'.
9173 (rst-defcustom-testcover, rst-testcover-add-compose)
9174 (rst-testcover-add-1value): New functions.
9175 (rst-portable-mark-active-p): Replace by `use-region-p'.
9176 (rst-update-section, rst-classify-adornment)
9177 (rst-find-title-line): Mark `1value' forms.
9178 (rst-classify-adornment): Remove superfluous form.
9179 (rst-update-section, rst-get-adornments-around)
9180 (rst-adornment-complete-p, rst-get-next-adornment)
9181 (rst-adjust, rst-promote-region)
9182 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9183 (rst-find-pfx-in-region, rst-section-tree-rec)
9184 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9185 (rst-toc-node, rst-toc, rst-forward-section)
9186 (rst-iterate-leftmost-paragraphs)
9187 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9188 (rst-bullet-list-region)
9189 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9190 (rst-compile-find-conf, rst-compile)
9191 (rst-repeat-last-character): Fix style.
9192
9193 2012-09-17 Chong Yidong <cyd@gnu.org>
9194
9195 * comint.el (comint--complete-file-name-data): Don't add a space
9196 if the status is `sole'; that adds a gratuitous space in the
9197 completion-cycling case (Bug#12092).
9198
9199 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9200
9201 2012-09-17 Richard Stallman <rms@gnu.org>
9202
9203 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9204 only in the mime-shown mode, not in raw mode.
9205 (rmail-mime): Toggle off mime by displaying the message without
9206 mime processing. (Bug#12305)
9207
9208 * mail/rmail.el (rmail-retry-failure):
9209 Turn off mime processing first. (Bug#12037)
9210
9211 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9212
9213 2012-09-17 Chong Yidong <cyd@gnu.org>
9214
9215 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9216 (shell-dynamic-complete-functions): Convert to defcustom.
9217 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9218
9219 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9220 * comint.el (comint-prompt-read-only):
9221 * custom.el (defcustom):
9222 * hi-lock.el (hi-lock-mode):
9223 * ibuffer.el (ibuffer-formats):
9224 * ielm.el (ielm-prompt-read-only):
9225 * novice.el (disable-command):
9226 * saveplace.el (toggle-save-place):
9227 * speedbar.el (speedbar-supported-extension-expressions):
9228 * startup.el (auto-save-list-file-prefix, init-file-user)
9229 (after-init-hook, inhibit-startup-echo-area-message):
9230 * strokes.el (strokes-help):
9231 * time-stamp.el (time-stamp):
9232 * calendar/calendar.el (calendar, diary-file):
9233 * calendar/diary-lib.el (diary-mail-entries, diary)
9234 (diary-list-entries-hook):
9235 * calendar/holidays.el (holidays, calendar-holidays):
9236 * calendar/lunar.el (lunar-phases):
9237 * calendar/solar.el (sunrise-sunset):
9238 * emulation/edt.el (edt-load-keys):
9239 * emulation/viper.el (viper-mode):
9240 * eshell/em-alias.el (eshell-command-aliases-list):
9241 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9242 * international/ogonek.el (ogonek-information):
9243 * net/tramp-cmds.el (tramp-bug):
9244 * net/quickurl.el (quickurl-reread-hook-postfix):
9245 * play/decipher.el (decipher-font-lock-keywords):
9246 * progmodes/cc-styles.el (c-set-style):
9247 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9248 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9249 * progmodes/octave-mod.el (octave-mode):
9250 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9251 * progmodes/verilog-mode.el (verilog-read-defines):
9252 * textmodes/two-column.el (2C-mode): Likewise.
9253
9254 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9255
9256 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9257 that holds many addresses.
9258
9259 2012-09-16 Chong Yidong <cyd@gnu.org>
9260
9261 * align.el (align-areas): Call the indication function with
9262 positions instead of markers for arguments (Bug#12343).
9263
9264 * files.el (parse-colon-path): Use split-string (Bug#12351).
9265
9266 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9267 (display-buffer-function): Mark as obsolete.
9268
9269 * progmodes/compile.el (compilation-parse-errors): Accept list
9270 values similar to font-lock-keywords (Bug#12136).
9271 Suggested by Oleksandr Manzyuk.
9272 (compilation-error-regexp-alist): Doc fix.
9273
9274 2012-09-15 Glenn Morris <rgm@gnu.org>
9275
9276 * version.el (emacs-bzr-version-bzr): New function.
9277 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9278
9279 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9280 checkouts, check the parent dirstate matches the branch.
9281 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9282 empty string.
9283
9284 * version.el (emacs-bzr-version): Doc fix.
9285 (emacs-bzr-version-dirstate): New function.
9286 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9287 is local try and check that it matches the branch. If not, just
9288 use dirstate information. (Bug#12441)
9289
9290 2012-09-14 Juri Linkov <juri@jurta.org>
9291
9292 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9293 (Bug#12399)
9294
9295 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9298
9299 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9300 Remove obsolete byte-compiler hack that tried to silence some warnings.
9301 (edebug-submit-bug-report): Remove.
9302 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9303 Remove aliases, use the un-prefixed name instead.
9304 (edebug-pop-to-buffer): Consider other frames.
9305 (edebug-original-read):: Make it more obvious that it's always defined.
9306 (edebug--make-form-data-entry, edebug--form-data-name)
9307 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9308 single-dashed name, and implement with cl-defstruct.
9309 (edebug-set-form-data-entry): Use the standard accessors.
9310 (edebug-make-top-form-data-entry): Use push.
9311 (edebug-no-match): Drop useless `funcall'.
9312 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9313 to functions.
9314 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9315 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9316 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9317 (easy-menu-define, with-custom-print): Remove redundant specs.
9318 (edebug-outside-overriding-local-map)
9319 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9320 (edebug--display): Bind unread-command-events directly to nil rather
9321 than binding it to unread-command-events and later setting it to nil.
9322 (edebug--display): Kill edebug-eval-buffer here...
9323 (edebug--recursive-edit): ...rather than here.
9324 Bind standard-output and standard-input.
9325 (edebug-eval): Check cl-macroexpand-all is fboundp.
9326 (edebug-temp-display-freq-count): Fix last change.
9327
9328 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9329 * subr.el (noreturn, 1value): Add `debug' spec.
9330 * emacs-lisp/advice.el: Require cl-lib.
9331 (ad-copy-tree): Remove, use copy-tree instead.
9332 (ad-dolist): Remove use dolist or cl-dolist instead.
9333 (ad-do-return): Remove, use cl-return instead.
9334 (defadvice): Add `debug' spec.
9335
9336 2012-09-13 Juri Linkov <juri@jurta.org>
9337
9338 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9339 (Bug#12399)
9340
9341 2012-09-13 Glenn Morris <rgm@gnu.org>
9342
9343 * calc/calc.el (math-compose-expr):
9344 * calc/calc-ext.el (math-compose-expr):
9345 * progmodes/cc-defs.el (cl-macroexpand-all):
9346 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9347 (cl-macroexpand-all): Update declarations.
9348
9349 * vc/vc.el: No need to require ediff.
9350 (ediff-load-version-control): Declare.
9351 (ediff-vc-internal): Fix declaration.
9352 (vc-version-ediff): Require ediff.
9353
9354 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9355
9356 Use a more backwards-compatible timer format (Bug#12430).
9357 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9358 being right after USECS, as that better supports old code that
9359 inadvisedly looked directly at the timer vector.
9360
9361 2012-09-13 Kenichi Handa <handa@gnu.org>
9362
9363 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9364 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9365 `coding-priority' property of these language environment.
9366
9367 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9368
9369 Fix glitches caused by addition of psec to timers (Bug#12430).
9370 * image.el (image-animate-timer):
9371 * time.el (display-time-world-timer):
9372 Use timer--function and timer--args rather than raw access to
9373 timer vector.
9374
9375 2012-09-13 Glenn Morris <rgm@gnu.org>
9376
9377 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9378 If not compiling a file, try using load-file-name.
9379
9380 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9383 Fix last change.
9384 (edebug-update-eval-list): Use `push'.
9385
9386 * emacs-lisp/edebug.el: Use lexical-binding.
9387 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9388 Mark unused args with underscore.
9389 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9390 (edebug-form-data): Use defvar-local.
9391 (edebug-make-before-and-after-form, edebug-make-after-form):
9392 Use backquote.
9393 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9394 Not dynamically scoped any more.
9395 (edebug--enter-trace): Add arguments `function' and `args'.
9396 Rename from edebug-enter-trace.
9397 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9398 (edebug--update-coverage): Add `after-index' and `value' args.
9399 Rename from edebug-update-coverage.
9400 (edebug-slow-after): Call it accordingly.
9401 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9402 edebug-recursive-edit.
9403 (edebug--display): Call it accordingly. Add args `value',
9404 `offset-index', and `arg-mode'. Rename from edebug-display.
9405 (edebug-debugger, edebug): Call it accordingly.
9406 (edebug-eval-display-list): Use dolist.
9407
9408 2012-09-12 Juri Linkov <juri@jurta.org>
9409
9410 * info.el (Info-search): Don't check for isearch-mode and
9411 isearch-regexp before let-binding search-spaces-regexp to
9412 Info-search-whitespace-regexp.
9413 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9414 search-whitespace-regexp if isearch-lax-whitespace or
9415 isearch-regexp-lax-whitespace is non-nil.
9416 (Info-mode): Don't set local variable search-whitespace-regexp.
9417 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9418
9419 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9420
9421 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9422 (debugger-env-macro): Remove support for unread-command-char.
9423
9424 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9425 the temporary map re-appearing on emulation-mode-map-alists.
9426
9427 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9428 since 22.1.
9429
9430 * ehelp.el (with-electric-help): Accept functions in
9431 electric-help-form-to-execute.
9432 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9433 And replace unread-command-char -> unread-command-events.
9434
9435 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9436
9437 Sync with Tramp 2.2.6.
9438
9439 * net/tramp.el (tramp-accept-process-output): Don't use
9440 JUST-THIS-ONE in the XEmacs case.
9441
9442 * net/trampver.el: Update release number.
9443
9444 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9445
9446 * emacs-lisp/debug.el (debugger-previous-window-height):
9447 New variable.
9448 (debug): When debugger-jumping-flag is non-nil try to restore
9449 height of debugger window. (Bug#8789)
9450
9451 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9452
9453 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9454 overriding-local-map and pre/post-command-hook here.
9455 (edebug-recursive-edit): Do it here instead (bug#12345).
9456 (edebug-outside-unread-command-char): Remove all uses of
9457 unread-command-char.
9458
9459 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9460 inhibit-debugger is bound instead.
9461
9462 2012-09-11 Bastien Guerry <bzg@gnu.org>
9463
9464 * subr.el (set-temporary-overlay-map): Add a docstring.
9465 (Bug#12346)
9466
9467 2012-09-11 Bastien Guerry <bzg@gnu.org>
9468
9469 * minibuffer.el (completion-table-subvert): Fix docstring.
9470 (Bug#12347)
9471
9472 2012-09-11 Bastien Guerry <bzg@gnu.org>
9473
9474 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9475
9476 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9477
9478 * progmodes/sql.el: Version 3.1
9479 (sql-db2-escape-newlines): New variable.
9480 (sql-escape-newlines-filter): Use it.
9481
9482 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9483
9484 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9485
9486 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9487
9488 * vc/diff-mode.el (diff-mode-menu):
9489 Bind diff-remove-trailing-whitespace.
9490
9491 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9492
9493 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9494 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9495 (emacs-lisp-byte-code-mode): New functions.
9496 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9497 (eval-defun-2): Remove bogus interactive spec.
9498 (lisp-indent-line): Remove redundant whole-exp code, now done in
9499 indent-according-to-mode.
9500 (save-match-data): Remove redundant indent data.
9501
9502 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9503 Use `declare'.
9504
9505 2012-09-09 Juri Linkov <juri@jurta.org>
9506
9507 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9508 (replace-lax-whitespace, query-replace-regexp)
9509 (query-replace-regexp-eval, replace-regexp): Doc fix.
9510 (perform-replace, replace-highlight): Let-bind
9511 isearch-lax-whitespace to replace-lax-whitespace and
9512 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9513
9514 * isearch.el (isearch-query-replace): Let-bind
9515 replace-lax-whitespace to isearch-lax-whitespace and
9516 replace-regexp-lax-whitespace to
9517 isearch-regexp-lax-whitespace. (Bug#10885)
9518
9519 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9520
9521 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9522
9523 2012-09-09 Alan Mackenzie <acm@muc.de>
9524
9525 * progmodes/cc-engine.el (c-state-cache-init):
9526 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9527 (c-record-parse-state-state):
9528 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9529
9530 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9531
9532 * register.el (register-separator): Rename from
9533 separator-register. All uses changed. Doc fix.
9534 (register): Fix version.
9535
9536 2012-09-09 Chong Yidong <cyd@gnu.org>
9537
9538 * replace.el (query-replace-map): Bind four new symbols for
9539 requesting window scrolling.
9540
9541 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9542 query-replace-map (Bug#8948).
9543
9544 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9545
9546 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9547 since they are now in query-replace-map.
9548
9549 * window.el (scroll-other-window-down): Make the arg optional.
9550
9551 2012-09-09 Chong Yidong <cyd@gnu.org>
9552
9553 * files.el (hack-local-variables-confirm): Use quit-window to kill
9554 the *Local Variables* buffer.
9555
9556 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9557
9558 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9559 not just expect to be at its beginning. Adjust callees.
9560 Succeed when do-end block has no space before the pipe character.
9561 (ruby-brace-to-do-end): When the original block is one-liner,
9562 convert to multiline. Reindent the result.
9563
9564 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9565
9566 * register.el (register): New group.
9567 (separator-register): New user option.
9568 (increment-register): Route it to `append-to-register', if
9569 register contains text. Implication is that `C-x r +' can now be
9570 used for appending to a text register (bug#12217).
9571 (append-to-register, prepend-to-register): Add separator based on
9572 `separator-register'.
9573
9574 2012-09-08 Alan Mackenzie <acm@muc.de>
9575
9576 AWK Mode: make auto-newline work when there's "==" in the pattern.
9577 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9578 correctly.
9579 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9580 Test more rigorously for "=" token.
9581
9582 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9583
9584 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9585 Only fail when reached LIMIT.
9586
9587 2012-09-08 Chong Yidong <cyd@gnu.org>
9588
9589 * dired.el (dired-mode-map): Don't bind M-=.
9590
9591 * dired-aux.el (dired-diff): Use backup file as default.
9592
9593 2012-09-08 Drew Adams <drew.adams@oracle.com>
9594
9595 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9596
9597 2012-09-08 Chong Yidong <cyd@gnu.org>
9598
9599 * subr.el (syntax-after, syntax-class): Doc fix.
9600
9601 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9602
9603 * window.el (display-buffer-in-previous-window): New buffer
9604 display action function.
9605
9606 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9607 (debugger-previous-window): New variable.
9608 (debug): Rewrite using display-buffer-in-previous-window,
9609 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9610
9611 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9612
9613 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9614
9615 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9616
9617 * progmodes/python.el (python-shell-send-string):
9618 When default-directory is remote, create temp file on remote
9619 filesystem.
9620 (python-shell-send-file): When file is remote, pass local view of
9621 file paths to remote Python interpreter. (Bug#12340)
9622
9623 2012-09-07 Chong Yidong <cyd@gnu.org>
9624
9625 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9626
9627 * files.el (after-find-file): Don't fail on a read-only buffer if
9628 require-final-newline is `visit' or `visit-save' (Bug#11156).
9629
9630 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9631
9632 * userlock.el (ask-user-about-supersession-threat):
9633 Use read-char-choice (Bug#12093).
9634
9635 2012-09-07 Chong Yidong <cyd@gnu.org>
9636
9637 * subr.el (buffer-narrowed-p): New function.
9638
9639 * ses.el (ses-widen):
9640 * simple.el (count-words--buffer-message):
9641 * net/browse-url.el (browse-url-of-buffer): Use it.
9642
9643 * simple.el (count-words-region): Don't signal an error if there
9644 is a non-nil prefix arg and the mark is not set.
9645
9646 * help.el (describe-key-briefly): Allow the message to be seen
9647 when invoked from the minibuffer (Bug#7014).
9648
9649 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9650
9651 * progmodes/ruby-mode.el (ruby-end-of-defun)
9652 (ruby-beginning-of-defun): Simplify, allow indentation before
9653 block beginning and end keywords.
9654 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9655 (ruby-end-of-defun): Expect that the point is at the beginning of
9656 the defun.
9657
9658 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9661 (bug#12367).
9662 (cl--make-usage-args): Strip _ from argument names.
9663
9664 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9665
9666 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9667 obsolete alias speedbar-key-map.
9668 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9669 (vhdl-index-menu-init): Don't use obsolete variable
9670 font-lock-maximum-size.
9671
9672 2012-09-06 Chong Yidong <cyd@gnu.org>
9673
9674 * frame.el (window-system-version): Mark as obsolete.
9675
9676 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9677 of obsolete variable speedbar-key-map.
9678
9679 2012-09-06 Juri Linkov <juri@jurta.org>
9680
9681 * replace.el (replace-lax-whitespace): New defcustom.
9682 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9683 (replace-string, replace-regexp): Mention it in docstrings.
9684 (perform-replace, replace-highlight): Let-bind
9685 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9686 to the values of replace-lax-whitespace and regexp-flag.
9687 Don't let-bind search-whitespace-regexp. (Bug#10885)
9688
9689 * isearch.el (isearch-query-replace): Let-bind
9690 replace-lax-whitespace instead of let-binding
9691 replace-search-function and replace-re-search-function.
9692 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9693 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9694 (isearch-toggle-symbol): Set isearch-regexp to nil
9695 in isearch-word mode (like in isearch-toggle-word).
9696
9697 2012-09-06 Juri Linkov <juri@jurta.org>
9698
9699 * replace.el (replace-search-function)
9700 (replace-re-search-function): Set default values to nil.
9701 (perform-replace): Let-bind isearch-related variables based on
9702 replace-related values, call `isearch-search-fun' and let-bind
9703 the result to `search-function'. Remove code that sets
9704 `search-function' and `search-string' separately for
9705 `delimited-flag'.
9706 (replace-highlight): Add new argument `delimited-flag' and
9707 rename other arguments to the names used in `perform-replace'.
9708 Let-bind `isearch-word' to the argument `delimited-flag'.
9709 (Bug#10885, bug#10887)
9710
9711 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9712
9713 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9714 ruby-beginning-of-indent, simplify, allow all keywords to have
9715 indentation before them.
9716 (ruby-beginning-of-indent): Adjust for above. Search until the
9717 found point is not inside a string or comment.
9718 (ruby-font-lock-keywords): Allow symbols to start with "@"
9719 character, give them higher priority than variables.
9720 (ruby-syntax-propertize-function)
9721 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9722 matchers. Expression expansions are not comments when inside a
9723 string, and there comment syntax status is irrelevant.
9724 (ruby-match-expression-expansion): New function. Check that
9725 expression expansion is inside a string, and it's not escaped.
9726 (ruby-font-lock-keywords): Use it.
9727
9728 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9729
9730 * help.el (temp-buffer-max-height): New default value.
9731 (temp-buffer-resize-frames): New option.
9732 (resize-temp-buffer-window): Optionally resize frame.
9733
9734 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9735 (fit-frame-to-buffer): New function.
9736
9737 2012-09-05 Glenn Morris <rgm@gnu.org>
9738
9739 * emulation/cua-rect.el (cua--init-rectangles):
9740 * textmodes/picture.el (picture-mode-map):
9741 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9742 like forward-char and backward-char. (Bug#12317)
9743
9744 2012-09-05 Leo Liu <sdl.web@gmail.com>
9745
9746 * progmodes/flymake.el (flymake-warning-re): New variable.
9747 (flymake-parse-line): Use it.
9748
9749 2012-09-05 Glenn Morris <rgm@gnu.org>
9750
9751 * calendar/holidays.el (holiday-christian-holidays):
9752 Rename an entry. (Bug#12289)
9753
9754 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9755
9756 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9757 (bug#12222).
9758
9759 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * loadup.el: Load macroexp. Remove hack.
9762 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9763 (macroexp--expand-all): Use it to get better warnings.
9764 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9765 (internal-macroexpand-for-load): New functions.
9766 (macroexp--pending-eager-loads): New var.
9767 (emacs-startup-hook): New hack to replace one in loadup.el.
9768 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9769 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9770 (cl-psetf): Simplify.
9771 (cl-defstruct): Add indent rule.
9772
9773 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9774
9775 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9776 over `user-mail-address' for the SMTP MAIL FROM envelope.
9777 (smtpmail-via-smtp): Ditto.
9778
9779 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9780
9781 * progmodes/ruby-mode.el: Clean up keybindings.
9782 (ruby-mode-map): Don't bind ruby-electric-brace,
9783 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9784 backward-kill-word, reindent-then-newline-and-indent.
9785 (ruby-mark-defun): Remove.
9786 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9787 (ruby-mode): Set local beginning-of-defun-function and
9788 end-of-defun-function values.
9789
9790 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9791
9792 * window.el (temp-buffer-window-setup-hook)
9793 (temp-buffer-window-show-hook): New hooks.
9794 (temp-buffer-window-setup, temp-buffer-window-show)
9795 (with-temp-buffer-window): New functions.
9796 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9797 (special-display-popup-frame): Make sure the window used shows BUFFER.
9798
9799 * help.el (temp-buffer-resize-mode): Fix doc-string.
9800 (resize-temp-buffer-window): New optional argument WINDOW.
9801
9802 * files.el (recover-file, save-buffers-kill-emacs):
9803 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9804
9805 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9806
9807 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9808 remote definition of `default-directory', ensure we can connect.
9809
9810 2012-09-02 Juri Linkov <juri@jurta.org>
9811
9812 Toggle whitespace matching mode with M-s SPC.
9813 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9814
9815 * isearch.el (search-whitespace-regexp): Doc fix.
9816 Remove cons cell customization.
9817 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9818 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9819 New variables.
9820 (isearch-forward, isearch-forward-regexp): Doc fix.
9821 (isearch-toggle-lax-whitespace): New command.
9822 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9823 (re-search-forward-lax-whitespace)
9824 (re-search-backward-lax-whitespace): New functions.
9825 (isearch-whitespace-regexp): Remove function.
9826 (isearch-query-replace): Let-bind replace-search-function and
9827 replace-re-search-function.
9828 (isearch-occur): Let-bind search-spaces-regexp according to the
9829 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9830 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9831 condition for C-q SPC.
9832 (isearch-search-fun-default): Use new functions mentioned above.
9833 (isearch-search-forward, isearch-search-backward): Remove functions.
9834 (isearch-search): Don't let-bind search-spaces-regexp.
9835 (isearch-lazy-highlight-space-regexp): Remove variable.
9836 (isearch-lazy-highlight-lax-whitespace)
9837 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9838 (isearch-lazy-highlight-new-loop): Use them.
9839 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9840
9841 2012-09-02 Chong Yidong <cyd@gnu.org>
9842
9843 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9844
9845 2012-09-02 Glenn Morris <rgm@gnu.org>
9846
9847 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9848
9849 2012-09-01 Glenn Morris <rgm@gnu.org>
9850
9851 * term.el: Tidy up menu definitions.
9852 (term-mode-map): Use easymenu for In/Out, Complete menus.
9853 (term-pager-break-map): Initialize in the defvar.
9854 (term-terminal-menu, term-signals-menu): Define with easymenu.
9855 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9856 (term-pager-menu): New, extracted from term-process-pager.
9857 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9858 (term-update-mode-line): Propertize line/char and page items.
9859 (term-process-pager): Move keymap initialization elsewhere.
9860
9861 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9862
9863 * window.el (switch-to-prev-buffer): Handle additional values of
9864 BURY-OR-KILL argument. Don't switch in minibuffer window.
9865 (switch-to-next-buffer): Don't switch in minibuffer window.
9866 (quit-restore-window): New function based on quit-window.
9867 Handle additional values of former KILL argument.
9868 (quit-window): Call quit-restore-window with appropriate
9869 interpretation of KILL argument.
9870 (display-buffer-below-selected): New buffer display action
9871 function.
9872
9873 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * minibuffer.el (completion-at-point-functions): Complete docstring
9876 (bug#12254).
9877
9878 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9879
9880 Better seed support for (random).
9881 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9882 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9883 * play/mpuz.el, play/tetris.el, play/zone.el:
9884 * calc/calc-comb.el (math-init-random-base):
9885 * play/blackbox.el (bb-init-board):
9886 * play/life.el (life):
9887 * server.el (server-use-tcp):
9888 * type-break.el (type-break):
9889 Remove unnecessary call to (random t).
9890 * net/sasl.el (sasl-unique-id-function):
9891 Change (random t) to (random), now that the latter is more random.
9892 * play/life.el (life-initialized): Remove no-longer-needed var.
9893
9894 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9895
9896 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9897 Consider frame's buffer predicate when choosing the buffer.
9898 (Bug#12081)
9899
9900 2012-08-30 Richard Stallman <rms@gnu.org>
9901
9902 * simple.el (special-mode-map): Delete binding for `z'.
9903
9904 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9905
9906 * progmodes/compile.el (compilation-always-kill): Doc fix.
9907
9908 2012-08-30 Chong Yidong <cyd@gnu.org>
9909
9910 * window.el (display-buffer-reuse-frames): Make the obsolescence
9911 message more informative.
9912
9913 2012-08-30 Glenn Morris <rgm@gnu.org>
9914
9915 * paren.el (show-paren-delay):
9916 Add a :set function. Doc fix. (Bug#12297)
9917
9918 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9919
9920 * progmodes/compile.el (compilation-always-kill): New var.
9921 (compilation-start): Use it.
9922
9923 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9924
9925 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9926 * files.el (read-only-mode): Move to simple.el.
9927
9928 * files.el (read-only-mode): New minor mode.
9929 (toggle-read-only): Use it and mark obsolete.
9930 (find-file--read-only):
9931 * vc/vc.el (vc-next-action, vc-checkout):
9932 * vc/vc-cvs.el (vc-cvs-checkout):
9933 * obsolete/vc-mcvs.el (vc-mcvs-update):
9934 * ffap.el (ffap--toggle-read-only): Update callers.
9935
9936 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9937
9938 * eshell/esh-ext.el (eshell-external-command): Do not examine
9939 remote shell scripts.
9940 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9941
9942 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9943 "/usr/local/sbin".
9944
9945 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9948
9949 2012-08-28 Leo Liu <sdl.web@gmail.com>
9950
9951 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9952 completion-at-point. (Bug#12220)
9953
9954 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9955
9956 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9957
9958 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9961 be buffer-local; add delete-trailing-whitespace (bug#12259).
9962
9963 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9964
9965 * progmodes/hideif.el (hif-compress-define-list):
9966 Fix typo. (Bug#11951)
9967
9968 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9969
9970 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9971 buffer local setting.
9972
9973 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9974 rcirc-encode-coding-system.
9975
9976 2012-08-28 Leo Liu <sdl.web@gmail.com>
9977
9978 * net/rcirc.el (rcirc-split-message): New function.
9979 (rcirc-send-message): Use it. (Bug#12051)
9980
9981 2012-08-28 Juri Linkov <juri@jurta.org>
9982
9983 * info.el (Info-fontify-node): Hide empty lines at the end of
9984 the node. (Bug#12272)
9985
9986 2012-08-27 Drew Adams <drew.adams@oracle.com>
9987
9988 * dired.el (dired-pop-to-buffer): Make window start at beginning
9989 of buffer (Bug#12281).
9990
9991 2012-08-26 Chong Yidong <cyd@gnu.org>
9992
9993 * window.el (special-display-regexps, special-display-frame-alist)
9994 (special-display-buffer-names, special-display-function)
9995 (display-buffer-reuse-frames): Mark as obsolete.
9996
9997 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9998
9999 * help.el (help-print-return-message): Don't treat
10000 display-buffer-reuse-frames specially.
10001
10002 2012-08-26 Chong Yidong <cyd@gnu.org>
10003
10004 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10005 New variable, replacing gdb-frame-parameters.
10006 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10007 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10008 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10009 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10010 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10011 the functions directly with gdb-display-buffer-other-frame-action.
10012 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10013 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10014 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10015 (gdb-display-registers-buffer): Define directly.
10016 (def-gdb-display-buffer): Macro deleted.
10017 (gdb-display-buffer): Remove second and third args, callers don't
10018 use them. Defer to the default display-buffer behavior, apart
10019 from making windows dedicated.
10020 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10021
10022 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10023
10024 * window.el (display-buffer-pop-up-frame): Handle a
10025 pop-up-frame-parameters alist entry.
10026 (display-buffer): Document it.
10027
10028 2012-08-26 Chong Yidong <cyd@gnu.org>
10029
10030 * isearch.el (search-whitespace-regexp): Make string and nil
10031 values apply to both ordinary and regexp search. Allow a cons
10032 cell value to distinguish between the two.
10033 (isearch-whitespace-regexp, isearch-search-forward)
10034 (isearch-search-backward): New functions.
10035 (isearch-occur, isearch-search-fun-default, isearch-search)
10036 (isearch-lazy-highlight-new-loop): Use them.
10037 (isearch-forward, isearch-forward-regexp): Doc fix.
10038
10039 2012-08-26 Chong Yidong <cyd@gnu.org>
10040
10041 * faces.el (help-argument-name): Always inherit from italic
10042 (Bug#12213).
10043
10044 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10045
10046 * window.el (window--even-window-heights): Even heights when
10047 WINDOW and the selected window form a vertical combination.
10048 (display-buffer-use-some-window): Provide that window used gets
10049 sized back by quit-window. (Bug#11880) and (Bug#12091)
10050
10051 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10052
10053 Fix file time stamp problem with bzr and CVS (Bug#12001).
10054 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10055 in the file's time stamp, since the version control system loses
10056 that information.
10057
10058 2012-08-22 Juri Linkov <juri@jurta.org>
10059
10060 * info.el (Info-fontify-node): Hide the suffix of the
10061 Info file name in the header line. (Bug#12187)
10062
10063 2012-08-22 Glenn Morris <rgm@gnu.org>
10064
10065 * calendar/cal-tex.el (cal-tex-weekly-common):
10066 Restore leading blank page.
10067
10068 2012-08-22 Le Wang <l26wang@gmail.com>
10069
10070 * misc.el (forward-to-word, backward-to-word): Activate or extend
10071 the region under `shift-select-mode'. (Bug#12231)
10072
10073 2012-08-22 Bastien Guerry <bzg@gnu.org>
10074
10075 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10076 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10077 gives details on why the space is never needed.
10078
10079 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10080
10081 * window.el (walk-window-tree, window-with-parameter):
10082 New optional argument MINIBUF to control whether these functions
10083 should run on the minibuffer window.
10084 (window-at-side-list): Don't operate on minibuffer window.
10085 (window-in-direction): Simplify and rewrite doc-string.
10086 (window--size-ignore): Rename to window--size-ignore-p.
10087 Update callers.
10088 (display-buffer-in-atom-window, window--major-non-side-window)
10089 (window--major-side-window, display-buffer-in-major-side-window)
10090 (delete-side-window, display-buffer-in-side-window):
10091 New functions.
10092 (window--side-check, window-deletable-p, delete-window)
10093 (delete-other-windows, split-window): Handle side windows and
10094 atomic windows appropriately.
10095 (window--display-buffer): Call display-buffer-record-window also
10096 when the window buffer did not change.
10097
10098 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10099
10100 * help-fns.el (help-fns--key-bindings):
10101 Abbreviate non-symbol remap targets. (Bug#12174)
10102
10103 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10104
10105 * dired.el (dired-mark-remembered): Don't clobber point.
10106 (Bug#11795)
10107
10108 2012-08-22 Glenn Morris <rgm@gnu.org>
10109
10110 * progmodes/bug-reference.el (bug-reference): New custom group.
10111 (bug-reference-bug-regexp): Make it a defcustom.
10112
10113 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10114
10115 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10116 (js-paren-indent-offset, js-square-indent-offset)
10117 (js-curly-indent-offset): Add :safe (Bug#12257).
10118
10119 2012-08-22 Edward O'Connor <hober0@gmail.com>
10120
10121 * json.el (json-key-format): Add error properties.
10122 (json-encode-key): New function.
10123 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10124 Use json-encode-key.
10125
10126 2012-08-22 Glenn Morris <rgm@gnu.org>
10127
10128 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10129 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10130 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10131 Update for above change.
10132
10133 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10134
10135 * cus-face.el (custom-face-attributes): Fix customize type for the
10136 :underline attribute. (Bug#11805)
10137
10138 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10139
10140 * window.el (window-point-1, set-window-point-1): Remove.
10141 (window-in-direction, record-window-buffer)
10142 (set-window-buffer-start-and-point, split-window-below)
10143 (window--state-get-1, display-buffer-record-window):
10144 Replace calls to window-point-1 and set-window-point-1 by calls to
10145 window-point and set-window-point respectively.
10146
10147 2012-08-21 Glenn Morris <rgm@gnu.org>
10148
10149 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10150 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10151 Use it.
10152
10153 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10154 (cal-tex-shortday): New function.
10155 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10156 (cal-tex-cursor-filofax-daily): Use the above.
10157
10158 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10159 New functions.
10160 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10161 (cal-tex-cursor-filofax-week): Use them.
10162
10163 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10164 New constants.
10165 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10166 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10167
10168 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10169 (cal-tex-end-document): Don't rely on buffer name.
10170
10171 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10172 Use cal-tex-vspace.
10173 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10174 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10175 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10176 Use cal-tex-arg.
10177
10178 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10179 (cal-tex-cursor-week, cal-tex-cursor-week2)
10180 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10181 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10182 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10183 (cal-tex-insert-preamble, cal-tex-b-document)
10184 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10185 Improve cal-tex-cmd usage.
10186
10187 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10188 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10189 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10190 (cal-tex-weekly-paper): New function.
10191 (cal-tex-cursor-week, cal-tex-cursor-week2)
10192 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10193 (cal-tex-cursor-day): Use it.
10194
10195 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10196 (cal-tex-cursor-filofax-week): Remove leading blank page.
10197
10198 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10199 Add autoload cookie. For now at least, don't use color, since
10200 no other cal-tex function does.
10201
10202 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10203 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10204 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10205
10206 2012-08-21 Juri Linkov <juri@jurta.org>
10207
10208 * info.el (Info-file-attributes): New variable.
10209 (info-insert-file-contents): Add file attributes to
10210 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10211 `Info-toc-nodes' when previous modtime of the Info file is less
10212 than new modtime.
10213 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10214 of info.el. (Bug#12230)
10215
10216 2012-08-20 Glenn Morris <rgm@gnu.org>
10217
10218 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10219 * calendar/holidays.el (calendar-holiday-list):
10220 Report errors with display-warning rather than beep'n'sleep.
10221
10222 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10223
10224 * net/tramp.el (tramp-accept-process-output): Accept only output
10225 from PROC. Otherwise, process filters and sentinels might be
10226 confused. (Bug#12145)
10227
10228 2012-08-20 Chong Yidong <cyd@gnu.org>
10229
10230 * descr-text.el (describe-text-properties-1): Use overlays-in to
10231 report on empty overlays (Bug#3322).
10232
10233 2012-08-20 Glenn Morris <rgm@gnu.org>
10234
10235 * mail/rmailout.el (rmail-output-read-file-name):
10236 Trap and report errors in rmail-output-file-alist elements.
10237
10238 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10239 since most non-font-lock faces are not also variables).
10240
10241 2012-08-20 Edward Reingold <reingold@iit.edu>
10242
10243 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10244 New function. (Bug12160)
10245
10246 2012-08-19 Glenn Morris <rgm@gnu.org>
10247
10248 * mail/rmailout.el (rmail-output-read-file-name):
10249 Fix previous change (when the alist is nil or does not match).
10250
10251 2012-08-19 Chong Yidong <cyd@gnu.org>
10252
10253 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10254 (Bug#12228).
10255
10256 2012-08-18 Chong Yidong <cyd@gnu.org>
10257
10258 * simple.el (yank-handled-properties): New defcustom.
10259 (yank-excluded-properties): Add font-lock-face and category.
10260 (yank): Doc fix.
10261
10262 * subr.el (remove-yank-excluded-properties):
10263 Obey yank-handled-properties. The special handling of font-lock-face
10264 and category is now done this way, instead of being hard-coded.
10265 (insert-for-yank-1): Remove font-lock-face handling.
10266 (yank-handle-font-lock-face-property)
10267 (yank-handle-category-property): New function.
10268
10269 2012-08-17 Glenn Morris <rgm@gnu.org>
10270
10271 * mail/rmailout.el (rmail-output-read-file-name):
10272 Check rmail-output-file-alist against the full message body
10273 in the correct rmail buffer. (Bug#12214)
10274
10275 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10276
10277 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10278 Eliminate superfluous prompt. (Bug#12203)
10279
10280 2012-08-17 Chong Yidong <cyd@gnu.org>
10281
10282 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10283 font spec, set the font directly (Bug#3228).
10284
10285 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10286
10287 * window.el (delete-window): Fix last fix.
10288
10289 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10290
10291 * window.el (window-valid-p): Move to window.c.
10292 (window-child, window-child-count, window-last-child)
10293 (window-normalize-window, window-combined-p)
10294 (window-combinations, window-atom-root, window-min-size)
10295 (window-sizable, window-sizable-p, window-size-fixed-p)
10296 (window-min-delta, window-max-delta, window--resizable)
10297 (window--resizable-p, window-resizable, window-total-size)
10298 (window-full-height-p, window-full-width-p, window-body-size)
10299 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10300 (minimize-window, window-deletable-p, delete-window)
10301 (delete-other-windows, set-window-buffer-start-and-point)
10302 (next-buffer, previous-buffer, split-window, balance-windows-2)
10303 (set-window-text-height, window-buffer-height)
10304 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10305 (truncated-partial-width-window-p): Minor code adjustments.
10306 In doc-strings state whether the argument window has to denote a
10307 live, valid or any window.
10308
10309 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10310
10311 * progmodes/subword.el (subword-forward-function)
10312 (subword-backward-function, subword-forward-regexp)
10313 (subword-backward-regexp): New variables.
10314 (subword-forward, subword-forward-internal, subword-backward-internal):
10315 Use new variables, eg so that different "word" definitions
10316 can be easily used. (Bug#11411)
10317
10318 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10319
10320 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10321 for composite selectors.
10322 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10323 operation just because we can't find a previous revision.
10324
10325 2012-08-15 Chong Yidong <cyd@gnu.org>
10326
10327 * frame.el (set-frame-font): Accept font objects.
10328
10329 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10330
10331 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10332
10333 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10334
10335 * man.el (Man-overstrike-face, Man-underline-face)
10336 (Man-reverse-face): Remove variables.
10337 (Man-overstrike, Man-underline, Man-reverse): New faces.
10338 (Man-fontify-manpage): Use them instead of the variables.
10339 (Man-cleanup-manpage): Comment change.
10340 (Man-ansi-color-map): New variable.
10341 (Man-fontify-manpage): Use it.
10342 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10343
10344 Implement ANSI SGR parameters 22-27 (bug#12146).
10345 * ansi-color.el (ansi-colors): Doc fix.
10346 (ansi-color-context, ansi-color-context-region): Doc fix.
10347 (ansi-color--find-face): New function.
10348 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10349 Rename the local variable `face' to `codes' since it is now a list of
10350 ansi codes. Doc fix.
10351 (ansi-color-get-face): Remove.
10352 (ansi-color-parse-sequence): New function, derived from
10353 ansi-color-get-face.
10354 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10355 codes 22-27.
10356
10357 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10358
10359 * subr.el (read-passwd): Allow use from a minibuffer.
10360
10361 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10362
10363 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10364 inside comments and strings as identifiers.
10365
10366 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10367 expression to evaluate. This allows to evaluate expressions with
10368 embedded whitespace.
10369 (gud-tooltip-tips): Add a blank before the newline in the
10370 message-box text, for the benefit of message-box emulation on
10371 MS-Windows.
10372
10373 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10374 messages from GDB, pop them up in a tooltip to give feedback to
10375 user.
10376 (gdb-tooltip-print-1): Quote the expression to evaluate.
10377 This allows to evaluate expressions with embedded whitespace.
10378 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10379 if the TTY name is nil or empty (which happens when communicating
10380 with the inferior via pipes, e.g. on MS-Windows).
10381 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10382 don't send that to the GUD buffer.
10383
10384 2012-08-14 Glenn Morris <rgm@gnu.org>
10385
10386 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10387 Optimize away setq-default with no args, as for setq. (Bug#12195)
10388
10389 2012-08-14 Chong Yidong <cyd@gnu.org>
10390
10391 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10392
10393 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10394 (Bug#12085).
10395
10396 2012-08-14 Glenn Morris <rgm@gnu.org>
10397
10398 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10399
10400 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10401
10402 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10403 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10404 Use cached shell name.
10405
10406 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10407
10408 * progmodes/python.el (python-shell-send-string):
10409 (python-shell-send-setup-code): Do not use `format' with `message'.
10410
10411 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10412
10413 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10414 (ruby-percent-literal-beg-re): New constant.
10415 (ruby-syntax-general-delimiters-goto-beg): Rename to
10416 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10417 (ruby-syntax-propertize-general-delimiters): Rename to
10418 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10419 popular term. Adjust comments everywhere.
10420 (ruby-syntax-propertize-percent-literal): Only propertize when not
10421 inside a simple string or comment. When the literal is unclosed,
10422 leave the text after it unpropertized.
10423 (ruby-syntax-methods-before-regexp): New constant.
10424 (ruby-syntax-propertize-function): Use it to recognize regexps.
10425 Don't look at the text after regexp, just use the whitelist.
10426
10427 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10428
10429 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10430 non-nil always load the compiled file if it exists. (Bug#12197)
10431
10432 2012-08-14 Chong Yidong <cyd@gnu.org>
10433
10434 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10435 (hi-lock-set-pattern): When deciding whether to use font lock or
10436 overlays, look at font-lock-mode instead of font-lock-fontified
10437 (Bug#12168).
10438 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10439 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10440
10441 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10442
10443 * subr.el (internal--after-with-selected-window): Fix typo
10444 (Bug#12193).
10445
10446 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10447
10448 Use `completion-table-dynamic' for completion functions.
10449 * progmodes/python.el
10450 (python-shell-completion--do-completion-at-point)
10451 (python-shell-completion--get-completions):
10452 Remove functions.
10453 (python-shell-completion-complete-at-point): New function.
10454 (python-completion-complete-at-point): Use it.
10455
10456 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10457
10458 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10459 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10460
10461 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10462
10463 * subr.el (function-get): Refine `autoload' arg so it can also
10464 autoload functions for gv.el (bug#12191).
10465 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10466 autoloads macros.
10467
10468 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10469 Prefer pcase-let over destructuring-bind.
10470 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10471 Also, remove whitespace as we go, rather than after accumulating the
10472 various places.
10473
10474 * subr.el (internal--before-with-selected-window)
10475 (internal--after-with-selected-window): Fix typo seleted->selected.
10476 (with-selected-window): Adjust callers.
10477 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10478
10479 2012-08-13 Bastien Guerry <bzg@gnu.org>
10480
10481 * window.el (special-display-popup-frame): Minor docstring
10482 enhancement. (Bug#12172)
10483
10484 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10485
10486 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10487 type 1-6.
10488 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10489 extended headers.
10490
10491 * files.el (hack-local-variables-filter): Remove useless eval.
10492
10493 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10494
10495 * subr.el (with-selected-window): Fix last change.
10496
10497 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10498
10499 * subr.el (internal--before-with-seleted-window)
10500 (internal--after-with-seleted-window): New functions.
10501 (with-selected-window): Use them, to replace dependency on
10502 tty-top-frame.
10503
10504 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10505
10506 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10507 binding for `newline'.
10508 (ruby-move-to-block): When moving backward, stop at block opening,
10509 not indentation.
10510 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10511 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10512 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10513 `ruby-toggle-block'.
10514
10515 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * ibuffer.el (ibuffer-do-toggle-read-only):
10518 * dired.el (dired-toggle-read-only):
10519 * buff-menu.el (Buffer-menu-toggle-read-only):
10520 * bindings.el (mode-line-toggle-read-only):
10521 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10522
10523 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10524
10525 * descr-text.el (describe-char): Put the overlays over the
10526 "displayed as" character.
10527
10528 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10529
10530 * calc/calc-units.el (math-default-units-table): Give an
10531 initial value.
10532 (math-put-default-units): Add options to put composite units and
10533 unit systems in the default units table.
10534 (calc-convert-units): Send composite units to
10535 `math-put-default-units' when appropriate.
10536
10537 2012-08-11 Glenn Morris <rgm@gnu.org>
10538
10539 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10540
10541 * tutorial.el (help-with-tutorial):
10542 * emacs-lisp/copyright.el (copyright-update-directory):
10543 * emacs-lisp/autoload.el (autoload-find-generated-file)
10544 (autoload-find-file): Disable local eval: (for insurance).
10545
10546 * files.el (hack-local-variables-filter): If an eval: form is not
10547 known to be safe, and enable-local-variables is :safe, then ignore
10548 the form totally, as is done for non-eval forms. (Bug#12155)
10549 This is CVE-2012-3479.
10550
10551 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10552
10553 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10554 (rx-form): Simplify.
10555
10556 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10557
10558 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10559 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10560 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10561 (ruby-syntax-propertize-function): Adjust for changes in
10562 `ruby-syntax-propertize-heredoc'.
10563
10564 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10565
10566 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10567 binding (use `M-;' instead).
10568 (ruby-singleton-class-p): New function.
10569 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10570
10571 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10574
10575 2012-08-10 Chong Yidong <cyd@gnu.org>
10576
10577 * progmodes/python.el (python-shell-get-process-name): Don't mess
10578 with same-window-buffer-names.
10579
10580 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10581 (eshell-remove-from-window-buffer-names): Make obsolete.
10582 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10583 (eshell): Just use pop-to-buffer-same-window instead.
10584
10585 2012-08-10 Chong Yidong <cyd@gnu.org>
10586
10587 * bindings.el: Bind M-= back to count-words-region.
10588
10589 * simple.el (count-words-region): Accept a prefix arg for acting
10590 on the entire buffer.
10591 (count-words--buffer-message): New helper function.
10592
10593 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10594
10595 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10596 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10597 (event-start, event-end): Use posn-at-point to return a more
10598 informative posn.
10599 (posnp): New function.
10600 * mouse.el (popup-menu-normalize-position): Use it.
10601
10602 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10603
10604 * mouse.el (popup-menu-normalize-position): New function.
10605 (popup-menu): Use `popup-menu-normalize-position' to normalize
10606 the form for POSITION argument.
10607
10608 * term/x-win.el (x-menu-bar-open):
10609 Use the value returend from (posn-at-point) as position
10610 passed to `popup-menu'.
10611
10612 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10613
10614 * calc/calccomp.el (math-compose-expr): Add extra argument
10615 indicating that parentheses should be put around products in
10616 denominators. Give multiplication precedence over division during
10617 composition.
10618
10619 2012-08-09 Chong Yidong <cyd@gnu.org>
10620
10621 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10622 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10623 (Man-untabify-command, manual-program): Convert to defcustom
10624 (Bug#10429).
10625
10626 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10627
10628 * descr-text.el (describe-char): Don't insert extra newlines
10629 (Bug#10127).
10630
10631 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10632 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10633
10634 * align.el (align-region): Delete temporary markers (Bug#10047).
10635 Plus some code cleanups.
10636
10637 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10638
10639 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10640 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10641 (python-shell-internal-last-output): Use make-local-variable
10642 instead of make-variable-buffer-local.
10643
10644 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10645
10646 * progmodes/python.el: Enhancements to forward-sexp.
10647 (python-nav-forward-sexp): Rename from
10648 python-nav-forward-sexp-function.
10649 (python-nav--forward-sexp, python-nav--backward-sexp):
10650 New functions.
10651
10652 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10653
10654 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10655 modes and simplification modes.
10656
10657 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10658
10659 * delsel.el (delete-selection-pre-hook): Don't propagate the
10660 file-supersession signals (bug#12161).
10661
10662 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10663
10664 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10665 (cl-map-extents): Add compatibility aliases (bug#12135).
10666
10667 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10668
10669 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10670 tests by `ignore-error'.
10671 (tramp-find-shell): Open also a new shell, when cache is already
10672 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10673
10674 2012-08-08 Juri Linkov <juri@jurta.org>
10675
10676 * bookmark.el: Add `defaults' property to the bookmark record.
10677 (bookmark-current-buffer): Doc fix.
10678 (bookmark-make-record): Add `defaults' property with default values
10679 to the bookmark record.
10680 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10681 with `bookmark-insert-current-bookmark'.
10682 (bookmark-set): Get `defaults' property from the bookmark record
10683 and use it in `read-from-minibuffer'.
10684 (bookmark-insert-current-bookmark): Remove function.
10685
10686 * info.el (Info-bookmark-make-record): Add `defaults' property
10687 with values of canonical Info node name, the current Info file
10688 name and the current Info node name. (Bug#12107)
10689
10690 2012-08-08 Juri Linkov <juri@jurta.org>
10691
10692 * files.el (basic-save-buffer): Use `buffer-name' as the default
10693 of `read-file-name' when buffer is not visiting a file (bug#12128).
10694
10695 2012-08-08 Juri Linkov <juri@jurta.org>
10696
10697 * info.el (Info-isearch-search): Doc fix.
10698 (Info-search): Change search-failed message from "initial node" to
10699 "end of node" (bug#12078).
10700 (Info-isearch-search): Change `isearch-string-state' to
10701 `isearch--state-string'.
10702
10703 2012-08-08 Glenn Morris <rgm@gnu.org>
10704
10705 * language/persian.el: Remove file.
10706 * language/misc-lang.el: Move unique part of persian.el here.
10707 * loadup.el: Remove language/persian.
10708
10709 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
10710
10711 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10712
10713 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
10714
10715 * progmodes/python.el: Fix defsubst warning.
10716 (python-syntax-context) Rename from python-info-ppss-context.
10717 (python-syntax-context-type): Rename from
10718 python-info-ppss-context-type.
10719 (python-syntax-comment-or-string-p): Rename from
10720 python-info-ppss-comment-or-string-p.
10721
10722 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10723
10724 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10725
10726 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10727
10728 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10729 a defcustom that is quoted with backquote.
10730
10731 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10732 Fix handling of interactive spec when the body uses return.
10733 (math-do-arg-check, math-define-function-body): Use backquote forms.
10734 * calc/calc-ext.el (math-defcache): Likewise.
10735 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10736 * allout.el (allout-new-exposure): Likewise.
10737 * calc/calcalg2.el (math-tracing-integral): Likewise.
10738 * info.el (Info-last-menu-item): Likewise.
10739 * emulation/vip.el (vip-loop): Likewise.
10740 * textmodes/artist.el (artist-funcall): Likewise.
10741 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10742 Construct menu-item directly.
10743
10744 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10745 Don't declare.
10746
10747 2012-08-07 Chong Yidong <cyd@gnu.org>
10748
10749 * simple.el (deactivate-mark): Preserve text properties when
10750 saving the primary selection (Bug#8384).
10751
10752 2012-08-07 Kevin Ryde <user42@zip.com.au>
10753
10754 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10755 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10756 and continue processing (Bug#12110).
10757
10758 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10759
10760 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10761 syntax-propertize-function (bug#10095).
10762
10763 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10764
10765 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10766 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10767 describe-function-1.
10768 (describe-function-1): Use them. Move compiler macro after sig.
10769 (help-fns--compiler-macro): Use function-get. Assume we're already in
10770 standard-output. Adjust layout to new call order.
10771
10772 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10773 re-binding a symbol that has a symbol-macro (bug#12119).
10774
10775 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10776
10777 * language/persian.el: New file. (Bug#11812)
10778 * loadup.el: Add language/persian.el.
10779
10780 2012-08-06 Chong Yidong <cyd@gnu.org>
10781
10782 * window.el (window--maybe-raise-frame): New function.
10783 (window--display-buffer): Split off from here.
10784 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10785 (display-buffer-pop-up-window, display-buffer-use-some-window):
10786 Obey an inhibit-switch-frame action alist entry.
10787 (display-buffer): Update doc.
10788
10789 * replace.el (occur-after-change-function): Avoid losing focus by
10790 using the inhibit-switch-frame display parameter (Bug#12139).
10791
10792 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
10793
10794 Make internal shell process buffer names start with space.
10795 * progmodes/python.el (python-shell-make-comint): Add optional
10796 argument INTERNAL.
10797 (run-python-internal): Use it.
10798 (python-shell-internal-get-or-create-process): Check for new
10799 internal buffer names.
10800
10801 2012-08-06 Glenn Morris <rgm@gnu.org>
10802
10803 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10804 Do less getting and setting of environment variables.
10805
10806 2012-08-05 Chong Yidong <cyd@gnu.org>
10807
10808 * proced.el (proced): Add substitution string to docstring to
10809 trigger autoloading of the proced library on C-h f (Bug#1768).
10810
10811 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10812 Don't show defvars which have no second argument (Bug#8638).
10813
10814 * imenu.el (imenu-generic-expression): Move documentation here
10815 from imenu--generic-function.
10816 (imenu--generic-function): Refer to imenu-generic-expression.
10817
10818 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
10819
10820 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10821 indentation declaration.
10822 (viper-loop): Add indentation declaration (Bug#7025).
10823
10824 2012-08-05 Chong Yidong <cyd@gnu.org>
10825
10826 * help-fns.el (describe-variable): Add hyperlink for
10827 directory-local variables files. Improve buffer-local and
10828 permanent-local reporting; suggested by MON KEY (Bug#6644).
10829
10830 * help-mode.el (help-dir-local-var-def): New button type.
10831
10832 * files.el (kill-buffer-hook): Provide a defvar.
10833
10834 2012-08-05 Glenn Morris <rgm@gnu.org>
10835
10836 * eshell/esh-ext.el (eshell/addpath):
10837 Also update eshell-path-env. (Bug#12013)
10838
10839 2012-08-05 Chong Yidong <cyd@gnu.org>
10840
10841 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10842
10843 * fringe.el (fringe-styles): Add docstring.
10844 (fringe--check-mode): New function.
10845 (set-fringe-mode, set-fringe-style): Use it.
10846 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10847
10848 * files.el (set-auto-mode): Fix invalid setq call.
10849
10850 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10851
10852 * isearch.el: Misc simplification; use defstruct.
10853 (isearch-mode-map): Dense maps now work like sparse ones.
10854 (isearch--state): New defstruct.
10855 (isearch-string-state, isearch-message-state, isearch-point-state)
10856 (isearch-success-state, isearch-forward-state)
10857 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10858 (isearch-wrapped-state, isearch-barrier-state)
10859 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10860 replaced by defstruct's accessors.
10861 (isearch--set-state): Rename from isearch-top-state and change
10862 calling convention.
10863 (isearch-push-state): Use new isearch--get-state.
10864 (isearch-toggle-word): Disable regexp when enabling word.
10865 (isearch-message-prefix): Remove unused arg _c-q-hack.
10866 (isearch-message-suffix): Remove unused arg _ellipsis.
10867
10868 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10869
10870 * simple.el (list-processes--refresh): For a server use :host or
10871 :local as the address.
10872 (list-processes): Doc fix.
10873
10874 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10875
10876 * lisp/mpc.el: Support password in host argument.
10877 (mpc--proc-connect): Parse and use new password element.
10878 Set mpc-proc variable instead of returning process.
10879 (mpc-proc): Adjust accordingly.
10880
10881 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10882
10883 * whitespace.el (whitespace-display-mappings): Use Unicode
10884 codepoints, instead of emacs-mule codepoints. See
10885 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10886 for the details.
10887
10888 * files.el (file-truename): Don't skip symlink-chasing part on
10889 windows-nt. Incorporate the resolution of 8+3 short aliases on
10890 Windows into the loop that recursively chases symlinks.
10891 Compare directory and its parent case-insensitively on MS-Windows and
10892 MS-DOS.
10893
10894 2012-08-03 Chong Yidong <cyd@gnu.org>
10895
10896 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10897
10898 * sort.el (sort-regexp-fields): Doc fix.
10899
10900 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10901
10902 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10903 labels regex position point at the expected place.
10904
10905 2012-08-03 MON KEY <monkey@sandpframing.com>
10906
10907 * net/imap.el (imap-interactive-login, imap-authenticate)
10908 (imap-mailbox-lsub, imap-mailbox-list)
10909 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10910 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10911 (imap-parse-response): Doc fix.
10912
10913 2012-08-03 João Távora <joaotavora@gmail.com>
10914
10915 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10916 if sexp scanning does not move point (Bug#5734).
10917
10918 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10919
10920 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10921 Add listings, minted, and ctable packages.
10922 (reftex-label-alist-builtin): Move listings, minted, and ctable
10923 entries before LaTeX.
10924 (reftex-label-alist): Docfix.
10925
10926 2012-08-02 Bastien Guerry <bzg@gnu.org>
10927
10928 * replace.el (occur): Fix docstring (bug#12122).
10929
10930 2012-08-02 Glenn Morris <rgm@gnu.org>
10931
10932 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10933
10934 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10935
10936 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10937 * international/mule-cmds.el: Create
10938 inactivate-current-input-method-function as an obsolete alias for
10939 deactivate-current-input-method-function. See Katsumi Yamaoka in
10940 <http://bugs.gnu.org/10150#46>.
10941
10942 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10943
10944 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10945 of nested `if's.
10946
10947 2012-08-01 Glenn Morris <rgm@gnu.org>
10948
10949 * progmodes/autoconf.el (autoconf-definition-regexp):
10950 Add AH_TEMPLATE, adjust submatch numbering.
10951 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10952 (autoconf-current-defun-function): Update for above change.
10953 (autoconf-current-defun-function): First skip to end of current word.
10954
10955 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10956
10957 * calendar/cal-html.el (cal-html-insert-agenda-days):
10958 Fix typo. (Bug#12018)
10959
10960 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10961
10962 Shell processes: enhancements to startup and CEDET compatibility.
10963 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10964 (python-shell-make-comint): accept-process-output at startup.
10965 (run-python-internal): Set inferior-python-mode-hook to nil.
10966 (python-shell-internal-get-or-create-process): call sit-for.
10967 (python-preoutput-result): Add obsolete alias.
10968 (python-shell-internal-send-string): Use it.
10969 (python-shell-send-setup-code): Remove call to
10970 accept-process-output.
10971
10972 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10973
10974 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10975 (Bug#12108)
10976
10977 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10978
10979 * calc-mode.el (calc-basic-simplification-mode): Rename from
10980 `calc-limited-simplification-mode'.
10981 (calc-alg-simplification-mode): New function.
10982 (calc-set-simplify-mode): Adjust message.
10983
10984 * calc.el (calc-set-mode-line): Adjust mode line display for
10985 basic simplification mode.
10986
10987 * calc-help.el (calc-m-prefix-help): Update help message.
10988
10989 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10990 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10991
10992 2012-07-31 Bastien Guerry <bzg@gnu.org>
10993
10994 * man.el (man): Fix comment. (bug#12101)
10995
10996 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10997
10998 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10999 Don't return a non-nil value when no suitable buffer was found.
11000
11001 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11002
11003 * progmodes/python.el (run-python-internal): Disable font lock for
11004 internal shells.
11005
11006 2012-07-30 Stefan Merten <smerten@oekonux.de>
11007
11008 * textmodes/rst.el: Silence `checkdoc-ispell'.
11009 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11010 (rst-official-version, rst-official-cvs-rev)
11011 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11012 (rst-mode-map): New key binding.
11013
11014 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11015
11016 Update .PHONY listings in makefiles.
11017 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11018 autoloads, update-subdirs, updates, bzr-update, update-authors,
11019 compile-onefile, compile-calc, backup-compiled-files,
11020 compile-after-backup, compile-one-process, mh-autoloads,
11021 bootstrap-clean, distclean, maintainer-clean.
11022
11023 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11024
11025 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11026 (calc-set-mode-line): Don't display "AlgSimp ".
11027
11028 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11029 (calc-lim-simplify-mode): New function.
11030 (calc-set-simplify-mode): Default to 'alg.
11031 (calc-default-simplify-mode): Make algebraic simplifications
11032 the default.
11033
11034 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11035 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11036
11037 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11038 indicate new simplification modes.
11039
11040 * calc/README: Mention new default simplification mode.
11041
11042 * calc/calc.el (math-normalize-error): New variable.
11043 (math-normalize): Set `math-normalize-error' to t
11044 when there's an error.
11045
11046 * calc/calc-alg.el (math-simplify): Don't simplify when
11047 `math-normalize' returns an error.
11048
11049 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11050
11051 * international/mule-cmds.el (set-locale-environment): Revert last
11052 change, since display-graphic-p returns nil when this function is
11053 called during startup. Instead...
11054
11055 * term/w32console.el (terminal-init-w32console): ...setup the
11056 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11057
11058 2012-07-29 Juri Linkov <juri@jurta.org>
11059
11060 * simple.el (goto-line): Don't display default line number in the
11061 prompt because it should be displayed by `read-number' (bug#9952).
11062 Add the current line number to the defaults of `goto-line' to
11063 allow its easier modification by users with `M-n' (bug#9201).
11064
11065 * subr.el (read-number): Support multiple default values like in
11066 other minibuffer reading functions. Replace `read' with
11067 `string-to-number' for consistency with `number-to-string'.
11068
11069 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11070
11071 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11072 * emulation/viper-init.el (viper-deactivate-input-method-action):
11073 Rename from viper-inactivate-input-method-action.
11074 (viper-deactivate-input-method):
11075 Rename from viper-inactivate-input-method.
11076 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11077 * international/mule-cmds.el (deactivate-input-method):
11078 Rename from inactivate-input-method.
11079 Also run input-method-deactivate-hook.
11080 (deactivate-current-input-method-function):
11081 Rename from inactivate-current-input-method-function.
11082 (input-method-deactivate-hook): New hook.
11083 (input-method-inactivate-hook): Mark obsolete.
11084 (inactivate-input-method): Mark obsolete.
11085
11086 * international/quail.el (quail-activate):
11087 Also run quail-deactivate-hook.
11088 (quail-deactivate): Rename from quail-inactivate.
11089 * international/robin.el (robin-activate):
11090 Also run robin-deactivate-hook.
11091 (robin-deactivate): Rename from robin-inactivate.
11092
11093 2012-07-29 Chong Yidong <cyd@gnu.org>
11094
11095 * simple.el (indicate-copied-region): New function.
11096 (kill-ring-save): Split off from here.
11097
11098 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11099 (kill-rectangle): Set deactivate-mark to t on read-only error.
11100
11101 * register.el (copy-to-register, copy-rectangle-to-register):
11102 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11103 (append-to-register, prepend-to-register): Call indicate-copied-region.
11104
11105 2012-07-29 Juri Linkov <juri@jurta.org>
11106
11107 * simple.el (async-shell-command-buffer): New defcustom.
11108 (shell-command): Use it. (Bug#4719)
11109
11110 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11111
11112 * international/mule-cmds.el (set-locale-environment): In a
11113 console session on MS-Windows, set up keyboard and terminal
11114 encoding from the OEM codepage, not the ANSI codepage.
11115 (Bug#12055)
11116
11117 2012-07-28 Chong Yidong <cyd@gnu.org>
11118
11119 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11120 gdb-get-location.
11121
11122 2012-07-28 Leo Liu <sdl.web@gmail.com>
11123
11124 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11125 the alist (bug#12029).
11126
11127 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11128
11129 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11130 (compile-always, compile-first)
11131 ($(lisp)/calendar/cal-loaddefs.el)
11132 ($(lisp)/calendar/diary-loaddefs.el)
11133 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11134 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11135 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11136 instead of on update-subdirs.
11137 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11138
11139 2012-07-28 Chong Yidong <cyd@gnu.org>
11140
11141 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11142 directory if vc-deduce-backend returns nil (Bug#7350).
11143
11144 * simple.el (delete-trailing-lines): New option.
11145 (delete-trailing-whitespace): Obey it (Bug#11879).
11146
11147 2012-07-28 David Engster <deng@randomsample.de>
11148
11149 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11150 Explanation of new 'symbol-qnames feature in doc-strings.
11151 (xml-maybe-do-ns): Return expanded names as plain symbols if
11152 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11153 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11154
11155 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11156
11157 Consistent completion in inferior python with emacs -nw.
11158 * progmodes/python.el (inferior-python-mode): replace "<tab>"
11159 binding in inferior-python-mode-map with "\t".
11160 (python-shell-completion-complete-at-point)
11161 (python-completion-complete-at-point): Remove interactive spec.
11162
11163 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11164
11165 * calc/calccomp.el (math-compose-expr): Undo previous change.
11166
11167 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11168
11169 * progmodes/python.el (python-mode-map): Add keybinding for
11170 run-python.
11171 (python-shell-make-comint): Fix pop-to-buffer call.
11172 (run-python): Autoload. New arg SHOW.
11173 (python-shell-get-or-create-process): Do not pop python process
11174 buffer.
11175
11176 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11177
11178 * notifications.el (notifications-on-action-signal)
11179 (notifications-on-closed-signal): Use also the bus address for the map.
11180 (notifications-notify, notifications-close-notification)
11181 (notifications-get-capabilities): Add optional argument BUS.
11182
11183 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11184
11185 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11186 Add support for the lstlisting and minted environments, and for the
11187 ctable macro.
11188 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11189 labels written in keyvals syntax.
11190
11191 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11192
11193 * calc/calccomp.el (math-compose-expr): Use parentheses when
11194 there is a product in the denominator of a fraction.
11195
11196 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11197
11198 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11199 ($(lisp)/calendar/diary-loaddefs.el)
11200 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11201 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11202 Fixes failures in parallel bootstrap because subdirs.el is being
11203 rewritten while the autoload files are built at the same time,
11204 which needs to load subdirs.el.
11205
11206 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11207
11208 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11209 (mouse-drag-line): Don't exit tracking when a switch-frame or
11210 switch-window event occurs (Bug#12006).
11211
11212 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11213
11214 * mouse.el (popup-menu): Fix last change.
11215
11216 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 Autoload from Lisp with more care. Follow aliases when looking for
11219 function properties.
11220 * subr.el (autoloadp): New function.
11221 (symbol-file): Use it.
11222 (function-get): New function.
11223 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11224 autoload-do-load.
11225 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11226 (lisp-indent-function):
11227 * emacs-lisp/gv.el (gv-get):
11228 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11229 * emacs-lisp/byte-opt.el (byte-optimize-form):
11230 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11231 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11232 Use function-get.
11233 * emacs-lisp/cl.el: Don't propagate function properties any more.
11234
11235 * speedbar.el (speedbar-add-localized-speedbar-support):
11236 * emacs-lisp/disass.el (disassemble-internal):
11237 * desktop.el (desktop-load-file):
11238 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11239 (describe-function-1):
11240 * emacs-lisp/find-func.el (find-function-noselect):
11241 * emacs-lisp/elp.el (elp-instrument-function):
11242 * emacs-lisp/advice.el (ad-has-proper-definition):
11243 * apropos.el (apropos-safe-documentation, apropos-macrop):
11244 * emacs-lisp/debug.el (debug-on-entry):
11245 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11246 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11247 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11248
11249 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11250
11251 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11252 function, not an obsolete variable (Bug#12046).
11253
11254 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11255
11256 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11257
11258 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11259
11260 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11261 window only if it is still live (Bug#12034).
11262
11263 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11264
11265 * subr.el (redirect-frame-focus): Add advertised calling
11266 convention (Bug#12030).
11267
11268 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11269
11270 Prefer typical American spelling for "acknowledgment".
11271 * vc/add-log.el (change-log-acknowledgment): Rename from
11272 change-log-acknowledgement, with an alias for the old name.
11273
11274 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11275
11276 * calc-alg.el (math-simplify-divide): Don't cross multiply
11277 in an equation when the lhs is a variable.
11278
11279 2012-07-24 Julien Danjou <julien@danjou.info>
11280
11281 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11282 Remove, unused.
11283
11284 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11285
11286 * startup.el (command-line): Don't display an empty user name in
11287 the error message about non-existent home directory, when
11288 init-file-user was set to an empty string. See
11289 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11290 for the details and context.
11291
11292 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
11293
11294 * ses.el (ses-cell-formula-aset): New macro.
11295 (ses-cell-references-aset): New macro.
11296 (ses-cell-p): New function.
11297 (ses-rename-cell): Do no longer rely on complex operations like
11298 ses-cell-set-formula or ses-set-cell to change the cell and handle
11299 the undo at the same time, but rather use lower level new macros
11300 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11301 the undo directly. Refresh the mode line.
11302
11303 2012-07-21 Leo Liu <sdl.web@gmail.com>
11304
11305 * progmodes/cc-cmds.el (c-defun-name):
11306 Use match-string-no-properties instead for consistency.
11307
11308 2012-07-20 Leo Liu <sdl.web@gmail.com>
11309
11310 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11311 (Bug#7879)
11312
11313 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11314
11315 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11316
11317 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11318 * progmodes/bug-reference.el, misearch.el: Provide themselves
11319 (bug#11915).
11320
11321 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11322 of narrowed buffer (bug#11966).
11323
11324 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
11325
11326 * ses.el (ses-rename-cell): Set new name also in reference list of
11327 cells of which the renamed cell depends.
11328
11329 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11330
11331 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11332 to check whether menu-bar is shown or not. If not shown,
11333 show the menu-bar as a popup menu instead of using tmm.
11334 * mouse.el (popup-menu): Accept `point' as `position' argument.
11335
11336 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11337
11338 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11339 up inside string symbol literal (bug#11923).
11340
11341 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11342
11343 * startup.el (fancy-startup-text): Read the whole tutorial, not
11344 just its first 256 bytes. Prevents gibberish in display of the
11345 tutorial title.
11346
11347 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11348
11349 Drop idle buffer compaction due to an absence of the
11350 proved efficiency.
11351 * compact.el: Remove.
11352
11353 2012-07-19 Sam Steingold <sds@gnu.org>
11354
11355 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11356 vc-bzr-pull & vc-bzr-merge-branch.
11357 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11358 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11359 for consistency with compilation-error-regexp-alist.
11360 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11361 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11362 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11363 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11364
11365 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11366
11367 * emacs-lisp/chart.el: Use lexical-binding.
11368 (chart-emacs-storage): Don't hardcode the list of entries.
11369
11370 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11371
11372 Next round of tweaks caused by Fgarbage_collect changes.
11373 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11374
11375 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11376
11377 Compact buffers when idle.
11378 * compact.el: New file.
11379
11380 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11381
11382 * subr.el (eventp): Presume that if it looks vaguely like an event,
11383 it's an event (bug#10190).
11384
11385 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
11386
11387 Enhancements to ppss related code (thanks Stefan).
11388 * progmodes/python.el (python-indent-context)
11389 (python-indent-calculate-indentation, python-indent-dedent-line)
11390 (python-indent-electric-colon, python-nav-forward-block)
11391 (python-mode-abbrev-table)
11392 (python-info-assignment-continuation-line-p): Simplify checks
11393 for ppss context.
11394 (python-info-continuation-line-p): Cleanup.
11395 (python-info-ppss-context): Do not catch 'quote.
11396 (python-info-ppss-context-type)
11397 (python-info-ppss-comment-or-string-p): Simplify.
11398
11399 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
11400
11401 * progmodes/python.el: Enhancements to eldoc support.
11402 (python-info-current-symbol): New function.
11403 (python-eldoc-at-point): Use python-info-current-symbol.
11404 (python-info-current-defun): Fix cornercase on first defun scan.
11405 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11406 and signal error when no inferior python process is available.
11407
11408 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11409
11410 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11411 assume it's always t.
11412 (vc-git-registered): Remove caching, the function is only called
11413 once.
11414 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11415
11416 2012-07-18 Chong Yidong <cyd@gnu.org>
11417
11418 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11419
11420 * simple.el (count-words): Report on narrowing (Bug#9959).
11421
11422 * bindings.el: Bind M-= to count-words.
11423
11424 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11425
11426 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11427
11428 * progmodes/sh-script.el (sh-imenu-generic-expression):
11429 Capture a function with `function' keyword and without parentheses
11430 like "function FOO" (bug#11856).
11431
11432 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11433
11434 * window.el (split-window-sensibly): Make WINDOW argument
11435 optional.
11436
11437 2012-07-18 Chong Yidong <cyd@gnu.org>
11438
11439 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11440
11441 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11442 and make C-x 8 RET exit isearch (Bug#11439).
11443
11444 * international/iso-transl.el: Move isearch-mode-map key
11445 definitions to isearch.el.
11446
11447 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11448
11449 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11450 (eieio-defclass): Use gv-define-setter when possible.
11451
11452 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11453
11454 Reflect recent changes in Fgarbage_collect.
11455 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11456 reflect new format of data returned by Fgarbage_collect.
11457
11458 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11459
11460 New utility functions + python-info-ppss-context fix (Bug#11910).
11461 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11462 (python-info-ppss-comment-or-string-p): New functions.
11463 (python-info-ppss-context): Small fix for string check.
11464
11465 2012-07-17 Juri Linkov <juri@jurta.org>
11466
11467 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11468 (dired-do-async-shell-command): Don't add `*' at the end of the
11469 command (Bug#11815).
11470 (dired-do-shell-command): Doc fix.
11471 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11472 Join the individual commands using either "&" or ";" as the
11473 separator depending on the values of these trailing characters.
11474 At the end re-add the trailing "&". (Bug#10598)
11475
11476 * simple.el (async-shell-command): Sync the interactive spec with
11477 `shell-command'. Doc fix.
11478 (shell-command): Doc fix.
11479
11480 2012-07-17 Juri Linkov <juri@jurta.org>
11481
11482 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11483
11484 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11485
11486 Final renames and doc fixes for movement commands (bug#11899).
11487 * progmodes/python.el (python-nav-beginning-of-statement):
11488 Rename from python-nav-statement-start.
11489 (python-nav-end-of-statement): Rename from
11490 python-nav-statement-end.
11491 (python-nav-beginning-of-block): Rename from
11492 python-nav-block-start.
11493 (python-nav-end-of-block): Rename from python-nav-block-end.
11494
11495 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11496
11497 * progmodes/python.el (python-shell-send-string-no-output):
11498 Allow accept-process-output to quit, keeping shell process ready for
11499 future interactions (Bug#11868).
11500
11501 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11502
11503 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11504
11505 * emacs-lisp/elint.el (elint-find-args-in-code):
11506 Use help-function-arglist, so as to handle lexical byte-code.
11507
11508 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11509 change (bug#11826).
11510
11511 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11512
11513 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11514 Avoid spuriously marking the buffer as modified because of c-is-sws.
11515
11516 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11517 as not-a-comment (bug#11946).
11518
11519 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11520 for uninterned vars.
11521
11522 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11523 Use read-event since we don't really want to read chars but bytes.
11524
11525 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11526 $$..$$ but also $..$ using regexps (bug#11953).
11527 Use tex-verbatim for \url and \path.
11528 (tex-font-lock-keywords): Define as defconst like the others.
11529 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11530
11531 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11532
11533 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11534 alias for insert-char.
11535
11536 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11537
11538 * progmodes/python.el: Simplified imenu implementation.
11539 (python-nav-jump-to-defun): Remove command.
11540 (python-mode-map): Use `imenu' instead.
11541 (python-nav-list-defun-positions-cache)
11542 (python-imenu-include-defun-type, python-imenu-make-tree)
11543 (python-imenu-subtree-root-label, python-imenu-index-alist):
11544 Remove vars.
11545 (python-nav-list-defun-positions, python-nav-read-defun)
11546 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11547 (python-imenu-make-tree, python-imenu-create-index):
11548 Remove functions.
11549 (python-mode): Update to interact with imenu by setting
11550 `imenu-extract-index-name-function' only.
11551
11552 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11553
11554 * progmodes/python.el: Enhancements to navigation commands.
11555 (python-nav-backward-sentence)
11556 (python-nav-forward-sentence): Remove.
11557 (python-nav-backward-statement, python-nav-forward-statement)
11558 (python-nav-statement-start, python-nav-statement-end)
11559 (python-nav-backward-block, python-nav-forward-block)
11560 (python-nav-block-start, python-nav-block-end)
11561 (python-nav-forward-sexp-function)
11562 (python-info-current-line-comment-p)
11563 (python-info-current-line-empty-p): New functions.
11564 (python-indent-context): Use `python-nav-statement-start'.
11565
11566 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11567
11568 * eshell/em-ls.el (eshell/ls): Use `apply'.
11569
11570 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11571 multi-hops, instead of Tramp internals.
11572
11573 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11574
11575 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11576 when F1 and F2 are located on different hosts.
11577
11578 2012-07-14 Chong Yidong <cyd@gnu.org>
11579
11580 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11581 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11582 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11583 (xterm-mouse--read-event-sequence-1000)
11584 (xterm-mouse--read-event-sequence-1006): New functions. For old
11585 mouse protocol, handle M-mouse-X events correctly.
11586 (xterm-mouse-event): New arg specifying mouse protocol.
11587 (turn-on-xterm-mouse-tracking-on-terminal)
11588 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11589 sequence to toggle extended coordinates on newer XTerms.
11590 This appears to be harmless on terminals which do not support this.
11591
11592 2012-07-14 Leo Liu <sdl.web@gmail.com>
11593
11594 Add fringe bitmap indicators for flymake. (Bug#11253)
11595 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11596 (flymake-make-overlay): New arg BITMAP.
11597 (flymake-error-bitmap, flymake-warning-bitmap)
11598 (flymake-fringe-indicator-position): New user variables.
11599
11600 * fringe.el: New bitmap exclamation-mark.
11601
11602 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11603
11604 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11605 also (Bug#7879).
11606
11607 2012-07-14 Chong Yidong <cyd@gnu.org>
11608
11609 * electric.el (electric-pair-post-self-insert-function): Fix pair
11610 insertion in empty-region case (Bug#11520).
11611
11612 2012-07-14 Chong Yidong <cyd@gnu.org>
11613
11614 * bindings.el: Consolidate ctl-x-r-map bindings.
11615 Bind copy-rectangle-as-kill to C-x r w.
11616
11617 * rect.el, register.el: Move bindings to bindings.el.
11618
11619 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11620
11621 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11622
11623 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11624
11625 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11626
11627 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11628
11629 * bindings.el (top): Use `mapc' instead of `mapcar'.
11630
11631 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11632
11633 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11634
11635 * progmodes/sql.el (sql-comint): Suppress the check for program on
11636 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11637 (Bug#11908)
11638
11639 2012-07-13 Chong Yidong <cyd@gnu.org>
11640
11641 * bindings.el: Assign a non-nil permanent-local property to
11642 per-buffer variables which lack a default value (Bug#11930).
11643
11644 * help-fns.el (describe-variable): In the "automatically becomes
11645 local" notice, take note of permanent-local variables.
11646
11647 2012-07-13 Chong Yidong <cyd@gnu.org>
11648
11649 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11650 to allow printing the message when called from Lisp.
11651
11652 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11653 Remove toggle-read-only.
11654
11655 * bs.el (bs-toggle-readonly):
11656 * buff-menu.el (Buffer-menu-toggle-read-only):
11657 Remove with-no-warnings around toggle-read-only.
11658
11659 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11660 Remove with-no-warnings around toggle-read-only.
11661 (ffap-read-only, ffap-read-only-other-window)
11662 (ffap-read-only-other-frame): Callers changed.
11663
11664 * help-mode.el: Don't require view package.
11665 (help-mode-finish): Set buffer-read-only instead of calling
11666 toggle-read-only.
11667
11668 * bindings.el (mode-line-toggle-read-only):
11669 * dired.el (dired-toggle-read-only):
11670 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11671 with non-nil second arg.
11672
11673 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11674 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11675 directly.
11676
11677 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11678
11679 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11680 not incf.
11681
11682 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 More CL cleanups and reduction of use of cl.el.
11685 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11686 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11687 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11688 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11689 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11690 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11691 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11692 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11693 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11694 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11695 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11696 * eshell/em-cmpl.el, eshell/em-banner.el:
11697 * calendar/parse-time.el: Use cl-lib.
11698 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11699 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11700 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11701 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11702 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11703 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11704 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11705 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11706 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11707 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11708 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11709 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11710 `lambda' rather than with `quote'.
11711 (eshell-do-opt): Adjust accordingly.
11712 (eshell-process-option): Simplify.
11713 * eshell/esh-var.el:
11714 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11715 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11716 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11717 to `pcase--dontcare'.
11718 * emacs-lisp/cl.el (labels): Mark obsolete.
11719 (cl--letf, letf): Move to cl-lib.
11720 (cl--letf*, letf*): Remove.
11721 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11722 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11723 (cl-progv): Rewrite.
11724 (cl--letf, cl-letf): Move from cl.el.
11725 (cl-letf*): New macro.
11726 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11727
11728 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11729
11730 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11731
11732 2012-07-11 Chong Yidong <cyd@gnu.org>
11733
11734 * vc/log-edit.el (log-edit-vc-backend): New variable.
11735 (log-edit): Doc fix.
11736
11737 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11738 argument of log-edit to set up all local variables.
11739 (vc-start-logentry): New optional arg specifying VC backend.
11740
11741 * vc/vc.el (vc-checkin): Use it.
11742 (vc-deduce-fileset): Handle Log Edit buffers.
11743 (vc-diff): Make first argument optional too.
11744
11745 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11746
11747 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11748
11749 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11750 command, just in case. The function is not needed anymore.
11751 (eshell-external-command): Do not call `eshell-remote-command'.
11752
11753 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 Reduce use of (require 'cl).
11756 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11757 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11758 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11759 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11760 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11761 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11762 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11763 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11764 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11765 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11766 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11767 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11768 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11769 (byte-compile-unfold-bcf, byte-compile-check-variable):
11770 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11771 (byte-compile-nilconstp):
11772 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11773 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11774
11775 * emacs-lisp/gv.el (cond): Make it a valid place.
11776 (if): Simplify slightly.
11777
11778 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11779 (pcase--self-quoting-p): New function.
11780 (pcase--u1): Use it.
11781
11782 2012-07-10 Glenn Morris <rgm@gnu.org>
11783
11784 * emacs-lisp/authors.el (authors-fixed-entries):
11785 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11786
11787 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11788
11789 Rename configure.in to configure.ac (Bug#11603).
11790 * emacs-lisp/authors.el (authors-canonical-file-name):
11791 * progmodes/autoconf.el (autoconf-mode):
11792 Prefer configure.ac to configure.in.
11793
11794 2012-07-08 Chong Yidong <cyd@gnu.org>
11795
11796 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11797 Implement the mouse-1-click-follows-link handling properly.
11798
11799 * info.el (Info-link-keymap): Use follow-link mechanism for
11800 header-line links (Bug#374).
11801
11802 * simple.el (deactivate-mark): Do not set the primary selection
11803 if another program has acquired it (Bug#11772).
11804
11805 2012-07-07 Kevin Ryde <user42@zip.com.au>
11806
11807 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11808 (woman-decode-region): Replace escaped-escapes without destroying
11809 bold or underline (Bug#11552).
11810 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11811
11812 2012-07-07 Chong Yidong <cyd@gnu.org>
11813
11814 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11815 (interprogram-cut-function, interprogram-paste-function):
11816 Mention that we typically mean the clipboard.
11817
11818 2012-07-06 Glenn Morris <rgm@gnu.org>
11819
11820 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11821
11822 * files.el (toggle-read-only): Restrict message to interactive use.
11823
11824 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11825
11826 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11827
11828 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11829
11830 2012-07-06 Glenn Morris <rgm@gnu.org>
11831
11832 * Makefile.in (compile-one-process): Rename from "recompile".
11833
11834 * Makefile.in (bzr-update): "compile" is the same as "recompile
11835 autoloads", but parallelizable, so use that instead.
11836
11837 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11838
11839 * window.el (quit-window): Always restore window height when
11840 it's saved in quit-restore parameter (Bug#11810).
11841
11842 2012-07-06 Glenn Morris <rgm@gnu.org>
11843
11844 * simple.el (kill-whole-line): Doc tweak.
11845
11846 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11847
11848 * files.el (file-relative-name): Compare file names
11849 case-insensitively if on MS-Windows or MS-DOS, or if
11850 read-file-name-completion-ignore-case is non-nil. Don't use
11851 case-fold-search for this purpose. (Bug#11827)
11852
11853 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11854
11855 * calendar/cal-dst.el (calendar-current-time-zone):
11856 Return calendar-current-time-zone-cache if non-nil.
11857
11858 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11859 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11860
11861 * calendar/cal-dst.el (calendar-current-time-zone):
11862 Return calendar-current-time-zone-cache if non-nil.
11863
11864 2012-07-06 Glenn Morris <rgm@gnu.org>
11865
11866 * Makefile.in (cvs-update): Remove old alias.
11867
11868 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11869
11870 Sync with Tramp 2.2.6-pre.
11871
11872 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11873 compatible declaration.
11874
11875 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11876 Protect `list-load-path-shadows' call.
11877
11878 * net/tramp-compat.el (top): Require packages, which aren't
11879 autoloaded anymore for XEmacs. Protect call of
11880 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11881 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11882 it hurts at least for SXEmacs.
11883 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11884 standard-value for `temporary-file-directory'.
11885
11886 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11887 Redirect stderr to /dev/null.
11888 (tramp-sh-handle-write-region): uid and gid can be floats.
11889 Reported by Russell Sim <russell.sim@gmail.com>.
11890 (tramp-sh-handle-vc-registered): Hide errors.
11891 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11892 and `start-file-process'.
11893 (tramp-maybe-open-connection): Check also whether `non-essential'
11894 is bound.
11895
11896 2012-07-04 Chong Yidong <cyd@gnu.org>
11897
11898 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11899 (xml-parse-tag): Likewise, and avoid changing entity tables.
11900 (xml-syntax-table): Define from scratch, making sure not to give
11901 x2000 and other Unicode spaces whitespace syntax, since those are
11902 not spaces in XML.
11903 (xml-parse-fragment): Delete unused function.
11904 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11905 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11906 (xml-entity-ref, xml-pe-reference-re)
11907 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11908 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11909 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11910 (xml-entity-value-re): Use syntax references in regexps where
11911 possible; no need to define inside a let-binding.
11912 (xml-parse-dtd): Use xml-pe-reference-re.
11913 (xml-entity-or-char-ref-re): New defconst.
11914 (xml-parse-string, xml-substitute-special): Use it.
11915
11916 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11917
11918 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11919 (find-file--read-only): New function.
11920 (find-file-read-only, find-file-read-only-other-window)
11921 (find-file-read-only-other-frame): Use it.
11922 (insert-file-contents-literally): Don't `fset'.
11923 (get-free-disk-space): Use locate-dominating-file.
11924
11925 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11926 function is already compiled.
11927
11928 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11929
11930 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11931
11932 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11933 files on the same host.
11934
11935 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11936
11937 * help-fns.el (describe-function-1): Only call
11938 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11939
11940 2012-07-03 Chong Yidong <cyd@gnu.org>
11941
11942 * xml.el: Protect parser against XML bombs.
11943 (xml-entity-expansion-limit): New variable.
11944 (xml-parse-string, xml-substitute-special): Use it.
11945 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11946
11947 2012-07-03 Glenn Morris <rgm@gnu.org>
11948
11949 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11950 Allow linking to specific messages in debbugs reports (eg 123#5).
11951
11952 2012-07-02 Chong Yidong <cyd@gnu.org>
11953
11954 * xml.el: Fix entity and character reference expansion, allowing
11955 them to expand into markup as per XML spec.
11956 (xml-default-ns): New variable.
11957 (xml-entity-alist): Use XML spec definitions for lt and amp.
11958 (xml-parse-region): Make first two arguments optional.
11959 Discard text properties.
11960 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11961 All callers changed.
11962 (xml-parse-tag): Call xml-parse-tag-1. For backward
11963 compatibility, this function should not modify buffer contents.
11964 (xml-parse-tag-1): Fix opening-tag regexp.
11965 (xml-parse-string): Rewrite, handling entity and character
11966 references properly.
11967 (xml--entity-replacement-text): Signal an error if a parameter
11968 entity is undefined.
11969
11970 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11971
11972 * comint.el (comint-output-filter): Filter out repeated prompts.
11973
11974 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11975 and file-name-absolute-p.
11976 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11977 internal calls.
11978
11979 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11980
11981 Spelling fixes.
11982 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11983 Rename from byte-compile--refiy-function. All uses changed.
11984
11985 2012-07-01 Chong Yidong <cyd@gnu.org>
11986
11987 * xml.el (xml--parse-buffer): New function. Move most of
11988 xml-parse-region here.
11989 (xml-parse-region): Copy region into a temporary buffer, since
11990 parameter entity substitution requires changing buffer contents.
11991 Use xml--parse-buffer.
11992 (xml-parse-file): Use xml--parse-buffer.
11993 (xml-parse-dtd): Make parameter entity substitution work right.
11994 Use proper regexps for ELEMENT declarations (Bug#7172).
11995
11996 2012-06-30 Glenn Morris <rgm@gnu.org>
11997
11998 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11999
12000 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12001 Remove outdated and unnecessary dbus declarations.
12002
12003 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12004
12005 * emacs-lisp/timer.el (timer-until): Subtract results of
12006 float-time, instead of taking float-time of the result of
12007 time-subtract, since float-time signals an error for negative time
12008 arguments.
12009
12010 2012-06-30 Chong Yidong <cyd@gnu.org>
12011
12012 * xml.el (xml-*-re): Convert defvars into defconsts, and
12013 eval-and-compile them so eval-and-compile works on derivatives.
12014 (xml--entity-replacement-text): Use eval-and-comple.
12015
12016 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12017
12018 * vc/vc-git.el (vc-git-registered): Use cache property
12019 `git-registered'.
12020 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12021 `vc-git-working-revision' in order to benefit from the cache.
12022 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12023
12024 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12025
12026 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12027 removed (likely outside Emacs). (Bug#11757)
12028
12029 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12030
12031 * emacs-lisp/cl-lib.el: Require macroexp.
12032
12033 2012-06-30 Chong Yidong <cyd@gnu.org>
12034
12035 * xml.el: Implement XML parameter entities.
12036 (xml-parameter-entity-alist): New variable.
12037 (xml-parse-region, xml-parse-fragment): Preserve previous values
12038 of xml-entity-alist and xml-parameter-entity-alist, so that
12039 repeated calls on different documents do not change them.
12040 (xml-parse-tag): Fix doctype regexp.
12041 (xml--entity-replacement-text): New function.
12042 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12043 properly requires url retrieval which is unimplemented.
12044 (xml-escape-string): Doc fix.
12045
12046 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12049
12050 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12051
12052 * fringe.el (fringe-mode): Doc fix.
12053
12054 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12055
12056 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12057 is non-nil.
12058 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12059 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12060
12061 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12062
12063 * calendar/cal-dst.el (calendar-current-time-zone):
12064 Return calendar-current-time-zone-cache if non-nil.
12065
12066 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12067
12068 * progmodes/which-func.el (which-func-format):
12069 Add mouse-face. (Bug#11698)
12070
12071 2012-06-29 Leo Liu <sdl.web@gmail.com>
12072
12073 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12074
12075 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12076
12077 * minibuffer.el (minibuffer-confirm-exit-commands):
12078 Add completion-at-point (bug#11725).
12079
12080 2012-06-29 Glenn Morris <rgm@gnu.org>
12081
12082 * progmodes/f90.el (f90-font-lock-keywords-2):
12083 Add some preprocessor elements. (Bug#10499)
12084
12085 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12086
12087 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12088 Use syntax-propertize (bug#11739).
12089
12090 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12091
12092 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12093
12094 2012-06-28 Julien Danjou <julien@danjou.info>
12095
12096 * term.el (term-handle-colors-array): Use a set of new faces to
12097 color the terminal. Also uses :inverse-video property.
12098 (term-default-fg-color): Set to nil by default, deprecate in favor
12099 of `term-face'.
12100 (term-default-bg-color): Set to nil by default, deprecate in favor
12101 of `term-face'.
12102 (term-current-face): Use `term-face' by default.
12103 (term-bold-attribute): Variable deleted.
12104
12105 2012-06-28 Glenn Morris <rgm@gnu.org>
12106
12107 * simple.el (completion-list-mode-finish):
12108 Don't use toggle-read-only. (Since completion-list-mode has
12109 a special mode-class, it wasn't doing anything extra anyway.)
12110
12111 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12112
12113 Make inlining of other-mode interpreted functions work (bug#11799).
12114 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12115 (byte-compile): Use it to fix compilation of lexical-binding closures.
12116 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12117 function, if needed.
12118
12119 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * help-mode.el (help-make-xrefs): Don't just withstand
12122 cyclic-variable-indirection but any error in documentation-property.
12123
12124 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12125 memory use.
12126 * bindings.el (bindings--define-key): New function.
12127 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12128 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12129 * bindings.el: Use it to purecopy define-key bindings.
12130
12131 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12132
12133 * emacs-lisp/cl.el (flet): Mark obsolete.
12134 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12135 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12136 * progmodes/js.el (js-c-fill-paragraph):
12137 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12138 (ebrowse-switch-member-buffer-to-derived-class):
12139 * play/5x5.el (5x5-solver): Use cl-flet.
12140
12141 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12142 (cl--symbol-function): New macro.
12143 (cl--letf, cl--letf*): Use it.
12144
12145 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12146 Strip "toggle-" if any.
12147
12148 2012-06-27 Glenn Morris <rgm@gnu.org>
12149
12150 * info.el (Info-default-directory-list): Move here from paths.el.
12151 * paths.el: Remove file, which is now empty.
12152 * loadup.el: No longer load "paths".
12153
12154 * custom.el (custom-initialize-delay): Doc fix.
12155
12156 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12157 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12158 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12159 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12160 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12161 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12162 * eshell/eshell.el (eshell-defgroup): Remove alias.
12163
12164 2012-06-27 Chong Yidong <cyd@gnu.org>
12165
12166 * help.el (help-enable-auto-load): New variable.
12167
12168 * help-fns.el (help-fns--autoloaded-p): New function.
12169 (describe-function-1): Refer to a function as "autoloaded" if it
12170 was autoloaded at any time in the past. Perform autoloading if
12171 help-enable-auto-load is non-nil.
12172
12173 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12174
12175 * makefile.w32-in (compile, compile-always): Depend on
12176 update-subdirs, not on subdirs.el. Otherwise, several different
12177 sub-targets of 'bootstrap' running in parallel could
12178 simultaneously write to subdirs.el, producing a garbled file.
12179
12180 2012-06-26 Sam Steingold <sds@gnu.org>
12181
12182 * files.el (file-name-base): New convenience function.
12183 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12184 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12185 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12186 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12187 * textmodes/ispell.el, textmodes/reftex-ref.el:
12188 * textmodes/tex-mode.el: Use it.
12189 Did not touch cedet and org because they are maintained elsewhere.
12190
12191 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12192
12193 * calendar/calendar.el (calendar-exit): Don't try to delete or
12194 iconify last frame. See:
12195 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12196
12197 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12198
12199 * server.el (server-process-filter): Remember dir in the
12200 process's `server-client-directory' properties.
12201
12202 2012-06-24 Chong Yidong <cyd@gnu.org>
12203
12204 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12205 non-tag text.
12206
12207 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12208
12209 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12210
12211 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12212
12213 * help-fns.el (describe-variable): Don't croak when doc is not found.
12214 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12215 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12216 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12217 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12218 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12219 ((lambda ..) ..).
12220 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12221
12222 2012-06-23 Chong Yidong <cyd@gnu.org>
12223
12224 * info.el (Info-mouse-follow-link): Accept symbol values of
12225 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12226 (Info-fontify-node): Use Info-link-keymap for all navigation
12227 buttons, with link-args property to perform the desired action.
12228 (Info-link-keymap): Doc fix.
12229 (Info-next-link-keymap, Info-prev-link-keymap)
12230 (Info-up-link-keymap): Delete now-unused keymaps.
12231
12232 2012-06-23 Chong Yidong <cyd@gnu.org>
12233
12234 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12235
12236 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12237 system abbrevs.
12238
12239 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12240
12241 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12242
12243 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12244 (bug#11719).
12245
12246 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12247 the requote function doesn't work properly (bug#11714).
12248
12249 2012-06-23 Glenn Morris <rgm@gnu.org>
12250
12251 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12252
12253 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12254
12255 Further GV/CL cleanups.
12256 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12257 gv-expander.
12258 (gv--defun-declaration): New function.
12259 (defun-declarations-alist): Use it.
12260 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12261 (gv-place): Autoload.
12262 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12263 original definition of dotimes and dolist.
12264 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12265 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12266 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12267 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12268 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12269 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12270 to the function's definition.
12271 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12272 * window.el:
12273 * files.el:
12274 * faces.el:
12275 * env.el: Don't use CL.
12276
12277 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12278
12279 Support higher-resolution time stamps (Bug#9000).
12280
12281 * calendar/time-date.el (with-decoded-time-value): New arg
12282 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12283 (encode-time-value): New optional arg PICO. New type 3.
12284 (time-to-seconds) [!float-time]: Support the new picoseconds
12285 component if it's used.
12286 (seconds-to-time, time-subtract, time-add):
12287 Support ps-resolution time stamps as well.
12288
12289 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12290 (timerp): Timer vectors now have length 9, not 8.
12291 (timer--time): Support new-style (4-part) time stamps.
12292 (timer-next-integral-multiple-of-time): Time stamps now have
12293 picosecond resolution, so take a bit more care about rounding.
12294 (timer-relative-time, timer-inc-time): New optional arg psecs.
12295 (timer-set-time-with-usecs): Set psecs to 0.
12296 (timer--activate): Check psecs component, too.
12297
12298 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12299
12300 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12301
12302 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12303 Move the non-essential binding to the post/pre-command-hook where it is
12304 more obviously correct.
12305
12306 * subr.el (read-passwd): Don't use a history at all.
12307 * savehist.el (savehist-save): Remove password saved accidentally
12308 because of the above bug.
12309
12310 2012-06-22 Bastien Guerry <bzg@gnu.org>
12311
12312 * files.el (toggle-read-only): Display a message telling whether
12313 the buffer is read-only or not (bug#11726).
12314
12315 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12316
12317 * emacs-lisp/gv.el: New file.
12318 * subr.el (push, pop): Extend to generalized variables.
12319 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12320 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12321 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12322 gv-define-simple-setter, and gv-define-expander.
12323 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12324 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12325 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12326 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12327 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12328 gv-letplace.
12329 (cl-defstruct): Don't define setf-method any more.
12330 * emacs-lisp/cl.el (flet): Don't autoload.
12331 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12332 (define-setf-expander, defsetf, define-modify-macro)
12333 (cl-struct-setf-expander): Move from cl-lib.el.
12334 * emacs-lisp/syntax.el:
12335 * emacs-lisp/ewoc.el:
12336 * emacs-lisp/smie.el:
12337 * emacs-lisp/cconv.el:
12338 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12339 (timer--time): Use gv-define-simple-setter.
12340 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12341 to avoid coding-system problems in subr.el. Adjust all users.
12342 (macroexp--maxsize, macroexp-small-p): New functions.
12343 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12344 * scroll-bar.el (scroll-bar-mode):
12345 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12346 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12347 * winner.el (winner-configuration, winner-make-point-alist)
12348 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12349 * files.el (locate-file-completion-table): Avoid list*.
12350
12351 2012-06-22 Chong Yidong <cyd@gnu.org>
12352
12353 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12354 (dired-create-files): Doc fix (Bug#11329).
12355 (dired-do-copy): Doc fix (Bug#11334).
12356 (dired-mark-read-string): Doc fix (Bug#11553).
12357
12358 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12359 Doc fix (Bug#11326).
12360 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12361 (dired-dwim-target): Doc fix.
12362
12363 * wdired.el (wdired-mode): Doc fix.
12364
12365 2012-06-22 Glenn Morris <rgm@gnu.org>
12366
12367 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12368 (pcmpl-rpm-cache-stamp-file): New constant.
12369 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12370 (pcmpl-rpm-packages): Optionally cache list of packages.
12371
12372 * pcmpl-rpm.el (pcmpl-rpm): New group.
12373 (pcmpl-rpm-query-options): New option.
12374 (pcmpl-rpm-packages): No need to inline it.
12375 Use pcmpl-rpm-query-options.
12376
12377 * calendar/calendar.el (calendar-in-read-only-buffer):
12378 Avoid some needless mode changes.
12379
12380 2012-06-21 Chong Yidong <cyd@gnu.org>
12381
12382 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12383 (desktop-path): Remove . from the default value (Bug#10977).
12384 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12385
12386 2012-06-20 Chong Yidong <cyd@gnu.org>
12387
12388 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12389
12390 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12391
12392 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12393 (bug#11201).
12394
12395 2012-06-20 Chong Yidong <cyd@gnu.org>
12396
12397 * term.el (term-window-width): Handle the case of a missing right
12398 fringe (Bug#8837).
12399 (term-check-size): Use window-text-height (Bug#5445).
12400 (term-mode): Use define-derived-mode. Minor cleanups.
12401 Set font-lock-defaults (Bug#7692).
12402 (term-move-columns, term-insert-char, term-emulate-terminal)
12403 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12404
12405 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12406
12407 * net/ange-ftp.el (ange-ftp-get-passwd):
12408 Bind `enable-recursive-minibuffers'.
12409 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12410
12411 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12412
12413 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12414
12415 2012-06-19 Glenn Morris <rgm@gnu.org>
12416
12417 * progmodes/python.el (python-mode): Derive from prog-mode.
12418
12419 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12420
12421 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12422 (edt-user-menu-bar-update-buffers): New functions.
12423 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12424
12425 2012-06-19 Chong Yidong <cyd@gnu.org>
12426
12427 * subr.el (with-selected-window): Preserve the selected window's
12428 terminal's top-frame (Bug#4702).
12429
12430 * window.el (save-selected-window): Likewise.
12431
12432 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12433
12434 * progmodes/python.el (python-rx-constituents): Move backquote.
12435 (python-skeleton-define, python-define-auxiliary-skeleton):
12436 Use `declare'.
12437
12438 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12439
12440 * minibuffer.el (read-file-name-default): Revert the patch from
12441 2012-06-17.
12442
12443 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12444
12445 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12446 (pcase--u1, pcase--q1): Don't use apply-partially.
12447
12448 2012-06-18 Glenn Morris <rgm@gnu.org>
12449
12450 * progmodes/python.el (python-proc, python-buffer)
12451 (python-send-receive, python-send-string): Fix obsolete versions.
12452
12453 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12454
12455 * window.el (special-display-p): Completely remove stringp
12456 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12457
12458 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12459
12460 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12461
12462 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12463
12464 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12465 * net/tramp-sh.el (tramp-maybe-open-connection):
12466 Throw if `non-essential' is non-nil.
12467
12468 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12469
12470 * window.el (special-display-p): Signal an error if BUFFER-NAME
12471 is not a string (Bug#11713).
12472
12473 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12474
12475 * progmodes/python.el (python-info-beginning-of-backslash):
12476 Rename from python-info-beginning-of-backlash, as a spelling fix.
12477
12478 2012-06-17 Chong Yidong <cyd@gnu.org>
12479
12480 * term.el (term-emulate-terminal): If term-check-size is called,
12481 move point to the process mark without resetting point (Bug#4635).
12482
12483 2012-06-17 Glenn Morris <rgm@gnu.org>
12484
12485 * international/mule-cmds.el (mule-menu-keymap)
12486 (set-language-environment, set-locale-environment): Doc tweaks.
12487
12488 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12489
12490 * cus-face.el (custom-face-attributes): Add wave-style underline
12491 attribute.
12492 * faces.el (set-face-attribute): Update docstring to describe
12493 wave-style underline attribute.
12494
12495 2012-06-16 Chong Yidong <cyd@gnu.org>
12496
12497 * term/xterm.el (terminal-init-xterm): Discard input before
12498 querying background mode (Bug#10959).
12499
12500 2012-06-16 Stefan Merten <smerten@oekonux.de>
12501
12502 * textmodes/rst.el: Added and corrected some comments.
12503 (rst-re-alist-def): Improve symbol syntax.
12504 (rst-mode-syntax-table): Correct syntax entries.
12505 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12506 (rst-official-version, rst-official-cvs-rev): Update version
12507 information.
12508
12509 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12510
12511 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12512 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12513
12514 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
12515
12516 * progmodes/python.el: New python.el merge.
12517 (python-guess-indent): Obsolete var.
12518 (python-indent-guess-indent-offset): New defcustom.
12519 (python-indent): Obsolete var.
12520 (python-indent-offset): New defcustom.
12521 (python-python-command, python-jython-command): Delete var.
12522 (python-shell-interpreter): New defcustom.
12523 (python-pdbtrack-do-tracking-p): Delete var.
12524 (python-pdbtrack-activate): New defcustom.
12525 (python-use-skeletons): Obsolete var.
12526 (python-skeleton-autoinsert): New defcustom.
12527 (inferior-python-filter-regexp, python-continuation-offset)
12528 (python-honour-comment-indentation, python-indent-string-contents)
12529 (python-jython-packages, python-mode-hook)
12530 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12531 (python-shell-prompt-alist)
12532 (python-source-modes): Delete defcustoms.
12533 (python-check-buffer-name, python-eldoc-setup-code)
12534 (python-eldoc-string-code, python-ffap-setup-code)
12535 (python-ffap-string-code, python-fill-comment-function)
12536 (python-fill-decorator-function, python-fill-paren-function)
12537 (python-fill-string-function, python-imenu-include-defun-type)
12538 (python-imenu-make-tree, python-imenu-subtree-root-label)
12539 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12540 (python-shell-compilation-regexp-alist)
12541 (python-shell-completion-module-string-code)
12542 (python-shell-completion-pdb-string-code)
12543 (python-shell-completion-setup-code)
12544 (python-shell-completion-string-code)
12545 (python-shell-enable-font-lock, python-shell-exec-path)
12546 (python-shell-extra-pythonpaths)
12547 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12548 (python-shell-process-environment)
12549 (python-shell-prompt-block-regexp)
12550 (python-shell-prompt-output-regexp)
12551 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12552 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12553 (python-shell-virtualenv-path): New defcustoms.
12554 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12555 (inferior-python-mode-syntax-table, python--prompt-regexp)
12556 (python-buffer, python-command python-python-command)
12557 (python-default-template, python-imports, python-indent-index)
12558 (python-indent-list, python-indent-list-length)
12559 (python-mode-running, python-pdbtrack-is-tracking-p)
12560 (python-preoutput-continuation, python-preoutput-leftover)
12561 (python-preoutput-result, python-preoutput-skip-next-prompt)
12562 (python-prev-dir/file, python-recursing)
12563 (python-saved-check-command, python-version-checked)
12564 (python-which-func-length-limit)
12565 (view-return-to-alist): Delete vars.
12566 (python-check-custom-command, python-dotty-syntax-table)
12567 (python-imenu-index-alist, python-indent-current-level)
12568 (python-indent-dedenters, python-indent-levels)
12569 (python-nav-beginning-of-defun-regexp)
12570 (python-nav-list-defun-positions-cache)
12571 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12572 (python-shell-internal-buffer)
12573 (python-skeleton-available): New vars.
12574 (def-python-skeleton): Delete macro.
12575 (python-skeleton-define): New macro.
12576 (python-define-auxiliary-skeleton, python-rx): New macros.
12577 (python-insert-class): Delete command.
12578 (python-skeleton-class): New command.
12579 (python-insert-def): Delete command.
12580 (python-skeleton-def): New command.
12581 (python-insert-for): Delete command.
12582 (python-skeleton-for): New command.
12583 (python-insert-if): Delete command.
12584 (python-skeleton-if): New command.
12585 (python-insert-try/except, python-insert-try/finally): Delete commands.
12586 (python-skeleton-try): New command.
12587 (python-insert-while): Delete command.
12588 (python-skeleton-while): New command.
12589 (python-backspace): Delete command.
12590 (python-indent-dedent-line-backspace): New command.
12591 (python-electric-colon): Delete command.
12592 (python-indent-electric-colon): New command.
12593 (python-guess-indent): Delete command.
12594 (python-indent-guess-indent-offset): New command.
12595 (python-shift-left): Delete command.
12596 (python-indent-shift-left): New command.
12597 (python-shift-right): Delete command.
12598 (python-indent-shift-right): New command.
12599 (python-find-function): Delete command.
12600 (python-nav-jump-to-defun): New command.
12601 (python-next-statement): Delete command.
12602 (python-nav-forward-sentence): New command.
12603 (python-previous-statement): Delete command.
12604 (python-nav-backward-sentence): New command.
12605 (python-fill-paragraph): Delete command.
12606 (python-fill-paragraph-function): New command.
12607 (python-send-buffer): Delete command.
12608 (python-shell-send-buffer): New command.
12609 (python-send-defun): Delete command.
12610 (python-shell-send-defun): New command.
12611 (python-send-region, python-send-region-and-go): Delete commands.
12612 (python-shell-send-region)
12613 (python-shell-switch-to-shell): New commands.
12614 (python-send-string): Delete command.
12615 (python-shell-send-string): New command.
12616 (python-switch-to-python): Delete command.
12617 (python-shell-switch-to-shell): New command.
12618 (python-describe-symbol): Delete command.
12619 (python-eldoc-at-point): New command.
12620 (python--set-prompt-regexp, python-args-to-list)
12621 (python-after-info-look, python-check-version)
12622 (python-check-comint-prompt, python-find-imports)
12623 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12624 (python-unload-function, python-expand-template)
12625 (python-maybe-jython, python-preoutput-filter)
12626 (python-pdbtrack-get-source-buffer)
12627 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12628 (python-pdbtrack-toggle-stack-tracking)
12629 (python-pdbtrack-track-stack-file, python-initial-text)
12630 (python-first-word, python-comment-line-p, python-send-command)
12631 (python-setup-brm, python-sentinel, python-set-proc)
12632 (python-skip-out, python-input-filter, python-outdent-p)
12633 (python-outline-level, python-backslash-continuation-line-p)
12634 (python-end-of-block, python-end-of-statement, python-mark-block)
12635 (python-beginning-of-block, python-beginning-of-statement)
12636 (python-blank-line-p, python-beginning-of-string)
12637 (python-open-block-statement-p): Delete functions.
12638 (python-indent-line, python-indent-line-1): Delete functions.
12639 (python-indent-line): New function.
12640 (python-indentation-levels): Delete function.
12641 (python-indent-calculate-levels): New function.
12642 (python-proc): Delete function.
12643 (python-shell-get-process): New function.
12644 (python-send-receive): Delete function.
12645 (python-shell-send-string-no-output): New function.
12646 (python-module-path): Delete function.
12647 (python-ffap-module-path): New function.
12648 (python-completion-at-point)
12649 (python-symbol-completions): Delete functions.
12650 (python-completion-complete-at-point): New function.
12651 (python-load-file): Delete function.
12652 (python-shell-send-file): New function.
12653 (python-calculate-indentation): Delete function.
12654 (python-indent-calculate-indentation): New function.
12655 (python-skip-comments/blanks): Delete function.
12656 (python-util-forward-comment): New function.
12657 (python-continuation-line-p): Delete function.
12658 (python-info-continuation-line-p): New function.
12659 (python-which-func, python-current-defun): Delete function.
12660 (python-info-current-defun): New function.
12661 (python-beginning-of-defun): Delete function.
12662 (python-nav-beginning-of-defun): New function.
12663 (python-close-block-statement-p)
12664 (python-block-end-p): Delete function.
12665 (python-info-closing-block): New function.
12666 (python-comint-output-filter-function)
12667 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12668 (python-fill-comment, python-fill-decorator, python-fill-paren)
12669 (python-fill-string, python-imenu-make-element-tree)
12670 (python-imenu-make-tree, python-imenu-tree-assoc)
12671 (python-indent-context, python-indent-dedent-line)
12672 (python-indent-line-function)
12673 (python-indent-post-self-insert-function)
12674 (python-indent-toggle-levels)
12675 (python-info-assignment-continuation-line-p)
12676 (python-info-beginning-of-backlash)
12677 (python-info-block-continuation-line-p)
12678 (python-info-closing-block-message)
12679 (python-info-line-ends-backslash-p)
12680 (python-info-looking-at-beginning-of-defun)
12681 (python-info-ppss-context, python-info-ppss-context-type)
12682 (python-nav-list-defun-positions, python-nav-read-defun)
12683 (python-nav-sentence-end, python-nav-sentence-start)
12684 (python-pdbtrack-comint-output-filter-function)
12685 (python-pdbtrack-set-tracked-buffer)
12686 (python-shell-calculate-exec-path)
12687 (python-shell-calculate-process-environment)
12688 (python-shell-completion--do-completion-at-point)
12689 (python-shell-completion--get-completions)
12690 (python-shell-completion-complete-at-point)
12691 (python-shell-completion-complete-or-indent)
12692 (python-shell-get-or-create-process)
12693 (python-shell-get-process-name)
12694 (python-shell-internal-get-or-create-process)
12695 (python-shell-internal-get-process-name)
12696 (python-shell-internal-send-string, python-shell-make-comint)
12697 (python-shell-parse-command, python-shell-send-setup-code)
12698 (python-skeleton-add-menu-items)
12699 (python-util-clone-local-variables, python-util-position)
12700 (run-python-internal, python-indentation-levels)
12701 (python-nav-beginning-of-defun)
12702 (python-completion-complete-at-point): New functions.
12703 (run-python): Change arguments. New API requirements.
12704
12705 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12706
12707 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12708 (bug#11649).
12709
12710 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12711 (macroexp--expand-all): Use it.
12712
12713 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12714 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12715 Use `cl-function' instead.
12716
12717 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12718
12719 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12720 Suggested by Stefan Monnier while discussing bug#11657.
12721
12722 2012-06-14 Sam Steingold <sds@gnu.org>
12723
12724 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12725
12726 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12727
12728 * play/doctor.el (doctor-doc): Remove parameter and use
12729 doctor-sent instead of sent.
12730 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12731
12732 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12733
12734 * files.el: Require cl-lib.
12735 (file-name-non-special): Replace case -> cl-case.
12736
12737 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12738
12739 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12740 mapping from #' to function*.
12741
12742 2012-06-13 Chong Yidong <cyd@gnu.org>
12743
12744 * mouse.el (mouse-drag-track): Do not set the mark if the user
12745 releases the mouse without selecting anything (Bug#11588).
12746
12747 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12748
12749 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12750 as well (bug#11646).
12751
12752 * loadup.el: Count byte-code functions as well.
12753
12754 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12755 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12756
12757 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12758 (bug#11649). Add cl-defun and cl-defmacro.
12759
12760 2012-06-13 Drew Adams <drew.adams@oracle.com>
12761
12762 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12763 Fix last change.
12764
12765 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12766
12767 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12768 Otherwise, it blocks in batch mode.
12769
12770 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12771
12772 * help-mode.el (bookmark-make-record-default): Declare.
12773
12774 2012-06-13 Chong Yidong <cyd@gnu.org>
12775
12776 * emacs-lisp/package.el (list-packages): Compute a list of
12777 packages that are newly-available since the last list-packages
12778 invocation.
12779 (package-menu--new-package-list): New var.
12780 (package-menu--generate, package-menu--print-info)
12781 (package-menu--status-predicate, package-menu-mark-install):
12782 Handle new status label "new".
12783
12784 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12787 conversion to backquotes.
12788
12789 2012-06-12 Chong Yidong <cyd@gnu.org>
12790
12791 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12792 Rename from gud-inhibit-global-bindings.
12793
12794 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12795
12796 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12797 hook from nxml-glyph-set-hook.
12798
12799 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12800 declaration.
12801
12802 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12803
12804 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12805 Convert to defcustom.
12806
12807 2012-06-12 Drew Adams <drew.adams@oracle.com>
12808
12809 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12810 New functions.
12811 (help-mode): Use them.
12812
12813 2012-06-11 Glenn Morris <rgm@gnu.org>
12814
12815 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12816 Use preprocessor face for directives.
12817 (fortran-directive-re): Doc fix.
12818
12819 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12820
12821 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12822 conversion to backquotes (bug#11652).
12823
12824 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12825 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12826 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12827 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12828 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12829 (cl-ninth, cl-tenth): Mark them as inlinable.
12830 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12831 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12832 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12833 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12834 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12835 (cl-list*, cl-adjoin): Don't put an autoload manually.
12836 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12837 (cl--compiler-macro-list*): Add autoload cookie.
12838 (cl--compiler-macro-cXXr): New function.
12839
12840 * help-fns.el (help-fns--compiler-macro): New function extracted from
12841 describe-function-1; follow aliases and use `compiler-macro' property.
12842 (describe-function-1): Use it.
12843
12844 2012-06-11 Chong Yidong <cyd@gnu.org>
12845
12846 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12847 is uninstalled, if imagemagick is installed.
12848
12849 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12850
12851 * emacs-lisp/cl-lib.el: Use lexical-binding.
12852 (cl-map-extents, cl-maclisp-member): Remove.
12853 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12854 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12855 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12856 * emacs-lisp/cl-extra.el: Use lexical-binding.
12857 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12858 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12859 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12860 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12861 * emacs-lisp/cl-seq.el: Use lexical-binding.
12862 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12863 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12864 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12865 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12866 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12867 CL's internals.
12868
12869 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12870
12871 Sync with Tramp 2.2.6-pre.
12872
12873 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12874 `print-length' and `print-level' to nil, in order to avoid
12875 truncation. Reported by Christopher Schmidt
12876 <christopher@ristopher.com>.
12877
12878 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12879
12880 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12881 New defmacro.
12882 (tramp-compat-copy-directory): Add optional argument
12883 COPY-CONTENTS. It is not handled yet.
12884
12885 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12886 (tramp-ftp-file-name-p): Simplify.
12887
12888 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12889 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12890 connection vector.
12891
12892 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12893 (tramp-methods): Do not use `tramp-password-end-of-line'.
12894 (tramp-completion-function-alist-putty): Handle UNIX case.
12895 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12896 (tramp-do-file-attributes-with-stat)
12897 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12898 gid as real numbers. They could run out of integer range on cygwin.
12899 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12900 (tramp-sh-handle-expand-file-name): Handle hops.
12901 (tramp-open-connection-setup-interactive-shell):
12902 Use `tramp-cleanup'. Move check for busyboxes ...
12903 (tramp-find-shell): ... here. Simplify implementation.
12904 Set "remote-shell" property also for alternative shells.
12905 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12906 If failing, a regular file would be written otherwise.
12907 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12908 (tramp-find-inline-encoding): Cache the coding commands in the
12909 process cache. Apply test command on the remote side, if defined.
12910 (tramp-find-inline-compress): Cache the compress commands in the
12911 process cache.
12912 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12913 when requested. Handle hops.
12914 (tramp-current-connection): New defvar.
12915 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12916 Throw `suppress', if there was a failed connection shortly before.
12917 Handle user interrupt. (Bug#10187)
12918 (tramp-get-inline-compress, tramp-get-inline-coding):
12919 Read connection properties from the process cache.
12920
12921 * net/tramp-smb.el (tramp-smb-server-version)
12922 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12923 New defconsts.
12924 (tramp-smb-prompt): Extend for powershell prompt.
12925 (tramp-smb-file-name-handler-alist): Add handlers for
12926 `process-file', `shell-command' and `start-file-process'.
12927 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12928 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12929 (tramp-smb-file-name-p): Simplify.
12930 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12931 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12932 (tramp-smb-shell-quote-argument): New defuns.
12933 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12934 Implement using "tar". By this, time-stamps are preserved.
12935 (tramp-smb-handle-copy-file): Handle also the case of directories.
12936 (tramp-smb-do-file-attributes-with-stat)
12937 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12938 Use `tramp-get-connection-buffer').
12939 (tramp-smb-handle-rename-file): Use "rename", when source and
12940 target are on the same share.
12941 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12942 Use `tramp-smb-server-version'.
12943 (tramp-smb-wait-for-output): Remove prompt.
12944
12945 * net/tramp.el (top): Require 'cl.
12946 (tramp-methods, tramp-rsh-end-of-line):
12947 Remove `tramp-password-end-of-line' from docstring.
12948 (tramp-save-ad-hoc-proxies): New defcustom.
12949 (tramp-completion-function-alist): Adapt docstring.
12950 (tramp-default-password-end-of-line): Remove defcustom.
12951 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12952 (tramp-user-regexp, tramp-file-name-regexp-unified)
12953 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12954 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12955 (tramp-remote-file-name-spec-regexp): New defconst.
12956 (tramp-file-name-structure): Extend structure for hops.
12957 (tramp-get-method-parameter): Move up.
12958 (tramp-file-name-p, tramp-dissect-file-name)
12959 (with-parsed-tramp-file-name): Handle hops.
12960 (tramp-file-name-hop): New defun.
12961 (tramp-make-tramp-file-name): New optional arg HOP.
12962 (tramp-message-show-progress-reporter-message): New defvar.
12963 (tramp-with-progress-reporter): Use it. We cannot use
12964 `tramp-message-show-message' here, because this suppresses also
12965 error buffers.
12966 (tramp-error-with-buffer): Suppress buffer view, if
12967 `tramp-message-show-message' is nil.
12968 Use `tramp-get-connection-buffer'.
12969 (tramp-cleanup): New defun.
12970 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12971 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12972 an error unchanged.
12973 (tramp-completion-handle-file-name-all-completions): Handle hops.
12974 Fix an error when called from ido.
12975 (tramp-completion-dissect-file-name): Use better local variable
12976 name. Add hop to the vector.
12977 (tramp-handle-insert-file-contents): Use progress-reporter for the
12978 whole scenario.
12979 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12980 to `t'.
12981 (tramp-check-for-regexp): Simplify search.
12982 (tramp-enter-password): Remove it. Move implementation ...
12983 (tramp-action-password): ... here.
12984 (tramp-mode-string-to-int, tramp-local-host-p)
12985 (tramp-make-tramp-temp-file, tramp-read-passwd)
12986 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12987 Set tramp-autoload cookie.
12988
12989 * net/trampver.el: Update release number.
12990
12991 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12992 Michael Albinus <michael.albinus@gmx.de>
12993
12994 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12995 (tramp-parse-group, tramp-parse-file)
12996 (tramp-parse-shostkeys-sknownhosts): New defuns.
12997 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12998 (tramp-parse-shosts-group, tramp-parse-sconfig)
12999 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13000 (tramp-parse-sknownhosts, tramp-parse-hosts)
13001 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13002 Use them.
13003 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13004 (tramp-parse-putty-group): Don't narrow.
13005 (tramp-parse-putty): Make a loop.
13006 (tramp-file-name-handler): Catch the `suppress' signal.
13007
13008 2012-06-11 Chong Yidong <cyd@gnu.org>
13009
13010 * image.el (imagemagick-register-types): Put the ImageMagick entry
13011 at the end of image-type-file-name-regexps.
13012
13013 2012-06-11 Johan Bockgård <bojohan@gnu.org>
13014
13015 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13016 (pcase, pcase-let*, pcase-dolist): Use them.
13017
13018 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13019
13020 * emacs-lisp/pcase.el (pcase--let*): New function.
13021 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13022 (pcase--expand): Use macroexp-let².
13023
13024 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13025
13026 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13027 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13028 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13029 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13030 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13031 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13032
13033 2012-06-10 Glenn Morris <rgm@gnu.org>
13034
13035 * mail/rmail.el (rmail-yank-current-message): Leave point at
13036 correct position. (Bug#11660)
13037
13038 2012-06-10 Chong Yidong <cyd@gnu.org>
13039
13040 * allout-widgets.el: Fix code header.
13041
13042 2012-06-10 Chong Yidong <cyd@gnu.org>
13043
13044 * cus-edit.el (customize-changed-options-previous-release):
13045 Bump to 24.1.
13046
13047 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13048
13049 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13050
13051 2012-06-09 Chong Yidong <cyd@gnu.org>
13052
13053 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13054
13055 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13056
13057 * window.el (special-display-popup-frame): Don't use
13058 window--display-buffer (Bug#11651).
13059
13060 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13061
13062 Fix parallel builds: make sure loaddefs.el is not being written
13063 while Lisp files are compiled.
13064 (compile): Don't depend on 'mh-autoloads'.
13065 (compile-CMD, compile-SH): Depend on 'autoloads'.
13066 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13067
13068 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13069
13070 2012-06-09 Chong Yidong <cyd@gnu.org>
13071
13072 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13073 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13074 Doc fixes (Bug#11225).
13075
13076 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13077
13078 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13079 a function if there's a clear indication that it has a compiler-macro.
13080 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13081 (macro-declarations-alist): Add arglist to declaration functions.
13082 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13083 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13084 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13085 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13086 Also add autoload to find the compiler macro.
13087 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13088 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13089 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13090 (cl--compiler-macro-get): New functions, replacing calls to
13091 cl-define-compiler-macro.
13092 (cl-typep) [compiler-macro]: Use macroexp-let².
13093
13094 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13095
13096 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13097 string properly, fixes Bug#11473.
13098
13099 2012-06-08 Chong Yidong <cyd@gnu.org>
13100
13101 * faces.el (set-face-attribute): Doc fix.
13102 (modify-face): Don't use :bold and :italic.
13103 (error, warning, success): Tweak definitions.
13104
13105 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13106 (custom-modified, custom-set, custom-changed, custom-themed)
13107 (custom-saved, custom-button, custom-button-mouse)
13108 (custom-button-pressed, custom-state, custom-comment-tag)
13109 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13110 (custom-group-subtitle): Use new-style face specs.
13111 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13112 (custom-set-face, custom-changed-face, custom-saved-face)
13113 (custom-button-face, custom-button-pressed-face)
13114 (custom-documentation-face, custom-state-face)
13115 (custom-comment-face, custom-comment-tag-face)
13116 (custom-variable-tag-face, custom-variable-button-face)
13117 (custom-face-tag-face, custom-group-tag-face-1)
13118 (custom-group-tag-face): Remove obsolete face alias.
13119
13120 * epa.el (epa-validity-high, epa-validity-medium)
13121 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13122 (epa-field-name, epa-field-body):
13123 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13124 (font-lock-keyword-face, font-lock-builtin-face)
13125 (font-lock-function-name-face, font-lock-variable-name-face)
13126 (font-lock-type-face, font-lock-constant-face):
13127 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13128 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13129 * speedbar.el (speedbar-button-face, speedbar-file-face)
13130 (speedbar-directory-face, speedbar-tag-face)
13131 (speedbar-selected-face, speedbar-highlight-face)
13132 (speedbar-separator-face):
13133 * whitespace.el (whitespace-newline, whitespace-space)
13134 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13135 (whitespace-line, whitespace-space-before-tab)
13136 (whitespace-space-after-tab, whitespace-indentation)
13137 (whitespace-empty):
13138 * emulation/cua-base.el (cua-global-mark):
13139 * eshell/em-prompt.el (eshell-prompt):
13140 * net/newst-plainview.el (newsticker-new-item-face)
13141 (newsticker-old-item-face, newsticker-immortal-item-face)
13142 (newsticker-obsolete-item-face, newsticker-date-face)
13143 (newsticker-statistics-face, newsticker-default-face):
13144 * net/newst-reader.el (newsticker-feed-face)
13145 (newsticker-extra-face, newsticker-enclosure-face):
13146 * net/newst-treeview.el (newsticker-treeview-face)
13147 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13148 (newsticker-treeview-immortal-face)
13149 (newsticker-treeview-obsolete-face)
13150 (newsticker-treeview-selection-face):
13151 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13152 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13153 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13154 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13155 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13156 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13157 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13158 (mpuz-text):
13159 * progmodes/vera-mode.el (vera-font-lock-number)
13160 (vera-font-lock-function, vera-font-lock-interface):
13161 * textmodes/table.el (table-cell): Use new-style face specs, and
13162 don't use the old :bold and :italic attributes.
13163
13164 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13165 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13166 (ebrowse-member-class, ebrowse-progress): Likewise.
13167 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13168 (ebrowse-file-name-face, ebrowse-default-face)
13169 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13170 (ebrowse-progress-face): Remove obsolete faces.
13171
13172 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13173 Inherit from error and warning faces respectively.
13174
13175 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13176 Likewise.
13177 (flyspell-incorrect-face, flyspell-duplicate-face):
13178 Remove obsolete aliases.
13179
13180 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13181
13182 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13183 Avoid infloop.
13184
13185 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13186
13187 * startup.el (argv, argi): Make lexically scoped.
13188 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13189 * emacs-lisp/cl-macs.el: Use lexical-binding.
13190 Rename cl-bind-* to cl--bind-*.
13191 * files.el: Don't require `cl' since it doesn't use it.
13192 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13193
13194 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13195
13196 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13197 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13198 instead of calling external sort utility.
13199 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13200
13201 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13202
13203 * descr-text.el (describe-char): Mention how to insert the
13204 character, if the current input method doesn't support it.
13205 See the discussion in this thread for the details:
13206 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13207
13208 2012-06-08 Sam Steingold <sds@gnu.org>
13209
13210 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13211 XF86Back to previous-buffer.
13212 (minibuffer-local-map): Bind them to next-history-element and
13213 previous-history-element respectively.
13214 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13215 help-go-back respectively.
13216 * info.el (Info-mode-map): Bind them to Info-history-forward and
13217 Info-history-back respectively.
13218 These are the keys next to Up on the ThinkPad keyboard.
13219
13220 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13221
13222 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13223 * emacs-lisp/cl-macs.el: Provide itself.
13224 (cl--labels-convert-cache): New var.
13225 (cl--labels-convert): New function.
13226 (cl-flet, cl-labels): New implementation with new semantics, relying on
13227 lexical-binding.
13228 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13229 (cl-closure-vars, cl--function-convert-cache)
13230 (cl--function-convert): Move from cl-macs.el.
13231 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13232 rename by removing the "cl-" prefix.
13233 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13234
13235 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13236
13237 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13238 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13239 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13240 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13241 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13242 (cl-hash-table-count): Add old compatibility aliases.
13243
13244 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13245 Use macroexpand-all-environment instead.
13246 (cl--old-macroexpand): New var.
13247 (cl--sm-macroexpand): New function.
13248 (cl-symbol-macrolet): Use it during macro expansion.
13249 (cl--function-convert-cache): New var.
13250 (cl--function-convert): New function, extracted from
13251 cl-macroexpand-all.
13252 (cl-lexical-let): Use it.
13253
13254 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13255 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13256 (cl-member): Remove old alias.
13257
13258 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13259 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13260 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13261 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13262 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13263 (cl-macroexpand-cmacs): Remove var.
13264 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13265 Use macroexpand-all instead.
13266
13267 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13268
13269 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13270 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13271 (macroexp-copyable-p): New functions and macros.
13272 * emacs-lisp/edebug.el (edebug-unwrap):
13273 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13274 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13275 (pcase--let*): Remove.
13276 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13277 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13278 macroexp-const-p instead.
13279 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13280
13281 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13282 instead of "cl-" for internal definitions. Use macroexp-const-p.
13283 (cl-old-bc-file-form): Remove var.
13284 (cl-const-exprs-p): Remove fun.
13285 (cl-labels, cl-macrolet): Use backquote.
13286 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13287 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13288 (cl-define-setf-expander): Rename from cl-define-setf-method.
13289 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13290
13291 * international/mule-cmds.el: Don't require CL.
13292 (view-hello-file): Don't use `letf'.
13293
13294 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13295
13296 * tmm.el (tmm-prompt): Use string-prefix-p.
13297 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13298 (tmm-add-prompt): Use minibuffer-completion-help.
13299 (tmm-delete-map): Remove.
13300
13301 * subr.el (kbd): Make it its own function.
13302
13303 2012-06-07 Stefan Merten <smerten@oekonux.de>
13304
13305 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13306 Silence compiler warnings. Fix versions.
13307 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13308 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13309 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13310 (rst-package-emacs-version-alist): Correct Emacs version to
13311 represent major merge with upstream.
13312 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13313
13314 2012-06-06 Glenn Morris <rgm@gnu.org>
13315
13316 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13317 Only print environment variables if set.
13318
13319 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13320
13321 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13322 (macroexp--cons): Rename from maybe-cons.
13323 (macroexp--accumulate): Rename from macroexp-accumulate.
13324 (macroexp--all-forms): Rename from macroexpand-all-forms.
13325 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13326 (macroexp--expand-all): Rename from macroexpand-all-1.
13327
13328 2012-06-06 Sam Steingold <sds@gnu.org>
13329
13330 * calendar/calendar.el (calendar-in-read-only-buffer):
13331 Call `special-mode' to enable the standard read-only keybindings.
13332
13333 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13334
13335 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13336 with "loading" messages (bug#11635).
13337
13338 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13339
13340 * files.el (enable-remote-dir-locals): New option.
13341 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13342
13343 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13344 Ensure, that the temp directory is local.
13345
13346 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13347 `temporary-file-directory'.
13348
13349 * progmodes/python.el (python-send-region): Ensure, that the
13350 temporary file is created also in the remote case.
13351
13352 2012-06-06 Glenn Morris <rgm@gnu.org>
13353
13354 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13355 (vc-rcs-update-changelog): Use it.
13356
13357 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13358
13359 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13360 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13361 (vc-sccs-diff): Replace use of the external vcdiff script.
13362
13363 2012-06-05 Glenn Morris <rgm@gnu.org>
13364
13365 * ledit.el: Move to obsolete/.
13366
13367 2012-06-05 Sam Steingold <sds@gnu.org>
13368
13369 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13370 patch (Bug#11140).
13371
13372 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 * emacs-lisp/cust-print.el: Move to obsolete.
13375
13376 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13377 compiler-macro expansion.
13378
13379 Add native compiler-macro support.
13380 * emacs-lisp/macroexp.el (macroexpand-all-1):
13381 Support compiler-macros directly. Properly follow aliases and apply
13382 the compiler macros more thoroughly.
13383 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13384 macroexpand now properly follows aliases.
13385 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13386 (cl-compiler-macroexpand): Use new prop.
13387 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13388
13389 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13390
13391 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13392
13393 * window.el (get-lru-window, get-mru-window, get-largest-window):
13394 New argument NOT-SELECTED to avoid picking the selected window.
13395 (window--display-buffer-1, window--display-buffer-2): Replace by
13396 new function window--display-buffer
13397 (display-buffer-same-window, display-buffer-reuse-window)
13398 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13399 Use window--display-buffer.
13400 (display-buffer-use-some-window): Remove temporary dedication
13401 hack by calling get-lru-window and get-largest-window with
13402 NOT-SELECTED argument non-nil. Call window--display-buffer.
13403
13404 2012-06-05 Glenn Morris <rgm@gnu.org>
13405
13406 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13407 Replace external vcdiff script.
13408
13409 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13410
13411 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13412
13413 2012-06-04 Chong Yidong <cyd@gnu.org>
13414
13415 * image.el (imagemagick-types-inhibit): Revert last change.
13416 Add INFO and M.
13417 (imagemagick-enabled-types): Remove CIN and EPS*.
13418
13419 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13420
13421 * emacs-lisp/cl-lib.el: Rename from cl.el.
13422 * emacs-lisp/cl.el: New compatibility file.
13423 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13424 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13425 to obey the "cl-" prefix.
13426 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13427
13428 2012-06-03 Glenn Morris <rgm@gnu.org>
13429
13430 * emacs-lisp/authors.el (authors-aliases): Addition.
13431
13432 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13433 Fix :version.
13434
13435 2012-06-03 Stefan Merten <smerten@oekonux.de>
13436
13437 * textmodes/rst.el: Add comments.
13438 (rst-transition, rst-adornment): New faces.
13439 (rst-adornment-faces-alist): Make default safe to reevaluate.
13440 Fixes
13441 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13442 Improve customization tags.
13443 (rst-define-level-faces): Clarify meaning.
13444
13445 2012-06-03 Chong Yidong <cyd@gnu.org>
13446
13447 * progmodes/compile.el (compilation-mode-line-fail)
13448 (compilation-mode-line-run, compilation-mode-line-exit):
13449 New faces.
13450 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13451
13452 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13453
13454 * progmodes/which-func.el (which-func-update-ediff-windows):
13455 New function. Use it in ediff-select-hook (Bug#11478).
13456
13457 2012-06-03 Chong Yidong <cyd@gnu.org>
13458
13459 * bindings.el: Remove explicit help text from format-mode-line.
13460 It is now supplied by mode-line-default-help-echo.
13461 (mode-line-front-space, mode-line-end-spaces)
13462 (mode-line-misc-info): New variables.
13463 (mode-line-modes, mode-line-position): Move the default value to
13464 the variable definition.
13465 (mode-line-default-help-echo): New defcustom.
13466 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13467 (mode-line-modified-help-echo): New functions.
13468 (mode-line-mule-info, mode-line-modified): Use them.
13469 (mode-line-eol-desc, propertized-buffer-identification):
13470 Consistency fixes for help text.
13471 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13472 set-buffer-file-coding-system (Bug#289).
13473 (mode-line-mule-info-help-echo): Update help text.
13474
13475 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * simple.el (execute-extended-command): Set real-this-command
13478 (bug#11506).
13479
13480 2012-06-02 Chong Yidong <cyd@gnu.org>
13481
13482 Remove incorrect uses of "modeline" in comments, docstrings, and
13483 function/variable names (Bug#10329).
13484
13485 * cus-edit.el (mode-line):
13486 * dframe.el (dframe-mouse-hscroll):
13487 * emacs-lisp/re-builder.el:
13488 * emacs-lisp/easy-mmode.el (define-minor-mode):
13489 * frame.el (set-frame-name):
13490 * help.el (lookup-minor-mode-from-indicator):
13491 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13492 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13493 (c-toggle-hungry-state):
13494 * progmodes/antlr-mode.el (antlr-language-alist):
13495 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13496 * progmodes/vhdl-mode.el (vhdl-mode):
13497 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13498 * term/ns-win.el (ns-face-at-pos):
13499 * term/sup-mouse.el (sup-mouse-report):
13500 * textmodes/flyspell.el (flyspell-mode-line-string):
13501 * textmodes/ispell.el (ispell-highlight-face):
13502 * textmodes/reftex-global.el:
13503 * vc/vc-arch.el (vc-arch-mode-line-string):
13504 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13505 * vc/vc-git.el (vc-git-mode-line-string):
13506 * vc/vc-hooks.el (vc-display-status)
13507 (vc-default-mode-line-string):
13508 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13509
13510 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13511
13512 * dired.el (dired-sort-set-mode-line): Rename from
13513 dired-sort-set-modeline. All callers changed.
13514
13515 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13516 eshell-status-in-modeline.
13517
13518 * foldout.el (foldout-mode-line-string): Rename from
13519 foldout-modeline-string. All callers changed.
13520 (foldout-update-mode-line): Rename from foldout-update-modeline.
13521
13522 * subr.el (redraw-modeline): Make into obsolete alias.
13523
13524 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13525 timeclock-modeline-display. Make old name an alias.
13526 (timeclock-update-mode-line): Likewise. All callers changed.
13527 (timeclock-mode-line-display): No need to check before using
13528 add-hook.
13529 (timeclock-relative, timeclock-day-over-hook)
13530 (timeclock-use-elapsed, timeclock-mode-string)
13531 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13532
13533 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13534 crisp-mode-modeline-string.
13535
13536 * play/solitaire.el (solitaire-build-mode-line): Rename from
13537 solitaire-build-modeline. All callers changed.
13538
13539 * play/zone.el (zone-hiding-mode-line): Rename from
13540 zone-hiding-modeline. All callers changed.
13541 (zone): Remove unusued `modeline-hidden-level' property.
13542
13543 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13544 xscheme-modeline-initialize. All callers changed.
13545
13546 * strokes.el (strokes-lighter): Rename from
13547 strokes-modeline-string.
13548
13549 * textmodes/sgml-mode.el (html-face-tag-alist)
13550 (html-tag-face-alist): Use mode-line face instead of obsolete
13551 alias modeline.
13552
13553 2012-06-02 Stefan Merten <smerten@oekonux.de>
13554
13555 * textmodes/rst.el: Always require `cl'.
13556 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13557
13558 2012-06-02 Chong Yidong <cyd@gnu.org>
13559
13560 * image.el (imagemagick-enabled-types): Rename from
13561 imagemagick-types-enable. Add many more types.
13562 (imagemagick-types-inhibit): Change default to nil.
13563 (imagemagick-filter-types): Caller changed.
13564
13565 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13566
13567 * emacs-lisp/cl-macs.el: Use backquotes.
13568 (cl-transform-function-property): Use eval-and-compile rather than
13569 abusing `require'.
13570 (defstruct): Use declare-function instead of with-no-warnings.
13571
13572 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13573 (byte-compile-output-docform): Re-add the print-circle bindings.
13574 (byte-compile-fix-header): Use #$ just because it's shorter.
13575 (byte-compile-output-file-form): Remove defun/defmacro.
13576
13577 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13578
13579 * simple.el (choose-completion): Remove now obsolete binding for
13580 owindow.
13581
13582 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13583
13584 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13585 in order to avoid "Stack overflow in regexp matcher".
13586
13587 2012-05-31 Glenn Morris <rgm@gnu.org>
13588
13589 * image.el: For clarity, call imagemagick-register-types at
13590 top-level, rather than relying on a custom :initialize.
13591 (imagemagick-types-enable): New option. (Bug#11557)
13592 (imagemagick-filter-types): New function. (Bug#7406)
13593 (imagemagick-register-types): Use imagemagick-filter-types.
13594 If disabling support, remove elements altogether rather
13595 than using an impossible regexp.
13596 (imagemagick-types-inhibit): Give it the default init function.
13597
13598 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13599
13600 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13601 Handle arbitrary file name lengths (Bug#11585).
13602
13603 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13604
13605 * desktop.el (desktop-read): Clear previous and next buffers for
13606 all windows and bury *Messages* buffer (bug#11556).
13607
13608 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13609
13610 Add `declare' for `defun'. Align `defmacro's with it.
13611 * emacs-lisp/easy-mmode.el (define-minor-mode)
13612 (define-globalized-minor-mode): Don't autoload the var definitions.
13613 * emacs-lisp/byte-run.el: Use lexical-binding.
13614 (defun-declarations-alist, macro-declarations-alist): New vars.
13615 (defmacro, defun): Use them.
13616 (make-obsolete, define-obsolete-function-alias)
13617 (make-obsolete-variable, define-obsolete-variable-alias):
13618 Use `declare'.
13619 (macro-declaration-function): Mark obsolete.
13620 * emacs-lisp/autoload.el: Use lexical-binding.
13621 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13622
13623 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13624
13625 * textmodes/ispell.el (ispell-with-no-warnings):
13626 Define as a macro.
13627 (ispell-kill-ispell, ispell-change-dictionary):
13628 Use `called-interactively-p' for Emacs instead of obsolete
13629 `interactive-p'.
13630
13631 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13632
13633 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13634 (macro-declaration-function): Move var from C code.
13635 (macro-declaration-function): Define function with defalias.
13636 * emacs-lisp/macroexp.el (macroexpand-all-1):
13637 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13638 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13639 defun/defmacro any more.
13640 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13641 Provide fallback for unknown arglist.
13642 (byte-compile-arglist-warn): Change calling convention.
13643 (byte-compile-output-file-form): Move print-vars binding.
13644 (byte-compile-output-docform): Simplify accordingly.
13645 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13646 (byte-compile-defmacro-declaration): Remove.
13647 (byte-compile-file-form-defmumble): Generalize to defalias.
13648 (byte-compile-output-as-comment): Return byte-positions.
13649 Simplify callers accordingly.
13650 (byte-compile-lambda): Use `assert'.
13651 (byte-compile-defun, byte-compile-defmacro): Remove.
13652 (byte-compile-file-form-defalias):
13653 Use byte-compile-file-form-defmumble.
13654 (byte-compile-defalias-warn): Remove.
13655
13656 2012-05-29 Stefan Merten <smerten@oekonux.de>
13657
13658 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13659 possible. Fix authors. Improve comments. Improve loading of `cl'.
13660
13661 (rst-mode-abbrev-table): Merge definition.
13662 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13663 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13664
13665 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13666
13667 * calendar/icalendar.el
13668 (icalendar-export-region): Export UID properly.
13669
13670 2012-05-29 Leo Liu <sdl.web@gmail.com>
13671 * calendar/icalendar.el (icalendar-import-format):
13672 Add `icalendar-import-format-uid' (Bug#11525).
13673 (icalendar-import-format-uid): New.
13674 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13675 Export UID.
13676
13677 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13678
13679 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13680 different alternative patterns.
13681 (pcase-codegen): Be more careful to preserve identity.
13682 (pcase--u1): Don't forget to mark vars as used.
13683
13684 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13685 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13686 (byte-compile-from-buffer): ...rather than here.
13687
13688 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13689 functions from byte-compile-function-environment.
13690
13691 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13692
13693 * window.el (window-deletable-p): Avoid deleting the root window
13694 of a frame with an active minibuffer.
13695
13696 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13697
13698 * simple.el (choose-completion): Use quit-window (Bug#11567).
13699
13700 2012-05-29 Chong Yidong <cyd@gnu.org>
13701
13702 * whitespace.el (whitespace-cleanup): Fix usage of
13703 whitespace-empty-at-bob-regexp (Bug#11492).
13704
13705 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13706
13707 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13708 revert (Bug#11488).
13709
13710 2012-05-29 Juri Linkov <juri@jurta.org>
13711
13712 * isearch.el (isearch-mode-map): Bind `M-s _' to
13713 `isearch-toggle-symbol'. Bind `M-s c' to
13714 `isearch-toggle-case-fold'.
13715 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13716 (isearch-forward): Add `M-s _' to the docstring.
13717 (isearch-forward-symbol, isearch-toggle-case-fold)
13718 (isearch-symbol-regexp): New functions. (Bug#11381)
13719
13720 2012-05-29 Juri Linkov <juri@jurta.org>
13721
13722 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13723 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13724 a function, call it to get the regexp.
13725 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13726 property `isearch-message-prefix' instead of the string "word ".
13727 (isearch-search-fun-default): For the case of `isearch-word',
13728 return a lambda that calls re-search-forward/re-search-backward
13729 with a regexp returned by `word-search-regexp' or by the function
13730 in `isearch-word'.
13731
13732 2012-05-29 Juri Linkov <juri@jurta.org>
13733
13734 * isearch.el (isearch-search-fun-default): New function.
13735 (isearch-search-fun): Move default part to the new function
13736 `isearch-search-fun-default'.
13737 (isearch-search-fun-function): Set the default value to
13738 `isearch-search-fun-default'. (Bug#11381)
13739
13740 * comint.el (comint-history-isearch-end):
13741 Use `isearch-search-fun-default'.
13742 (comint-history-isearch-search): Use `isearch-search-fun-default'
13743 and remove spacial case for `isearch-word'.
13744 (comint-history-isearch-wrap): Remove spacial case for
13745 `isearch-word'.
13746
13747 * hexl.el (hexl-isearch-search-function):
13748 Use `isearch-search-fun-default'.
13749
13750 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13751 Use `word-search-regexp' for `isearch-word'.
13752
13753 * misearch.el (multi-isearch-search-fun):
13754 Use `isearch-search-fun-default'.
13755
13756 * simple.el (minibuffer-history-isearch-search):
13757 Use `isearch-search-fun-default' and remove spacial case for
13758 `isearch-word'.
13759 (minibuffer-history-isearch-wrap): Remove spacial case for
13760 `isearch-word'.
13761
13762 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13763 Remove spacial case for `isearch-word'.
13764 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13765
13766 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13767
13768 Decrease XEmacs incompatibilities.
13769 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13770 Use `string-match'.
13771 (flyspell-delete-region-overlays): Use alternative definition for
13772 XEmacs.
13773 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13774 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13775 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13776 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13777 `define-obsolete-face-alias' under XEmacs, but old method.
13778
13779 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13780 `with-no-warnings' definition or Emacs alias.
13781 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13782 (ispell-word): Do not use `region-p' if XEmacs.
13783
13784 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13785
13786 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13787 Check for `ispell-dictionary-base-alist' instead of full
13788 `ispell-dictionary-alist'.
13789 (ispell-init-process): Show spellchecker when starting new Ispell
13790 process.
13791
13792 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13793
13794 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13795 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13796
13797 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13798
13799 * version.el (motif-version-string, gtk-version-string)
13800 (ns-version-string): Declare.
13801
13802 2012-05-27 Juri Linkov <juri@jurta.org>
13803
13804 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13805 after the `eval-defun-1' specialcaseing
13806 like in `edebug-eval-defun' (bug#10181).
13807
13808 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13809 like in `eval-defun-1'.
13810
13811 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13812
13813 * mail/sendmail.el (mail-yank-region):
13814 Recognize rmail-yank-current-message in addition to insert-buffer.
13815 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13816 a *mail* buffer created through rmail-start-mail with sendmail as
13817 mail-user-agent.
13818
13819 2012-05-27 Chong Yidong <cyd@gnu.org>
13820
13821 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13822 Default to 256 (Bug#11267).
13823
13824 * help.el (describe-mode): Doc fix.
13825
13826 2012-05-26 Glenn Morris <rgm@gnu.org>
13827
13828 * w32-fns.el (w32-init-info): Remove.
13829 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13830
13831 * info.el (info-initialize): For self-contained NS builds, put the
13832 included info/ directory at the front. (Bug#2791)
13833
13834 * paths.el (Info-default-directory-list): Make it a defcustom,
13835 mainly so that we can use custom-initialize-delay.
13836
13837 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13838
13839 * subr.el (buffer-has-markers-at): Mark obsolete.
13840
13841 * subr.el (lambda): Use declare.
13842
13843 * emacs-lisp/lisp-mode.el (lambda):
13844 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13845
13846 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13847
13848 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13849
13850 2012-05-26 Glenn Morris <rgm@gnu.org>
13851
13852 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13853
13854 2012-05-25 Glenn Morris <rgm@gnu.org>
13855
13856 * paths.el: Remove no-byte-compile.
13857 * loadup.el: No need to load paths.el uncompiled.
13858
13859 * image.el (imagemagick-types-inhibit): Doc fix.
13860
13861 * version.el: Remove no-byte-compile and associated formatting.
13862 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13863 is ancient code from when there was an "inc-vers.el".
13864
13865 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13866
13867 * progmodes/gdb-mi.el: Minor style changes.
13868 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13869 Turn into minor modes.
13870 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13871 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13872 (gdb-shell): Remove unneeded let-binding.
13873 (gdb-get-many-fields): Eliminate O(n²) behavior.
13874
13875 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13876
13877 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13878 platforms that don't link in fontset.c.
13879
13880 2012-05-25 Juri Linkov <juri@jurta.org>
13881
13882 Use the same diff color scheme as in modern VCSes (bug#10181).
13883
13884 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13885 to avoid confusion with `diff-added' that now uses green colors.
13886 (diff-removed): Use shades of red.
13887 (diff-added): Use shades of green.
13888 (diff-changed): Leave just the yellow color.
13889 (diff-use-changed-face): New variable.
13890 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13891 how to highlight context diff changes.
13892 (diff-refine-change): Use shades of yellow.
13893 (diff-refine-removed): New face that uses shades of red.
13894 (diff-refine-added): New face that uses shades of green.
13895 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13896 `diff-refine-removed' in the call to `smerge-refine-subst'
13897 depending on the value of `diff-use-changed-face'.
13898
13899 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13900 (smerge-other): Use shades of green.
13901 (smerge-base): Use shades of yellow.
13902 (smerge-refined-change): Empty face.
13903 (smerge-refined-removed): New face that uses shades of red.
13904 (smerge-refined-added): New face that uses shades of green.
13905 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13906 args `props-r' and `props-a', and use them. Doc fix.
13907 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13908 on its value use different faces `smerge-refined-change',
13909 `smerge-refined-removed', `smerge-refined-added' in the call to
13910 `smerge-refine-subst'.
13911
13912 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13913 Add face condition `min-colors 88' with shades of red.
13914 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13915 `min-colors 88' with shades of green.
13916 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13917 `min-colors 88' with shades of yellow.
13918
13919 2012-05-24 Glenn Morris <rgm@gnu.org>
13920
13921 * paths.el (prune-directory-list, remote-shell-program): Move to...
13922 * files.el (prune-directory-list, remote-shell-program): ...here.
13923 For the latter, delay initialization, prefer ssh, just search PATH.
13924
13925 * paths.el (term-file-prefix): Move to faces.el (the only user).
13926 * faces.el (term-file-prefix): Move here, make it a defcustom.
13927
13928 * paths.el (news-directory, news-path, news-inews-program):
13929 Move to gnus/nnspool.el.
13930
13931 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13932
13933 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13934 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13935 Make the latter a defcustom, with a delayed initialization.
13936
13937 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13938 These were deleted from Gnus itself late 2010.
13939
13940 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13941
13942 * progmodes/which-func.el (which-func-ff-hook):
13943 Check against user-error, not error.
13944
13945 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13946 cl-specs.el, which no longer exists.
13947
13948 2012-05-22 Glenn Morris <rgm@gnu.org>
13949
13950 * info.el (info-emacs-bug): New command.
13951 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13952 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13953
13954 2012-05-21 Glenn Morris <rgm@gnu.org>
13955
13956 * makefile.w32-in (update-subdirs-SH):
13957 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13958
13959 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13960
13961 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13962
13963 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13964 Simplify Maven regexp, and make sure the file can't start with a space
13965 (bug#11517).
13966
13967 2012-05-21 Glenn Morris <rgm@gnu.org>
13968
13969 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13970 Scrap superfluous subshells.
13971
13972 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13973
13974 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13975 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13976
13977 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13978
13979 * calc/calc.el (calc-ensure-consistent-units): New variable.
13980
13981 * calc/calc-units.el (math-consistent-units-p)
13982 (math-check-unit-consistency): New functions.
13983 (calc-quick-units, calc-convert-units):
13984 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13985 is non-nil.
13986 (calc-extract-units): Fix typo.
13987
13988 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13989
13990 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13991
13992 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13993 (flyspell-default-deplacement-commands): Don't spell check after
13994 repeated window/frame switches (e.g. triggered by mouse-movement).
13995 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13996 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13997 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13998 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13999 Remove unused vars.
14000 (flyspell-get-casechars, flyspell-get-not-casechars):
14001 Simplify; Don't bother removing a ] just to add it back.
14002 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14003
14004 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14005
14006 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14007 New functions.
14008 (math-function-table): Add support for more C functions.
14009
14010 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14011
14012 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14013 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14014 Protect delay handling for otherchars against empty otherchars.
14015
14016 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14017
14018 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14019 their respective macro declarations.
14020 * skeleton.el (define-skeleton):
14021 * progmodes/compile.el (define-compilation-mode):
14022 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14023 (define-ibuffer-filter):
14024 * emacs-lisp/generic.el (define-generic-mode):
14025 * emacs-lisp/easy-mmode.el (define-minor-mode)
14026 (define-globalized-minor-mode):
14027 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14028 * emacs-lisp/byte-run.el (defsubst):
14029 * custom.el (deftheme): Add doc-string metadata.
14030
14031 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14032
14033 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14034
14035 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14036
14037 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14038
14039 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14040 * emacs-lisp/cl-macs.el: Idem.
14041 * emacs-lisp/cl-specs.el: Remove.
14042
14043 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14044
14045 Minor renaming of internal CL functions and variables.
14046 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14047 (cl--position): Rename from cl-position.
14048 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14049 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14050 (cl--random-state): Rename from *random-state*.
14051
14052 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14053
14054 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14055 parens around the arg list (bug#11499).
14056
14057 2012-05-17 Juri Linkov <juri@jurta.org>
14058
14059 * isearch.el (word-search-regexp, word-search-backward)
14060 (word-search-forward, word-search-backward-lax)
14061 (word-search-forward-lax): Move functions from search.c
14062 (bug#10145, bug#11381).
14063
14064 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14065
14066 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14067 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14068 Delay for otherchars as for normal word components.
14069
14070 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14071
14072 * minibuffer.el (completion--sifn-requote): Fix last change.
14073 (minibuffer-local-must-match-filename-map):
14074 Move define-obsolete-variable-alias before its var.
14075
14076 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14077
14078 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14079
14080 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14081 behavior.
14082 (completion--string-equal-p): New function.
14083 (completion--twq-all): Use it to get better assertion failure data.
14084
14085 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14086 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14087 (shell--requote-argument): New functions.
14088 (shell-completion-vars): Use them.
14089 (shell--parse-pcomplete-arguments): Rename from
14090 shell-parse-pcomplete-arguments.
14091 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14092 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14093 Obey comint-file-name-quote-list.
14094
14095 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14096 (smie-indent-keyword): Use it.
14097
14098 2012-05-14 Stefan Merten <smerten@oekonux.de>
14099
14100 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14101
14102 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14103
14104 * net/rlogin.el (rlogin-mode-map): Fix last change.
14105
14106 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14107
14108 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14109 the following \r\n using a single `process-send-string', since the
14110 Lotus SMTP server refuses to accept any commands if they are sent
14111 with two `process-send-string's (Bug#11444).
14112
14113 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14114
14115 * shell.el (shell-parse-pcomplete-arguments):
14116 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14117
14118 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14119
14120 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14121 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14122 (image-transform-width, image-transform-fit-width): New functions.
14123 (image-transform-properties): Use them.
14124 (image-transform-check-size): New function.
14125 (image-toggle-display-image): Use it (for testing).
14126 (image-transform-set-rotation): Reduce angle mod 360.
14127 Delete obsolete comment.
14128
14129 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14130
14131 * image-mode.el: Fix scaling (bug#11399).
14132 (image-transform-resize): Doc fix.
14133 (image-transform-properties): Default scale is 1 and height should
14134 be an integer.
14135
14136 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14137
14138 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14139 than hard-coding `car', to fix misbehavior when moving forward.
14140
14141 2012-05-13 Chong Yidong <cyd@gnu.org>
14142
14143 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14144 (tabulated-list-entries, tabulated-list-padding)
14145 (tabulated-list-sort-key): Make permanent-local.
14146
14147 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14148 (electric-buffer-list): Put electric buffer menu
14149 command descriptions in this docstring, instead of the docstring
14150 of electric-buffer-menu-mode. Code cleanups.
14151 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14152 Electric-buffer-menu-mode.
14153 (electric-buffer-update-highlight): Minor code cleanup.
14154
14155 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14156
14157 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14158 (Bug#11447)
14159
14160 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14161
14162 Move define-obsolete-variable-alias before the var's definition.
14163 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14164 * tooltip.el (tooltip-hook):
14165 * textmodes/reftex-toc.el (reftex-toc-map):
14166 * textmodes/reftex-sel.el (reftex-select-label-map)
14167 (reftex-select-bib-map):
14168 * textmodes/reftex-index.el (reftex-index-map)
14169 (reftex-index-phrases-map):
14170 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14171 * progmodes/meta-mode.el (meta-mode-map):
14172 * novice.el (disabled-command-hook):
14173 * loadhist.el (unload-hook-features-list):
14174 * frame.el (blink-cursor):
14175 * files.el (find-file-not-found-hooks, write-file-hooks)
14176 (write-contents-hooks):
14177 * emulation/tpu-edt.el (GOLD-map):
14178 * emacs-lock.el (emacs-lock-from-exiting):
14179 * emacs-lisp/generic.el (generic-font-lock-defaults):
14180 * emacs-lisp/chart.el (chart-map):
14181 * dos-fns.el (register-name-alist):
14182 * dired-x.el (dired-omit-files-p):
14183 * desktop.el (desktop-enable):
14184 * cus-edit.el (custom-mode-hook):
14185 * buff-menu.el (buffer-menu-mode-hook):
14186 * bookmark.el (bookmark-read-annotation-text-func)
14187 (bookmark-exit-hooks):
14188 * allout.el (allout-mode-deactivate-hook)
14189 (allout-exposure-change-hook, allout-structure-added-hook)
14190 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14191 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14192 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14193 comes before the corresponding variable's definition.
14194
14195 2012-05-12 Chong Yidong <cyd@gnu.org>
14196
14197 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14198 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14199 (Buffer-menu-mode-map): Bind it.
14200 (Buffer-menu--pretty-name): Add a mouse-face property.
14201
14202 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14203
14204 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14205 (prolog-upper-case-string, prolog-lower-case-string)
14206 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14207 (prolog-use-smie, prolog-smie-grammar): New vars.
14208 (prolog-smie-forward-token, prolog-smie-backward-token)
14209 (prolog-smie-rules): New funs.
14210 (prolog-comment-indent): Remove.
14211 (prolog-mode-variables): Use default comment indentation instead.
14212 Setup SMIE.
14213 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14214 (prolog-mode): Don't call them any more.
14215 (prolog-electric-colon, prolog-electric-dash)
14216 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14217
14218 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14219
14220 * minibuffer.el (completion--twq-all): Again, allow case differences.
14221
14222 * term.el: Move keymap initialization code to be more idiomatic.
14223 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14224 (term-terminal-menu): Move initialization into declaration.
14225 (term-escape-char): Let the user set it in her .emacs.
14226
14227 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14228 Provide SMIE-based indentation (not enabled by default yet).
14229 (sh-mode-map): Don't bind electric keys.
14230 Use electric-pair-mode instead of skeleton-pair.
14231 (sh-assignment-regexp): Fit within 80 columns.
14232 (sh-indent-supported): Specify actual shell name instead of boolean.
14233 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14234 (sh-maybe-here-document): Use it. Make obsolete.
14235 (sh-electric-here-document-mode) New minor mode.
14236 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14237 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14238 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14239 (sh-smie-rc-grammar, sh-use-smie): New vars.
14240 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14241 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14242 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14243 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14244 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14245 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14246 (sh-set-shell): Use smie-setup if requested.
14247
14248 * term.el (term-set-escape-char): Properly set term-escape-char.
14249 See http://stackoverflow.com/questions/10524656.
14250
14251 2012-05-10 Chong Yidong <cyd@gnu.org>
14252
14253 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14254 Use url-generic-parse-url, and handle host names and Windows
14255 filenames properly.
14256 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14257 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14258 URL schemes to work on.
14259 (ffap--toggle-read-only): New function.
14260 (ffap-read-only, ffap-read-only-other-window)
14261 (ffap-read-only-other-frame): Use it.
14262 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14263 necessary for ffap-url-unwrap-remote.
14264
14265 2012-05-10 Dave Abrahams <dave@boostpro.com>
14266
14267 * cus-start.el (create-lockfiles): Add it.
14268
14269 2012-05-09 Chong Yidong <cyd@gnu.org>
14270
14271 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14272 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14273
14274 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14275
14276 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14277
14278 2012-05-09 Chong Yidong <cyd@gnu.org>
14279
14280 * ansi-color.el (ansi-color-process-output): Check for validity of
14281 comint-last-output-start before using it. This avoids a bad
14282 interaction with gdb-mi's input/output buffer.
14283
14284 2012-05-09 Glenn Morris <rgm@gnu.org>
14285
14286 * files.el (dir-locals-read-from-file):
14287 Mention dir-locals in any error message.
14288
14289 2012-05-09 Chong Yidong <cyd@gnu.org>
14290
14291 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14292 package (Bug#11410).
14293
14294 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14295 variables into description.
14296
14297 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14298
14299 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14300 shell-delimiter-argument-list (bug#11348).
14301 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14302
14303 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14304
14305 * textmodes/rst.el: Silence byte-compiler warnings.
14306 (rst-re-alist, rst-reset-section-caches): Move around.
14307 (rst-re): Use `characterp', not `char-valid-p'.
14308 (font-lock-beg, font-lock-end): Declare.
14309
14310 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14311 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14312
14313 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14314
14315 2012-05-08 Glenn Morris <rgm@gnu.org>
14316
14317 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14318
14319 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14320
14321 * vc/log-edit.el: Add GNU coding standards highlighting.
14322 (log-edit-font-lock-gnu-style)
14323 (log-edit-font-lock-gnu-keywords): New vars.
14324 (log-edit-font-lock-keywords): New fun.
14325 (log-edit-mode): Don't fold case in font-lock.
14326 (log-edit-font-lock-keywords): Do not assume case-folding.
14327
14328 * imenu.el: Misc cleanup. Make docstrings out of comments.
14329 Use lexical-binding.
14330 (imenu--index-alist, imenu--last-menubar-index-alist)
14331 (imenu-menubar-modified-tick): Use defvar-local.
14332 (imenu--split-menu): Remove unused var.
14333 (imenu--cleanup-seen): Declare as global.
14334 (imenu--cleanup): Use dolist.
14335
14336 * subr.el (defvar-local): Add debug spec and doc-string position.
14337
14338 2012-05-08 Glenn Morris <rgm@gnu.org>
14339
14340 * language/burmese.el, language/cham.el, language/czech.el:
14341 * language/english.el, language/georgian.el, language/greek.el:
14342 * language/japanese.el, language/khmer.el, language/korean.el:
14343 * language/lao.el, language/misc-lang.el, language/romanian.el:
14344 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14345 * language/thai.el, language/utf-8-lang.el:
14346 Remove no-byte-compile setting.
14347
14348 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14349
14350 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14351
14352 * progmodes/make-mode.el (makefile-browse):
14353 Remove unnecessary interactive. (Bug#11324)
14354
14355 2012-05-07 Glenn Morris <rgm@gnu.org>
14356
14357 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14358
14359 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14360
14361 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14362
14363 * loadup.el: Preload newcomment.el.
14364 * newcomment.el: Move autoload-only code to toplevel.
14365
14366 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14367 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14368 Handle new :right-align column property.
14369 (tabulated-list-print-col): Idem, plus use `display' text-property to
14370 try and preserve alignment for variable pitch fonts.
14371
14372 2012-05-07 Chong Yidong <cyd@gnu.org>
14373
14374 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14375 (tabulated-list-use-header-line): New var.
14376 (tabulated-list-init-header): Use it.
14377 (tabulated-list-print-fake-header): New function.
14378 (tabulated-list-print): Use it.
14379 (tabulated-list-sort-button-map): Add non-header-line commands.
14380 (tabulated-list-init-header): Add column name property to basic
14381 labels as well.
14382 (tabulated-list-col-sort): Handle non-header-line button case.
14383 (tabulated-list--sort-by-column-name): Fix a corner case.
14384
14385 * buff-menu.el (list-buffers--refresh):
14386 Handle Buffer-menu-use-header-line.
14387
14388 2012-05-06 Chong Yidong <cyd@gnu.org>
14389
14390 * buff-menu.el: Convert to Tabulated List mode.
14391 (Buffer-menu-buffer+size-width): Make obsolete.
14392 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14393 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14394 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14395 documentation into docstring of buffer-menu.
14396 (Buffer-menu-toggle-files-only): Add an informative message.
14397 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14398 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14399 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14400 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14401 (Buffer-menu-execute, Buffer-menu-select)
14402 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14403 (Buffer-menu-bury): Use Tabulated List machinery.
14404 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14405 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14406 Delete.
14407 (list-buffers--refresh): New function.
14408 (list-buffers-noselect): Use it.
14409 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14410 (Buffer-menu--pretty-file-name): New helper functions.
14411
14412 * loadup.el: Preload tabulated-list.
14413
14414 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14415 tabulated-list-sort-column.
14416 (tabulated-list-init-header): Add the initial aligning space even
14417 if tabulated-list-padding is zero.
14418
14419 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14420
14421 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14422 whose cdr is not a cons cell correctly (bug#11038).
14423
14424 2012-05-06 Chong Yidong <cyd@gnu.org>
14425
14426 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14427 Accept additional plist in column descriptors.
14428 (tabulated-list-init-header): Obey it.
14429 (tabulated-list-get-entry): New function.
14430 (tabulated-list-put-tag): Use it. Use string-width instead of
14431 length.
14432 (tabulated-list--column-number): New function.
14433 (tabulated-list-print): Use it.
14434 (tabulated-list-print-col): New function.
14435 Set `tabulated-list-column-name' property on each column's text.
14436 (tabulated-list-print-entry): Use it.
14437 (tabulated-list-delete-entry, tabulated-list-set-col):
14438 New functions.
14439 (tabulated-list-sort-column): New command (Bug#11337).
14440
14441 * buff-menu.el (list-buffers): Move C-x C-b binding from
14442 buff-menu.el to bindings.el.
14443
14444 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14445 :advertised-binding feature.
14446
14447 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14448
14449 * progmodes/compile.el (compilation-internal-error-properties):
14450 Calculate start position correctly when end-col is set but
14451 end-line is not (Bug#11382).
14452
14453 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14454
14455 * man.el (Man-unindent): Use text-property-default-nonsticky to
14456 prevent untabify from inheriting face properties (Bug#11408).
14457
14458 2012-05-05 Stefan Merten <smerten@oekonux.de>
14459
14460 * textmodes/rst.el: Major merge with upstream development up to
14461 Docutils SVN r7399 / rst.el V1.2.1.
14462
14463 Clarify maintainership and authors.
14464
14465 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14466 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14467 (rst-official-version, rst-official-cvs-rev, rst-version)
14468 (rst-package-emacs-version-alist): New functions and variables
14469 for version information.
14470
14471 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14472 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14473 (rst-mode-syntax-table, rst-mode): New and corrected functions
14474 and variables representing reStructuredText features.
14475
14476 (rst-re): New function for reStructuredText regexes. Use in
14477 many places.
14478
14479 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14480 (rst-mode-map): Rebind keys.
14481
14482 (rst-mode-lazy, rst-font-lock-keywords)
14483 (rst-font-lock-extend-region)
14484 (rst-font-lock-extend-region-internal)
14485 (rst-font-lock-extend-region-extend)
14486 (rst-font-lock-find-unindented-line-limit)
14487 (rst-font-lock-find-unindented-line-match)
14488 (rst-adornment-level, rst-font-lock-adornment-level)
14489 (rst-font-lock-adornment-match)
14490 (rst-font-lock-handle-adornment-pre-match-form)
14491 (rst-font-lock-handle-adornment-matcher): Major revision of
14492 font-locking. Integrate with other code. Use `jit-lock-mode'.
14493
14494 (rst-preferred-adornments, rst-adjust-hook)
14495 (rst-new-adornment-down, rst-preferred-bullets)
14496 (rst-preferred-bullets, rst-indent, rst-indent-width)
14497 (rst-indent-field, rst-indent-literal-normal)
14498 (rst-indent-literal-minimized, rst-indent-comment): Change,
14499 extend and improve customization.
14500
14501 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14502 (rst-normalize-cursor-position, rst-get-decoration)
14503 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14504 (rst-rstrip, rst-toc-insert-find-delete-contents)
14505 (rst-shift-fill-region, rst-compute-bullet-tabs)
14506 (rst-debug-print-tabs, rst-debug-mark-found)
14507 (rst-shift-region-guts, rst-shift-region-right)
14508 (rst-shift-region-left, rst-use-char-classes)
14509 (rst-font-lock-keywords-function)
14510 (rst-font-lock-indentation-point)
14511 (rst-font-lock-find-unindented-line-begin)
14512 (rst-font-lock-find-unindented-line-end)
14513 (rst-font-lock-find-unindented-line)
14514 (rst-font-lock-adornment-point, rst-font-lock-level)
14515 (rst-adornment-level-alist): Remove functions and variables.
14516
14517 (rst-compare-adornments, rst-get-adornment-match)
14518 (rst-suggest-new-adornment, rst-get-adornments-around)
14519 (rst-adornment-complete-p, rst-get-next-adornment)
14520 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14521 (rst-straighten-adornments): Standardize function names to
14522 use "adornment" instead of "decoration". Correct callers.
14523 Similar standardizing in many places.
14524
14525 (rst-update-section, rst-adjust, rst-promote-region)
14526 (rst-enumerate-region, rst-bullet-list-region)
14527 (rst-repeat-last-character): Correct use of `interactive'.
14528
14529 (rst-classify-adornment, rst-find-all-adornments)
14530 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14531 (rst-find-leftmost-column, rst-repeat-last-character):
14532 Refactor functions.
14533
14534 (rst-find-title-line, rst-reset-section-caches)
14535 (rst-get-adornments-around, rst-adjust-adornment-work)
14536 (rst-arabic-to-roman, rst-roman-to-arabic)
14537 (rst-insert-list-pos, rst-insert-list-new-item)
14538 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14539 New functions.
14540
14541 (rst-all-sections, rst-section-hierarchy)
14542 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14543 New variables.
14544
14545 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14546 configuration instead of only buffer. Change where necessary.
14547
14548 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14549 (rst-shift-region, rst-adaptive-fill): New functions for
14550 indentation and filling.
14551
14552 (rst-comment-line-break, rst-comment-indent)
14553 (rst-comment-insert-comment, rst-comment-region)
14554 (rst-uncomment-region): New functions for handling comments.
14555
14556 (rst-compile): Quote shell arguments.
14557
14558 (rst-compile-pdf-preview, rst-compile-slides-preview):
14559 Delete temporary files after use.
14560
14561 2012-05-05 Glenn Morris <rgm@gnu.org>
14562
14563 * calendar/cal-html.el: Optionally include holidays in the output.
14564 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14565 (cal-html-holidays): New option.
14566 (cal-html-css-default): Add holiday entry.
14567 (holiday-in-range): Autoload it.
14568 (cal-html-htmlify-entry): Add optional class argument.
14569 (cal-html-htmlify-list): Add optional holidays argument.
14570 (cal-html-insert-agenda-days): Include holidays in the output.
14571 (cal-html-one-month): Maybe include holidays.
14572
14573 * calendar/holidays.el (holiday-in-range):
14574 Move here from cal-tex-list-holidays.
14575 * calendar/cal-tex.el (cal-tex-list-holidays):
14576 Make it an obsolete alias for holiday-in-range. Update all callers.
14577
14578 2012-05-05 Chong Yidong <cyd@gnu.org>
14579
14580 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14581 Nextstep.
14582
14583 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14584
14585 * files.el (file-auto-mode-skip): New var.
14586 (set-auto-mode-1): Use it.
14587
14588 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14589
14590 * repeat.el: Use lexical-binding.
14591 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14592 (repeat-undo-count): Remove.
14593 (repeat):
14594 * progmodes/octave-mod.el (octave-abbrev-start):
14595 * progmodes/f90.el (f90-abbrev-start):
14596 * face-remap.el (text-scale-adjust):
14597 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14598
14599 * emacs-lisp/pcase.el (pcase--let*): New function.
14600 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14601 a bit more.
14602 (pcase--split-pred): Be more clever about ruling out overlap between
14603 a predicate and some constant pattern.
14604 (pcase--q1): Use `null' instead of (eq foo nil).
14605
14606 * subr.el (setq-local, defvar-local): New macros.
14607 (kbd): Redefine as an alias.
14608 (with-selected-window): Leave unrelated frames alone.
14609 (set-temporary-overlay-map): New function.
14610
14611 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14612
14613 * subr.el (user-error): New function.
14614 * window.el (switch-to-buffer):
14615 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14616 (smerge-match-conflict):
14617 * simple.el (previous-matching-history-element)
14618 (next-matching-history-element, goto-history-element, undo-more)
14619 (undo-start):
14620 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14621 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14622 (next-file, tags-loop-scan, list-tags, complete-tag):
14623 * progmodes/compile.el (compilation-loop):
14624 * mouse.el (mouse-minibuffer-check):
14625 * man.el (Man-bgproc-sentinel, Man-goto-page):
14626 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14627 (Info-history-forward, Info-follow-reference, Info-menu)
14628 (Info-extract-menu-item, Info-extract-menu-counting)
14629 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14630 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14631 (Info-next-reference, Info-prev-reference, Info-index)
14632 (Info-index-next, Info-follow-nearest-node)
14633 (Info-copy-current-node-name):
14634 * imenu.el (imenu--make-index-alist)
14635 (imenu-default-create-index-function, imenu-add-to-menubar):
14636 * files.el (basic-save-buffer, recover-file):
14637 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14638 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14639 (checkdoc-message-text, checkdoc-defun):
14640 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14641 * cus-edit.el (customize-changed-options, customize-rogue)
14642 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14643 (custom-variable-mark-to-reset-standard)
14644 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14645 (custom-file):
14646 * completion.el (check-completion-length):
14647 * comint.el (comint-search-arg)
14648 (comint-previous-matching-input-string-position)
14649 (comint-previous-matching-input)
14650 (comint-replace-by-expanded-history-before-point, comint-send-input)
14651 (comint-copy-old-input, comint-backward-matching-input)
14652 (comint-goto-process-mark, comint-set-process-mark):
14653 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14654 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14655
14656 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14657
14658 * dabbrev.el (dabbrev--ignore-case-p): New function.
14659 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14660 Use it.
14661
14662 * files.el (automount-dir-prefix): Mark as obsolete.
14663
14664 2012-05-04 Glenn Morris <rgm@gnu.org>
14665
14666 * patcomp.el, play/bruce.el: Move to obsolete/.
14667
14668 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14669
14670 Fix minor Y10k bugs.
14671 * arc-mode.el (archive-unixdate):
14672 * autoinsert.el (auto-insert-alist):
14673 * calc/calc-forms.el (math-this-year):
14674 * emacs-lisp/copyright.el (copyright-current-year)
14675 (copyright-update-year, copyright):
14676 * tar-mode.el (tar-clip-time-string):
14677 * time.el (display-time-update):
14678 Don't assume years have 4 digits.
14679
14680 2012-05-04 Chong Yidong <cyd@gnu.org>
14681
14682 * dos-w32.el (file-name-buffer-file-type-alist)
14683 (direct-print-region-use-command-dot-com):
14684 * ffap.el (ffap-menu-regexp):
14685 * find-file.el (ff-special-constructs):
14686 * follow.el (follow-debug):
14687 * forms.el (forms--debug):
14688 * iswitchb.el (iswitchb-all-frames):
14689 * ido.el (ido-all-frames):
14690 * emacs-lisp/timer.el (timer-max-repeats):
14691 * mail/feedmail.el (feedmail-mail-send-hook)
14692 (feedmail-mail-send-hook-queued):
14693 * mail/footnote.el (footnote-signature-separator):
14694 * mail/mailabbrev.el (mail-alias-separator-string)
14695 (mail-abbrev-mode-regexp):
14696 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14697 * progmodes/idlwave.el (idlwave-libinfo-file)
14698 (idlwave-default-completion-case-is-down)
14699 (idlwave-library-routines): Convert defvars to defcustoms.
14700
14701 * mail/rmail.el (rmail-decode-mime-charset):
14702 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14703 (idlwave-shell-fix-inserted-breaks)
14704 (idlwave-shell-activate-alt-keybindings)
14705 (idlwave-shell-use-breakpoint-glyph):
14706 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14707
14708 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14709
14710 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14711
14712 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14713
14714 * progmodes/verilog-mode.el (font-lock-keywords):
14715 Fix mis-highligting auto. Reported by Craig Barner.
14716 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14717 defines from global name space. Reported by Dan Dever.
14718 (verilog-auto-reset, verilog-auto-reset-widths)
14719 (verilog-auto-tieoff): Support using unbased numbers for
14720 AUTORESET and AUTOTIEOFF.
14721 (verilog-submit-bug-report): Update variable list.
14722 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14723 parenthesis from not matching. Reported by Michael Rytting.
14724 (verilog-auto-template-lint): Fix hash error when linting modules
14725 with no used templates.
14726 (verilog-warn, verilog-warn-error)
14727 (verilog-warn-fatal): When non-interactive report multiple
14728 warnings before exiting. Suggested by Brad Dobbie.
14729 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14730 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14731 to report unused template errors. Reported by Brad Dobbie.
14732 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14733 nets, bug438. Reported by Vns Blore.
14734 (verilog-auto-inout-module, verilog-auto-reg)
14735 (verilog-read-decls, verilog-read-sub-decls-sig)
14736 (verilog-signals-edit-wire-reg, verilog-signals-with):
14737 Fix passing of Verilog data types in ANSI input/output ports
14738 such as "output logic" into the AUTOs. Special case "wire" and
14739 "reg" for backwards compatibility presuming Verilog 2001.
14740 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14741 (verilog-preprocess): Fix replication of preprocess output.
14742 Reported by Brad Dobbie.
14743 (verilog-auto-inst-interfaced-ports):
14744 Create verilog-auto-inst-interfaced-ports, bug429.
14745 Reported by Julian Gorfajn.
14746 (verilog-after-save-font-hook)
14747 (verilog-before-save-font-hook): New variable.
14748 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14749 (verilog-save-font-mods): Wrap disabling fontification, reported
14750 by David Rogoff.
14751 (verilog-do-indent, verilog-pretty-declarations-auto)
14752 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14753 Reported by Pierre-David Pfister.
14754 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14755 of class declarations, bug292. Reported by Kevin Heilman.
14756 (verilog-read-decls): Fix 'parameter type' not appearing in
14757 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14758 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14759 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14760 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14761 Reported by David Kravitz.
14762
14763 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14764
14765 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14766 assignment with tests in ifs and for loops.
14767 (verilog-extended-complete-re, verilog-complete-reg): Change so
14768 that DPI inport functions don't look like fuction declarations.
14769 (verilog-pretty-expr): Don't line up assignment
14770 operations to the test and increment in if and for loops
14771 (verilog-extended-complete-re, verilog-complete-reg): Change so
14772 that DPI inport functions don't look like fuction declarations.
14773
14774 2012-05-03 Kenichi Handa <handa@m17n.org>
14775
14776 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14777 decoding, and show a warning message without signaling an error
14778 (Bug#11282).
14779
14780 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14781
14782 * emacs-lisp/bytecomp.el
14783 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14784 since cconv.el might have introduced :fun-body, internal-make-closure,
14785 and friends for bytecomp to handle (bug#11391).
14786 * custom.el (defcustom): Avoid ((λ ..) ..).
14787
14788 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14789
14790 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14791
14792 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14793
14794 * notifications.el (dbus-debug):
14795 * term/linux.el (gpm-mouse-enable):
14796 * term/screen.el (xterm-register-default-colors): Declare.
14797
14798 2012-05-02 Chong Yidong <cyd@gnu.org>
14799
14800 * cus-start.el (gc-cons-percentage, exec-suffixes)
14801 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14802 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14803 (make-cursor-line-fully-visible, void-text-area-pointer)
14804 (font-list-limit): Add customization data.
14805
14806 * allout.el (allout-exposure-change-functions)
14807 (allout-structure-added-functions)
14808 (allout-structure-deleted-functions)
14809 (allout-structure-shifted-functions): Rename abnormal hooks from
14810 *-hook, and convert to defcustoms.
14811 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14812 Convert to defcustoms.
14813 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14814
14815 * allout-widgets.el: Hook callers changed.
14816
14817 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14818
14819 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14820 the yanked message in preference to the default value of
14821 buffer-file-coding-system.
14822
14823 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14824
14825 * window.el (display-buffer--action-function-custom-type):
14826 Fix entry.
14827
14828 2012-05-02 Alan Mackenzie <acm@muc.de>
14829
14830 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14831
14832 2012-05-01 Glenn Morris <rgm@gnu.org>
14833
14834 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14835
14836 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14837
14838 * cus-edit.el (custom-variable-documentation): Simplify with format.
14839
14840 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14841 Stefan Monnier <monnier@iro.umontreal.ca>
14842
14843 * simple.el (suggest-key-bindings, execute-extended-command):
14844 Move from keyboard.c.
14845
14846 2012-05-01 Chong Yidong <cyd@gnu.org>
14847
14848 * follow.el: Eliminate advice.
14849 (set-process-filter, process-filter, sit-for): Advice deleted.
14850 (follow-mode-off-hook): Obsolete hook removed.
14851 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14852 Vars deleted.
14853 (follow-auto): Use a :set function.
14854 (follow-mode): Rewritten. Don't advise process filters.
14855 (follow-switch-to-current-buffer-all, follow-scroll-up)
14856 (follow-scroll-down): Assume follow-mode is bound.
14857 (follow-comint-scroll-to-bottom)
14858 (follow-align-compilation-windows): New functions.
14859 (follow--window-sorter): New function.
14860 (follow-all-followers): Use it to explicitly sort windows by their
14861 positions; don't make assumptions about next-window order.
14862 (follow-windows-start-end, follow-delete-other-windows-and-split)
14863 (follow-calc-win-start): Doc fix.
14864 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14865 vertical-motion unnecessarily.
14866 (follow-adjust-window): New function.
14867 (follow-post-command-hook): Use it.
14868 (follow-call-set-process-filter, follow-call-process-filter)
14869 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14870 (follow-stop-intercept-process-output, follow-generic-filter):
14871 Functions deleted.
14872 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14873 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14874 New functions, replacing advice on scroll-bar-* commands.
14875 (follow-mwheel-scroll): New function (Bug#4112).
14876
14877 * comint.el (comint-adjust-point): New function.
14878 (comint-postoutput-scroll-to-bottom): Use it.
14879 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14880
14881 2012-05-01 Glenn Morris <rgm@gnu.org>
14882
14883 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14884 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14885 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14886 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14887 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14888 Remove no-byte-compile setting.
14889
14890 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14891
14892 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14893 all-completions code to not return a number in the last cdr.
14894
14895 2012-04-30 Leo Liu <sdl.web@gmail.com>
14896
14897 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14898 read-only error.
14899
14900 2012-04-29 Chong Yidong <cyd@gnu.org>
14901
14902 * follow.el (follow-calc-win-end): Rewrite to handle partial
14903 screen lines correctly (Bug#8390).
14904 (follow-avoid-tail-recenter): Minor cleanup.
14905
14906 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14907
14908 Avoid the obsolete `assoc' package.
14909 * speedbar.el (speedbar-refresh): Avoid adelete.
14910 (speedbar-file-lists): Simplify and avoid aput.
14911 * man.el (Man--sections, Man--refpages): New vars, replacing
14912 Man-sections-alist and Man-refpages-alist.
14913 (Man-build-section-alist, Man-build-references-alist):
14914 Use them; avoid aput.
14915 (Man--last-section, Man--last-refpage): New vars.
14916 (Man-follow-manual-reference): Use them.
14917 Use the `default' arg of completing-read.
14918 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14919
14920 2012-04-27 Chong Yidong <cyd@gnu.org>
14921
14922 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14923
14924 * startup.el (x-apply-session-resources): New function.
14925
14926 * term/ns-win.el (ns-initialize-window-system):
14927 * term/w32-win.el (w32-initialize-window-system):
14928 * term/x-win.el (x-initialize-window-system): Use it to properly
14929 set menu-bar-mode and other vars from X resources, even if the
14930 initial frame is not a window-system frame (Bug#2299).
14931
14932 * subr.el (read-key): Avoid running filter function when setting
14933 up temporary tool bar entries (Bug#9922).
14934
14935 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14936
14937 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14938 (Bug#11344)
14939
14940 2012-04-27 Chong Yidong <cyd@gnu.org>
14941
14942 * select.el (xselect--encode-string): New function, split from
14943 xselect-convert-to-string.
14944 (xselect-convert-to-string): Use it.
14945 (xselect-convert-to-filename, xselect-convert-to-os)
14946 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14947 returned strings are properly encoded (Bug#11315).
14948
14949 2012-04-27 Chong Yidong <cyd@gnu.org>
14950
14951 * simple.el (delete-active-region): Move to killing custom group.
14952
14953 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14954
14955 * progmodes/which-func.el (which-func-current): Quote %
14956 characters for mode-line processing.
14957
14958 2012-04-27 Chong Yidong <cyd@gnu.org>
14959
14960 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14961 reaching eob (Bug#11286).
14962
14963 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14964
14965 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14966 (gdb): Make it buffer-local and init to zero.
14967 (gdb-control-commands-regexp): New variable.
14968 (gdb-send): Don't wrap in "-interpreter-exec console" if
14969 gdb-control-level is positive. Increment gdb-control-level
14970 whenever the command matches gdb-control-commands-regexp, and
14971 decrement it each time the command is "end". (Bug#11279)
14972
14973 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14974
14975 * window.el (adjust-window-trailing-edge, enlarge-window)
14976 (shrink-window, window-resize):
14977 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14978 windows (Bug#11276).
14979
14980 2012-04-27 Chong Yidong <cyd@gnu.org>
14981
14982 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14983 fix "missing prefix" warning. All callers changed.
14984
14985 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14986
14987 * emacs-lisp/assoc.el: Move to obsolete/.
14988
14989 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14990
14991 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14992
14993 * term/ns-win.el (ns-define-service):
14994 * progmodes/pascal.el (pascal-goto-defun):
14995 * progmodes/js.el (js--read-tab):
14996 * progmodes/etags.el (tags-lazy-completion-table):
14997 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14998 * emacs-lisp/ewoc.el (ewoc--wrap):
14999 * emacs-lisp/assoc.el (aput, adelete, amake):
15000 * doc-view.el (doc-view-convert-current-doc):
15001 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15002
15003 2012-04-26 Chong Yidong <cyd@gnu.org>
15004
15005 * image.el (image-type-from-buffer): Only return supported image
15006 type (Bug#9045).
15007
15008 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15009 value, for symmetry with diff-end-of-hunk.
15010 (diff-split-hunk, diff-find-source-location)
15011 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15012 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15013 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15014 compute the relevant hunk or file properly (Bug#6005).
15015 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15016
15017 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15018
15019 * vc/vc-mtn.el:
15020 * vc/vc-hg.el:
15021 * vc/vc-git.el:
15022 * vc/vc-dir.el:
15023 * vc/vc-cvs.el:
15024 * vc/vc-bzr.el:
15025 * vc/vc-arch.el:
15026 * vc/vc.el: Replace lexical-let by lexical-binding.
15027 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15028 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15029 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15030
15031 2012-04-26 Chong Yidong <cyd@gnu.org>
15032
15033 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15034 (diff-mode-shared-map): Bind it to / and [remap undo].
15035
15036 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15037 (ediff-window-setup-function): Use it as the default, to set up
15038 windows based on whether the current frame is graphical (Bug#2138).
15039 (ediff-choose-window-setup-function-automatically): Make obsolete.
15040
15041 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15042
15043 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15044
15045 * ffap.el: Remove old code for obsolete package.
15046 (ffap-complete-as-file-p): Remove.
15047
15048 Use completion-table-with-quoting for comint and pcomplete.
15049 * comint.el (comint--unquote&requote-argument)
15050 (comint--unquote-argument, comint--requote-argument): New functions.
15051 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15052 (comint-quote-filename): Use regexp-opt-charset.
15053 (comint--common-suffix, comint--common-quoted-suffix)
15054 (comint--table-subvert): Remove.
15055 (comint-unquote-function, comint-requote-function): New vars.
15056 (comint--complete-file-name-data): Use them with
15057 completion-table-with-quoting.
15058 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15059 * pcomplete.el (pcomplete-arg-quote-list)
15060 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15061 (pcomplete-unquote-argument-function): Default to non-nil.
15062 (pcomplete-unquote-argument): Simplify.
15063 (pcomplete--common-quoted-suffix): Remove.
15064 (pcomplete-requote-argument-function): New var.
15065 (pcomplete--common-suffix): New function.
15066 (pcomplete-completions-at-point): Use completion-table-with-quoting
15067 and completion-table-subvert.
15068
15069 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15070 (minibuffer--double-dollars): Preserve properties.
15071 (completion--sifn-requote): New function.
15072 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15073
15074 * minibuffer.el: Add support for completion of quoted/escaped data.
15075 (completion-table-with-quoting, completion-table-subvert): New funs.
15076 (completion--twq-try, completion--twq-all): New functions.
15077 (completion--nth-completion): New function.
15078 (completion-try-completion, completion-all-completions): Use it.
15079
15080 2012-04-25 Leo Liu <sdl.web@gmail.com>
15081
15082 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15083 Use compilation-message if available to find real filename.
15084
15085 2012-04-25 Chong Yidong <cyd@gnu.org>
15086
15087 * vc/diff-mode.el (diff-setup-whitespace): New function.
15088 (diff-mode): Use it.
15089
15090 * vc/diff.el (diff-sentinel):
15091 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15092 Whitespace mode variables based on diff style (Bug#8612).
15093
15094 2012-04-25 Leo Liu <sdl.web@gmail.com>
15095
15096 * progmodes/python.el (python-send-region): Add suffix .py to the
15097 temp file.
15098
15099 * files.el (auto-mode-alist): Use javascript-mode instead.
15100
15101 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15102
15103 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15104
15105 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15106 (soap-resolve-references-for-array-type): Hack to prevent self
15107 references, see Bug#9.
15108 (soap-parse-envelope): Report the contents of the 'detail' node
15109 when receiving a fault reply.
15110 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15111
15112 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15113 (soap-inspect-simple-type): New function.
15114
15115 * net/soap-client.el (soap-simple-type): New struct.
15116 (soap-default-xsd-types, soap-default-soapenc-types)
15117 (soap-decode-basic-type, soap-encode-basic-type):
15118 support unsignedInt and double basic types.
15119 (soap-resolve-references-for-simple-type)
15120 (soap-parse-simple-type, soap-encode-simple-type): New function.
15121 (soap-parse-schema): Parse xsd:simpleType declarations.
15122
15123 * net/soap-client.el (soap-default-xsd-types)
15124 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15125 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15126 the local name of "soapenc:Array".
15127 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15128 decoding integer, byte and anyURI xsd types.
15129
15130 2012-04-25 Chong Yidong <cyd@gnu.org>
15131
15132 * cus-edit.el (custom-buffer-create-internal): Update header text.
15133
15134 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15135
15136 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15137 settings on 'system-type', not on 'window-system'. On MS-Windows,
15138 set interactive-mode on in GDB.
15139
15140 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15141
15142 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15143 (ruby-syntax-propertize-regexp): Remove.
15144 (ruby-syntax-propertize-function): Split regexp into chunks.
15145 Match following code directly.
15146
15147 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15148
15149 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15150 (ruby-syntax-propertize-regexp): New function.
15151 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15152 by a special keyword.
15153
15154 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15155 (ruby-syntax-general-delimiters-goto-beg)
15156 (ruby-syntax-propertize-general-delimiters): New functions.
15157 (ruby-syntax-propertize-function): Use them to handle GDL.
15158 (ruby-font-lock-keywords): Move old handling of GDL...
15159 (ruby-font-lock-syntactic-keywords): .. to here.
15160 (ruby-calculate-indent): Adjust indentation for GDL.
15161
15162 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15163
15164 * notifications.el (top): Remove unneeded declarations.
15165 (notifications-specification-version): Change to "1.2".
15166 (notifications-interface, notifications-notify-method)
15167 (notifications-close-notification-method): Fix docstring.
15168 (notifications-get-capabilities-method): New defconst.
15169 (notifications-notify): Add :action-items, :resident and
15170 :transient hints. Change "image_data" to "image-data" and
15171 "image_path" to "image-path".
15172 (notifications-get-capabilities): New defun.
15173
15174 2012-04-24 Leo Liu <sdl.web@gmail.com>
15175
15176 * progmodes/python.el: Move hideshow setup to the end.
15177
15178 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15179
15180 * window.el (handle-select-window): Clear echo area since this is
15181 no more done by read_char (Bug#11304).
15182
15183 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15184
15185 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15186 and `/ M' to filter-derived-mode.
15187 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15188 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15189 (ibuffer-mark-by-mode): Use default rather than initial-input.
15190 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15191
15192 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15193
15194 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15195 (ibuffer-filter-by-derived-mode): New filter.
15196 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15197
15198 2012-04-23 Andreas Politz <politza@fh-trier.de>
15199
15200 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15201
15202 2012-04-23 Chong Yidong <cyd@gnu.org>
15203
15204 * cus-edit.el (customize-apropos, customize-apropos-options):
15205 Disable matching of non-option variables (Bug#11176).
15206 (customize-option, customize-option-other-window)
15207 (customize-changed-options): Doc fix.
15208 (customize-apropos-options, customize-apropos-faces)
15209 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15210
15211 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15212 Fix word list splitting (Bug#11132).
15213 (apropos-symbol, apropos-keybinding, apropos-label)
15214 (apropos-property, apropos-function-button)
15215 (apropos-variable-button, apropos-misc-button): New faces.
15216 (apropos-symbol-face, apropos-keybinding-face)
15217 (apropos-label-face, apropos-property-face, apropos-match-face):
15218 Variables removed (Bug#8396).
15219 (apropos-library-button, apropos-format-plist, apropos-print)
15220 (apropos-print-doc, apropos-describe-plist): Callers changed.
15221
15222 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15223
15224 * net/xesam.el (xesam-mode-map): Use let-bound map in
15225 initialization. (Bug#11292)
15226
15227 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15228
15229 Preserve ispell session localwords when switching back to
15230 original buffer.
15231
15232 * textmodes/ispell.el (ispell-buffer-session-localwords):
15233 New buffer-local variable to hold buffer session localwords.
15234 (ispell-kill-ispell): Add option 'clear to delete session
15235 localwords.
15236 (ispell-command-loop, ispell-change-dictionary)
15237 (ispell-buffer-local-words): Preserve session localwords when
15238 needed.
15239
15240 * textmodes/flyspell.el (flyspell-process-localwords)
15241 (flyspell-do-correct): Preserve session localwords when needed.
15242
15243 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15244
15245 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15246 using obsolete `translation-table-for-input'.
15247 (ispell-word, ispell-process-line, ispell-complete-word):
15248 Use plain `insert' instead of removed `ispell-insert-word'.
15249
15250 2012-04-22 Chong Yidong <cyd@gnu.org>
15251
15252 * cus-edit.el (custom-variable-menu)
15253 (custom-variable-reset-saved, custom-face-menu)
15254 (custom-face-reset-saved): If there is no saved value, make the
15255 "reset-saved" operation bring back the default (Bug#9509).
15256 (custom-face-state): Properly detect themed faces.
15257
15258 * faces.el (face-spec-set): Stop supporting deprecated form of
15259 third arg.
15260
15261 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15262
15263 Move functions from C to Lisp. Make non-blocking method calls
15264 the default. Implement further D-Bus standard interfaces.
15265
15266 * net/dbus.el (dbus-message-internal): Declare function.
15267 Remove unneeded function declarations.
15268 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15269 (dbus-message-type-method-return, dbus-message-type-error)
15270 (dbus-message-type-signal): Declare variables. Remove local
15271 definitions.
15272 (dbus-interface-dbus, dbus-interface-peer)
15273 (dbus-interface-introspectable, dbus-interface-properties)
15274 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15275 Adapt docstring.
15276 (dbus-interface-objectmanager): New defconst.
15277 (dbus-call-method, dbus-call-method-asynchronously)
15278 (dbus-send-signal, dbus-method-return-internal)
15279 (dbus-method-error-internal, dbus-register-service)
15280 (dbus-register-signal, dbus-register-method): New defuns, moved
15281 from dbusbind.c
15282 (dbus-call-method-handler, dbus-setenv)
15283 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15284 New defuns.
15285 (dbus-call-method-non-blocking): Make it an obsolete function.
15286 (dbus-unregister-object, dbus-unregister-service)
15287 (dbus-handle-event, dbus-register-property)
15288 (dbus-property-handler): Obey the new structure of
15289 `bus-registered-objects'.
15290 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15291 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15292 Use `dbus-call-method'.
15293
15294 2012-04-22 Chong Yidong <cyd@gnu.org>
15295
15296 * cus-edit.el (custom-commands, custom-reset-menu)
15297 (Custom-reset-standard): Tweak labels.
15298 (custom-reset-button-menu): Change default to t.
15299 (custom-buffer-create-internal): For the custom-reset-button-menu
15300 case, put the revert button first.
15301 (custom-group-subtitle): New face.
15302 (custom-group-value-create): Align docstring to a specific column.
15303
15304 * wid-edit.el (widget-documentation-link-add): Don't handle
15305 indentation in this function.
15306 (widget-documentation-string-indent-to): New function.
15307 (widget-documentation-string-value-create): Use it.
15308
15309 * autorevert.el (auto-revert):
15310 * epg-config.el (epg):
15311 * ibuffer.el (ibuffer):
15312 * mpc.el (mpc):
15313 * ses.el (ses):
15314 * eshell/eshell.el (eshell):
15315 * net/ange-ftp.el (ange-ftp):
15316 * progmodes/ebnf2ps.el (postscript):
15317 * progmodes/flymake.el (flymake):
15318 * progmodes/prolog.el (prolog):
15319 * progmodes/verilog-mode.el (verilog-mode):
15320 * progmodes/which-func.el (which-func):
15321 * term/xterm.el (xterm):
15322 * textmodes/picture.el (picture):
15323 * textmodes/tildify.el (tildify):
15324 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15325 customization buffers.
15326
15327 2012-04-22 Alan Mackenzie <acm@muc.de>
15328
15329 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15330 Adding a ) can hide the resulting (..) from searches. Fix it.
15331 Bound the backward search to the position of the existing (.
15332
15333 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15334
15335 * progmodes/verilog-mode.el (verilog-mode): Check whether
15336 which-func-modes is t before adding verilog-mode.
15337 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15338
15339 2012-04-21 Leo Liu <sdl.web@gmail.com>
15340
15341 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15342
15343 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15344
15345 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15346 filling of the last column of a table (Bug#5635).
15347 (woman-find-next-control-line): New arg, specifying an additional
15348 regexp component for the control line.
15349 (woman2-roff-buffer): Use it.
15350 (woman-break-table): New function.
15351 (woman2-TS): Use it.
15352
15353 2012-04-21 Chong Yidong <cyd@gnu.org>
15354
15355 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15356 (woman-horizontal-escapes, woman-negative-vertical-space)
15357 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15358 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15359
15360 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15361
15362 * minibuffer.el (completion-file-name-table): Complete user names.
15363
15364 2012-04-20 Leo Liu <sdl.web@gmail.com>
15365
15366 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15367 and pcase-let*.
15368
15369 2012-04-20 Chong Yidong <cyd@gnu.org>
15370
15371 * server.el (server-execute): Respect initial-buffer-choice if it
15372 is a string and there are no files to open (Bug#2825).
15373 (server-create-window-system-frame, server-create-tty-frame):
15374 Don't switch buffers here.
15375 (server-process-filter): Only try to open a window system frame if
15376 compiled with graphical support (Bug#8314).
15377
15378 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15379
15380 * battery.el (battery-echo-area-format): Display remaining time
15381 for sysfs backend too (Bug#11269).
15382 (battery-linux-sysfs): Fix conditional for the charge.
15383
15384 2012-04-20 Chong Yidong <cyd@gnu.org>
15385
15386 * progmodes/gdb-mi.el (gdb): Revert previous change.
15387 (gdb-inferior-io--init-proc): New function.
15388 (gdb-init-1): Use it.
15389 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15390 responsible for allocating a new pty and hooking it to gdb when
15391 the old pty gets an EIO due to process exit.
15392 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15393 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15394 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15395
15396 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15397
15398 * window.el (window-min-size, window-sizable, window-min-delta)
15399 (window-max-delta, window--resizable, window-resizable)
15400 (window-total-size, window-full-height-p, window-full-width-p)
15401 (window-in-direction, window--resize-mini-window, window-resize)
15402 (window--resize-child-windows-normal)
15403 (window--resize-child-windows, window--resize-siblings)
15404 (window--resize-this-window, adjust-window-trailing-edge)
15405 (enlarge-window, shrink-window): Doc fixes.
15406
15407 2012-04-20 Chong Yidong <cyd@gnu.org>
15408
15409 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15410 New function to call delete-process on the gdb-inferior buffer's pty.
15411 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15412 pty process (Bug#11273).
15413 (gdb-update): New arg to suppress talking to the gdb process.
15414 (gdb-done-or-error): Use it.
15415 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15416 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15417 sentinel not being called.
15418
15419 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15420
15421 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15422
15423 2012-04-20 Glenn Morris <rgm@gnu.org>
15424
15425 * net/network-stream.el (open-network-stream): Doc fix.
15426
15427 2012-04-20 Chong Yidong <cyd@gnu.org>
15428
15429 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15430
15431 2012-04-20 Alan Mackenzie <acm@muc.de>
15432
15433 Ensure searching for keywords is case sensitive.
15434
15435 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15436 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15437 (c-defun-name, c-mark-function, c-cpp-define-name)
15438 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15439 (c-context-line-break): Bind case-fold-search to nil.
15440
15441 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15442 Bind case-fold-search to nil.
15443
15444 2012-04-20 Chong Yidong <cyd@gnu.org>
15445
15446 * mail/sendmail.el (mail-bury): Call return action with the right
15447 Rmail buffer (Bug#11242).
15448
15449 * server.el (server-process-filter): Handle corner case where both
15450 tty and nowait options are present (Bug#11102).
15451
15452 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15453
15454 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15455 (top level): Put into the executable the ident-style '$Id:' tag on
15456 windows-nt as well.
15457
15458 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15459
15460 * electric.el (electric-indent-post-self-insert-function): Check that
15461 electric-indent-mode is enabled in current buffer.
15462
15463 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15464
15465 * imenu.el (imenu-progress-message): Restore; it is "used" in
15466 erc/erc-imenu.el and net/snmp-mode.el.
15467
15468 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15469
15470 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15471 (mouse-avoidance-nudge-mouse): Remove unused binding.
15472
15473 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15474
15475 * descr-text.el (describe-char):
15476 * progmodes/python.el (python-describe-symbol):
15477 Don't call `toggle-read-only', set `buffer-read-only'.
15478
15479 * imenu.el (imenu-default-goto-function): Mark unused args.
15480 (imenu-progress-message): Remove obsolete macro; all callers changed.
15481
15482 * subr.el (keymap-canonicalize): Remove unused binding.
15483 (read-passwd): Mark unused arg.
15484
15485 * tutorial.el (tutorial--display-changes): Remove unused binding.
15486 (tutorial--save-tutorial-to): Remove unused variable.
15487
15488 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15489 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15490 (package-generate-autoloads, package-menu--generate)
15491 (package-menu--find-upgrades): Remove unused bindings.
15492
15493 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15494 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15495 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15496 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15497 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15498 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15499 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15500 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15501 (cua-delete-char-rectangle): Mark unused args.
15502 (cua-align-rectangle): Remove unused binding.
15503
15504 * mail/rmail.el (compilation--message->loc)
15505 (epa--find-coding-system-for-mime-charset): Declare.
15506
15507 * net/dbus.el (dbus-register-service): Declare.
15508 (dbus-name-owner-changed-handler): Remove unused binding.
15509
15510 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15511 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15512 (nxml-scan-backward-within): Mark unused arg.
15513 (nxml-dynamic-markup-word): Remove unused binding.
15514
15515 * mouse.el (mouse-menu-major-mode-map):
15516 * emacs-lisp/authors.el (authors-scan-change-log)
15517 (authors-add-to-author-list):
15518 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15519 * emacs-lisp/smie.el (smie-auto-fill):
15520 * mail/sendmail.el (mail-bury):
15521 * mail/unrmail.el (unrmail):
15522 * net/tls.el (open-tls-stream):
15523 * textmodes/picture.el (picture-mouse-set-point):
15524 Remove unused bindings.
15525
15526 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15527
15528 * net/tramp.el (tramp-action-password): Let-bind
15529 `enable-recursive-minibuffers' to t.
15530
15531 2012-04-18 Sam Steingold <sds@gnu.org>
15532
15533 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15534 instead of 'string to accommodate values like [f11].
15535 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15536 * progmodes/gdb-mi.el: Likewise.
15537
15538 2012-04-18 Leo Liu <sdl.web@gmail.com>
15539
15540 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15541 current buffer.
15542 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15543 LOCAL is nil.
15544
15545 2012-04-18 Chong Yidong <cyd@gnu.org>
15546
15547 * simple.el (line-move): Use forward-line if in batch mode
15548 (Bug#11053).
15549
15550 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15551
15552 * files.el (after-find-file): Do not try to add a final newline if
15553 the buffer is read-only (Bug#11156).
15554
15555 2012-04-17 Richard Stallman <rms@gnu.org>
15556
15557 * mail/rmail.el (rmail-start-mail):
15558 Pass (rmail-mail-return...) for the return-action.
15559 Pass (rmail-yank-current-message...) for the yank-action.
15560 (rmail-yank-current-message): New function.
15561 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15562 (rmail-reply): Likewise.
15563 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15564
15565 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15566 buffer, not the last. Reject temp buffers. Use the rmail-mode
15567 buffer, not newbuf.
15568
15569 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15570
15571 * server.el (server-ensure-safe-dir): Simplify.
15572
15573 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15574
15575 * emacs-lisp/smie.el: Provide smarter auto-filling.
15576 (smie-auto-fill): New function.
15577 (smie-setup): Use it.
15578
15579 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15580
15581 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15582
15583 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15584 (comment-indent): Use it.
15585
15586 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
15587
15588 * ses.el: The overall change is to add cell renaming, that is
15589 setting fancy names for cell symbols other than name matching
15590 "\\`[A-Z]+[0-9]+\\'" regexp .
15591 (ses-localvars): Add ses--renamed-cell-symb-list.
15592 (ses-create-cell-variable): New defun.
15593 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15594 (ses-relocate-formula): Relocate formulas only for cells the
15595 symbols of which are not renamed, i.e. symbols whose names do not
15596 match regexp "\\`[A-Z]+[0-9]+\\'".
15597 (ses-relocate-all): Relocate values only for cells the symbols of
15598 which are not renamed.
15599 (ses-load): Create cells variables as the (ses-cell ...) are read,
15600 in order to check row col consistency with cell symbol name only
15601 for cells that are not renamed.
15602 (ses-replace-name-in-formula): New defun.
15603 (ses-rename-cell): New defun.
15604
15605 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15606
15607 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15608 New option (bug#11118).
15609 (perl-calculate-indent): Respect it.
15610
15611 2012-04-17 Glenn Morris <rgm@gnu.org>
15612
15613 * dired-aux.el (dired-mark-read-string): Doc fix.
15614
15615 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15616
15617 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15618 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15619
15620 2012-04-17 Glenn Morris <rgm@gnu.org>
15621
15622 * mouse.el (mouse-drag-track):
15623 * speedbar.el (speedbar-frame-mode):
15624 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15625
15626 2012-04-16 Leo Liu <sdl.web@gmail.com>
15627
15628 * progmodes/python.el: Trivial cleanup.
15629
15630 2012-04-16 Glenn Morris <rgm@gnu.org>
15631
15632 * vc/vc.el (vc-string-prefix-p):
15633 * vc/pcvs-util.el (cvs-string-prefix-p):
15634 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15635 * mpc.el (mpc-string-prefix-p):
15636 Make all of these into obsolete aliases for string-prefix-p.
15637 Update callers.
15638 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15639
15640 * textmodes/two-column.el: Move custom options to the start.
15641 (frame-width): Remove compat definition.
15642 (2C-associate-buffer, 2C-dissociate):
15643 Use with-current-buffer rather than save-excursion.
15644 (2C-dissociate): Force a mode-line update.
15645 (2C-autoscroll): Use ignore-errors.
15646
15647 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15648 Autoload trivia.
15649
15650 * emacs-lisp/cl-extra.el (*random-state*):
15651 Remove unnecessary declaration.
15652
15653 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15654
15655 * play/cookie1.el (cookie-snarf):
15656 Give an explicit error if input file cannot be read.
15657
15658 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15659
15660 * progmodes/perl-mode.el (c-macro-expand):
15661 Remove unnecessary autoload (it is in loaddefs.el).
15662
15663 * textmodes/picture.el (picture-desired-column)
15664 (picture-update-desired-column): Convert comments to doc-strings.
15665 (picture-substitute): Remove function.
15666 (picture-mode-map): Initialize in the defvar.
15667
15668 * woman.el: Remove eval-after-load for tar-mode.
15669 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15670 (woman-tar-extract-file): Autoload it.
15671
15672 * frame.el (automatic-hscrolling): Make this alias obsolete.
15673
15674 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15675
15676 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15677 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15678 (ispell-dictionary-base-alist): Revert to original XEmacs
15679 friendly version for default. [:alpha:] will be added in
15680 `ispell-set-spellchecker-params' if needed.
15681
15682 2012-04-16 Chong Yidong <cyd@gnu.org>
15683
15684 * image.el (imagemagick--file-regexp): New variable.
15685 (imagemagick-register-types): Use it.
15686 (imagemagick-types-inhibit): Add :set function. Allow new value
15687 of t to inhibit all types.
15688
15689 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15690 so we can preload it.
15691
15692 * loadup.el (fboundp): Preload regexp-opt, needed by
15693 imagemagick-register-types.
15694
15695 2012-04-15 Chong Yidong <cyd@gnu.org>
15696
15697 * frame.el (scrolling): Remove nearly unused customization group.
15698
15699 * scroll-all.el (scroll-all-mode): Move to windows group.
15700
15701 2012-04-15 Chong Yidong <cyd@gnu.org>
15702
15703 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15704
15705 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15706
15707 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15708 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15709
15710 2012-04-15 Glenn Morris <rgm@gnu.org>
15711
15712 * simple.el (process-file-side-effects): Doc fix.
15713
15714 2012-04-15 Glenn Morris <rgm@gnu.org>
15715
15716 * international/mule-cmds.el (set-language-environment): Doc fix.
15717
15718 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15719
15720 * server.el (server-auth-key, server-generate-key): Doc fixes.
15721 (server-get-auth-key): Doc fix. Use `string-match-p'.
15722 (server-start): Reflow docstring.
15723
15724 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15725
15726 * server.el (server-generate-key): `called-interactively-p'
15727 requires a parameter.
15728
15729 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15730
15731 * server.el (server-auth-key): New variable.
15732 (server-generate-key, server-get-auth-key): New function.
15733 (server-start): Use the new variable and functions to allow
15734 setting a permanent server key (bug#9423).
15735
15736 2012-04-14 Leo Liu <sdl.web@gmail.com>
15737
15738 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15739
15740 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15741
15742 Spelling fixes.
15743 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15744 Emacs uses American spelling.
15745
15746 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15747
15748 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15749 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15750 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15751 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15752
15753 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15754
15755 * progmodes/which-func.el (which-func-modes): Change default.
15756
15757 2012-04-14 Kim F. Storm <storm@cua.dk>
15758
15759 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15760 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15761
15762 2012-04-14 Chong Yidong <cyd@gnu.org>
15763
15764 * custom.el (custom-theme-set-variables): Doc fix.
15765
15766 2012-04-14 Glenn Morris <rgm@gnu.org>
15767
15768 * international/mule.el (set-auto-coding-for-load): Doc fix.
15769
15770 2012-04-14 Alan Mackenzie <acm@muc.de>
15771
15772 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15773 imenu work again for Objective C Mode. Correct the *-index values,
15774 these having been disturbed by a previous change in 2011-08.
15775
15776 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15777 Correct two search limits.
15778
15779 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15780
15781 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15782
15783 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15784
15785 * international/characters.el: Fix sorting.
15786
15787 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15788
15789 * international/characters.el: Add more missing Latin case pairs.
15790
15791 2012-04-14 Glenn Morris <rgm@gnu.org>
15792
15793 * files.el (dir-locals-set-class-variables): Doc fix.
15794
15795 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15796
15797 * international/characters.el: Add set-case-syntax-pair call for
15798 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15799 counterpart. (Bug#11209)
15800
15801 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15802
15803 2012-04-14 Glenn Morris <rgm@gnu.org>
15804
15805 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15806
15807 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15808
15809 * textmodes/ispell.el (ispell-dictionary-base-alist):
15810 Add data for Hebrew.
15811
15812 2012-04-14 Chong Yidong <cyd@gnu.org>
15813
15814 * net/rcirc.el (rcirc-cmd-quit):
15815 Revert 2012-03-18 change (Bug#11192).
15816
15817 2012-04-14 Glenn Morris <rgm@gnu.org>
15818
15819 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15820
15821 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15822
15823 * minibuffer.el (completion-in-region-mode-map):
15824 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15825
15826 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15827
15828 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15829
15830 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15831
15832 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15833 to allow `C-M-f' and `C-M-b' to move to the nearest path
15834 separator (bug#9511).
15835
15836 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15837
15838 * avoid.el: Require cl when compiling. And also move the
15839 `provide' to the end.
15840
15841 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15842
15843 * avoid.el (mouse-avoidance-banish-position): New variable.
15844 (mouse-avoidance-banish-destination): Use it (bug#10165).
15845
15846 2012-04-13 Leo Liu <sdl.web@gmail.com>
15847
15848 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15849
15850 2012-04-13 Ken Brown <kbrown@cornell.edu>
15851
15852 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15853 this is no longer needed now that cygstart understands file:// URLs.
15854 (browse-url-filename-alist): For the same reason, don't modify
15855 file:// URLs on Cygwin.
15856
15857 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15858
15859 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15860 the region on shift if the binding is already shifted (bug#11221).
15861
15862 2012-04-12 Glenn Morris <rgm@gnu.org>
15863
15864 * mail/mailpost.el: Move to obsolete/.
15865
15866 2012-04-12 Drew Adams <drew.adams@oracle.com>
15867
15868 * imenu.el (imenu--generic-function): Ignore invisible definitions
15869 (bug#10123).
15870
15871 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15872
15873 * hexl.el (hexl-bits): New variable.
15874 (hexl-options): Mention the variable in the doc string.
15875 (hexl-rulerise, hexl-line-displen): New functions.
15876 (hexl-mode): Mention the new variable.
15877 (hexl-mode, hexl-current-address, hexl-current-address):
15878 Use the displen.
15879 (hexl-ascii-start-column): New function.
15880 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15881 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15882
15883 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15884
15885 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15886 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15887 the encoding, as expected by hunspell.
15888
15889 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15890
15891 * battery.el (battery--linux-sysfs-regexp): New const.
15892 (battery-status-function): Use it. Remove yeeloong special case.
15893 (battery-yeeloong-sysfs): Remove.
15894 (battery-echo-area-format): Remove yeeloong special case.
15895
15896 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15897
15898 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15899 Reported by Noah Friedman.
15900
15901 * subr.el (read-passwd): Use read-string.
15902
15903 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15904
15905 * vcursor.el (vcursor-move): Increase the priority of the overlay
15906 (bug#9663).
15907
15908 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15909
15910 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15911 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15912
15913 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15914
15915 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15916 define-minor-mode (bug#10760).
15917
15918 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15919
15920 * progmodes/grep.el (rgrep): Tweak the find command line so
15921 that directories matching `grep-find-ignored-files' won't be
15922 pruned (bug#10351).
15923
15924 2012-04-11 Chong Yidong <cyd@gnu.org>
15925
15926 * startup.el (command-line): Remove support for long-obsolete
15927 variable font-lock-face-attributes.
15928
15929 2012-04-11 Glenn Morris <rgm@gnu.org>
15930
15931 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15932
15933 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15934
15935 * window.el (window--state-get-1): Obey window-point-insertion-type.
15936
15937 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15938
15939 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15940 to previous function when point is on the first character of a
15941 function. Take care of that in `narrow-to-defun' (bug#6157).
15942
15943 2012-04-11 Glenn Morris <rgm@gnu.org>
15944
15945 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15946 not just file-errors.
15947
15948 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15949 (vc-bzr-sha1): Use internal sha1.
15950
15951 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15952
15953 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15954
15955 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
15956
15957 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15958 that start in the middle of the line (bug#10496).
15959
15960 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15961
15962 * battery.el (battery-linux-proc-acpi): Only one battery is
15963 discharged at a time, but that seems to confuse battery.el when
15964 computing `rate-type' for the battery not being discharged
15965 (bug#10332).
15966
15967 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15968
15969 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15970
15971 * international/quail.el: Use dolist and simplify.
15972 (quail-define-package, quail-update-keyboard-layout)
15973 (quail-define-rules): Use dolist.
15974 (quail-insert-kbd-layout, quail-get-translation): CSE.
15975
15976 * tmm.el: Use dolist, remove left over hook.
15977 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15978 Use dolist.
15979 (calendar-load-hook): Don't mess with it.
15980
15981 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15982 Use derived-mode-p. Run the diff asynchronously.
15983
15984 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15985
15986 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15987
15988 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15989
15990 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15991 (list-dynamic-libraries--loaded): New function.
15992 (list-dynamic-libraries--refresh): Use it.
15993
15994 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15995
15996 * progmodes/python.el (python-fill-paragraph):
15997 Make python-fill-region in a multiline string work when font-lock is
15998 disabled (bug#7018).
15999
16000 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
16001
16002 * language/european.el (cp775): Add oem/legacy (en)coding on
16003 DOS/MS Windows for the Baltic languages. There are still plenty
16004 of texts written in this encoding/codepage (bug#6519).
16005
16006 2012-04-10 Glenn Morris <rgm@gnu.org>
16007
16008 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16009 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16010
16011 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16012
16013 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16014 next-line "n" and previous-line "p" in order to make recentf more
16015 consistent with ibuffer, dired or org-mode (bug#9387).
16016
16017 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16018
16019 * image.el (put-image): Return the overlay created instead of the
16020 optional input string (bug#7834). Note that this may break code
16021 that is (for some reason or other) depending on `put-image'
16022 returning the string.
16023
16024 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16025
16026 * simple.el (zap-to-char): Allow zapping using input methods
16027 (bug#1580).
16028
16029 * textmodes/fill.el (fill-region): Leave point and mark where they
16030 were before filling (bug#5399).
16031
16032 2012-04-09 Glenn Morris <rgm@gnu.org>
16033
16034 * version.el (emacs-bzr-get-version):
16035 Handle lightweight checkouts of local branches.
16036
16037 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16038
16039 * international/characters.el: Recover lost case pairs. (Bug#11209)
16040
16041 2012-04-09 Chong Yidong <cyd@gnu.org>
16042
16043 * custom.el (custom-variable-p): Return nil for non-symbol
16044 arguments instead of signaling an error.
16045 (user-variable-p): Obsolete alias for custom-variable-p.
16046
16047 * apropos.el (apropos-variable):
16048 * files-x.el (read-file-local-variable):
16049 * simple.el (set-variable):
16050 * woman.el (woman-mini-help):
16051 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16052
16053 2012-04-09 Glenn Morris <rgm@gnu.org>
16054
16055 * startup.el (normal-top-level): Don't look for leim-list.el
16056 in places where it will not be found. (Bug#910)
16057
16058 * international/mule-cmds.el (set-default-coding-systems):
16059 * files.el (normal-mode):
16060 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16061 This function was removed with ucs-tables.el in 2008.
16062
16063 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16064
16065 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16066 ispell-encoding8-command to "-i", without a trailing space.
16067 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16068 separate command-line arguments, to specify the encoding, since
16069 that's how hunspell expects it.
16070
16071 2012-04-08 Glenn Morris <rgm@gnu.org>
16072
16073 * loadup.el: Load bindings before cus-start.
16074 This reduces somewhat the number of "rogue" settings in emacs -Q.
16075
16076 2012-04-07 Glenn Morris <rgm@gnu.org>
16077
16078 * version.el (emacs-bzr-get-version): New function.
16079 (emacs-bzr-version): New variable.
16080 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16081 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16082
16083 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16084
16085 * international/uni-bidi.el, international/uni-category.el:
16086 * international/uni-combining.el, international/uni-decimal.el:
16087 * international/uni-decomposition.el, international/uni-digit.el:
16088 * international/uni-lowercase.el, international/uni-mirrored.el:
16089 * international/uni-name.el, international/uni-numeric.el:
16090 * international/uni-titlecase.el, international/uni-uppercase.el:
16091 Update for Unicode 6.1.
16092
16093 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16094
16095 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16096
16097 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16098
16099 * window.el (shrink-window): Mention the `window-min-height'
16100 variable in the doc string.
16101
16102 2012-04-05 Bastien Guerry <bzg@altern.org>
16103
16104 * color.el (color-lighten-name): Fix typo.
16105
16106 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16107
16108 * server.el (server--on-display-p): New function.
16109 (server--on-display-p): Use it.
16110
16111 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
16112
16113 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16114 (bug#11145).
16115
16116 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16117
16118 * comint.el (comint--common-quoted-suffix): Check string boundary
16119 before comparing (bug#11158).
16120 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16121
16122 2012-04-04 Chong Yidong <cyd@gnu.org>
16123
16124 * minibuffer.el (completion-extra-properties): Doc fix.
16125
16126 * subr.el (delayed-warnings-hook): Doc fix.
16127
16128 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16129
16130 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16131 selection (Bug#11159).
16132 (epa-insert-keys): Inform that the default public key will be
16133 exported if no key is selected.
16134
16135 2012-04-04 Richard Stallman <rms@gnu.org>
16136
16137 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16138
16139 2012-04-03 Chong Yidong <cyd@gnu.org>
16140
16141 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16142 mail-insert-file, not its obsolete alias mail-attach-file.
16143
16144 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16145
16146 * notifications.el (notifications-notify): Fix docstring.
16147
16148 2012-04-02 Glenn Morris <rgm@gnu.org>
16149
16150 * emacs-lisp/authors.el (authors-aliases): Another addition.
16151
16152 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16153
16154 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16155 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16156 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16157
16158 2012-04-01 Chong Yidong <cyd@gnu.org>
16159
16160 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16161 Handle root directory properly.
16162 (copy-directory): Caller changed.
16163
16164 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16165 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16166
16167 2012-03-31 Glenn Morris <rgm@gnu.org>
16168
16169 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16170
16171 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16172
16173 * calendar/calendar.el (calendar-window-list)
16174 (calendar-hide-window): Restore. (Bug#11140)
16175 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16176
16177 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16178
16179 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16180
16181 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16182 Check if file is a symlink (Bug#10489).
16183
16184 * files.el (copy-directory): Likewise.
16185
16186 2012-03-30 Chong Yidong <cyd@gnu.org>
16187
16188 * image.el (imagemagick-types-inhibit)
16189 (imagemagick-register-types): Doc fix.
16190
16191 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16192
16193 * textmodes/ispell.el (ispell-get-extended-character-mode):
16194 Disable extended-char-mode for hunspell. hunspell does not support it
16195 and treats ~word as ordinary words in pipe mode.
16196
16197 2012-03-30 Glenn Morris <rgm@gnu.org>
16198
16199 * tutorial.el (help-with-tutorial): Ensure local variables don't
16200 happen to make the buffer read-only. (Bug#11127)
16201
16202 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16203
16204 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16205 (perl-calculate-indent): Return `noindent' in strings.
16206
16207 2012-03-28 Sam Steingold <sds@gnu.org>
16208
16209 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16210 instead of the broken adhockery which does not prevent calendar
16211 buffers from being displayed at random after exit.
16212 (calendar-window-list, calendar-hide-window): Remove the broken
16213 adhockery.
16214
16215 2012-03-28 Glenn Morris <rgm@gnu.org>
16216
16217 * replace.el (query-replace-map): Doc fix.
16218
16219 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16220
16221 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16222 contents. (Bug#11109)
16223
16224 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16225
16226 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16227 (bug#11077).
16228 (avl-tree--check, avl-tree--check-node): New funs.
16229
16230 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16231
16232 * window.el (switch-to-visible-buffer): New option.
16233 (switch-to-prev-buffer, switch-to-next-buffer):
16234 Observe switch-to-visible-buffer. Make sure that checking for a window
16235 showing a buffer already is done on the same frame.
16236
16237 2012-03-27 Glenn Morris <rgm@gnu.org>
16238
16239 * startup.el (mail-host-address): Doc fix.
16240
16241 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16242
16243 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16244 than 197 variables.
16245
16246 2012-03-26 Ami Fischman <ami@fischman.org>
16247
16248 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16249
16250 2012-03-26 Glenn Morris <rgm@gnu.org>
16251
16252 * files.el (save-buffers-kill-emacs): Doc fix.
16253
16254 * startup.el (normal-top-level, command-line, command-line-1):
16255 Give them doc strings.
16256
16257 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16258
16259 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16260 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16261
16262 2012-03-25 Chong Yidong <cyd@gnu.org>
16263
16264 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16265 theme if it was previously enabled before (Bug#11031).
16266
16267 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16268 spec with custom-face-get-current-spec if its :shown-value is not
16269 determined yet (Bug#9337).
16270 (customize-create-theme, custom-theme-revert): Doc fixes.
16271
16272 * button.el (button-at): Minor addition to docstring.
16273
16274 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16275
16276 * vc/vc.el (vc-merge): Fix a prompt.
16277
16278 2012-03-24 Chong Yidong <cyd@gnu.org>
16279
16280 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16281 point (Bug#9623).
16282
16283 * button.el (button-at): Minor addition to docstring.
16284
16285 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16286
16287 * newcomment.el (comment-choose-indent): No space after BOL.
16288
16289 2012-03-22 Sam Steingold <sds@gnu.org>
16290
16291 * window.el (switch-to-prev-buffer): Revert last patch because the
16292 bug turned out to be an advertised feature (Elisp manual 28.14).
16293
16294 2012-03-22 Glenn Morris <rgm@gnu.org>
16295
16296 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16297 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16298
16299 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16300
16301 * net/network-stream.el (network-stream-open-starttls): Make error
16302 message under Windows be less misleading.
16303
16304 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16305
16306 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16307 understands (bug#9942).
16308
16309 2012-03-22 Chong Yidong <cyd@gnu.org>
16310
16311 * simple.el (end-of-visible-line): Handle return value of
16312 next-single-property-change properly (Bug#9371).
16313
16314 2012-03-22 Kenichi Handa <handa@m17n.org>
16315
16316 * international/quail.el (quail-insert-kbd-layout): Fix previous
16317 change. To avoid unwanted bidi reordering, use
16318 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16319
16320 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16321
16322 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16323 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16324 (ruby-beginning-of-indent): Be more careful with the difference
16325 between word-boundary and symbol boundary.
16326 (ruby-mode-syntax-table): Make : a symbol constituent.
16327
16328 2012-03-21 Andreas Politz <politza@fh-trier.de>
16329
16330 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16331
16332 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16333
16334 * progmodes/etags.el (tags-completion-at-point-function):
16335 Improve last fix.
16336
16337 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16338
16339 2012-03-21 Sam Steingold <sds@gnu.org>
16340
16341 * progmodes/etags.el (tags-completion-at-point-function):
16342 Avoid the error when point is inside the pattern.
16343
16344 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16345
16346 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16347 line (Bug#10855).
16348
16349 2012-03-21 Drew Adams <drew.adams@oracle.com>
16350
16351 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16352
16353 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16354
16355 * ido.el (ido-set-current-directory, ido-read-internal)
16356 (ido-choose-completion-string, ido-completion-help): Handle nil
16357 value of ido-completion-buffer (Bug#11008).
16358
16359 2012-03-21 Sam Steingold <sds@gnu.org>
16360
16361 * window.el (switch-to-prev-buffer): Do not switch to a visible
16362 window previous buffer, just like with the frame previous buffers.
16363
16364 2012-03-21 Chong Yidong <cyd@gnu.org>
16365
16366 * faces.el (make-face, make-empty-face, copy-face):
16367 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16368 Doc fixes.
16369
16370 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16371
16372 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16373 (widget-complete): Remove broken use of it.
16374
16375 2012-03-20 Chong Yidong <cyd@gnu.org>
16376
16377 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16378 Use string-width and truncate-string-width to handle arbitrary
16379 characters.
16380
16381 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16382
16383 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16384 to draw rectangles, not squares. (Regression introduced by revno
16385 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16386
16387 2012-03-18 Chong Yidong <cyd@gnu.org>
16388
16389 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16390 it is not yet defined (for temacs).
16391
16392 2012-03-18 Leo Liu <sdl.web@gmail.com>
16393
16394 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16395 prefix.
16396
16397 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16398
16399 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16400 (ispell-choices-win-default-height, ispell-silently-savep)
16401 (ispell-dictionary-alist, ispell-encoding8-command)
16402 (ispell-check-version, ispell-aspell-find-dictionary)
16403 (ispell-valid-dictionary-list, ispell-words-keyword)
16404 (ispell-get-word, ispell-internal-change-dictionary)
16405 (ispell-region, ispell-skip-region-list)
16406 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16407 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16408 (ispell-message-text-end, ispell-message)
16409 (ispell-buffer-local-parsing): Doc fix.
16410
16411 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16412
16413 * htmlfontify.el: Add support for code block fontification for ODT
16414 export (Bug #9914).
16415 (hfy-optimisations): Define new option
16416 `body-text-only'
16417 (hfy-fontify-buffer): Honor above setting.
16418 (hfy-begin-span, hfy-end-span): New routines factored out form
16419 `hfy-fontify-buffer'.
16420 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16421 that permit insertion of custom tags.
16422 (hfy-fontify-buffer): Use above handlers.
16423 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16424 (hfy-face-to-css): Re-defined to be a variable.
16425 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16426 over multiple runs. This is made possible by having the caller let
16427 bind a special variable `hfy-user-sheet-assoc'.
16428 (htmlfontify-string): New defun.
16429 (hfy-compile-face-map): Make sure that the last char in the
16430 buffer is correctly fontified.
16431 (hfy-face-resolve-face): Whitespace only change.
16432
16433 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16434
16435 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16436 message more clear.
16437
16438 2012-03-16 Leo Liu <sdl.web@gmail.com>
16439
16440 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16441
16442 2012-03-16 Alan Mackenzie <acm@muc.de>
16443
16444 Further optimize the handling of large macros.
16445
16446 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16447 limit to a call of `c-literal-limits'.
16448 (c-determine-+ve-limit): New function.
16449 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16450 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16451 In CASE 5B, restrict a search limit to 500.
16452 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16453
16454 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16455 Restrict macro bounds to +-500 from after-change's BEG END.
16456
16457 2012-03-16 Leo Liu <sdl.web@gmail.com>
16458
16459 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16460
16461 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16462
16463 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16464 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16465
16466 2012-03-16 Glenn Morris <rgm@gnu.org>
16467
16468 * view.el (view-buffer, view-buffer-other-window)
16469 (view-buffer-other-frame): Doc fixes re special mode-class.
16470
16471 * subr.el (eval-after-load): If named feature is provided not from
16472 a file, run after-load forms. (Bug#10946)
16473
16474 * calendar/calendar.el (calendar-insert-at-column):
16475 Handle non-unit-width characters a bit better. (Bug#10978)
16476
16477 2012-03-15 Chong Yidong <cyd@gnu.org>
16478
16479 * emacs-lisp/ring.el (ring-extend): New function.
16480 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16481
16482 * comint.el (comint-read-input-ring)
16483 (comint-add-to-input-history): Grow comint-input-ring lazily.
16484
16485 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16486
16487 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16488 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16489
16490 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16491 (imenu-add-to-menubar): Don't add a redundant index.
16492 (imenu-update-menubar): Handle a dynamically composed keymap.
16493
16494 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16495
16496 * mail/sendmail.el (mail-encode-header):
16497 Bind rfc2047-encode-encoded-words to nil.
16498
16499 2012-03-13 Glenn Morris <rgm@gnu.org>
16500
16501 * calendar/calendar.el (calendar-string-spread):
16502 Handle non-unit-width characters a bit better. (Bug#10978)
16503
16504 2012-03-13 Leo Liu <sdl.web@gmail.com>
16505
16506 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16507 directory and file as argument (Bug#10822).
16508
16509 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16510
16511 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16512 For dynamically generated code, follow $PC.
16513 (gdb-disassembly-handler-custom): Handle no function name case.
16514
16515 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16516
16517 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16518 * emulation/ws-mode.el (ws-query-replace):
16519 * sort.el (sort-regexp-fields):
16520 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16521
16522 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16523
16524 * dabbrev.el: Fix cycle completion order (bug#10963).
16525 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16526 (dabbrev-completion): Don't use an obarray; provide
16527 a cycle-sort-function.
16528
16529 2012-03-12 Leo Liu <sdl.web@gmail.com>
16530
16531 * simple.el (kill-new): Use equal-including-properties for comparison.
16532 (kill-do-not-save-duplicates): Doc fix.
16533
16534 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16535
16536 * dabbrev.el: Fix cycle completion (bug#10963).
16537 Use lexical binding and wrap to 80 columns.
16538 (dabbrev-completion): Delay computing the list of completions.
16539
16540 2012-03-12 Kenichi Handa <handa@m17n.org>
16541
16542 * international/quail.el (quail-insert-kbd-layout): Surround each
16543 row by LRO and PDF instead of inserting many LRMs. Pad the left
16544 and right of each non-spacing marks. Insert invisible space
16545 between lower and upper characters to prevent composition.
16546
16547 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16548
16549 * minibuffer.el (minibuffer-complete): Don't get confused when the
16550 function is run twice via different commands (bug#10958).
16551 (complete-with-action): Fix docstring.
16552
16553 2012-03-12 Chong Yidong <cyd@gnu.org>
16554
16555 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16556 (nxml-completion-at-point-function): New function.
16557 (nxml-mode): Use it.
16558 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16559
16560 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16561 Load generated autoloads file before byte compiling (Bug#10970).
16562 (package--make-autoloads-and-compile): New helper fun.
16563
16564 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16565
16566 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16567
16568 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16569
16570 * autorevert.el (auto-revert-handler): Ensure, that
16571 file-readable-p is applied only for local files or in
16572 auto-revert-tail-mode.
16573
16574 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16575
16576 * server.el (server-eval-at): Handle non-tcp connections.
16577 Decode result string.
16578
16579 * server.el (server-msg-size): New constant.
16580 (server-reply-print): New function.
16581 (server-eval-and-print): Use it.
16582 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16583 Handle -print-nonl.
16584
16585 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16586
16587 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16588 (Bug#10987).
16589
16590 2012-03-11 Chong Yidong <cyd@gnu.org>
16591
16592 * simple.el (goto-line): Doc fix (Bug#9938).
16593
16594 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16595
16596 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16597 when finished (Bug#10963).
16598
16599 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16600
16601 * window.el (split-window-below): Fix bug in case where
16602 split-window-keep-point is nil (Bug#10971).
16603
16604 2012-03-11 Juri Linkov <juri@jurta.org>
16605
16606 * replace.el (replace-highlight): Set isearch-word to nil
16607 unconditionally. (Bug#10887)
16608
16609 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16610
16611 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16612 mairix-replace-illegal-chars; all callers changed. Don't remove
16613 ^, ~, and = characters: they are meaningful in mairix search specs.
16614 (mairix-widget-create-query): Add usage information about mairix
16615 search forms: negating words, searching for substrings, etc.
16616
16617 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16618
16619 * international/fontset.el (font-encoding-alist): Add an entry for
16620 ksx1001 (Bug#5667).
16621
16622 2012-03-10 Richard Stallman <rms@gnu.org>
16623
16624 * mail/sendmail.el (mail-encode-header):
16625 Set rfc2047-encode-encoded-words.
16626
16627 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16628
16629 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16630 view buffer means not swapped.
16631 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16632 (rmail-write-region-annotate): Error if real text has disappeared.
16633
16634 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16635
16636 2012-03-10 Chong Yidong <cyd@gnu.org>
16637
16638 * emulation/cua-rect.el (cua--init-rectangles):
16639 * emulation/cua-base.el (cua--init-keymaps):
16640 Add delete-forward-char to remappings (Bug#9666).
16641
16642 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16643
16644 * speedbar.el (speedbar-unhighlight-one-tag-line):
16645 Avoid unhighlighting due to frame switching (Bug#10275).
16646
16647 2012-03-10 Chong Yidong <cyd@gnu.org>
16648
16649 * minibuffer.el (completion-in-region, completion-help-at-point):
16650 Give the completion field overlay a high priority (Bug#6830).
16651
16652 * dired.el (dired-goto-file): Recognize absolute file name
16653 listings (Bug#7126).
16654 (dired-goto-file-1): New helper function.
16655 (dired-toggle-read-only): Inhibit warnings.
16656
16657 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16658
16659 * net/dbus.el (dbus-property-handler): Return empty array if
16660 there are no properties.
16661
16662 2012-03-09 Leo Liu <sdl.web@gmail.com>
16663
16664 * savehist.el (savehist-printable): Stricter check for string
16665 value (Bug#10937).
16666
16667 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16668
16669 * mail/smtpmail.el (smtpmail-send-it):
16670 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16671 valid mbox format.
16672
16673 2012-03-09 Glenn Morris <rgm@gnu.org>
16674
16675 * files.el (dir-locals-find-file):
16676 Don't check result is regular, readable.
16677 (dir-locals-read-from-file): Demote errors.
16678
16679 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16680
16681 * international/quail.el (quail-insert-kbd-layout):
16682 Insert invisible LRM characters before each character in a keyboard
16683 layout cell, to prevent their reordering by bidi display engine.
16684 For details, see the discussion in
16685 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16686
16687 2012-03-08 Alan Mackenzie <acm@muc.de>
16688
16689 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16690 the starting position; make it extend the marked region when
16691 invoked repeatedly - all under appropriate circumstances.
16692 Fixes bugs #5525, #10906.
16693
16694 2012-03-08 Glenn Morris <rgm@gnu.org>
16695
16696 * files.el (locate-dominating-file, dir-locals-find-file):
16697 Undo 2012-03-06 change.
16698
16699 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16700
16701 * international/quail.el (quail-help):
16702 Force bidi-paragraph-direction be left-to-right. See discussion in
16703 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16704 for the reason.
16705
16706 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16707
16708 Avoid superfluous registering of signals. (Bug#10807)
16709
16710 * notifications.el (notifications-on-action-object)
16711 (notifications-on-close-object): New defvars.
16712 (notifications-on-action-signal, notifications-on-closed-signal):
16713 Unregister the signal if not needed any longer.
16714 (notifications-notify): Register `notifications-action-signal' or
16715 `notifications-closed-signal', if :on-action or :on-close has been
16716 passed as argument.
16717
16718 2012-03-07 Chong Yidong <cyd@gnu.org>
16719
16720 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16721 non-X platforms.
16722
16723 2012-03-06 Glenn Morris <rgm@gnu.org>
16724
16725 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16726 (x-disown-selection-internal, x-get-selection-internal):
16727 Doc fix (add arglist signatures). (Bug#10783)
16728
16729 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16730
16731 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16732 Handle breakpoints with no "type".
16733
16734 2012-03-06 Glenn Morris <rgm@gnu.org>
16735
16736 * files.el (locate-dominating-file): Add optional predicate argument.
16737 (dir-locals-find-file): Make use of above change.
16738
16739 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16740
16741 * info.el (Info-insert-dir): Also try "dir.gz".
16742
16743 2012-03-06 Glenn Morris <rgm@gnu.org>
16744
16745 * files.el (dir-locals-find-file):
16746 Ignore non-readable or non-regular files. (Bug#10928)
16747
16748 * files.el (locate-dominating-file): Doc fix.
16749
16750 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16751
16752 * calendar/calendar.el (calendar-set-mode-line):
16753 `getenv' returns a string. (Bug#10951)
16754
16755 2012-03-05 Leo Liu <sdl.web@gmail.com>
16756
16757 * simple.el (backward-delete-char-untabify): Constrain point to
16758 field (Bug#10939).
16759
16760 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16761
16762 2012-03-05 Chong Yidong <cyd@gnu.org>
16763
16764 * simple.el (count-words): If called from Lisp, return the word
16765 count, for symmetry with `count-lines'. Arglist changed.
16766 (count-words--message): Args changed. Consolidate counting code
16767 from count-words and count-words-region.
16768 (count-words-region): Caller changed.
16769 (count-lines-region): Make it an obsolete alias.
16770
16771 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16772
16773 * saveplace.el (save-place-to-alist)
16774 (save-place-ignore-files-regexp): Allow value nil to disable this
16775 feature.
16776
16777 2012-03-04 Chong Yidong <cyd@gnu.org>
16778
16779 * faces.el (face-spec-reset-face): For the default face, reset the
16780 attributes to default values (Bug#10748).
16781
16782 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16783
16784 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16785 previous patch: Check `message-send-mail-function', and not the
16786 default function (bug#10897).
16787
16788 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16789
16790 * notifications.el (notifications-on-action-signal)
16791 (notifications-on-closed-signal): Check for unique service name of
16792 incoming event. Fix error in removing entry.
16793 (top): Register for signals with wildcard service name.
16794 (notifications-notify): Use daemon unique service name for map entries.
16795
16796 2012-03-04 Chong Yidong <cyd@gnu.org>
16797
16798 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16799
16800 2012-03-04 Glenn Morris <rgm@gnu.org>
16801
16802 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16803 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16804 (expand-abbrev, define-abbrev-table): Doc fixes.
16805
16806 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16807
16808 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16809 `message-default-send-mail-function' and not `send-mail-function'
16810 when doing the prompting for `sendmail-query-once' before sending
16811 in Message buffers (bug#10897).
16812
16813 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16814 This is inconsistent with all the other stream functions, which leave
16815 the setting up to the higher levels (if so wanted) (bug#10931).
16816
16817 2012-03-02 Alan Mackenzie <acm@muc.de>
16818
16819 Depessimize the handling of very large macros.
16820
16821 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16822 (c-macro-cache-syntactic): New variables to implement a one
16823 element macro cache.
16824 (c-invalidate-macro-cache): New function.
16825 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16826 Adapt to use the new cache.
16827 (c-state-safe-place): Use better the cache of safe positions.
16828 (c-state-semi-nonlit-pos-cache)
16829 (c-state-semi-nonlit-pos-cache-limit):
16830 New variables for...
16831 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16832 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16833 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16834 Use c-state-semi-safe-place.
16835
16836 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16837 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16838
16839 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16840
16841 * jka-compr.el (jka-compr-call-process):
16842 Apply `file-accessible-directory-p' only when the default directory is
16843 not remote.
16844
16845 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16846
16847 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16848 access of FILE2, if FILE1 does not exist.
16849
16850 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16851 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16852
16853 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16854 Add "PAGER=" to `process-environment'.
16855
16856 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16857
16858 * progmodes/sql.el: Bug fix
16859 (sql-get-login-ext): Save login values in globals.
16860 (sql-get-login): Use new version of `sql-get-login-ext'.
16861 (sql-interactive-mode): Set global `sql-connection' to nil.
16862 (sql-connect): Set global values for connection.
16863 (sql-product-interactive): Save global values as buffer local.
16864
16865 2012-02-29 Leo Liu <sdl.web@gmail.com>
16866
16867 * abbrev.el (define-abbrevs): Reset sys to nil.
16868
16869 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16870
16871 * files.el (file-equal-p): Rename from `files-equal-p'.
16872 Return nil when one or both files don't exist.
16873 (file-subdir-of-p): Now only top directory must exists,
16874 return nil if it doesn't.
16875 (copy-directory): No need to test with `file-subdir-of-p' after
16876 creating dir.
16877 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16878 to `file-equal-p'.
16879
16880 2012-02-28 Glenn Morris <rgm@gnu.org>
16881
16882 * shell.el (shell-mode):
16883 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16884 * play/landmark.el (landmark-font-lock-face-O):
16885 * play/handwrite.el (handwrite):
16886 * play/gomoku.el (gomoku-O):
16887 * net/browse-url.el (browse-url-browser-display):
16888 * international/mule.el (define-charset):
16889 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16890 * filesets.el (filesets-find-file-delay):
16891 * eshell/em-xtra.el (eshell-xtra):
16892 * eshell/em-unix.el (eshell-grep):
16893 * emulation/viper.el (viper-mode):
16894 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16895 * emacs-lisp/easymenu.el (easy-menu-define):
16896 * calendar/timeclock.el (timeclock-use-display-time):
16897 * bs.el (bs-mode):
16898 * bookmark.el (bookmark-save-flag):
16899 Doc fix (standardize possessive apostrophe usage).
16900
16901 2012-02-27 Chong Yidong <cyd@gnu.org>
16902
16903 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16904 Fix key-binding lookup for ESC key (Bug#9146).
16905
16906 * font-lock.el (font-lock-specified-p): Rename from
16907 font-lock-spec-present. Callers changed.
16908
16909 2012-02-27 Daniel Hackney <dan@haxney.org>
16910
16911 * emacs-lisp/package.el (package-compute-transaction):
16912 Handle holding a package version to t in package-load-list.
16913
16914 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16915
16916 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16917 (tramp-get-inode, tramp-get-device): Use cached values.
16918
16919 2012-02-26 Alan Mackenzie <acm@muc.de>
16920
16921 Check there is a font-lock specification before doing initial
16922 fontification.
16923
16924 * font-core.el (font-lock-mode): Move the conditional from
16925 :after-hook to font-lock-initial-fontify.
16926 (font-lock-default-function): Move the check for a specification
16927 to font-lock-spec-present.
16928
16929 * font-lock.el (font-lock-initial-fontify): Call ...
16930 (font-lock-spec-present): New function.
16931
16932 2012-02-26 Jim Blandy <jimb@red-bean.com>
16933
16934 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16935 (gdb-send): Apply it to the operand of the '-interpreter-exec
16936 console' command, so that we can pass arguments with (say) quotes
16937 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16938
16939 2012-02-26 Chong Yidong <cyd@gnu.org>
16940
16941 * help-fns.el (describe-function-1): Clarify description of
16942 remapping (Bug#10844).
16943
16944 * files.el (files-equal-p): Doc fix.
16945 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16946 and quit the loop once a mismatch is found.
16947
16948 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16949
16950 * bs.el (bs--show-with-configuration): Don't throw an error
16951 if the window cannot be split; otherwise, subsequent calls to
16952 bs-show fail, restoring a stale window config. (Bug#10882)
16953
16954 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16955
16956 * term/ns-win.el (global-map): Bind ns-drag-file to
16957 ns-find-file (Bug#5855, Bug#10050).
16958
16959 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16960
16961 * calendar/parse-time.el (parse-time-string): Allow extractor to
16962 return nil.
16963
16964 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16965
16966 * net/tramp.el (tramp-file-name-for-operation):
16967 Add `files-equal-p' and `file-subdir-of-p'.
16968
16969 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16970 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16971 Add COPY-CONTENTS argument.
16972
16973 2012-02-25 Chong Yidong <cyd@gnu.org>
16974
16975 Add custom groups for VC backends, for consistency with vc-bzr.
16976
16977 * vc/vc-arch.el (vc-arch):
16978 * vc/vc-cvs.el (vc-cvs):
16979 * vc/vc-git.el (vc-git):
16980 * vc/vc-hg.el (vc-hg):
16981 * vc/vc-mtn.el (vc-mtn):
16982 * vc/vc-rcs.el (vc-rcs):
16983 * vc/vc-sccs.el (vc-sccs):
16984 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16985 All relevant defcustoms reassigned.
16986
16987 2012-02-25 Chong Yidong <cyd@gnu.org>
16988
16989 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16990
16991 * term/x-win.el (x-initialize-window-system): Reduce default for
16992 x-selection-timeout to 5 seconds (Bug#8869).
16993
16994 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16995
16996 * files.el (files-equal-p, file-subdir-of-p): New functions.
16997 (copy-directory): Error when trying to copy a directory on itself.
16998 Add missing copy-contents arg to tramp handler.
16999 * dired-aux.el (dired-copy-file-recursive): Same.
17000 (dired-create-files): Modify destination when source is equal to
17001 dest when copying files.
17002 Return also when dest is a subdir of source. (Bug#10489)
17003
17004 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17005
17006 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17007 (Bug#10874)
17008
17009 2012-02-23 Alan Mackenzie <acm@muc.de>
17010
17011 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17012 parameter "after-hook:" to allow the expansion to run code after
17013 the execution of the mode hooks.
17014
17015 * font-lock.el (font-lock-initial-fontify): New function extracted
17016 from font-lock-mode-internal.
17017
17018 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17019 :after-hook.
17020
17021 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17022
17023 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17024 (completion--cache-all-sorted-completions): New function.
17025 (completion-all-sorted-completions): Use it.
17026 (completion--do-completion, minibuffer-force-complete):
17027 Use it to re-instate the flush hook.
17028
17029 * icomplete.el (icomplete-completions): Replace last fix with a better
17030 one (bug#10850).
17031
17032 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17033
17034 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17035 when it might call us back infinitely (bug#10797).
17036
17037 2012-02-23 Glenn Morris <rgm@gnu.org>
17038
17039 * minibuffer.el (completion-category-overrides): Doc fix.
17040
17041 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17042
17043 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17044 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17045
17046 2012-02-23 Glenn Morris <rgm@gnu.org>
17047
17048 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17049 (authors-obsolete-files-regexps, authors-ignored-files)
17050 (authors-ambiguous-files, authors-renamed-files-alist):
17051 Add more entries.
17052
17053 2012-02-23 Juri Linkov <juri@jurta.org>
17054
17055 * isearch.el (isearch-occur): Sync interactive spec with occur's
17056 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17057
17058 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17059
17060 2012-02-22 Juri Linkov <juri@jurta.org>
17061
17062 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17063 (ucs-insert): Doc fix. Check for hex digits in the string.
17064 Don't display `nil' in the error message. (Bug#10857)
17065
17066 2012-02-22 Alan Mackenzie <acm@muc.de>
17067
17068 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17069
17070 2012-02-22 Glenn Morris <rgm@gnu.org>
17071
17072 * ffap.el (ffap-c-path):
17073 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17074
17075 2012-02-22 Chong Yidong <cyd@gnu.org>
17076
17077 * custom.el (load-theme): Doc fix.
17078
17079 2012-02-22 Glenn Morris <rgm@gnu.org>
17080
17081 * dired-x.el (dired-guess-shell-alist-default):
17082 Remove escape sequences from nroff output. (Bug#172)
17083
17084 2012-02-21 Glenn Morris <rgm@gnu.org>
17085
17086 * vc/emerge.el (emerge-defvar-local):
17087 Set `permanent-local' property rather than unused `preserved'.
17088
17089 * textmodes/picture.el (picture-delete-char): New alias.
17090 (picture-mode-map): Use it. (Bug#10860)
17091 (picture-mode): Doc fix.
17092
17093 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17094
17095 * newcomment.el (uncomment-region-default): Remove unused binding.
17096
17097 2012-02-21 Glenn Morris <rgm@gnu.org>
17098
17099 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17100 (picture-self-insert, picture-tab-chars): Doc fix.
17101 (picture-mode-map): Fix C-a, C-e.
17102
17103 2012-02-20 Glenn Morris <rgm@gnu.org>
17104
17105 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17106
17107 2012-02-20 Leo Liu <sdl.web@gmail.com>
17108
17109 * icomplete.el (icomplete-completions): Check FROM arg before
17110 passing to substring (Bug#10850).
17111
17112 2012-02-19 Chong Yidong <cyd@gnu.org>
17113
17114 * comint.el: Require ansi-color.
17115 (comint-output-filter-functions): Add ansi-color-process-output.
17116
17117 * ansi-color.el: Don't set comint-output-filter-functions; it is
17118 now in the initial value defined in comint.el.
17119 (ansi-color-apply-face-function): New variable.
17120 (ansi-color-apply-on-region): Use it.
17121 (ansi-color-apply-overlay-face): New function.
17122
17123 * shell.el (shell): No need to require ansi-color.
17124 (shell-mode): Use ansi-color-apply-face-function to highlight
17125 color escapes using font-lock-face property (Bug#10835).
17126
17127 2012-02-19 Chong Yidong <cyd@gnu.org>
17128
17129 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17130 mode-line formats (Bug#10839).
17131
17132 2012-02-18 Glenn Morris <rgm@gnu.org>
17133
17134 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17135
17136 * mail/undigest.el (unforward-rmail-message): Doc fix.
17137
17138 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17139
17140 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17141
17142 * international/characters.el (script-list): Sync with the latest
17143 Unicode Character Database.
17144
17145 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17146
17147 * international/titdic-cnv.el: Remove duplicate coding tag.
17148 * language/cham.el: Likewise.
17149 * language/tai-viet.el: Likewise.
17150
17151 2012-02-18 Glenn Morris <rgm@gnu.org>
17152
17153 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17154 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17155 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17156 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17157 * calendar/holidays.el (holiday-bahai-holidays)
17158 (calendar-holidays, list-holidays):
17159 Use utf-8 Bahá'í in doc-strings, menus, etc.
17160
17161 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17162
17163 * saveplace.el (save-place-ignore-files-regexp): New variable
17164 allowing for excluding files from saving their location of point.
17165 The default value matches the temporary commit message editing
17166 files from Git, SVN, Bazaar, and Mercurial.
17167 (save-place-to-alist): Use it.
17168
17169 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17170 Stefan Monnier <monnier@iro.umontreal.ca>
17171
17172 * newcomment.el (uncomment-region-default): Don't leave extra space
17173 when an arg is provided (bug#8150).
17174
17175 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17176
17177 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17178
17179 2012-02-17 Glenn Morris <rgm@gnu.org>
17180
17181 * net/socks.el: Require network-stream. (Bug#10599)
17182
17183 2012-02-17 Kenichi Handa <handa@m17n.org>
17184
17185 * international/charprop.el:
17186 * international/uni-name.el:
17187 * international/uni-old-name.el:
17188 * international/uni-comment.el: Regenerate.
17189
17190 2012-02-16 Glenn Morris <rgm@gnu.org>
17191
17192 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17193 Interactively in calendar buffer, give an error if not on a date.
17194
17195 2012-02-15 Glenn Morris <rgm@gnu.org>
17196
17197 * shell.el (shell-delimiter-argument-list):
17198 Revert 2011-02-17 change. (Bug#8027)
17199
17200 2012-02-15 Chong Yidong <cyd@gnu.org>
17201
17202 * minibuffer.el (completion-at-point-functions): Doc fix.
17203
17204 * custom.el (defcustom): Doc fix; note use of defvar.
17205
17206 2012-02-15 Glenn Morris <rgm@gnu.org>
17207
17208 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17209 Doc fixes.
17210
17211 2012-02-14 Glenn Morris <rgm@gnu.org>
17212
17213 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17214
17215 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17216
17217 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17218 way the ports list is computed.
17219 (smtpmail-query-smtp-server): Prompt the user for a port number if
17220 we can't connect to any of the standard ports (bug#10810).
17221
17222 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17223
17224 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17225
17226 2012-02-13 Glenn Morris <rgm@gnu.org>
17227
17228 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17229
17230 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17231
17232 * net/gnutls.el (gnutls-trustfiles): New variable.
17233 (gnutls-negotiate): Use it.
17234
17235 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17236
17237 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17238 does its stuff if Gnus is running.
17239
17240 2012-02-13 Alan Mackenzie <acm@muc.de>
17241
17242 Fix a loop in c-set-fl-decl-start.
17243
17244 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17245 c-backward-syntactic-ws actually moves backwards.
17246
17247 2012-02-13 Leo Liu <sdl.web@gmail.com>
17248
17249 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17250 beginning so that all \C-o chars are removed.
17251
17252 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17253
17254 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17255
17256 2012-02-12 Alan Mackenzie <acm@muc.de>
17257
17258 Fix infinite loop with long macros.
17259 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17260
17261 2012-02-12 Chong Yidong <cyd@gnu.org>
17262
17263 * window.el (display-buffer): Doc fix (Bug#10785).
17264
17265 2012-02-12 Glenn Morris <rgm@gnu.org>
17266
17267 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17268 (x-disown-selection-internal, x-get-selection-internal):
17269 Sync docs with the xselect.c versions.
17270
17271 * allout-widgets.el: Add missing license notice.
17272
17273 2012-02-11 Glenn Morris <rgm@gnu.org>
17274
17275 * select.el (x-get-selection-internal, x-own-selection-internal)
17276 (x-disown-selection-internal):
17277 * x-dnd.el (x-get-selection-internal): Update declarations.
17278
17279 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17280
17281 * window.el (window-sides-slots):
17282 * tool-bar.el (tool-bar-position):
17283 * term/xterm.el (xterm-extra-capabilities):
17284 * ses.el (ses-self-reference-early-detection):
17285 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17286 (verilog-auto-wire-type)
17287 (verilog-auto-delete-trailing-whitespace)
17288 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17289 (verilog-auto-tieoff-declaration):
17290 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17291 (sql-oracle-statement-starters, sql-oracle-scan-on):
17292 * progmodes/prolog.el (prolog-align-comments-flag)
17293 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17294 (prolog-left-indent-regexp, prolog-paren-indent-p)
17295 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17296 (prolog-types, prolog-mode-specificators)
17297 (prolog-determinism-specificators, prolog-directives)
17298 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17299 (prolog-electric-dot-flag)
17300 (prolog-electric-dot-full-predicate-template)
17301 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17302 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17303 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17304 (prolog-program-switches, prolog-prompt-regexp)
17305 (prolog-debug-on-string, prolog-debug-off-string)
17306 (prolog-trace-on-string, prolog-trace-off-string)
17307 (prolog-zip-on-string, prolog-zip-off-string)
17308 (prolog-use-standard-consult-compile-method-flag)
17309 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17310 (prolog-imenu-max-lines, prolog-info-predicate-index)
17311 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17312 (prolog-char-quote-workaround):
17313 * progmodes/cc-vars.el (c-defun-tactic):
17314 * net/tramp.el (tramp-encoding-command-interactive)
17315 (tramp-local-end-of-line):
17316 * net/soap-client.el (soap-client):
17317 * net/netrc.el (netrc-file):
17318 * net/gnutls.el (gnutls):
17319 * minibuffer.el (completion-category-overrides)
17320 (completion-cycle-threshold)
17321 (completion-pcm-complete-word-inserts-delimiters):
17322 * man.el (Man-name-local-regexp):
17323 * mail/feedmail.el (feedmail-display-full-frame):
17324 * international/characters.el (glyphless-char-display-control):
17325 * eshell/em-ls.el (eshell-ls-date-format):
17326 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17327 (lisp-lambda-list-keyword-parameter-indentation)
17328 (lisp-lambda-list-keyword-parameter-alignment):
17329 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17330 * dired-x.el (dired-omit-verbose):
17331 * cus-theme.el (custom-theme-allow-multiple-selections):
17332 * calc/calc.el (calc-highlight-selections-with-faces)
17333 (calc-lu-field-reference, calc-lu-power-reference)
17334 (calc-note-threshold):
17335 * battery.el (battery-mode-line-limit):
17336 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17337 (archive-7z-update):
17338 * allout.el (allout-prefixed-keybindings)
17339 (allout-unprefixed-keybindings)
17340 (allout-inhibit-auto-fill-on-headline)
17341 (allout-flattened-numbering-abbreviation):
17342 * allout-widgets.el (allout-widgets-auto-activation)
17343 (allout-widgets-icons-dark-subdir)
17344 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17345 (allout-widgets-theme-dark-background)
17346 (allout-widgets-theme-light-background)
17347 (allout-widgets-item-image-properties-emacs)
17348 (allout-widgets-item-image-properties-xemacs)
17349 (allout-widgets-run-unit-tests-on-load)
17350 (allout-widgets-time-decoration-activity)
17351 (allout-widgets-hook-error-post-time)
17352 (allout-widgets-track-decoration):
17353 Add missing :version tags to new defcustoms and defgroups.
17354
17355 * progmodes/sql.el (sql-ansi-statement-starters)
17356 (sql-oracle-statement-starters): Add custom type.
17357
17358 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17359 (prolog-system-version): Give it a type.
17360
17361 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17362
17363 * term/pc-win.el (x-select-text, x-selection-owner-p)
17364 (x-own-selection-internal, x-disown-selection-internal)
17365 (x-get-selection-internal): Sync doc strings and argument lists
17366 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17367
17368 2012-02-11 Leo Liu <sdl.web@gmail.com>
17369
17370 * progmodes/python.el (python-end-of-statement): Fix infinite
17371 loop. (Bug#10788)
17372
17373 2012-02-10 Glenn Morris <rgm@gnu.org>
17374
17375 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17376 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17377
17378 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17379
17380 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17381 about SMTP before checking the From header.
17382
17383 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17384 into own function for reuse by emacsbug.el.
17385
17386 2012-02-10 Leo Liu <sdl.web@gmail.com>
17387
17388 * subr.el (condition-case-unless-debug): Rename from
17389 condition-case-no-debug. All callers changed.
17390 (with-demoted-errors): Fix caller.
17391
17392 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17393 * nxml/rng-valid.el (rng-do-some-validation):
17394 * emacs-lisp/package.el (package-refresh-contents)
17395 (package-menu-execute):
17396 * desktop.el (desktop-create-buffer):
17397 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17398
17399 2012-02-10 Glenn Morris <rgm@gnu.org>
17400
17401 * textmodes/bibtex.el:
17402 Add missing :version tags for new/changed defcustoms.
17403
17404 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17405
17406 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17407
17408 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17409 (smtpmail-via-smtp): Use it, or fall back on the From address.
17410 (smtpmail-send-it): Ditto.
17411
17412 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17413
17414 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17415 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17416 (byte-compile-tmp-var): New const.
17417 (byte-compile-defvar): Use it to minimize .elc size.
17418 Just use `defvar' rather than simulate it (bug#10761).
17419
17420 2012-02-09 Glenn Morris <rgm@gnu.org>
17421
17422 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17423
17424 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17425 Add :version tags.
17426
17427 * progmodes/compile.el (compilation-error-screen-columns)
17428 (compilation-first-column, compilation-filter-start): Doc fixes.
17429
17430 * vc/log-view.el (log-view-toggle-entry-display):
17431 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17432
17433 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17434 (report-emacs-bug-can-use-xdg-email):
17435 (report-emacs-bug-insert-to-mailer): Doc fixes.
17436 (report-emacs-bug): Message fix.
17437
17438 * net/browse-url.el (browse-url-can-use-xdg-open)
17439 (browse-url-xdg-open): Doc fixes.
17440
17441 * electric.el (electric-indent-mode, electric-pair-mode)
17442 (electric-layout-rules, electric-layout-mode): Doc fixes.
17443 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17444
17445 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17446
17447 * server.el (server-unselect-display): Don't inadvertently kill
17448 the current buffer. (Bug#10729)
17449
17450 2012-02-08 Glenn Morris <rgm@gnu.org>
17451
17452 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17453 (sql-list-table): Doc fixes.
17454
17455 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17456 Comment out (does nothing).
17457
17458 * completion.el (dynamic-completion-mode):
17459 * dirtrack.el (dirtrack-debug-mode):
17460 * electric.el (electric-layout-mode):
17461 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17462 * face-remap.el (text-scale-mode, buffer-face-mode):
17463 * iimage.el (iimage-mode):
17464 * image-mode.el (image-transform-mode):
17465 * minibuffer.el (completion-in-region-mode):
17466 * scroll-lock.el (scroll-lock-mode):
17467 * simple.el (next-error-follow-minor-mode):
17468 * tar-mode.el (tar-subfile-mode):
17469 * tooltip.el (tooltip-mode):
17470 * vcursor.el (vcursor-use-vcursor-map):
17471 * wid-browse.el (widget-minor-mode):
17472 * emulation/tpu-edt.el (tpu-edt-mode):
17473 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17474 * international/iso-ascii.el (iso-ascii-mode):
17475 * language/thai-util.el (thai-word-mode):
17476 * mail/supercite.el (sc-minor-mode):
17477 * net/goto-addr.el (goto-address-mode):
17478 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17479 * progmodes/cwarn.el (cwarn-mode):
17480 * progmodes/flymake.el (flymake-mode):
17481 * progmodes/glasses.el (glasses-mode):
17482 * progmodes/hideshow.el (hs-minor-mode):
17483 * progmodes/pascal.el (pascal-outline-mode):
17484 * textmodes/enriched.el (enriched-mode):
17485 * vc/smerge-mode.el (smerge-mode):
17486 Doc fixes (minor mode argument).
17487
17488 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17489
17490 * ls-lisp.el (ls-lisp-sanitize): New function.
17491 (ls-lisp-insert-directory): Use it to fix or remove any elements
17492 in file-alist with missing attributes. (Bug#4673)
17493
17494 2012-02-07 Alan Mackenzie <acm@muc.de>
17495
17496 Fix spurious recognition of c-in-knr-argdecl.
17497
17498 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17499 putative K&R region.
17500
17501 2012-02-07 Alan Mackenzie <acm@muc.de>
17502
17503 * progmodes/cc-engine.el (c-forward-objc-directive):
17504 Prevent looping in "#pragma mark @implementation".
17505
17506 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17507
17508 * notifications.el (notifications-on-closed-signal): Make `reason'
17509 optional. (Bug#10744)
17510
17511 2012-02-07 Glenn Morris <rgm@gnu.org>
17512
17513 * emacs-lisp/easy-mmode.el (define-minor-mode):
17514 Doc fixes for the macro and the mode it defines.
17515
17516 * image.el (imagemagick-types-inhibit): Doc fix.
17517
17518 * cus-start.el (imagemagick-render-type): Add it.
17519
17520 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17521
17522 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17523 Set the default at load time, too, so that `font-lock-fontify-buffer'
17524 can be called without setting up the entire mode first. This fixes
17525 a bug in `mm-inline-text' with C MIME parts.
17526
17527 2012-02-06 Chong Yidong <cyd@gnu.org>
17528
17529 * simple.el (list-processes--refresh): Delete exited processes
17530 (Bug#8094).
17531
17532 * comint.el (comint-next-prompt): next-single-char-property-change
17533 and prev-single-char-property-change never return nil (Bug#8657).
17534
17535 * custom.el (defcustom): Doc fix (Bug#9711).
17536
17537 2012-02-05 Chong Yidong <cyd@gnu.org>
17538
17539 * cus-edit.el (custom-variable-reset-backup): Quote the value
17540 before storing it in the customized-value property (Bug#6712).
17541 (custom-display): Add a customization type tag.
17542 (custom-buffer-create-internal): Improve tooltip message.
17543
17544 * wid-edit.el (widget-field-value-get): New optional arg to
17545 suppress trailing whitespace truncation.
17546 (character): Use it (Bug#2689).
17547
17548 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17549
17550 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17551 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17552
17553 2012-02-05 Chong Yidong <cyd@gnu.org>
17554
17555 * cus-edit.el (custom-variable-value-create): For mismatched
17556 types, show the current value (Bug#7600).
17557
17558 * custom.el (defcustom): Doc fix.
17559
17560 2012-02-05 Glenn Morris <rgm@gnu.org>
17561
17562 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17563
17564 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17565
17566 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17567 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17568 (pp-last-sexp): Use `looking-at-p'.
17569
17570 2012-02-04 Glenn Morris <rgm@gnu.org>
17571
17572 * files.el (revert-buffer):
17573 Doc fix (mention revert-buffer-in-progress-p).
17574
17575 * emacs-lisp/ert-x.el (ert-simulate-command):
17576 Check deferred-action-list (which is obsolete) is bound.
17577
17578 * subr.el (with-wrapper-hook): Doc fixes.
17579
17580 * simple.el (filter-buffer-substring-functions)
17581 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17582
17583 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17584
17585 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17586 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17587
17588 2012-02-04 Leo Liu <sdl.web@gmail.com>
17589
17590 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17591
17592 2012-02-04 Glenn Morris <rgm@gnu.org>
17593
17594 * image.el (image-extension-data): Add obsolete alias.
17595
17596 * isearch.el (isearch-update): Doc fix.
17597
17598 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17599
17600 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17601
17602 2012-02-03 Glenn Morris <rgm@gnu.org>
17603
17604 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17605 (image-animate-timeout): Doc fix.
17606
17607 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17608
17609 2012-02-02 Glenn Morris <rgm@gnu.org>
17610
17611 * server.el (server-auth-dir): Doc fix.
17612 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17613
17614 * subr.el (run-mode-hooks): Doc fix.
17615
17616 2012-02-02 Juri Linkov <juri@jurta.org>
17617
17618 * image-mode.el (image-toggle-display-image): Remove tautological
17619 `major-mode' from the `derived-mode-p' test.
17620
17621 2012-02-02 Kenichi Handa <handa@m17n.org>
17622
17623 * composite.el (compose-region): Cancel previous change.
17624
17625 2012-02-02 Kenichi Handa <handa@m17n.org>
17626
17627 * composite.el (compose-region, compose-string): Signal error for
17628 a null string component (Bug#6988).
17629
17630 2012-02-01 Chong Yidong <cyd@gnu.org>
17631
17632 * view.el (view-buffer-other-window, view-buffer-other-frame):
17633 Handle special modes like view-buffer (Bug#10650).
17634 (view-buffer): Simplify.
17635
17636 * frame.el (set-frame-font): Tweak meaning of third argument.
17637
17638 * dynamic-setting.el (font-setting-change-default-font):
17639 Use set-frame-font (Bug#9982).
17640
17641 2012-02-01 Glenn Morris <rgm@gnu.org>
17642
17643 * progmodes/compile.el (compilation-internal-error-properties):
17644 Respect compilation-first-column in the "*compilation*" buffer.
17645
17646 * emacs-lisp/easy-mmode.el (define-minor-mode):
17647 Relax :variable's test for a named function.
17648
17649 2012-01-31 Alan Mackenzie <acm@muc.de>
17650
17651 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17652 off by one error.
17653
17654 2012-01-31 Chong Yidong <cyd@gnu.org>
17655
17656 * frame.el (set-frame-font): New arg ALL-FRAMES.
17657
17658 * menu-bar.el (menu-set-font): Use set-frame-font.
17659
17660 * faces.el (face-spec-reset-face): Don't apply unspecified
17661 attribute values to the default face.
17662
17663 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17664
17665 * progmodes/cwarn.el (cwarn): Remove dead link.
17666 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17667 Remove * from defcustom docstrings.
17668 (turn-on-cwarn-mode): Make obsolete.
17669 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17670 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17671
17672 2012-01-31 Glenn Morris <rgm@gnu.org>
17673
17674 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17675 Fix :variable handling of mode a symbol not equal to modefun.
17676 Allow named functions to be used as the cdr of :variable.
17677
17678 2012-01-30 Glenn Morris <rgm@gnu.org>
17679
17680 * emacs-lisp/authors.el (authors-fixed-entries):
17681 Remove reference to deleted file rnewspost.el.
17682
17683 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17684
17685 * window.el (window-with-parameter): Remove unused variable `windows'.
17686 (window--side-check): Remove unused variable `code'.
17687 (window--resize-siblings): Remove unused variable `first'.
17688 (adjust-window-trailing-edge): Remove unused variable `failed'.
17689 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17690 Use `let', not `let*'.
17691 (balance-windows-2): Remove unused variable `found'.
17692 (window--state-put-2): Remove unused variable `splits'.
17693 (window-state-put): Remove unused variable `selected'.
17694 (same-window-p): Use `string-match-p'.
17695 (display-buffer-assq-regexp): Remove unused variable `value'.
17696 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17697 Mark argument ALIST as ignored.
17698 (pop-to-buffer): Remove unused variable `old-window'.
17699
17700 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17701
17702 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17703 and .lzma compressed files.
17704
17705 2012-01-29 Chong Yidong <cyd@gnu.org>
17706
17707 * frame.el (window-system-default-frame-alist): Doc fix.
17708
17709 * dynamic-setting.el (font-setting-change-default-font): Don't
17710 change the default face if SET-FONT argument is non-nil (Bug#9982).
17711
17712 2012-01-29 Samuel Bronson <naesten@gmail.com>
17713
17714 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17715
17716 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17717
17718 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17719 breakpoints in files outside current directory (Bug#6098).
17720
17721 2012-01-29 Chong Yidong <cyd@gnu.org>
17722
17723 * progmodes/python.el: Require ansi-color at top-level.
17724
17725 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17726 Define and use in Emacs Lisp mode (Bug#9360).
17727 (lisp-mode-abbrev-table): Add doc.
17728 (lisp-mode-variables): Don't set local-abbrev-table.
17729 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17730
17731 2012-01-28 Roland Winkler <winkler@gnu.org>
17732
17733 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17734
17735 2012-01-28 Roland Winkler <winkler@gnu.org>
17736
17737 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17738 (bibtex-set-dialect): Use it. Either set global values of
17739 dialect-dependent variables or bind these variables buffer-locally
17740 (Bug#10254).
17741 (bibtex-mode): Call bibtex-set-dialect via
17742 hack-local-variables-hook.
17743 (bibtex-dialect): Update docstring.
17744 Add safe-local-variable predicate.
17745 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17746 bibtex-set-dialect.
17747 (bibtex-mode-map): Define menu for each dialect.
17748 (bibtex-entry): Fix docstring.
17749
17750 2012-01-28 Chong Yidong <cyd@gnu.org>
17751
17752 * eshell/esh-arg.el (eshell-quote-argument): New function.
17753
17754 * eshell/esh-ext.el (eshell-invoke-batch-file):
17755 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17756 first arg to eshell-parse-command (Bug#10523).
17757
17758 2012-01-28 Drew Adams <drew.adams@oracle.com>
17759
17760 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17761 `default-directory' is non-nil.
17762
17763 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17764
17765 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17766 line that displays system-configuration-options. (Bug#9924)
17767
17768 2012-01-28 Drew Adams <drew.adams@oracle.com>
17769
17770 * descr-text.el (describe-char): Show information about POS, in
17771 addition to information about the character at POS. Improve and
17772 update the doc string. Change "code point" to "code point in
17773 charset", to avoid confusion with the character's Unicode code
17774 point shown above that. (Bug#10129)
17775
17776 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17777
17778 * descr-text.el (describe-char): Show the raw character, not only
17779 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17780 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17781 for the reasons.
17782
17783 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17784
17785 * emacs-lisp/package.el (package-install):
17786 Run package-refresh-contents if there is no archive yet (Bug#9798).
17787
17788 2012-01-28 Chong Yidong <cyd@gnu.org>
17789
17790 * emacs-lisp/package.el (package-maybe-load-descriptor):
17791 New function, split from package-maybe-load-descriptor.
17792 (package-maybe-load-descriptor): Use it.
17793 (package-download-transaction): Fully load required packages
17794 inside the loop, so that `require' calls work (Bug#10593).
17795 (package-install): No need to call package-initialize now.
17796
17797 2012-01-28 Chong Yidong <cyd@gnu.org>
17798
17799 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17800
17801 * tooltip.el (tooltip-mode): Doc fix.
17802 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17803
17804 * frame.el (set-cursor-color): Doc fix (Bug#352).
17805
17806 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17807 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17808
17809 * cus-edit.el (custom-buffer-create-internal): Fix search button
17810 action (Bug#10542).
17811 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17812
17813 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17814
17815 * dired.el (dired-mark-files-regexp):
17816 Include any subdirectory components. (Bug#10445)
17817
17818 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17819
17820 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17821 Handle [host]:port syntax. (Bug#10533)
17822
17823 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17824
17825 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17826
17827 2012-01-26 Glenn Morris <rgm@gnu.org>
17828
17829 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17830 * term.el (term-raw-escape-map): Use Control-X-prefix.
17831 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17832
17833 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17834
17835 * window.el (window-state-get, window--state-get-1): Don't deal
17836 with fixed-sizeness of windows. Simplify code.
17837
17838 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17839
17840 * window.el (window--state-get-1, window--state-put-2):
17841 Don't save and restore the mark.
17842
17843 2012-01-25 Chong Yidong <cyd@gnu.org>
17844
17845 * custom.el (custom-variable-p): Doc fix.
17846
17847 2012-01-25 Glenn Morris <rgm@gnu.org>
17848
17849 * dired.el (dired-goto-file): Handle some of the more common
17850 characters that `ls -b' escapes. (Bug#10596)
17851
17852 * progmodes/compile.el (compilation-next-error-function):
17853 Respect compilation-first-column in the "*compilation*" buffer.
17854 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17855
17856 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17857
17858 2012-01-24 Glenn Morris <rgm@gnu.org>
17859
17860 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17861
17862 2012-01-24 Julien Danjou <julien@danjou.info>
17863
17864 * color.el (color-rgb-to-hsl): Fix value computing.
17865 (color-hue-to-rgb): New function.
17866 (color-hsl-to-rgb): New function.
17867 (color-clamp, color-saturate-hsl, color-saturate-name)
17868 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17869 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17870
17871 2012-01-24 Glenn Morris <rgm@gnu.org>
17872
17873 * vc/vc-rcs.el (vc-rcs-create-tag):
17874 * vc/vc-sccs.el (vc-sccs-create-tag):
17875 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17876
17877 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17878
17879 * eshell/esh-util.el (eshell-read-hosts-file):
17880 Skip comment lines. (Bug#10549)
17881
17882 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17883
17884 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17885
17886 * subr.el (display-delayed-warnings): Doc fix.
17887 (collapse-delayed-warnings): New function to collapse identical
17888 adjacent warnings.
17889 (delayed-warnings-hook): Add it.
17890
17891 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17892
17893 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17894
17895 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17896 (tramp-default-user-alist): Don't add "pscp".
17897 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17898 property "login-as", if set. (Bug#10530)
17899
17900 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17901
17902 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17903 "plink1" and "psftp". (Bug#10530)
17904
17905 2012-01-21 Kenichi Handa <handa@m17n.org>
17906
17907 * international/mule-cmds.el (prefer-coding-system): Show a
17908 warning message if the default value of file-name-coding-system
17909 was not changed.
17910
17911 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17912
17913 * windmove.el (windmove-reference-loc):
17914 Fix windmove-reference-loc miscalculation.
17915
17916 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17917
17918 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17919 default unit.
17920
17921 2012-01-21 Glenn Morris <rgm@gnu.org>
17922
17923 * international/mule.el (auto-coding-alist): Add .tbz.
17924
17925 * files.el (local-enable-local-variables): Doc fix.
17926 (inhibit-local-variables-regexps): Rename from
17927 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17928 Doc fix. Add some extensions from auto-coding-alist.
17929 (inhibit-local-variables-suffixes):
17930 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17931 (inhibit-local-variables-p):
17932 New function, extracted from set-auto-mode-1.
17933 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17934 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17935 (hack-local-variables): Doc fix. Make the mode-only case
17936 respect enable-local-variables and friends.
17937 Respect inhibit-local-variables-regexps for file-locals, but
17938 not for directory-locals.
17939 (set-visited-file-name):
17940 Take account of inhibit-local-variables-regexps.
17941 Whether it applies may change as the file name is changed.
17942 * jka-cmpr-hook.el (jka-compr-install):
17943 * jka-compr.el (jka-compr-uninstall):
17944 Update for inhibit-first-line-modes-suffixes name change.
17945
17946 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17947
17948 * help-macro.el (make-help-screen): Temporarily restore original
17949 binding for minor-mode-map-alist (Bug#10454).
17950
17951 2012-01-19 Julien Danjou <julien@danjou.info>
17952
17953 * color.el (color-name-to-rgb): Use the white color to find the max
17954 color component value and return correctly computed values.
17955 (color-name-to-rgb): Add missing float conversion for max value.
17956
17957 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17958
17959 * window.el (window--state-get-1, window-state-get): Do not use
17960 special state value for window-persistent-parameters.
17961 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17962 (window--state-put-2): Reset all window parameters to nil before
17963 assigning values of persistent parameters.
17964
17965 2012-01-18 Alan Mackenzie <acm@muc.de>
17966
17967 Eliminate sluggishness and hangs in fontification of "semicolon
17968 deserts".
17969
17970 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17971 Change value 10000 -> 3000.
17972 (c-state-safe-place): Reformulate so it doesn't stack up an
17973 infinite number of wrong entries in c-state-nonlit-pos-cache.
17974 (c-determine-limit-get-base, c-determine-limit): New functions to
17975 determine backward search limits disregarding literals.
17976 (c-find-decl-spots): Amend commenting.
17977 (c-cheap-inside-bracelist-p): New function which detects "={".
17978
17979 * progmodes/cc-fonts.el
17980 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17981 backward search.
17982 (c-font-lock-declarations): Fix an occurrence of point being
17983 undefined. Check additionally for point being in a bracelist or
17984 near a macro invocation without a semicolon so as to avoid a
17985 fruitless time consuming search for a declarator. Give a more
17986 precise search limit for declarators using the new
17987 c-determine-limit.
17988
17989 2012-01-18 Glenn Morris <rgm@gnu.org>
17990
17991 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17992 (set-auto-mode): Doc fixes.
17993
17994 2012-01-17 Glenn Morris <rgm@gnu.org>
17995
17996 * isearch.el (search-nonincremental-instead): Fix doc typo.
17997
17998 * dired.el (dired-insert-directory): Handle newlines in directory name.
17999 (dired-build-subdir-alist): Unescape newlines in directory name.
18000
18001 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18002
18003 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18004 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18005 (tramp-action-terminal): Use it. (Bug#10530)
18006
18007 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18008
18009 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18010
18011 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18012
18013 * window.el (window-state-ignored-parameters): Remove variable.
18014 (window--state-get-1): Rename argument MARKERS to IGNORE.
18015 Handle persistent window parameters. Make copy of clone-of
18016 parameter only if requested. (Bug#10348)
18017 (window--state-put-2): Install a window parameter only if it has
18018 a non-nil value or an existing parameter shall be overwritten.
18019
18020 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18021
18022 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18023
18024 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18025
18026 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18027 don't pass the (nil) value of `upnode' to string-match.
18028
18029 2012-01-14 Chong Yidong <cyd@gnu.org>
18030
18031 * startup.el (command-line): Fix X resource class for cursorColor.
18032 Fix values recognized by the cursorBlink resource.
18033
18034 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18035
18036 * epg.el (epg--make-temp-file): Avoid permission race condition
18037 when running on old Emacs versions (bug#10403).
18038
18039 2012-01-14 Glenn Morris <rgm@gnu.org>
18040
18041 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18042
18043 2012-01-13 Alan Mackenzie <acm@muc.de>
18044
18045 Fix filling for when filladapt mode is enabled.
18046
18047 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18048 c-mask-paragraph, pass in `fill-paragraph' rather than
18049 `fill-region-as-paragraph'. (This is a reversion of a previous
18050 change.)
18051 * progmodes/cc-mode.el (c-basic-common-init):
18052 Make fill-paragraph-handle-comment buffer local and set it to nil.
18053
18054 2012-01-13 Glenn Morris <rgm@gnu.org>
18055
18056 * dired.el (dired-switches-escape-p): New function.
18057 (dired-insert-directory): Use dired-switches-escape-p.
18058 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18059
18060 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18061
18062 2012-01-12 Glenn Morris <rgm@gnu.org>
18063
18064 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18065 changes in adaptive-fill-regexp. (Bug#10276)
18066
18067 2012-01-11 Alan Mackenzie <acm@muc.de>
18068
18069 Fix Emacs bug #10463 - put `widen's around the critical spots.
18070
18071 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18072 widen around each invocation of c-state-pp-to-literal. Remove an
18073 unused let variable.
18074
18075 2012-01-11 Glenn Morris <rgm@gnu.org>
18076
18077 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18078 Doc fix.
18079
18080 2012-01-10 Chong Yidong <cyd@gnu.org>
18081
18082 * net/network-stream.el (network-stream-open-starttls):
18083 Avoid emitting a confusing error message when the server gives a bad
18084 response to the capability command.
18085
18086 2012-01-10 Glenn Morris <rgm@gnu.org>
18087
18088 * mail/unrmail.el (unrmail): Tweak previous change.
18089
18090 2012-01-09 Chong Yidong <cyd@gnu.org>
18091
18092 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18093
18094 2012-01-08 Alan Mackenzie <acm@muc.de>
18095
18096 Optimize font locking in long enum definitions.
18097
18098 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18099 arm to a cond form to handle enums.
18100 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18101 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18102
18103 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18104
18105 * files.el (move-file-to-trash): Preserve default file modes on error.
18106 (Bug#10401)
18107
18108 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18109
18110 * faces.el (set-face-attribute): Clarify the meaning of the nil
18111 frame (bug#10294).
18112
18113 * subr.el (with-selected-frame): Mention that the selected frame
18114 is restored (bug#9980).
18115
18116 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18117 (bug#9759).
18118
18119 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18120 (password-read): Don't autoload unused function.
18121
18122 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18123
18124 * progmodes/which-func.el (which-func-mode): Turn into a
18125 non-interactive function and mark as obsolete (bug#10428).
18126
18127 2012-01-06 Chong Yidong <cyd@gnu.org>
18128
18129 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18130 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18131 functions, along with 1 and -1.
18132
18133 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18134
18135 * time.el (display-time-load-average)
18136 (display-time-default-load-average): Doc fixes. See the thread
18137 starting at
18138 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18139 for the details.
18140
18141 2012-01-06 Glenn Morris <rgm@gnu.org>
18142
18143 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18144 has no messages. (Bug#10377)
18145
18146 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18147 than Info-edit. (Bug#10385)
18148
18149 * time.el (display-time-load-average, display-time-next-load-average):
18150 Doc fixes.
18151
18152 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18153 local setting of buffer-read-only to the input buffer. (Bug#10419)
18154
18155 * calendar/calendar.el (calendar-mode):
18156 Locally set scroll-margin to 0. (Bug#10379)
18157
18158 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18159
18160 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18161
18162 2012-01-05 Glenn Morris <rgm@gnu.org>
18163
18164 * eshell/em-unix.el (diff-no-select): Autoload it.
18165 (eshell/diff): Use diff-no-select. (Bug#10420)
18166
18167 2012-01-05 Chong Yidong <cyd@gnu.org>
18168
18169 * shell.el (shell-dynamic-complete-functions): Revert last change.
18170 (shell-command-completion-function): New function.
18171 (shell-completion-vars): Use it to implement
18172 shell-completion-execonly (Bug#10417).
18173
18174 * custom.el (enable-theme): Don't set custom-safe-themes.
18175
18176 * cus-theme.el (custom-theme-merge-theme):
18177 Ignore custom-enabled-themes and custom-safe-themes.
18178
18179 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18180
18181 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18182 first prompt in `sql-interacive-mode'.
18183 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18184 keywords.
18185 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18186 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18187 context of original buffer. Invoke `sql-login-hook'.
18188
18189 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18190
18191 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18192 letters in cite-prefix.
18193
18194 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18195
18196 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18197
18198 2012-01-03 Chong Yidong <cyd@gnu.org>
18199
18200 * shell.el (shell-dynamic-complete-functions):
18201 Put pcomplete-completions-at-point, so as to try
18202 comint-filename-completion first (Bug#10417).
18203
18204 2012-01-02 Richard Stallman <rms@gnu.org>
18205
18206 * battery.el (battery-status-function):
18207 Detect when to use battery-yeeloong-sysfs.
18208 (battery-echo-area-format): Add string for Yeeloong.
18209 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18210 (battery-yeeloong-sysfs): New function.
18211
18212 2012-01-02 Chong Yidong <cyd@gnu.org>
18213
18214 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18215 (dirtrack): Merge code for handling relative filenames in prompt
18216 from shell-dir-cookie-watcher.
18217 (dirtrack-debug-message): New arg to avoid excess format calls.
18218
18219 * shell.el (shell-dir-cookie-re): Variable deleted.
18220 (shell-dir-cookie-watcher): Function deleted.
18221 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18222 with dirtrack-mode.
18223
18224 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18225
18226 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18227 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18228 libgnutls-26.dll.
18229
18230 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18231
18232 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18233
18234 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18235
18236 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18237 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18238
18239 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18240
18241 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18242 also for alternative shells.
18243 (tramp-open-connection-setup-interactive-shell): Check, whether
18244 the shell is a busybox.
18245 (tramp-send-command): Don't suppress multiple prompts for
18246 busyboxes, it hurts.
18247
18248 2011-12-28 Chong Yidong <cyd@gnu.org>
18249
18250 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18251 (gdb-get-source-file): Move mode line update to
18252 gdb-get-source-file (Bug#10087).
18253
18254 2011-12-25 Chong Yidong <cyd@gnu.org>
18255
18256 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18257 gud-gdb-marker-filter without taking it as an argument.
18258 (gud-gdb-run-command-fetch-lines): Caller changed.
18259 (gud-gdb-completion-function): New variable.
18260 (gud-gdb-completion-at-point): Use it.
18261 (gud-gdb-completions-1): Split from gud-gdb-completions.
18262
18263 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18264 function as separate arguments.
18265 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18266 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18267 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18268 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18269 (gdb-stopped, def-gdb-auto-update-trigger)
18270 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18271 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18272 Callers changed.
18273 (gud-gdbmi-completions): New function.
18274 (gdb): Use it for generating the completion table.
18275
18276 2011-12-24 Alan Mackenzie <acm@muc.de>
18277
18278 Introduce a mechanism to widen the region used in context font
18279 locking. Use this to protect declarations from losing their contexts.
18280
18281 * progmodes/cc-langs.el (c-before-font-lock-functions):
18282 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18283 (c-before-context-fontification-functions): New defvar, a list of
18284 functions to be run just before context (etc.) font locking.
18285
18286 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18287 New, functionality extracted from
18288 c-neutralize-syntax-in-and-mark-CPP.
18289 (c-in-after-change-fontification): New variable.
18290 (c-after-change): Set c-in-after-change-fontification.
18291 (c-set-fl-decl-start): Rejig its interface, so it can be called
18292 from both after-change and context fontifying.
18293 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18294 New functions.
18295 (c-standard-font-lock-fontify-region-function): New variable.
18296 (c-font-lock-fontify-region): New function.
18297
18298 2011-12-24 Juri Linkov <juri@jurta.org>
18299
18300 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18301 (Bug#10348)
18302
18303 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18304
18305 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18306 existence of source file. (Bug#10325)
18307
18308 2011-12-23 Alan Mackenzie <acm@muc.de>
18309
18310 Fix unstable fontification inside templates.
18311
18312 * progmodes/cc-langs.el (c-before-font-lock-functions):
18313 Newly created from the singular version. The (c c++ objc) entry now
18314 additionally has c-set-fl-decl-start. The other languages (apart
18315 from AWK) have that as a single entry.
18316
18317 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18318 The functionality for "local" declarations has been extracted to
18319 c-set-fl-decl-start.
18320
18321 * progmodes/cc-mode.el (c-common-init, c-after-change):
18322 Changes due to pluralisation of c-before-font-lock-functions.
18323 (c-set-fl-decl-start): New function, extracted from
18324 c-font-lock-enclosing-decls and enhanced.
18325
18326 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18327
18328 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18329
18330 2011-12-22 Juri Linkov <juri@jurta.org>
18331
18332 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18333
18334 2011-12-22 Chong Yidong <cyd@gnu.org>
18335
18336 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18337
18338 2011-12-21 Drew Adams <drew.adams@oracle.com>
18339
18340 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18341
18342 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18343
18344 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18345
18346 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18347
18348 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18349 highlighting and support. Fix up comments for capitalization.
18350 (cfengine-mode-debug): New var.
18351 (cfengine3-mode): Change the modeline indicator to "CFE3".
18352 (cfengine3-font-lock-keywords): Improve defun highlighting.
18353 (cfengine2-actions): Rename from `cfengine-actions'.
18354 (cfengine2-font-lock-keywords): Rename from
18355 `cfengine-font-lock-keywords'.
18356 (cfengine2-imenu-expression): Rename from
18357 `cfengine-imenu-expression'.
18358 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18359 (cfengine2-beginning-of-defun): Rename from
18360 `cfengine-beginning-of-defun'.
18361 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18362 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18363 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18364 modeline indicator to "CFE2".
18365 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18366 (cfengine-mode-abbrevs): Mark obsolete.
18367
18368 2011-12-21 Chong Yidong <cyd@gnu.org>
18369
18370 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18371 filename argument.
18372
18373 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18374
18375 * window.el (window-normalize-buffer-to-display): Remove.
18376 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18377
18378 2011-12-19 Chong Yidong <cyd@gnu.org>
18379
18380 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18381 Don't signal an error in a predicate function; return non-nil.
18382 (vc-dir-mark-file): Move the error here.
18383 (vc-dir-mark-unmark): If acting on the region, keep going if one
18384 of the entries cannot be marked/unmarked.
18385 (vc-dir-mark-all-files): If current entry is a directory, mark
18386 only child files, as documented.
18387
18388 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
18389
18390 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18391 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18392 addition.
18393
18394 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18395
18396 * term/ns-win.el (ns-get-selection-internal)
18397 (ns-store-selection-internal): Declare.
18398 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18399 Declare as obsolete.
18400 (ns-get-pasteboard, ns-paste-secondary):
18401 Use ns-get-selection-internal.
18402 (ns-set-pasteboard, ns-copy-including-secondary):
18403 Use ns-store-selection-internal.
18404
18405 2011-12-17 Chong Yidong <cyd@gnu.org>
18406
18407 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18408 (vc-deduce-fileset): Doc fix.
18409
18410 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18411
18412 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18413
18414 2011-12-13 Sam Steingold <sds@gnu.org>
18415
18416 * man.el (Man-getpage-in-background): When running under a
18417 window-system, ignore $MANWIDTH and $COLUMNS.
18418
18419 2011-12-15 Kenichi Handa <handa@m17n.org>
18420
18421 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18422 (setup-ethiopic-environment-internal): Comment out key-binding for
18423 ethio-toggle-punctuation.
18424
18425 2011-12-13 Alan Mackenzie <acm@muc.de>
18426
18427 Add the switch statement to AWK Mode.
18428
18429 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18430 "default" to the keywords regexp.
18431
18432 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18433 expression as the rest.
18434 (c-nonlabel-token-key): Allow string literals for AWK.
18435 Refactor for the other modes.
18436
18437 Large brace-block initialisation makes CC Mode slow: Fix.
18438 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18439 routines. Limit backward searching in c-font-lock-enclosing.decl.
18440
18441 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18442 pp-state and literal type in addition to the limits.
18443 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18444 (c-state-literal-at): Use the above new defun.
18445 (c-slow-in-literal, c-fast-in-literal): Remove.
18446 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18447
18448 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18449 being in a literal. Add a limit for backward searching.
18450
18451 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18452 c-slow-in-literal.
18453
18454 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18455
18456 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18457
18458 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18459
18460 * window.el (delete-other-windows): Use correct frame in call to
18461 window-with-parameter.
18462
18463 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18464
18465 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18466 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18467 (makefile-gmake-statements, makefile-makepp-statements):
18468 Use it and add new makepp keywords.
18469 (makefile-makepp-font-lock-keywords): Add new patterns.
18470 (makefile-match-function-end): Match new [...] and [[...]].
18471
18472 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18473
18474 * ses.el (ses-call-printer-return, ses-cell-property-get)
18475 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18476 (ses-create-cell-variable, ses-reset-header-string)
18477 (ses-cell-set-formula, ses-repair-cell-reference-all)
18478 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18479 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18480 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18481 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18482 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18483 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18484 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18485 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18486 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18487 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18488 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18489 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18490
18491 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
18492
18493 * ses.el: The overall change is to add cell renaming, that is
18494 setting fancy names for cell symbols other than name matching
18495 "\\`[A-Z]+[0-9]+\\'" regexp .
18496 (ses-create-cell-variable): New defun.
18497 (ses-relocate-formula): Relocate formulas only for cells the
18498 symbols of which are not renamed, i.e. symbols whose names do not
18499 match regexp "\\`[A-Z]+[0-9]+\\'".
18500 (ses-relocate-all): Relocate values only for cells the symbols of
18501 which are not renamed.
18502 (ses-load): Create cells variables as the (ses-cell ...) are read,
18503 in order to check row col consistency with cell symbol name only
18504 for cells that are not renamed.
18505 (ses-replace-name-in-formula): New defun.
18506 (ses-rename-cell): New defun.
18507
18508 2011-12-11 Chong Yidong <cyd@gnu.org>
18509
18510 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18511 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18512
18513 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18514
18515 * window.el (other-window): Fix docstring.
18516
18517 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18518
18519 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18520 `from' or `to' address before taking its substring.
18521 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18522 encoded name is chopped in the middle of the encoded string, and
18523 thus displayed encoded.
18524
18525 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18526
18527 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18528
18529 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18530
18531 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18532 to use texinfo-update-node and commands that call it if the
18533 Texinfo file uses @node lines without next/prev/up pointers.
18534 Correct outdated description about texinfo-master-menu.
18535 (texinfo-all-menus-update, texinfo-master-menu)
18536 (texinfo-update-node, texinfo-every-node-update)
18537 (texinfo-multiple-files-update): Doc fix. Warn against updating
18538 all the @node lines.
18539 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18540 argument is numeric. Explain better in the doc string what the
18541 function really does.
18542 (texinfo-insert-master-menu-list): Improve the error message
18543 displayed if there's no menu in the Top node.
18544 (Bug#2975) See also this thread:
18545 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18546
18547 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
18548
18549 * speedbar.el (speedbar-supported-extension-expressions):
18550 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18551
18552 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18553
18554 * printing.el (pr-mode-alist):
18555 * simple.el (filter-buffer-substring-functions)
18556 (completion-list-insert-choice-function):
18557 * window.el (window-with-parameter, window-atom-root)
18558 (window-sides-slots, window-size-fixed, window-min-delta)
18559 (window-max-delta, window--resize-mini-window)
18560 (window--resize-child-windows-normal, window-tree)
18561 (delete-other-windows, quit-window, split-window)
18562 (display-buffer-record-window, special-display-buffer-names)
18563 (special-display-regexps, special-display-popup-frame)
18564 (same-window-p, split-window-sensibly)
18565 (display-buffer-overriding-action, display-buffer-alist)
18566 (display-buffer-base-action, display-buffer, switch-to-buffer)
18567 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18568 (fit-window-to-buffer, recenter-positions)
18569 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18570 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18571 and remove unneeded backslashes in docstrings.
18572
18573 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18574
18575 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18576
18577 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18578 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18579 end in ".mk".
18580 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18581 when reading the makefile (bug#10116).
18582
18583 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18584
18585 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18586 (bug#10116).
18587
18588 2011-12-06 Glenn Morris <rgm@gnu.org>
18589
18590 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18591
18592 2011-12-06 Chong Yidong <cyd@gnu.org>
18593
18594 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18595
18596 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18597
18598 * textmodes/table.el (table-shorten-cell): Fix typo.
18599
18600 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18601
18602 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18603
18604 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18605
18606 * descr-text.el (describe-char): Fix display of strong
18607 right-to-left characters and directional embeddings and overrides.
18608
18609 * simple.el (what-cursor-position): Fix display of codepoints of
18610 strong right-to-left characters.
18611
18612 2011-12-05 Chong Yidong <cyd@gnu.org>
18613
18614 * faces.el (read-color): Doc fix.
18615
18616 2011-12-05 Glenn Morris <rgm@gnu.org>
18617
18618 * align.el (align--set-marker): Add doc-string.
18619 Don't try to move something that is not a marker. (Bug#10216)
18620
18621 2011-12-04 Glenn Morris <rgm@gnu.org>
18622
18623 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18624 overly zealous deletion of trailing whitespace.
18625
18626 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18627
18628 * server.el (server-delete-client): On Windows, do not try to delete
18629 the only terminal.
18630 (server-process-filter): On Windows, treat requests for a tty frame as
18631 if they were for a GUI frame if the running server is in GUI mode.
18632
18633 2011-12-03 Glenn Morris <rgm@gnu.org>
18634
18635 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18636
18637 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18638
18639 * electric.el: Streamline electric-indent's hook.
18640 (electric-indent-chars): Revert to simple list.
18641 (electric-indent-functions): New var.
18642 (electric-indent-post-self-insert-function): Use it.
18643
18644 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18645 there's no inferior buffer (bug#10196).
18646 (prolog-consult-compile): Don't use toggle-read-only.
18647
18648 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18649
18650 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18651 interrupt. (Bug#10187)
18652
18653 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18654
18655 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18656 (bug#9160).
18657
18658 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18659 (bug#10191).
18660
18661 2011-12-02 Juri Linkov <juri@jurta.org>
18662
18663 * info.el (Info-search): Display "end of manual" when Isearch
18664 reaches the end of single-file Info manual. (Bug#9918)
18665
18666 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18667
18668 * isearch.el (isearch-message-prefix): Run the input method part
18669 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18670
18671 2011-12-02 Juri Linkov <juri@jurta.org>
18672
18673 * isearch.el (isearch-occur): Use `word-search-regexp' for
18674 `isearch-word'.
18675 (isearch-search-and-update): Add condition for `isearch-word' and
18676 call `word-search-regexp'. (Bug#10145)
18677
18678 2011-12-01 Glenn Morris <rgm@gnu.org>
18679
18680 * eshell/em-hist.el (eshell-hist-initialize):
18681 Handle eshell-history-size nil and HISTSIZE set or unset.
18682 (eshell-history-file-name, eshell-history-size): Fix custom type.
18683
18684 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18685
18686 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18687
18688 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18689
18690 * progmodes/verilog-mode.el (verilog-pretty-expr):
18691 Rework verilog-pretty-expr to handle new assignment operators in system
18692 verilog, such as += *= and the like.
18693 (verilog-assignment-operator-re): Regular expression to find the
18694 assigment operator in a verilog assignment.
18695 (verilog-assignment-operation-re): Regular expression to find an
18696 assignment statement for pretty-expr.
18697 (verilog-in-attribute-p): Query returns true if point is in an
18698 attribute context; used to skip these for expression line up from
18699 pretty-expr.
18700 (verilog-in-parameter-p): Query returns true if point is in an
18701 parameter definition context; used to skip these for expression
18702 line up from pretty-expr.
18703 (verilog-in-parenthesis-p): Query returns true if point is in a
18704 parenthetical expression, specifically ( ) but not [ ] or { };
18705 used by pretty-expr.
18706 (verilog-just-one-space): If there is no space, don't add one.
18707 (verilog-get-lineup-indent-2): Specifically skip just attribute
18708 contexts for expression lineup, rather than skipping all
18709 parenthetical expressions.
18710 (verilog-calculate-indent): Fix comment, and fix indent.
18711 (verilog-do-indent): Indent declarations in lists (suggested by
18712 Joachim Lechner).
18713 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18714 skeleton items.
18715 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18716 by Alain Mellan).
18717
18718 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18719
18720 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18721 parameters with embedded comments. Reported by Ray Stevens.
18722 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18723 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18724 Reported by Tim Holt.
18725 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18726 instantiated by upper module causing wrong expansion until AUTOed a
18727 second time. Reported by K C Buckenmaier.
18728 (verilog-diff-auto): Fix showing .* as a difference when
18729 `verilog-auto-star-save' off. Reported by Dan Dever.
18730 (verilog-auto-reset, verilog-read-always-signals)
18731 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18732 temporary signals in reset list if
18733 verilog-auto-reset-blocking-in-non is nil, and match assignment
18734 style to each signal's assignment type, bug381.
18735 Reported by Thomas Esposito.
18736 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18737 (verilog-uvm-statement-re): Support UVM indentation and
18738 highlighting, with old OVM keywords only.
18739 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18740 Support AUTOTIEOFF creating non-wire data types.
18741 Suggested by Jonathan Greenlaw.
18742 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18743 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18744 (verilog-inject-sense, verilog-read-inst-pins)
18745 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18746 Fix mismatching parenthesis inside commented out code when deleting
18747 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18748 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18749 non-numeric vector width. Reported by Alex Reed.
18750 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18751 detecting signals with parameter widths. Reported by Alex Reed.
18752 (verilog-auto-delete-trailing-whitespace):
18753 With `verilog-auto-delete-trailing-whitespace' remove trailing
18754 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18755 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18756 Fix verilog-scan-cache corruption when running user AUTO expansion
18757 hooks that call indentation routines.
18758 (verilog-simplify-range-expression): Fix typo ignoring lower case
18759 identifiers.
18760 (verilog-delete-auto): Fix delete-autos to also remove user created
18761 automatics, as long as they start with AUTO.
18762 (verilog-batch-diff-auto, verilog-diff-auto)
18763 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18764 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18765 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18766 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18767 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18768 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18769 is disabled and its cache will get corrupt, causing AUTOS not to
18770 expand. Instead use only -quick functions.
18771 (verilog-scan-region): Fix scanning over escaped quotes.
18772 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18773 (verilog-re-search-backward-quick)
18774 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18775 related functions now ignore strings, to fix misparsing of strings
18776 with magic comments embedded in them.
18777 (verilog-read-auto-template):
18778 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18779 Reported by Brad Dobbie.
18780 (verilog-read-auto-template):
18781 Fix 'verilog-auto-inst-template-numbers' with comments.
18782 Reported by Brad Dobbie.
18783 (verilog-auto-inst, verilog-auto-inst-param)
18784 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18785 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18786 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18787 debugging templates without merge conflicts, bug357.
18788 Reported by Brad Dobbie.
18789 (verilog-read-auto-template):
18790 Fix verilog-auto-inst-template-numbers with multiple templates.
18791 Reported by Brad Dobbie.
18792 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18793 abbrevs so user won't be asked to save.
18794 (verilog-read-auto-lisp-present): Fix to start at beginning of
18795 buffer in case called outside of verilog-auto.
18796 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18797 to "X-2". Reported by Matthew Myers.
18798 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18799 all inputs from module templates. Reported by Leith Johnson.
18800 (verilog-module-inside-filename-p): Fix locating programs as with
18801 modules.
18802 (verilog-auto-inst-port): Fix vl-width expressions when using
18803 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18804 (verilog-decls-get-regs, verilog-decls-get-signals,
18805 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18806 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18807 verilog-read-decls): Combine reg and wire structures into one var
18808 structure to represent SystemVerilog concepts.
18809 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18810 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18811 (verilog-auto-wire-type, verilog-insert-definition):
18812 Add verilog-auto-wire-type and AUTOLOGIC to support using
18813 SystemVerilog "logic" keyword instead of "wire"/"reg".
18814 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18815 to declares outputs that also have assignments (presumably in an
18816 ifdef or generate if so there's not a driver conflict).
18817 Reported by Matthew Myers.
18818 (verilog-auto-declare-nettype, verilog-insert-definition):
18819 Add verilog-auto-declare-nettype to fix declarations using
18820 `default_nettype none. Reported by Julian Gorfajn.
18821 (verilog-read-always-signals-recurse, verilog-read-decls)
18822 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18823 malformed end statement, bug325. Reported by Joshua Wise and
18824 Andrew Drake.
18825 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18826 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18827 when expanding .* in interfaces, bug320.
18828 Reported by Pierre-David Pfister.
18829 (verilog-read-module-name): Fix import statements between module
18830 name and open parenthesis, bug317.
18831 Reported by Pierre-David Pfister.
18832 (verilog-simplify-range-expression): Fix simplification of
18833 multiplications inside AUTOWIRE connections, bug303.
18834 (verilog-auto-inst-port): Support parameter expansion in
18835 multidimensional arrays.
18836 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18837 after "assert property". Reported by Julian Gorfajn.
18838 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18839 with multiplication, bug303.
18840 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18841 Reported by Jan Frode Lonnum.
18842
18843 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18844
18845 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18846 (hfy-shell-file-name, hfy-shell):
18847 * international/fontset.el (x-decompose-font-name): Fix typos.
18848
18849 2011-11-29 Ken Brown <kbrown@cornell.edu>
18850
18851 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18852 (gdb-version): Remove defvar.
18853 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18854 (gdb-gud-context-command, gdb-non-stop-handler)
18855 (gdb-current-context-command, gdb-stopped): Use it.
18856 (gdb-init-1): Enable pretty printing here.
18857 (gdb-non-stop-handler): Don't enable pretty-printing here.
18858 Check to see if the target supports non-stop mode; if not, turn off
18859 non-stop mode. Use the following.
18860 (gdb-check-target-async): New defun.
18861 (gud-watch, gdb-stopped): Fix whitespace.
18862 (gdb-get-source-file): Don't try to display the source file if
18863 `gdb-main-file' is nil.
18864
18865 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18866
18867 * align.el: Try to generate fewer markers (bug#10047).
18868 (align--set-marker): New macro.
18869 (align-region): Use it.
18870
18871 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18872
18873 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18874
18875 2011-11-29 Chong Yidong <cyd@gnu.org>
18876
18877 * indent.el (indent-for-tab-command, indent-according-to-mode):
18878 Doc fix.
18879 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18880
18881 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18882
18883 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18884 aware of remote file names. (Bug#10124)
18885
18886 2011-11-29 Chong Yidong <cyd@gnu.org>
18887
18888 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18889
18890 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18891
18892 * files.el (find-file): Don't use force-same-window (bug#10144).
18893 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18894 use pop-to-buffer if the selected window can't be used.
18895 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18896
18897 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18898
18899 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18900 special-mode-map.
18901
18902 2011-11-28 Chong Yidong <cyd@gnu.org>
18903
18904 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18905
18906 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18907
18908 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18909 gdb-get-source-file-list on gdb-create-source-file-list.
18910
18911 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18912
18913 * whitespace.el (whitespace-newline): Use a different foreground
18914 color for 16-color light-background displays.
18915
18916 2011-11-24 Chong Yidong <cyd@gnu.org>
18917
18918 * window.el (display-buffer--special-action): Doc fix.
18919
18920 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18921
18922 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18923 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18924 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18925 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18926 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18927 (avl-tree-stack-first):
18928 * emacs-lisp/cconv.el (cconv--analyse-use):
18929 * net/gnutls.el (gnutls-negotiate): Fix typos.
18930
18931 2011-11-24 Glenn Morris <rgm@gnu.org>
18932
18933 * lpr.el (lpr-windows-system, lpr-lp-system):
18934 * mail/binhex.el (binhex-begin-line):
18935 * progmodes/grep.el (grep-history, grep-find-history):
18936 * textmodes/flyspell.el:
18937 * vc/pcvs-defs.el (cvs-global-menu):
18938 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18939 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18940 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18941
18942 * net/tls.el: Fix case of "GnuTLS".
18943
18944 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18945
18946 * version.el (emacs-build-system): Give it a doc-string.
18947
18948 2011-11-24 Juri Linkov <juri@jurta.org>
18949
18950 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18951
18952 2011-11-24 Glenn Morris <rgm@gnu.org>
18953
18954 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18955 if called on a non-mime message just toggle the headers. (Bug#8006)
18956
18957 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18958
18959 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18960 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18961 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18962 (allout-rebullet-heading, allout-open-sibtopic)
18963 (allout-toggle-current-subtree-encryption)
18964 (allout-toggle-subtree-encryption, allout-encrypt-string)
18965 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18966 (allout-distinctive-bullets-string, allout-auto-activation):
18967 * window.el (window-normalize-buffer-to-display):
18968 * progmodes/verilog-mode.el (verilog-batch-indent):
18969 * textmodes/bibtex.el (bibtex-field-braces-opt)
18970 (bibtex-field-strings-opt):
18971 * vc/cvs-status.el (cvs-tree-merge):
18972 Fix typos.
18973
18974 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18975
18976 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18977 `non-essential' to t, in order to avoid remote connections.
18978
18979 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18980
18981 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18982 On MS-DOS and MS-Windows, compare with loaddefs.el
18983 case-insensitively.
18984
18985 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18986
18987 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18988
18989 2011-11-23 Glenn Morris <rgm@gnu.org>
18990
18991 * paths.el (rmail-file-name): Reformat the doc-string so that it
18992 is picked up.
18993
18994 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18995 (rmail-auto-file): Ignore case in the "special" field names,
18996 as mail-fetch-field does for all others.
18997
18998 * mail/rmail.el (rmail-forward):
18999 * mail/rmailkwd.el (rmail-set-label):
19000 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19001 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19002
19003 * mail/rmail.el (rmail-current-message): Doc fix.
19004
19005 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19006
19007 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19008
19009 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19010
19011 2011-11-22 Glenn Morris <rgm@gnu.org>
19012
19013 * mail/rmailmm.el (test-rmail-mime-handler)
19014 (test-rmail-mime-bulk-handler)
19015 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19016
19017 2011-11-21 Juri Linkov <juri@jurta.org>
19018
19019 * calc/calc.el (calc-read-key-sequence):
19020 Let-bind `input-method-function' to nil. (Bug#10018)
19021
19022 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19023
19024 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19025 Tell the caller that the next line needs recomputation, even
19026 though it doesn't start a sexp (bug#10094).
19027
19028 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19029
19030 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19031
19032 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19033
19034 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19035 Use force-same-window.
19036
19037 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19038
19039 * descr-text.el (describe-char-unicode-data):
19040 * json.el (json-string-escape):
19041 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19042 (Footnote-unicode, Footnote-style-p):
19043 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19044
19045 2011-11-20 Chong Yidong <cyd@gnu.org>
19046
19047 * window.el (replace-buffer-in-windows): Restore interactive spec.
19048
19049 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19050
19051 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19052
19053 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19054 (byte-compile-global-not-obsolete-vars): New var.
19055 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19056 Use it.
19057 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19058
19059 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19060
19061 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19062 * progmodes/pascal.el (electric-pascal-equal):
19063 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19064 * xml.el (xml-substitute-special): Fix typos.
19065
19066 2011-11-20 Glenn Morris <rgm@gnu.org>
19067
19068 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19069 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19070 Doc fixes.
19071 (rmail-decode-mime-charset): Mark as obsolete.
19072
19073 * mail/rmailsum.el (rmail-message-regexp-p-1):
19074 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19075 Before using mime functions, check they are set. (Bug#10077)
19076
19077 2011-11-19 Juri Linkov <juri@jurta.org>
19078
19079 * info.el (Info-finder-find-node): Use `package--builtins' instead
19080 of `package-alist'. Use node names formed by the pattern "Keyword "
19081 and the keyword name.
19082
19083 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19084
19085 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19086
19087 2011-11-19 Juri Linkov <juri@jurta.org>
19088
19089 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19090 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19091 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19092 `old-history', `old-history-forward'. Add let-binding
19093 `window-selected'. Remove calls to `kill-buffer',
19094 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19095 before calling `Info-find-node', so `Info-find-node-2' will reread
19096 the Info file. Restore window positions only when `window-selected'
19097 is non-nil.
19098
19099 2011-11-19 Juri Linkov <juri@jurta.org>
19100
19101 * isearch.el (isearch-lazy-highlight-new-loop):
19102 Remove condition `(not isearch-error)'. (Bug#9918)
19103
19104 * misearch.el (multi-isearch-search-fun): Add condition
19105 `(not bound)' to ignore lazy-highlighting search.
19106 Add the search-failed message "end of multi" when the end of
19107 multi-sequence is reached. Uncapitalize the search-failed
19108 message "Repeat for next buffer".
19109
19110 * info.el (Info-search): Add the search-failed message
19111 "end of the manual" when the end of the manual is reached
19112 in Isearch mode.
19113
19114 2011-11-19 Juri Linkov <juri@jurta.org>
19115
19116 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19117 Use non-destructive `remove' instead of `delete' because
19118 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19119 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19120
19121 2011-11-19 Juri Linkov <juri@jurta.org>
19122
19123 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19124 to nil instead of binding `search-ring' and `regexp-search-ring'.
19125 (Bug#9185)
19126
19127 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19128
19129 * simple.el (line-move): Force movement by logical lines for any
19130 hscrolled window, not only when auto-hscroll-mode is on.
19131 (line-move-visual): Update doc string to that effect. (Bug#10076)
19132
19133 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19134
19135 * language/european.el (macintosh): Define as alias for mac-roman.
19136
19137 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19138
19139 * mail/rmailmm.el (rmail-mime-display-header)
19140 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19141 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19142 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19143 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19144 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19145 of a raw aref.
19146 (rmail-mime-entity-segment): To get past the tagline, move forward
19147 2 more lines, to account for the 2 empty lines that precede and
19148 follow the line with the buttons.
19149 (rmail-mime-update-tagline): Move one more line, to get past the
19150 empty line that follows the buttons in the tagline. (Bug#9520)
19151
19152 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19153
19154 * window.el (window-max-delta-1, window-min-delta-1)
19155 (window-min-size-1, window-state-get-1, window-state-put-1)
19156 (window-state-put-2): Use "window--" prefix.
19157
19158 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19159
19160 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19161 (smie-warning-count): New var.
19162 (smie-set-prec2tab): Use it.
19163 (smie-bnf->prec2): Improve warnings. Add docstring.
19164 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19165 (smie-bnf--set-class): New function.
19166 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19167 corner case.
19168
19169 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19170 (compilation-error-properties, compilation-move-to-column):
19171 Handle compilation-first-column while in the target buffer.
19172
19173 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19174 Don't hardcode point-min==1.
19175
19176 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19177 (eshell-rewrite-for-command): Remove workaround.
19178 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19179 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19180 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19181
19182 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19183
19184 2011-11-17 Glenn Morris <rgm@gnu.org>
19185
19186 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19187 Ignore buffer-local generated-autoload-file if it is the same
19188 as the global value. (Bug#10049)
19189
19190 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19191
19192 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19193 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19194 (reftex-toc-previous-heading, reftex-toc-max-level)
19195 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19196 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19197 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19198 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19199 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19200 (reftex-toc-rename-label, reftex-toc-visit-location)
19201 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19202 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19203 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19204 leaving "*toc*" only for references to the buffer.
19205
19206 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19207
19208 * window.el (window-resize, delete-window, split-window):
19209 Replace window-splits by window-combination-resize.
19210 * cus-start.el (window-splits): Replace by window-combination-resize.
19211
19212 2011-11-17 Glenn Morris <rgm@gnu.org>
19213
19214 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19215 Make bash entry derive from sh entry, not shell entry.
19216
19217 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19218
19219 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19220 local file name.
19221
19222 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19223
19224 * menu-bar.el (menu-bar-file-menu):
19225 * printing.el (pr-ps-utility):
19226 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19227 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19228 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19229 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19230 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19231 (icalendar--convert-cyclic-to-ical)
19232 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19233 (icalendar--convert-ical-to-diary)
19234 (icalendar--convert-recurring-to-diary)
19235 (icalendar--convert-non-recurring-all-day-to-diary)
19236 (icalendar-import-format-sample):
19237 * progmodes/idlw-shell.el (idlwave-shell-mode):
19238 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19239 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19240 (vhdl-ps-print-init): Fix typos.
19241
19242 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19243
19244 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19245 FSF and collapse date sequence, obscure author/maintainer email address
19246 better, remove extra version line, track relocation of author's webpage.
19247
19248 * progmodes/python.el (python-pdbtrack-input-prompt)
19249 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19250 regular python pdb prompts. Adjustments shamelessly taken exactly as
19251 suggested in EmacsWiki page (tiny change):
19252 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19253
19254 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19255
19256 * expand.el (expand-pos, expand-index, expand-point):
19257 Remove redundant info from docstring.
19258 (expand-add-abbrevs): Doc fix.
19259 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19260 (expand-sample-perl-mode-expand-list): Fix typos.
19261
19262 * net/dbus.el (dbus-event-member-name):
19263 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19264 * term/pc-win.el (msdos-create-frame-with-faces):
19265 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19266
19267 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19268
19269 * window.el (split-window, window-state-get-1)
19270 (window-state-put-1, window-state-put-2): Rename occurrences of
19271 window-nest to window-combination-limit.
19272 * cus-start.el (window-nest): Rename to window-combination-limit.
19273
19274 2011-11-16 Chong Yidong <cyd@gnu.org>
19275
19276 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19277 regexp (Bug#10033).
19278
19279 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19280
19281 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19282 `completing-read' will remove *Completions* and will preserve
19283 current-buffer for us.
19284 (tmm-add-prompt): Users of *Completions* will always (re)set its
19285 major mode.
19286 (tmm-old-comp-map): Remove.
19287
19288 2011-11-16 Glenn Morris <rgm@gnu.org>
19289
19290 * mail/rmailedit.el: Require rmailmm when compiling.
19291 (rmail-old-mime-state): New declaration.
19292 (rmail-edit-current-message): If editing a mime message,
19293 edit the "raw" message from the mbox buffer.
19294 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19295
19296 2011-11-15 Glenn Morris <rgm@gnu.org>
19297
19298 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19299 which wasn't being used. Add optional arg to force given state.
19300 (rmail-mime): Add optional arg to force given state.
19301
19302 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19303
19304 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19305 * frame.el (display-mm-dimensions-alist):
19306 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19307 (outline-move-subtree-down):
19308 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19309 (newsticker--treeview-do-get-node):
19310 * net/quickurl.el (quickurl-list-buffer-name):
19311 * progmodes/dcl-mode.el (dcl-mode):
19312 * progmodes/gdb-mi.el (gdb-mapcar*):
19313 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19314
19315 2011-11-15 Glenn Morris <rgm@gnu.org>
19316
19317 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19318 in a boolean sense, so just make it a boolean, and fix the doc.
19319 (rmail-show-mime-function, rmail-mime-feature)
19320 (rmail-require-mime-maybe): Doc fixes.
19321 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19322
19323 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19324
19325 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19326
19327 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19328 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19329 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19330 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19331
19332 2011-11-15 Glenn Morris <rgm@gnu.org>
19333
19334 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19335 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19336 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19337 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19338 (rmail-mime, rmail-show-mime): Doc fixes.
19339
19340 * term/ns-win.el (mode-line-frame-identification):
19341 Leave it alone. (Bug#10051)
19342
19343 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19344
19345 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19346 Handle empty buffers. (Bug#9978)
19347
19348 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19349
19350 * international/mule.el (define-charset):
19351 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19352 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19353 * progmodes/verilog-mode.el (verilog-backward-token):
19354 * textmodes/ispell.el (lookup-words):
19355 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19356
19357 2011-11-14 Glenn Morris <rgm@gnu.org>
19358
19359 * progmodes/executable.el
19360 (executable-make-buffer-file-executable-if-script-p):
19361 Handle file-modes returning nil.
19362
19363 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19364 message - not necessary, and causes problems. (Bug#9831)
19365
19366 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19367
19368 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19369
19370 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19371 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19372 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19373
19374 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19375
19376 * window.el (window-resize, delete-window): Use window-splits
19377 variable instead of function.
19378 (window-state-get-1, window-state-put-2, window-state-put):
19379 Don't deal with windows' splits status.
19380
19381 2011-11-12 Glenn Morris <rgm@gnu.org>
19382
19383 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19384 (apropos-documentation): Doc fixes.
19385
19386 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19387
19388 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19389 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19390
19391 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19392
19393 * electric.el (electric-indent-post-self-insert-function): Make it
19394 possible for a char to only indent in some circumstances.
19395 (electric-indent-mode): Simplify.
19396
19397 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19398
19399 * window.el (windows-with-parameter): Remove unused function.
19400 (windows-at-side): Rename to window-at-side-list.
19401 (window-check, window-atom-check, window-atom-check-1)
19402 (window-side-check, window-size-ignore, window-size-fixed-1)
19403 (window-in-direction-2): Prefix with "window--".
19404 (window-tree-1): Rename to window--subtree, fix doc-string.
19405
19406 2011-11-11 Glenn Morris <rgm@gnu.org>
19407
19408 * subr.el (eval-after-load): If FILE is already loaded,
19409 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19410
19411 2011-11-10 Glenn Morris <rgm@gnu.org>
19412
19413 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19414 Call svn via vc-svn-command rather than vc-do-command.
19415 (vc-svn-command): Add --non-interactive. (Bug#9993)
19416 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19417
19418 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19419 Add toggle-read-only. (Bug#7292)
19420 * files.el (toggle-read-only): Mention that it should only
19421 be used interactively. (Bug#10006)
19422
19423 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19424
19425 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19426 Adjust regexp for OCaml warnings.
19427
19428 * electric.el (electric-pair-post-self-insert-function): Let user
19429 turn it off buffer-locally (bug#9932).
19430
19431 * progmodes/python.el (python-beginning-of-statement):
19432 Rewrite (bug#2703).
19433
19434 * progmodes/compile.el: Better handle TABs (bug#9749).
19435 (compilation-internal-error-properties)
19436 (compilation-next-error-function): Obey the target buffer's
19437 compilation-error-screen-columns.
19438
19439 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19440
19441 * progmodes/meta-mode.el: Remove obsolete comments.
19442 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19443 Fix typos in docstrings.
19444
19445 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19446
19447 * window.el (window-size-fixed-p): Rewrite doc-string.
19448 (window-resizable-p): Rename to window--resizable-p. Update callers.
19449 (window--resizable): New function. Make all callers of
19450 window-resizable call window--resizable instead.
19451 (window-resizable): Rewrite in terms of window--resizable.
19452
19453 2011-11-08 Glenn Morris <rgm@gnu.org>
19454
19455 * progmodes/delphi.el (delphi-mode-syntax-table):
19456 Let define-derived-mode define a proper syntax table. (Bug#9994)
19457
19458 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19459
19460 * window.el: Stay away from defsubst.
19461 (window-list-no-nils): Remove.
19462 (window-state-get-1, window-state-get): Use backquote instead.
19463
19464 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19465
19466 * emacs-lisp/find-func.el (find-function-read):
19467 Fix incorrect use of default argument in `completing-read'.
19468
19469 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19470
19471 * window.el (display-buffer-function, special-display-function):
19472 Mention display-buffer-record-window but do not mention
19473 help-setup parameter in doc-strings.
19474 (window-min-delta): Fix doc-string typo.
19475
19476 2011-11-08 Chong Yidong <cyd@gnu.org>
19477
19478 * window.el (window-total-height, window-total-width): Doc fix.
19479 (window-body-size): Move from C.
19480 (window-body-height, window-body-width): Move to C.
19481
19482 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19483
19484 * window.el: Make special-display like display-buffer-alist (bug#9532).
19485 (display-buffer--special-action): New function, morphed
19486 from display-buffer--special.
19487 (display-buffer): Use it to handle special-display-buffers at higher
19488 priority (just after display-buffer-alist).
19489 (display-buffer-fallback-action, display-buffer--other-frame-action)
19490 (pop-to-buffer-same-window): Remove display-buffer--special.
19491
19492 2011-11-07 Glenn Morris <rgm@gnu.org>
19493
19494 * calendar/cal-menu.el (cal-menu-set-date-title):
19495 Do nothing if not in a calendar. (Bug#9976)
19496
19497 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19498
19499 * files.el (find-file): Always use selected-window.
19500
19501 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19502
19503 * window.el (window-combinations): Make WINDOW argument
19504 mandatory. Rewrite doc-string.
19505 (walk-window-subtree, window-atom-check, window-min-delta)
19506 (window-max-delta, window--resize-this-window)
19507 (window--resize-root-window-vertically, window-tree)
19508 (balance-windows, window-state-put): Rewrite doc-strings as to
19509 not mention the term "subwindow".
19510 (window--resize-subwindows-skip-p): Rename to
19511 window--resize-child-windows-skip-p.
19512 (window--resize-subwindows-normal): Rename to
19513 window--resize-child-windows-normal.
19514 (window--resize-subwindows): Rename to
19515 window--resize-child-windows.
19516 (window-or-subwindow-p): Rename to window--in-subtree-p.
19517
19518 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19519
19520 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19521 Ensure that mbox format messages end in two newlines (Bug#9974).
19522
19523 2011-11-06 Chong Yidong <cyd@gnu.org>
19524
19525 * window.el (window-combination-p): Function deleted; its
19526 side-effect is not used in any existing code.
19527 (window-combinations, window-combined-p): Call window-*-child
19528 directly.
19529
19530 2011-11-05 Chong Yidong <cyd@gnu.org>
19531
19532 * window.el (window-valid-p): Rename from window-any-p.
19533 (window-size-ignore, window-state-get): Callers changed.
19534 (window-normalize-window): Rename from window-normalize-any-window.
19535 New arg LIVE-ONLY, replacing window-normalize-live-window.
19536 (window-normalize-live-window): Delete.
19537 (window-combination-p, window-combined-p, window-combinations)
19538 (walk-window-subtree, window-atom-root, window-min-size)
19539 (window-sizable, window-sizable-p, window-size-fixed-p)
19540 (window-min-delta, window-max-delta, window-resizable)
19541 (window-resizable-p, window-full-height-p, window-full-width-p)
19542 (window-current-scroll-bars, window-point-1, set-window-point-1)
19543 (window-at-side-p, window-in-direction, window-resize)
19544 (adjust-window-trailing-edge, maximize-window, minimize-window)
19545 (window-deletable-p, delete-window, delete-other-windows)
19546 (record-window-buffer, unrecord-window-buffer)
19547 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19548 (quit-window, split-window, window-state-put)
19549 (set-window-text-height, fit-window-to-buffer)
19550 (shrink-window-if-larger-than-buffer): Callers changed.
19551
19552 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19553
19554 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19555 rfc2047-decode-string.
19556 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19557 warnings.
19558
19559 * window.el (window-body-height, window-body-width): Mention in
19560 the doc string that the return values are in frame's canonical
19561 units. (Bug#9949)
19562
19563 2011-11-03 Alan Mackenzie <acm@muc.de>
19564
19565 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19566 change in cc-engine.el.
19567
19568 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19569
19570 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19571
19572 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19573
19574 * window.el (quit-window): Call unrecord-window-buffer after
19575 showing another buffer in the window. (Bug#9937)
19576 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19577
19578 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19579
19580 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19581 Accept status with more than 9 shelves. (Bug#9935)
19582 Reported by Colin D Bennett <colin@gibibit.com>.
19583
19584 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19585
19586 * help.el (with-help-window): Don't reference
19587 temp-buffer-show-specifiers in doc-string.
19588
19589 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19590
19591 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19592 menu-item.
19593
19594 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19595
19596 * whitespace.el: New version 13.2.2.
19597 (whitespace-newline-mode): Disable properly. Reported by Sarah
19598 <EmacsWiki>.
19599
19600 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19601
19602 * net/newst-treeview.el: Remove "Time-stamp".
19603 (newsticker--group-manage-orphan-feeds): Do not call
19604 newsticker--treeview-tree-update.
19605 (newsticker-treeview-update, newsticker-treeview):
19606 Call newsticker--treeview-tree-update if necessary.
19607
19608 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19609
19610 * window.el (window-iso-combination-p, window-iso-combined-p)
19611 (window-iso-combinations): Remove "iso-" infix.
19612 Suggested by Chong Yidong.
19613 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19614 (window-max-delta-1, window-resize, window--resize-siblings)
19615 (window--resize-this-window, adjust-window-trailing-edge)
19616 (split-window, balance-windows-1)
19617 (shrink-window-if-larger-than-buffer):
19618 * calendar/calendar.el (calendar-generate-window):
19619 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19620
19621 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19622
19623 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19624 in place (bug#9907).
19625 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19626 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19627 (eshell-structure-basic-command, eshell-rewrite-while-command)
19628 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19629 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19630 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19631 (eshell-do-pipelines-synchronously, eshell-eval-command):
19632 Use backquotes and prefer setq to set.
19633 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19634 (eshell-macrop): Use functionp.
19635 (eshell-do-eval): Handle multiple expressions in `while' body.
19636
19637 2011-10-30 Chong Yidong <cyd@gnu.org>
19638
19639 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19640 instead of set-mark (Bug#9810).
19641
19642 2011-10-30 Chong Yidong <cyd@gnu.org>
19643
19644 * window.el (split-window-below, split-window-right): Rename from
19645 split-window-above-each-other and split-window-side-by-side
19646 respectively. All callers changed.
19647 (split-window-sensibly, split-window-sensibly): Use them.
19648 (split-window-keep-point): Doc fix.
19649
19650 * isearch.el: Add isearch-scroll property to split-window-below
19651 and split-window-right.
19652
19653 * follow.el (follow-mode):
19654 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19655 * progmodes/ada-xref.el (ada-gdb-application):
19656 * emulation/vip.el (vip-buffer-in-two-windows):
19657 * image-dired.el (image-dired-dired-with-window-configuration):
19658 * dired-x.el (dired-do-find-marked-files):
19659 * dired.el (dired-pop-to-buffer):
19660 * bs.el (bs--show-with-configuration):
19661 * vc/emerge.el (emerge-setup-windows):
19662 * textmodes/two-column.el (2C-two-columns):
19663 * textmodes/reftex-toc.el (reftex-toc):
19664 * progmodes/gdb-mi.el (gdb-setup-windows):
19665 * progmodes/fortran.el (fortran-window-create):
19666 * net/newst-treeview.el (newsticker--treeview-window-init):
19667 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19668 * emulation/tpu-edt.el (tpu-gold-map):
19669 * emulation/crisp.el (crisp-mode-map):
19670 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19671
19672 2011-10-29 Chong Yidong <cyd@gnu.org>
19673
19674 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19675
19676 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19677
19678 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19679 forged Ispell output (Bug#7904).
19680
19681 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19682
19683 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19684
19685 * doc-view.el: Avoid ugly errors about not finding nil.
19686 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19687 (doc-view-dvipdf-program, doc-view-unoconv-program)
19688 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19689 Avoid nil or absolute file name as default value.
19690 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19691
19692 2011-10-28 Alan Mackenzie <acm@muc.de>
19693
19694 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19695
19696 2011-10-28 Alan Mackenzie <acm@muc.de>
19697
19698 Amend the handling of c-beginning/end-of-defun in nested declaration
19699 scopes.
19700
19701 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19702 cc-langs.el. Change it to a defcustom.
19703
19704 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19705 cc-vars.el.
19706
19707 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19708 Prevent "class foo : bar" being spuriously recognized as a label.
19709
19710 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19711 Add parameter `inclusive' (to include enclosing braces in the region).
19712 (c-widen-to-enclosing-decl-scope): New function.
19713 (c-while-widening-to-decl-block): New macro.
19714 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19715 outward for defun boundaries, and correspondingly change symbol
19716 `respect-enclosure' to `go-outward'.
19717 (c-declaration-limits): Change algorithm to report only the "innermost"
19718 defun's boundaries.
19719
19720 2011-10-28 Deniz Dogan <deniz@dogan.se>
19721
19722 * net/rcirc.el (rcirc-mode): Use hard newlines.
19723
19724 2011-10-28 Alan Mackenzie <acm@muc.de>
19725
19726 Amend to indent and fontify macros "which include their own semicolon"
19727 correctly, using the "virtual semicolon" mechanism.
19728
19729 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19730
19731 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19732 Recode to scan one line at a time rather than having \n and \r
19733 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19734 (c-forward-label): Amend for virtual semicolons.
19735 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19736
19737 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19738 of the new C macros.
19739
19740 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19741 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19742 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19743 (c-opt-cpp-macro-define): Make into a full language variable.
19744 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19745 AWK Mode (including \n, \r) removed, no longer needed.
19746
19747 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19748 Invoke c-make-macro-with-semi-re.
19749
19750 * progmodes/cc-vars.el (c-macro-with-semi-re):
19751 (c-macro-names-with-semicolon): New variables.
19752 (c-make-macro-with-semi-re): New function.
19753
19754 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19755
19756 * vc/log-edit.el: Fill empty field rather than adding new one.
19757 (log-edit-add-field): New function.
19758 (log-edit-insert-changelog): Use it.
19759
19760 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19761
19762 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19763
19764 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19765
19766 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19767 (gdb--check-interpreter): New function.
19768 (gdb): Use it.
19769
19770 2011-10-27 Glenn Morris <rgm@gnu.org>
19771
19772 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19773 (least-positive-float, least-negative-float)
19774 (least-positive-normalized-float, least-negative-normalized-float)
19775 (float-epsilon, float-negative-epsilon):
19776 Remove unnecessary declarations.
19777
19778 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19779 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19780 (least-positive-float, least-negative-float)
19781 (least-positive-normalized-float, least-negative-normalized-float)
19782 (float-epsilon, float-negative-epsilon): Add doc-strings,
19783 based on those in cl.texi.
19784
19785 * files.el (set-visited-file-name): If the major-mode changed,
19786 reload the local variables. (Bug#9796)
19787
19788 2011-10-27 Chong Yidong <cyd@gnu.org>
19789
19790 * subr.el (change-major-mode-after-body-hook): New hook.
19791 (run-mode-hooks): Run it.
19792
19793 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19794 Use change-major-mode-before-body-hook.
19795
19796 * simple.el (fundamental-mode):
19797 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19798 change introducing fundamental-mode-hook.
19799
19800 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19801
19802 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19803
19804 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19805
19806 * ido.el (ido-file-name-all-completions-1): Do not require
19807 tramp.el explicitly. (Bug#7583)
19808
19809 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19810
19811 * progmodes/octave-mod.el:
19812 * progmodes/octave-inf.el: Update maintainer.
19813
19814 2011-10-26 Chong Yidong <cyd@gnu.org>
19815
19816 * subr.el (with-wrapper-hook): Rewrite doc.
19817
19818 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19819
19820 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19821 filenames "/method:foo:". (Bug#9793)
19822
19823 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19824
19825 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19826 (bug#9865).
19827
19828 2011-10-24 Glenn Morris <rgm@gnu.org>
19829
19830 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19831
19832 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19833
19834 * notifications.el: Add the requirement of a running D-Bus session
19835 bus to the Commentary.
19836
19837 2011-10-24 Juri Linkov <juri@jurta.org>
19838
19839 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19840 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19841 (Bug#9364)
19842
19843 2011-10-24 Juri Linkov <juri@jurta.org>
19844
19845 * info.el (Info-following-node-name-re): Add newline to the list
19846 of allowed characters for leading space. (Bug#9824)
19847
19848 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19849
19850 * progmodes/octave-inf.el (inferior-octave-mode-map):
19851 Fix C-c C-h binding.
19852 * progmodes/octave-mod.el (octave-help): Remove.
19853
19854 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19855
19856 Sync with Tramp 2.2.3.
19857
19858 * net/tramp-cache.el (top): Pacify byte-compiler using
19859 `init-file-user' and `site-run-file'.
19860
19861 * net/trampver.el: Update release number.
19862
19863 2011-10-23 Chong Yidong <cyd@gnu.org>
19864
19865 * files.el (toggle-read-only): Remove obsolete comment about
19866 version control.
19867
19868 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19869 for toggle-read-only. Note that this hasn't called vc-next-action
19870 since 2008-05-02, though it wasn't documented at the time.
19871
19872 * vc/ediff-init.el (ediff-toggle-read-only-function):
19873 Use toggle-read-only.
19874
19875 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19876
19877 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19878 of c-parse-state.
19879
19880 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19881 correct faulty logical expression.
19882 (c-parse-state-state, c-record-parse-state-state):
19883 (c-replay-parse-state-state): New defvar/defuns.
19884 (c-debug-parse-state): Use new functions.
19885
19886 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19887
19888 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19889 last fix. Use window-in-direction correctly.
19890
19891 2011-10-21 Chong Yidong <cyd@gnu.org>
19892
19893 * progmodes/idlwave.el (idlwave-mode):
19894 * progmodes/vera-mode.el (vera-mode): No need to set
19895 require-final-newline; that's done in prog-mode.
19896 Suggested by Stefan Monnier.
19897
19898 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19899
19900 * mouse.el (mouse-drag-window-above)
19901 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19902 (mouse-drag-mode-line-1, mouse-drag-header-line)
19903 (mouse-drag-vertical-line-rightward-window): Remove.
19904 (mouse-drag-line): New function.
19905 (mouse-drag-mode-line, mouse-drag-header-line)
19906 (mouse-drag-vertical-line): Call mouse-drag-line.
19907 * window.el (window-at-side-p, windows-at-side): New functions.
19908
19909 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19910
19911 * tar-mode.el (tar-grind-file-mode):
19912 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19913
19914 2011-10-21 Chong Yidong <cyd@gnu.org>
19915
19916 * progmodes/idlwave.el (idlwave-mode):
19917 * progmodes/vera-mode.el (vera-mode):
19918 Use mode-require-final-newline.
19919
19920 2011-10-20 Glenn Morris <rgm@gnu.org>
19921
19922 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19923
19924 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19925
19926 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19927
19928 2011-10-20 Chong Yidong <cyd@gnu.org>
19929
19930 * emulation/cua-base.el (cua-mode):
19931 * mail/footnote.el (footnote-mode):
19932 * mail/mailabbrev.el (mail-abbrevs-mode):
19933 * net/xesam.el (xesam-minor-mode):
19934 * progmodes/bug-reference.el (bug-reference-mode):
19935 * progmodes/cap-words.el (capitalized-words-mode):
19936 * progmodes/compile.el (compilation-minor-mode)
19937 (compilation-shell-minor-mode):
19938 * progmodes/gud.el (gud-tooltip-mode):
19939 * progmodes/hideif.el (hide-ifdef-mode):
19940 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19941 * progmodes/subword.el (subword-mode):
19942 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19943 * progmodes/which-func.el (which-function-mode):
19944 * term/tvi970.el (tvi970-set-keypad-mode):
19945 * term/vt100.el (vt100-wide-mode):
19946 * textmodes/flyspell.el (flyspell-mode):
19947 * textmodes/ispell.el (ispell-minor-mode):
19948 * textmodes/nroff-mode.el (nroff-electric-mode):
19949 * textmodes/paragraphs.el (use-hard-newlines):
19950 * textmodes/refill.el (refill-mode):
19951 * textmodes/reftex.el (reftex-mode):
19952 * textmodes/rst.el (rst-minor-mode):
19953 * textmodes/sgml-mode.el (html-autoview-mode)
19954 (sgml-electric-tag-pair-mode):
19955 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19956 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19957 * emulation/crisp.el (crisp-mode):
19958 * emacs-lisp/eldoc.el (eldoc-mode):
19959 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19960 minor mode behavior.
19961
19962 2011-10-19 Juri Linkov <juri@jurta.org>
19963
19964 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19965 the list of hard-coded chars with escape-glyph face.
19966
19967 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19968
19969 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19970
19971 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19972
19973 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19974 running process.
19975
19976 2011-10-19 Glenn Morris <rgm@gnu.org>
19977
19978 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19979 Ignore ignored files. (Bug#9726)
19980
19981 2011-10-19 Chong Yidong <cyd@gnu.org>
19982
19983 Doc fix for minor modes, stating that an omitted argument enables
19984 the mode unconditionally when called from Lisp.
19985
19986 * abbrev.el (abbrev-mode):
19987 * allout.el (allout-mode):
19988 * autoinsert.el (auto-insert-mode):
19989 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19990 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19991 (global-auto-revert-mode):
19992 * battery.el (display-battery-mode):
19993 * composite.el (global-auto-composition-mode)
19994 (auto-composition-mode):
19995 * delsel.el (delete-selection-mode):
19996 * desktop.el (desktop-save-mode):
19997 * dired-x.el (dired-omit-mode):
19998 * dirtrack.el (dirtrack-mode):
19999 * doc-view.el (doc-view-minor-mode):
20000 * double.el (double-mode):
20001 * electric.el (electric-indent-mode, electric-pair-mode):
20002 * emacs-lock.el (emacs-lock-mode):
20003 * epa-hook.el (auto-encryption-mode):
20004 * follow.el (follow-mode):
20005 * font-core.el (font-lock-mode):
20006 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20007 * help.el (temp-buffer-resize-mode):
20008 * hilit-chg.el (highlight-changes-mode)
20009 (highlight-changes-visible-mode):
20010 * hi-lock.el (hi-lock-mode):
20011 * hl-line.el (hl-line-mode, global-hl-line-mode):
20012 * icomplete.el (icomplete-mode):
20013 * ido.el (ido-everywhere):
20014 * image-file.el (auto-image-file-mode):
20015 * image-mode.el (image-minor-mode):
20016 * iswitchb.el (iswitchb-mode):
20017 * jka-cmpr-hook.el (auto-compression-mode):
20018 * linum.el (linum-mode):
20019 * longlines.el (longlines-mode):
20020 * master.el (master-mode):
20021 * mb-depth.el (minibuffer-depth-indicate-mode):
20022 * menu-bar.el (menu-bar-mode):
20023 * minibuf-eldef.el (minibuffer-electric-default-mode):
20024 * mouse-sel.el (mouse-sel-mode):
20025 * msb.el (msb-mode):
20026 * mwheel.el (mouse-wheel-mode):
20027 * outline.el (outline-minor-mode):
20028 * paren.el (show-paren-mode):
20029 * recentf.el (recentf-mode):
20030 * reveal.el (reveal-mode, global-reveal-mode):
20031 * rfn-eshadow.el (file-name-shadow-mode):
20032 * ruler-mode.el (ruler-mode):
20033 * savehist.el (savehist-mode):
20034 * scroll-all.el (scroll-all-mode):
20035 * scroll-bar.el (scroll-bar-mode):
20036 * server.el (server-mode):
20037 * shell.el (shell-dirtrack-mode):
20038 * simple.el (auto-fill-mode, transient-mark-mode)
20039 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20040 (line-number-mode, column-number-mode, size-indication-mode)
20041 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20042 * strokes.el (strokes-mode):
20043 * time.el (display-time-mode):
20044 * t-mouse.el (gpm-mouse-mode):
20045 * tool-bar.el (tool-bar-mode):
20046 * tooltip.el (tooltip-mode):
20047 * type-break.el (type-break-mode-line-message-mode)
20048 (type-break-query-mode):
20049 * view.el (view-mode):
20050 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20051 (global-whitespace-mode, global-whitespace-newline-mode):
20052 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20053
20054 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20055 Fix autogenerated docstring.
20056
20057 2011-10-19 Juri Linkov <juri@jurta.org>
20058
20059 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20060 by checking environment variables "DESKTOP_SESSION" and
20061 "XDG_CURRENT_DESKTOP". (Bug#9779)
20062
20063 2011-10-19 Juri Linkov <juri@jurta.org>
20064
20065 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20066 (browse-url-chromium-program, browse-url-chromium-arguments):
20067 New defcustoms.
20068 (browse-url-default-browser): Check for `browse-url-chromium' and
20069 call `browse-url-chromium-program'.
20070 (browse-url-chromium): New command. (Bug#9779)
20071
20072 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20073
20074 * facemenu.el (list-colors-duplicates): On Windows, detect more
20075 duplicates by assuming that only colors matching "^System" are
20076 special "system colors". (Bug#9722)
20077
20078 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20079
20080 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20081 to distinguish the author from the committer.
20082
20083 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20084
20085 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20086
20087 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20088
20089 * international/mule.el (sgml-html-meta-auto-coding-function):
20090 Add support for detecting encoding in HTML5 specified only as
20091 <meta charset="UTF-8">. Implementation just makes http-equiv and
20092 content-type parts from HTML4 encoding string optional. (Bug#9716)
20093
20094 2011-10-18 Glenn Morris <rgm@gnu.org>
20095
20096 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20097
20098 2011-10-18 Chong Yidong <cyd@gnu.org>
20099
20100 * faces.el (cursor): Doc fix.
20101
20102 2011-10-17 Chong Yidong <cyd@gnu.org>
20103
20104 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20105
20106 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20107
20108 * dirtrack.el (dirtrack): Support shell buffers with path
20109 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20110
20111 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20112
20113 * json.el: Bump version to 1.3 and note change in History.
20114 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20115
20116 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20117
20118 * comint.el (comint-insert-input, comint-send-input)
20119 (comint-get-old-input-default, comint-backward-matching-input)
20120 (comint-next-prompt): Use nil instead of `input' for field property of
20121 past user input (bug#114).
20122
20123 * minibuffer.el (completion--replace): Inherit surrounding properties
20124 (bug#114).
20125 (minibuffer-complete-and-exit): Use it.
20126
20127 * comint.el (comint--table-subvert): Quote the all-completions output
20128 (bug#9160).
20129
20130 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20131
20132 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20133
20134 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20135 window on right of selected. (Bug#9350) Reword other window
20136 entries and separate them from frame entries.
20137
20138 2011-10-15 Glenn Morris <rgm@gnu.org>
20139
20140 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20141 Doc fixes.
20142
20143 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20144
20145 * net/network-stream.el (network-stream-open-starttls):
20146 Improve detection of failure due to lack of TLS support.
20147
20148 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20149 putting the input text in front and in bold.
20150
20151 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20152
20153 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20154
20155 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20156 empty buffer.
20157
20158 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20159 unread-command-events rather than pushing yet-another event.
20160
20161 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20162
20163 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20164 the explanation of the possible choices. Make the options passed
20165 to completing-read shorter.
20166
20167 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20168
20169 * textmodes/flyspell.el (flyspell-large-region): Make sure
20170 extended character mode is used if defined (Bug#1339).
20171
20172 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20173
20174 * simple.el (what-cursor-position): Fix the display of the
20175 character info for LRE, LRO, RLE, and RLO characters by appending
20176 an invisible PDF.
20177
20178 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20179
20180 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20181 even in case of error; add debug spec; simplify data flow.
20182 (with-timeout-handler): Remove.
20183
20184 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20185
20186 Fix Bug#6019, Bug#9315.
20187
20188 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20189 complete `buffer-file-name', the local file name part could look
20190 remotely (for example on VMS).
20191
20192 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20193 `tramp-run-real-handler'.
20194 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20195 already quoted by '"'.
20196
20197 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20198 Let `file-name-handler-alist' be nil, the local file name part
20199 could look remotely (for example on VMS).
20200
20201 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20202
20203 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20204 from here...
20205 (flyspell-post-command-hook): ...to here.
20206
20207 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20208
20209 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20210 if not needed.
20211 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20212 using completion. Protect against "slow" callers.
20213 Remove the "message hack".
20214
20215 2011-10-11 Juri Linkov <juri@jurta.org>
20216
20217 * isearch.el (isearch-lazy-highlight-word): New variable.
20218 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20219 Use it. (Bug#9727)
20220
20221 2011-10-11 Glenn Morris <rgm@gnu.org>
20222
20223 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20224 like f90-previous-statement does.
20225
20226 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20227
20228 * eshell/eshell.el (eshell-command): History should be saved
20229 only in interactive use, to avoid error.
20230
20231 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20232
20233 * minibuffer.el (completion-file-name-table): Fix last change,
20234 i.e. ignore normal errors but not the other ones.
20235
20236 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20237
20238 * window.el (special-display-buffer-names)
20239 (special-display-regexps): Remove some remnants of earlier
20240 changes from doc-strings.
20241 (quit-windows-on): New function.
20242
20243 * vc/vc.el (vc-revert, vc-rollback):
20244 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20245 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20246 (Bug#6183) (Bug#7074) (Bug#7447)
20247
20248 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20249
20250 * window.el (frame-auto-hide-function): Add version tag.
20251 (Bug#9699)
20252
20253 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20254
20255 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20256 condition.
20257
20258 2011-10-09 Leo Liu <sdl.web@gmail.com>
20259
20260 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20261 (Bug#9701)
20262
20263 2011-10-08 Glenn Morris <rgm@gnu.org>
20264
20265 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20266 before the first code statement zero indent. (Bug#9690)
20267
20268 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20269
20270 * simple.el (count-words-region): Always count in the region.
20271 Report the number of lines and characters too.
20272 (count-words): New command, which counts in the buffer if the
20273 region is inactive, as count-words-region used to.
20274 (count-words--message): New function. Handle plurals.
20275 (count-lines-region): Make it an alias for count-words-region.
20276
20277 * bindings.el (esc-map): Replace count-lines-region with
20278 count-words-region.
20279
20280 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20281
20282 * window.el (window--delete): Delete dedicated frame
20283 unconditionally when argument KILL is non-nil. (Bug#9699)
20284 (switch-to-buffer): Fix doc-string typo.
20285
20286 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20287
20288 * eshell/eshell.el (eshell-command): Avoid using hooks.
20289
20290 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20291
20292 * bindings.el ([M-left],[M-right]): Bind to left-word and
20293 right-word respectively.
20294
20295 2011-10-07 Glenn Morris <rgm@gnu.org>
20296
20297 * cus-start.el (debug-on-quit): Fix custom type.
20298
20299 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20300
20301 * subr.el (define-key-after): Clarify that the function is not
20302 useful for non-menu keymaps.
20303
20304 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20305
20306 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20307
20308 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20309 in current minibuffer (Fix bug with recursive minibuffers).
20310
20311 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20312
20313 * progmodes/gdb-mi.el (gdb): Doc fix.
20314
20315 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20316
20317 * window.el (frame-auto-hide-function): New option replacing
20318 frame-auto-delete. Suggested by Stefan Monnier.
20319 (window--delete): Call frame-auto-hide-function instead of
20320 investigating frame-auto-delete.
20321 (window-point-1, set-window-point-1): New functions.
20322 (window-in-direction, record-window-buffer, window-state-get-1)
20323 (display-buffer-record-window): Use window-point-1 instead of
20324 window-point.
20325 (set-window-buffer-start-and-point): Use set-window-point-1.
20326
20327 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20328
20329 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20330
20331 2011-10-05 Glenn Morris <rgm@gnu.org>
20332
20333 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20334 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20335
20336 2011-10-05 Leo Liu <sdl.web@gmail.com>
20337
20338 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20339 works with buffer object.
20340
20341 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20342
20343 * mpc.el (mpc-tool-bar-map): Add labels.
20344
20345 2011-10-04 Glenn Morris <rgm@gnu.org>
20346
20347 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20348
20349 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20350
20351 * window.el (window--delete): New function.
20352 (frame-auto-delete): Resuscitate option.
20353 (bury-buffer, replace-buffer-in-windows)
20354 (quit-window): Rewrite using window--delete.
20355 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20356 Pass display-buffer-mark-dedicated to window--display-buffer-2
20357 (Bug#9639).
20358
20359 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20360
20361 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20362 returns a list (bug#9554). Add remote file name completion.
20363 * comint.el (comint--table-subvert): Curry and get quote&unquote
20364 functions as arguments.
20365 (comint--complete-file-name-data): Adjust call accordingly.
20366 * pcomplete.el (pcomplete--table-subvert): Remove.
20367 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20368
20369 * minibuffer.el (completion-table-case-fold): Use currying.
20370 (completion--styles-type, completion--cycling-threshold-type):
20371 New constants.
20372 (completion-styles, completion-category-overrides)
20373 (completion-cycle-threshold): Use them.
20374 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20375 completion-table-case-fold.
20376
20377 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20378
20379 * minibuffer.el (completion-category-overrides): Fix type of styles
20380 and add more user friendly tags (bug#9660).
20381
20382 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20383
20384 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20385 (mule-input-method-string): New widget.
20386 (default-input-method, language-info-custom-alist): Use it.
20387
20388 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20389
20390 * pcomplete.el: Require comint.
20391 (pcomplete--common-suffix): Remove.
20392 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20393 (pcomplete--table-subvert): Sync with comint--table-subvert.
20394 (pcomplete--entries): Use comint-completion-file-name-table.
20395 * comint.el (comint-unquote-filename): Simplify.
20396 (comint-completion-file-name-table): New function (bug#9616).
20397 (comint--complete-file-name-data): Use it.
20398
20399 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20400 (pcmpl-gnu-tar-buffer): Remove.
20401 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20402 around. Make sure pcomplete-suffix-list is only changed temporarily.
20403 Don't look inside the tar's file if it's too large.
20404
20405 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20406
20407 * cus-edit.el (custom-mode-map):
20408 * epa.el (epa-key-list-mode-map):
20409 * man.el (Man-mode-map):
20410 * startup.el (splash-screen-keymap):
20411 * simple.el (special-mode-map): Use scroll-up-command and
20412 scroll-down-command.
20413
20414 * progmodes/idlw-help.el (idlwave-help-mode-map):
20415 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20416 * net/newst-plainview.el (newsticker-mode-map):
20417 * emulation/ws-mode.el (wordstar-mode-map):
20418 * emulation/vi.el (vi-com-map):
20419 * calc/calc-graph.el (calc-graph-show-dumb):
20420 * term/sun.el (terminal-init-sun):
20421 * term/ns-win.el (global-map):
20422 * progmodes/grep.el (grep-mode-map):
20423 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20424 * mail/rmail.el (rmail-mode-map):
20425 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20426
20427 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20428 custom-safe-themes as special.
20429
20430 2011-10-01 Julien Danjou <julien@danjou.info>
20431
20432 * notifications.el (notifications-notify): Fix docstring.
20433
20434 2011-10-01 Per Starbäck <per@starback.se>
20435
20436 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20437
20438 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20439
20440 * startup.el (command-line-1): Fix last fix by inserting
20441 initial-scratch-message into *scratch* before displaying it.
20442 (Bug#9605) and (Bug#9636)
20443
20444 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20445
20446 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20447 window is hscrolled, move by logical lines. (Bug#9607)
20448 (line-move-visual): Update the doc string to the above effect.
20449
20450 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20451
20452 * window.el (display-buffer-record-window): When WINDOW is the
20453 selected window use `point' instead of `window-point'. (Bug#9626)
20454
20455 * startup.el (command-line-1): Use insert-before-markers when
20456 inserting initial-scratch-message. (Bug#9605)
20457
20458 * help.el (help-window): Remove variable.
20459
20460 2011-09-29 Glenn Morris <rgm@gnu.org>
20461
20462 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20463
20464 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20465
20466 * descr-text.el (describe-char-categories): Accept category
20467 descriptions more than one line long.
20468
20469 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20470
20471 * simple.el (delete-trailing-whitespace): Fix last change.
20472
20473 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20474 Don't confuse "y => 3" as the beginning of a `y' operation.
20475
20476 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20477 object has more than 4 slots (bug#9613).
20478
20479 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20480
20481 * subr.el (with-output-to-temp-buffer):
20482 * net/quickurl.el (quickurl, quickurl-browse-url):
20483 Fix typos in docstrings.
20484
20485 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20486
20487 * minibuffer.el (completion-styles)
20488 (completion-category-overrides): Cross reference each other in doc
20489 strings.
20490
20491 2011-09-27 Glenn Morris <rgm@gnu.org>
20492
20493 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20494 to split-string. (Bug#9606)
20495
20496 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20497
20498 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20499 (bug#9615).
20500
20501 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20502
20503 * emacs-lisp/package.el (list-packages): Fix echo area message.
20504
20505 2011-09-27 Leo Liu <sdl.web@gmail.com>
20506
20507 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20508
20509 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20510
20511 * net/dbus.el (dbus-unregister-object): Don't release services for
20512 registered signals. (Bug#9581)
20513
20514 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20515
20516 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20517 function that picks between cfengine 2 and 3 support
20518 automatically. Update docs accordingly.
20519
20520 2011-09-22 Kenichi Handa <handa@m17n.org>
20521
20522 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20523 ZERO.
20524 (indian-itrans-v5-table-for-tamil): New variable.
20525 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20526
20527 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20528
20529 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20530 that's true if the current command involved collapsing of text.
20531 It's reset to false at the beginning of the next command.
20532 (allout-post-command-business): Move the cursor to the beginning
20533 of entry if the cursor is hidden and collapsing activity just
20534 happened.
20535
20536 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20537
20538 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20539 tracking (Bug#9541).
20540
20541 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20542
20543 * net/newst-reader.el (newsticker-html-renderer)
20544 (newsticker-show-news): Automatically load html rendering package
20545 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20546 because w3m-fill-column is let-bound" and the error "Symbol's value
20547 as variable is void: w3m-fill-column".
20548
20549 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20550
20551 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20552 Release services only if they are defined. (Bug#9581)
20553
20554 2011-09-23 Richard Stallman <rms@gnu.org>
20555
20556 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20557 distinguish start of paragraph from start of its text.
20558
20559 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20560
20561 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20562 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20563 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20564
20565 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20566
20567 * international/mule-diag.el (mule-diag): Insert a newline after
20568 each fontset description.
20569
20570 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20571
20572 * simple.el (delete-trailing-whitespace):
20573 Document last change; simplify.
20574
20575 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20576
20577 * simple.el (delete-trailing-whitespace): Also delete
20578 extra newlines at the end of the buffer.
20579
20580 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20581 (picture-newline): Use forward-line so as to ignore fields.
20582
20583 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20584
20585 * subr.el (with-wrapper-hook): Fix edebug spec.
20586
20587 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20588
20589 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20590 (bug#4538).
20591
20592 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20593
20594 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20595 Fix nasty bug using wrong cached values.
20596
20597 2011-09-23 Alan Mackenzie <acm@muc.de>
20598
20599 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20600
20601 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20602
20603 * window.el (pop-to-buffer): Ensure right window is selected if we
20604 chose another frame.
20605
20606 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20607
20608 * simple.el (what-cursor-position): Use get-char-property-change
20609 and next-single-char-property-change, to be able to show display
20610 properties that come from overlays as well as text properties.
20611
20612 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20613
20614 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20615
20616 * cmuscheme.el (run-scheme, switch-to-scheme):
20617 * cus-edit.el (customize-group, custom-buffer-create)
20618 (customize-browse):
20619 * info.el (info):
20620 * shell.el (shell):
20621 * mail/sendmail.el (mail):
20622 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20623
20624 2011-09-22 Richard Stallman <rms@gnu.org>
20625
20626 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20627 move back only to line beg, don't move back over blank lines.
20628
20629 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20630
20631 * files.el (copy-directory): Set directory attributes only in case
20632 they could be retrieved from the source directory. (Bug#9565)
20633
20634 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20635
20636 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20637 (hs-find-block-beginning, hs-hide-level-recursive):
20638 Ignore strings as well as comments. (Bug#9502)
20639
20640 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20641
20642 * progmodes/sql.el (sql-comint-postgres):
20643 Convert port number to a string. (Bug#9566)
20644
20645 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20646
20647 * window.el (quit-window): Undedicate window when switching to
20648 previous buffer. Reported by Thierry Volpiatto
20649 <thierry.volpiatto@gmail.com>.
20650 (special-display-popup-frame): When popping up a new frame reset
20651 its previous buffers to nil. Simplify code.
20652
20653 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20654
20655 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20656 and process filter, as done also in `shell-command'.
20657
20658 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20659
20660 * window.el (set-window-buffer-start-and-point):
20661 Call set-window-start with NOFORCE argument t.
20662 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20663 (quit-window): Reword doc-string. Handle new format of
20664 quit-restore parameter. Don't delete window if it has a
20665 previous buffer we can show instead of the present one.
20666 (display-buffer-record-window): Rewrite using a new format for
20667 the quit-restore window parameter
20668 (special-display-popup-frame, display-buffer-same-window)
20669 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20670 (display-buffer-pop-up-window, display-buffer-use-some-window):
20671 Adapt symbol passed to display-buffer-record-window.
20672 * help.el (help-window-setup): Handle new format of quit-restore
20673 parameter.
20674
20675 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20676
20677 * faces.el (face-list): Fix docstring (bug#9564).
20678
20679 * window.el (display-buffer--action-function-custom-type):
20680 Don't include internal functions in the Custom interface.
20681
20682 2011-09-20 Juri Linkov <juri@jurta.org>
20683
20684 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20685 (Info-forward-node, Info-backward-node, Info-next-preorder)
20686 (Info-last-preorder): Use it. (Bug#9528)
20687
20688 2011-09-20 Juri Linkov <juri@jurta.org>
20689
20690 * info.el (Info-last-preorder): Visit last menu item only when
20691 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20692
20693 2011-09-20 Julien Danjou <julien@danjou.info>
20694
20695 * password-cache.el (password-cache-remove): Remove entries even if the
20696 value is nil, so that password with a nil value (negative caching) is
20697 possible to invalidate.
20698
20699 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20700
20701 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20702 all whitespace around breakpoint. (Bug#9553)
20703 (f90-find-breakpoint): Only break at whitespace inside a comment.
20704
20705 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20706
20707 * minibuffer.el (completion-file-name-table): Keep track of errors.
20708 (completion-table-with-predicate): Handle the case where pred1 is nil.
20709 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20710
20711 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20712
20713 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20714 (debugger-return-value): Signal an error if the debugging context does
20715 not await any return value.
20716
20717 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20718 * image-mode.el (image-toggle-display-text)
20719 (image-toggle-display-image): Stay away from evil `intangible'.
20720
20721 2011-09-19 Leo Liu <sdl.web@gmail.com>
20722
20723 * replace.el (occur-revert-arguments): Make it permanent-local.
20724 (occur-mode): Don't call font-lock-defontify.
20725
20726 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20727
20728 * net/ldap.el (ldap-search-internal): Don't push empty search
20729 result (Bug#9508).
20730
20731 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20732
20733 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20734
20735 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20736
20737 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20738 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20739
20740 2011-09-18 Juri Linkov <juri@jurta.org>
20741
20742 * buff-menu.el (Buffer-menu-mode-map):
20743 * dired.el (dired-mode-map):
20744 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20745 (lisp-interaction-mode-map):
20746 * emacs-lisp/package.el (package-menu-mode-map):
20747 * epa.el (epa-key-list-mode-map):
20748 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20749 (menu-bar-options-menu):
20750 * outline.el (outline-mode-menu-bar-map):
20751 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20752 * vc/vc-dir.el (vc-dir-menu-map):
20753 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20754 Capitalize non-function content words in menu item strings.
20755
20756 * dired.el (dired-mode-map): Add menu item for
20757 `image-dired-dired-toggle-marked-thumbs'.
20758
20759 2011-09-18 Juri Linkov <juri@jurta.org>
20760
20761 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20762 to `isearch-case-fold-search' and restore its original value
20763 after the `isearch-mode' call.
20764
20765 2011-09-18 Juri Linkov <juri@jurta.org>
20766
20767 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20768 because `zgrep' returns 1 for successful matches (bug#9226).
20769
20770 2011-09-18 Juri Linkov <juri@jurta.org>
20771
20772 * info.el (Info-extract-menu-node-name): Check the second match
20773 for empty string (second test-case of bug#9528).
20774 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20775 intermediate nodes to the history (first test-case of bug#9528).
20776
20777 2011-09-18 Juri Linkov <juri@jurta.org>
20778
20779 * info.el (Info-mode-syntax-table): New variable.
20780 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20781
20782 2011-09-18 Juri Linkov <juri@jurta.org>
20783
20784 * info.el (Info-file-supports-index-cookies):
20785 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20786 outputs one more line for long file names (bug#4142).
20787
20788 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20789
20790 * newcomment.el (comment-normalize-vars): If prompting for
20791 comment-start, set comment-start-skip too (Bug#8424).
20792
20793 2011-09-18 Johan Bockgård <bojohan@gnu.org>
20794
20795 * icomplete.el: Fix previous fix of Bug#5849.
20796 (icomplete-mode): Don't set completion-show-inline-help.
20797 (icomplete-minibuffer-setup): Set completion-show-inline-help
20798 locally during icompletion.
20799
20800 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20801
20802 * woman.el (woman2-process-escapes): Don't delete unrecognized
20803 escapes (Bug#7843).
20804
20805 * files.el (inhibit-first-line-modes-regexps): Add image files.
20806 (hack-local-variables-prop-line): Return nil for malformed
20807 prop-lines (Bug#9044).
20808
20809 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20810
20811 * net/tramp.el (top): Don't require 'shell.
20812 (tramp-methods): Fix docstring.
20813 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20814 Return complete remote file name. Handle "smb" case.
20815 Use `tramp-tmpdir', if defined for the respective method.
20816 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20817
20818 * net/tramp-compat.el (top): Require 'shell.
20819
20820 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20821 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20822 `tramp-current-host'.
20823 (tramp-get-remote-tmpdir): Remove.
20824
20825 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20826 `tramp-tmpdir' entries.
20827 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20828 (tramp-smb-handle-file-attributes): Ignore errors.
20829 (tramp-smb-wait-for-output): Check also for process end.
20830
20831 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20832
20833 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20834 when sending QUIT (bug#9312).
20835
20836 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20837
20838 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20839 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20840 occur-mode-display-occurrence.
20841 (occur-edit-mode): Add usage message.
20842 (occur-cease-edit): New command.
20843 (occur-after-change-function): Use text properties to find the
20844 position of the prefix text.
20845 (occur-engine): Set stickiness of prefix text properties.
20846
20847 2011-09-17 Glenn Morris <rgm@gnu.org>
20848
20849 * progmodes/etags.el (complete-tag):
20850 Fix call to completion-in-region. (Bug#9526)
20851
20852 2011-09-17 Juri Linkov <juri@jurta.org>
20853
20854 * textmodes/ispell.el (ispell-word): Add to the error message
20855 the word, ispell program name and current dictionary (bug#9121).
20856 (ispell-tex-arg-end): Capitalize "error" in the error message.
20857
20858 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20859
20860 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20861 check. (Bug#4251)
20862
20863 2011-09-17 Juri Linkov <juri@jurta.org>
20864
20865 * window.el (window-safe-min-height, window-safe-min-width):
20866 Fix typos (followup to bug#9522).
20867
20868 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20869
20870 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20871
20872 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20873
20874 * simple.el (line-move): If goal-column is set, move by logical
20875 lines, not by display lines. (Bug#971)
20876 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20877 to reflect the above change.
20878
20879 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20880
20881 * image.el (imagemagick-register-types): Use regexp-opt.
20882
20883 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20884
20885 * window.el (display-buffer-base-action): Rename from
20886 display-buffer-default-action. Make default value empty.
20887 (display-buffer-overriding-action): Convert to defvar.
20888 (display-buffer-fallback-action): New var.
20889
20890 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20891
20892 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20893 declaration.
20894 (package--add-to-archive-contents): If there is a duplicate entry
20895 with an older version, remove it.
20896 (package-menu-mark-delete, package-menu-mark-install)
20897 (package-menu-mark-unmark): Make unused args optional.
20898 (package-menu-mark-obsolete-for-deletion):
20899 Use package-menu-get-status instead of a regexp search.
20900 (package-menu-get-status): Use tabulated-list-entry.
20901 (package-menu-mark-upgrades): New command.
20902 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20903 (package-menu-execute): Do installation before deletion.
20904 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20905 instead of checking major-mode.
20906 (package-menu--find-upgrades): New function.
20907
20908 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20909
20910 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20911 passwords in the log buffer.
20912 (smtpmail-process-filter): Update the process marker so that the
20913 "broken by peer" status message is inserted in the right place.
20914
20915 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20916
20917 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20918 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20919 bibtex-completion-at-point-function.
20920 (bibtex-completion-at-point-function): Use them.
20921
20922 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20923
20924 * mpc.el (mpc-constraints-tag-lookup): New function.
20925 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20926 also to browser "album|playlist".
20927
20928 2011-09-14 Juri Linkov <juri@jurta.org>
20929
20930 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20931 (isearch-edit-string): Use length of `isearch-string' when
20932 `isearch-fail-pos' returns nil.
20933 (isearch-message): Remove duplicate code and call
20934 `isearch-fail-pos' with arg `t'.
20935
20936 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20937
20938 * replace.el (occur-mode-goto-occurrence): Don't force using other
20939 window (Bug#9499).
20940
20941 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20942
20943 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20944
20945 * window.el (display-buffer-window): Remove.
20946 (display-buffer-record-window): Use help-setup window parameter
20947 instead of variable display-buffer-window.
20948 (display-buffer-function, special-display-buffer-names)
20949 (special-display-function): Mention help-setup parameter instead
20950 of display-buffer-window in doc-string.
20951 * help.el (help-window-setup): New argument help-window.
20952 Use help-window-setup parameter instead of display-buffer-window.
20953 Reword some messages.
20954 (with-help-window): Pass window used for displaying the buffer
20955 to help-window-setup. Don't set display-buffer-window.
20956
20957 2011-09-13 Glenn Morris <rgm@gnu.org>
20958
20959 * emacs-lisp/debug.el (debugger-make-xrefs):
20960 Preserve point. (Bug#9462)
20961
20962 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20963
20964 * window.el (window-deletable-p): Use next-frame.
20965
20966 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20967
20968 * window.el (window-auto-delete): Remove.
20969 (window-deletable-p): Remove argument FORCE. Don't deal with
20970 dedication and previous buffers.
20971 (switch-to-prev-buffer): Don't delete window.
20972 (delete-windows-on): Delete a window's frame if and only if the
20973 window is dedicated.
20974 (replace-buffer-in-windows): Delete buffer's window or frame if
20975 and only if window is dedicated.
20976 (quit-window): Handle quit-restore as before last change.
20977 (bury-buffer): Delete window only if window-deletable-p returns t.
20978
20979 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20980
20981 * window.el (window-deletable-p): Never delete the last frame on a
20982 given terminal.
20983
20984 2011-09-13 Glenn Morris <rgm@gnu.org>
20985
20986 * help.el (describe-key-briefly): Copy previous standard-output change.
20987
20988 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20989
20990 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20991
20992 2011-09-13 Glenn Morris <rgm@gnu.org>
20993
20994 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20995 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20996
20997 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20998
20999 * dired-aux.el (dired-mark-read-string): Don't return default
21000 value on empty input (Bug#9361).
21001 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21002 Omit initial minibuffer contents.
21003 (dired-do-chmod): Signal an error on empty input.
21004 (dired-mark-read-string): Don't return default on empty input.
21005
21006 * files.el (file-modes-symbolic-to-number): Doc fix.
21007
21008 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21009
21010 * international/mule-cmds.el (ucs-completions): Remove.
21011 (read-char-by-name): Use complete-with-action instead; add metadata.
21012
21013 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21014
21015 * window.el (display-buffer--action-function-custom-type)
21016 (display-buffer--action-custom-type): New vars.
21017 (display-buffer-alist, display-buffer-default-action)
21018 (display-buffer-overriding-action): Add defcustom types.
21019
21020 * frame.el (delete-other-frames): Doc fix (Bug#276).
21021
21022 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21023
21024 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21025
21026 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21027
21028 Change modes that used same-window-* vars to use switch-to-buffer.
21029
21030 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21031 Use switch-to-buffer.
21032
21033 * cus-edit.el (customize-group, custom-buffer-create)
21034 (customize-browse, custom-buffer-create-other-window):
21035 Use switch-to-buffer or switch-to-buffer-other-window.
21036
21037 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21038 (Info-prev, Info-up, Info-speedbar-goto-node)
21039 (info-display-manual): Use switch-to-buffer.
21040 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21041
21042 * mail/sendmail.el (mail): Use switch-to-buffer.
21043 (mail-recover): Use switch-to-buffer-other-window.
21044
21045 * cmuscheme.el (run-scheme, switch-to-scheme):
21046 * ielm.el (ielm):
21047 * shell.el (shell):
21048 * net/rlogin.el (rlogin):
21049 * net/telnet.el (telnet, rsh):
21050 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21051
21052 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21053
21054 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21055
21056 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21057
21058 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21059 so don't mention it (bug#9301).
21060 (dired-sort-toggle-or-edit): Clarify string further.
21061
21062 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21063 match `x', `w32' and `ns', like the manual says (bug#9029).
21064
21065 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21066 (process-kill-buffer-query-function): Mention the buffer name in
21067 the query.
21068
21069 * image-mode.el (image-next-line): The line parameter is mandatory
21070 (bug#9258).
21071
21072 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21073 which can be useful (bug#9301).
21074
21075 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21076
21077 * subr.el (match-string): Mention that the current buffer should
21078 be the same as the search was done in (bug#9282).
21079
21080 * facemenu.el: Disable the remove-* commands if the mark isn't
21081 active (bug#9162).
21082
21083 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21084
21085 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21086 of display-buffer.
21087 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21088
21089 * replace.el (occur-mode-goto-occurrence)
21090 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21091 and display-buffer.
21092
21093 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21094 display-buffer.
21095
21096 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21097 special-display and same-window variables.
21098 (mail-other-window): Use switch-to-buffer-other-window.
21099 (mail-other-frame): USe switch-to-buffer-other-frame.
21100
21101 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21102 Use display-buffer-other-frame.
21103 (gdb-display-gdb-buffer): Use pop-to-buffer.
21104
21105 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21106
21107 * progmodes/python.el: Don't set same-window-buffer-names.
21108
21109 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21110
21111 * window.el (display-buffer-alist): Add *Python*.
21112
21113 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21114
21115 * window.el (display-buffer-alist): Add entry for buffers
21116 previously handled same-window-*.
21117 (display-buffer-alist, display-buffer-default-action)
21118 (display-buffer-overriding-action): Mark as risky.
21119 (display-buffer-alist): Document action function changes.
21120 (display-buffer--same-window-action)
21121 (display-buffer--other-frame-action): New variables.
21122 (switch-to-buffer, display-buffer-other-frame): Use them.
21123 (display-buffer): Rename reuse-frame entry to reusable-frames.
21124 (display-buffer-reuse-selected-window): Function deleted.
21125 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21126 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21127 (display-buffer-special): New function.
21128 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21129 display-buffer-reuse-or-pop-window. Split off special-display
21130 part into display-buffer-special.
21131 (display-buffer-use-some-window): Don't perform any special
21132 pop-up-frames handling.
21133 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21134 (display-buffer--maybe-same-window): Rename from
21135 display-buffer-maybe-same-window.
21136
21137 * info.el: Don't set same-window-regexps.
21138 (info-setup): New function.
21139 (info-other-window, info): Call it.
21140
21141 * cus-edit.el: Don't set same-window-regexps.
21142 (customize-group): New argument.
21143 (customize-group-other-window): Use it.
21144 (customize-face, customize-face-other-window): Likewise.
21145 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21146
21147 * net/rlogin.el:
21148 * net/telnet.el:
21149 * progmodes/gud.el: Don't set same-window-regexps.
21150
21151 * cmuscheme.el:
21152 * ielm.el:
21153 * shell.el:
21154 * mail/sendmail.el:
21155 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21156
21157 2011-09-10 Juri Linkov <juri@jurta.org>
21158
21159 * isearch.el (isearch-edit-string): Remove obsolete mention of
21160 `C-w' (`isearch-yank-word-or-char') from docstring.
21161 (isearch-query-replace): Fix typo in docstring (bug#9466).
21162
21163 2011-09-10 Juri Linkov <juri@jurta.org>
21164
21165 * paren.el (show-paren-function): Don't show escaped parens.
21166 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21167
21168 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21169
21170 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21171 (mm-default-file-encoding): Remove autoload forms, they are
21172 replaced with autoload cookies in mml.el and mm-encode.el.
21173 (mail-add-attachment): New command.
21174 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21175 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21176 the doc string.
21177 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21178
21179 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21180
21181 * simple.el (count-words-region): Use buffer if there's no region
21182 (bug#9429).
21183
21184 2011-09-09 Juri Linkov <juri@jurta.org>
21185
21186 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21187 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21188 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21189
21190 2011-09-09 Alan Mackenzie <acm@muc.de>
21191
21192 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21193 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21194
21195 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21196
21197 Fix for Savannah bug#9392.
21198 * simple.el (mail-encode-mml): New defvar.
21199
21200 * mail/rmail.el (mail-encode-mml): Add a defvar.
21201 (rmail-enable-mime-composing): Default to t.
21202 (rmail-forward): Use MIME method of forwarding only if both
21203 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21204 Set mail-encode-mml non-nil if the MIME method was used.
21205
21206 * mail/sendmail.el (mml-to-mime): Add autoload form.
21207 (mail-encode-mml): Add a defvar.
21208 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21209 to nil.
21210 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21211 message through mml-to-mime, and reset mail-encode-mml to nil.
21212
21213 2011-09-09 Glenn Morris <rgm@gnu.org>
21214
21215 * woman.el (woman-if-body): When processing an .el block,
21216 do not delete the next .el block as well. (Bug#9447)
21217 (woman-special-characters): Add oq, cq, and hy characters.
21218
21219 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21220
21221 * window.el (window-deletable-p): Make sure window is live before
21222 invoking window-prev-buffers.
21223
21224 2011-09-08 Leo Liu <sdl.web@gmail.com>
21225
21226 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21227
21228 2011-09-08 Juri Linkov <juri@jurta.org>
21229
21230 * progmodes/compile.el (compilation-environment): Make it
21231 a defcustom (bug#8340).
21232
21233 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21234
21235 * window.el (frame-auto-delete): Rename to window-auto-delete.
21236 Make it control auto-deletion of windows and/or frames.
21237 (window-deletable-p): New argument FORCE. Rewrite conditions
21238 for deleting window/frame. (Bug#9419)
21239 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21240 Rewrite handling of case when window/frame can be deleted.
21241 (delete-windows-on): Call window-deletable-p with new FORCE
21242 argument t. (Bug#9456)
21243
21244 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21245
21246 * help-mode.el (help-mode): Restore autoload.
21247
21248 2011-09-07 Juri Linkov <juri@jurta.org>
21249
21250 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21251 `compilation-environment'. Set buffer-local
21252 `compilation-environment' to `thisenv' later after (funcall mode).
21253 (Bug#8340)
21254
21255 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21256 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21257 instead of replacing its value. (Bug#8340)
21258
21259 2011-09-07 Juri Linkov <juri@jurta.org>
21260
21261 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21262 based on text properties put by `grep-filter' instead of matching
21263 escape sequences.
21264 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21265 to the value of `grep-error-screen-columns' (bug#9438).
21266
21267 2011-09-07 Juri Linkov <juri@jurta.org>
21268
21269 * simple.el (next-error-highlight, next-error-highlight-no-select):
21270 Doc fix (bug#9432).
21271
21272 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21273
21274 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21275 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21276
21277 2011-09-07 Leo Liu <sdl.web@gmail.com>
21278
21279 * net/rcirc.el (rcirc-mode): Conditionally initialize
21280 rcirc-input-ring.
21281
21282 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21283
21284 * emacs-lisp/find-func.el (find-function-C-source): Only set
21285 find-function-C-source-directory after checking that we found a source
21286 file there (bug#9440).
21287
21288 2011-09-06 Alan Mackenzie <acm@muc.de>
21289
21290 * isearch.el (isearch-other-meta-char): Wherever a key list is
21291 unread, "unread" the prefix arg, too. This fixes bug #8901.
21292
21293 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21294
21295 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21296
21297 2011-09-05 Juri Linkov <juri@jurta.org>
21298
21299 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21300
21301 2011-09-05 Juri Linkov <juri@jurta.org>
21302
21303 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21304 keeping point where processing of grep matches begins, and
21305 continue to delete remaining escape sequences from the same point.
21306 (grep-filter): Make leading zero optional in "0?1;31m" because
21307 git-grep emits "\033[1;31m" escape sequences unlike expected
21308 "\033[01;31m" as GNU Grep does (bug#9408).
21309 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21310
21311 2011-09-05 Juri Linkov <juri@jurta.org>
21312
21313 * subr.el (y-or-n-p): Capitalize "yes".
21314
21315 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21316
21317 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21318 `tramp-cache-unload-hook' where appropriate.
21319 (tramp-methods): Rename `tramp-remote-sh' to
21320 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21321 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21322
21323 * net/tramp-sh.el (top): Don't require 'shell.
21324 (tramp-methods): Add `tramp-remote-shell' and
21325 `tramp-remote-shell-args' entries.
21326 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21327 (tramp-sh-handle-shell-command): Remove.
21328 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21329 Use `tramp-remote-shell'.
21330
21331 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21332
21333 * mail/sendmail.el (sendmail-query-once-function): Delete.
21334 (sendmail-query-once): Save directly to send-mail-function.
21335 Update message-send-mail-function too.
21336
21337 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21338
21339 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21340
21341 * progmodes/python.el (python-mode-map): Use correct function to
21342 start python interpreter from menu-bar (as reported by Geert
21343 Kloosterman).
21344 (inferior-python-mode-map): Fix typo.
21345 (python-shell-map): Remove.
21346
21347 2011-09-03 Deniz Dogan <deniz@dogan.se>
21348
21349 * net/rcirc.el (rcirc-print): Simplify code for
21350 rcirc-scroll-show-maximum-output. There is no need to walk
21351 through all windows to find the right one.
21352
21353 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21354
21355 * help.el (help-return-method): Doc fix.
21356
21357 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21358
21359 * window.el (window-deletable-p): Don't return a non-nil value
21360 when there's a buffer that was shown in the window before.
21361 (Bug#9419)
21362 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21363 Set window's previous buffers to nil.
21364
21365 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21366
21367 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21368 newline before and after the tag line, so it doesn't interfere
21369 with determining the paragraph direction of bidirectional text.
21370
21371 2011-09-03 Leo Liu <sdl.web@gmail.com>
21372
21373 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21374
21375 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21376
21377 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21378 (pop-to-buffer): Change interactive spec. Pass second argument
21379 directly to display-buffer.
21380 (display-buffer): Fix interactive spec. Use functionp to
21381 distinguish between a function and a list of functions.
21382
21383 * abbrev.el (edit-abbrevs):
21384 * arc-mode.el (archive-extract):
21385 * autoinsert.el (auto-insert):
21386 * bookmark.el (bookmark-bmenu-list):
21387 * files.el (find-file):
21388 * view.el (view-buffer):
21389 * progmodes/compile.el (compilation-goto-locus):
21390 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21391
21392 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21393
21394 * window.el (display-buffer-alist): Doc fix.
21395 (display-buffer): Add docstring. Don't treat
21396 display-buffer-default specially.
21397 (display-buffer-reuse-selected-window)
21398 (display-buffer-same-window, display-buffer-maybe-same-window)
21399 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21400 (display-buffer-pop-up-window)
21401 (display-buffer-reuse-or-pop-window)
21402 (display-buffer-use-some-window): New functions.
21403 (display-buffer-default-action): Use them.
21404 (display-buffer-default): Delete.
21405 (pop-to-buffer-1): Fix choice of actions.
21406
21407 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21408
21409 * minibuffer.el (completion--insert-strings): Don't get confused by
21410 completion entries that end with an LF char.
21411
21412 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21413
21414 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21415
21416 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21417
21418 * window.el (display-buffer): Restore interactive spec.
21419 (display-buffer-same-window, display-buffer-other-window):
21420 New functions.
21421 (pop-to-buffer-1): New function. Use the above.
21422 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21423 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21424
21425 * view.el (view-buffer-other-window, view-buffer-other-frame):
21426 Just use pop-to-buffer.
21427
21428 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21429
21430 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21431
21432 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21433
21434 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21435
21436 2011-08-31 Richard Stallman <rms@gnu.org>
21437
21438 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21439 of the separation of rmail-view-buffer from rmail-buffer.
21440 If you say no to "replace original", the decrypt is in the
21441 view buffer. If you say yes, the decrypt goes into the
21442 rmail buffer also.
21443
21444 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21445
21446 * window.el (display-buffer-window): Rewrite doc-string.
21447 (display-buffer-record-window): New function.
21448 (display-buffer-macro-specifiers)
21449 (display-buffer-even-window-sizes, display-buffer-set-height)
21450 (display-buffer-set-width, display-buffer-in-window)
21451 (display-buffer-reuse-window, display-buffer-split-specifiers)
21452 (display-buffer-side-specifiers, display-buffer-split-window-1)
21453 (display-buffer-split-window, display-buffer-split-atom-window)
21454 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21455 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21456 (display-buffer-other-window-means-other-frame)
21457 (display-buffer-normalize-special)
21458 (display-buffer-normalize-default)
21459 (display-buffer-normalize-argument)
21460 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21461 (display-buffer-normalize-specifiers, display-buffer-frame)
21462 (display-buffer-same-window, display-buffer-same-frame)
21463 (display-buffer-other-window)
21464 (display-buffer-same-frame-other-window)
21465 (display-buffer-other-frame, pop-to-buffer-same-window)
21466 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21467 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21468 (switch-to-buffer-same-frame)
21469 (switch-to-buffer-other-window-same-frame)
21470 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21471 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21472 (display-buffer-alist-set): Remove.
21473 (display-buffer-function, special-display-buffer-names)
21474 (special-display-regexps, special-display-function):
21475 In doc-string refer to display-buffer-window and quit-restore
21476 parameter.
21477 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21478 (special-display-frame-alist, special-display-popup-frame)
21479 (same-window-buffer-names, same-window-regexps, same-window-p)
21480 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21481 (split-window-preferred-function, split-height-threshold)
21482 (split-width-threshold, window-splittable-p)
21483 (split-window-sensibly, window--try-to-split-window)
21484 (window--frame-usable-p, even-window-heights)
21485 (window--even-window-heights, window--display-buffer-1)
21486 (window--display-buffer-2, display-buffer-other-frame):
21487 Restore old Emacs 23 code, order and doc-strings where applicable.
21488 (display-buffer-default, display-buffer-assq-regexp): New functions.
21489 (display-buffer-alist): Rewrite doc-string.
21490 (display-buffer-default-action)
21491 (display-buffer-overriding-action): New variables.
21492 (display-buffer, switch-to-buffer): Rewrite.
21493 (pop-to-buffer): Restore Emacs 23 behavior but use
21494 window-normalize-buffer-to-display.
21495 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21496 Restore Emacs 23 behavior but use
21497 window-normalize-buffer-to-switch-to.
21498 (pop-to-buffer-same-window): Rewrite.
21499 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21500 Rewrite using Emacs 23 options.
21501
21502 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21503
21504 * net/tramp.el (tramp-root-regexp): Remove.
21505 (tramp-completion-file-name-regexp-unified)
21506 (tramp-completion-file-name-regexp-separate)
21507 (tramp-completion-file-name-regexp-url): Don't use leading volume
21508 letter on w32 systems. (Bug#5303, Bug#9311)
21509 (tramp-drop-volume-letter): Simplify definition.
21510 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21511
21512 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21513
21514 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21515 (bug#9356).
21516
21517 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21518
21519 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21520
21521 2011-08-29 Juri Linkov <juri@jurta.org>
21522
21523 * isearch.el (isearch-done): Don't display message "Mark saved"
21524 when arg `edit' is non-nil to prevent its flicker in the echo area.
21525
21526 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21527
21528 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21529 obsolete packages for deletion.
21530
21531 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21532
21533 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21534 (help-mode): Derive help-mode from special-mode. Don't invoke
21535 view-mode from help-mode.
21536 (help-xref-override-view-map): Remove.
21537 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21538 view-mode is not used anymore.
21539
21540 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21541
21542 * server.el (server-port): Doc fix.
21543
21544 * cus-theme.el (custom-theme-choose-mode): Inherit from
21545 special-mode (Bug#9124).
21546 (custom-theme-choose-mode-map): Add special-mode to parent.
21547
21548 2011-08-28 Alan Mackenzie <acm@muc.de>
21549
21550 * progmodes/cc-fonts.el
21551 (c-make-font-lock-BO-decl-search-function): New function.
21552 (c-basic-matchers-after - "Fontify the clauses after various
21553 keywords"): Extract the three keyword lists for the 3 erroneous
21554 constructs from the list of four, and use the new function above
21555 in place of an old one.
21556
21557 2011-08-28 Deniz Dogan <deniz@dogan.se>
21558
21559 * net/rcirc.el (rcirc-insert-prev-input)
21560 (rcirc-insert-next-input): Remove unused argument.
21561
21562 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21563
21564 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21565
21566 2011-08-27 Alan Mackenzie <acm@muc.de>
21567
21568 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21569 handle function pointer parameters properly.
21570
21571 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21572
21573 * window.el (display-buffer-reuse-window): Fix case where
21574 selected window was reused with non-nil OTHER-WINDOW argument.
21575 (Bug#9381)
21576
21577 2011-08-27 Deniz Dogan <deniz@dogan.se>
21578
21579 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21580 oftc's NickServ messages.
21581
21582 2011-08-27 Glenn Morris <rgm@gnu.org>
21583
21584 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21585
21586 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21587
21588 * emacs-lisp/package.el (package-install): Call package-initialize
21589 if called interactively.
21590
21591 2011-08-26 Leo Liu <sdl.web@gmail.com>
21592
21593 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21594
21595 2011-08-25 Juri Linkov <juri@jurta.org>
21596
21597 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21598 `search-whitespace-regexp' (bug#9364).
21599
21600 2011-08-25 Juri Linkov <juri@jurta.org>
21601
21602 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21603 `regexp-search-ring' to their global values to protect from
21604 updating by `read-from-minibuffer' (bug#9185).
21605
21606 2011-08-25 Juri Linkov <juri@jurta.org>
21607
21608 * textmodes/ispell.el (ispell-command-loop): Add newline
21609 at the end of the "Use option `i'..." line.
21610
21611 2011-08-25 Juri Linkov <juri@jurta.org>
21612
21613 * battery.el (display-battery-mode): If `battery-status-function'
21614 or `battery-mode-line-format' is nil, display the message and set
21615 `display-battery-mode' to nil (bug#9363).
21616
21617 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21618
21619 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21620 bidi-string-mark-left-to-right; they are unnecessary now.
21621
21622 2011-08-25 Deniz Dogan <deniz@dogan.se>
21623
21624 * net/quickurl.el: Documentation typo fixes.
21625
21626 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21627
21628 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21629
21630 2011-08-25 Glenn Morris <rgm@gnu.org>
21631
21632 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21633
21634 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21635 (smtpmail-via-smtp): Handle nil response from smtp.
21636
21637 2011-08-24 Juri Linkov <juri@jurta.org>
21638
21639 * proced.el (proced-marked): Inherit from `error' instead of
21640 `font-lock-warning-face'.
21641
21642 * ibuffer.el (ibuffer-marked-face): Change default face from
21643 `font-lock-warning-face' to `warning'.
21644 (ibuffer-deletion-face): Change default face from
21645 `font-lock-type-face' to `error'.
21646
21647 * battery.el (battery-update): Use the face `error' instead of
21648 `font-lock-warning-face' (bug#6117).
21649
21650 2011-08-24 Juri Linkov <juri@jurta.org>
21651
21652 * faces.el (success): Change face color from "Green3" to
21653 "ForestGreen" on light background (bug#9353).
21654
21655 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21656
21657 * window.el (quit-window): Rename from quit-restore-window.
21658 Use same arglist as old quit-window.
21659 (frame-auto-delete): Doc fix.
21660
21661 * view.el (view-mode-exit): Use quit-window.
21662
21663 2011-08-24 Juri Linkov <juri@jurta.org>
21664
21665 * isearch.el (isearch-ring-adjust1): Start visiting previous
21666 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21667 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21668 for empty search string (when the last search string is reused
21669 automatically) to adjust the isearch ring to the last element and
21670 prepare the correct index for further M-p commands (bug#9185).
21671
21672 2011-08-24 Kenichi Handa <handa@m17n.org>
21673
21674 * international/ucs-normalize.el: If decomposition property of
21675 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21676 nil.
21677 (nfd, nfkd): Likewise.
21678
21679 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21680
21681 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21682 from process filters aren't reliably transmitted to the surrounding
21683 accept-process-output.
21684 (mpc-proc-check): New function.
21685 (mpc-proc-sync): Use it (bug#8293)
21686
21687 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21688
21689 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21690 Add compatibility functions (bug#9313).
21691
21692 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21693
21694 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21695
21696 * international/uni-bidi.el: Regenerate.
21697
21698 2011-08-23 Kenichi Handa <handa@m17n.org>
21699
21700 * international/charprop.el:
21701 * international/uni-bidi.el:
21702 * international/uni-category.el:
21703 * international/uni-combining.el:
21704 * international/uni-comment.el:
21705 * international/uni-decimal.el:
21706 * international/uni-decomposition.el:
21707 * international/uni-digit.el:
21708 * international/uni-lowercase.el:
21709 * international/uni-mirrored.el:
21710 * international/uni-name.el:
21711 * international/uni-numeric.el:
21712 * international/uni-old-name.el:
21713 * international/uni-titlecase.el:
21714 * international/uni-uppercase.el: Regenerate.
21715
21716 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21717
21718 * help.el (help-window-setup): Fix message displayed when other
21719 window is reused. (Bug#9341)
21720
21721 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21722
21723 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21724 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21725
21726 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21727 Mark obsolete.
21728 * shell.el (shell-parse-pcomplete-arguments): New function.
21729 (shell-completion-vars): Use it instead (bug#9160).
21730
21731 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21732
21733 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21734 strings and comments (bug#9333).
21735
21736 * emacs-lisp/debug.el (debug-arglist): New function.
21737 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21738 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21739
21740 2011-08-22 Juri Linkov <juri@jurta.org>
21741
21742 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21743 Revert regexp that highlights output switches to its old
21744 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21745
21746 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21747 to check for empty output (bug#9226).
21748
21749 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21750
21751 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21752 symbol-constituent as the default, as that stops font-lock from
21753 working properly (Bug#8843).
21754
21755 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21756
21757 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21758 `coding-system-for-*' around the process open call to avoid
21759 auth-source side effects.
21760 (smtpmail-try-auth-methods): Expand the secret password.
21761 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21762 probe hangs.
21763
21764 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21765
21766 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21767
21768 * emacs-lisp/find-func.el (find-function-noselect): New arg
21769 lisp-only.
21770
21771 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21772 signal an error for built-in functions (Bug#6664).
21773
21774 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21775
21776 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21777 (smtpmail-try-auth-methods): Use it.
21778
21779 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21780
21781 * font-lock.el (font-lock-fontify-region)
21782 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21783 (font-lock-default-unfontify-buffer)
21784 (font-lock-default-fontify-region)
21785 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21786
21787 * progmodes/compile.el (compilation-error-properties):
21788 Fix confusion between file struct and message struct (Bug#9319).
21789 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21790 `ant' regexp.
21791
21792 * net/browse-url.el (browse-url-firefox): Don't call
21793 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21794
21795 2011-08-20 Glenn Morris <rgm@gnu.org>
21796
21797 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21798
21799 * tutorial.el (tutorial--default-keys): Update some default bindings.
21800
21801 * files.el (hack-local-variables): Fully ignore case for "mode:".
21802
21803 2011-08-20 Alan Mackenzie <acm@muc.de>
21804
21805 Resolve invalid use of a regexp in regexp-opt.
21806
21807 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21808 detection for a java annotation.
21809
21810 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21811 detection for a java annotation.
21812
21813 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21814 handling for java.
21815 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21816
21817 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21818
21819 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21820 (Bug#9274).
21821
21822 2011-08-20 Alan Mackenzie <acm@muc.de>
21823
21824 Fontify CPP expressions correctly when starting in the middle of
21825 such a construct. Mainly for when jit-lock etc. starts a chunk
21826 here.
21827
21828 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21829 variable.
21830 (c-make-font-lock-search-form): New function, extracted from
21831 c-make-font-lock-search-function.
21832 (c-make-font-lock-search-function): Use the above function.
21833 (c-make-font-lock-context-search-function): New function.
21834 (c-cpp-matchers): Enhance the preprocessor expression case with
21835 the above function
21836 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21837 which takes an expression.
21838
21839 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21840
21841 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21842
21843 * window.el (display-buffer-reuse-window)
21844 (display-buffer-pop-up-window): Don't reuse or split a side
21845 window.
21846
21847 2011-08-19 Glenn Morris <rgm@gnu.org>
21848
21849 * files.el (hack-local-variables-prop-line, hack-local-variables):
21850 Downcase "Mode:". (Bug#9331)
21851
21852 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21853
21854 * international/characters.el: Add L and R categories.
21855
21856 * subr.el (bidi-string-mark-left-to-right): Rename from
21857 string-mark-left-to-right. Use category search.
21858
21859 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21860
21861 2011-08-18 Juri Linkov <juri@jurta.org>
21862
21863 * faces.el (error, warning, success): New faces with definitions
21864 copied from old default values of `font-lock-warning-face',
21865 `compilation-warning', `compilation-info' (bug#6117).
21866
21867 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21868
21869 * progmodes/compile.el (compilation-error): Inherit from `error'.
21870 (compilation-warning): Inherit from `warning'.
21871 (compilation-info): Inherit from `success'.
21872
21873 * dired.el (dired-marked): Inherit from `warning'.
21874 (dired-flagged): Inherit from `error'.
21875
21876 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21877
21878 * mail/smtpmail.el (auth-source): Require to avoid problems with
21879 binding variables (bug#9298). Also clean up some unused
21880 autoloads.
21881
21882 * net/network-stream.el (network-stream-open-starttls):
21883 Support using starttls.el without using gnutls-cli.
21884
21885 2011-08-17 Juri Linkov <juri@jurta.org>
21886
21887 * progmodes/grep.el (rgrep): Handle the case when
21888 `grep-find-command' is a cons cell (bug#9278).
21889
21890 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21891
21892 * window.el (display-buffer-pop-up-frame): Run frame creation
21893 function with BUFFER current (as special-display-popup-frame
21894 does). Reported by Drew Adams.
21895
21896 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21897
21898 * epa-mail.el: Simplify GnuPG group expansion using
21899 epg-expand-group.
21900 (epa-mail-group-alist, epa-mail-group-modtime)
21901 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21902 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21903 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21904 Remove.
21905
21906 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21907
21908 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21909
21910 2011-08-16 Alan Mackenzie <acm@muc.de>
21911
21912 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21913 Correct, to avoid the inside of macros.
21914
21915 2011-08-16 Richard Stallman <rms@gnu.org>
21916
21917 * epa-mail.el: Handle GnuPG group definitions.
21918 (epa-mail-group-alist, epa-mail-group-modtime)
21919 (epa-mail-gnupg-conf-file): New variables.
21920 (epa-mail-parse-groups, epa-mail-sync-groups)
21921 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21922 (epa-mail-expand-recipients): New functions.
21923 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21924
21925 * mail/rmail.el (rmail-epa-decrypt): New command.
21926
21927 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21928 Don't bind buffer-read-only, just inhibit-read-only.
21929 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21930 (epa-decrypt-armor-in-region): Make error message clearer.
21931
21932 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21933
21934 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21935 and "a2b" to "ab" for `prefix'.
21936
21937 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21938
21939 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21940 filter groups.
21941 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21942 Fourquet (Bug#8804).
21943
21944 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21945
21946 * startup.el (argi): Declare as global variable (bug#9275).
21947
21948 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21949
21950 * subr.el (string-mark-left-to-right): Search the entire string
21951 for RTL script, not just the terminating character. Doc fix.
21952
21953 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21954
21955 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21956 New function.
21957 (js--regexp-literal, js-syntax-propertize-function): Remove.
21958 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21959 (js-mode-map): Don't rebind electric keys.
21960 (js-insert-and-indent): Remove.
21961 (js-mode): Setup electric-layout and electric-indent instead.
21962
21963 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21964
21965 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21966
21967 * epa.el (epa-progress-callback-function): Fix the logic of
21968 displaying progress.
21969 * epa-file.el (epa-file-insert-file-contents): Make progress
21970 display more user-friendly.
21971 (epa-file-write-region): Ditto.
21972
21973 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21974
21975 * subr.el (string-mark-left-to-right): New function.
21976
21977 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21978 Use string-mark-left-to-right.
21979 (list-buffers-noselect): Caller changed.
21980
21981 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21982 Use string-mark-left-to-right.
21983 (tabulated-list-print): Recenter after moving point.
21984
21985 2011-08-10 Juri Linkov <juri@jurta.org>
21986
21987 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21988 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21989 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21990
21991 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21992
21993 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21994 (Bug#7554).
21995
21996 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21997
21998 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21999 character. (Bug#6594)
22000
22001 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22002
22003 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22004 (image-dired--with-db-file): New macro.
22005 (image-dired-write-tags, image-dired-remove-tag)
22006 (image-dired-create-gallery-lists, image-dired-write-comments)
22007 (image-dired-get-comment, image-dired-mark-tagged-files)
22008 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22009 (image-dired-gallery-generate): Use insert-file-contents.
22010
22011 * time.el (display-time-world-list, display-time-world-display):
22012 * time-stamp.el (time-stamp-string):
22013 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22014 set-time-zone-rule (Bug#7337).
22015
22016 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22017
22018 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22019 (epg-error-to-string, epg-errors-to-string): New function.
22020 (epg-wait-for-completion): Reverse errors list.
22021 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22022 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22023 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22024 (epg-sign-keys, epg-generate-key-from-file)
22025 (epg-generate-key-from-string): Format errors by using
22026 epg-errors-to-string (bug#9255).
22027 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22028
22029 2011-08-07 Juri Linkov <juri@jurta.org>
22030
22031 * faces.el (list-faces-display): Remove extra angle bracket
22032 from `help-mode-map'.
22033
22034 * info.el (Info-history-toc-nodes): Doc fix.
22035
22036 * longlines.el (longlines-mode): Doc fix.
22037
22038 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22039
22040 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22041 of statements and in a few more cases (bug#9183).
22042
22043 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22044 New functions.
22045 (cl-transform-lambda): Use them (bug#9239).
22046
22047 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22048
22049 * window.el (display-buffer-same-window)
22050 (display-buffer-same-frame, display-buffer-other-window)
22051 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22052 (pop-to-buffer-other-window)
22053 (pop-to-buffer-same-frame-other-window)
22054 (pop-to-buffer-other-frame): Make them defuns.
22055 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22056
22057 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22058
22059 * subr.el (make-composed-keymap): Move from C. Change calling
22060 convention, and improve docstring to bring attention to a subtle point.
22061 * minibuffer.el (completing-read-default): Adjust accordingly.
22062
22063 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22064
22065 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22066 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22067
22068 * net/trampver.el: Update release number.
22069
22070 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22071
22072 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22073 "in" (bug#9190).
22074
22075 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22076
22077 * mail/sendmail.el (sendmail-query-once): Restore the current
22078 buffer after querying (bug#9074).
22079
22080 * dired.el (dired-flagged): Use different faces for marked and
22081 flagged files (bug#6117).
22082
22083 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22084 (bug#4433).
22085
22086 * ido.el (ido-mode): Switch off the message if called
22087 non-interactively.
22088
22089 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22090 before 587, since it appears that that's more likely to work for
22091 more people.
22092
22093 * cus-edit.el (custom-file): When running under emacs -q, always
22094 refuse to save the customizations, even if the .emacs file doesn't
22095 exist.
22096
22097 * info.el: Remove the `Info-beginning-of-buffer' function
22098 (bug#8325).
22099
22100 * net/network-stream.el (network-stream-open-starttls):
22101 Use `starttls-available-p' to see whether starttls.el can be used.
22102
22103 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22104
22105 * window.el (display-buffer-in-window): Don't set dedicated status
22106 of window here (Bug#9215).
22107 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22108 (display-buffer-pop-up-side-window)
22109 (display-buffer-in-side-window): Set dedicated status of window here.
22110
22111 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22112
22113 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22114 before binding generated-autoload-file.
22115
22116 2011-08-01 Deniz Dogan <deniz@dogan.se>
22117
22118 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22119
22120 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22121
22122 Sync with Tramp 2.2.2.
22123
22124 * net/trampver.el: Update release number.
22125
22126 2011-07-30 Juri Linkov <juri@jurta.org>
22127
22128 * dired-aux.el (dired-touch-initial): Remove function.
22129 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22130 current time, and `default' to the last modification time of the
22131 current marked file (bug#6887).
22132
22133 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22134
22135 * simple.el (goto-line): Use string-to-number to provide a
22136 numeric argument to read-number (bug#9163).
22137
22138 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22139
22140 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22141 connection process, it could be nil.
22142
22143 2011-07-27 Leo Liu <sdl.web@gmail.com>
22144
22145 Simplify url handling in rcirc-mode.
22146
22147 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22148 (rcirc-browse-url-at-mouse): Remove.
22149 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22150
22151 2011-07-26 Alan Mackenzie <acm@muc.de>
22152
22153 Fontify bitfield declarations properly.
22154
22155 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22156 (c-symbol-chars): Now exported as a lang variable.
22157 (c-not-primitive-type-keywords): New lang variable.
22158
22159 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22160 QT keyword "more" to prevent "more slots: ...." being spuriously
22161 parsed as a bitfield declaration.
22162
22163 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22164 Refactor and enhance to handle bitfield declarations.
22165 (c-punctuation-in): New function.
22166 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22167 declarations properly.
22168
22169 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22170
22171 * calendar/icalendar.el (icalendar--all-events): Take care of
22172 multiple vcalendars in a single file.
22173 (icalendar--convert-float-to-ical): Checkdoc fixes.
22174
22175 2011-07-25 Deniz Dogan <deniz@dogan.se>
22176
22177 * image.el (insert-image): Clarifying docstring.
22178
22179 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22180
22181 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22182 `tramp-send-command-and-check' if there is no error.
22183 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22184
22185 2011-07-22 Alan Mackenzie <acm@muc.de>
22186
22187 Prevent cc-langs.elc being loaded at run time.
22188
22189 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22190 cc-langs.
22191
22192 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22193 "(require 'cc-langs)". Quote a form so it will evaluate at
22194 (cc-mode's) compilation time.
22195
22196 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22197
22198 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22199 loading. (Bug#9114)
22200
22201 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22202
22203 * window.el (display-buffer-pop-up-window)
22204 (display-buffer-pop-up-side-window)
22205 (display-buffer-in-side-window): Call display-buffer-set-height
22206 and display-buffer-set-width after setting the new window's
22207 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22208
22209 2011-07-20 Sam Steingold <sds@gnu.org>
22210
22211 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22212 (etags-tags-included-tables): Call `convert-standard-filename' on
22213 the file names contained in TAGS so that windows Emacs can handle
22214 TAGS files created by cygwin ctags.
22215
22216 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22217
22218 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22219 which apparently didn't work.
22220
22221 2011-07-19 Roland Winkler <winkler@gnu.org>
22222
22223 * proced.el (proced-send-signal): For *Marked Processes* buffer
22224 put point at beginning of buffer.
22225
22226 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22227
22228 * proced.el (proced-format): Make header lines align with the text
22229 (bug#1779).
22230
22231 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22232
22233 * view.el (view-buffer): Allow running in `special' modes if we're
22234 visiting a file (bug#8615).
22235
22236 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22237
22238 * window.el (display-buffer-alist-of-strings-p)
22239 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22240 New functions.
22241 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22242 more accurately.
22243
22244 2011-07-18 Alan Mackenzie <acm@muc.de>
22245
22246 Fontify declarators properly when, e.g., a jit-lock chunk begins
22247 inside a declaration.
22248
22249 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22250
22251 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22252 New function.
22253 (c-complex-decl-matchers): Insert reference to
22254 c-font-lock-enclosing-decls.
22255
22256 * progmodes/cc-engine.el (c-backward-single-comment):
22257 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22258 to nil around calls to (forward-comment -1).
22259
22260 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22261
22262 * image.el (put-image): Doc typo fix.
22263
22264 * progmodes/etags.el (tags-search): Doc typo fix.
22265
22266 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22267 password if we get errors 550 to 554.
22268
22269 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22270
22271 * net/gnutls.el (gnutls-log-level): Remove.
22272
22273 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22274 indentation character (bug#6380).
22275
22276 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22277
22278 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22279 to clarify what the problem is (bug#4291).
22280
22281 * simple.el (current-kill): Clarify what
22282 `interprogram-paste-function' does (bug#7500).
22283 (auto-fill-mode): Document `auto-fill-function' in relation to
22284 `auto-fill-mode' (bug#2470).
22285
22286 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22287
22288 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22289 method if slot is read-only (bug#9035).
22290
22291 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22292
22293 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22294 * window.el (pop-to-buffer): Select window used even if it was
22295 selected before, see discussion of (Bug#8615), (Bug#6954).
22296 Pass argument NORECORD on to select-frame-set-input-focus.
22297
22298 2011-07-15 Glenn Morris <rgm@gnu.org>
22299
22300 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22301 Respect help-form.
22302
22303 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22304
22305 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22306 (gnutls-negotiate): Use it.
22307
22308 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22309
22310 * net/gnutls.el (gnutls-negotiate):
22311 Upcase `gnutls-algorithm-priority'.
22312
22313 2011-07-15 Glenn Morris <rgm@gnu.org>
22314
22315 * jka-compr.el (jka-compr-verbose): Move from here...
22316 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22317 Add missing :version tag.
22318 * info.el: No need to require jka-compr when compiling.
22319
22320 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22321
22322 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22323 (gnutls-negotiate): Use it.
22324
22325 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22326
22327 * info.el (Info-beginning-of-buffer): New command.
22328 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22329 announcing `b' as the key (bug#8325).
22330 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22331
22332 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22333
22334 * international/mule-cmds.el
22335 (describe-specified-language-support): Make the error message
22336 clearer (bug#8905).
22337
22338 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22339
22340 * isearch.el (isearch-barrier): Add a doc string, since it's
22341 mentioned in a function doc string (bug#8678).
22342
22343 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22344
22345 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22346 buffer argument (Bug#9083) and self-identifying label argument.
22347
22348 2011-07-15 Glenn Morris <rgm@gnu.org>
22349
22350 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22351
22352 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22353
22354 * man.el (Man-fontify-manpage): Fix message when formatting the
22355 man page (bug#7929).
22356
22357 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22358
22359 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22360 argument LRM; if non-nil, append an invisible LRM character to the
22361 buffer name.
22362 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22363 last argument non-nil, when formatting buffer names.
22364 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22365 paragraph direction.
22366
22367 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22368
22369 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22370 the man page name (bug#7929).
22371
22372 * image.el (put-image): Mention the `put-image' overlay property
22373 (bug#7834).
22374
22375 * scroll-bar.el (set-scroll-bar-mode): Mention that
22376 `scroll-bar-mode' lists the values (bug#7772).
22377
22378 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22379 command (bug#7729).
22380
22381 * rect.el (apply-on-rectangle): Return the point after the last
22382 operation.
22383 (string-rectangle): Go to the point after the last operation
22384 (bug#7522).
22385
22386 * printing.el (pr-toggle-region): Clarify the documentation
22387 slightly (bug#7493).
22388
22389 * time.el (display-time-update):
22390 Allow `display-time-mail-function' to return nil (bug#7158).
22391 Fix suggested by Detlev Zundel.
22392
22393 * vc/diff.el (diff): Clarify the order the file names are read
22394 (bug#7111).
22395
22396 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22397 the doc string (bug#7015).
22398
22399 * font-lock.el (font-lock-maximum-decoration): Mention what
22400 numeric levels mean (bug#6935).
22401
22402 * startup.el (initial-buffer-choice): Don't mention the `none'
22403 selection, which is against policy.
22404
22405 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22406
22407 * window.el (display-buffer-normalize-special):
22408 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22409
22410 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22411
22412 * subr.el (version<, version<=, version=): Mention "-CVS" and
22413 "-12345" alpha version numbers.
22414
22415 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22416
22417 * bindings.el: Add advertised binding for set-mark-command
22418 (Bug#5772).
22419
22420 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22421
22422 * bindings.el (mode-line-other-buffer):
22423 * bookmark.el (bookmark-bmenu-2-window):
22424 * bs.el (bs-cycle-next, bs-cycle-previous):
22425 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22426 switch-to-buffer.
22427
22428 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22429 Delete.
22430
22431 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22432
22433 * follow.el (follow-debug-message, follow-redisplay):
22434 * jka-cmpr-hook.el (with-auto-compression-mode):
22435 Fix typos in docstrings.
22436
22437 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22438
22439 * subr.el (with-silent-modifications): Clarify somewhat what the
22440 macro inhibits (bug#6525).
22441
22442 * simple.el (eval-expression): Note what it does if called
22443 interactively (bug#6495).
22444
22445 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22446
22447 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22448 Use pop-to-buffer buffer-or-name if it is nil.
22449
22450 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22451 Remove switch-to-buffer.
22452
22453 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22454
22455 * files.el (make-directory): Clarify that an error will be raised
22456 if there's an error (bug#6397).
22457
22458 * startup.el (initial-buffer-choice): Add `none' as a choice
22459 (bug#6234).
22460
22461 * subr.el (add-hook): Clarify section about buffer-local hooks
22462 (bug#6218).
22463
22464 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22465
22466 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22467
22468 * tabify.el (untabify): Preserve the current column so that point
22469 doesn't move (bug#6032).
22470
22471 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22472
22473 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22474 Rewrite to avoid awkward possessive "s" (bug#5986).
22475
22476 2011-07-13 Glenn Morris <rgm@gnu.org>
22477
22478 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22479 (dired-insert-directory): Give a message the first time
22480 if ls is found not to support --dired.
22481
22482 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22483
22484 * simple.el (toggle-truncate-lines): Clarify what is toggled
22485 (bug#5580). Text by Drew Adams.
22486
22487 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22488
22489 * simple.el (blink-matching-open): Make the error message from the
22490 last change less verbose.
22491
22492 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22493
22494 * font-lock.el (font-lock-comment-face): Use the high contrast
22495 "yellow" color for font-lock-comment-face on low color terminals
22496 using a dark background color (bug#4221).
22497
22498 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22499
22500 * dired.el (dired-insert-set-properties): Make the doc string
22501 reflect what it does now (bug#5325).
22502
22503 * simple.el (blink-matching-open): Say that we were unable to find
22504 the match within the limit, if we're limited (bug#5122).
22505
22506 * international/mule-cmds.el (prefer-coding-system): Add an
22507 example (bug#4869).
22508
22509 * progmodes/etags.el (tags-search): Document `file-list-form'
22510 (bug#4731).
22511
22512 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22513
22514 * net/browse-url.el (browse-url-default-browser)
22515 (browse-url-browser-function): Make the default browser choice a
22516 bit more logical (bug#4300). Also clean up the doc string.
22517
22518 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22519
22520 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22521 binary endings (bug#4440).
22522
22523 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22524
22525 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22526 which can be pretty annoying (bug#8971).
22527
22528 * jka-compr.el (jka-compr-verbose): New variable, and use
22529 throughout (bug#8971).
22530
22531 * info.el (Info-find-file): Fall back on the installation
22532 directory if we can't find the info node anywhere else.
22533
22534 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22535
22536 * vc/vc.el (vc-revert-file):
22537 Don't set file time-stamp in the past. (Bug#5181)
22538
22539 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22540
22541 * files.el (after-find-file): Give a better error message when
22542 trying to find a symlink that points to a file that doesn't exist
22543 (bug#4398).
22544
22545 * progmodes/cc-vars.el: Remove (probably) misleading comment
22546 (bug#4396).
22547
22548 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22549
22550 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22551
22552 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22553
22554 * mouse-sel.el: Hack restoring functionality, while keeping
22555 compatibility with 2010-07-03 changes to mouse selection.
22556 (mouse-sel-primary-overlay): New var.
22557 (mouse-sel-selection-alist): Use it.
22558 (mouse-sel-mode): Doc fix; remove points that are default features
22559 of mouse.el.
22560
22561 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22562
22563 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22564 Fix previous fix (bug#2490).
22565
22566 2011-07-12 Roland Winkler <winkler@gnu.org>
22567
22568 * textmodes/bibtex.el (bibtex-initialize):
22569 Use pop-to-buffer-same-window.
22570 (bibtex-search-entries): Fix interactive call.
22571
22572 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22573
22574 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22575 Fontise bytecomp Error lines more correctly (bug#2490).
22576 Fix suggested by Johan Bockgård.
22577
22578 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22579
22580 * dired-x.el (dired-guess-default): Use `delete-dups'.
22581
22582 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22583
22584 * dired.el (dired-mark-prompt):
22585 * dired-aux.el (dired-read-shell-command): Doc fix.
22586
22587 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22588
22589 * mail/sendmail.el (sendmail-query-once):
22590 Use `customize-save-variable' unconditionally, now that it works under
22591 emacs -Q.
22592
22593 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22594
22595 * cus-edit.el (custom-file): Take an optional no-error variable.
22596 (customize-save-variable): Set the variable, and give a warning if
22597 running under "emacs -q".
22598
22599 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22600
22601 * loadhist.el (unload-feature-special-hooks):
22602 Add `auto-coding-functions', `fill-nobreak-predicate' and
22603 `find-directory-functions' (bug#5327).
22604
22605 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22606
22607 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22608
22609 * cus-edit.el (custom-guess-name-alist): -alist variables should
22610 use the `alist' type (bug#3120). Suggested by Drew Adams.
22611
22612 * printing.el: Add documentation to all the `pr-toggle-' commands.
22613
22614 2011-07-11 Leo Liu <sdl.web@gmail.com>
22615
22616 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22617 backends where it makes sense (bug#2623).
22618
22619 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22620
22621 * dired-x.el (dired-guess-default): Remove duplicate shell command
22622 entries (bug#2028).
22623 (dired-guess-default): Fix grammar in doc string (bug#2028).
22624 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22625
22626 * subr.el (remove-duplicates): New conveniency function.
22627
22628 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22629
22630 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22631 (bug#1526).
22632
22633 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22634
22635 * window.el (display-buffer-normalize-default): Don't invert
22636 meaning of even-window-heights. Reported by Eli Zaretskii
22637 <eliz@gnu.org>.
22638
22639 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22640
22641 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22642
22643 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22644
22645 * window.el (display-buffer): Fix arguments to
22646 display-buffer-reuse-window in last change.
22647
22648 * faces.el (link): Use a less saturated blue on light backgrounds.
22649
22650 * startup.el (fancy-startup-text, fancy-about-text)
22651 (fancy-startup-tail): Use font-lock faces, for background safety.
22652
22653 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22654
22655 * emulation/viper-cmd.el (viper-change-state-to-vi):
22656 Limit triggering of abbrev expansion (Bug#9038).
22657
22658 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22659
22660 * window.el (display-buffer-default-specifiers): Remove.
22661 (display-buffer-macro-specifiers): Remove default specifiers.
22662 (display-buffer-alist): Default to nil.
22663 (display-buffer-reuse-window): New optional argument other-window.
22664 (display-buffer-pop-up-window): Allow splitting internal
22665 windows. Check whether a live window was created.
22666 (display-buffer-other-window-means-other-frame)
22667 (display-buffer-normalize-arguments): Rename to
22668 display-buffer-normalize-argument and rewrite. Set the
22669 other-window specifier.
22670 (display-buffer-normalize-special): New function.
22671 (display-buffer-normalize-options): Rename to
22672 display-buffer-normalize-default and rewrite.
22673 (display-buffer-normalize-options-inhibit): Remove.
22674 (display-buffer-normalize-specifiers): Rewrite.
22675 (display-buffer): Process other-window specifier and call
22676 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22677 more faithfully.
22678 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22679 (display-buffer-alist-set): Don't handle 'unset default values.
22680 (display-buffer-in-window, display-buffer-alist-set):
22681 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22682 <tassilo@member.fsf.org>.
22683
22684 2011-07-09 Leo Liu <sdl.web@gmail.com>
22685
22686 * register.el (insert-register): Restore accidental change on
22687 2011-06-26. (Bug#9028)
22688
22689 2011-07-09 Glenn Morris <rgm@gnu.org>
22690
22691 * subr.el (remq): Handle the empty list. (Bug#9024)
22692
22693 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22694
22695 * mail/sendmail.el (send-mail-function): No longer delay custom
22696 initialization.
22697 * custom.el (custom-initialize-delay): Doc fix.
22698
22699 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22700
22701 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22702
22703 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22704
22705 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22706 human-friendly prompt.
22707
22708 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22709
22710 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22711 provided by a particular plugin.
22712
22713 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22714
22715 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22716 save customizations (with "emacs -Q"), just set the variable
22717 instead of erroring out.
22718
22719 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22720
22721 2011-07-08 Juri Linkov <juri@jurta.org>
22722
22723 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22724 (archive-zip-update-case): Use 7z if found by `executable-find'.
22725 The order of searching the available programs is the same as in
22726 `archive-zip-extract' (bug#8968).
22727
22728 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22729
22730 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22731 (menu-bar-options-menu): Tweak descriptions.
22732
22733 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22734
22735 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22736 menu items into verb phrases (bug#1421). Also refill to fit under
22737 80 columns.
22738
22739 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22740
22741 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22742 (Info-read-node-name): Doc fix (Bug#1084).
22743
22744 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22745 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22746 (end-of-sexp, beginning-of-sexp)
22747 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22748 (forward-symbol, forward-same-syntax, word-at-point)
22749 (sentence-at-point): Doc fix (Bug#1144).
22750
22751 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22752
22753 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22754 should cover it (bug#1281).
22755
22756 * cus-edit.el (custom-show): Mark as obsolete.
22757
22758 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22759 negotiation fails, then possibly try again with a non-encrypted
22760 connection (bug#9017).
22761
22762 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22763 be used.
22764
22765 2011-07-07 Richard Stallman <rms@gnu.org>
22766
22767 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22768 property, and handle its changed format.
22769 Look for the correct line number.
22770 Use file's line contents (but not past first =) to find
22771 correct line in message.
22772
22773 2011-07-07 Kenichi Handa <handa@m17n.org>
22774
22775 * international/characters.el (build-unicode-category-table):
22776 Delete it.
22777 (unicode-category-table): Set it by unicode-property-table-internal.
22778
22779 * international/mule-cmds.el (char-code-property-alist): Move to
22780 to src/chartab.c.
22781 (get-char-code-property): Call unicode-property-table-internal to
22782 load a file. Call get-unicode-property-internal where necessary.
22783 (put-char-code-property): Call unicode-property-table-internal to
22784 load a file. Call put-unicode-property-internal where necessary.
22785 put-unicode-property-internal where necessary.
22786 (char-code-property-description):
22787 Call unicode-property-table-internal to load a file.
22788
22789 * international/charprop.el:
22790 * international/uni-bidi.el:
22791 * international/uni-category.el:
22792 * international/uni-combining.el:
22793 * international/uni-comment.el:
22794 * international/uni-decimal.el:
22795 * international/uni-decomposition.el:
22796 * international/uni-digit.el:
22797 * international/uni-lowercase.el:
22798 * international/uni-mirrored.el:
22799 * international/uni-name.el:
22800 * international/uni-numeric.el:
22801 * international/uni-old-name.el:
22802 * international/uni-titlecase.el:
22803 * international/uni-uppercase.el: Regenerate.
22804
22805 * loadup.el: Load international/charprop.el before
22806 international/characters.
22807
22808 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22809
22810 * window.el (next-buffer, previous-buffer): Signal an error if
22811 called from a minibuffer window.
22812
22813 * bindings.el: Revert 2011-07-04 change.
22814
22815 2011-07-06 Richard Stallman <rms@gnu.org>
22816
22817 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22818 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22819 Treat markers like ints.
22820 (rmail-mime-entity): Doc fix.
22821
22822 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22823
22824 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22825 defcustom again for backwards compatibility.
22826
22827 * simple.el (shell-command-on-region): Fill.
22828
22829 * dired-aux.el (dired-kill-line): Add a doc string.
22830
22831 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22832 to "\\sw\\|\\s_" (bug#358).
22833
22834 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22835 (dired-unmark-backward): Ditto.
22836 (dired-flag-backup-files): Ditto.
22837
22838 * dired-x.el (dired-mark-sexp): Ditto.
22839
22840 2011-07-06 Richard Stallman <rms@gnu.org>
22841
22842 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22843 (rmail-mime-entity): New arg TRUNCATED.
22844 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22845 New functions.
22846 (rmail-mime-save): Warn if entity is truncated.
22847 (rmail-mime-toggle-hidden): Likewise, for showing.
22848 (rmail-mime-process-multipart): Record when an entity is truncated.
22849
22850 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22851 if ENTITY is a string.
22852
22853 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22854
22855 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22856 of faces when `M-C-x'-ing their definitions (bug#8378).
22857 Also clean up the code slightly.
22858
22859 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22860 because that makes the colors go away.
22861
22862 * mail/sendmail.el (send-mail-function): Change the default to
22863 `sendmail-query-once'.
22864 (sendmail-query-once): Add an autoload cookie.
22865
22866 * net/network-stream.el (network-stream-open-starttls): Try using
22867 a plain connection even if the server offered STARTTLS, and we
22868 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22869 capability. This should make smtpmail.el work in slightly more
22870 configurations.
22871
22872 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22873
22874 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22875 New defun.
22876 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22877
22878 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22879
22880 * progmodes/sql.el: Version 3.0
22881 (sql-product-alist): Add product :completion-object,
22882 :completion-column, and :statement attributes.
22883 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22884 (sql-mode-syntax-table): Mark all punctuation.
22885 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22886 ansi keywords.
22887 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22888 (sql-mode-oracle-font-lock-keywords): Improve.
22889 (sql-oracle-show-reserved-words): New function for development.
22890 (sql-product-font-lock): Simplify for source code buffers.
22891 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22892 New functions.
22893 (sql-highlight-product): Set product specific syntax table.
22894 (sql-mode-map): Add statement movement functions.
22895 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22896 New variable.
22897 (sql-statement-regexp, sql-beginning-of-statement)
22898 (sql-end-of-statement, sql-signum): New functions.
22899 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22900 (sql-show-sqli-buffer): Bug fix.
22901 (sql-interactive-mode): Store connection data as buffer local.
22902 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22903 with sql-interactive-mode.
22904 (sql-save-connection): Save buffer local settings.
22905 (sql-connection-menu-filter): Change menu entry name.
22906 (sql-product-interactive): Bug fix.
22907 (sql-preoutput-hold): New variable.
22908 (sql-interactive-remove-continuation-prompt): Bug fixes.
22909 (sql-debug-redirect): New variable.
22910 (sql-str-literal): New function.
22911 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22912 Redesign.
22913 (sql-oracle-save-settings, sql-oracle-restore-settings)
22914 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22915 (sql-completion-object, sql-completion-column)
22916 (sql-completion-sqlbuf): New variables.
22917 (sql-build-completions-1, sql-build-completions)
22918 (sql-try-completion): New functions.
22919 (sql-read-table-name): Use them.
22920 (sql-contains-names): New buffer local variable.
22921 (sql-list-all, sql-list-table): Use it.
22922 (sql-oracle-completion-types): New variable.
22923 (sql-oracle-completion-object, sql-sqlite-completion-object)
22924 (sql-postgres-completion-object): New functions.
22925
22926 2011-07-06 Glenn Morris <rgm@gnu.org>
22927
22928 * window.el (pop-to-buffer): Doc fix.
22929
22930 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22931
22932 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22933
22934 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22935
22936 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22937
22938 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22939
22940 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22941
22942 * button.el (button): Inherit from link face. Suggested by Dan
22943 Nicolaescu.
22944
22945 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22946
22947 * progmodes/gdb-mi.el: Fit in 80 columns.
22948 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22949 switch-to-buffer.
22950
22951 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22952 if imenu is simply not configured (bug#8941).
22953
22954 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22955
22956 * allout.el (allout-post-undo-hook): New allout outline-change
22957 event hook to signal undo activity.
22958 (allout-post-command-business): Run allout-post-undo-hook if an
22959 undo just occurred.
22960 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22961 * allout-widgets.el (allout-widgets-after-undo-function):
22962 Ensure the integrity of the current item's decoration after it has been
22963 in the vicinity of an undo.
22964 (allout-widgets-mode): Include allout-widgets-after-undo-function
22965 on the new allout-post-undo-hook.
22966
22967 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22968
22969 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22970 Let define-derived-mode define it.
22971 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22972 cycles of abbrev-table inheritance (bug#8998).
22973
22974 2011-07-05 Roland Winkler <winkler@gnu.org>
22975
22976 * textmodes/bibtex.el: Add support for biblatex.
22977 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22978 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22979 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22980 (bibtex-entry-alist, bibtex-field-alist): New variables.
22981 (bibtex-entry-field-alist): Obsolete alias for
22982 bibtex-BibTeX-entry-alist.
22983 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22984 (bibtex-set-dialect): New command.
22985 (bibtex-entry-type, bibtex-entry-head)
22986 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22987 Bind via bibtex-set-dialect.
22988 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22989 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22990 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22991 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22992 Define via bibtex-set-dialect.
22993 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22994 Obey bibtex-no-opt-remove-re.
22995 (bibtex-vec-push, bibtex-vec-incr): New functions.
22996 (bibtex-format-entry, bibtex-field-list)
22997 (bibtex-print-help-message, bibtex-validate)
22998 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22999
23000 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23001
23002 * progmodes/compile.el (compilation-goto-locus):
23003 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23004 * bs.el (bs-cycle-next, bs-cycle-previous):
23005 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23006 * bindings.el (mode-line-other-buffer):
23007 * autoinsert.el (auto-insert):
23008 * arc-mode.el (archive-extract):
23009 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23010
23011 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23012
23013 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23014 Fix check of `emacs-lock-unlockable-modes'.
23015 Coerce true values of `emacs-lock--try-unlocking' to t.
23016
23017 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23018
23019 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23020 * emacs-lock.el: New file.
23021
23022 2011-07-05 Julien Danjou <julien@danjou.info>
23023
23024 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23025 than `boundp' to check if face is set.
23026
23027 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23028
23029 * register.el (registerv-make):
23030 * window.el (window-min-height): Fix typos in docstrings.
23031
23032 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23033
23034 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23035 Update doc string.
23036
23037 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23038
23039 * server.el (server-execute): Catch quit and call
23040 `server-return-error' to pass the error back to emacsclient and
23041 close the connection (bug#8942).
23042
23043 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23044
23045 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23046 insecure exception for current topic. Also note that auto-saves
23047 are handled differently.
23048
23049 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23050 State variables for tracking auto-save inhibition situation.
23051
23052 (allout-write-contents-hook-handler): Rename from
23053 'allout-write-file-hook-handler', and describe how it depends on
23054 write-contents-functions sensitivity to non-nil value to prevent
23055 file write.
23056
23057 (allout-auto-save-hook-handler): Remove. auto-save does not check
23058 this in individual buffers, only in the starting buffer, so this
23059 is not the right way for us to inhibit auto-save in a buffer
23060 according to its condition.
23061
23062 (allout-mode): Use new allout-write-contents-hook-handler, and
23063 only with write-contents-functions. Remove auto-save provisions -
23064 they're implemented elsewhere.
23065
23066 (allout-before-change-handler): If undo is in progress, note that
23067 for attention of allout-post-command-business.
23068
23069 (allout-post-command-business): If the command we're following was
23070 an undo, check for change in the status of encrypted items and
23071 adjust auto-save inhibitions accordingly.
23072
23073 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23074 according to whether there are or aren't any plain-text topics
23075 pending encryption.
23076
23077 (allout-inhibit-auto-save-info-for-decryption):
23078 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23079 if there are plain-text topics pending encryption.
23080
23081 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23082 buffer-saved-size and some allout state to not inhibit auto-saves
23083 if there are no longer any plain-text topics pending encryption.
23084
23085 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23086 No longer provide for exemption of the current topic.
23087
23088 2011-07-04 Juri Linkov <juri@jurta.org>
23089
23090 Add 7z operations to delete and save changed members (bug#8968).
23091 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23092 New defcustoms.
23093 (archive-7z-write-file-member): New function.
23094 (archive-7z-summarize): Fix the number of dashes in the
23095 listing output.
23096
23097 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23098
23099 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23100 (bug#8958).
23101
23102 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23103
23104 * bindings.el: Ignore next-buffer and previous-buffer in
23105 minibuffer-local-map.
23106
23107 * font-lock.el (font-lock-builtin-face): Change light background
23108 color to dark slate blue (Bug#6693).
23109
23110 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23111
23112 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23113
23114 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23115
23116 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23117 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23118 Add switch-to-buffer.
23119
23120 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23121
23122 * isearch.el (isearch-search-fun-function): Clarify further the
23123 meaning of the function returned.
23124
23125 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23126
23127 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23128
23129 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23130 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23131 Use it.
23132 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23133 `tramp-default-remote-path' does not exist.
23134 (tramp-send-command-and-read): New optional argument NOERROR.
23135 (tramp-open-connection-setup-interactive-shell)
23136 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23137 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23138 (tramp-process-sentinel): Flush also process' connection property.
23139 (tramp-sh-handle-start-file-process): Do not set process
23140 sentinel. It is done now ...
23141 (tramp-maybe-open-connection): ... here. (Bug#8929)
23142
23143 2011-07-04 MON KEY <monkey@sandpframing.com>
23144
23145 * play/animate.el (animate-string): Doc fixes and allow changing
23146 the buffer name (bug#5417).
23147
23148 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23149
23150 * play/animate.el (animation-buffer-name): Rename from *animate*.
23151
23152 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23153
23154 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23155 This is simpler and helps future-proof the code.
23156 (timer-until): Use time-subtract and float-time.
23157 (timer--time-less-p): Use time-less-p.
23158
23159 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23160
23161 * type-break.el (timep): Use the value of `float-time' to avoid a
23162 byte-compiler warning.
23163
23164 * server.el (server-eval-and-print): Return any result, even nil.
23165
23166 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23167
23168 * type-break.el: Accept time formats that the builtins accept.
23169 (timep, type-break-time-difference): Accept any format that
23170 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23171 This is simpler and helps future-proof the code.
23172 (type-break-time-difference): Round rather than ignoring
23173 subseconds components.
23174
23175 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23176
23177 * info.el (Info-apropos-matches): Make non-interactive, since it
23178 doesn't seem to do anything useful as a command (bug#8829).
23179
23180 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23181
23182 * frame.el (frame-background-mode, frame-set-background-mode):
23183 Move from faces.el.
23184 (frame-default-terminal-background): New function.
23185
23186 * custom.el (custom-push-theme): Don't record faces in `changed'
23187 theme; this doesn't work correctly for per-frame face settings.
23188 (disable-theme): Use face-set-after-frame-default to reset faces.
23189 (custom--frame-color-default): New function.
23190
23191 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23192
23193 * dired.el (dired-flagging-regexp): Remove unused variable
23194 (bug#8769).
23195
23196 2011-03-29 Kevin Ryde <user42@zip.com.au>
23197
23198 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23199 `perl-Test2' extend to match possible "fail #N" rep count
23200 (bug#8377).
23201
23202 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23203
23204 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23205 `smtpmail-via-smtp' now returns the error instead of nil.
23206
23207 * isearch.el (isearch-search-fun-function): Clarify the doc string
23208 (bug#8101).
23209
23210 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23211
23212 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23213 unnecessary spaces (bug#8987).
23214
23215 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23216
23217 * net/network-stream.el (open-network-stream): Use the
23218 :end-of-capability command thoughout.
23219
23220 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23221
23222 * net/network-stream.el (open-network-stream): Add the
23223 :end-of-capability command parameter, used by pop3.el.
23224
23225 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23226
23227 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23228
23229 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23230 for list)" (bug#6475).
23231
23232 * files.el (file-expand-wildcards): Ignore non-readable
23233 sub-directories while trying to find matches instead of signaling
23234 an error (bug#6297).
23235
23236 * man.el (Man-reference-regexp): Allow matching possible
23237 word-wrapped references (bug#6289).
23238
23239 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23240 for consistency with the other vc buffers (bug#6197).
23241 (vc-checkin): Ditto.
23242
23243 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23244
23245 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23246
23247 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23248
23249 * custom.el (defcustom): Clarify that :set is only used in the
23250 Customize user interface (bug#6089).
23251
23252 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23253 associated with a file, refuse to run instead of erroring out
23254 (bug#6084).
23255
23256 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23257 the doc string, since it appears that using `fill-column' always
23258 controls the width (bug#7845).
23259
23260 * simple.el (shell-command-on-region): Say where the error output
23261 went if `shell-command-default-error-buffer' is set (bug#6857).
23262
23263 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23264
23265 * allout.el (allout-yank-processing): Adjust cursor position for
23266 backwards-deleted space.
23267
23268 (allout-rebullet-heading): Register changes with
23269 allout-exposure-changed-hook, so the modified topic is properly
23270 decorated.
23271
23272 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23273
23274 * minibuffer.el (completion-in-region): Document PREDICATE
23275 (bug#7136).
23276
23277 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23278 of keyword/argument pairs (bug#6904).
23279
23280 * replace.el (multi-occur):
23281 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23282
23283 2011-07-02 Drew Adams <drew.adams@oracle.com>
23284
23285 * dired.el (dired-mark-if): Make the message about whether it's
23286 marking or unmarking clearer (bug#8523).
23287
23288 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23289
23290 * disp-table.el (display-table-print-array): New function.
23291 (describe-display-table): Use it to print the vectors more pretty
23292 (Bug#8859).
23293
23294 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23295
23296 * window.el (window-state-get-1): Don't assign clone numbers.
23297 Add clone-of item to list of window parameters.
23298 (window-state-put-2): Don't process clone numbers.
23299 (display-buffer-alist): Fix doc-string.
23300
23301 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23302
23303 * subr.el (remq): Don't allocate if it's not needed.
23304 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23305 (keymap--merge-bindings): New functions.
23306 (keymap-canonicalize): Use them to refine the canonicalization.
23307 * minibuffer.el (minibuffer-local-completion-map)
23308 (minibuffer-local-must-match-map): Move initialization from C.
23309 (minibuffer-local-filename-completion-map): Move initialization from C;
23310 don't inherit from anything here.
23311 (minibuffer-local-filename-must-match-map): Make obsolete.
23312 (completing-read-default): Use make-composed-keymap to combine
23313 minibuffer-local-filename-completion-map with either
23314 minibuffer-local-must-match-map or
23315 minibuffer-local-filename-completion-map.
23316
23317 2011-07-01 Glenn Morris <rgm@gnu.org>
23318
23319 * type-break.el (type-break-time-sum): Use dolist.
23320
23321 * textmodes/flyspell.el (flyspell-word-search-backward):
23322 Replace CL function.
23323
23324 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23325
23326 * mouse.el (mouse--strip-first-event): New function.
23327 (function-key-map): Use it to map fringe clicks to normal clicks
23328 by default.
23329
23330 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23331 (vc-bzr-revision-completion-table): Add support for annotate and date.
23332
23333 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23334 inherit from parent.
23335
23336 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23337
23338 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23339 (dired-show-file-type): Doc fixup (bug#8818).
23340
23341 * dired.el (dired-mode): Fix up the doc string as suggested by
23342 Drew Adams (bug#8817).
23343
23344 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23345 cookie, since the manual says that it should be possible to add
23346 this function to `find-file-hook' (bug#8709).
23347
23348 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23349
23350 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23351 here. Noted Ted Zlatanov as the maintainer.
23352 (cfengine-common-settings, cfengine-common-syntax): New functions
23353 to set up common things between `cfengine-mode' and
23354 `cfengine3-mode'.
23355 (cfengine3-mode): New mode.
23356 (cfengine3-defuns cfengine3-defuns-regex
23357 (cfengine3-class-selector-regex cfengine3-category-regex)
23358 (cfengine3-vartypes cfengine3-font-lock-keywords)
23359 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23360 (cfengine3-indent-line): Add from cfengine3.el.
23361
23362 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23363
23364 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23365
23366 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23367
23368 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23369
23370 * window.el (same-window-buffer-names, same-window-regexps)
23371 (same-window-p, special-display-frame-alist)
23372 (special-display-popup-frame, special-display-function)
23373 (special-display-buffer-names, special-display-regexps)
23374 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23375 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23376 (split-window-preferred-function, split-height-threshold)
23377 (split-width-threshold, even-window-heights)
23378 (display-buffer-mark-dedicated, window-splittable-p)
23379 (split-window-sensibly, window-safely-shrinkable-p):
23380 Un-obsolete.
23381 (display-buffer): Don't spread args with function specifier
23382 because special-display-popup-frame won't like it.
23383
23384 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23385
23386 Time-stamp simplifications and fixes.
23387 These improve accuracy slightly, and future-proof the code
23388 against some potential changes to current-time format.
23389
23390 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23391 by using time-since and float-time.
23392
23393 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23394 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23395 + NNN microseconds".
23396
23397 * type-break.el (type-break-time-sum): Rewrite using time-add.
23398
23399 * play/hanoi.el (hanoi-current-time-float): Remove.
23400 All uses replaced by float-time.
23401
23402 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23403 This yields a more-accurate answer.
23404 (rng-time-to-float): Remove; no longer needed.
23405
23406 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23407
23408 * calendar/timeclock.el (timeclock-seconds-to-time):
23409 Defalias to seconds-to-time, since they're the same thing.
23410
23411 * emacs-lisp/elp.el (elp-elapsed-time):
23412 * emacs-lisp/benchmark.el (benchmark-elapse):
23413 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23414
23415 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23416
23417 * window.el (bury-buffer): Don't iconify the only frame.
23418 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23419 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23420
23421 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23422
23423 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23424 Add mouse-yank-primary.
23425
23426 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23427
23428 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23429
23430 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23431
23432 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23433 (find-library-name): Use it to find relative load names when provided
23434 absolute file name (bug#8803).
23435
23436 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23437
23438 * textmodes/flyspell.el (flyspell-word): Consider words that
23439 differ only in case as potential doublons (bug#5687).
23440
23441 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23442 Remove two rather uninteresting debugging-like messages to make
23443 debbugs.el more silent.
23444
23445 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23446 a password-like phrase.
23447
23448 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23449
23450 * progmodes/cc-guess.el: New file.
23451
23452 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23453
23454 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23455 derived from `c-basic-common-init'.
23456
23457 * progmodes/cc-mode.el (top-level): Require cc-guess.
23458 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23459
23460 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23461
23462 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23463
23464 2011-06-30 Alan Mackenzie <acm@muc.de>
23465
23466 * progmodes/cc-engine.el (c-guess-continued-construct):
23467 Correct the handling of template-args-cont, particularly for when font
23468 lock is disabled. Name this case as "CASE G".
23469
23470 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23471
23472 * allout.el (allout-yank-processing): Fix injection of extra space
23473 between bullet and non-whitespace character in first topic when
23474 pasting, ensuring that the actual spacing in the pasted topic
23475 following the bullet char is preserved. This extra space was
23476 causing pasted encrypted topics to get a decrypted status even
23477 when the content was actually still encrypted. Now the decryption
23478 status from before the paste is preserved.
23479
23480 (allout-flag-region): Set all allout overlays so they evaporate
23481 when reduced to zero length (evanescent), to prevent overlay
23482 leakage.
23483
23484 2011-06-30 Glenn Morris <rgm@gnu.org>
23485
23486 * w32-fns.el (w32-charset-info-alist): Declare.
23487
23488 * find-dired.el (find-grep-options): Simplify.
23489
23490 * term/ns-win.el (ns-set-resource): Declare.
23491
23492 * ses.el (row, col): Declare dynamic variables honestly.
23493
23494 * textmodes/reftex-parse.el (index-tags): Declare.
23495
23496 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23497
23498 * cus-edit.el (customize-push-and-save): New function.
23499
23500 * files.el (hack-local-variables-confirm): Use it.
23501
23502 * custom.el (load-theme): New arg NO-CONFIRM.
23503 Use customize-push-and-save (Bug#8720).
23504 (custom-enabled-themes): Doc fix.
23505
23506 * cus-theme.el (customize-create-theme)
23507 (custom-theme-merge-theme): Callers to load-theme changed.
23508
23509 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23510
23511 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23512 short URLs have at least one dot in them (bug #7614).
23513
23514 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23515 nil, because using a pty is apparently too slow (bug #895).
23516
23517 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23518
23519 * mail/sendmail.el (sendmail-query-once): New function.
23520 (sendmail-query-once-function): New variable.
23521
23522 2011-06-29 Glenn Morris <rgm@gnu.org>
23523
23524 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23525
23526 * ses.el (top-level): Require cl when compiling.
23527 (ses-set-localvars): Fix error statement.
23528 Call it at compile time to silence a storm of warnings.
23529
23530 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23531
23532 * window.el (normalize-live-buffer): Rename to
23533 window-normalize-buffer.
23534 (normalize-live-frame): Rename to window-normalize-frame.
23535 (normalize-any-window): Rename to window-normalize-any-window.
23536 (normalize-live-window): Rename to window-normalize-live-window.
23537 (make-window-atom): Rename to window-make-atom.
23538 (window-resize-reset): Rename to window--resize-reset.
23539 (window-resize-reset-1): Rename to window--resize-reset-1.
23540 (resize-mini-window): Rename to window--resize-mini-window.
23541 (resize-subwindows-skip-p): Rename to
23542 window--resize-subwindows-skip-p.
23543 (resize-subwindows-normal): Rename to
23544 window--resize-subwindows-normal.
23545 (resize-subwindows): Rename to window--resize-subwindows.
23546 (resize-other-windows): Rename to window--resize-siblings.
23547 (resize-this-window): Rename to window--resize-this-window.
23548 (resize-root-window): Rename to window--resize-root-window.
23549 (resize-root-window-vertically): Rename to
23550 window--resize-root-window-vertically.
23551 (normalize-buffer-to-display): Rename to
23552 window-normalize-buffer-to-display.
23553 (normalize-buffer-to-switch-to): Rename to
23554 window-normalize-buffer-to-switch-to.
23555 Correspondingly update all callers of the functions listed
23556 above.
23557 (display-buffer-alist, display-buffer-normalize-arguments)
23558 (display-buffer-normalize-options, display-buffer)
23559 (display-buffer-alist-set): Use "function" instead of
23560 "fun-with-args".
23561
23562 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23563
23564 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23565 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23566 debbugs.gnu.org. Mention acknowledgment email.
23567
23568 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23569
23570 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23571 buffer multibyteness, since it shouldn't matter.
23572
23573 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23574
23575 * window.el (display-buffer-in-side-window): Handle dedicated
23576 windows as in display-buffer-reuse-window.
23577 (display-buffer-normalize-alist): Use value of override
23578 specifier.
23579 (display-buffer-normalize-specifiers): Use value of
23580 other-window-means-other-frame specifier.
23581 (display-buffer-alist): Rewrite some texts in widgets.
23582 (display-buffer): Spread arguments when calling function
23583 specified by fun-with-args.
23584
23585 2011-06-28 Deniz Dogan <deniz@dogan.se>
23586
23587 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23588 Unnest `let'.
23589
23590 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23591 selectors (Bug#5732).
23592 (css-proprietary-nmstart-re): Use `regexp-opt'.
23593
23594 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23595
23596 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23597 (eshell-ls-date-format): New defcustom.
23598 (eshell-ls-file): Use it.
23599
23600 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23601
23602 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23603
23604 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23605
23606 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23607 (ange-ftp-make-tmp-name): New arg.
23608 (ange-ftp-file-local-copy): Use it.
23609
23610 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23611
23612 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23613 no-conversion (Bug#8870).
23614
23615 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23616
23617 * window.el (window-right, window-left, window-child)
23618 (window-child-count, window-last-child)
23619 (window-iso-combination-p, walk-window-tree-1)
23620 (window-atom-check-1, window-tree-1, delete-window)
23621 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23622 new naming conventions - window-vchild, window-hchild,
23623 window-next and window-prev are now called window-top-child,
23624 window-left-child, window-next-sibling and window-prev-sibling
23625 respectively.
23626 (resize-window-reset): Rename to window-resize-reset.
23627 (resize-window-reset-1): Rename to window-resize-reset-1.
23628 (resize-window): Rename to window-resize.
23629 (window-min-height, window-min-width)
23630 (resize-mini-window, resize-this-window, resize-root-window)
23631 (resize-root-window-vertically, adjust-window-trailing-edge)
23632 (enlarge-window, shrink-window, maximize-window)
23633 (minimize-window, delete-window, quit-restore-window)
23634 (split-window, balance-windows, balance-windows-area-adjust)
23635 (balance-windows-area, window-state-put-2)
23636 (display-buffer-even-window-sizes, display-buffer-set-height)
23637 (display-buffer-set-width, set-window-text-height)
23638 (fit-window-to-buffer): Rename all "resize-window" prefixed
23639 calls to use the "window-resize" prefix convention.
23640 (display-buffer-alist): Fix symbol for label specifier.
23641 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23642 corresponding specifier.
23643 Reported by Juanma Barranquero <lekktu@gmail.com>.
23644
23645 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23646
23647 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23648 convention.
23649 (ses-call-printer): Does not pass an empty string to formatter when the
23650 cell is empty to keep from barking printer Calc math-format-value.
23651
23652 2011-06-27 Richard Stallman <rms@gnu.org>
23653
23654 * battery.el (battery-mode-line-limit): New variable.
23655 (battery-update): Handle it.
23656
23657 * mail/rmailmm.el (rmail-mime-process-multipart):
23658 Handle truncated messages.
23659
23660 2011-06-27 Glenn Morris <rgm@gnu.org>
23661
23662 * progmodes/flymake.el (flymake-err-line-patterns):
23663 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23664
23665 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23666
23667 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23668 (ses--clean-!, ses--clean-_): New functions.
23669 (ses-range): Add configurability of readout order, and conversion
23670 to Calc vector.
23671
23672 * ses.el (ses-repair-cell-reference-all): New function.
23673 (ses-cell-symbol): Set macro as safe, so that it can be used in
23674 formulas.
23675
23676 * ses.el: Update cycle detection algorithm.
23677 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23678 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23679 (ses-set-localvars): New function.
23680 (ses-make-cell): Add property-list as a cell element.
23681 (ses-cell-property-get-fun, ses-cell-property-get)
23682 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23683 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23684 New functions.
23685 (ses-cell-property-set, ses-cell-property-pop)
23686 (ses-cell-property-get-handle): New macro.
23687 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23688 New aliases, used for code readability.
23689 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23690 cycle detection.
23691 (ses-self-reference-early-detection): New defcustom.
23692 (ses-formula-references): Robustify against self-referring cells.
23693 (ses-mode): Use ses-set-localvars.
23694 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23695 before lauching the update processing.
23696 (ses-initialize-Dijkstra-attempt): New function.
23697 (ses-recalculate-cell): Update for cycle detection based on
23698 Dijkstra algorithm.
23699
23700 * ses.el: Fix commenting and indenting convention.
23701
23702 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23703
23704 * bs.el (bs-cycle-next): Complete last change.
23705
23706 2011-06-27 Drew Adams <drew.adams@oracle.com>
23707
23708 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23709
23710 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23711
23712 * net/network-stream.el (network-stream-open-starttls):
23713 Don't re-get capabilities unless we've reestablished connection.
23714 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23715
23716 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23717 to binary to possibly avoid line encoding issues on Windows (among
23718 other things).
23719
23720 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23721
23722 * net/network-stream.el (open-network-stream): Return an :error
23723 saying what the problem was, if possible.
23724
23725 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23726 server.
23727
23728 * net/network-stream.el (network-stream-open-starttls): If we
23729 wanted to use STARTTLS, and the server offered it, but we weren't
23730 able to because we had no STARTTLS support, then close the connection.
23731 (open-network-stream): Return an :error element, if present.
23732
23733 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23734
23735 * hl-line.el (hl-line-sticky-flag): Doc fix.
23736 (global-hl-line-sticky-flag): New option (Bug#8323).
23737 (global-hl-line-highlight): Obey it.
23738
23739 * vc/vc.el (vc-revert-show-diff): Default to t.
23740
23741 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23742
23743 * allout-widgets.el (allout-widgets-post-command-business):
23744 Stop decorating intermediate isearch matches. They're not being
23745 undecorated when an isearch is continued past, and isearch
23746 automatically collapses them. This leads to "widget leaks", where
23747 decorated items accumulate in collapsed areas. Lines with lots of
23748 hidden widgets can slow down cursor travel, substantially.
23749 Too much complicated machinery would be needed to ensure undecoration,
23750 so we're doing without this nicety.
23751
23752 (allout-widgets-tally-string): Don't try to do a hash-table-count
23753 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23754 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23755 *Messages* when allout-widgets-maintain-tally is t.
23756
23757 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23758
23759 * window.el (display-buffer-normalize-argument): Rename to
23760 display-buffer-normalize-arguments. Handle special meaning of
23761 LABEL argument. Respect special-display-function when popping up
23762 a new frame. Fix code searching for a window showing the buffer
23763 on another frame.
23764 (display-buffer-normalize-specifiers):
23765 Call display-buffer-normalize-arguments.
23766 (display-buffer-in-window): Don't undedicate the window if its
23767 buffer remains the same.
23768 Reported by Drew Adams <drew.adams@oracle.com>.
23769 (display-buffer-alist): Add choice for same-window macro
23770 specfier.
23771 (display-buffer): Mention special meaning of LABEL argument in
23772 doc-string. Fix quoting. Don't pop up a new frame even as
23773 fallback.
23774
23775 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23776
23777 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23778 avoid deleting the current window in some cases (bug#8911).
23779
23780 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23781
23782 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23783 (Bug#8934)
23784
23785 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23786
23787 * net/network-stream.el (network-stream-open-starttls):
23788 Use built-in TLS support if `gnutls-available-p' is true.
23789 (network-stream-open-tls): Ditto.
23790
23791 2011-06-26 Leo Liu <sdl.web@gmail.com>
23792
23793 * register.el (registerv): New struct.
23794 (registerv-make): New function.
23795 (jump-to-register, describe-register-1, insert-register):
23796 Support the jump-func, print-func and insert-func slot of a registerv
23797 struct. (Bug#8415)
23798
23799 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23800
23801 * vc/vc.el (vc-revert-show-diff): New defcustom.
23802 (vc-diff-internal): New arg specifying diff buffer.
23803 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23804 reuse an existing *vc-diff* buffer (Bug#8927).
23805
23806 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23807
23808 2011-06-26 Glenn Morris <rgm@gnu.org>
23809
23810 * progmodes/f90.el (f90-critical-indent): New option.
23811 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23812 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23813 (f90-mode): Doc fix.
23814 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23815 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23816 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23817 (f90-match-end): Handle block, critical.
23818
23819 2011-06-25 Glenn Morris <rgm@gnu.org>
23820
23821 * calendar/diary-lib.el (diary-included-files): Doc fix.
23822 (diary-include-files): New function, extracted from
23823 diary-include-other-diary-files and diary-mark-included-diary-files.
23824 (diary-include-other-diary-files, diary-mark-included-diary-files):
23825 Just call diary-include-files.
23826 (diary-mark-entries): Reset diary-included-files on first call.
23827
23828 * calendar/diary-lib.el (diary-mark-entries)
23829 (diary-mark-included-diary-files):
23830 Visit included diary-files in temp buffers.
23831
23832 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23833 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23834 (f90-start-block-re, f90-imenu-generic-expression)
23835 (f90-looking-at-program-block-start, f90-no-block-limit):
23836 Add support for submodules.
23837
23838 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23839 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23840
23841 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23842
23843 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23844 buffer-file-type before setting its value, to avoid disastrous
23845 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23846
23847 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23848
23849 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23850
23851 * ses.el (ses-unload-function):
23852 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23853
23854 * proced.el (proced-unload-function):
23855 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23856
23857 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23858
23859 * server.el (server-create-window-system-frame): Add parameters arg.
23860 (server-process-filter): Doc fix. Handle frame-parameters.
23861
23862 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23863
23864 Fix bug#8730, bug#8781.
23865
23866 * loadhist.el (unload--set-major-mode): New function.
23867 (unload-feature): Use it.
23868
23869 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23870 (python-unload-function): New function.
23871
23872 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23873
23874 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23875
23876 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23877
23878 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23879 the candidates list.
23880
23881 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23882
23883 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23884
23885 2011-06-23 Richard Stallman <rms@gnu.org>
23886
23887 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23888 (rmail-variables): Set next-error-move-function.
23889 (rmail-what-message): Take argument POS.
23890 (rmail-next-error-move): New function.
23891
23892 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23893
23894 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23895 messages for adjacent non-terminals.
23896
23897 2011-06-23 Richard Stallman <rms@gnu.org>
23898
23899 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23900 (rmail-show-message-1): Preserve buffer modified flag.
23901 (rmail-start-mail): Don't specify use of rmail-mail-return;
23902 that's done by mail-bury now.
23903 (rmail-mail-return): Handle arg NEWBUF.
23904
23905 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23906
23907 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23908 SIZE is a number.
23909
23910 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23911
23912 * window.el (get-lru-window, get-mru-window)
23913 (get-largest-window): Never return a minibuffer window.
23914 (display-buffer-pop-up-window): Fix a bug that could lead to
23915 reusing the minibuffer window.
23916 (display-buffer): Pass original specifier argument to
23917 display-buffer-function instead of the normalized one.
23918 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23919
23920 2011-06-22 Leo Liu <sdl.web@gmail.com>
23921
23922 * minibuffer.el (completing-read-function)
23923 (completing-read-default): Move from minibuf.c.
23924
23925 2011-06-22 Richard Stallman <rms@gnu.org>
23926
23927 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23928 to Rmail even if not started by a special Rmail command.
23929
23930 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23931 Copy the buffer currently showing just one message.
23932
23933 2011-06-22 Roland Winkler <winkler@gnu.org>
23934
23935 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23936 (bibtex-clean-entry): First delete the old key so that a
23937 customized algorithm for generating the new key does not get
23938 confused by the old key.
23939 (bibtex-url): Obey regexp of first step.
23940 (bibtex-search-entries): Do not use add-to-list with local
23941 list-var.
23942
23943 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23944
23945 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23946 stored a user name, then query for the password first, instead of
23947 waiting for SMTP to give an error message and the trying again.
23948
23949 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23950
23951 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23952 BUFFER in call-process.
23953
23954 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23955
23956 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23957 QUIT twice.
23958 (smtpmail-try-auth-methods): Require user name and password from
23959 auth-source.
23960
23961 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23962
23963 * window.el (display-buffer-default-specifiers)
23964 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23965 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23966 (split-window): Normalize SIDE argument (Bug#8916).
23967
23968 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23969 (special-display-frame-alist, special-display-popup-frame):
23970 Remove duplicate declarations. These are now in window.el.
23971
23972 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23973
23974 * mail/smtpmail.el (smtpmail-via-smtp):
23975 Set :use-starttls-if-possible so that we always use STARTTLS if the
23976 server supports it. SMTP servers that support STARTTLS commonly
23977 require it.
23978
23979 * net/network-stream.el (network-stream-open-starttls): Support
23980 upgrading to STARTTLS always, even if we don't have built-in support.
23981 (open-network-stream): Add the :always-query-capabilities keyword.
23982
23983 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23984 upgrades with `open-network-stream', and rely solely on
23985 auth-source for all credentials. Big changes throughout the file,
23986 but in particular:
23987 (smtpmail-auth-credentials): Remove.
23988 (smtpmail-starttls-credentials): Remove.
23989 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23990 MAIL FROM, too.
23991
23992 * net/network-stream.el (network-stream-open-starttls):
23993 Provide support for client certificates both for external and built-in
23994 STARTTLS.
23995 (auth-source): Require.
23996 (open-network-stream): Document the :client-certificate keyword.
23997 (network-stream-certificate): Change cert-cert to cert and
23998 cert-key to key.
23999
24000 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24001
24002 * net/tramp-cache.el (top): Don't load the persistency file when
24003 "emacs -Q" has been called.
24004
24005 2011-06-21 Tim Harper <timcharper@gmail.com>
24006
24007 * term/ns-win.el (ns-initialize-window-system):
24008 Set application-specific `ApplePressAndHoldEnabled' system
24009 resource to NO as it is not yet supported by the NS port.
24010
24011 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24012
24013 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24014 (list-dynamic-libraries): ...not here.
24015
24016 2011-06-21 Leo Liu <sdl.web@gmail.com>
24017
24018 * subr.el (sha1): Implement sha1 using secure-hash.
24019
24020 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24021
24022 * window.el (display-buffer-alist): In default value do not
24023 enforce searching a window on any but the selected frame.
24024 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24025 (display-buffer-select-window): Remove function.
24026 (display-buffer-in-window): When a window on another frame gets
24027 reused, do not select it any more but just raise its frame if
24028 necessary (Bug#8851) and (Bug#8856).
24029 (display-buffer-normalize-options): Handle pop-up-frames related
24030 options more faithfully.
24031 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24032 window if it is on another frame.
24033 (display-buffer-alist, display-buffer-default-specifiers):
24034 Don't make new frame unsplittable by default.
24035 (display-buffer-normalize-argument): Fix doc-string typo and use
24036 'same-frame-other-window instead of 'other-window when associating
24037 with display-buffer-macro-specifiers.
24038
24039 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
24040
24041 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24042 New functions.
24043 (5x5-mode-map, 5x5-mode-menu): Bind them.
24044 (5x5-draw-grid): Tweak the solver's rendering.
24045
24046 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24047
24048 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24049 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24050
24051 2011-06-21 Drew Adams <drew.adams@oracle.com>
24052
24053 * menu-bar.el: Use function variable instead of switch-to-buffer.
24054 (menu-bar-select-buffer-function): New variable.
24055 (menu-bar-update-buffers): Use it (bug#8876).
24056
24057 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24058
24059 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24060 variable's status.
24061
24062 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24063
24064 * x-dnd.el (x-dnd-version-from-flags)
24065 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24066 and long as number (Bug#8899).
24067 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24068
24069 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24070
24071 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24072 (completion-try-completion, completion-all-completions): Compute the
24073 metadata argument if it's missing; make it optional (bug#8795).
24074
24075 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24076 (widget-complete): Use new :completion-function property.
24077 (widget-completions-at-point): New function.
24078 (default): Use :completion-function instead of :complete.
24079 (widget-default-completions): Rename from widget-default-complete;
24080 Rewrite.
24081 (widget-string-complete, widget-file-complete, widget-color-complete):
24082 Remove functions.
24083 (file, symbol, function, variable, coding-system, color):
24084 * international/mule-cmds.el (default-input-method, charset)
24085 (language-info-custom-alist):
24086 * cus-edit.el (face): Use new property :completions.
24087
24088 * progmodes/pascal.el (pascal-completions-at-point): New function.
24089 (pascal-mode): Use it.
24090 (pascal-mode-map): Use completion-at-point.
24091 (pascal-toggle-completions): Make obsolete.
24092 (pascal-complete-word, pascal-show-completions):
24093 * progmodes/octave-mod.el (octave-complete-symbol):
24094 Redefine as obsolete alias.
24095 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24096 Signal absence of completion info for old Octave,
24097 (inferior-octave-complete): Redefine as obsolete alias.
24098 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24099 (meta-completions-at-point): Rename from meta-complete-symbol and
24100 adapt it for use on completion-at-point-functions.
24101 (meta-common-mode): Use it.
24102 (meta-looking-at-backward, meta-match-buffer): Remove.
24103 (meta-complete-symbol): Redefine as obsolete alias.
24104 (meta-common-mode-map): Use completion-at-point.
24105 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24106 (makefile-mode-map): Use completion-at-point.
24107 (makefile-completions-at-point): Rename from makefile-complete and
24108 adapt it for use on completion-at-point-functions.
24109 (makefile-mode): Use it.
24110 (makefile-complete): Redefine as obsolete alias.
24111
24112 2011-06-20 Deniz Dogan <deniz@dogan.se>
24113
24114 * net/rcirc.el: Delete trailing whitespaces once and for all.
24115
24116 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24117
24118 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24119
24120 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24121
24122 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24123
24124 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24125
24126 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24127
24128 * window.el (display-buffer-other-window-means-other-frame):
24129 Call display-buffer-normalize-alist.
24130 (display-buffer-normalize-specifiers-1): Rename to
24131 display-buffer-normalize-argument. New argument other-frame.
24132 Rewrite.
24133 (display-buffer-normalize-specifiers-2): Rename to
24134 display-buffer-normalize-options.
24135 (display-buffer-normalize-alist-1): New function.
24136 (display-buffer-normalize-specifiers-3): Rename to
24137 display-buffer-normalize-alist.
24138 Call display-buffer-normalize-alist-1.
24139 (display-buffer-normalize-options-inhibit): New variable.
24140 (display-buffer-normalize-specifiers): Rewrite calling
24141 display-buffer-normalize-alist,
24142 display-buffer-normalize-argument, and
24143 display-buffer-normalize-options. Don't call the latter if
24144 display-buffer-normalize-options-inhibit is non-nil.
24145 (frame-auto-delete): New option.
24146 (window-deletable-p): Use frame-auto-delete.
24147 (window-list-no-nils, window-state-ignored-parameters)
24148 (window-state-get-1, window-state-get, window-state-put-list)
24149 (window-state-put-1, window-state-put-2, window-state-put):
24150 New functions.
24151 (display-buffer-normalize-options): Move special-display-p group
24152 after pop-up-frame group (Bug#8851) and (Bug#8856).
24153
24154 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24155
24156 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24157 groups (Bug#8776).
24158 (rx-submatch-n): New function.
24159 (rx): Document it.
24160
24161 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24162 (Bug#8768).
24163
24164 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24165
24166 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24167
24168 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24169 anytime existing face settings are present (Bug#8889).
24170
24171 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24172 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24173 Remove unused argument.
24174
24175 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24176
24177 * window.el (display-buffer-default-specifiers):
24178 Remove pop-up-frame. Add pop-up-window-min-height,
24179 pop-up-window-min-width, and another reuse-window specifier
24180 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24181 (display-buffer-normalize-specifiers-2):
24182 Handle split-height-threshold and split-width-threshold also when
24183 pop-up-windows is unset. Add a reuse-window specifier for the
24184 case popping up a new window fails.
24185 (special-display-popup-frame): Remove double quoting.
24186 (display-buffer-normalize-specifiers-1): Fix thinko.
24187
24188 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24189
24190 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24191 according to comint-completion-addsuffix.
24192
24193 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24194 (pcomplete-suffix-list): Mark as obsolete.
24195 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24196 pcomplete-seen in the closure.
24197 (pcomplete-comint-setup): Setup completion-at-point as well.
24198 (pcomplete--entries): New function.
24199 (pcomplete--env-regexp): New var.
24200 (pcomplete-entries): Rewrite to work with partial-completion and
24201 without relying on pcomplete-suffix-list.
24202 (pcomplete-pare-list): Remove, unused.
24203
24204 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24205
24206 * window.el (display-buffer-alist): Set pop-up-window-min-height
24207 and pop-up-window-min-width in default value. Reported by
24208 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24209 other-window-means-other-frame.
24210 (display-buffer-macro-specifiers): Comment out entry for
24211 other-window specifier.
24212 (display-buffer-other-window-means-other-frame): New function.
24213 (display-buffer-normalize-specifiers-1): New arguments
24214 buffer-name and label. Treat other-window case specially.
24215 (display-buffer-normalize-specifiers-2): Treat other-window case
24216 specially.
24217 (display-buffer-normalize-specifiers-3): New function.
24218 (display-buffer-normalize-specifiers):
24219 Call display-buffer-normalize-specifiers-3.
24220
24221 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24222
24223 * window.el (same-window-p): Fix two typos introduced when
24224 adding with-no-warnings.
24225 (display-buffer-normalize-specifiers-1): Don't check
24226 pop-up-frames for 'unset initialization.
24227 (display-buffer-normalize-specifiers-2): Major rewrite using
24228 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24229 (pop-up-frames, display-buffer-reuse-frames)
24230 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24231 Suggested by David Engster <deng@randomsample.de>.
24232 (even-window-heights): Initialize to 'unset.
24233 (display-buffer-alist-set): Handle new 'unset initializations.
24234 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24235 other window case.
24236
24237 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24238
24239 * window.el (display-buffer-normalize-specifiers-1):
24240 Respect current value of pop-up-frames for most reasonable values of
24241 second argument of display-buffer (Bug#8865).
24242 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24243 (switch-to-buffer-other-window-same-frame)
24244 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24245 Adams (Bug#8875).
24246 (display-buffer): Don't check noninteractive when calling
24247 display-buffer-pop-up-frame.
24248 (display-buffer-pop-up-frame): Never pop up a frame in
24249 noninteractive mode (Bug#8857).
24250 (enlarge-window, shrink-window): Don't report an error when the
24251 window can't be resized as requested (Bug#8862).
24252
24253 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24254
24255 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24256
24257 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24258
24259 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24260
24261 2011-06-15 Alan Mackenzie <acm@muc.de>
24262
24263 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24264 for declarators, disable knr checking to speed up for normal files.
24265 2: Refactor, replacing a sequence of nested if forms by a cond form.
24266
24267 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24268
24269 * net/network-stream.el (open-network-stream): Add the keyword
24270 :always-query-capabilities for the case where you want to force a
24271 `plain' network connection, but the protocol still requires the
24272 capabilitiy command (i.e., SMTP and EHLO).
24273
24274 * subr.el (process-live-p): Rename from `process-alive-p' for
24275 consistency with other `-live-p' functions.
24276
24277 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24278
24279 * window.el (same-window-buffer-names, same-window-regexps)
24280 (special-display-frame-alist, special-display-popup-frame)
24281 (special-display-function, special-display-buffer-names)
24282 (special-display-regexps, pop-up-frame-alist)
24283 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24284 (pop-up-windows, split-window-preferred-function)
24285 (split-height-threshold, split-width-threshold, even-window-heights)
24286 (display-buffer-mark-dedicated): Don't encourage the use of
24287 display-buffer-alist from Elisp code.
24288
24289 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24290
24291 * progmodes/python.el (python-mode): Derive from prog-mode.
24292 * progmodes/ps-mode.el (ps-mode):
24293 * progmodes/mixal-mode.el (mixal-mode):
24294 * progmodes/cfengine.el (cfengine-mode):
24295 * progmodes/ld-script.el (ld-script-mode): Likewise.
24296
24297 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24298
24299 * window.el (display-buffer-alist): Trim default value to avoid
24300 popping up a new frame (Bug#8857) or reusing an arbitrary window
24301 on another frame.
24302 (display-buffer): Do not fall back on popping up a new frame in
24303 batch mode (Bug#8857).
24304
24305 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24306
24307 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24308 (custom-theme-summary): New function.
24309 (customize-themes): Use it.
24310
24311 2011-06-13 Glenn Morris <rgm@gnu.org>
24312
24313 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24314
24315 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24316
24317 * help.el (help-window): Remove variable.
24318 (help-window-point-marker, temp-buffer-max-height)
24319 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24320 (help-print-return-message): Don't set help-window.
24321 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24322 (help-window-setup-finish): Remove.
24323 (help-window-display-message, help-window-setup)
24324 (with-help-window): Major rewrite based on new
24325 display-buffer-window variable.
24326
24327 * help-mode.el (help-mode-finish): Remove help-window related
24328 code.
24329
24330 * view.el (view-exits-all-viewing-windows): Remove reference to
24331 view-return-to-alist in doc-string.
24332 (view-return-to-alist): Make obsolete.
24333 (view-buffer): Call pop-to-buffer-same-window and remove
24334 undo-window code.
24335 (view-buffer-other-window): Call pop-to-buffer-other-window and
24336 simplify code. Ignore second argument.
24337 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24338 simplify code. Ignore second argument.
24339 (view-return-to-alist-update): Make obsolete.
24340 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24341 Rewrite using quit-restore window parameters.
24342 (view-mode-exit): Rename second argument to EXIT-ONLY.
24343 Rewrite using quit-restore-window.
24344 (View-exit, View-exit-and-edit, View-leave, View-quit)
24345 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24346 appropriate arguments.
24347 (view-end-message): Use quit-restore window parameter.
24348
24349 * window.el (display-buffer-function): Rewrite doc-string.
24350 (display-buffer-window, display-buffer-alist): New variables.
24351 (display-buffer-split-specifiers)
24352 (display-buffer-side-specifiers)
24353 (display-buffer-macro-specifiers): New constants.
24354 (display-buffer-even-window-sizes, display-buffer-set-height)
24355 (display-buffer-set-width, display-buffer-select-window)
24356 (display-buffer-in-window, display-buffer-reuse-window)
24357 (display-buffer-split-window-1, display-buffer-split-window)
24358 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24359 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24360 (display-buffer-in-side-window, normalize-buffer-to-display)
24361 (display-buffer-normalize-specifiers-1)
24362 (display-buffer-normalize-specifiers-2)
24363 (display-buffer-normalize-specifiers, display-buffer-frame):
24364 New functions.
24365 (display-buffer): Major rewrite.
24366 (display-buffer-other-window, display-buffer-other-frame)
24367 (pop-to-buffer, switch-to-buffer-other-window)
24368 (switch-to-buffer-other-frame): Rewrite.
24369 (display-buffer-same-window, display-buffer-same-frame)
24370 (display-buffer-same-frame-other-window)
24371 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24372 (pop-to-buffer-other-window)
24373 (pop-to-buffer-same-frame-other-window)
24374 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24375 (switch-to-buffer-other-window-same-frame): New functions.
24376 (same-window-p, special-display-p): Rewrite disabling warnings.
24377 Make obsolete.
24378 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24379 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24380 Make obsolete
24381 (same-window-buffer-names, same-window-regexps)
24382 (special-display-frame-alist, special-display-popup-frame)
24383 (special-display-function, special-display-buffer-names)
24384 (special-display-regexps, pop-up-frame-alist)
24385 (pop-up-frame-function, split-window-preferred-function)
24386 (split-height-threshold, split-width-threshold)
24387 (even-window-heights): Make obsolete.
24388
24389 2011-06-12 Glenn Morris <rgm@gnu.org>
24390
24391 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24392 Misc simplifications.
24393
24394 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24395
24396 * window.el (window-safely-shrinkable-p): Restore function which
24397 was inadvertently removed in change from 2011-06-11. Declare as
24398 obsolete.
24399
24400 * calendar/calendar.el (calendar-generate-window):
24401 Use window-iso-combined-p instead of combination of one-window-p and
24402 window-safely-shrinkable-p.
24403
24404 2011-06-12 Glenn Morris <rgm@gnu.org>
24405
24406 * progmodes/fortran.el (fortran-mode-syntax-table):
24407 * progmodes/f90.el (f90-mode-syntax-table):
24408 Set % to punctuation. (Bug#8820)
24409 (f90-find-tag-default): Remove, no longer needed.
24410
24411 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24412
24413 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24414
24415 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24416
24417 * image.el (image-animated-p): Return animation delay in seconds.
24418 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24419 (image-animate-timeout): Remove DELAY argument. Don't assume
24420 every subimage has the same delay; get it from image-animated-p.
24421 (image-animate): Caller changed.
24422
24423 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24424
24425 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24426 to ignored backtrace functions.
24427
24428 2011-06-11 Glenn Morris <rgm@gnu.org>
24429
24430 * calendar/appt.el (appt-disp-window-function): Doc fix.
24431 (appt-check): Handle overlapping appointments. (Bug#8337)
24432
24433 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24434
24435 * window.el (window-tree-1, window-tree): New functions, moving
24436 the latter to window.el.
24437 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24438 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24439 (bw-refresh-edges): Remove.
24440 (balance-windows-1, balance-windows-2): New functions.
24441 (balance-windows): Rewrite in terms of window tree functions,
24442 balance-windows-1 and balance-windows-2.
24443 (bw-adjust-window): Remove.
24444 (balance-windows-area-adjust): New function with functionality of
24445 bw-adjust-window but using resize-window.
24446 (set-window-text-height): Rewrite doc-string.
24447 Use normalize-live-window and resize-window.
24448 (enlarge-window-horizontally, shrink-window-horizontally):
24449 Rename argument to DELTA.
24450 (window-buffer-height): New function.
24451 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24452 Rewrite using new window resize routines.
24453 (kill-buffer-and-window, mouse-autoselect-window-select):
24454 Use ignore-errors instead of condition-case.
24455 (quit-window): Call delete-frame instead of delete-windows-on
24456 for the only buffer on frame.
24457
24458 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24459
24460 * loadup.el (top-level): Load window before files for the sake
24461 of replace-buffer-in-windows.
24462
24463 * files.el (read-buffer-to-switch)
24464 (switch-to-buffer-other-window)
24465 (switch-to-buffer-other-frame, display-buffer-other-frame):
24466 Move to window.el.
24467
24468 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24469 (previous-buffer): Move to window.el.
24470
24471 * bindings.el (unbury-buffer): Move to window.el.
24472
24473 * window.el (delete-other-windows-vertically): Move after
24474 definition of delete-other-windows.
24475 (other-window, delete-windows-on, replace-buffer-in-windows):
24476 Move here from window.c.
24477 (record-window-buffer, unrecord-window-buffer)
24478 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24479 (switch-to-next-buffer): New functions.
24480 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24481 from simple.el. Call switch-to-next-buffer.
24482 (previous-buffer): Move here from simple.el.
24483 Call switch-to-prev-buffer.
24484 (bury-buffer): Move here from buffer.c. Switch to previous
24485 buffer when window cannot be deleted.
24486 (unbury-buffer): Move here from bindings.el.
24487 (ctl-x-map): Move binding for other-window from window.c to
24488 here.
24489 (read-buffer-to-switch, switch-to-buffer-other-window)
24490 (switch-to-buffer-other-frame): Move here from files.el.
24491 (normalize-buffer-to-switch-to): New functions.
24492 (switch-to-buffer): Move here from buffer.c.
24493 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24494
24495 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24496
24497 * window.el (window-min-height, window-min-width): Move here
24498 from window.c. Add defcustoms and rewrite doc-strings.
24499 (resize-mini-window, resize-window): New functions.
24500 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24501 Move here from window.c.
24502 (maximize-window, minimize-window): New functions.
24503 (delete-window, delete-other-windows, split-window): Move here
24504 from window.c.
24505 (window-split-min-size): New function.
24506 (split-window-keep-point): Mention split-window-above-each-other
24507 instead of split-window-vertically.
24508 (split-window-above-each-other, split-window-vertically):
24509 Rename split-window-vertically to split-window-above-each-other
24510 and provide defalias for old definition.
24511 (split-window-side-by-side, split-window-horizontally):
24512 Rename split-window-horizontally to split-window-side-by-side
24513 and provide defalias for the old definition.
24514 (ctl-x-map): Move bindings for delete-window,
24515 delete-other-windows and enlarge-window here from window.c.
24516 Replace bindings for split-window-vertically and
24517 split-window-horizontally by bindings for
24518 split-window-above-each-other and split-window-side-by-side.
24519
24520 * cus-start.el (all): Remove entries for window-min-height and
24521 window-min-width. Add entries for window-splits and
24522 window-nest.
24523
24524 2011-06-09 Glenn Morris <rgm@gnu.org>
24525
24526 * calendar/appt.el (appt-mode-line): New function.
24527 (appt-check, appt-disp-window): Use it.
24528
24529 * files.el (hack-one-local-variable-eval-safep):
24530 Allow minor-modes with explicit +/-1 arguments.
24531
24532 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24533
24534 * term/xterm.el (xterm): Add defgroup.
24535 (xterm-extra-capabilities): Add defcustom to supply known xterm
24536 capabilities, skip querying them, or query them (default).
24537 (terminal-init-xterm): Use it.
24538 (terminal-init-xterm-modify-other-keys): New function to set up
24539 modifyOtherKeys support to simplify `terminal-init-xterm'.
24540
24541 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24542
24543 * window.el (resize-window-reset, resize-window-reset-1)
24544 (resize-subwindows-skip-p, resize-subwindows-normal)
24545 (resize-subwindows, resize-other-windows, resize-this-window)
24546 (resize-root-window, resize-root-window-vertically)
24547 (window-deletable-p, window-or-subwindow-p)
24548 (frame-root-window-p): New functions.
24549
24550 2011-06-09 Glenn Morris <rgm@gnu.org>
24551
24552 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24553 (ange-ftp-get-files): Use it.
24554
24555 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24556
24557 * mail/sendmail.el (mail-recover-1, mail-recover):
24558 * files.el (recover-file, recover-session):
24559 Handle dired-listing-switches not being just a single short option.
24560
24561 2011-06-09 Glenn Morris <rgm@gnu.org>
24562
24563 * calendar/appt.el (appt-display-message, appt-disp-window):
24564 Handle lists of appointments.
24565
24566 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24567
24568 * window.el (one-window-p): Move down in code.
24569 Rewrite doc-string.
24570 (window-current-scroll-bars): Rewrite doc-string.
24571 Normalize live window argument.
24572 (walk-windows, get-window-with-predicate, count-windows):
24573 Rewrite doc-string. Use window-list-1.
24574 (window-in-direction-2, window-in-direction, get-mru-window):
24575 New functions.
24576
24577 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24578
24579 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24580 Doc fix (Bug#8713).
24581
24582 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24583
24584 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24585
24586 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24587
24588 * loadhist.el (unload-feature-special-hooks):
24589 Add `comint-output-filter-functions'.
24590
24591 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24592
24593 * calendar/appt.el (appt-check): Move some initializations into the let.
24594
24595 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24596
24597 * window.el (window-height): Defalias to window-total-height.
24598 (window-width): Defalias to window-body-width.
24599
24600 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24601
24602 * image-mode.el (image-toggle-animation): New command.
24603 (image-mode-map): Bind it to RET.
24604 (image-mode): Update message.
24605 (image-toggle-display-image): Avoid a spurious cache flush.
24606 (image-transform-rotation): Doc fix.
24607 (image-transform-properties): Return quickly in the normal case.
24608 (image-animate-loop): Rename from image-animate-max-time.
24609
24610 * image.el (image-animate-max-time): Move to image-mode.el.
24611 (create-animated-image): Remove unnecessary function.
24612 (image-animate): Rename from image-animate-start. New arg.
24613 (image-animate-stop): Remove; just use image-animate-timer.
24614 (image-animate-timer): Use car-safe.
24615 (image-animate-timeout): Rename argument.
24616
24617 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24618
24619 * window.el (get-lru-window, get-largest-window): Move here from
24620 window.c. Rename first argument to ALL-FRAMES.
24621 Rephrase doc-strings.
24622 (get-buffer-window-list): Rewrite using window-list-1.
24623 Rephrase doc-string.
24624 (window-safe-min-height, window-safe-min-width): New constants.
24625 (window-size-ignore, window-min-size, window-min-size-1)
24626 (window-sizable, window-sizable-p, window-size-fixed-1)
24627 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24628 (window-max-delta-1, window-max-delta, window-resizable)
24629 (window-resizable-p, window-total-height, window-total-width)
24630 (window-body-width): New functions.
24631 (window-full-height-p, window-full-width-p): Rewrite using
24632 window-total-size.
24633 (window-body-height): Rewrite using window-body-size.
24634
24635 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24636
24637 * window.el (window-right, window-left, window-child)
24638 (window-child-count, window-last-child, window-any-p)
24639 (normalize-live-buffer, normalize-live-frame)
24640 (normalize-any-window, normalize-live-window)
24641 (window-iso-combination-p, window-iso-combined-p)
24642 (window-iso-combinations)
24643 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24644 (windows-with-parameter, window-with-parameter)
24645 (window-atom-root, make-window-atom, window-atom-check-1)
24646 (window-atom-check, window-side-check, window-check):
24647 New functions.
24648 (ignore-window-parameters, window-sides, window-sides-vertical)
24649 (window-sides-slots): New variables.
24650 (window-size-fixed): Move down in code. Minor doc-string fix.
24651
24652 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24653
24654 * comint.el (comint-dynamic-complete-as-filename)
24655 (comint-dynamic-complete-filename): Correctly call
24656 completion-in-region.
24657
24658 2011-06-05 Deniz Dogan <deniz@dogan.se>
24659
24660 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24661 in last change.
24662
24663 2011-06-05 Deniz Dogan <deniz@dogan.se>
24664
24665 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24666 (rcirc): Use it to prompt for encryption.
24667
24668 2011-06-05 Roland Winkler <winkler@gnu.org>
24669
24670 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24671 (bibtex-search-entries): New command bound to C-c C-a.
24672 (bibtex-display-entries): New function.
24673
24674 2011-06-05 Roland Winkler <winkler@gnu.org>
24675
24676 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24677 (bibtex-insert-kill): After yanking insert newline if necessary.
24678 (bibtex-initialize): Call bibtex-string-files-init only once.
24679 (bibtex-mode): Do not call easy-menu-add.
24680 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24681 (bibtex-yank): Set arg properly if nil.
24682
24683 2011-06-05 Roland Winkler <winkler@gnu.org>
24684
24685 * textmodes/bibtex.el (bibtex-search-entry-globally):
24686 New variable.
24687 (bibtex-search-entry): Use it.
24688
24689 2011-06-05 Roland Winkler <winkler@gnu.org>
24690
24691 * textmodes/bibtex.el (bibtex-entry-format): New option
24692 sort-fields.
24693 (bibtex-format-entry, bibtex-reformat): Honor this option.
24694 (bibtex-parse-entry): Return fields in proper order.
24695
24696 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24697
24698 * doc-view.el (doc-view-remove-if): Move computation of result out
24699 of `dolist' to silence misleading lexical-binding warning.
24700
24701 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24702
24703 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24704 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24705
24706 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24707
24708 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24709 "SunOS 5.10".
24710
24711 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24712
24713 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24714 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24715 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24716 (tramp-parse-putty):
24717 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24718 (tramp-completion-function-alist-ssh)
24719 (tramp-completion-function-alist-telnet)
24720 (tramp-completion-function-alist-su)
24721 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24722 cookie.
24723
24724 * net/tramp-ftp.el:
24725 * net/tramp-sh.el:
24726 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24727 load "tramp.el" `tramp-set-completion-function'.
24728
24729 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24730
24731 * shell.el: Require and use pcomplete.
24732 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24733 (shell-completion-vars): Set pcomplete-default-completion-function.
24734
24735 2011-06-04 Deniz Dogan <deniz@dogan.se>
24736
24737 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24738 `memq' (Bug#8799).
24739
24740 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24741
24742 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24743
24744 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24745
24746 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24747 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24748 * vc/log-view.el (log-view-beginning-of-defun):
24749 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24750 (smerge-refine-forward, smerge-refine-chopup-region):
24751 Silence warning for unused `dotimes' counter variables.
24752
24753 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24754
24755 * net/tramp.el (tramp-with-progress-reporter): Rename from
24756 with-progress-reporter. Use `declare'.
24757 * net/tramp-smb.el:
24758 * net/tramp-sh.el:
24759 * net/tramp-gvfs.el: Update all uses.
24760
24761 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24762
24763 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24764 buffer isn't killed before making it current.
24765
24766 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24767
24768 Silence various byte-compiler warnings.
24769 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24770 `access-type' and new obsolescence format.
24771 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24772 new format.
24773 (byte-compile-check-variable): New `access-type' argument.
24774 Only warn if the access-type is obsolete.
24775 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24776 (byte-compile-variable-set): Adjust callers.
24777 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24778 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24779 setting it as obsolete.
24780 * simple.el (minibuffer-completing-symbol):
24781 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24782 access as obsolete.
24783 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24784 obsolete yet.
24785 * international/quail.el (quail-mouse-choose-completion): Remove unused
24786 code referring to obsolete var.
24787 (quail-choose-completion-string): Remove.
24788 * server.el (server-clients-with, server-kill-buffer-query-function)
24789 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24790 * proced.el (proced-send-signal):
24791 * emacs-lisp/lisp.el (lisp-complete-symbol):
24792 Replace completion-annotate-function with completion-extra-properties.
24793
24794 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24795
24796 * simple.el (goto-line): Use read-number.
24797 (overriding-map-is-bound): Remove.
24798 (saved-overriding-map): Change default.
24799 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24800 Take the map as argument.
24801 (universal-argument, negative-argument, digit-argument): Use it.
24802 (restore-overriding-map): Adjust.
24803 (do-auto-fill): Use fill-forward-paragraph.
24804 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24805
24806 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24807 (minibuffer-inactive-mode): New major mode.
24808 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24809 the *Messages* buffer" hack.
24810 (mouse-popup-menubar): Don't burp if the event is a normal key.
24811
24812 Miscellaneous tweaks.
24813 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24814 lexical scoping as in subr.el's dolist and dotimes.
24815 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24816 Silence compiler warning.
24817 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24818 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24819 * international/ccl.el (ccl-compile): Trivial simplification.
24820 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24821 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24822 `printflag' argument.
24823 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24824 Purecopy the whole obsolescence data.
24825
24826 2011-06-01 Leo Liu <sdl.web@gmail.com>
24827
24828 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24829 improve doc-string as suggested by Marco Pessotto
24830 <melmothx@gmail.com>.
24831 (rcirc-print): Fix last change.
24832
24833 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24834
24835 * minibuffer.el (complete-with-action): Return nil for the metadata and
24836 boundaries of non-functional tables.
24837 (completion-table-dynamic): Return nil for the metadata.
24838 (completion-table-with-terminator): Add default case, using
24839 complete-with-action.
24840 (completion--metadata): New function.
24841 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24842 to try and avoid pathological performance problems.
24843 (completion--embedded-envvar-table): Return `category' metadata.
24844
24845 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24846
24847 * subr.el (process-alive-p): New tiny convenience function.
24848
24849 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24850
24851 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24852 content but also its previous major mode.
24853
24854 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24855
24856 * emacs-lisp/debug.el (debug): Restore the previous content of the
24857 *Backtrace* buffer when we exit with C-M-c.
24858
24859 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24860
24861 * minibuffer.el: Add metadata method to completion tables.
24862 (completion-category-overrides): New defcustom.
24863 (completion-metadata, completion--field-metadata)
24864 (completion-metadata-get, completion--styles)
24865 (completion--cycle-threshold): New functions.
24866 (completion-try-completion, completion-all-completions):
24867 Add `metadata' argument to choose completion-styles.
24868 (completion--do-completion): Use metadata to choose cycling.
24869 (completion-all-sorted-completions): Use metadata for sorting.
24870 Remove :completion-cycle-penalty which is not needed any more.
24871 (completion--try-word-completion): Add `metadata' argument.
24872 (minibuffer-completion-help): Check metadata for annotation function
24873 and sorting.
24874 (completion-file-name-table): Return `category' metadata.
24875 (minibuffer-completing-file-name): Make obsolete.
24876 * simple.el (minibuffer-completing-symbol): Make obsolete.
24877 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24878 completion-try-completion.
24879
24880 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24881
24882 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24883
24884 2011-05-30 Leo Liu <sdl.web@gmail.com>
24885
24886 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24887 (rcirc-print): Decode all incoming messages (bug#8744).
24888 (rcirc-decode-coding-system): Allow value nil for automatic coding
24889 system detection.
24890
24891 2011-06-01 Glenn Morris <rgm@gnu.org>
24892
24893 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24894
24895 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24896
24897 * image.el (image-animate-max-time): Allow nil and t values.
24898 Default to nil.
24899 (create-animated-image): Doc fix.
24900 (image-animate-start): Remove second arg; just use
24901 image-animate-max-time.
24902 (image-animate-timeout): Doc fix. Args changed.
24903
24904 * image-mode.el (image-toggle-display-image): Ensure that the
24905 image spec passed to the animate timer is the same object as in
24906 the buffer's display property (Bug#6981).
24907 (image-transform-properties): Doc fix.
24908
24909 * image.el (image-animate-max-time): Default to nil.
24910
24911 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24912
24913 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24914 entire buffer list (Bug#8184).
24915
24916 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24917
24918 * image.el (imagemagick-types-inhibit)
24919 (imagemagick-register-types): Doc fix.
24920
24921 2011-05-29 Deniz Dogan <deniz@dogan.se>
24922
24923 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24924 default.
24925
24926 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24927
24928 * select.el: Don't perform clipboard-manager saving in hooks;
24929 leave the hooks empty.
24930
24931 2011-05-28 Leo Liu <sdl.web@gmail.com>
24932
24933 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24934 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24935 (occur-edit-mode): New major mode (Bug#8463).
24936 (occur-after-change-function): New function.
24937 (occur-engine): Give Occur tags a read-only property.
24938
24939 2011-05-28 Kevin Ryde <user42@zip.com.au>
24940
24941 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24942
24943 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24944
24945 * bindings.el (help-echo): Make the initial non-indicator dash
24946 empty on graphical terminals (Bug#7295).
24947
24948 * files.el (auto-mode-alist): Move config rule after the
24949 in-stripping one (Bug#8547).
24950
24951 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24952
24953 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24954 setting (Bug#8740).
24955
24956 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24957
24958 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24959 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24960 (Bug#8539).
24961
24962 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24963
24964 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24965
24966 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24967
24968 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24969 (hs-hide-block-at-point, hs-find-block-beginning)
24970 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24971 (Bug#8279).
24972
24973 2011-05-28 Glenn Morris <rgm@gnu.org>
24974
24975 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24976
24977 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24978
24979 * help-fns.el (describe-function-1): If the function is a derived
24980 major mode, print the parent mode.
24981
24982 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24983 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24984
24985 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24986
24987 * minibuffer.el (completion--capf-wrapper): Check applicability before
24988 returning non-nil for non-exclusive completion data.
24989 * progmodes/etags.el (tags-completion-at-point-function):
24990 * info-look.el (info-lookup-completions-at-point): Mark as
24991 non-exclusive.
24992 (info-complete): Adjust accordingly.
24993
24994 * info-look.el: Convert to lexical-binding and completion-at-point.
24995 (info-lookup-completions-at-point): New function.
24996 (info-complete): Use it and completion-in-region.
24997
24998 2011-05-28 Drew Adams <drew.adams@oracle.com>
24999
25000 * isearch.el: Let M-e start with point at the first mismatched char.
25001 (isearch-fail-pos): New function.
25002 (isearch-edit-string): Use it.
25003
25004 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25005
25006 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25007
25008 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25009
25010 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25011 traversal functions for avl-trees.
25012 (avl-tree--stack): New struct.
25013 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25014 (avl-tree-enter): Add optional `updatefun' arg.
25015 (avl-tree--do-enter): Add optional `updatefun' arg.
25016 Change return value.
25017 (avl-tree-delete): Add optional `test' and `nilflag' args.
25018 (avl-tree--do-delete): Add `test' and `nilflag' args.
25019 Change return value.
25020 (avl-tree-member): Add optional `nilflag'
25021 (avl-tree-member-p): New function.
25022 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25023 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25024 (avl-tree-stack-empty-p): New functions.
25025
25026 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25027 avl-tree--del-balance1 and make it work both ways.
25028 (avl-tree--del-balance2): Remove.
25029 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25030 make it work both ways.
25031 (avl-tree--enter-balance2): Remove.
25032 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25033 New macros.
25034 (avl-tree--mapc, avl-tree-map): Add direction argument.
25035
25036 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25037
25038 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25039
25040 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25041
25042 * select.el: Support clipboard managers with built-in function
25043 x-clipboard-manager-save, via delete-frame-functions and
25044 kill-emacs-hook.
25045 (xselect-convert-to-targets): Add MULTIPLE target to list.
25046 (xselect-convert-to-save-targets): New function.
25047
25048 2011-05-27 Kenichi Handa <handa@m17n.org>
25049
25050 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25051 let-binding rfc2047-encode-encoded-words to nil.
25052
25053 2011-05-27 Glenn Morris <rgm@gnu.org>
25054
25055 * mail/emacsbug.el: Don't require url-util.
25056
25057 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25058
25059 * files.el (set-auto-mode):
25060 Also respect mode: entries at the end of the file. (Bug#8586)
25061
25062 2011-05-26 Glenn Morris <rgm@gnu.org>
25063
25064 * files.el (hack-local-variables-prop-line, hack-local-variables):
25065 Downcase mode names, as seems to be traditional.
25066 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25067
25068 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25069 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25070
25071 2011-05-25 Julien Danjou <julien@danjou.info>
25072
25073 * textmodes/rst.el (rst-define-level-faces): Do not define face
25074 symbol if it is already defined.
25075
25076 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
25077
25078 * play/5x5.el (5x5-new-game, 5x5-randomize):
25079 Reset 5x5-solver-output to nil when a new grid is cast.
25080 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25081 these debugging traces, as defmacro breaks the compiled code.
25082
25083 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25084
25085 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25086
25087 2011-05-24 Leo Liu <sdl.web@gmail.com>
25088
25089 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25090 (vc-bzr-sha1): Adapt.
25091
25092 * sha1.el: Remove. Function `sha1' is now builtin.
25093
25094 * bindings.el: Provide sha1 feature.
25095
25096 2011-05-24 Kenichi Handa <handa@m17n.org>
25097
25098 * mail/sendmail.el: Require `rfc2047'.
25099 (mail-insert-from-field): Do not perform RFC2047 encoding.
25100 (mail-encode-header): New function.
25101 (sendmail-send-it): Set buffer-file-coding-system of the work
25102 buffer to the return value of select-message-coding-system.
25103 Call mail-encode-header.
25104
25105 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25106
25107 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25108
25109 * mail/supercite.el (sc-default-cite-frame):
25110 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25111
25112 2011-05-24 Glenn Morris <rgm@gnu.org>
25113
25114 * progmodes/python.el (brm-menu): Declare.
25115
25116 * emulation/viper.el (viper-set-hooks): Declare.
25117
25118 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25119 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25120 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25121 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25122 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25123 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25124
25125 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25126
25127 Add an :exit-function for completion-at-point.
25128
25129 * minibuffer.el (completion--done): New fun.
25130 (completion--do-completion): Use it. New arg `expect-exact'.
25131 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25132 since completion--do-completion does it for us now.
25133 (minibuffer-force-complete): Use completion--done and
25134 completion--replace. Handle sole-completion case with more care.
25135 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25136 (completion-extra-properties): New var.
25137 (completion-annotate-function): Make obsolete.
25138 (minibuffer-completion-help): Adjust accordingly.
25139 Use completion-list-insert-choice-function.
25140 (completion-at-point, completion-help-at-point):
25141 Bind completion-extra-properties.
25142 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25143 * simple.el (completion-list-insert-choice-function): New var.
25144 (completion-setup-function): Preserve it.
25145 (choose-completion): Pay attention to it, shuffle the code a bit.
25146 (choose-completion-string): New arg `insert-function'.
25147
25148 * textmodes/bibtex.el: Convert to lexical binding.
25149 (bibtex-mode-map): Use completion-at-point.
25150 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25151 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25152 (bibtex-complete): Define as obsolete alias.
25153 (bibtex-complete-internal): Remove.
25154 (bibtex-format-entry): Remove unused sub-group in regexp.
25155 * shell.el (shell--command-completion-data)
25156 (shell-environment-variable-completion):
25157 * pcomplete.el (pcomplete-completions-at-point):
25158 * comint.el (comint--complete-file-name-data): Use :exit-function
25159 instead of completion-table-with-terminator so it also works for
25160 choose-completion.
25161
25162 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25163
25164 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25165
25166 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25167 (bug#8710).
25168
25169 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25170
25171 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25172
25173 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25174 customization variable and implement: If non-nil, auto-fill will
25175 be inhibited while on topic's header line.
25176
25177 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
25178
25179 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25180 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25181 always have a solution in grid size = 5 cases.
25182 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25183 (5x5-solver-output, 5x5-log-buffer): New vars.
25184 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25185 Make these variables buffer local to achieve 5x5 multi-session-ness.
25186 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25187 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25188 (5x5-solve-suggest): New funs.
25189 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25190 randomize a grid so that we ensure that there is always a solution.
25191 (5x5-make-random-grid): Allow other movement than flipping.
25192
25193 2011-05-23 Kevin Ryde <user42@zip.com.au>
25194
25195 * emacs-lisp/advice.el (ad-read-advised-function):
25196 Use `function-called-at-point' as the default, if it has
25197 advice and passes PREDICATE.
25198
25199 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25200
25201 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25202 byte-compile-lambda if it's actually a lambda.
25203
25204 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25205 Fix function quoting. Use backquote better.
25206
25207 2011-05-22 Yuanle Song <sylecn@gmail.com>
25208
25209 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25210 matching (Bug#8516).
25211
25212 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25213
25214 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25215 different face (Bug#8178).
25216
25217 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25218
25219 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25220 defface (Bug#8144).
25221
25222 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25223
25224 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25225 funcall as well (bug#8712). Warn when performing those conversions.
25226 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25227
25228 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25229
25230 2011-05-22 Glenn Morris <rgm@gnu.org>
25231
25232 * files.el (hack-local-variables-prop-line): Small simplifications.
25233 (hack-local-variables, hack-local-variables-prop-line):
25234 If MODE-ONLY, return the mode, rather than just `t'.
25235
25236 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25237
25238 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25239
25240 2011-05-21 Glenn Morris <rgm@gnu.org>
25241
25242 * files.el (hack-local-variables-prop-line, hack-local-variables):
25243 If only interested in the mode, don't bother doing the other stuff.
25244
25245 * image-mode.el (image-after-revert-hook):
25246 Redraw all frames on which the image is visible. (Bug#8567)
25247
25248 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25249
25250 * wid-edit.el (widget-checklist-match-inline):
25251 Fix 2011-04-19 change. (Bug#8649)
25252
25253 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25254
25255 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25256 Also allow singlespace after single-letter capitals followed by a dot.
25257
25258 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25259 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25260
25261 2011-05-20 Nix <nix@esperi.org.uk>
25262
25263 * files.el (basic-save-buffer-2):
25264 Fix handling of break-hardlink-on-save with non-existent files.
25265
25266 2011-05-19 Deniz Dogan <deniz@dogan.se>
25267
25268 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25269 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25270
25271 2011-05-19 Glenn Morris <rgm@gnu.org>
25272
25273 * progmodes/f90.el (f90-type-def-re):
25274 Handle "type, bind(c)". (Bug#8691)
25275
25276 * emacs-lisp/autoload.el (batch-update-autoloads):
25277 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25278
25279 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25280
25281 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25282 property for the correct connection in case of multihops.
25283
25284 2011-05-18 Glenn Morris <rgm@gnu.org>
25285
25286 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25287 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25288
25289 Rationalize calendar handling of day and month abbrev-arrays.
25290 * calendar/calendar.el (calendar-customized-p): New function.
25291 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25292 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25293 Add :set function.
25294 (calendar-abbrev-length, calendar-day-abbrev-array)
25295 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25296 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25297 Elements may no longer be nil.
25298 (calendar-day-name, calendar-month-name):
25299 Update for changed nature of abbrev arrays.
25300 * calendar/diary-lib.el (diary-name-pattern):
25301 Update for changed nature of abbrev arrays.
25302 (diary-mark-entries-1): Update calendar-make-alist calls.
25303 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25304 * calendar/cal-html.el (cal-html-day-abbrev-array):
25305 Simply inherit from calendar-day-abbrev-array.
25306
25307 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25308
25309 * progmodes/grep.el (grep-mode): Disable default
25310 compilation-directory-matcher setting (bug#8684).
25311
25312 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25313
25314 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25315 instead of "head" and "tail". There were problems with SunOS 5.9,
25316 and it performs better.
25317
25318 2011-05-17 Glenn Morris <rgm@gnu.org>
25319
25320 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25321
25322 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25323 Replace obsolete function.
25324
25325 * shell.el (pcomplete-parse-arguments-function): Declare.
25326
25327 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25328 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25329 (appt-check): Doc fixes.
25330 (appt-disp-window-function, appt-delete-window-function):
25331 Remove needless special case in custom :type.
25332 (appt-display-count): Default to 0, not nil.
25333 (appt-check): Reset appt-display-count to 0, not nil.
25334
25335 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25336
25337 * progmodes/python.el (python-font-lock-keywords):
25338 Add the Python 3.X keyword "nonlocal" (bug#8639).
25339
25340 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25341
25342 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25343
25344 2011-05-16 Kevin Ryde <user42@zip.com.au>
25345
25346 * info-look.el (makefile-automake-mode): New setups, looking in
25347 automake manual, then makefile-mode.
25348 (makefile-mode): Remove automake manual, have it just in
25349 makefile-automake-mode since there's various things different or
25350 not relevant to plain make.
25351 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25352 believe a hypothetical automake-mode would go to makefile-mode,
25353 not the other way around.
25354
25355 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25356
25357 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25358 hunk-end tags (Bug#8672).
25359
25360 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25361 vc-annotate-show-diff-revision-at-line (Bug#8671).
25362
25363 2011-05-14 Glenn Morris <rgm@gnu.org>
25364
25365 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25366 in the middle of an existing one with multiple authors. (Bug#8645)
25367 (change-log-font-lock-keywords): Also handle multiple author lines
25368 with leading tabs. (Bug#8644)
25369
25370 * calendar/appt.el (appt-check): Rename some local variables.
25371 Some simplification/reordering.
25372
25373 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25374 (feedmail-sendmail-f-doesnt-sell-me-out)
25375 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25376 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25377 (feedmail-queue-runner-message-sender): Set :version.
25378 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25379 (bbdb-dwim-net-address, vm-mail): Declare.
25380 (feedmail-binmail-gnulinuxish-template):
25381 Rename from feedmail-binmail-linuxish-template.
25382 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25383 Use insert-buffer-substring.
25384
25385 2011-05-14 Bill Carpenter <bill@carpenter.org>
25386
25387 * mail/feedmail.el (feedmail-patch-level): Increase.
25388 (feedmail-debug): New custom group.
25389 (feedmail-confirm-outgoing-timeout)
25390 (feedmail-sendmail-f-doesnt-sell-me-out)
25391 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25392 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25393 (feedmail-sender-line, feedmail-from-line)
25394 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25395 (feedmail-spray-this-address)
25396 (feedmail-spray-address-fiddle-plex-list)
25397 (feedmail-queue-use-send-time-for-date)
25398 (feedmail-queue-use-send-time-for-message-id)
25399 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25400 (feedmail-buffer-eating-function):
25401 Doc fixes.
25402 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25403 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25404 (feedmail-message-action-scroll-down): New functions.
25405 (feedmail-queue-directory, feedmail-queue-draft-directory):
25406 Use expand-file-name.
25407 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25408 Remove C-v help entry.
25409 (feedmail-queue-buffer-file-name): New variable.
25410 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25411 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25412 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25413 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25414 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25415 (feedmail-message-action-toggle-spray)
25416 (feedmail-run-the-queue-no-prompts)
25417 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25418 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25419 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25420 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25421 (feedmail-envelope-deducer, feedmail-fiddle-from)
25422 (feedmail-fiddle-sender, feedmail-default-date-generator)
25423 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25424 (feedmail-fiddle-spray-address)
25425 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25426 (feedmail-fiddle-list-of-fiddle-plexes)
25427 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25428 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25429 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25430 Change default. Doc fix.
25431 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25432 (feedmail-binmail-linuxish-template): New constant.
25433 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25434 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25435 (feedmail-send-it): Add debug call.
25436 Use feedmail-queue-buffer-file-name, and
25437 feedmail-send-it-immediately-wrapper.
25438 (feedmail-message-action-send): Add debug call.
25439 Use feedmail-send-it-immediately-wrapper.
25440 (feedmail-queue-express-to-queue): Add debug call.
25441 Run feedmail-queue-express-hook.
25442 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25443 (feedmail-message-action-help-blat):
25444 Rename from feedmail-queue-send-edit-prompt-help-first.
25445 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25446 Check line-endings. Handle errors better.
25447 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25448 Doc fix. Add debug call.
25449 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25450 Use feedmail-queue-send-edit-prompt-inner.
25451 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25452 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25453 from feedmail-queue-send-edit-prompt.
25454 (feedmail-queue-send-edit-prompt-help)
25455 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25456 (feedmail-tidy-up-slug): Add debug call.
25457 Respect feedmail-queue-slug-suspect-regexp.
25458 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25459 (feedmail-dump-message-to-queue): Add debug call.
25460 Expand queue-directory.
25461 (feedmail-dump-message-to-queue): Change message slightly.
25462 Use feedmail-say-chatter.
25463 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25464 (feedmail-send-it-immediately-wrapper): New function.
25465 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25466 Insert empty string rather than newline. Handle full-frame case.
25467 Use catch/throw. Use feedmail-say-chatter.
25468 (feedmail-fiddle-from): Try mail-host-address.
25469 (feedmail-default-message-id-generator): Doc fix.
25470 Bind system-time-locale. Handle missing end.
25471 (feedmail-fiddle-x-mailer): Add debug call.
25472 Handle feedmail-x-mailer-line being nil.
25473 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25474 Add debug call. Use buffer-substring-no-properties.
25475 (feedmail-say-debug, feedmail-say-chatter): New functions.
25476 (feedmail-find-eoh): Give an explicit error.
25477
25478 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25479
25480 * net/newst-treeview.el (newsticker-treeview-face): Change default
25481 family from helvetica to sans.
25482 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25483 etc/images/newsticker.
25484
25485 * net/newst-reader.el (newsticker-feed-face): Change default
25486 family from helvetica to sans.
25487
25488 * net/newst-plainview.el (newsticker-new-item-face)
25489 (newsticker-old-item-face, newsticker-immortal-item-face)
25490 (newsticker-obsolete-item-face, newsticker-date-face)
25491 (newsticker-statistics-face): Change default family from
25492 helvetica to sans.
25493 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25494 etc/images/newsticker.
25495
25496 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25497 (newsticker--process-auto-mark-filter-match): Tell user about
25498 auto-marking.
25499
25500 2011-05-13 Didier Verna <didier@xemacs.org>
25501
25502 Common Lisp indentation improvements on defmethod and lambda-lists.
25503 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25504 TODO entries.
25505 (lisp-lambda-list-keyword-parameter-indentation)
25506 (lisp-lambda-list-keyword-parameter-alignment)
25507 (lisp-lambda-list-keyword-alignment): New customizable user options.
25508 (lisp-indent-defun-method): Improve docstring.
25509 (extended-loop-p): Fix comment.
25510 (lisp-indent-lambda-list-keywords-regexp): New variable.
25511 (lisp-indent-lambda-list): New function.
25512 (lisp-indent-259): Use it.
25513 (lisp-indent-defmethod): Support for more than one
25514 method qualifier and properly indent methods lambda-lists.
25515 (defgeneric): Provide a missing common-lisp-indent-function property.
25516
25517 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25518
25519 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25520 bounds for the empty string (bug#8667).
25521
25522 2011-05-13 Glenn Morris <rgm@gnu.org>
25523
25524 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25525
25526 * mail/sendmail.el (sendmail-program): Try executable-find first.
25527 (sendmail-send-it): `sendmail-program' cannot be unbound.
25528
25529 * calendar/appt.el (appt-make-list): Simplify.
25530 (appt-time-msg-list): Doc fix.
25531 (appt-check): Change mode-line message at the time of the appointment.
25532
25533 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25534
25535 * progmodes/ld-script.el (ld-script-keywords)
25536 (ld-script-builtins): Update keywords list.
25537
25538 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25539
25540 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25541
25542 * shell.el (shell-completion-vars): New function.
25543 (shell-mode):
25544 * simple.el (read-shell-command): Use it.
25545 (blink-matching-open): No need for " [...]" in minibuffer-message.
25546
25547 2011-05-12 Glenn Morris <rgm@gnu.org>
25548
25549 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25550 (appt-check): Simplify.
25551
25552 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25553
25554 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25555 literal "/dev/null".
25556
25557 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25558
25559 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25560 Fix typo.
25561
25562 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25563
25564 * progmodes/which-func.el (which-function):
25565 Use add-log-current-defun instead of add-log-current-defun-function,
25566 which might not be defined (Bug#8260).
25567
25568 2011-05-12 Glenn Morris <rgm@gnu.org>
25569
25570 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25571 Let byte-compile-initial-macro-environment always take precedence.
25572
25573 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25574
25575 * net/rcirc.el: Add support for SSL/TLS connections.
25576 (rcirc-server-alist): New field `encryption'.
25577 (rcirc): Check `encryption' settings.
25578 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25579 Merge make-local-variable into `set'.
25580 (rcirc--connection-open-p): New function.
25581 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25582 the process is not a network process (e.g. running gnutls-cli).
25583 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25584 Make rcirc-(en|de)code-coding-system local here.
25585 (rcirc-mode): Merge make-local-variable into `set'.
25586 (rcirc-parent-buffer): Make permanent buffer-local.
25587 (rcirc-multiline-minor-mode): Don't do it here.
25588 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25589 there's no server buffer.
25590
25591 2011-05-11 Glenn Morris <rgm@gnu.org>
25592
25593 * newcomment.el (comment-kill): Prefix "unused" local.
25594
25595 * term/w32console.el (get-screen-color): Declare.
25596
25597 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25598 Handle symbol elements of byte-compile-initial-macro-environment.
25599
25600 2011-05-10 Leo Liu <sdl.web@gmail.com>
25601
25602 * bookmark.el (bookmark-bmenu-mode-map):
25603 Bind bookmark-bmenu-search to `/'.
25604
25605 * mail/footnote.el: Convert to utf-8 encoding.
25606 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25607 (Footnote-unicode): New function.
25608 (footnote-style-alist): Add unicode style to the list.
25609 (footnote-style): Doc fix.
25610
25611 2011-05-10 Jim Meyering <meyering@redhat.com>
25612
25613 Fix doubled-word typos.
25614 * international/quail.el (quail-insert-kbd-layout): and and -> and
25615 * kermit.el: and and -> and
25616 * net/ldap.el (ldap-search-internal): to to -> to
25617 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25618 * progmodes/js.el (js-mode): and and -> and
25619 * textmodes/artist.el (artist-move-to-xy): at at -> at
25620 (artist-draw-region-trim-line-endings): if if -> if
25621 And Safetyc -> Safety.
25622 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25623
25624 2011-05-10 Glenn Morris <rgm@gnu.org>
25625 Stefan Monnier <monnier@iro.umontreal.ca>
25626
25627 * files.el (hack-one-local-variable-eval-safep):
25628 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25629
25630 2011-05-10 Glenn Morris <rgm@gnu.org>
25631
25632 * calendar/diary-lib.el (diary-list-entries-hook)
25633 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25634 (diary-nongregorian-marking-hook, diary-list-entries)
25635 (diary-include-other-diary-files, diary-mark-entries)
25636 (diary-mark-included-diary-files): Doc fixes.
25637
25638 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25639
25640 * misc.el: Require tabulated-list.el during compilation.
25641
25642 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25643
25644 * progmodes/compile.el (compilation-start):
25645 Run compilation-filter-hook for the async case too.
25646 (compilation-filter-hook): Doc fix.
25647
25648 2011-05-09 Deniz Dogan <deniz@dogan.se>
25649
25650 * wdired.el: Remove outdated installation comment. Fix usage
25651 comment.
25652
25653 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25654
25655 * misc.el: Implement new command `list-dynamic-libraries'.
25656 (list-dynamic-libraries--loaded-only-p): New variable.
25657 (list-dynamic-libraries--refresh): New function.
25658 (list-dynamic-libraries): New command.
25659
25660 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25661
25662 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25663 Fix the ant regexp to handle end-line and end-column info from jikes.
25664 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25665 higher priority to avoid clobbering by gnu.
25666
25667 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25668
25669 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25670 if the face has existing theme settings (Bug#8454).
25671
25672 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25673
25674 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25675 Only match variables declared via `my' or `our' (Bug#8261).
25676
25677 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25678 special file names `.' and `..' (Bug#8259).
25679
25680 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25681
25682 * progmodes/grep.el (grep-mode-font-lock-keywords):
25683 Remove buffer-changing entries.
25684 (grep-filter): New function.
25685 (grep-mode): Add it to compilation-filter-hook.
25686
25687 * progmodes/compile.el (compilation-filter-hook)
25688 (compilation-filter-start): New defvars.
25689 (compilation-filter): Call compilation-filter-hook prior to
25690 updating the process mark.
25691
25692 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25693
25694 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25695
25696 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25697
25698 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25699 mailclient-send-it even if window-system is nil. (Bug#8595)
25700
25701 * term/w32console.el (terminal-init-w32console):
25702 Call get-screen-color and use its output to set the frame
25703 background-mode. (Bug#8597)
25704
25705 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25706
25707 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25708 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25709 New functions.
25710 (defgeneric, eieio--defmethod): Use them.
25711 (eieio-defgeneric): Remove.
25712 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25713
25714 2011-05-07 Glenn Morris <rgm@gnu.org>
25715
25716 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25717 Use let rather than let*.
25718 (timeclock-find-discrep): Remove unused local.
25719
25720 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25721
25722 * calendar/appt.el (appt-time-msg-list): Doc fix.
25723
25724 2011-05-06 Noah Friedman <friedman@splode.com>
25725
25726 * apropos.el (apropos-print-doc): Only use
25727 emacs-lisp-docstring-fill-column when it is bound to an integer,
25728 per that variable's documentation.
25729
25730 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25731
25732 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25733 and warnings are not silently discarded (e.g. use -d instead of -P).
25734
25735 2011-05-06 Glenn Morris <rgm@gnu.org>
25736
25737 * calendar/appt.el (appt-message-warning-time): Doc fix.
25738 (appt-warning-time-regexp): New option.
25739 (appt-make-list): Respect appt-message-warning-time.
25740
25741 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25742 New options.
25743 (diary-add-to-list): Strip comments from the displayed string.
25744 (diary-mode): Set comment-start and comment-end.
25745
25746 * vc/diff-mode.el (smerge-refine-subst): Declare.
25747 (diff-refine-hunk): Don't require smerge-mode when compiling.
25748
25749 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25750
25751 * simple.el (list-processes): Return nil as the docstring says.
25752
25753 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25754
25755 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25756 to "".
25757 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25758 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25759 determining of binary transfer. (Bug#7383)
25760
25761 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25762
25763 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25764 Fix port computation bug. (Bug#8618)
25765
25766 2011-05-05 Glenn Morris <rgm@gnu.org>
25767
25768 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25769
25770 * simple.el (shell-dynamic-complete-functions)
25771 (comint-dynamic-complete-functions): Declare.
25772
25773 * net/network-stream.el (gnutls-negotiate):
25774 * simple.el (tabulated-list-print): Fix declarations.
25775
25776 * progmodes/gud.el (syntax-symbol, syntax-point):
25777 Remove unnecessary and incorrect declarations.
25778
25779 * emacs-lisp/check-declare.el (check-declare-scan):
25780 Handle byte-compile-initial-macro-environment in bytecomp.el.
25781
25782 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25783
25784 Fix earlier half-done eieio-defmethod change (bug#8338).
25785 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25786 Streamline and change calling convention.
25787 (defmethod): Adjust accordingly and simplify.
25788 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25789 new eieio--defmethod.
25790 (slot-boundp): Minor CSE simplification.
25791
25792 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25793
25794 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25795 (glasses-make-readable): Use glasses-separate-capital-groups.
25796
25797 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25798
25799 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25800 (warning-series): Doc fix.
25801 (display-warning): Don't try to create the buffer if we just found it.
25802
25803 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25804
25805 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25806 (autoload-find-generated-file): New function.
25807 (generate-file-autoloads): Bind generated-autoload-file to
25808 buffer-file-name.
25809 (update-file-autoloads, update-directory-autoloads):
25810 Use autoload-find-generated-file. If called interactively, prompt for
25811 output file (Bug#7989).
25812 (batch-update-autoloads): Doc fix.
25813
25814 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25815
25816 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25817
25818 2011-05-04 Glenn Morris <rgm@gnu.org>
25819
25820 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25821 function, so it follows changes in calendar-date-style.
25822 (diary-fancy-date-matcher): New function.
25823 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25824 (diary-fancy-font-lock-fontify-region-function):
25825 Use diary-fancy-date-pattern as a function.
25826
25827 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25828 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25829
25830 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25831
25832 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25833 instead of positional arguments. Allow :keylist and :crlfiles
25834 arguments.
25835 (open-gnutls-stream): Call it.
25836
25837 * net/network-stream.el (network-stream-open-starttls): Adjust to
25838 call `gnutls-negotiate' with :process and :hostname arguments.
25839
25840 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25841
25842 * minibuffer.el (completion--message): New function.
25843 (completion--do-completion, minibuffer-complete)
25844 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25845 (completion--do-completion): Don't ignore completion-auto-help when in
25846 icomplete-mode.
25847
25848 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25849 internal encoding (e.g. tibetan zero is not whitespace).
25850 (global-whitespace-mode): Prefer save-current-buffer.
25851 (whitespace-trailing-regexp): Remove useless save-match-data.
25852 (whitespace-empty-at-bob-regexp): Minor simplification.
25853
25854 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25855
25856 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25857
25858 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25859
25860 * textmodes/ispell.el (ispell-add-per-file-word-list):
25861 Use `concat' to create string for insertion.
25862
25863 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25864
25865 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25866 Avoid open-line which runs post-self-insert-hook.
25867 (bibtex-fill-entry): Remove unused `end' var.
25868
25869 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25870
25871 * textmodes/ispell.el (ispell-add-per-file-word-list):
25872 Protect against `nil' value of `comment-start' (Bug#8579).
25873
25874 2011-05-03 Leo Liu <sdl.web@gmail.com>
25875
25876 * isearch.el (isearch-yank-pop): New command.
25877 (isearch-mode-map): Bind it to `M-y'.
25878 (isearch-forward): Mention it.
25879
25880 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25881
25882 * simple.el (minibuffer-complete-shell-command): Remove.
25883 (minibuffer-local-shell-command-map): Use completion-at-point.
25884 (read-shell-command): Setup completion vars here instead.
25885 (read-expression-map): Bind TAB to symbol completion.
25886
25887 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25888 error directly rather via storing it into `results'.
25889
25890 2011-05-02 Leo Liu <sdl.web@gmail.com>
25891
25892 * vc/diff.el: Fix description.
25893
25894 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25895
25896 * server.el (server-eval-at): New function.
25897
25898 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25899
25900 * net/network-stream.el (open-network-stream): Take a :nowait
25901 parameter and pass it on to `make-network-process'.
25902 (network-stream-open-plain): Ditto.
25903
25904 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25905
25906 * faces.el (face-spec-set-match-display): Don't match toolkit
25907 options on terminal frames.
25908
25909 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25910
25911 * progmodes/pascal.el: Use lexical binding.
25912 (pascal-mode-map): Remove author preferences.
25913
25914 * pcomplete.el (pcomplete-std-complete): Don't abuse
25915 completion-at-point.
25916
25917 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25918
25919 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25920 removing code that has been dead since 1991 or so.
25921
25922 * startup.el (command-line): When warning about "_emacs", use a
25923 delayed warning to allow the user to filter it out.
25924
25925 2011-04-28 Deniz Dogan <deniz@dogan.se>
25926
25927 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25928 user has not joined.
25929
25930 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25931
25932 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25933 aren't any completions at point.
25934
25935 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25936
25937 * subr.el (display-delayed-warnings): New function.
25938 (delayed-warnings-hook): New variable.
25939
25940 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25941
25942 * minibuffer.el (completion-at-point, completion-help-at-point):
25943 Don't presume that a given completion-at-point-function will always
25944 use the same calling convention.
25945
25946 * pcomplete.el (pcomplete-completions-at-point):
25947 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25948 pcomplete-seen is non-nil.
25949 (pcomplete-comint-setup): Also recognize the new comint/shell
25950 completion functions.
25951 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25952 pcomplete-seen is non-nil.
25953
25954 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25955
25956 * calendar/icalendar.el (diary-lib): Add require statement.
25957 (icalendar--create-uid): Read out a uid from a text-property on
25958 the first character in the entry. This allows for code to add its
25959 own uid to the entry.
25960 (icalendar--convert-float-to-ical): Add export of
25961 `diary-float'-entries save for those with the optional DAY
25962 argument.
25963
25964 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25965
25966 * subr.el (shell-quote-argument): Use alternate escaping strategy
25967 when we spot a variable reference in a string.
25968
25969 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25970
25971 * cus-start.el (all): Define customization for debug-on-event.
25972
25973 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25974
25975 * subr.el (shell-quote-argument): Escape correctly under Windows.
25976
25977 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25978
25979 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25980
25981 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25982
25983 * net/tramp.el (tramp-process-actions): Add POS argument.
25984 Delete region between POS and (pos).
25985
25986 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25987 Use `nil' position in `tramp-process-actions' call.
25988 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25989
25990 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25991 position in `tramp-process-actions' call.
25992
25993 * net/trampver.el: Update release number.
25994
25995 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25996
25997 * custom.el (defcustom): Obey lexical-binding.
25998
25999 Fix octave-inf completion problems reported by Alexander Klimov.
26000 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26001 Inherit from octave-mode-syntax-table.
26002 (inferior-octave-mode): Set info-lookup-mode.
26003 (inferior-octave-completion-at-point): New function.
26004 (inferior-octave-complete): Use it and completion-in-region.
26005 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26006 comint-filename-completion.
26007 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26008 symbol elements which shouldn't be word elements.
26009 (octave-font-lock-keywords, octave-beginning-of-defun)
26010 (octave-function-header-regexp): Adjust regexps accordingly.
26011 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26012
26013 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26014
26015 * net/gnutls.el (gnutls-errorp): Declare before first use.
26016
26017 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26018
26019 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26020 verify-error, and verify-hostname-error parameters. Check whether
26021 default trustfile exists before going to use it. Add missing
26022 argument to gnutls-message-maybe call. Return value.
26023 Reported by Claudio Bley <claudio.bley@gmail.com>.
26024 (open-gnutls-stream): Add usage example.
26025
26026 * net/network-stream.el (network-stream-open-starttls): Give host
26027 parameter to `gnutls-negotiate'.
26028 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26029 * subr.el (shell-quote-argument): Escape correctly under Windows.
26030
26031 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26032
26033 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26034 Use correct match group (bug#8438).
26035
26036 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26037
26038 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26039 (package-menu--generate): New arg specifying packages to show.
26040 (package-menu-refresh, package-menu-execute, list-packages):
26041 Callers changed.
26042 (package-show-package-list): New function, replacing deleted
26043 package--list-packages (renamed because it is non-internal).
26044
26045 * finder.el (finder-list-matches): Use package-show-package-list
26046 instead of deleted package--list-packages.
26047
26048 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26049 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26050 (vc-annotate-mode-map): Bind it to RET.
26051
26052 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26053
26054 * progmodes/etags.el (next-file): Don't use set-buffer to change
26055 buffers (Bug#8478).
26056
26057 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26058
26059 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26060
26061 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26062 (apropos-accumulator): Doc fix.
26063 (apropos-function, apropos-macro, apropos-command)
26064 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26065 (apropos-plist): Add face property.
26066 (apropos-symbols-internal): Fix indentation.
26067 (apropos-print): Simplify help, and recognize apropos-multi-type.
26068 (apropos-print-doc): Use button-type-get to extract the button's
26069 face property. Fill docstring (Bug#8352).
26070
26071 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26072
26073 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26074
26075 * play/mpuz.el (mpuz-silent): Doc fix.
26076 (mpuz-mode-map): Use mapc.
26077 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26078 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26079 Fix typos in docstrings.
26080
26081 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26082 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26083
26084 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26085
26086 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26087
26088 * minibuffer.el (completion--do-completion): Avoid the "Next char
26089 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26090
26091 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26092 mouse-2 into unread-command-events, it is interpreted correctly.
26093
26094 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26095 (image-toggle-display): Doc fix.
26096
26097 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26098
26099 * textmodes/page.el (what-page): Use line-number-at-pos to
26100 calculate line number (Bug#6825).
26101
26102 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26103
26104 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26105 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26106 Pass argument NO-DEFAULT to `find-tag-interactive'.
26107
26108 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26109
26110 Lexical-binding cleanup.
26111
26112 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26113 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26114 * progmodes/ada-prj.el (ada-prj-initialize-values)
26115 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26116 (ada-prj-show-value):
26117 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26118 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26119 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26120 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26121 * progmodes/bug-reference.el (bug-reference-push-button):
26122 * progmodes/fortran.el (fortran-line-length):
26123 * progmodes/glasses.el (glasses-change):
26124 * progmodes/octave-mod.el (octave-fill-paragraph):
26125 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26126 (python-pdbtrack-grub-for-buffer, python-sentinel):
26127 * progmodes/sql.el (sql-save-connection):
26128 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26129 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26130 Mark unused parameters.
26131
26132 * progmodes/compile.el (compilation--flush-directory-cache)
26133 (compilation--flush-parse, compile-internal): Mark unused parameters.
26134 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26135 (compilation-next-error-function): Remove unused variable `timestamp'.
26136
26137 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26138 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26139
26140 * progmodes/dcl-mode.el (dcl-end-of-command):
26141 Remove unused variable `start'.
26142 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26143 (dcl-option-value-basic, dcl-option-value-offset)
26144 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26145 Mark unused parameters.
26146 (dcl-save-local-variable): Remove unused variable `val'.
26147 (mode): Declare.
26148
26149 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26150 Mark unused parameters.
26151 (delphi-ignore-changes): Move before first use.
26152 (delphi-charset-token-at): Remove unused variable `start'.
26153 (delphi-else-start): Remove unused variable `if-count'.
26154 (delphi-comment-block-start, delphi-comment-block-end):
26155 Remove unused variable `kind'.
26156 (delphi-indent-line): Remove unused variable `new-point'.
26157
26158 * progmodes/ebrowse.el (ebrowse-files-list)
26159 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26160 Mark unused parameters. Don't quote `lambda'.
26161 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26162 Don't quote `lambda'.
26163 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26164 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26165 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26166 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26167 Use `ignore-errors'.
26168 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26169 (ebrowse-view/find-file-and-search-pattern)
26170 (ebrowse-view/find-member-declaration/definition):
26171 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26172 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26173 Rename parameter PREFIX-ARG to PREFIX.
26174 (ebrowse-tags-read-name): Remove unused variables `start' and
26175 `member-info'.
26176 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26177 to `tags-file'.
26178
26179 * progmodes/etags.el (local-find-tag-hook): Declare.
26180 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26181 Mark unused parameters.
26182
26183 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26184 (executable-interpret): Mark unused parameter.
26185
26186 * progmodes/flymake.el (flymake-process-sentinel)
26187 (flymake-after-change-function)
26188 (flymake-create-temp-with-folder-structure)
26189 (flymake-get-include-dirs-dot): Mark unused parameters.
26190 (flymake-safe-delete-directory): Remove unused variable `err'.
26191
26192 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26193 (speedbar-timer-fn, speedbar-line-text)
26194 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26195 (speedbar-center-buffer-smartly): Declare functions.
26196 (gdb-find-watch-expression): Remove unused variable `array'.
26197 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26198 (gdb-starting): Mark unused parameters.
26199 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26200 (gdb-table-string): Remove unused variable `res'.
26201 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26202 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26203 (gdb-display-buffer): Remove unused variable `cur-size'.
26204
26205 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26206 allow lexical-binding compilation.
26207 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26208 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26209 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26210 Mark unused parameters.
26211 (gud-gdb-marker-filter): Remove unused variable `match'.
26212 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26213 lambda expressions and funcall them, instead of using `fset'.
26214
26215 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26216 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26217
26218 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26219 variable `header-beg'; use `let'.
26220
26221 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26222 `restart', `last-sexp' and `at-do'.
26223
26224 * progmodes/js.el (js--debug): Mark unused parameter.
26225 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26226 (js--splice-into-items): Remove unused variable `item'.
26227 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26228
26229 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26230 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26231 (makefile-complete): Remove unused variable `try'.
26232 (makefile-fill-paragraph, makefile-match-function-end):
26233 Mark unused parameters.
26234
26235 * progmodes/octave-inf.el (inferior-octave-complete):
26236 Remove unused variable `proc'.
26237 (inferior-octave-output-digest): Mark unused parameter.
26238
26239 * progmodes/perl-mode.el (perl-calculate-indent):
26240 Remove unused variable `err'.
26241
26242 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26243 (prolog-indent-line): Mark unused parameters.
26244 (prolog-indent-line): Remove unused variable `beg'.
26245
26246 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26247 (reporter-dont-compact-list): Declare.
26248
26249 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26250 Remove unused variable `char'.
26251 (sh-debug): Mark unused parameter.
26252 (sh-get-indent-info): Remove unused variable `start'.
26253 (sh-calculate-indent): Remove unused variable `var'.
26254
26255 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26256 (simula-electric-keyword): Remove unused variable `null'.
26257 (simula-search-backward, simula-search-forward): Remove unused
26258 variables `begin' and `end'.
26259
26260 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26261 Remove unused variable `pos'.
26262 (vera-electric-tab, vera-comment-uncomment-region):
26263 Mark unused parameters.
26264 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26265
26266 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26267
26268 * emacs-lisp/package.el (package--builtins, package-alist)
26269 (package-load-descriptor, package-built-in-p, package-activate)
26270 (define-package, package-installed-p)
26271 (package-compute-transaction, package-buffer-info)
26272 (package--push): Doc fix. Distinguish more clearly between
26273 version strings and version lists.
26274
26275 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26276
26277 Lexical-binding cleanup.
26278
26279 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26280 (5x5-make-mutate-best):
26281 * play/fortune.el (fortune-in-buffer):
26282 * play/gomoku.el (gomoku-init-display):
26283 * play/solitaire.el (solitaire, solitaire-do-check):
26284 * play/tetris.el (tetris-default-update-speed-function):
26285 Mark unused parameters.
26286
26287 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26288 (bubbles--shift): Remove unused variable `char-org'.
26289 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26290 (bubbles--show-images): Remove unused variable `char'.
26291
26292 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26293 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26294 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26295 (decipher-analyze-buffer): Use ?\s.
26296 (decipher-make-checkpoint): Remove unused variable `mapping'.
26297
26298 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26299
26300 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26301 Remove unused variable `result'; use `let'.
26302
26303 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26304 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26305 (gametree-children-shown-p, gametree-compute-reduced-score):
26306 Use `ignore-errors'.
26307
26308 * play/handwrite.el (ps-lpr-switches): Declare.
26309 (handwrite): Remove unused variables `pmin' and `lastp'.
26310
26311 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26312
26313 * play/landmark.el (landmark-init-display)
26314 (landmark-update-naught-weights): Mark unused parameters.
26315 (landmark-y): Remove unused variable `noise'. Simplify.
26316 (landmark-human-plays): Remove unused variable `score'.
26317
26318 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26319 (mpuz-try-proposal): Remove unused variable `game'.
26320
26321 * play/zone.el (life-patterns): Declare.
26322
26323 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26324
26325 * vc/vc.el (ediff-vc-internal): Declare function.
26326
26327 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26328
26329 * shell.el: Use lexical-binding and std completion UI.
26330 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26331 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26332 comint-preoutput-filter-functions rather than on
26333 comint-output-filter-functions.
26334 (shell-command-completion, shell--command-completion-data)
26335 (shell-filename-completion, shell-environment-variable-completion)
26336 (shell-c-a-p-replace-by-expanded-directory): New functions.
26337 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26338 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26339 (shell-dynamic-complete-environment-variable): Use them.
26340 (shell-dynamic-complete-as-environment-variable)
26341 (shell-dynamic-complete-as-command): Remove.
26342 (shell-match-partial-variable): Match past point.
26343 * comint.el: Clean up use of completion-at-point-functions.
26344 (comint-completion-at-point): New function.
26345 (comint-mode): Use it completion-at-point-functions.
26346 (comint-dynamic-complete): Make it obsolete.
26347 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26348 (comint-c-a-p-replace-by-expanded-history): New function.
26349 (comint-dynamic-complete-functions)
26350 (comint-replace-by-expanded-history): Use it.
26351 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26352 termination strings. Try harder to avoid second try-completion.
26353 (completion-in-region-mode-map): Disable bindings that don't work yet.
26354
26355 * comint.el: Use lexical-binding. Require CL.
26356 (comint-dynamic-complete-functions): Use comint-filename-completion.
26357 (comint-completion-addsuffix): Tweak custom type.
26358 (comint-filename-completion, comint--common-suffix)
26359 (comint--common-quoted-suffix, comint--table-subvert)
26360 (comint--complete-file-name-data): New functions.
26361 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26362 (comint-dynamic-list-filename-completions): Use them.
26363 (comint-dynamic-simple-complete): Make obsolete.
26364
26365 * minibuffer.el (completion-in-region-mode):
26366 Keep completion-in-region-mode--predicate global.
26367 (completion-in-region--postch):
26368 Assume completion-in-region-mode--predicate is not null.
26369
26370 * progmodes/flymake.el (flymake-start-syntax-check-process):
26371 Obey `dir'. Simplify.
26372
26373 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26374 we're in VC after all.
26375
26376 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26377
26378 * vc/vc.el (vc-diff-build-argument-list-internal)
26379 (vc-version-ediff, vc-ediff): New commands.
26380 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26381
26382 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26383
26384 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26385 add sanity check.
26386
26387 * obsolete/erc-hecomplete.el: Make obsolete.
26388 * obsolete/: Standardize obsolescence info in the header.
26389
26390 2011-04-20 Glenn Morris <rgm@gnu.org>
26391
26392 * calendar/solar.el (solar-horizontal-coordinates):
26393 Use the longitude argument rather than `calendar-longitude'.
26394 (solar-date-next-longitude): Remove unused locals.
26395
26396 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26397
26398 * whitespace.el: New version 13.2.1.
26399
26400 2011-04-20 felix <EmacsWiki> (tiny change)
26401
26402 * whitespace.el (global-whitespace-mode): Keep highlight when
26403 switching between major modes on a file.
26404
26405 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26406
26407 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26408 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26409 multi-line comments as well.
26410
26411 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26412
26413 Lexical-binding cleanup.
26414
26415 * arc-mode.el (archive-mode-revert):
26416 * cmuscheme.el (scheme-interactively-start-process):
26417 * custom.el (custom-initialize-delay):
26418 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26419 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26420 * emacs-lock.el (emacs-lock-clear-sentinel):
26421 * ezimage.el (defezimage):
26422 * follow.el (follow-avoid-tail-recenter):
26423 * fringe.el (set-fringe-mode-1):
26424 * generic-x.el (bat-generic-mode-compile):
26425 * help-mode.el (help-info-variable, help-do-xref)
26426 (help-mode-revert-buffer):
26427 * help.el (view-emacs-todo):
26428 * iswitchb.el (iswitchb-completion-help):
26429 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26430 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26431 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26432 * locate.el (locate-update):
26433 * longlines.el (longlines-encode-region)
26434 (longlines-after-change-function):
26435 * outline.el (outline-isearch-open-invisible):
26436 * ps-def.el (declare-function, charset-dimension, char-width)
26437 (encode-char):
26438 * ps-mule.el (ps-mule-plot-string):
26439 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26440 (recentf-edit-list-select, recentf-edit-list-validate)
26441 (recentf-open-files-action):
26442 * rect.el (delete-whitespace-rectangle-line)
26443 (rectangle-number-line-callback):
26444 * register.el (window-configuration-to-register)
26445 (frame-configuration-to-register):
26446 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26447 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26448 (xselect-convert-to-targets, xselect-convert-to-delete)
26449 (xselect-convert-to-filename, xselect-convert-to-charpos)
26450 (xselect-convert-to-lineno, xselect-convert-to-colno)
26451 (xselect-convert-to-os, xselect-convert-to-host)
26452 (xselect-convert-to-user, xselect-convert-to-class)
26453 (xselect-convert-to-name, xselect-convert-to-integer)
26454 (xselect-convert-to-atom, xselect-convert-to-identity):
26455 * subr.el (declare, ignore, process-kill-without-query)
26456 (text-clone-maintain):
26457 * terminal.el (te-get-char, te-tic-sentinel):
26458 * tool-bar.el (tool-bar-make-keymap):
26459 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26460 * type-break.el (type-break-mode, type-break-noninteractive-query):
26461 * view.el (View-back-to-mark):
26462 * wid-browse.el (widget-browse-action, widget-browse-widget)
26463 (widget-browse-widgets, widget-browse-sexp):
26464 * widget.el (define-widget-keywords):
26465 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26466 Mark unused parameters.
26467
26468 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26469 (align-areas): Remove unused variable `look'.
26470 (align-region): Remove unused variables `real-end' and `pos-list'.
26471
26472 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26473
26474 * bindings.el (mode-line-modified, mode-line-remote):
26475 Mark unused parameters.
26476 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26477
26478 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26479 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26480
26481 * comint.el (comint-history-isearch-pop-state)
26482 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26483 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26484 (comint-substitute-in-file-name): Doc fix.
26485
26486 * completion.el (cmpl-statistics-block): Mark unused parameter.
26487 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26488 (save-completions-to-file, load-completions-from-file):
26489 Remove unused local variable `e'.
26490
26491 * composite.el (compose-chars): Remove unused variable `len'.
26492 (lgstring-insert-glyph): Remove unused variable `g'.
26493 (compose-glyph-string): Remove unused variables `ascent',
26494 `descent', `lbearing' and `rbearing'.
26495 (compose-glyph-string-relative): Remove unused variables
26496 `lbearing', `rbearing' and `wadjust'.
26497 (compose-gstring-for-graphic): Remove unused variables `header',
26498 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26499 (compose-gstring-for-terminal): Remove unused variables `header'
26500 and `nchars'. Use `let', not `let*'.
26501
26502 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26503 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26504 (Custom-buffer-done, custom-buffer-create-internal)
26505 (custom-browse-visibility-action, custom-browse-group-tag-action)
26506 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26507 (widget-magic-mouse-down-action, custom-toggle-parent)
26508 (custom-add-parent-links, custom-toggle-hide-variable)
26509 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26510 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26511 (custom-face-menu-create, custom-variable-menu-create, get)
26512 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26513 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26514 (customize-apropos): Remove unused variable `tests'.
26515 (custom-group-value-create): Remove unused variable `hidden-p'.
26516 (sort-fold-case): Declare.
26517
26518 * cus-theme.el (custom-reset-standard-faces-list)
26519 (custom-reset-standard-variables-list): Declare.
26520 (customize-create-theme, custom-theme-revert, custom-theme-write)
26521 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26522 Mark unused parameters.
26523
26524 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26525
26526 * delim-col.el (delimit-columns-max): Move defvar before first use.
26527
26528 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26529 (describe-char): Don't quote `lambda'. Mark unused parameter.
26530
26531 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26532 (auto-insert): Declare.
26533 (desktop-restore-file-buffer): Rename desktop-* parameters;
26534 mark unused ones.
26535 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26536 (desktop-buffer): Rename desktop-* parameters.
26537
26538 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26539 (dframe-reposition-frame-xemacs, dframe-help-echo)
26540 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26541 Mark unused parameters.
26542
26543 * dired-aux.el (backup-extract-version-start, overwrite-query)
26544 (overwrite-backup-query, rename-regexp-query)
26545 (rename-non-directory-query): Declare.
26546 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26547 (dired-add-entry): Remove unused variable `orig-file-name'.
26548 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26549 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26550 `dired-copy-preserve-time' directly.
26551 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26552 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26553
26554 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26555 (dired-virtual-revert, dired-make-relative-symlink):
26556 Mark unused parameters.
26557 (manual-program): Declare.
26558 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26559 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26560 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26561
26562 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26563
26564 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26565
26566 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26567 Declare.
26568
26569 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26570
26571 * electric.el (Electric-command-loop): Rename parameter
26572 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26573
26574 * expand.el (expand-in-literal): Remove unused variable `here'.
26575
26576 * facemenu.el (facemenu-add-new-color):
26577 Remove unused variable `docstring'.
26578
26579 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26580 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26581 (face-attr-construct): Mark unused parameter. Doc fix.
26582 (read-color): Remove unused variable `hex-string'.
26583
26584 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26585 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26586 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26587 (display-buffer-other-frame): Remove unused variable `old-window'.
26588 (kill-buffer-hook): Declare.
26589 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26590 Mark unused parameters.
26591 (after-find-file): Pass 1 to `auto-save-mode', not t.
26592
26593 * files-x.el (auto-insert): Declare.
26594 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26595
26596 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26597 variable `buf'. Mark unused parameter.
26598 (find-lisp-insert-directory): Mark unused parameter.
26599
26600 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26601 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26602 (format-common-tail): Remove, unused.
26603 (format-deannotate-region): Remove unused variable `loc'.
26604 (format-annotate-region): Remove unused variable `p'.
26605 (format-annotate-single-property-change): Remove unused variables
26606 `default' and `tail'.
26607
26608 * forms.el (read-file-filter): Declare.
26609 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26610
26611 * frame.el (frame-creation-function-alist): Mark unused parameter.
26612 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26613
26614 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26615 Remove unused parameters.
26616 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26617 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26618
26619 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26620 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26621 (hfy-prepare-tag-map): Mark unused parameters.
26622 (htmlfontify-buffer): Use `called-interactively-p'.
26623
26624 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26625 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26626 (ibuffer-do-occur): Mark unused parameters.
26627 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26628 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26629
26630 * ibuffer.el: Don't quote `lambda'.
26631 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26632 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26633 Mark unused parameters.
26634
26635 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26636 (ido-completing-read): Mark unused parameters.
26637 (ido-copy-current-word): Mark unused parameters;
26638 remove unused variable `name'.
26639 (ido-sort-merged-list): Remove unused parameter `dirs'.
26640
26641 * ielm.el (ielm-input-sender): Mark unused parameter.
26642 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26643 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26644 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26645 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26646 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26647
26648 * image-dired.el (image-dired-display-thumbs): Remove unused
26649 variables `curr-file' and `count'.
26650 (image-dired-remove-tag): Remove unused variable `start'.
26651 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26652 variable `curr-file'
26653 (image-dired-rotate-original): Remove unused variable `temp-file'.
26654 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26655 Remove unused variable `file'.
26656 (image-dired-gallery-generate): Remove unused variable `curr'.
26657 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26658
26659 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26660
26661 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26662
26663 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26664
26665 * isearch.el (minibuffer-history-symbol): Declare.
26666 (isearch-edit-string): Remove unused variable `err'.
26667 (isearch-message-prefix, isearch-message-suffix):
26668 Mark unused parameters.
26669
26670 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26671
26672 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26673
26674 * makesum.el (double-column): Remove unused variable `cnt'.
26675
26676 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26677 (ido-ignore-item-temp-list): Declare.
26678
26679 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26680 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26681 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26682 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26683 `mouse-col-delta'.
26684
26685 * mouse-sel.el (mouse-extend-internal):
26686 Remove unused variable `orig-window-frame'.
26687
26688 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26689 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26690 Move declarations before first use.
26691 (pcomplete-opt): Mark unused parameters; doc fix.
26692
26693 * proced.el (proced-revert): Mark unused parameter.
26694 (proced-send-signal): Remove unused variable `err'.
26695
26696 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26697 Rename parameter PREFIX-ARG to ARG.
26698 (ps-basic-plot-string, ps-basic-plot-whitespace):
26699 Mark unused parameters.
26700
26701 * replace.el (replace-count): Define.
26702 (occur-revert-function): Mark unused parameters.
26703 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26704 (isearch-case-fold-search, isearch-string): Declare.
26705 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26706 bind `case-fold-search'. Remove unused variables `beg' and `end',
26707 and simplify.
26708 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26709 COUNT and bind `replace-count'.
26710 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26711 to COUNT.
26712
26713 * savehist.el (print-readably, print-string-length): Declare.
26714
26715 * shadowfile.el (shadow-expand-cluster-in-file-name):
26716 Remove unused variable `cluster'.
26717 (shadow-copy-file): Remove unused variable `i'.
26718 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26719 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26720 (shadow-define-literal-group, shadow-define-regexp-group)
26721 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26722
26723 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26724 (shell): Use `called-interactively-p'.
26725 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26726
26727 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26728 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26729 (delete-backward-char): Remove unused variable `ocol'.
26730 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26731 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26732 (event-apply-hyper-modifier, event-apply-shift-modifier)
26733 (event-apply-control-modifier, event-apply-meta-modifier):
26734 Mark unused parameters.
26735 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26736 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26737
26738 * speedbar.el (speedbar-ignored-directory-expressions)
26739 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26740 (speedbar-find-file, speedbar-dir-follow)
26741 (speedbar-directory-buttons-follow, speedbar-tag-find)
26742 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26743 (speedbar-buffers-line-directory, speedbar-buffer-click):
26744 Mark unused parameters.
26745 (speedbar-tag-file): Remove unused variable `mode'.
26746 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26747
26748 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26749
26750 * talk.el (talk): Remove unused variable `display'.
26751
26752 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26753 (tar-write-region-annotate): Mark unused parameter.
26754
26755 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26756 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26757 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26758 warning by another.
26759
26760 * time-stamp.el (time-stamp-string-preprocess):
26761 Remove unused variable `require-padding'.
26762
26763 * tree-widget.el (widget-glyph-enable): Declare.
26764 (tree-widget-action): Mark unused parameter.
26765
26766 * w32-fns.el (x-get-selection): Mark unused parameter.
26767 (autoload-make-program, generated-autoload-file): Declare.
26768
26769 * wdired.el (wdired-revert): Mark unused parameters.
26770 (wdired-xcase-word): Remove unused variable `err'.
26771
26772 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26773 (whitespace-help-scroll): Remove unused variable `data-help'.
26774
26775 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26776 (widget-image-insert, widget-after-change, default)
26777 (widget-default-format-handler, widget-default-notify)
26778 (widget-default-prompt-value, widget-info-link-action)
26779 (widget-url-link-action, widget-function-link-action)
26780 (widget-variable-link-action, widget-file-link-action)
26781 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26782 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26783 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26784 (widget-insert-button-action, widget-delete-button-action, visibility)
26785 (widget-documentation-link-action, widget-documentation-string-action)
26786 (widget-const-prompt-value, widget-regexp-match, symbol)
26787 (widget-coding-system-prompt-value)
26788 (widget-key-sequence-value-to-external, sexp)
26789 (widget-sexp-value-to-internal, character, vector, cons)
26790 (widget-choice-prompt-value, widget-boolean-prompt-value)
26791 (widget-color--choose-action): Mark unused parameters.
26792 (widget-item-match-inline, widget-choice-match-inline)
26793 (widget-checklist-match, widget-checklist-match-inline)
26794 (widget-group-match): Rename parameter VALUES to VALS.
26795 (widget-field-value-set): Remove unused variable `size'.
26796 (widget-color-action): Remove unused variables `value' and `start'.
26797
26798 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26799 variable `dir'. Doc fix.
26800 (windmove-find-other-window): Don't pass it.
26801
26802 * window.el (count-windows): Mark unused parameter.
26803 (bw-adjust-window): Remove unused variable `err'.
26804
26805 * woman.el (woman-file-name): Remove unused variable `default'.
26806 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26807 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26808 (global-font-lock-mode): Declare.
26809 (woman-decode-region): Mark unused parameter.
26810 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26811
26812 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26813 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26814 (x-dnd-handle-moz-url): Remove unused variable `title'.
26815 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26816
26817 * xml.el (xml-parse-tag, xml-parse-attlist):
26818 Remove unused variable `pos'.
26819
26820 2011-04-19 Glenn Morris <rgm@gnu.org>
26821
26822 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26823 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26824 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26825 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26826 * calendar/cal-html.el (cal-html-insert-minical):
26827 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26828 (calendar-mark-date-pattern):
26829 Prefix "unused" locals.
26830
26831 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26832 optional argument `style'.
26833
26834 * calendar/appt.el (appt-make-list):
26835 * calendar/cal-china.el (calendar-chinese-date-string):
26836 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26837 (diary-hebrew-yahrzeit):
26838 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26839 * calendar/calendar.el (calendar-generate-window):
26840 * calendar/time-date.el (time-to-days):
26841 Remove unused local variables.
26842
26843 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26844
26845 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26846 glyphless-char-display table.
26847 (tabulated-list-glyphless-char-display): New var.
26848
26849 2011-04-18 Sam Steingold <sds@gnu.org>
26850
26851 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26852 to acknowledgments.
26853
26854 2011-04-17 Glenn Morris <rgm@gnu.org>
26855
26856 * calendar/diary-lib.el (diary-sexp-entry):
26857 * calendar/holidays.el (holiday-sexp):
26858 Set debug-on-error rather than the removed stack-trace-on-error.
26859
26860 2011-04-16 Glenn Morris <rgm@gnu.org>
26861
26862 * progmodes/f90.el: Use lexical-binding.
26863 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26864
26865 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26866
26867 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26868 (mail-mode): Setup mailalias completion here instead.
26869 * mail/mailalias.el: Use lexical-binding.
26870 (pattern, mailalias-done): Declare dynamic.
26871 (mail-completion-at-point-function): New function, from mail-complete.
26872 (mail-complete): Use it.
26873 (mail-completion-expand): New function.
26874 (mail-get-names): Use it.
26875 (mail-directory, mail-directory-process, mail-directory-stream):
26876 Don't use `pattern' for lexically bound arg.
26877
26878 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26879
26880 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26881 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26882 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26883
26884 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26885 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26886 (byte-interactive-p): Define them again, for use when inlining
26887 old code.
26888
26889 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26890
26891 * loadup.el: Use `string-to-number', not `string-to-int'.
26892
26893 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26894
26895 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26896 gud-gdb-complete-command.
26897 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26898 (gud-gdb-completion-at-point): New function.
26899 (gud-gdb-completions): Remove.
26900
26901 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26902
26903 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26904 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26905 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26906 whether `executable-find' is bound.
26907
26908 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26909
26910 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26911
26912 * minibuffer.el (completion-in-region-mode-predicate)
26913 (completion-in-region-mode--predicate): New vars.
26914 (completion-in-region, completion-in-region--postch)
26915 (completion-in-region-mode): Use them.
26916 (completion--capf-wrapper): Also return the hook function.
26917 (completion-at-point, completion-help-at-point):
26918 Adjust and provide a predicate.
26919
26920 Preserve arg names for advice of subr and lexical functions (bug#8457).
26921 * help-fns.el (help-function-arglist): Consolidate the subr and
26922 new-byte-code cases. Add argument `preserve-names' to extract names
26923 from the docstring when needed.
26924 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26925 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26926 (ad-arglist): Use help-function-arglist's new arg.
26927 (ad-definition-type): Use cond.
26928
26929 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26930
26931 * autorevert.el (auto-revert-handler):
26932 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26933 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26934 Don't quote lambda.
26935
26936 * image-mode.el (image-transform-set-scale):
26937 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26938
26939 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26940
26941 * net/network-stream.el (network-stream-open-starttls): Only do
26942 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26943 Upgrades via gnutls-cli are too slow to be done opportunistically.
26944
26945 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26946
26947 * dframe.el (dframe-current-frame): Remove spurious quote.
26948
26949 2011-04-12 Glenn Morris <rgm@gnu.org>
26950
26951 * calendar/cal-tex.el (cal-tex-end-document):
26952 Try to automatically use latin1 input if needed.
26953
26954 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26955 Don't try to cons a mark onto an empty element.
26956
26957 2011-04-11 Leo Liu <sdl.web@gmail.com>
26958
26959 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26960 buffers.
26961 (ido-kill-buffer-at-head): Support killing virtual buffers.
26962
26963 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26964
26965 * minibuffer.el (completion-show-inline-help): New var.
26966 (completion--do-completion, minibuffer-complete)
26967 (minibuffer-force-complete, minibuffer-complete-word):
26968 Inhibit minibuffer messages if completion-show-inline-help is nil.
26969
26970 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26971 to avoid interference from inline help (Bug#5849).
26972
26973 2011-04-10 Leo Liu <sdl.web@gmail.com>
26974
26975 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26976 Fix typo.
26977
26978 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26979
26980 * image-mode.el (image-toggle-display-image): Signal an error if
26981 not in Image mode.
26982 (image-transform-mode, image-transform-resize)
26983 (image-transform-set-rotation): Doc fix.
26984 (image-transform-set-resize): Delete.
26985 (image-transform-set-scale, image-transform-fit-to-height)
26986 (image-transform-fit-to-width): Handle image-toggle-display-image
26987 and image-transform-resize directly.
26988
26989 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26990
26991 * doc-view.el (doc-view-fit-width-to-window)
26992 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26993 New functions for fitting the shown image to the Emacs window size.
26994 (doc-view-mode-map): Add bindings for the new functions.
26995
26996 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26997
26998 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26999 Fix typo in docstring.
27000
27001 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27002
27003 * files.el (file-size-human-readable): Produce one digit after
27004 decimal, like "ls -lh" does.
27005
27006 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27007 the file size representation.
27008
27009 * simple.el (list-processes): If async subprocesses are not
27010 available, error out with a clear error message.
27011
27012 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27013
27014 * help.el (help-form-show): New function, to be called from C.
27015 Put help-form output in a buffer named differently than *Help*.
27016
27017 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27018
27019 * files.el (file-size-human-readable): New function.
27020
27021 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27022 computing the representation inline. Don't require `cl'.
27023
27024 2011-04-08 Glenn Morris <rgm@gnu.org>
27025
27026 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27027
27028 * net/browse-url.el (browse-url-firefox):
27029 Test system-type, not system-configuration.
27030
27031 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27032 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27033 Use log-edit-empty-buffer-p. (Bug#7598)
27034
27035 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27036 (rlogin-mode-map): Initialize in the defvar.
27037 (rlogin): Use ignore-errors.
27038
27039 * replace.el (occur-mode-map): Some fixes for menu items.
27040
27041 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27042
27043 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27044
27045 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27046
27047 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27048 issuing unused warnings.
27049
27050 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27051 macro directly.
27052
27053 * simple.el: Lisp reimplement of list-processes. Based on an
27054 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27055 (process-menu-mode): New major mode.
27056 (list-processes--refresh, list-processes):
27057 (process-menu-visit-buffer): New functions.
27058
27059 * files.el (save-buffers-kill-emacs): Don't assume any return
27060 value of list-processes, which is undocumented anyway.
27061
27062 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27063
27064 * emacs-lisp/tabulated-list.el: New file.
27065
27066 * emacs-lisp/package.el: Use Tabulated List mode.
27067 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27068 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27069 table format using Tabulated List mode variables.
27070 (package--push): New macro, replacing package-list-maybe-add.
27071 (package-menu--generate): Use package--push. Renamed from
27072 package--generate-package-list.
27073 (package-menu-refresh, list-packages): Use it.
27074 (package-menu--print-info): Rename from package-print-package.
27075 Return insertion data instead of inserting it directly.
27076 (package-menu-describe-package, package-menu-execute):
27077 Use tabulated-list-get-id.
27078 (package-menu-mark-delete, package-menu-mark-install)
27079 (package-menu-mark-unmark, package-menu-backup-unmark)
27080 (package-menu-mark-obsolete-for-deletion):
27081 Use tabulated-list-put-tag.
27082 (package--list-packages, package-menu-revert)
27083 (package-menu-get-package, package-menu-get-version)
27084 (package-menu-sort-by-column): Functions deleted.
27085 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27086 (package-menu--status-predicate, package-menu--version-predicate)
27087 (package-menu--name-predicate)
27088 (package-menu--description-predicate): Handle arguments in the
27089 Tabulated List format.
27090 (package-list-packages-no-fetch): Call list-packages.
27091
27092 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27093
27094 * files.el (after-find-file-from-revert-buffer): Remove variable.
27095 (after-find-file): Don't bind it.
27096 (revert-buffer-in-progress-p): New variable.
27097 (revert-buffer): Bind it.
27098 Pass nil for `after-find-file-from-revert-buffer'.
27099
27100 * saveplace.el (save-place-find-file-hook): Use new variable
27101 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27102
27103 2011-04-06 Glenn Morris <rgm@gnu.org>
27104
27105 * Makefile.in (AUTOGEN_VCS): New variable.
27106 (autoloads): Use $AUTOGEN_VCS.
27107
27108 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27109 * calendar/calendar.el (calendar-mode-map):
27110 Check for toolkit scroll bars. (Bug#8305)
27111
27112 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27113
27114 * minibuffer.el (completion-in-region--postch)
27115 (completion-in-region-mode): Remove unnecessary messages.
27116
27117 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27118
27119 * font-lock.el (font-lock-refresh-defaults):
27120 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27121 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27122
27123 * info.el (Info-directory-list, Info-read-node-name-2)
27124 (Info-split-parameter-string): Doc fixes.
27125 (Info-virtual-nodes): Reflow docstring.
27126 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27127 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27128 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27129 Fix typos in docstrings.
27130 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27131 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27132 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27133 (Info-restore-desktop-buffer): Mark unused parameters.
27134 (Info-directory-find-file, Info-directory-find-node)
27135 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27136 (Info-virtual-index-find-node, Info-apropos-find-file)
27137 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27138 Mark unused parameters; fix typos in docstrings.
27139 (Info-virtual-index): Remove unused local variable `nodename'.
27140
27141 2011-04-05 Deniz Dogan <deniz@dogan.se>
27142
27143 * net/rcirc.el: Update my e-mail address.
27144 (rcirc-mode-map): Remove M-o binding.
27145
27146 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27147
27148 * startup.el (command-line): Save the cursor's theme-face
27149 directly, instead of using face-override-spec.
27150
27151 * custom.el (load-theme): Minor optimization in assigning faces.
27152
27153 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27154
27155 * help-fns.el (describe-variable): Complete all variables having
27156 documentation, including keywords.
27157 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27158
27159 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27160
27161 Convert to lexical-binding.
27162
27163 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27164 (bs--get-marked-string, bs--get-modified-string)
27165 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27166 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27167 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27168
27169 * ehelp.el (electric-help-execute-extended)
27170 (electric-help-ctrl-x-prefix):
27171 * hexl.el (hexl-revert-buffer-function):
27172 * linum.el (linum-after-change, linum-after-scroll):
27173 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27174
27175 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27176
27177 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27178
27179 * epa-dired.el:
27180 * epa-mail.el:
27181 * epa-hook.el:
27182 * epa-file.el:
27183 * epa.el:
27184 * epg.el: Use lexical binding.
27185
27186 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27187
27188 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27189
27190 * textmodes/flyspell.el (flyspell-word): Recognize default
27191 dictionary case for flyspell-mark-duplications-exceptions.
27192 Use regexp matching for languages.
27193 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27194 default dictionary (Bug#7926).
27195
27196 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27197
27198 * emacs-lisp/package.el (package--with-work-buffer):
27199 Recognize https URLs.
27200
27201 * net/network-stream.el: Move from gnus/proto-stream.el.
27202 Change prefix to network-stream throughout.
27203 (open-protocol-stream): Merge into open-network-stream, leaving
27204 open-protocol-stream as an alias. Handle nil BUFFER args.
27205
27206 * subr.el (open-network-stream): Move to net/network-stream.el.
27207
27208 2011-04-02 Glenn Morris <rgm@gnu.org>
27209
27210 * find-dired.el (find-exec-terminator): New option.
27211 (find-ls-option): Test for -ls support.
27212 (find-ls-subdir-switches): Test for -b in find-ls-option.
27213 (find-dired, find-grep-dired): Doc fixes.
27214 (find-dired): Use find-exec-terminator.
27215
27216 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27217 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27218 (find-name-arg): Remove purecopy.
27219
27220 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27221 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27222 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27223 accordingly. Don't add the null-device if not needed.
27224
27225 * files.el (save-some-buffers): Doc fix.
27226
27227 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27228
27229 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27230
27231 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27232
27233 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27234 Use `dolist' rather than `mapcar'.
27235
27236 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27237
27238 Add lexical binding.
27239
27240 * subr.el (apply-partially): Use new closures rather than CL.
27241 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27242 (dolist, dotimes): Use slightly different expansion for lexical code.
27243 (functionp): Move to C.
27244 (letrec): New macro.
27245 (with-wrapper-hook): Use it and apply-partially instead of CL.
27246 (eval-after-load): Preserve lexical-binding.
27247 (save-window-excursion, with-output-to-temp-buffer): Turn them
27248 into macros.
27249
27250 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27251
27252 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27253 than the arglist.
27254 (help-add-fundoc-usage): Don't add `Not documented'.
27255 (help-function-arglist): Handle closures, subroutines, and new
27256 byte-code-functions.
27257 (help-make-usage): Remove leading underscores.
27258 (describe-function-1): Handle closures.
27259 (describe-variable): Use special-variable-p for completion.
27260
27261 * files.el (lexical-binding): Declare safe.
27262
27263 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27264 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27265 (pcase): Add `let' pattern.
27266 Change memoization so it actually works.
27267 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27268 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27269 <let>: New case.
27270
27271 * emacs-lisp/macroexp.el: Use lexical binding.
27272 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27273 Don't convert ' to #' without checking that it's indeed quoting
27274 a lambda.
27275
27276 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27277 Use eval-sexp-add-defvars.
27278 (eval-sexp-add-defvars): New fun.
27279
27280 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27281
27282 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27283 Don't autoload.
27284 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27285 than the internal `byte-compile-lambda'.
27286 (defmethod): Don't hide code under quotes.
27287 (eieio-defmethod): New `code' argument.
27288
27289 * emacs-lisp/eieio-comp.el: Remove.
27290
27291 * emacs-lisp/edebug.el (edebug-eval-defun)
27292 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27293 (edebug-toggle): Avoid `eval'.
27294
27295 * emacs-lisp/disass.el (disassemble-internal): Handle new
27296 `closure' objects.
27297 (disassemble-1): Handle new byte codes.
27298
27299 * emacs-lisp/cl.el (pushnew): Silence warning.
27300
27301 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27302 (cl-byte-compile-throw): Remove.
27303 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27304
27305 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27306 closures.
27307
27308 * emacs-lisp/cconv.el: New file.
27309
27310 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27311 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27312 (byte-compile-initial-macro-environment):
27313 Handle declare-function here.
27314 (byte-compile--lexical-environment): New var.
27315 (byte-stack-ref, byte-stack-set, byte-discardN)
27316 (byte-discardN-preserve-tos): New lap codes.
27317 (byte-interactive-p): Don't use any more.
27318 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27319 New macros.
27320 (byte-compile-lapcode): Use them and handle new lap codes.
27321 (byte-compile-obsolete): Remove.
27322 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27323 (byte-compile-arglist-warn): Check late def of inlinable funs.
27324 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27325 since they should have been expanded by now.
27326 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27327 (byte-compile-from-buffer): Remove unused second arg.
27328 (byte-compile-preprocess): New function.
27329 (byte-compile-toplevel-file-form): New function to distinguish
27330 file-form calls from outside from file-form calls from hunk-handlers.
27331 (byte-compile-file-form): Simplify.
27332 (byte-compile-file-form-defsubst): Remove.
27333 (byte-compile-file-form-defmumble): Simplify now that
27334 byte-compile-lambda always returns a byte-code-function.
27335 (byte-compile): Preprocess.
27336 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27337 Remove, not used any more.
27338 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27339 (byte-compile-make-args-desc): New funs.
27340 (byte-compile-lambda): Handle lexical functions. Always return
27341 a byte-code-function.
27342 (byte-compile-reserved-constants): New var, to make up room for
27343 closed-over variables.
27344 (byte-compile-constants-vector): Obey it.
27345 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27346 (byte-compile-macroexpand-declare-function): New function.
27347 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27348 byte-code-functions.
27349 (byte-compile-form): Check obsolescence here.
27350 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27351 (byte-compile-variable-ref): Remove.
27352 (byte-compile-dynamic-variable-op): New fun.
27353 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27354 (byte-compile-variable-set): New funs.
27355 (byte-compile-discard): Add 2 args.
27356 (byte-compile-stack-ref, byte-compile-stack-set)
27357 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27358 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27359 macroexpand-all instead.
27360 (byte-compile-quote-form): Remove.
27361 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27362 (byte-compile-bind, byte-compile-unbind): New funs.
27363 (byte-compile-let): Handle let* and lexical binding.
27364 (byte-compile-let*): Remove.
27365 (byte-compile-catch, byte-compile-unwind-protect)
27366 (byte-compile-track-mouse, byte-compile-condition-case):
27367 Handle a new :fun-body form, used for lexical scoping.
27368 (byte-compile-save-window-excursion)
27369 (byte-compile-with-output-to-temp-buffer): Remove.
27370 (byte-compile-defun): Simplify.
27371 (byte-compile-stack-adjustment): New fun.
27372 (byte-compile-out): Use it.
27373 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27374
27375 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27376 handler any more.
27377
27378 * emacs-lisp/byte-opt.el: Use lexical binding.
27379 (byte-inline-lapcode): Remove (to bytecomp).
27380 (byte-compile-inline-expand): Pay attention to inlining to/from
27381 lexically bound code.
27382 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27383 any more.
27384 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27385 any more and don't call compiler-macros.
27386 (byte-compile-splice-in-already-compiled-code): Remove.
27387 (byte-code): Don't inline any more.
27388 (disassemble-offset): Receive `bytes' as argument rather than via
27389 dynamic scoping.
27390 (byte-compile-tag-number): Declare before first use.
27391 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27392 `return' even if make-spliceable.
27393 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27394 obsolete interactive-p.
27395 (byte-optimize-lapcode): Optimize new lap-codes.
27396 Don't trip up on new form of `byte-constant' lap code.
27397
27398 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27399
27400 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27401
27402 * custom.el (custom-initialize-default, custom-declare-variable):
27403 Use `defvar'.
27404
27405 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27406 New variables.
27407 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27408 (COMPILE_FIRST): Add macroexp and cconv.
27409 * makefile.w32-in: Mirror changes in Makefile.in.
27410
27411 * vc/cvs-status.el:
27412 * vc/diff-mode.el:
27413 * vc/log-edit.el:
27414 * vc/log-view.el:
27415 * vc/smerge-mode.el:
27416 * textmodes/bibtex-style.el:
27417 * textmodes/css-mode.el:
27418 * startup.el:
27419 * uniquify.el:
27420 * minibuffer.el:
27421 * newcomment.el:
27422 * reveal.el:
27423 * server.el:
27424 * mpc.el:
27425 * emacs-lisp/smie.el:
27426 * doc-view.el:
27427 * dired.el:
27428 * abbrev.el: Use lexical binding.
27429
27430 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27431
27432 * info.el (info-display-manual): New function.
27433
27434 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27435
27436 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27437
27438 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27439
27440 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27441 an entry for that server in rcirc-authinfo. (Bug#8385)
27442
27443 2011-03-31 Glenn Morris <rgm@gnu.org>
27444
27445 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27446
27447 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27448
27449 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27450
27451 * progmodes/python.el (python-default-interpreter)
27452 (python-python-command-args, python-jython-command-args)
27453 (python-which-shell, python-which-args, python-which-bufname)
27454 (python-file-queue, python-comint-output-filter-function)
27455 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27456 variables and functions.
27457
27458 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27459
27460 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27461 (completion-in-region-mode): New minor mode.
27462 (completion-in-region): Use it.
27463 (completion-in-region--data, completion-in-region-mode-map): New vars.
27464 (completion-in-region--postch): New function.
27465 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27466 New vars.
27467 (completion--capf-wrapper): New function.
27468 (completion-at-point): Use it to track well-behavedness of
27469 hook functions.
27470 (completion-help-at-point): New command.
27471
27472 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27473
27474 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27475 syntax class to search for whitespace on a single line
27476 (Message-ID: <4D938140.4030905@redhat.com>).
27477
27478 2011-03-30 Leo Liu <sdl.web@gmail.com>
27479
27480 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27481 New commands.
27482 (edit-abbrevs-map): Bind them here.
27483 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27484
27485 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27486
27487 * allout.el (allout-hide-by-annotation, allout-flag-region):
27488 Reduce possibility of overlay leakage by making them volatile.
27489
27490 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27491 hash is not shared between buffers. Mode initialization is
27492 responsible for giving it a useful starting value.
27493 (allout-item-span): Reduce possibility of overlay leakage by
27494 making them volatile.
27495 (allout-widgets-count-buttons-in-region): Add diagnostic function
27496 for tracking down button overlay leaks.
27497
27498 2011-03-29 Leo Liu <sdl.web@gmail.com>
27499
27500 * ido.el (ido-read-internal): Use the default history var
27501 minibuffer-history if no HISTORY is specified.
27502
27503 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27504
27505 * net/imap.el (imap-shell-open, imap-process-connection-type):
27506 Use imap-process-connection-type for 'shell' streams as well as
27507 Kerberos, SSL, other subprocesses.
27508
27509 2011-03-28 Leo Liu <sdl.web@gmail.com>
27510
27511 * abbrev.el (abbrev-table-empty-p): New function.
27512 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27513 nonempty ones. (Bug#5937)
27514
27515 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27516
27517 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27518
27519 2011-03-27 Leo Liu <sdl.web@gmail.com>
27520
27521 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27522 for foreground and background colors.
27523 (ansi-color-make-color-map): Adapt.
27524
27525 2011-03-25 Leo Liu <sdl.web@gmail.com>
27526
27527 * midnight.el (midnight-time-float): Remove. Note it calculates
27528 the microsecond component incorrectly and seconds-to-time does the
27529 same job.
27530 Remove redundant (require 'timer).
27531
27532 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27533 (ido-completions): Remove unused arguments. (Bug#8329)
27534
27535 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27536
27537 * minibuffer.el (completion--flush-all-sorted-completions):
27538 Remove itself from hook.
27539 (completion-at-point): Let the functions perform the completion
27540 immediately and return nil or t.
27541 * comint.el (comint-dynamic-complete-functions): Now identical to
27542 completion-at-point-functions.
27543 (comint-dynamic-list-input-ring): Remove unused var `index'.
27544 (comint--match-partial-filename, comint--unquote&expand-filename):
27545 New funs, split from comint-match-partial-filename.
27546 (comint-dynamic-complete): Use completion-at-point.
27547 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27548
27549 2011-03-24 Drew Adams <drew.adams@oracle.com>
27550
27551 * thingatpt.el: Support `defun'.
27552
27553 2011-03-23 Leo Liu <sdl.web@gmail.com>
27554
27555 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27556
27557 * help-mode.el (help-mode-finish): Tweak regexp.
27558
27559 2011-03-23 Glenn Morris <rgm@gnu.org>
27560
27561 * eshell/esh-opt.el (eshell-eval-using-options):
27562 Do not bind unused local variable `eshell-option-stub'.
27563
27564 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27565
27566 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27567
27568 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27569 keymap variable in `with-no-warnings' to avoid a warning when the
27570 keymap has been already `defconst'ed.
27571
27572 2011-03-22 Leo Liu <sdl.web@gmail.com>
27573
27574 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27575 encode all chars in abbrevs; otherwise use emacs-mule or
27576 utf-8-emacs. (Bug#8308)
27577
27578 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27579
27580 * simple.el (backward-delete-char-untabify):
27581 Avoid warning about using `delete-backward-char'.
27582
27583 * image.el (image-type-file-name-regexps): Make it variable.
27584 `imagemagick-register-types' modifies it, and the user may want
27585 to add new extensions for known image types.
27586 (imagemagick-register-types): Throw error if not using ImageMagick.
27587
27588 2011-03-22 Leo Liu <sdl.web@gmail.com>
27589
27590 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27591 located before rcirc-prompt-end-marker.
27592 (rcirc-complete): Error if point is not after rcirc prompt.
27593 Handle the case when table is nil.
27594 (rcirc-user-authenticated): Define to fix compiler warning.
27595
27596 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27597
27598 * custom.el (custom--inhibit-theme-enable): Make it affect only
27599 custom-theme-set-variables and custom-theme-set-faces.
27600 (provide-theme): Ignore custom--inhibit-theme-enable.
27601 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27602 (custom-enabling-themes): Delete variable.
27603 (enable-theme): Accept only loaded themes as arguments.
27604 Ignore the special custom-enabled-themes variable.
27605 (custom-enabled-themes): Forbid themes from setting this.
27606 Eliminate use of custom-enabling-themes.
27607 (custom-push-theme): Quote "changed" custom var entry.
27608
27609 2011-03-21 Leo Liu <sdl.web@gmail.com>
27610
27611 * ido.el (ido-read-internal): Add ido-selected to history instead
27612 of user input.
27613
27614 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27615
27616 * subr.el (deferred-action-list, deferred-action-function):
27617 Mark obsolete.
27618
27619 2011-03-21 Leo Liu <sdl.web@gmail.com>
27620
27621 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27622 change on 2011-02-13 (bug#8309).
27623
27624 * minibuffer.el (read-file-name-function): Change default value.
27625 (read-file-name--defaults): Rename from read-file-name-defaults.
27626 (read-file-name-default): Rename from read-file-name.
27627 (read-file-name): Call read-file-name-function.
27628
27629 2011-03-21 Glenn Morris <rgm@gnu.org>
27630
27631 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27632 Doc fixes.
27633
27634 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27635
27636 * cus-theme.el: Add missing provide statement.
27637 (customize-create-theme): Extract theme value correctly.
27638 (custom-theme-visit-theme): Autoload.
27639 (customize-create-theme): Prompt before inserting default faces.
27640
27641 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27642
27643 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27644 units and musical notes.
27645
27646 2011-03-20 Leo Liu <sdl.web@gmail.com>
27647
27648 * ido.el (ido-read-internal): Use completing-read-default.
27649 (ido-completing-read): Fix compatibility with completing-read.
27650
27651 2011-03-20 Christian Ohler <ohler@gnu.org>
27652
27653 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27654 (ert-delete-all-tests): Use `called-interactively-p' rather than
27655 `interactive-p'.
27656 (ert--make-xrefs-region): Respect END.
27657
27658 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27659
27660 * dired-aux.el (dired-create-directory): Signal an error if the
27661 directory already exists (Bug#8246).
27662
27663 * facemenu.el (list-colors-display): Call list-faces-display
27664 inside with-help-window.
27665 (list-colors-print): Use display property to align the final
27666 column, instead of checking window-width.
27667
27668 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27669
27670 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27671 windows-nt systems.
27672 (emerge-protect-metachars): Quote correctly for ms-dos and
27673 windows-nt systems.
27674
27675 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27676
27677 * info.el (info-initialize): Replace all uses of `:' with
27678 path-separator for compatibility with non-Unix systems.
27679 Cache quoting of path-separator. (Bug#8258)
27680
27681 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27682
27683 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27684 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27685 (mouse-avoidance-mode): Fix typos in docstrings.
27686
27687 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27688
27689 * startup.el (package-subdirectory-regexp): Move from package.el.
27690 Omit \\` and \\', and let callers add them.
27691
27692 * emacs-lisp/package.el (package-strip-version)
27693 (package-load-all-descriptors): Add \\` and \\' to
27694 package-subdirectory-regexp before using it.
27695 (package-untar-buffer): New arg DIR; ensure that file untars only
27696 into this expected directory. Remove superfluous delete-region.
27697 (package-unpack): Caller changed.
27698 (package-tar-file-info): Use package-subdirectory-regexp.
27699
27700 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27701
27702 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27703 diff-mode-shared-map (bug#8284).
27704 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27705
27706 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27707
27708 * calendar/time-date.el (format-seconds): Use assoc instead of
27709 assoc-string, since assoc-string doesn't exist in XEmacs.
27710
27711 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27712
27713 * custom.el (custom-known-themes): Reflow docstring.
27714 (custom-theme-load-path): Fix typo in docstring.
27715 (load-theme): Fix typo in error message.
27716 (custom-available-themes, custom-variable-theme-value):
27717 Use `let', not `let*'.
27718
27719 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27720
27721 * calc/README: Mention inclusion of musical notes.
27722
27723 * calc/calc-units.el (calc-lu-quant): Rename from
27724 `calc-logunits-quantity'.
27725 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27726 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27727 (calc-db): Rename from `calc-dblevel'.
27728 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27729 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27730 (calc-np): Rename from `calc-nplevel'.
27731 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27732 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27733 (calc-lu-plus): Rename from `calc-logunits-add'.
27734 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27735 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27736 (calc-lu-minus): Rename from `calc-logunits-sub'.
27737 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27738 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27739 (calc-lu-times): Rename from `calc-logunits-mul'.
27740 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27741 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27742 (calc-lu-divide): Rename from `calc-logunits-div'.
27743 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27744 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27745
27746 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27747 functions being autoloaded.
27748
27749 * calc/calc.el (calc-lu-power-reference): Rename from
27750 `calc-logunits-power-reference'.
27751 (calc-lu-field-reference): Rename from
27752 `calc-logunits-field-reference'.
27753
27754 * calc/calc-help.el (calc-l-prefix-help):
27755 Mention musical note functions.
27756
27757 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27758
27759 * minibuffer.el (completion-all-sorted-completions):
27760 Use :completion-cycle-penalty text property if present.
27761
27762 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27763
27764 * allout.el (allout-yank-processing): Adjust for new rebulleting
27765 regime so bullet being yanked is used without prompting the user
27766 for a choice.
27767
27768 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27769
27770 * startup.el (command-line): Warn the user that _emacs is deprecated.
27771
27772 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27773
27774 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27775 (delphi-verbose, delphi-comment-face, delphi-string-face)
27776 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27777 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27778 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27779 (delphi-new-comment-line, delphi-font-lock-defaults)
27780 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27781 Fix typos in docstrings.
27782
27783 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27784
27785 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27786 Invert the roles of character and string values for INSTEAD, so a
27787 string is used for the more common case of a defaulting prompt.
27788
27789 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27790
27791 * progmodes/ruby-mode.el (ruby-backward-sexp):
27792 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27793 * play/gamegrid.el (gamegrid-make-face):
27794 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27795 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27796 * notifications.el (notifications-notify):
27797 * net/xesam.el (xesam-search-engines):
27798 * net/quickurl.el (quickurl-list-insert):
27799 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27800
27801 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27802
27803 * startup.el (command-line): Update package subdirectory regexp.
27804
27805 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27806
27807 * allout.el (allout-abbreviate-flattened-numbering)
27808 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27809
27810 * subr.el (read-char-choice): Only show the cursor after the prompt,
27811 not after the answer.
27812
27813 2011-03-15 Kevin Ryde <user42@zip.com.au>
27814
27815 * help-fns.el (variable-at-point): Skip leading quotes, if any
27816 (bug#8253).
27817
27818 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27819
27820 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27821 warning message.
27822
27823 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27824
27825 * shell.el (shell): When called interactively, offer to change the
27826 shell file name on remote hosts.
27827
27828 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27829
27830 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27831 integration for LDAP parameters. The host, base, user or binddn,
27832 and secret tokens can be specified in a netrc file, for instance.
27833 This is optional because an `auth-source' parameter must be
27834 specified in the search attributes.
27835
27836 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27837
27838 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27839
27840 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27841
27842 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27843 into declaration. Remove redundant and harmful binding.
27844
27845 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27846
27847 * files.el (file-ownership-preserved-p): Pass `integer' as an
27848 explicit 2nd argument to `file-attributes'. If the file's owner
27849 is the Administrators group on Windows, and the current user is
27850 Administrator, consider that a match.
27851
27852 * server.el (server-ensure-safe-dir): Consider server directory
27853 safe on MS-Windows if its owner is the Administrators group while
27854 the current Emacs user is Administrator. Use `=' to compare
27855 numerical UIDs, since they could be integers or floats.
27856
27857 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27858
27859 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27860
27861 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27862
27863 Sync with Tramp 2.2.1.
27864
27865 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27866
27867 * net/trampver.el: Update release number.
27868
27869 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27870
27871 * progmodes/compile.el (compilation--previous-directory): Fix up
27872 various nil/dead-marker mismatches (bug#8014).
27873 (compilation-directory-properties, compilation-error-properties):
27874 Don't call it at a position past the one we're about to change.
27875
27876 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27877 Disable obsolescence warnings in the file that declares it.
27878
27879 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27880
27881 * allout-widgets.el (allout-widgets-tally):
27882 Initialize allout-widgets-tally as a hash table rather than nil to
27883 prevent mode-line redisplay warnings. Also, clarify the module
27884 description and fix a comment typo.
27885
27886 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27887
27888 * help-fns.el (describe-variable): Don't complete keywords.
27889 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27890
27891 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27892
27893 * emacs-lisp/package.el (package-version-join): Impose a standard
27894 string representation for pre/alpha/beta version lists.
27895 (package-unpack-single): Standardize the directory name by passing
27896 it through package-version-join.
27897 (package-strip-rcs-id): Accept any version string that does not
27898 signal an error in version-to-list.
27899
27900 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27901
27902 * simple.el (delete-trailing-whitespace): Return nil for the
27903 benefit of `write-file-functions'.
27904
27905 2011-03-10 Glenn Morris <rgm@gnu.org>
27906
27907 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27908
27909 * vc/vc-git.el (vc-git-program): New option.
27910 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27911 (vc-git--call): Use it.
27912
27913 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27914
27915 * cus-edit.el (Custom-newline): If no button at point, look
27916 for a subgroup button at start-of-line. (Bug#2298)
27917
27918 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27919
27920 2011-03-10 Julien Danjou <julien@danjou.info>
27921
27922 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27923 `cursor-type' is nil.
27924
27925 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27926
27927 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27928
27929 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27930
27931 * allout.el: Change so yank of distinctive-bullet items
27932 preserves the existing header prefix, rebulleting it if necessary,
27933 rather than replacing it. This is necessary for proper operation
27934 of cooperative addons like allout-widgets.
27935 (allout-make-topic-prefix, allout-rebullet-heading):
27936 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27937 value as alternate bullet to be used, instead of prompting the user
27938 for a bullet character.
27939
27940 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27941
27942 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27943 Do not use `tramp-file-name-port', because this returns also
27944 `tramp-default-port'.
27945
27946 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27947
27948 * net/rcirc.el (rcirc-handler-001): Remove useless
27949 with-rcirc-process-buffer.
27950 (rcirc-check-auth-status): Swap arguments to string-match.
27951
27952 2011-03-09 Glenn Morris <rgm@gnu.org>
27953
27954 * shell.el (shell-mode):
27955 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27956
27957 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27958 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27959
27960 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27961
27962 * emacs-lisp/package.el (package-refresh-contents)
27963 (package-menu-execute): Use condition-case-no-debug.
27964
27965 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27966
27967 * simple.el (shell-command-to-string): Use `process-file'.
27968
27969 * emacs-lisp/package.el (package-tar-file-info): Handle also
27970 remote files.
27971
27972 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27973 Use `equal' for upload base check.
27974
27975 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27976
27977 * textmodes/texinfo.el (texinfo-environments):
27978 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27979
27980 2011-03-08 Glenn Morris <rgm@gnu.org>
27981
27982 * cus-start.el (cursor-in-non-selected-windows):
27983 Fix :set quoting oddness. (Bug#8192)
27984
27985 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27986 in some setf expressions. (Bug#2159)
27987
27988 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27989
27990 * custom.el (custom-available-themes): Return themes in
27991 alphabetical order.
27992
27993 See ChangeLog.15 for earlier changes.
27994
27995 ;; Local Variables:
27996 ;; coding: utf-8
27997 ;; End:
27998
27999 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28000
28001 This file is part of GNU Emacs.
28002
28003 GNU Emacs is free software: you can redistribute it and/or modify
28004 it under the terms of the GNU General Public License as published by
28005 the Free Software Foundation, either version 3 of the License, or
28006 (at your option) any later version.
28007
28008 GNU Emacs is distributed in the hope that it will be useful,
28009 but WITHOUT ANY WARRANTY; without even the implied warranty of
28010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28011 GNU General Public License for more details.
28012
28013 You should have received a copy of the GNU General Public License
28014 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.