* lisp/progmodes/ruby-mode.el (ruby-move-to-block): Improve
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7132e457
DG
12013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
4 performance. Instead of recalculating indentation fully for each
5 line, sum up indentation depth based only on visited lines.
6 (ruby-parse-partial): Increase the depth after "do" even when END
7 is right after it.
8 (ruby-parse-partial): When END is in the middle of a percent
9 literal, increase the depth if the delimiter chars belong to the
10 paren syntax class.
11
3c4a4b23
KK
122013-02-13 Kirill A. Korinskiy <catap@catap.ru>
13
14 * play/fortune.el (fortune-compile): Also make the compiled file
15 if it does not exist at all, not just if it is old. (Bug#5338)
16
eeb468da
GM
172013-02-13 Glenn Morris <rgm@gnu.org>
18
19 * emacs-lisp/package.el (package-menu-execute): Doc fix.
20
212013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
a7da0114
YB
22
23 * lisp/emacs-lisp/package.el (package-menu-execute):
24 Add optional noquery argument. (Bug#13625)
25
01fcc3a5 262013-02-13 Michael Albinus <michael.albinus@gmx.de>
e08e7d91
MA
27
28 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
29 if DIR exists and PARENTS is non-nil.
30
d6596b94
JB
312013-02-13 Juanma Barranquero <lekktu@gmail.com>
32
33 * progmodes/js.el (js--multi-line-declaration-indentation):
34 Silence byte-compiler warning.
35
f1f05871
MA
362013-02-12 Michael Albinus <michael.albinus@gmx.de>
37
38 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
39
40 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
41 only if it doesn't exist.
42
43 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Set
44 process marker.
45
62c0e847
TH
462013-02-12 Tassilo Horn <tsdh@gnu.org>
47
48 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
49 UserInstallation when calling soffice to work around LibreOffice
50 bug 37531.
51
958614cf
GM
522013-02-12 Glenn Morris <rgm@gnu.org>
53
0b244335
GM
54 * files.el (basic-save-buffer):
55 Offer to create a non-existing directory. (Bug#3016)
56
958614cf
GM
57 * calc/calc-graph.el (calc-graph-show-dumb):
58 * calendar/calendar.el (calendar-mode-map):
59 * cus-edit.el (custom-mode-map):
60 * ehelp.el (electric-help-map):
61 * emulation/vip.el (vip-mode-map):
62 * epa.el (epa-key-list-mode-map):
63 * info.el (Info-mode-map):
64 * mail/rmail.el (rmail-mode-map):
65 * mail/rmailsum.el (rmail-summary-mode-map):
66 * man.el (Man-mode-map):
67 * net/newst-plainview.el (newsticker-mode-map):
68 * progmodes/cpp.el (cpp-edit-mode-map):
69 * progmodes/grep.el (grep-mode-map):
70 * progmodes/idlw-help.el (idlwave-help-mode-map):
71 * simple.el (special-mode-map):
72 * startup.el (splash-screen-keymap):
73 * view.el (view-mode-map):
74 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
75
4fa60c54
EP
762013-02-11 Elias Pipping <pipping@lavabit.com>
77
78 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
7e561c10 79 (bug#13679).
4fa60c54 80
99d0d6dc
SM
812013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
82
83 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
84
31db8c31
GM
852013-02-11 Glenn Morris <rgm@gnu.org>
86
5109429f
GM
87 * vc/diff.el (diff-use-labels): New variable.
88 (diff-no-select): Use --label rather than -L, and first
89 check that it is supported. (Bug#11067)
90
97a1cd9d
GM
91 * files.el (enable-dir-local-variables): New variable.
92 (hack-dir-local-variables): Respect enable-dir-local-variables.
93 * tutorial.el (help-with-tutorial):
94 Ignore directory-local variables. (Bug#11127)
95
31db8c31
GM
96 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
97 (vc-svn-global-switches): ... to here. (Bug#13513)
98
2f108463
CS
992013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
100
99d0d6dc
SM
101 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
102 Handle "foo (bar, default: xxx): " prompts.
2f108463 103
490a9458 1042013-02-10 Chong Yidong <cyd@gnu.org>
e78e7e48 105
0ccdf61e
CY
106 * files.el (basic-save-buffer-1): Do not set
107 buffer-file-coding-system-explicit (Bug#4533).
108
e78e7e48
CY
109 * mail/emacsbug.el (report-emacs-bug): Change binding of
110 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
111
5d9c6f17
JB
1122013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
113
114 * calc/calc.el (calc-allow-units-as-numbers): New variable.
115 * calc/calc-units.el (calc-convert-units): Use new variable.
116
8549f9e8
EZ
1172013-02-09 Eli Zaretskii <eliz@gnu.org>
118
2d050423
EZ
119 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
120
8549f9e8
EZ
121 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
122 buffer-file-type.
123
124 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
125 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
126 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
127 coding-system-for-write instead.
128
129 * jka-compr.el (jka-compr-write-region): Don't bind
130 buffer-file-type.
131
132 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
133 buffer-file-type.
134
135 * files.el (file-name-buffer-file-type-alist): Remove defvar.
136 (insert-file-contents-literally): Remove reference to
137 file-name-buffer-file-type-alist.
138
139 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
140 make-obsolete.
141 (find-buffer-file-type-match, find-buffer-file-type): Remove.
142 (find-buffer-file-type-coding-system): Remove references to
143 find-buffer-file-type-match, find-buffer-file-type, and
144 buffer-file-type.
145 Don't put find-buffer-file-type-coding-system into
146 file-coding-system-alist.
147 (find-file-binary, find-file-text): Bind coding-system-for-read
148 instead of file-name-buffer-file-type-alist.
149
9cbab8d6 1502013-02-09 Jambunathan K <kjambunathan@gmail.com>
f63f9398
TH
151
152 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
9cbab8d6
GM
153 converter (Bug#13622).
154 (doc-view-unoconv-program): Make obsolete alias.
f63f9398
TH
155 (doc-view-odf->pdf-converter-program): New variable.
156 (doc-view-odf->pdf-converter-function): New variable.
157 (doc-view-mode-p): Use it.
9cbab8d6
GM
158 (doc-view-odf->pdf-converter-unoconv):
159 Rename from `doc-view-odf->pdf-converter-unoconv'.
f63f9398 160 (doc-view-odf->pdf-converter-soffice): New function.
9cbab8d6
GM
161 (doc-view-convert-current-doc):
162 Use `doc-view-odf->pdf-converter-function'.
f63f9398 163
044a9eac
CY
1642013-02-09 Chong Yidong <cyd@gnu.org>
165
123ecb68
CY
166 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
167 view-echo-area-messages (Bug#13340).
168
169 * help.el (view-echo-area-messages): Use display-buffer.
170
044a9eac
CY
171 * dired-x.el (dired-do-run-mail): Prompt for confirmation
172 (Bug#13561).
173
1a601680
SM
1742013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
175
7f526211
SM
176 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
177 Eval body right away, now that we do eager macroexpansion (bug#13605).
178
c9586acc
SM
179 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
180 (fundamental-mode): Use run-mode-hooks.
181
1a601680
SM
182 * eshell/esh-proc.el (eshell/kill): Fix last change.
183 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
184
276a61a6
AG
1852013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
186
187 * eshell/esh-proc.el (eshell/kill): Rewrite.
188
189 * eshell/em-ls.el (show-almost-all): Declare.
190 (eshell-do-ls): Add support for -A argument.
191
6130b96a
J
1922013-02-08 Jambunathan K <kjambunathan@gmail.com>
193
194 * icomplete.el (icomplete-forward-completions)
195 (icomplete-backward-completions): Handle corner case (bug#13602).
196
fed00072
MA
1972013-02-07 Michael Albinus <michael.albinus@gmx.de>
198
199 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
200 be nil. Handle this. (Bug#13636)
201
469c5a60
RS
2022013-02-07 Richard Stallman <rms@gnu.org>
203
204 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
205 `save-buffer-coding-system'.
206
8c4b24b2 2072013-02-07 Alan Mackenzie <acm@muc.de>
d23b0804 208
8c4b24b2 209 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
d23b0804
AM
210 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
211 (c-parse-state-get-strategy): Don't return 'BOD any more.
8c4b24b2
GM
212 (c-append-lower-brace-pair-to-state-cache):
213 Extra parameter HERE instead of narrowing.
214 Widen to top of buffer before searching backwards for a brace pair.
215 (c-state-push-any-brace-pair): Add HERE parameter to function call.
216 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
217 Narrow to parameter HERE, in place of being called narrowed.
d23b0804
AM
218 (c-remove-stale-state-cache): Extra parameter HERE in place of
219 narrowing. Check there's an open brace in the cache before
220 searching for its match.
221 (c-invalidate-state-cache-1): Add HERE parameter to function call.
222 (c-parse-state-1): Don't narrow here for 'forward strategy,
8c4b24b2
GM
223 instead passing extra parameter HERE to several functions.
224 Remove 'BOD strategy.
d23b0804 225
55b056ba
NR
2262013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
227
228 * emacs-lisp/package.el (describe-package-1): Tell what archive is
229 used to install the package.
230
e86762ec
GM
2312013-02-06 Glenn Morris <rgm@gnu.org>
232
5fd03926
GM
233 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
234 if we can't get user input. (Bug#6567)
235
e86762ec
GM
236 * startup.el (command-line): If simple.el is missing,
237 test and warn about for some possible causes.
238
6871e574
JD
2392013-02-05 Jan Djärv <jan.h.d@swipnet.se>
240
241 * cus-start.el (all): Add ns-use-native-fullscreen.
242
3505fa02
GM
2432013-02-05 Glenn Morris <rgm@gnu.org>
244
ed746aa7
GM
245 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
246
3505fa02
GM
247 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
248 Fix directory creation in fallback case.
249
50fdf399
TV
2502013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
251
252 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
253 (vc-update-change-log): Use dolist.
254
6e5c1569
CY
2552013-02-04 Chong Yidong <cyd@gnu.org>
256
257 * thingatpt.el: Rewrite the URL detection routines, absorbing some
258 code from ffap.el.
259 (thing-at-point-beginning-of-url-regexp): New var.
260 (thing-at-point-uri-schemes): Update list of URI schemes.
261 (thing-at-point-url-regexp): Variable deleted.
262 (thing-at-point-markedup-url-regexp): Disallow newlines.
263 (thing-at-point-newsgroup-regexp)
264 (thing-at-point-newsgroup-heads)
265 (thing-at-point-default-mail-uri-scheme): New variables.
266 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
50fdf399
TV
267 method to find the possible bounds of the URI at point.
268 New optional argument to find ill-formed URIs.
6e5c1569
CY
269 (thing-at-point-url-at-point): Rewrite. New arguments for finding
270 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
271 the scheme-adding heuristics from ffap-url-at-point.
50fdf399
TV
272 (thing-at-point--bounds-of-well-formed-url): New function.
273 Do parens matching to decide whether to include parens in the URI
6e5c1569
CY
274 (Bug#9153).
275
276 * ffap.el: Require thingatpt.
277 (ffap-url-at-point): Delegate URI detection to thing-at-point.
278 All URI-valid characters are now recognized (Bug#5673).
279 (ffap-string-at-point): Use use-region-p.
280 (ffap-url-regexp): Extra character is handled by thing-at-point.
281 (ffap-string-at-point-mode-alist): Allow parentheses.
282 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
283 Convert to aliases; code moved to thingatpt.el.
284 (ffap-gnus-hook): Use setq-local.
285
84a06b50
GM
2862013-02-04 Glenn Morris <rgm@gnu.org>
287
288 * emacs-lisp/ert.el (ert--explain-format-atom):
289 Don't try to print non-characters as characters. (Bug#13543)
290
5870b2b1
MA
2912013-02-03 Michael Albinus <michael.albinus@gmx.de>
292
293 * net/tramp.el (tramp-debug-message): Extend function exclude list.
294 (tramp-backtrace): New defun.
295 (tramp-handle-insert-file-contents): Use `visit' when inserting
296 the local copy.
297
50fdf399
TV
298 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
299 Use `remote-file-name-inhibit-cache'.
5870b2b1 300
659a9010
SM
3012013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
302
4813c453
SM
303 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
304 (bug#13614).
305
659a9010
SM
306 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
307 current-load-list (bug#13366).
308
35114711
CS
3092013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
310
311 * progmodes/compile.el (compilation-error-regexp-alist-alist):
312 Identify g++ template instantiation trace. (Bug#12287)
85a83ea0
CS
313 (compilation-mode-hook, compilation-start-hook)
314 (compilation-window-height): Simplify docstrings. (Bug#13379)
35114711 315
94fbc901 3162013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13841bfc
SM
317
318 * mouse.el (mouse-drag-track): Always deactivate the mark before
319 running the final event's command since that command is in charge of
320 activating the mark if needed (bug#13523).
321
94fbc901 3222013-02-02 Juri Linkov <juri@jurta.org>
dc2bc295
JL
323
324 * replace.el (perform-replace): Move let-bindings of isearch-*
325 variables deeper to the loop that searches for the next match.
326 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
327 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
328 (Bug#13579)
329
330 * isearch.el (isearch-search-fun-default): Check for null
331 first element of isearch-cmds as a precaution when it's used
332 with inactive isearch.
333
94fbc901 3342013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
f864e0ea
AN
335
336 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
337 error when buffer in question is narrowed so position 1 is out of
338 visible part.
339
94fbc901 3402013-02-02 Glenn Morris <rgm@gnu.org>
fb77fe0f
GM
341
342 * textmodes/remember.el (remember-clipboard): Doc fix.
343
94fbc901 3442013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
c517ec69
SM
345
346 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
347 properties (bug#13179).
348
98da8c0f
JL
3492013-02-02 Juri Linkov <juri@jurta.org>
350
351 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
352 instead of hard-coded default face `match'. (Bug#9438)
353
7b6d5ecf
CS
3542012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
355
af314ba0
CS
356 * vc/vc-arch.el (vc-arch-registered):
357 * vc/vc-bzr.el (vc-bzr-registered):
358 * vc/vc-cvs.el (vc-cvs-registered):
359 * vc/vc-git.el (vc-git-registered):
360 * vc/vc-hg.el (vc-hg-registered):
361 * vc/vc-mtn.el (vc-mtn-registered):
362 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
363 (Bug#13139)
364
7b6d5ecf
CS
365 * info.el (Info-next-reference, Info-prev-reference): Add numeric
366 prefix argument. (Bug#11656)
367
686d9fb6
SM
3682013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
371
48c828b9
GM
3722013-02-01 Glenn Morris <rgm@gnu.org>
373
1f4f0f46
GM
374 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
375 if the backend is known not to support it.
376
48c828b9
GM
377 * imenu.el (imenu-default-create-index-function):
378 Tweak infinite loop test to check for forward motion as well as none.
379
cd87ae10
AH
3802013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
381
382 * net/soap-client.el (soap-invoke): Encode the string for
686d9fb6
SM
383 `url-request-data' as UTF-8.
384 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
cd87ae10 385
86e100a6
GM
3862013-02-01 Glenn Morris <rgm@gnu.org>
387
388 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
389
0eb61895
GM
390 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
391
61642d9a
MA
3922013-01-31 Michael Albinus <michael.albinus@gmx.de>
393
394 * net/tramp.el (tramp-tramp-file-p): Comment check for
395 `string-as-unibyte'. The function does not exist on XEmacs, and
396 likely we need another approach.
397
398 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
399 `tramp-gw-*' variables are bound.
400
9dbda100
GM
4012013-01-31 Glenn Morris <rgm@gnu.org>
402
403 * files.el (basic-save-buffer-2): Choose coding system for
404 writing the file before backing it up, to reduce delay between
405 backing up and writing the new version. (Bug#13522)
406
ad4de702
MN
4072013-01-31 Michal Nazarewicz <mina86@mina86.com>
408
409 * simple.el (cycle-spacing): New command.
410 (just-one-space): Use it.
411
9ca243c6
SM
4122013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
413
c4f268a1
SM
414 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
415 (opascal-newline-always-indents): Remove custom.
416 (opascal-tab, opascal-newline): Remove commands.
417 (opascal-new-comment-line): Insert "\n" instead of calling newline.
418 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
419 (opascal-save-match-data): Remove, use save-match-data instead.
420 (opascal-save-state): Use with-silent-modifications.
421
9ca243c6
SM
422 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
423 (bug#13585).
424
64ced394
JL
4252013-01-30 Juri Linkov <juri@jurta.org>
426
427 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
428 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
429 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
430
c56d2269
SM
4312013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
434 column if we're just deleting the backslashes.
435 (makefile-fill-paragraph): Use eolp.
436
382936d1
MA
4372013-01-30 Michael Albinus <michael.albinus@gmx.de>
438
439 * autorevert.el (auto-revert-use-notify): Fix docstring.
440
dd331297
LL
4412013-01-30 Leo Liu <sdl.web@gmail.com>
442
686d9fb6 443 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
dd331297 444
c491dd70
GM
4452013-01-30 Glenn Morris <rgm@gnu.org>
446
447 * mouse.el (mouse-drag-line): Avoid pushing same event onto
448 unread-command-events twice in some cases. This tries to implement
449 the 2012-07-26 changes in a different way. (Bug#13560)
450
6ff930c3
FEG
4512013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
452
453 * progmodes/python.el
454 (python-pdbtrack-comint-output-filter-function): Enhancements on
455 stacktrace detection. (thanks @gnovak)
456
1d4e7225
SM
4572013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
460 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
461 Use defvar-local.
462 (jit-lock-register): Use setq-local.
463
7c3fb76f
JB
4642013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
465
466 * calc-units.el (math-default-units-table): Remove initial value.
467 (calc-convert-units): Treat expressions where all the units cancel as
468 if they didn't have units.
469
8bc8712e
MA
4702013-01-30 Michael Albinus <michael.albinus@gmx.de>
471
472 * net/tramp.el (tramp-process-connection-type): Fix docstring.
473 (tramp-completion-reread-directory-timeout): Fix type.
474 (tramp-connection-min-time-diff): New defcustom.
475
476 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
477
1886a16d
GM
4782013-01-30 Glenn Morris <rgm@gnu.org>
479
480 * imenu.el (imenu-default-create-index-function):
481 Put back a version of the infinite loop test removed 2013-01-23.
482
3f82a88a 4832013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 484
1d4e7225
SM
485 * progmodes/python.el (python-shell-parse-command):
486 Find python-shell-interpreter with modified environment.
e4497086 487
3f82a88a 4882013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
489
490 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
491
953e5b8c
AM
4922013-01-29 Alan Mackenzie <acm@muc.de>
493
494 Amend to fontify /regexp/s in actions correctly.
495 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 496 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
497 are no longer included.
498 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
499 What used to be these variables without "-line" in the name.
686d9fb6 500 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
953e5b8c
AM
501 (c-awk-non-arith-op-bra-re): Now also matches {.
502 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
503 "return", and "case".
504 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
505 by /.
506 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
686d9fb6 507 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
953e5b8c 508
1b69262a
MA
5092013-01-29 Michael Albinus <michael.albinus@gmx.de>
510
1d4e7225
SM
511 * autorevert.el (auto-revert-use-notify):
512 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 513
1b69262a
MA
514 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
515
1d4e7225
SM
516 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
517 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 518 in `tramp-file-name-handler'.
ea55064c
MA
519 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
520 compatibility.
521 (tramp-compute-multi-hops): Check, whether
522 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 523
b2dc4f52
SM
5242013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
527 (bug#13297).
528
499572e4
DG
5292013-01-27 Dmitry Gutov <dgutov@yandex.ru>
530
531 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
532 checks made superfluous by the \_< operator.
a324b8c7
DG
533 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
534 temporarily) broken indentation.
b2dc4f52
SM
535 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
536 Highlight nested constants, too. \_< broke that.
499572e4
DG
537
5382013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
539
540 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
541 instead of "\\b".
542
629cb6ec
MA
5432013-01-27 Michael Albinus <michael.albinus@gmx.de>
544
545 * autorevert.el (auto-revert-handler): Notifications which result
546 from a saved file shall not be taken into account. (Bug#13557)
547
cc17363f
AS
5482013-01-26 Andreas Schwab <schwab@linux-m68k.org>
549
550 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
551 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
552 (lisp-mode): Pass t for it. (Bug#13556)
553
b7aea0ff
AM
5542013-01-25 Alan Mackenzie <acm@muc.de>
555
556 AWK Mode: Fix indentation bug at top level. Bug #12274.
557
558 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
559 just before CASE 5D.
560
1314a64c
DA
5612013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
562
563 * net/socks.el (socks-nslookup-host): Use string-to-number.
564
ef3544f6
MA
5652013-01-25 Michael Albinus <michael.albinus@gmx.de>
566
567 * autorevert.el (auto-revert-remote-files)
568 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
569 (auto-revert-notify-enabled, auto-revert-use-notify)
570 (auto-revert-notify-watch-descriptor-hash-list)
571 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
572 (auto-revert-notify-event-descriptor)
573 (auto-revert-notify-event-action)
574 (auto-revert-notify-event-file-name): Doc fix.
575 (global-auto-revert-mode): Reorder checks.
576 (auto-revert-notify-rm-watch): Respect changed values of
577 `auto-revert-notify-watch-descriptor-hash-list'.
578 (auto-revert-notify-add-watch): Check for
579 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
580 `inotify-add-watch'. Watch `default-directory' instead of
581 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
582 has a changed meaning now. (Bug#13540)
583 (auto-revert-notify-handler): Change implementation wrt events
584 returning from a directory.
585 (auto-revert-handler): Reorder implementation for checks of remote
586 files.
587 (auto-revert-buffers): Fix parentheses error.
588
830e46e6 5892013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
590
591 * progmodes/python.el: Enhancements to header documentation about
592 skeletons. (Bug#5716)
593
ddc62155
FEG
594 * imenu.el (imenu-default-create-index-function): Remove useless
595 infinite loop check. (Bug#13438)
596
830e46e6 5972013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
598
599 Fix a bug in the state cache mechanism. Refactor this a bit.
600
601 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
602 `cache-pos' element from the return value.
603 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
604 buffer to enable proper searching from beyond HERE. Amend the
605 test for detecting the sought brace pair. Amend the value written
606 to the "brace desert cache" when the brace isn't found.
607 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
608 and several other variables analogously.
609 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
610 parameter to a locally calculated variable.
611 (c-parse-state-1): Change the calling conventions to the two
612 defuns involving `cache-pos'.
613
830e46e6 6142013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
615
616 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
617
3d4147ba
BG
6182013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
619
620 * paren.el (show-paren-function): Make sure to set 'priority and
621 'face only if the overlay does exist.
622
e1ffa412
MA
6232013-01-24 Michael Albinus <michael.albinus@gmx.de>
624
625 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
626
627 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
628 basic attributes.
629 (tramp-sh-handle-set-file-acl): Improve error checking.
630
5ad86e34
DA
6312013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
632
633 * doc-view.el (doc-view-display): Force mode line update until all
634 document is converted. Suggested by Stefan Monnier (Bug#13164).
635
d6f9c03f
BG
6362013-01-23 Bastien Guerry <bzg@gnu.org>
637
638 * paren.el (show-paren-function): Make sure an overlay exists
639 before trying to delete it. Also use `pos' as a position only
640 when it is an integer.
641
3544e11a
DA
6422013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
643
644 * play/gametree.el (gametree-break-line-here): Use point-marker.
645
19b50424
MA
6462013-01-22 Michael Albinus <michael.albinus@gmx.de>
647
b2dc4f52
SM
648 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
649 Mark descriptive parts with `display' property.
19b50424 650
7fd5a843
AM
6512013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
652
653 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
654 New variable to map standard dict names to hunspell ones.
655 (ispell-set-spellchecker-params): Make sure specific dict names
656 are used for standard dicts with hunspell.
657
e6aff855
TH
6582013-01-21 Tassilo Horn <tsdh@gnu.org>
659
660 * textmodes/reftex-cite.el (reftex-format-citation): Add format
661 chars for note (%N) and url (%U).
662 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
663
c84b0881
JL
6642013-01-21 Juri Linkov <juri@jurta.org>
665
666 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
667 in addition to existing separate binding `meta f10' in `global-map'.
668 (Bug#13484)
669
a36e2d26
MA
6702013-01-21 Michael Albinus <michael.albinus@gmx.de>
671
672 Improve XEmacs compatibility.
673
674 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
675
676 * net/tramp-adb.el (top): Require `time-date'.
677 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
678 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
679 Use `tramp-file-name-handler'.
680 (tramp-adb-maybe-open-connection):
681 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 682
b2dc4f52
SM
683 * net/tramp-sh.el (tramp-sh-handle-file-acl):
684 Use `tramp-compat-funcall'.
a36e2d26
MA
685
686 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
687 `tramp-compat-funcall'.
688
88c7dfa3
JH
6892013-01-21 Jürgen Hötzel <juergen@archlinux.org>
690
691 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
692 reimplementation using "adb shell command ..." instead of running
693 remote shell interactively.
694
15df6fa4
GM
6952013-01-20 Glenn Morris <rgm@gnu.org>
696
a576cc76
GM
697 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
698 Add native profiler menu entries.
699
15df6fa4
GM
700 * profiler.el (profiler-running-p): New function.
701 (profiler-cpu-profile): Use profiler-running-p.
702 (profiler-report-mode-map): Add some more menu entries.
703
c4d1e0c3
GM
7042013-01-19 Glenn Morris <rgm@gnu.org>
705
706 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
707 fixes 2012-12-07 change. (Bug#13499)
708
795e7a5b 7092013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
710
711 * dired.el (dired-get-marked-files): Prune erroneous values due to
712 last change. (Bug#13152)
713
795e7a5b 7142013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
715
716 * progmodes/etags.el (tags-table-check-computed-list):
717 Preserve point in tags buffer. (Bug#13412)
718
f8a42ad6
GM
719 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
720
20de6ab6
CW
7212013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
722 Chong Yidong <cyd@gnu.org>
723
b2dc4f52
SM
724 * image-mode.el (image-next-file, image-previous-file):
725 New commands (Bug#8453).
20de6ab6
CW
726 (image-mode-map): Bind them to n and p.
727 (image-mode--images-in-directory): New helper function.
728
2a43515a
CY
7292013-01-19 Chong Yidong <cyd@gnu.org>
730
731 * image-mode.el (image-mode-fit-frame): Add a frame argument.
732 Suggested by Drew Adams (Bug#7730). Handle window decorations;
733 save and restore the old window configuration.
734
b1170947
LL
7352013-01-18 Leo Liu <sdl.web@gmail.com>
736
737 * progmodes/js.el: Tweak autoload cookie for alias.
738
0eb87688
MA
7392013-01-17 Michael Albinus <michael.albinus@gmx.de>
740
741 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
742 buffer local, again. This was lost with the fix on 2013-01-12.
743
99d36ea8
JH
7442013-01-17 Jürgen Hötzel <juergen@archlinux.org>
745
746 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
747 order to support several eshell buffers in parallel.
748
68a08a32
MA
7492013-01-17 Michael Albinus <michael.albinus@gmx.de>
750
751 * autorevert.el (auto-revert-use-notify): In the :set function, do
752 not modify `kill-buffer-hook'.
b2dc4f52
SM
753 (auto-revert-notify-rm-watch):
754 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
755 (auto-revert-notify-add-watch): Do not call
756 `auto-revert-notify-rm-watch', but add it to a buffer local
757 `kill-buffer-hook'.
758
e59eee43
SM
7592013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
762 call to `eval' rather than a backquoted lambda.
763
6e8cd0ae
SM
7642013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
765
cb9c0a53
SM
766 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
767 to return an explicit nil.
768 (advice--remove-function): Change accordingly.
769
770 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
771 the use of nadvice.el.
772
6e8cd0ae
SM
773 * progmodes/which-func.el (which-function): Silence imenu errors
774 (bug#13433).
775
4586ce8a
MM
7762013-01-15 Michael R. Mauger <mmaug@yahoo.com>
777
6e8cd0ae 778 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
779 (sql-mode-font-lock-object-name): Match schema qualified names.
780 (sql-connect): Use string keys.
781 (sql-product-interactive): Wait for interpreter prompt.
782 (sql-comint-oracle): Set process coding based on NLS_LANG.
783
9d55215c
MM
7842013-01-15 Michael R. Mauger <mmaug@yahoo.com>
785
786 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
787 (sql-interactive-remove-continuation-prompt):
788 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 789
57dd9e68
LL
7902013-01-14 Leo Liu <sdl.web@gmail.com>
791
792 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
793 (Bug#13420)
794
51e73492
GM
7952013-01-14 Glenn Morris <rgm@gnu.org>
796
797 * progmodes/compile.el (compilation-error-regexp-alist-alist):
798 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
799
c0511b57 8002013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 801
6e8cd0ae
SM
802 * progmodes/python.el (python-nav-end-of-statement):
803 Fix cornercase when handling multiline strings.
50620051 804
4c0a6d4a
RS
8052013-01-13 Richard Stallman <rms@gnu.org>
806
9f7e86ef
RS
807 * mail/sendmail.el (mail-position-on-field): Add doc string.
808
6e8cd0ae
SM
809 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
810 Get current message boundaries and pass them to
4c0a6d4a
RS
811 message-forward-make-body-mime. Minor style changes.
812
ad33a799
EZ
8132013-01-13 Eli Zaretskii <eliz@gnu.org>
814
815 * cus-start.el (all): Avoid warnings about
6e8cd0ae 816 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 817
616763d5
JD
8182013-01-11 Jan Djärv <jan.h.d@swipnet.se>
819
820 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
821
e5b5a34d
SM
8222013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
823
824 * jit-lock.el (jit-lock-debug-mode): New minor mode.
825 (jit-lock--debug-fontifying): New var.
826 (jit-lock--debug-fontify): New function.
827 * subr.el (condition-case-unless-debug): Don't prevent catching the
828 error, just let the debbugger run.
829 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
830 timer code and don't drop errors silently.
831
2daddd9e
MA
8322013-01-12 Michael Albinus <michael.albinus@gmx.de>
833
834 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
835 `permanent-local' property.
71c661e4 836 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 837
86fbb162
EZ
8382013-01-12 Eli Zaretskii <eliz@gnu.org>
839
840 * autorevert.el (auto-revert-notify-handler): Fix filtering of
841 file notification by ACTION. For filtering by file name, compare
842 only the non-directory part of the file name.
843
a0784609
SM
8442013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
845
96c421bb
SM
846 * autorevert.el: Use cl-lib instead of cl.
847
a0784609
SM
848 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
849 (vc-bzr-checkin): Use it.
850 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
851 will preserve match-data.
852
f90ff906 8532013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 854
f90ff906
FD
855 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
856 (js--declaration-keyword-re): New var.
857 (js--multi-line-declaration-indentation): New function.
858 (js--proper-indentation): Use it.
9fc9a531 859
f90ff906 8602013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 861
f90ff906
FD
862 * calc/calc.el (calc-highlight-selections-with-faces)
863 (calc-dispatch):
864 * comint.el (comint-history-isearch-message):
865 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
866 * ffap.el (ffap-string-at-point-region, ffap-next)
867 (ffap-string-at-point, ffap-string-around)
868 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 869 (ffap-literally):
9fc9a531 870 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
871 (font-lock-removed-keywords-alist):
872 * help-mode.el (help-xref-symbol-regexp):
873 * info.el (Info-find-emacs-command-nodes):
874 * international/mule.el (add-to-coding-system-list):
875 * isearch.el (isearch-message-function, isearch-fail-pos):
876 * misearch.el (multi-isearch-next-buffer-function):
877 * newcomment.el (comment-box):
9fc9a531 878 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 879 (pr-setting-database):
9fc9a531
AH
880 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
881 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
882 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
883 (pike-font-lock-keywords-3):
884 * progmodes/compile.el (compile):
9fc9a531 885 * progmodes/etags.el (tags-table-files)
f90ff906 886 (tags-table-files-function, tags-included-tables-function):
9fc9a531 887 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 888 (gdb-restore-windows):
9fc9a531 889 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
890 (ps-n-up-filling-database):
891 * server.el (server-buffer, server-log):
9fc9a531
AH
892 * simple.el (newline, delete-backward-char, delete-forward-char)
893 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 894 (temporary-goal-column):
9fc9a531 895 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
896 (flyspell-default-deplacement-commands):
897 * textmodes/ispell.el (ispell-accept-output):
898 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 899 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
900 (compare-ignore-case, compare-windows-dehighlight):
901 * vc/diff.el (diff):
9fc9a531
AH
902 * whitespace.el (whitespace-point)
903 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 904 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 905
65adfa20
MA
9062013-01-11 Michael Albinus <michael.albinus@gmx.de>
907
908 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
909 (auto-revert-notify-rm-watch): Ignore errors.
910 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
911 inotify, and '(size last-write-time) for w32notify.
912 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
913 watch fails - this is a fallback to the file modification check.
914 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
915 (auto-revert-notify-event-action)
916 (auto-revert-notify-event-file-name): New defuns.
917 (auto-revert-notify-handler): Use them. Implement first
918 plausibility checks.
919 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
920
43b2e2e7
JD
9212013-01-11 Julien Danjou <julien@danjou.info>
922
923 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
924 max are almost equal. Also return the correct value for V which is
925 already between 0 and 1.
926
30818a23
DA
9272013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
928
929 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
930
10e714d5
EZ
9312013-01-11 Eli Zaretskii <eliz@gnu.org>
932
933 * autorevert.el (auto-revert-notify-rm-watch)
934 (auto-revert-notify-add-watch): Fix typos in w32notify function
935 names.
936
a778dd57
MA
9372013-01-10 Michael Albinus <michael.albinus@gmx.de>
938
939 * autorevert.el (auto-revert-notify-enabled): Move up.
940 (auto-revert-use-notify): New defcustom.
941 (auto-revert-mode, global-auto-revert-mode)
942 (auto-revert-notify-add-watch, auto-revert-handler)
943 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
944 `auto-revert-notify-enabled'.
945
72781fef
EP
9462013-01-10 Elias Pipping <pipping@exherbo.org>
947
948 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
949 * doc-view.el (doc-view-document->bitmap):
950 Use doc-view-single-page-converter-function instead of
951 single-page-converter arg; adjust callers.
952
e6ed8f08
FL
9532013-01-10 Feng Li <fengli@gmail.com> (tiny change)
954
955 * progmodes/which-func.el (which-function): Understand Semantic's use
956 of overlays in imenu--index-alist.
957
327a6cca
WJ
9582013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
959
960 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
961 (Man-man-k-use-anchor): New var.
962 (Man-parse-man-k): New function.
963 (Man-completion-table): Use it.
964 (man): Flush the completion cache between uses.
965
ed911257
MA
9662013-01-10 Michael Albinus <michael.albinus@gmx.de>
967
968 * autorevert.el: Add file watch support.
969 (auto-revert-notify-enabled): New defconst.
970 (auto-revert-notify-watch-descriptor-hash-list)
971 (auto-revert-notify-watch-descriptor)
972 (auto-revert-notify-modified-p): New defvars.
973 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
974 (auto-revert-notify-handler): New defuns.
975 (auto-revert-mode, global-auto-revert-mode): Remove file watches
976 when mode is disabled.
977 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
978 (auto-revert-buffers): Add file watches for active buffers.
979
58cc0a01
DA
9802013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
981
982 * cus-start.el (toplevel): Only allow float values for
983 scroll-up-aggressively and scroll-down-aggressively.
984 Allow any number for line-spacing.
985
bbc7ff25
SM
9862013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
989 (doc-view-pdf->png-converter-function): Use mupdf if available.
990 (doc-view-djvu->png-converter-function)
991 (doc-view-ps->png-converter-function): Remove.
992 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
993 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
994 (doc-view-already-converted-p): Adjust accordingly.
995 (doc-view-mode-p): Simplify.
996 (doc-view-enlarge): Use setq-local.
997 (doc-view-pdf->png-converter-ghostscript)
998 (doc-view-djvu->png-converter-ddjvu)
999 (doc-view-pdf->png-converter-mupdf): Rework to call
1000 doc-view-start-process directly.
1001 (doc-view-pdf/ps->png): Simplify accordingly.
1002 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1003 (doc-view-document->bitmap): Rename from doc-view-document->png.
1004 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1005 (doc-view-set-slice-from-bounding-box): Fix completion table.
1006 (doc-view-mode): Use add-hook for after-revert-hook.
1007
3c855b96
GM
10082013-01-10 Glenn Morris <rgm@gnu.org>
1009
1010 * emacs-lisp/authors.el (authors-ignored-files)
1011 (authors-valid-file-names, authors-renamed-files-alist):
1012 Add some more entries.
1013
3f9549e8 10142013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
1015
1016 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1017 `t' pseudo-window entry.
1018
3f9549e8 10192013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
1020
1021 Fix bugs in the c-parse-state mechanism. Reuse some markers
1022 instead of continually generating new ones.
1023
1024 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1025 (c-state-old-cpp-end-marker): New variables.
1026 (c-append-lower-brace-pair-to-state-cache): Start a backward
1027 search for "}" definitively outside CPP constructs.
1028 (c-remove-stale-state-cache): Inform the caller of a need to
1029 search back for a brace pair in certain circumstances.
1030 (c-state-maybe-marker): New macro.
1031 (c-parse-state): Reuse markers when appropriate.
1032
3f9549e8 10332013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
1034
1035 * simple.el (execute-extended-command): Doc fix.
1036 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1037
3f9549e8 10382013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
1039
1040 * faces.el (read-face-name): Doc fix.
1041
b14abca9
RW
10422013-01-10 Roland Winkler <winkler@gnu.org>
1043
1044 * emacs-lisp/crm.el: Allow any regexp for separators.
1045 (crm-default-separator): All spaces around the default comma separator.
1046 (crm--completion-command): New macro.
1047 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1048 (crm-complete-and-exit): Handle non-single-char separators.
1049
2b541f9a
EP
10502013-01-09 Elias Pipping <pipping@lavabit.com>
1051
1052 * doc-view.el: Add support for DjVu (bug#13164).
1053 (doc-view-djvu->png-converter-function): New config var.
1054 (doc-view-single-page-converter-function, doc-view--image-type)
1055 (doc-view--image-file-extension): New vars.
1056 (doc-view-mode): Initialize them.
1057 (doc-view-goto-page): Use them.
1058 (doc-view-mode-p): Add support for ddjvu.
1059 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1060 (doc-view-set-up-single-converter): New funs.
1061 (doc-view-pdf/ps->png): Extend for djvu.
1062 (doc-view-document->png): Rename from doc-view-pdf->png.
1063 (doc-view-convert-current-doc): Handle djvu.
1064 (doc-view-insert-image, doc-view-display)
1065 (doc-view-already-converted-p): Don't hardcode png.
1066 (doc-view-set-doc-type): Recognize djvu docs.
1067
85f17e35
EP
10682013-01-09 Elias Pipping <pipping@lavabit.com>
1069
1070 * doc-view.el: Add support for mupdf converter (bug#13164).
1071 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1072 (doc-view-ps->png-converter-function): New config vars.
1073 (doc-view-pdf->png-converter-ghostscript)
1074 (doc-view-ps->png-converter-ghostscript)
1075 (doc-view-pdf->png-converter-mupdf): New functions.
1076 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1077
ccd04887
MA
10782013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1079
1080 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1081 first in session cache: When `tramp-own-remote-path' is in
1082 `tramp-remote-path', the remote path is only set in the session
1083 cache.
1084
c5ad92de
GM
10852013-01-09 Glenn Morris <rgm@gnu.org>
1086
fb9f7146
GM
1087 * emacs-lisp/trace.el (trace-function-foreground)
1088 (trace-function-background): Doc fix.
c5ad92de 1089
39a0786e
JL
10902013-01-09 Juri Linkov <juri@jurta.org>
1091
1092 * international/mule-cmds.el (read-char-by-name): Move let-binding
1093 of completion-ignore-case around completing-read to fix regression
1094 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1095 `string-match-p' using the nil value of `case-fold-search' and
1096 `completion-ignore-case' in `completion-pcm--all-completions'.
1097 (Bug#12615).
1098
fb9f7146 10992013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
1100
1101 * progmodes/compile.el (compilation-parse-errors):
1102 Fix typo. (Bug#13369)
1103
fb9f7146 11042013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
1105
1106 * comint.el (comint-send-input): Check size of buffer before
1107 waiting for process output, in case already accepted. (Bug#13290)
1108
677d5c92
PE
11092013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1110
1111 Spelling fixes.
1112 * net/tramp-adb.el (tramp-adb-get-toolbox):
1113 Fix misspelling of 'unknown'.
1114
073ca75b
JL
11152013-01-08 Juri Linkov <juri@jurta.org>
1116
1117 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1118 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1119 Use underline style wave on terminals that support it. (Bug#13000)
1120
a4648137
SM
11212013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1122
4bdc3526
SM
1123 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1124 the predicate returns nil.
1125
a4648137
SM
1126 * simple.el: Use lexical-binding.
1127 (primitive-undo): Use pcase.
1128 (minibuffer-history-isearch-push-state): Use a closure.
1129
3bace969
AH
11302013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1131
1132 * simple.el (primitive-undo): Move from undo.c.
1133
a731fc1b
SM
11342013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1c851e98
SM
1136 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1137 (cvs-mode-remove-handled): Use it (bug#13380).
1138
a731fc1b
SM
1139 * emacs-lisp/nadvice.el (advice--tweak): New function.
1140 (advice--remove-function, advice--subst-main): Use it.
1141
1142 * emacs-lisp/advice.el: Update commentary.
1143
2a22c83b
MA
11442013-01-08 Michael Albinus <michael.albinus@gmx.de>
1145
a731fc1b
SM
1146 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1147 Remove spurious entry.
2a22c83b 1148
83c1803a
GM
11492013-01-08 Glenn Morris <rgm@gnu.org>
1150
1151 * net/tramp.el (tramp-default-host-alist): Add :version.
1152
8a2e287c
JL
11532013-01-08 Juri Linkov <juri@jurta.org>
1154
1155 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1156 single completion. (Bug#12456)
1157 (info--manual-names): Expand node completions into an explicit list
1158 before appending it to another list. Filter out internal buffers
1159 with the leading space in the buffer name. (Bug#10771)
1160
c6a22ce2
JL
11612013-01-08 Juri Linkov <juri@jurta.org>
1162
1163 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1164 that defaults to the Top node.
1165 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1166 the short format (FILENAME) goes to the Top node.
1167 (Info-build-node-completions): Rename arg `file' to `filename'.
1168 (Bug#13365)
1169
acfe10b7
BG
11702013-01-07 Bastien Guerry <bzg@gnu.org>
1171
a731fc1b
SM
1172 * menu-bar.el (menu-bar-search-documentation-menu):
1173 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
1174
11752013-01-07 Bastien Guerry <bzg@gnu.org>
1176
1177 * apropos.el (apropos-do-all): Update docstring.
1178 (apropos-user-option-button): New face.
1179 (apropos-user-option): Rename from `apropos-variable' and update
1180 docstring.
1181 (apropos-variable): Rewrite, now show all variables by default.
1182 (apropos-print): Mention "User option" instead of "Variable" when
1183 printing doc for user options. (Bug#13276)
1184
62bcf670
JH
11852013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1186
1187 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1188 Handle filename correctly, when parsing "source -> target" symlink
1189 output.
1190 (tramp-adb-handle-set-file-times): New defun.
1191
4986fa21
SM
11922013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1195 advice list when the interactive-spec of ad-Advice-* changes.
1196
3bee311e
KY
11972013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1198
1199 * wid-edit.el (widget-default-get): Work for inlined elements.
1200 (Bug#12670)
1201
b49eebcc
MA
12022013-01-07 Michael Albinus <michael.albinus@gmx.de>
1203
1204 * net/tramp.el (tramp-default-host-alist): New defcustom.
1205 (tramp-find-host): Use it.
4986fa21 1206 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
1207 `eshell-directory-change-hook'.
1208
1209 * net/tramp-adb.el (top): Add adb specific entry in
1210 `tramp-default-host-alist'.
1211 (tramp-adb-file-name-host): Remove function.
1212 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1213 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1214
3bee311e 1215 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 1216
84f6744a
JH
12172013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1218
1219 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1220
b6cfbcd0
MA
12212013-01-06 Michael Albinus <michael.albinus@gmx.de>
1222
1223 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 1224 consist of more than one digit.
4986fa21
SM
1225 (tramp-adb-file-name-handler-alist):
1226 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
1227 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1228 (tramp-adb-handle-file-exists-p): Remove function.
1229 (tramp-adb-file-name-host): New defun.
1230 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1231 Use it.
1232 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1233
58ba7b1b
CY
12342013-01-06 Chong Yidong <cyd@gnu.org>
1235
1236 * vc/vc.el (vc-next-action): Detect buffer modifications
1237 conflicting with locking VCS operation (Bug#11490).
1238
1239 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1240
f4566fe9
MA
12412013-01-05 Michael Albinus <michael.albinus@gmx.de>
1242
1243 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1244 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1245
838cf298
MA
12462013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1247
1248 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1249 parsing of ls output using regular expression (handle filenames
1250 with spaces). Use virtual device number.
1251 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1252 cleanup).
1253
1bd71e9f
DU
12542013-01-04 Daiki Ueno <ueno@gnu.org>
1255
1256 * epg.el: Silence byte-compiler warnings.
1257 (epg--start): Use delete-char instead of delete-backward-char.
1258 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1259
00cd4c1c
DU
12602013-01-04 Daiki Ueno <ueno@gnu.org>
1261
1262 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1263 Suggested by Eli Zaretskii <eliz@gnu.org>.
1264
f99ced35
MA
12652013-01-04 Michael Albinus <michael.albinus@gmx.de>
1266
1267 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1268 non-negative integers. Otherwise, the default values are used.
1269 (tramp-convert-file-attributes): Convert uid and gid to integers.
1270
0f668a4d 12712013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 1272
d2be4dcc
GM
1273 * term.el (term-handle-colors-array): Ensure face attributes
1274 are fully specified, not nil. (Bug#13337)
1275
5b00b749
GM
1276 * term.el (term-default-fg-color, term-default-bg-color):
1277 Fix custom type.
1278
220740a3
GM
1279 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1280 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1281 rather than 'jka-compr being loaded. (Bug#13338)
1282
bdd9367d
WD
12832013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1284
1285 * icomplete.el (icomplete-completions):
1286 Honor icomplete-prospects-height once more following
1287 2012-11-29 changes. (Bug#13224)
1288
96dd18b1
SM
12892013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1290
c0bd248c
SM
1291 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1292 of called-interactively-p as well (bug#13237).
1293
4a74c818
SM
1294 * view.el (view--enable, view--disable): Rename from view-mode-enable
1295 and view-mode-disable and assume it's called from view-mode.
1296 (view-mode-enable, view-mode-disable): Redefine as obsolete
1297 compatibility layer above view-mode.
1298 (view-mode-enter): Call `view-mode'.
1299
1300 * files.el (after-find-file): Call `view-mode'.
1301
96dd18b1
SM
1302 * doc-view.el (doc-view-scale-internally): New var.
1303 (doc-view-enlarge, doc-view-insert-image): Obey it.
1304
c2cf1829
DU
13052013-01-03 Daiki Ueno <ueno@gnu.org>
1306
1307 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1308 exist. (Bug#13344)
1309
ad235a8b
GM
13102013-01-03 Glenn Morris <rgm@gnu.org>
1311
a8aa6c2d
GM
1312 * mail/rmail.el (rmail-set-header-1): Ignore case.
1313 Handle multi-line headers. (Bug#13330)
1314
a6d6c20b
GM
1315 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1316 Handle paragraph starting at beginning of buffer.
1317
ed5bdeb9
GM
1318 * subr.el (eval-after-load): Don't purecopy the form, so that it
1319 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1320
ad235a8b
GM
1321 * emacs-lisp/byte-run.el (defun): Place cl declarations
1322 after any interactive spec. (Bug#13265)
1323
9539d465 13242013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
1325
1326 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1327 defun. Don't check for DECL if DOCSTRING isn't a string.
1328 (defun): Likewise.
1329
9539d465 13302013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 1331
5ee1772e
GM
1332 * eshell/em-cmpl.el (eshell-pcomplete):
1333 More thoroughly imitate pcomplete. (Bug#13293)
1334
4cddca30
GM
1335 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1336 Return nil for empty path elements. (Bug#13296)
1337
9539d465 13382013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
1339
1340 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1341 order to improve efficiency (Based on Daniel Colascione's
1342 <dancol@dancol.org> patch). (Bug#13182)
1343
9539d465 13442013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
1345
1346 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1347
9539d465 13482013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
1349
1350 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1351 neither DOCSTRING nor DECL was given. (Bug#13316)
1352
aca3d51d
MA
13532013-01-02 Michael Albinus <michael.albinus@gmx.de>
1354
1355 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1356 `error' call.
1357 (tramp-do-copy-or-rename-file): Ignore errors when calling
1358 `set-file-extended-attributes'.
1359
4986fa21
SM
1360 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1361 Add handler for `file-acl'.
aca3d51d
MA
1362 (tramp-smb-handle-file-acl): New defun.
1363
87e65f96
JB
13642013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1365
1366 * calc/README: Mention ISO 8601 week-numbering dates.
1367
0aac98ac
MR
13682013-01-01 Martin Rudalics <rudalics@gmx.at>
1369
1370 * view.el (view-mode-enable): New argument run-view-mode-hook.
1371 Run view-mode-hook only when it's non-nil (Bug#13315).
1372 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1373 argument t.
1374
1a82330c
JH
13752012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1376
1377 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1378 (No device connected, invalid device name). (Bug #13299)
1379
27fcfe31
MR
13802012-12-31 Martin Rudalics <rudalics@gmx.at>
1381
1382 * window.el (window-resizable--p): Rename to window-resizable-p.
1383 (window-resize-no-error): New function.
1384
1385 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1386 broken in fix from 2012-12-28.
1387
96c052a5
SM
13882012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * subr.el (special-form-p): Don't signal errors on undef aliases.
1391
fd1f1603
JB
13922012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1393
1394 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
1395 `math-parse-iso-date' when it looks like it might be needed.
1396 Allow times of 24:00.
fd1f1603
JB
1397 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1398 of 24:00.
1399
8db39aeb
GM
14002012-12-30 Glenn Morris <rgm@gnu.org>
1401
1402 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1403 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1404 (rmail-summary-displayed, rmail-summary): Declare.
1405 (mairix-rmail-display): Just require rmail.
1406
d5e5e7b4 14072012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
1408
1409 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1410 check for the tarball contents.
1411
d5e5e7b4 14122012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
1413
1414 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1415 tarfile content listings (Bug#13136).
1416
d5e5e7b4 14172012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 1418
96c052a5
SM
1419 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1420 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 1421
4f752957
MA
14222012-12-30 Michael Albinus <michael.albinus@gmx.de>
1423
3ee24a3b
MA
1424 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1425 integers, if they are real numbers. (Bug#13282)
1426
4f752957
MA
1427 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1428 Return `t' on success.
1429
96c052a5
SM
1430 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1431 Add handler for `set-file-selinux-context'.
4f752957 1432
eff2eb58
MA
14332012-12-29 Michael Albinus <michael.albinus@gmx.de>
1434
1435 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1436 (tramp-sh-handle-set-file-acl): Return `t' on success.
1437
ccad023b
EZ
14382012-12-29 Eli Zaretskii <eliz@gnu.org>
1439
96c052a5
SM
1440 * files.el (backup-buffer-copy, basic-save-buffer-2):
1441 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 1442 instead of signaling an error. (Bug#13298)
7e56b103 1443 (basic-save-buffer): Likewise.
ccad023b 1444
ccb1c17e
FEG
14452012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1446
1447 * progmodes/python.el: Support other commands triggering
1448 python-indent-line so indentation cycling continues to work.
1449 (python-indent-trigger-commands): New defcustom.
1450 (python-indent-line): Use it.
1451
16768034
FEG
14522012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1453
1454 * progmodes/python.el (python-shell-send-region): Add blank lines
1455 for non sent code so backtraces remain correct.
1456
66164d2f
FEG
14572012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1458
1459 * progmodes/python.el: Remove cl dependency.
1460 (python-syntax-count-quotes): Replace incf call.
1461 (python-fill-string): Replace setf call.
1462
761231d1
DC
14632012-12-29 Damien Cassou <damien.cassou@gmail.com>
1464
43ebd12b 1465 * info.el (info-other-window): New arg, for consistency with info.
761231d1 1466
7c3e220a
MR
14672012-12-28 Martin Rudalics <rudalics@gmx.at>
1468
96c052a5
SM
1469 * mail/rmail.el (rmail-maybe-display-summary):
1470 Rewrite (Bug#13066).
7c3e220a 1471
361828b5
AS
14722012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1473
1474 * epg.el (epg--start): Modify process-environment locally.
1475
23bd348c
DU
14762012-12-28 Daiki Ueno <ueno@gnu.org>
1477
1478 * epg.el: Support pinentry-curses.
1479 Suggested by Werner Koch in
1480 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1481 (epg-agent-file, epg-agent-mtime): New variable.
1482 (epg--start): Record the modified time of gpg-agent socket file,
1483 to restore Emacs frame after pinentry-curses termination.
1484 (epg-wait-for-completion): Restore Emacs frame here.
1485
313f39aa
JL
14862012-12-27 Juri Linkov <juri@jurta.org>
1487
1488 * info.el (Info-file-completions): New variable.
1489 (Info-read-node-name-1): Complete node names in the Info file
1490 when a file name is given. Call `Info-build-node-completions'
1491 with a file name.
1492 (Info-build-node-completions): Add new arg `file'. When it is
1493 non-nil, visit it in a temporary buffer and cache its completions in
1494 `Info-current-file-completions'. Move most of the function body to
1495 `Info-build-node-completions-1'.
1496 (Info-build-node-completions-1): New function with the body from
1497 `Info-build-node-completions'. (Bug#12456)
1498
a45b7647
JL
14992012-12-27 Juri Linkov <juri@jurta.org>
1500
1501 * frame.el (frame-maximization-style): Remove user option.
1502 (cycle-frame-maximized): Remove function.
1503 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1504 (toggle-frame-fullscreen): New command bound to <f11> instead of
1505 `toggle-frame-maximized'.
1506 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1507
10ffd0be
MA
15082012-12-27 Michael Albinus <michael.albinus@gmx.de>
1509
1510 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1511
1512 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1513 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1514 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1515 for `file-accessible-directory-p'. (Bug#13275)
1516
fd146719
SS
15172012-12-27 Sam Steingold <sds@gnu.org>
1518
1519 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1520 continuations, see <http://stackoverflow.com/questions/3582436>.
1521
82e2a1f0 15222012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
1523
1524 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
1525 "module" and "def" to have indentation before them.
1526 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 1527
ea0857a1
DG
1528 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1529
82e2a1f0 15302012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
1531
1532 Speed up fontification where there's large brace blocks.
1533 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1534 to a call of c-beginning-of-decl-1.
1535
c34339f3
VS
15362012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1537
1538 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
1539 (comint-postoutput-scroll-to-bottom):
1540 Call comint-adjust-window-point (Bug#13248).
c34339f3 1541
78269b95
DG
15422012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1543
1544 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1545 Rakefile regexp.
1546 (auto-mode-alist): Associate .gemspec files with ruby-mode
1547 (https://bugs.ruby-lang.org/issues/5453).
1548
bd8c13f9
JH
15492012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1550
96c052a5
SM
1551 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1552 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 1553 CyanogenMod).
bd8c13f9
JH
1554 (tramp-adb-handle-file-attributes)
1555 (tramp-adb-handle-insert-directory)
1556 (tramp-adb-handle-file-name-all-completions): Use it.
1557 (tramp-adb-get-toolbox): New defun. Check for remote shell
1558 implementation (BusyBox or Toolbox).
1559
dc646358
CK
15602012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1561
1562 * startup.el (initial-buffer-choice): Allow function as value
1563 (Bug#13251).
1564 (command-line-1): Handle case where initial-buffer-choice
1565 specifies a function.
1566 * server.el (server-execute): Handle case where
1567 initial-buffer-choice specifies a function.
1568
e7d52a4d
LI
15692012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1570
1571 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1572 its own function.
1573 (smtpmail-try-auth-methods): Forget the user name/password if the
1574 login is unsuccessful (bug#12424).
1575
cdb07539
MA
15762012-12-22 Michael Albinus <michael.albinus@gmx.de>
1577
1ef5f225
MA
1578 * notifications.el (notifications-notify): Protect body with
1579 `with-demoted-errors'.
1580
96c052a5
SM
1581 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1582 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
1583 change.
1584
594f37aa
CY
15852012-12-21 Chong Yidong <cyd@gnu.org>
1586
1587 * sort.el (sort-subr): Doc fix (Bug#13056).
1588
a4b0cca1 15892012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 1590
acc650b8
BG
1591 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1592
0e9c7693
MA
15932012-12-21 Michael Albinus <michael.albinus@gmx.de>
1594
1595 * simple.el (process-file): Overwrite stderr file, if exists.
1596
c6609164
DU
15972012-12-21 Daiki Ueno <ueno@gnu.org>
1598
1599 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 1600 (epg-error): Set `error-message' property.
c6609164 1601
aa26f345
CY
16022012-12-21 Chong Yidong <cyd@gnu.org>
1603
34b4b7eb
CY
1604 * international/mule-cmds.el (read-char-by-name): Signal an error
1605 if the user does not supply a valid character (Bug#13177).
1606
aa26f345
CY
1607 * simple.el (transpose-subr-1): Preserve marker positions by
1608 changing the insertion sequence (Bug#13122).
1609
05c22d87
KD
16102012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1611
1612 * simple.el (kill-region): Deactivate mark even for empty regions
1613 (Bug#13169).
1614
f5733f87
CY
16152012-12-21 Chong Yidong <cyd@gnu.org>
1616
1617 * help-fns.el (describe-variable): Make sure we get the right
1618 buffer name (Bug#13105). Suggested by Kelly Dean.
1619
fab6916d
MM
16202012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1621
1622 * comint.el (comint-redirect-previous-input-string): New variable.
1623 (comint-redirect-setup, comint-redirect-cleanup)
1624 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1625 (comint-redirect-preoutput-filter): Fix verbose message.
1626
91b982a0
MA
16272012-12-20 Michael Albinus <michael.albinus@gmx.de>
1628
1629 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1630 is too long for Tramp. See discussion in
1631 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1632
1633 * progmodes/compile.el (compilation-start): Remove line escape
1634 template.
1635
87523aed
DA
16362012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1637
1638 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1639 Adjust comment.
1640
ee3c0aec
JB
16412012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1642
1643 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1644 following non-comment text (bug#13207).
1645 (lm-header-multiline): Continuation lines need to be indented more than
1646 the first line.
1647 (lm-homepage): New function.
1648 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 1649
4a74c818
SM
16502012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1651
f4d79bd0
SM
1652 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1653 very beginning of a hunk (e.g. killing the first line).
1654
3c532af6
MA
16552012-12-19 Michael Albinus <michael.albinus@gmx.de>
1656
1657 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1658 and text properties from returned ACL string.
1659 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1660 for "setfacl" command.
1661
e0d01ef3
MA
16622012-12-18 Michael Albinus <michael.albinus@gmx.de>
1663
1664 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1665 `tramp-cleanup-this-connection', when the process has died.
1666 (Bug#13151)
1667
2387610d
SM
16682012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1669
1670 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1671
19156242
KR
16722012-12-17 Kevin Ryde <user42@zip.com.au>
1673
1674 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1675
53b6a8b1
MA
16762012-12-17 Michael Albinus <michael.albinus@gmx.de>
1677
1678 Add support for preserving ACL entries of files.
1679
1680 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1681 `set-file-acl' handlers.
1682
19156242
KR
1683 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1684 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1685
19156242
KR
1686 * net/tramp-compat.el (tramp-compat-copy-file):
1687 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1688
19156242
KR
1689 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1690 Add `file-acl' and `set-file-acl' handlers.
1691 (tramp-gvfs-handle-copy-file):
1692 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1693 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1694 New defuns.
53b6a8b1 1695
19156242
KR
1696 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1697 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1698 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1699 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
1700 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1701 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1702
19156242
KR
1703 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1704 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1705 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1706
6ae57a67
KD
17072012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1708
1709 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 1710 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
1711 *Metahelp* with a leading space (Bug#13190).
1712
7c3d167f
RF
17132012-12-16 Romain Francoise <romain@orebokech.com>
1714
1715 * files.el (file-extended-attributes)
1716 (set-file-extended-attributes): New functions.
1717 (backup-buffer): Use them to handle both SELinux context and ACL
1718 entries.
1719 (backup-buffer-copy): Work with an alist of extended attributes,
1720 rather than an SELinux context.
1721 (basic-save-buffer-2): Ditto.
1722
19b748ad
TM
17232012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1724
1725 * battery.el (battery-bsd-apm): New function.
1726
70042c64
JB
17272012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1728
1729 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1730 standard date formats.
1731
279f9b06
JL
17322012-12-15 Juri Linkov <juri@jurta.org>
1733
1734 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1735 `isearch-insert-char-by-name'.
1736 (with-isearch-suspended): New defmacro with body mostly from
1737 `isearch-edit-string' except the part that sets
1738 `isearch-new-string' and `isearch-new-message'.
1739 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1740 body that sets `isearch-new-string' and `isearch-new-message'.
1741 (isearch-insert-char-by-name): New command.
1742 * international/mule-cmds.el (read-char-by-name): Let-bind
1743 `enable-recursive-minibuffers' to t.
1744 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1745
8370def5
JL
17462012-12-15 Juri Linkov <juri@jurta.org>
1747
1748 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1749 (Bug#13175)
1750
178fb95d
CS
17512012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1752
1753 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1754 the prompt. (Bug#13045)
1755
a5f74442
GM
17562012-12-14 Glenn Morris <rgm@gnu.org>
1757
1758 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1759 Try to include filename in non-bytecomp warning. (Bug#13132)
1760
97976f9f
PE
17612012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1762
1763 Fix permissions bugs with setgid directories etc. (Bug#13125)
1764 * files.el (backup-buffer): Don't rely on 9th output of
1765 file-attributes, as it's now a placeholder. Instead, use the new
1766 optional arg of file-ownership-preserved-p.
1767 (file-ownership-preserved-p): New optional arg GROUP.
1768 Fix mishandling of setuid directories that would cause this
1769 function to return t when it should have returned nil.
1770 Document what happens if the file does not exist, and when
1771 it's not known whether the ownership will be preserved.
1772 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1773 Likewise.
1774 (tramp-get-local-gid): Use group-gid for integer, as that's
1775 faster and more reliable.
1776
016b2a42
JD
17772012-12-14 Julien Danjou <julien@danjou.info>
1778
19156242
KR
1779 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1780 Update keywords list, data type and PL/pgSQL.
016b2a42 1781
665e5e07
DA
17822012-12-14 Dave Abrahams <dave@boostpro.com>
1783
1784 * vc/ediff-util.el (ediff-buffer-type): New function.
1785 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1786 rather than taking it as as argument.
1787 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1788
d72e9e92
RC
17892012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1790
1791 * json.el: Add pretty-print option (bug#12634).
1792 (json-encoding-separator, json-encoding-default-indentation)
1793 (json--encoding-current-indentation, json-encoding-pretty-print)
1794 (json-encoding-lisp-style-closings): New vars.
1795 (json--with-indentation): New macro.
1796 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1797 (json-encode-array): Use it to obey json-encoding-pretty-print.
1798 (json-pretty-print-buffer, json-pretty-print): New commands.
1799
dbb530d9
DG
18002012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1801
1802 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1803 Extract `ruby-syntax-propertize-expansions'.
1804 (ruby-syntax-propertize-expansions): Only change syntax on
1805 certain string delimiters, to punctuation. This way the common
1806 functions like forward-word and thing-at-point still work.
1807 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
1808 (ruby-block-contains-point): New function.
1809 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 1810
ce0440ff
JB
18112012-12-13 Juanma Barranquero <lekktu@gmail.com>
1812
1813 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1814 unload-feature finishes even when aborting an ongoing edebug session.
1815 Also, do not worry about edebug-mode, unload-feature takes care of it.
1816
f10331bf
AS
18172012-12-13 Andreas Schwab <schwab@suse.de>
1818
1819 * net/tls.el (tls-program): Update customize type.
1820
5f3a3bb1
JB
18212012-12-13 Juanma Barranquero <lekktu@gmail.com>
1822
1823 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1824 (edebug-setup-hook, cl-read-load-hooks): Use it.
1825 (edebug-unload-function): New function. (Bug#13163)
1826
6ce21463
MA
18272012-12-13 Michael Albinus <michael.albinus@gmx.de>
1828
1829 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1830 Otherwise, there could be errors in autoloading. (Bug#13151)
1831
d754b364
JH
18322012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1833
1834 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1835 sequences.
1836
727f9739 18372012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
1838
1839 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1840 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1841 around `forward-comment' not recognizing ^M as whitespace.
1842
727f9739 18432012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
1844
1845 * progmodes/python.el (python-skeleton-class)
1846 (python-skeleton-def): Do not add space after defun name.
1847
eb8006c6
SM
18482012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1849
1850 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1851 (cl--symbol-function): Remove (now that funbound is like nil).
1852
4c74b1e4
GM
18532012-12-12 Glenn Morris <rgm@gnu.org>
1854
1855 * button.el (button--area-button-p): Fix typo.
1856
37f38bca
SS
18572012-12-12 Sam Steingold <sds@gnu.org>
1858
1859 * frame.el (frame-maximization-style): New user option.
1860 (toggle-frame-maximized): Toggle frame maximization according to
1861 `frame-maximization-style', bound to <f11>.
1862 (cycle-frame-maximized): Cycle between all maximization styles and
1863 non-maximized frame, bound to shift-<f11>.
1864
fd49a218
DC
18652012-12-12 David Cadé <codename68@gmail.com>
1866
1867 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1868
69e1c203
JB
18692012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1870
1871 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1872 (eieio-override-prin1): Don't quote kewords and booleans.
1873 (object-write) <eieio-default-superclass>: Don't put closing parens
1874 on new line, avoid needless empty lines, align values that are objects
1875 with the slot keyword (instead of beginning on the same line).
1876 (eieio-list-prin1): Align value with slot keyword; increase
1877 eieio-print-depth before printing members of the list.
1878
4b0df848
SM
18792012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1880
030f4af5
SM
1881 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1882 a display text-property.
1883 (report-emacs-bug-hook): Don't bother deleting it any more.
1884
6ac1f8ca
SM
1885 * hilit-chg.el (highlight-save-buffer-state): Delete.
1886 Use with-silent-modifications instead.
1887 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1888
4b0df848
SM
1889 * button.el: Handle buttons in display text-properties.
1890 (button--area-button-p, button--area-button-string):
1891 Use (STRING . STRING-POS) representation instead of just STRING.
1892
d46d2d3a
EZ
18932012-12-11 Eli Zaretskii <eliz@gnu.org>
1894
1895 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1896 subdirectory be skipped.
1897
a0099d31
GM
18982012-12-11 Glenn Morris <rgm@gnu.org>
1899
36327e4f
GM
1900 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1901
a0099d31
GM
1902 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1903 Treat preprocessor lines embedded in continuations like comments.
1904 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1905
ff3f6c26
JB
19062012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1907
1908 * calc/calc.el (calc-standard-date-formats): Add more date
1909 formats.
1910 * calc/calc-forms.el (math-parse-iso-date): New function.
1911 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1912 (math-parse-iso-date-validate): Add extra error checking.
1913 (calc-date-notation): Add ability to access new date formats.
1914
ed6f2cd4
SM
19152012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1918 font-lock as well as when there's no text-property.
1919
c868b919
J
19202012-12-10 Jambunathan K <kjambunathan@gmail.com>
1921
1922 * hi-lock.el: Refine the choice of default face.
1923 (hi-lock-keyword->face): New function. Use it wherever we used
1924 cadadadr instead.
1925 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1926 (hi-lock--last-face): Remove var.
1927 (hi-lock--unused-faces): New var to replace it.
1928 (hi-lock-read-face-name): Use/maintain it.
1929 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1930 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1931 if it has another face.
1932
2b8c9064
EZ
19332012-12-10 Eli Zaretskii <eliz@gnu.org>
1934
1935 * subr.el (w32notify-handle-event): New function.
1936 (inotify-handle-event): Doc fix.
1937
81606b10
RS
19382012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1939
1940 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1941
265c2fbf 19422012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
1943
1944 * simple.el (just-one-space): Doc fix.
1945
265c2fbf 19462012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 1947
c868b919 1948 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 1949
265c2fbf 19502012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
1951
1952 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1953 narrowed buffer (bug#12361).
1954
265c2fbf 19552012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
1956
1957 * vc/vc-hooks.el (vc-state): Doc fix.
1958
265c2fbf 19592012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
1960
1961 * mail/rmail.el (rmail-maybe-display-summary):
1962 Preserve buffer, in case select-window changes it. (Bug#13066)
1963
265c2fbf 19642012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
1965
1966 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1967 cl-load-hook where they belong.
1968
bad162fd
SM
19692012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1970
1971 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1972
ca065258
EZ
19732012-12-09 Eli Zaretskii <eliz@gnu.org>
1974
1975 Parallelize byte compilation on MS-Windows.
1976 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 1977 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
1978 (WINS_BASIC): Define as concatenation of the above.
1979 (compile): Subdivide into 4 separate and independent jobs that can
1980 be run in parallel.
1981 (compile0-CMD, compile0-SH): New targets for compiling
1982 COMPILE_FIRST files, which are prerequisites for the rest of the
1983 byte-compilation.
bad162fd
SM
1984 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1985 New targets for parallel compilation with cmd.exe.
ca065258
EZ
1986 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1987 compiling under a Unixy shell.
1988
5dea55d2
CY
19892012-12-09 Chong Yidong <cyd@gnu.org>
1990
1991 * simple.el (set-mark-default-inactive): Delete this
1992 accidentally-introduced option.
1993 (set-mark-command, exchange-point-and-mark): Remove calls.
1994
c6c08d3f
GM
19952012-12-09 Glenn Morris <rgm@gnu.org>
1996
1997 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1998 Respect a defcustom's :set function, if appropriate. (Bug#109)
1999 (eval-defun): Doc fix.
2000
858aab4c
JL
20012012-12-08 Juri Linkov <juri@jurta.org>
2002
2003 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2004 (Info-fontify-node, Info-bookmark-make-record): Remove the
2005 file extension from Info-current-file (Bug#13016).
2006
2e4ad7e5
SM
20072012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2010 point, still provide some default.
2011 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2012 names, since we don't use it right now. Actually return the list.
2013 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2014
75498db0
CY
20152012-12-07 Chong Yidong <cyd@gnu.org>
2016
ffe7ba8f
CY
2017 * novice.el (disabled-command-function): Remove a spurious help
2018 xref (Bug#13043). Suggested by Kelly Dean.
2019
454eb095
CY
2020 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2021 syntax is specified (Bug#13025).
2022
75498db0
CY
2023 * info.el (Info-set-mode-line): Remove the file extension from
2024 Info-current-file if there is one (Bug#13016).
2025
13a40633
GM
20262012-12-07 Glenn Morris <rgm@gnu.org>
2027
54c8b5ba
GM
2028 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2029 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2030 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2031 and rmail-mime-decoded. (Bug#9841)
2032
13a40633
GM
2033 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2034 (batch-unrmail, unrmail): Doc fixes.
2035 (unrmail): Respect unrmail-mbox-format.
2036 * mail/rmail.el (rmail-mbox-format): New option.
2037 (rmail-show-message-1): Respect rmail-mbox-format.
2038
4611a3cc
SM
20392012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2040
2041 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2042
1812c724
SM
20432012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2044
338bfefa
SM
2045 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2046 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2047 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2048 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2049 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2050 (cl-progv): Don't rely on dynamic scoping to find the body.
2051 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2052 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2053 (cl-declaim): Use backquotes.
2054 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2055 Use "cl--" prefix for the object's tag.
2056
1812c724
SM
2057 * ses.el: Use advice-add/remove.
2058 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2059 (copy-region-as-kill, yank): Use advice-add.
2060 (ses-unload-function): Use advice-remove.
2061
24fc9480
JB
20622012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2063
2064 * button.el: Make them work in header-lines (bug#12817).
2065 (button-map): Add bindings for header-line and mode-line use.
2066 (button-get, button-put, button-label): `button' may now be a string.
2067 (button-activate): Don't make it a defsubst.
2068 (button--area-button-p, button--area-button-string): New functions.
2069 (make-text-button): Fix the return value when `beg' was a string.
2070 (push-button): Handle the mode-line case.
2071
853c1ffc
SM
20722012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2073
93852cb0
SM
2074 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2075 (sql-signum): Remove. Use `cl-signum' instead.
2076 (sql-read-passwd): Remove; use read-passwd instread.
2077 (sql-get-login-ext): Use read-string.
2078 (sql-get-login): Use dolist and pcase.
2079 (sql--completion-table): Rename from sql-try-completion.
2080 Use complete-with-action.
2081 (sql-mode): Don't change abbrev-all-caps globally.
2082 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2083 (sql-postgres-completion-object): Initialize vars in their `let'.
2084 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2085 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2086 (sql-comint-interbase): Use a single append, without setq.
2087 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2088
853c1ffc
SM
2089 * hi-lock.el: Rework the default face and the serialize regexp code.
2090 (hi-lock--auto-select-face-defaults): Remove.
2091 (hi-lock-string-serialize-serial): Remove.
2092 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2093 make weak.
2094 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2095 equal string.
2096 (hi-lock-set-pattern): Adjust accordingly.
2097 (hi-lock--regexps-at-point): Simplify accordingly.
2098 (hi-lock--auto-select-face-defaults): Remove.
2099 (hi-lock--last-face): New var to replace it.
2100 (hi-lock-read-face-name): Rewrite (bug#11095).
2101 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2102
5504e2c7
MA
21032012-12-06 Michael Albinus <michael.albinus@gmx.de>
2104
853c1ffc
SM
2105 * net/tramp.el (tramp-replace-environment-variables):
2106 Hide compiler warning.
5504e2c7
MA
2107 (tramp-file-name-for-operation): Remove `executable-find',
2108 `start-process', `call-process' and `call-process-region'.
2109
853c1ffc 2110 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
2111
2112 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2113 compatibility.
2114
2115 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2116
e1d51545
CY
21172012-12-06 Chong Yidong <cyd@gnu.org>
2118
2119 * ffap.el (ffap-replace-file-component): Fix typo.
2120
d8ad4d3f 21212012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
2122
2123 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2124 fix open-paren-like token test (bug#12785).
2125
d8ad4d3f 21262012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
2127
2128 * mail/rmailsum.el (rmail-new-summary): Tweak for
2129 rmail-maybe-display-summary changing buffer. (Bug#13066)
2130
d8ad4d3f 21312012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
2132
2133 * info.el (Info-fontify-node): Don't hide the last newline.
2134 (Bug#12272)
2135
9ad948e2
KY
21362012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2137
2138 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2139 so as to enable message-read-from-minibuffer to expand mail aliases.
2140
4b5c89ee
SM
21412012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2144 the `intangible' property.
2145 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2146
5602a53a
DD
21472012-12-05 Deniz Dogan <deniz@dogan.se>
2148
2149 * net/rcirc.el (rcirc-urls): Update documentation.
2150 (rcirc-condition-filter): New function.
2151 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2152 and exclude consecutive duplicate URLs (Bug#6082).
2153
51b890ac
MA
21542012-12-05 Michael Albinus <michael.albinus@gmx.de>
2155
d5f97f62
MA
2156 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2157 Check return code of copy command.
2158
853c1ffc
SM
2159 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2160 Use group `tramp'. Add version.
51b890ac 2161
04b14f2b
CY
21622012-12-05 Chong Yidong <cyd@gnu.org>
2163
a3680194
CY
2164 * ffap.el (ffap-url-regexp): Don't require matching at front of
2165 string (Bug#4952).
2166 (ffap-url-p): If only a substring matches, return that.
2167 (ffap-url-at-point): Use the return value of ffap-url-p.
2168 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2169 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2170 (ffap-guess-file-name-at-point): Likewise.
2171 (ffap-replace-file-component): Fix typo.
2172
04b14f2b
CY
2173 * info.el (info-display-manual): Add existing Info buffers, whose
2174 files may not be in Info-directory-list, to the completion.
2175 (info--manual-names): New helper function.
2176
49596095
GM
21772012-12-05 Glenn Morris <rgm@gnu.org>
2178
2179 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2180 New functions, for detecting and resolving conflicts. (Bug#10709)
2181
b85aec93
J
21822012-12-04 Jambunathan K <kjambunathan@gmail.com>
2183
2184 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2185 (hi-lock-auto-select-face-defaults): New buffer local variable.
2186 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2187 (hi-lock-unface-buffer): Prompt user with useful defaults.
2188 With prefix arg, unhighlight all hi-lock patterns in buffer.
2189
8515507f
SM
21902012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2193
72cebfb7
MA
21942012-12-04 Michael Albinus <michael.albinus@gmx.de>
2195
2196 * Makefile.in (TRAMP_SRC):
2197 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2198
0ec3f7ea
JH
21992012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2200
2201 * net/tramp-adb.el: New package.
2202
770de7cf
CY
22032012-12-04 Chong Yidong <cyd@gnu.org>
2204
ce3e7725
CY
2205 * terminal.el: Move to obsolete/.
2206
770de7cf
CY
2207 * longlines.el: Move to obsolete/.
2208
2209 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2210 Remove code referring to longlines mode.
2211
c38a186c
JL
22122012-12-03 Juri Linkov <juri@jurta.org>
2213
2214 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2215
329bfd64
AM
22162012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2217
2218 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
2219 (ispell-start-process, ispell-internal-change-dictionary):
2220 Make sure personal dictionary name is expanded after initial
2221 `default-directory' value. Use expanded strings for
2222 keep/restart checks and for value (Bug#13019).
329bfd64 2223
77a74935
JB
22242012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2225
2226 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2227
c5bc2d1d 22282012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
2229
2230 * files.el (dir-locals-read-from-file): Check file non-empty
2231 before reading. (Bug#13038)
2232
c5bc2d1d 22332012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
2234
2235 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2236 Remove any version extension before checking filename. (Bug#13006)
2237 (jka-compr-compression-info-list): Belated :version bump.
2238
c5bc2d1d 22392012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 2240
8ecba97d
CY
2241 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2242
a5bf43ba
CY
2243 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2244 (buffer-menu): Doc fix (Bug#12294).
2245
c5bc2d1d 22462012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
2247
2248 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2249 of diary-show-all-entries in the diary buffer (Bug#12994).
2250
c5bc2d1d 22512012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
2252
2253 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2254 "<STDIN>". This is binary safe.
2255
682ceaf8
JB
22562012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2257
2258 * calc/calc-forms.el (math-absolute-from-iso-dt)
2259 (math-date-to-iso-dt, math-parse-iso-date-validate)
2260 (math-iso-dt-to-date): New functions.
2261 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2262 (math-fd-isoweekday): New variables.
2263 (calc-date-notation, math-parse-standard-date, math-format-date)
2264 (math-format-date-part): Add support for more formatting codes.
2265
db47d5e9
DG
22662012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2267
2268 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2269 current buffer's file name when called interactively (Bug#12488).
2270
3faf4944
JL
22712012-12-02 Juri Linkov <juri@jurta.org>
2272
2273 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 2274 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 2275
cb5d51dc
YN
22762012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2277
2278 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2279 before using it for comparison (Bug#5297).
2280
f38cd76e
JA
22812012-12-01 Jari Aalto <jari.aalto@cante.net>
2282
2283 * textmodes/css-mode.el (css-current-defun-name): New function.
2284 (css-mode): Use it.
2285
2286 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2287 (html-mode): Use it.
2288
ba03d0d9
CY
22892012-12-01 Chong Yidong <cyd@gnu.org>
2290
2291 Modularize add-log-current-defun (Bug#2224).
2292 Suggested by Jari Aalto.
2293
2294 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2295 (add-log-current-defun): Move mode-specific code to other files.
2296 (add-log-lisp-like-modes, add-log-c-like-modes)
2297 (add-log-tex-like-modes): Variables deleted.
2298
2299 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2300 (lisp-mode-variables): Use it.
2301
2302 * progmodes/cc-mode.el (c-common-init):
2303 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2304 add-log-current-defun-function.
2305
2306 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2307 (m4-mode): Use it.
2308
2309 * progmodes/perl-mode.el (perl-current-defun-name): New.
2310 (perl-mode): Use it.
2311
853c1ffc
SM
2312 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2313 Use lisp-current-defun-name.
ba03d0d9
CY
2314
2315 * textmodes/tex-mode.el (tex-current-defun-name): New.
2316 (tex-common-initialization): Use it.
2317
2318 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2319 (texinfo-mode): Use it.
2320
92eadba5
CY
23212012-12-01 Chong Yidong <cyd@gnu.org>
2322
2323 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2324 * progmodes/autoconf.el (autoconf-mode):
2325 * progmodes/js.el (js-mode):
2326 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2327 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2328 * progmodes/perl-mode.el (perl-mode):
2329 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2330 * textmodes/css-mode.el (css-mode):
2331 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2332 (sgml-tags-invisible, sgml-guess-indent):
2333 * textmodes/tex-mode.el (tex-common-initialization)
2334 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2335 (doctex-mode, plain-tex-mode, latex-mode):
2336 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2337
3ddbf803
KK
23382012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2339
2340 * vc/vc-hg.el (vc-hg-next-revision):
2341 Ensure use of default "tip" output format. (Bug#6968)
2342
f0b6ae63
KS
23432012-12-01 Kim F. Storm <storm@cua.dk>
2344
2345 * startup.el (fancy-startup-tail): Add a clickable link
2346 (Bug#2176).
2347
c01bf73e
CY
23482012-12-01 Chong Yidong <cyd@gnu.org>
2349
2350 * startup.el (fancy-startup-tail): Improve the message about
2351 auto-save files (Bug#2176).
2352
f0b6ae63
KS
2353 * files.el (recover-session): Improve the descriptive message, and
2354 use substitute-command-keys.
2355
a9400458
GM
23562012-12-01 Glenn Morris <rgm@gnu.org>
2357
2358 * ido.el (ido-file-internal):
2359 Handle other-window, other-frame for dired. (Bug#13036)
2360
fb3bf6ce
GM
23612012-11-30 Glenn Morris <rgm@gnu.org>
2362
2363 * icomplete.el (icomplete-separator): Fix :version.
2364
a813fe3f
CY
23652012-11-30 Chong Yidong <cyd@gnu.org>
2366
2367 * shell.el (shell): For C-u M-x shell, use an inactive shell
2368 buffer as the default (Bug#1975).
276479fd
CY
2369 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2370 (shell-mode): Use them to reapply ansi colorization if Shell mode
2371 is re-enabled.
a813fe3f 2372
a8b733a5
CY
23732012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2374
2375 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2376
6fccd6e8
SB
23772012-11-30 Samuel Bronson <naesten@gmail.com>
2378
2379 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2380 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2381
53c9a337
TT
23822012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2383
2384 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2385 by move-to-column (Bug#3234).
2386
ccf520bb
CY
23872012-11-30 Chong Yidong <cyd@gnu.org>
2388
2389 * longlines.el (longlines-wrap-line, longlines-encode-region):
2390 Preserve text properties (Bug#1425).
2391
171b0949
OT
23922012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2393
2394 * vc/vc.el (vc-register): Allow registering a file which is
2395 already registered with a different backend (Bug#10589).
2396
cc37e70f
J
23972012-11-29 Jambunathan K <kjambunathan@gmail.com>
2398 Stefan Monnier <monnier@iro.umontreal.ca>
2399
2400 * icomplete.el: Change separator; add ido-style commands.
2401 (icomplete-show-key-bindings): Remove custom var.
2402 (icomplete-get-keys): Remove function.
2403 (icomplete-forward-completions, icomplete-backward-completions):
2404 New commands.
2405 (icomplete-minibuffer-map): New var.
2406 (icomplete-minibuffer-setup): Use it.
2407 (icomplete-exhibit): Don't delay if the list of completions is known.
2408 (icomplete-separator): New custom.
2409 (icomplete-completions): Use it.
2410 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2411 (minibuffer-force-complete-and-exit): New command.
2412 (minibuffer--complete-and-exit): New function extracted from
2413 minibuffer-complete-and-exit.
2414 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
2415
2416 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2417 error message when the file doesn't exist (bug#12974).
2418
31646597
KD
24192012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2420
2421 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2422
e9df8f87
GM
24232012-11-29 Glenn Morris <rgm@gnu.org>
2424
824eefe4
GM
2425 * files.el (hack-dir-local-variables): Warn if try to set
2426 coding via dir-locals, since it doesn't work. (Bug#7169)
2427
4ad900d9
GM
2428 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2429 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2430 Set buffer-local value of desktop-save-buffer.
2431 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2432 New functions.
2433 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2434 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2435
e9df8f87
GM
2436 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2437 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2438 Doc fix.
2439 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2440 Doc fixes.
2441
e7c8fcc4
JB
24422012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2443
2444 * calc/calc-forms.el (calc-date-notation): Fix regexp
2445 used to find time codes. Fix symbol for seconds.
2446
48d6d9c0
GM
24472012-11-27 Glenn Morris <rgm@gnu.org>
2448
2449 * emacs-lisp/derived.el (derived-mode-make-docstring):
2450 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2451
369f945d
SM
24522012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2453
2454 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2455 lexically scoped variables (bug#13005).
2456
5c9cf0a3 24572012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 2458
999e745e
GM
2459 * vc/vc-hooks.el (vc-mistrust-permissions):
2460 Default to t, to avoid data-loss. (Bug#11490)
98f99594 2461
5c9cf0a3 24622012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 2463
999e745e
GM
2464 * progmodes/python.el (python-indent-guess-indent-offset):
2465 If indentation is guessed make python-indent-offset buffer-local.
2466
207cb73c 2467 Fix Imenu regression.
999e745e
GM
2468 * progmodes/python.el (python-nav-beginning-of-defun):
2469 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
2470 (python-imenu-prev-index-position): New function.
2471
5c9cf0a3 24722012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
2473
2474 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2475
2476 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 2477 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 2478
5c9cf0a3 24792012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
2480
2481 * hippie-exp.el (hippie-expand-try-functions-list):
2482 Re-autoload it. (Bug#12982)
2483
5c9cf0a3 24842012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 2485
369f945d
SM
2486 * descr-text.el (describe-char-padded-string):
2487 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 2488
5c9cf0a3 24892012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
2490
2491 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2492 and obsoletion message.
2493
5c9cf0a3 24942012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
2495
2496 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2497 the constructs to keep outside of the `cl-block' (bug#12977).
2498
5c9cf0a3 24992012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
2500
2501 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2502 keep reading until we get the up-event anyway, in order to process
2503 the up-event for mouse-1-click-follows-link (Bug#12971).
2504
848a2dd1
SM
25052012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2506
2507 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2508 base function is not yet defined (bug#12965).
2509 (ad-activate-advised-definition): Use ad-compile-function.
2510 (ad-activate): Use cond.
2511
9ad79506
LL
25122012-11-25 Leo Liu <sdl.web@gmail.com>
2513
2514 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2515 (Bug#12979)
2516
e2cb57f5
VB
25172012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2518
2519 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2520 reftex-section-info-function in order to be compatible with
2521 Texinfo integration.
2522
2523 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
2524 (reftex-section-post-regexp, reftex-section-info-function):
2525 New variable.
2526 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2527 reftex-section-post-regexp, and reftex-section-info-function in order
2528 to be compatible with Texinfo integration.
2529
2530 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2531 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
2532 Texinfo integration.
2533
1c4f115d
CY
25342012-11-25 Chong Yidong <cyd@gnu.org>
2535
2536 * faces.el: Make face-spec-set more analogous to setq.
2537 (face-spec-set): Change the third arg to specify whether this
2538 function is being called via defface, customize, or a third party.
2539 Set the appropriate symbol properties. Clear the override spec if
2540 setting via Custom. Initialize face if necessary. (Bug#4988)
2541 (face-spec-recalc): Allow theme faces to completely replace the
2542 defface spec, in the same way as custom faces (Bug#8454).
2543
2544 * cus-face.el (custom-declare-face): Move face initialization to
2545 face-spec-set.
2546 (custom-theme-set-faces): Don't initialize the face name here, as
2547 that is now done in face-spec-set.
2548
2549 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2550 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2551 Simplify by using the new arg to face-spec-set.
2552
2553 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2554 reset face-override-spec too, and use custom-declare-face.
2555
c2350548
JD
25562012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2557
2558 * term/ns-win.el (ns-initialize-window-system): Move creation of
2559 fontsets here (Bug#11964).
2560
ecfc364c
VB
25612012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2562
2563 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2564 cell renaming.
2565
0917cc54
CY
25662012-11-24 Chong Yidong <cyd@gnu.org>
2567
433212bf
CY
2568 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2569 obsolete.
2570
0917cc54
CY
2571 * custom.el (custom-theme-set-variables): Use a topological sort
2572 for ordering by custom dependencies (Bug#12952).
2573 (custom--sort-vars, custom--sort-vars-1): New functions.
2574
d125ca15 25752012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
2576
2577 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2578 lexical-binding (bug#12938).
2579
d125ca15 25802012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
2581
2582 * image-mode.el (image-transform-check-size): Use assertions only
2583 for images of type imagemagick.
2584
2585 Otherwise no error, image-transform-fit-to-{width,height} is
2586 silently ignored, as before. Doc fix.
2587
d125ca15 25882012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
2589
2590 * faces.el (color-defined-p): Doc fix (Bug#12853).
2591
d125ca15 25922012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
2593
2594 * dired.el (dired-mark): Add optional arg `interactive'.
2595 Check for `use-region-p' if `interactive' is non-nil.
2596 (dired-unmark, dired-flag-file-deletion): Add optional arg
2597 `interactive'. Call `dired-mark' with the arg `interactive'.
2598 (Bug#10624)
2599
cc4c01bd
JL
2600 * wdired.el: Revert 2012-10-17 change partly and replace it with
2601 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2602 (wdired-finish-edit): Add marks for new file names to
2603 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2604 after `revert-buffer'.
2605 (wdired-do-renames): Remove calls to `dired-remove-file',
2606 `dired-add-file', `dired-add-entry'. (Bug#11795)
2607
d125ca15 26082012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 2609
dc310ed0
AM
2610 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2611
b03aabda
AM
2612 Fix bugs in the state cache. Enhance a debugging mechanism.
2613 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2614 "brace at column zero" strategy for C++.
2615 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2616 (c-parse-state-point): New variable.
2617 (c-record-parse-state-state): Record old parse state with
2618 `copy-tree'. Record previous value of point.
2619 (c-debug-parse-state-double-cons): New debugging function.
2620 (c-debug-parse-state): Call the above new function.
2621 (c-toggle-parse-state-debug): Output a confirmatory message.
2622
002c019c
SM
2623 * progmodes/cc-mode.el (c-before-change, c-after-change):
2624 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
2625 `c-after-change'.
2626
930a6273
CY
26272012-11-23 Chong Yidong <cyd@gnu.org>
2628
2629 * find-cmd.el (find-constituents): Add executable, ipath,
2630 readable, samefile, writable, daystart, regextype (Bug#12856).
2631
15c9d04e
SM
26322012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2633
2634 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2635
2ecb2679
PE
26362012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2637
2638 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2639 definition. This fixes a bootstrap failure.
a14a5a40
PE
2640 (calc-gregorian-switch): In menu, put dates before regions.
2641 This is easier to follow, lines up better in the menu, and lets us
2642 coalesce regions that switch at the same time. Give country
15c9d04e
SM
2643 names, not "Vatican", as that's better for non-expert users.
2644 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
2645 Bohemia and Moravia (which existed then and now) and not
2646 Czechoslovakia (which didn't exist then and doesn't exist now).
2647 What is now the U.S. mostly did not switch at the same time as
2648 Britain, so omit the U.S. Correct spelling of "Britain".
2649 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 2650
723da6aa
JB
26512012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2652
2653 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2654 after the variable is changed.
2655
21fa2482
DC
26562012-11-21 Daniel Colascione <dancol@dancol.org>
2657
2658 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
2659 in SQL declarations for font-lock.
2660 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 2661
3ca2f1bf
GM
26622012-11-21 Glenn Morris <rgm@gnu.org>
2663
1bf335cf
GM
2664 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2665 (face-italic-p): Add optional argument "inherit".
2666
3ca2f1bf
GM
2667 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2668 Remove -p suffix from names, for consistency with other set-face-*.
2669 (set-face-inverse-video): Fix interactive spec.
2670 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2671 * textmodes/table.el (table--update-cell-face):
2672 Use set-face-inverse-video rather than now obsolete alias.
2673
6ef2e5ef 26742012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
2675
2676 * simple.el (line-move): Don't call line-move-partial if
2677 scroll-conservatively is in effect. (Bug#12927)
2678
6ef2e5ef 26792012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 2680
93b05041
SM
2681 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2682 Fallback on completion-at-point rather than
2683 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2684 (eshell-cmpl-initialize): Setup completion-at-point.
2685
2686 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2687
bc715d67
SM
2688 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2689
6ef2e5ef 26902012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
2691
2692 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2693 are remote, check out-of-band property for both.
2694
6ef2e5ef 26952012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
2696
2697 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2698 code rewrite.
2699
6ef2e5ef 27002012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 2701
535efd4a
PE
2702 More minor time fixes.
2703 * calendar/time-date.el: Commentary fix.
2704 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2705 too much other code depends on (0 0) time stamps.
2706 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2707 Add a couple of FIXME comments.
2708
0c93aa38
PE
2709 Minor cleanup for times as lists of four integers.
2710 * files.el (dir-locals-directory-cache):
2711 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2712 Doc fixes.
2713 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2714 * ps-bdf.el (bdf-file-newer-than-time):
2715 Process four-integers time stamps, not two. Doc fixes.
2716
23ba2705
SM
27172012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2e31777b
SM
2719 * uniquify.el (uniquify-managed): Use defvar-local.
2720 (rename-buffer, create-file-buffer): Advise with advice-add.
2721 (uniquify-unload-function): Unadvise accordingly.
2722
8b62d742
SM
2723 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2724 (trace-buffer): Don't purecopy.
2725 (trace-entry-message, trace-exit-message): Add `context' arg.
2726 (trace--timer): New var.
2727 (trace-make-advice): Adjust for use in nadvice.
2728 Add `context' argument. Delay `display-buffer' via a timer.
2729 (trace-function-internal): Use advice-add.
2730 (trace--read-args): New function.
2731 (trace-function-foreground, trace-function-background): Use it.
2732 (trace-function): Rename to trace-function-foreground and redefine as
2733 an alias to that new name.
2734 (untrace-function, untrace-all): Adjust to the use of nadvice.
2735
5d0ccd95
SM
2736 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2737
3837d988
SM
2738 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2739
23ba2705
SM
2740 * subr.el (called-interactively-p-functions): New var.
2741 (internal--called-interactively-p--get-frame): New macro.
2742 (called-interactively-p, interactive-p): Rewrite in Lisp.
2743 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2744 (called-interactively-p-functions): Use it.
2745 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2746 (called-interactively-p-functions): Use it.
2747 * allout.el (allout-called-interactively-p): Don't assume
2748 called-interactively-p is a subr.
2749
b0636be7
GM
27502012-11-20 Glenn Morris <rgm@gnu.org>
2751
2752 * profiler.el (profiler-report-mode-map): Add a menu.
2753 No need to bind `q' because we derive from special-mode.
2754 (profiler-report-find-entry): Handle calls from the menu-bar.
2755
855b17af
SM
27562012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2757
14146222
SM
2758 * emacs-lisp/byte-run.el (defun-declarations-alist):
2759 Allow a compiler-macro to be a lambda expression.
2760
2761 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2762 eval-when-compile.
2763 (python-syntax-context): Add compiler-macro.
2764 (python-font-lock-keywords): Simplify with De Morgan.
2765
1000d895
SM
2766 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2767
ac5392dc
SM
2768 * files.el (load-file): Require match in minibuffer selection, as was
2769 the case in Emacs-20 before we changed the spec to allow .elc files
2770 (bug#12935).
2771
19dc7206
SM
2772 * json.el: Don't require cl since we don't use it.
2773 * color.el: Don't require cl.
2774 (color-complement): `caddr' -> `nth 2'.
2775
855b17af
SM
2776 * calendar/time-date.el (time-to-seconds): De-obsolete.
2777
e8909bdc
JB
27782012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2779
2780 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2781 year numbers.
2782 (math-date-to-julian-dt): Adjust the initial approximation for the
2783 year to deal with the new definition of the DATE.
2784
6e9f7997
DC
27852012-11-19 Daniel Colascione <dancol@dancol.org>
2786
855b17af
SM
2787 * term/w32-win.el (cygwin-convert-path-from-windows):
2788 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 2789
6a3dd257
CY
27902012-11-18 Chong Yidong <cyd@gnu.org>
2791
2792 * filecache.el (file-cache--read-list): New function.
2793 (file-cache-add-directory-list, file-cache-add-file-list)
2794 (file-cache-delete-file-list, file-cache-delete-directory-list):
2795 Use it to read a list of files or directories (Bug#12846).
2796 (file-cache-add-file, file-cache-add-directory)
2797 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2798 (file-cache-delete-directory): Print an message.
2799
eef97f35
JB
28002012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2801
2802 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2803 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2804
913c8291
GM
28052012-11-18 Glenn Morris <rgm@gnu.org>
2806
2807 * image.el (insert-image, insert-sliced-image): Doc fix.
2808
2ac9538d 28092012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
2810
2811 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2812 (Bug#12810).
2813
2ac9538d 28142012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
2815
2816 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2817 response when the target file is in a subdirectory (Bug#12757).
2818
2ac9538d 28192012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
2820
2821 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2822
2ac9538d 28232012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 2824
9a5e2ee3
GM
2825 * emacs-lisp/cl-lib.el (face-underline-p):
2826 Use set-face-underline rather than the alias set-face-underline-p.
2827
65463c40 2828 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
2829 * subr.el (with-output-to-temp-buffer):
2830 Add doc xref to with-temp-buffer-window.
65463c40 2831
c9ed8e3d
JB
28322012-11-18 Juanma Barranquero <lekktu@gmail.com>
2833
2834 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2835 * calc/calc.el (math-format-date-cache): Declare.
2836
310e60d9
PE
28372012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2838
6f6b82d6
PE
2839 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2840 It also uses January 1, 1 AD as its day number 1.
310e60d9 2841 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 2842 (math-julian-date-beginning-int): Implement this.
310e60d9 2843
d7fe6352
JB
28442012-11-17 Juanma Barranquero <lekktu@gmail.com>
2845
2846 * descr-text.el (quail-find-key):
2847 * dired.el (desktop-file-name):
2848 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2849 * generic-x.el (comint-mode, comint-exec):
2850 * image-dired.el (widget-forward):
2851 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2852 (speedbar-change-expand-button-char)
2853 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2854 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2855 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2856 (widget-field-action, widget-value-set):
2857 * speedbar.el (imenu--make-index-alist):
2858 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2859 (ring-length, ring-insert):
2860 * vcursor.el (compare-windows-skip-whitespace):
2861 * woman.el (dired-get-filename):
2862 Declare functions.
2863
2864 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2865
c9f618db
JB
28662012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2867
2868 * calc/calc.el (calc-gregorian-switch): New variable.
2869
2870 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2871 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2872 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2873 (math-leap-year-p): Add option to distinguish between Julian
2874 and Gregorian calendars.
2875 (math-day-number): Use `math-day-in-year' to do the computations.
2876 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2877 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2878 to do the computations.
2879 (math-date-to-dt): Use `math-date-to-julian-dt' and
2880 `math-date-to-gregorian-dt' to do the computations.
2881 (calcFunc-weekday, math-format-date-part): Use the new version of
2882 the DATE to determine the weekday.
2883 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2884 when necessary.
2885
3804f7bc
EZ
28862012-11-17 Eli Zaretskii <eliz@gnu.org>
2887
2888 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2889 Cygwin; otherwise use 'file:'. (Bug#12914)
2890 (cygwin-convert-path-from-windows): Declare, to avoid
2891 byte-compiler warnings.
2892
de959d4d
AP
28932012-11-17 Andreas Politz <politza@fh-trier.de>
2894
2895 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2896 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2897 prefix and negative numeric prefix args (Bug#12795).
2898
e45deaef
SB
28992012-11-17 Stephen Berman <stephen.berman@gmx.net>
2900
2901 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2902 Don't signal an error with a score that is too low to add to the
2903 list of top scores. (Bug#12779)
2904
ec15e0ff
CY
29052012-11-17 Chong Yidong <cyd@gnu.org>
2906
8e7696a1
CY
2907 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2908
ec15e0ff
CY
2909 * filecache.el (file-cache-add-file): Handle relative file name in
2910 the argument (Bug#12694).
2911
60c4ee66
JH
29122012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2913
2914 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2915
cdc5d88c
SM
29162012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2917
dd0c5bbb
SM
2918 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2919
cdc5d88c
SM
2920 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2921
0ff7851c
MR
29222012-11-16 Martin Rudalics <rudalics@gmx.at>
2923
2924 * window.el (enlarge-window, shrink-window): Don't mention return
2925 value in doc-string (Bug#12896).
2926 (window--display-buffer): Don't resize frames - it won't work
2927 with all window managers and defeat pop-up-frame-alist.
2928 (display-buffer-alist): In doc-string explain that CONDITION can
2929 be a function and which arguments are passed to it (Bug#12854).
2930 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2931 expressions (Bug#12854).
2932 (display-buffer): Pass ACTION argument to
2933 display-buffer-assq-regexp.
2934
dedd1884
GM
29352012-11-16 Glenn Morris <rgm@gnu.org>
2936
7c82753d
GM
2937 * window.el (fit-frame-to-buffer-bottom-margin)
2938 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2939
dedd1884
GM
2940 * faces.el (face-underline-p): Use face-attribute-specified-or.
2941
96e05507 29422012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
2943
2944 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2945
96e05507 29462012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
2947
2948 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2949
96e05507 29502012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 2951
17c083ac
GM
2952 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2953 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2954
bde3c6c0
GM
2955 * faces.el (face-underline-p): Doc fix. Handle :underline being
2956 things other than `t' (a string, a list).
2957 (face-inverse-video-p): Doc fix.
2958 (set-face-underline): Rename it back from set-face-underline-p.
2959 Doc fix. Allow interactive input of values other than t.
2960 (read-face-attribute): Apply formatting to :underline,
2961 since like :box and :stipple it can take list values.
2962
e2e13f18
GM
2963 * term.el (ansi-term): Don't let C-x escape-char binding
2964 clobber the more standard C-c binding. (Bug#12842)
2965
e0ea8060
GM
2966 * subr.el (set-temporary-overlay-map): Doc fix.
2967
96e05507 29682012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
2969
2970 * window.el (record-window-buffer)
2971 (display-buffer-record-window): When copying the markers to
2972 window-point preserve window-point-insertion-type. (Bug#12588)
2973
96e05507 29742012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
2975
2976 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2977 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2978 Use new names for hooks rather than obsolete aliases.
2979
faeafc01
DC
29802012-11-15 Daniel Colascione <dancol@dancol.org>
2981
2982 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
2983 prefix instead of "file:" so that when FILE-NAME begins with "//",
2984 as it does when the target file is on a network share, url-handler
2985 isn't confused.
2986
1232d6c2
SM
29872012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2988
2989 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2990 a preactivated advice from an old advice.el; they're not compatible!
2991
47f01a8a
KY
29922012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2993
2994 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2995 Fix string-spec case.
2996
2997 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2998
a61428c4
SM
29992012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3000
3001 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3002 (advice--buffer-local-function-sample): New var.
3003 (advice--set-buffer-local, advice--buffer-local): New functions.
3004 (add-function, remove-function): Use them.
3005
875ce3a7
DA
30062012-11-15 Drew Adams <drew.adams@oracle.com>
3007
3008 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3009
589fc479
SM
30102012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3011
3012 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3013 potential binding of print-gensym to t, and prettify (back)quotes in
3014 case they appear in args's default values (bug#12884).
3015
1668ea90
SM
30162012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3019 (advice-eval-interactive-spec): New function.
3020 (advice--make-interactive-form): Support around advice (bug#12844).
3021
8619323f
DG
30222012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3023
3024 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3025 more strict. Add docstring.
c62792e7
DG
3026 (ruby-expression-expansion-re): Extract from
3027 `ruby-match-expression-expansion'.
3028 (ruby-syntax-propertize-function): After everything else, search
3029 for expansions in string literals, mark their insides as
3030 whitespace syntax and save match data for font-lock.
3031 (ruby-font-lock-keywords): Use the 2nd group from expression
3032 expansion matches.
3033 (ruby-match-expression-expansion): Use the match data saved to the
3034 text property in ruby-syntax-propertize-function.
8619323f 3035
9c3912d3
SM
30362012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3037
3038 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3039 (bug#12879).
3040
5e9419e8
DG
30412012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3042
3043 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3044 start/end keyword a bit harder. Works with different values of N.
3045 Add more comments.
3046 (ruby-end-of-block): Update accordingly.
3047
3c442f8b
SM
30482012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3049
fa470af0
SM
3050 * woman.el (woman-file-name): Don't mess with unread-command-events
3051 (bug#12861).
3052
3c442f8b
SM
3053 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3054 Remove out of date self-require hack.
3055 (ad-do-advised-functions): Use simple `dolist'.
3056 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3057 (ad-advice-definition): Redefine as functions.
3058 (ad-advice-classes): Move before first use.
3059 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 3060 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 3061 (ad--defalias-fset): Remove functions.
fa470af0 3062 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
3063 (ad-get-orig-definition): Rewrite.
3064 (ad-make-advised-definition-docstring): Change base docstring.
3065 (ad-real-orig-definition): Rewrite.
3066 (ad-map-arglists): Change name of called function.
3067 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3068 (ad-make-advised-definition): Simplify.
3069 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 3070 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
3071 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3072 function and call ad-activate if needed.
3073 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3074 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3075 (ad-compile-function): Compile ad-Advice-*.
3076 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3077 (ad-start-advice, ad-stop-advice): Remove.
3078
5745cae6
DG
30792012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3080
3081 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3082 period before class method names, not after. Remove handling of
3083 one impossible case. Add comments.
3084
413d4689
SM
30852012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3086
7db1bda8
SM
3087 * emacs-lisp/advice.el: Remove support for freezing.
3088 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3089 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3090 Remove support for `freeze'.
3091
413d4689
SM
3092 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3093 override the default.
3094 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3095 cl--dotimes/dolist.
3096 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3097 `cl' is loaded.
3098
3099 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3100 from add-advice.
3101 (advice--strip-macro): New function.
3102 (advice--defalias-fset): Use them to handle macros.
3103 (advice-add): Use them.
3104 (advice-member-p): Correctly handle macros.
3105
f178c32d
DG
31062012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3107
7db1bda8
SM
3108 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3109 Never font-lock the beginning of singleton class as heredoc.
f178c32d 3110
f78ee6af 31112012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
3112
3113 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3114
f78ee6af 31152012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
3116
3117 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
3118 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3119 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 3120
f78ee6af 31212012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
3122
3123 Fix end-of-defun misbehavior.
3124 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3125 python-beginning-of-defun-function. Handle nested defuns
3126 correctly.
3127 (python-nav-end-of-defun): Rename from
3128 python-end-of-defun-function. Ensure forward movement.
f8705f6e 3129 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
3130 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3131 parent defuns as soon as possible.
3132
f78ee6af 31332012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
3134
3135 * progmodes/flymake.el (flymake-error-bitmap)
3136 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3137 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3138
f78ee6af 31392012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
3140
3141 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3142 backward, always stop at indentation. Reverts the change from
3143 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3144
f78ee6af 31452012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 3146
a1d3e07e
GM
3147 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3148 Add ibuffer-filter-by-derived-mode.
3149
84acf328
GM
3150 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3151 the same name shadowing each other.
3152
38785e75
GM
3153 * window.el (with-temp-buffer-window): Doc tweak.
3154
57fc0fee
GM
3155 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3156
6ba6a3e5
GM
3157 * help.el (temp-buffer-max-height):
3158 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
3159 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3160
231d8498
SM
31612012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * emacs-lisp/nadvice.el: New package.
3164 * subr.el (special-form-p): New function.
3165 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3166 (elp-all-instrumented-list): Remove var.
3167 (elp-not-profilable): Remove elp-wrapper.
3168 (elp-profilable-p): Use autoloadp and special-form-p.
3169 (elp--advice-name): New const.
3170 (elp-instrument-function): Use advice-add.
3171 (elp--instrumented-p): New predicate.
3172 (elp-restore-function): Use advice-remove.
3173 (elp-restore-all, elp-reset-all): Use mapatoms.
3174 (elp-set-master): Use elp--instrumented-p.
3175 (elp--make-wrapper): Rename from elp-wrapper, return a function
3176 suitable for advice-add. Use cl-inf.
3177 (elp-results): Use mapatoms+elp--instrumented-p.
3178 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3179 (debug-function-list): Remove var.
3180 (debug): Rename arg, and then let-bind it explicitly inside.
3181 (debugger-setup-buffer): Rename arg.
3182 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3183 (debugger-frame-number): Adjust to new debug-on-entry setup.
3184 (debug--implement-debug-on-entry): Rename from
3185 implement-debug-on-entry, add argument.
3186 (debugger-special-form-p): Remove, use special-form-p instead.
3187 (debug-on-entry): Use advice-add.
3188 (debug--function-list): New function.
3189 (cancel-debug-on-entry): Use it, along with advice-remove.
3190 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3191 (debugger-list-functions): Use debug--function-list instead of
3192 debug-function-list.
3193 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3194 (ad-special-form-p): Remove, use special-form-p instead.
3195 (ad-set-advice-info): Use add-function and remove-function.
3196 (ad--defalias-fset): Adjust accordingly.
3197
19e09879
GM
31982012-11-10 Glenn Morris <rgm@gnu.org>
3199
714cebd1
GM
3200 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3201 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3202 (report-emacs-bug-create-existing-bugs-buffer)
3203 (report-emacs-bug-parse-query-results)
3204 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3205
bf67dafa
GM
3206 * term.el (term-default-fg-color, term-default-bg-color):
3207 Make obsolete, rather than just saying "deprecated" in the doc.
3208
19e09879
GM
3209 * term.el (term): Rename from `term-face'.
3210 (term-current-face, ansi-term-color-vector)
3211 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3212 Update all users.
3213
6baf66d5 32142012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
3215
3216 * server.el (server-create-window-system-frame): Handle Nextstep
3217 specially (Bug#12780).
3218
6baf66d5 32192012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
3220
3221 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3222 Unautoload, and make obsolete. (Bug#7449)
3223
6baf66d5 32242012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
3225
3226 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3227 rename from diff-remove-trailing-whitespace (Bug#12831).
3228
6baf66d5 32292012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
3230
3231 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3232 miscompilation of trace.el.
3233
6baf66d5 32342012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
3235
3236 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3237
6baf66d5 32382012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
3239
3240 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3241 (bug#12812).
3242
6baf66d5 32432012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
3244
3245 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3246 a defcustom with an appropriate :set function.
3247 (minibuffer-default--in-prompt-regexps): New function.
3248
6baf66d5 32492012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 3250
031b2ea7
GM
3251 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3252 (define-modify-macro): Doc fixes.
3253
2ee1d59f
GM
3254 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3255 (gv-define-simple-setter): Update doc of `fix-return'.
3256
6baf66d5 32572012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 3258
b715ed44
SM
3259 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3260 twice when `fix-return' is set (bug#12813).
3261
d57c286e
SM
3262 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3263 gv-define-simple-setter (bug#12812).
3264
c9cac599
SM
3265 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3266 (bug#12756).
3267
6baf66d5 32682012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
3269
3270 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3271
5593ed90
GM
3272 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3273 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3274 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3275 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3276
3277 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3278
05a859c1
LL
32792012-11-10 Leo Liu <sdl.web@gmail.com>
3280
3281 * ido.el (ido-set-matches-1): Improve flex matching performance by
3282 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3283
32e5c58c
SM
32842012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3285
3286 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3287 (ad--defalias-fset): New function.
3288 (ad-safe-fset): Remove.
3289 (ad-make-freeze-definition): Use cl-letf*.
3290
f5925cd9
SM
32912012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3292
da03ef8a
SM
3293 * subr.el (dolist): Don't bind VAR in RESULT.
3294
6858633a
SM
3295 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3296 (fset, documentation): Don't save real def since we don't advise.
3297 (ad-do-advised-functions): Remove problematic `result-form'.
3298 (ad-safe-fset): `ad-real-fset' => `fset'.
3299 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3300 uses CL's dolist internally.
3301 (ad-arglist): Remove unused arg `name'.
3302 (ad-docstring, ad-make-advised-docstring):
3303 `ad-real-documentation' => `documentation'.
3304 (warning-suppress-types): Declare.
3305 (ad-set-arguments): Simple CSE.
3306 (ad-recover-normality): Sanity check.
3307
f5925cd9
SM
3308 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3309 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3310
93a66b3a
VB
33112012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3312
3313 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
3314 `ses-cell'. This means that the same mapping is done for all SES
3315 sheets. That is good enough for cells with standard A1 names, but
3316 not for named cell. So a hash map is added for the latter.
3317 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
3318 (ses-sym-rowcol): Use hashmap for named cell.
3319 (ses-is-cell-sym-p): New defun.
3320 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
3321 (ses-create-cell-variable): Add cell to hashmap when name is not
3322 A1-like.
93a66b3a
VB
3323 (ses-rename-cell): Check that cell new name is not already in
3324 spreadsheet with the use of ses-is-cell-sym-p
3325 (ses-rename-cell): Use hash map for named cells, but accept also
3326 renaming back to A1-like.
3327
67dd8ad1
SM
33282012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3329
57618ecf
SM
3330 * emacs-lisp/advice.el: Use new dynamic docstrings.
3331 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3332 Use dynamic-docstring-function instead of ad-advice-info.
3333 (ad--make-advised-docstring): New function extracted from
3334 ad-make-advised-docstring.
3335 (ad-make-advised-docstring): Use it.
3336 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3337 from sql-help.
3338 (sql-help): Use it with dynamic-docstring-function.
3339
67dd8ad1
SM
3340 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3341
be883b34
SM
33422012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3343
d41706aa
SM
3344 * files.el (hack-one-local-variable--obsolete): New function.
3345 (hack-one-local-variable): Use it for obsolete settings.
3346
85e55412
SM
3347 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3348 the new name.
3349
be883b34
SM
3350 * progmodes/js.el (js--filling-paragraph): New var.
3351 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3352 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3353 less sneaky.
3354
cabc040a
JD
33552012-11-08 Julien Danjou <julien@danjou.info>
3356
3357 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3358 `auto-mode-alist' (Bug#12835).
3359
d14bb752
SM
33602012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3361
79b3e376
SM
3362 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3363 (perl--prettify-symbols-alist): New const.
3364 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3365 New functions.
3366 (perl-font-lock-keywords-2): Use them.
3367 (perl-electric-noindent-p): New function.
3368 (perl-mode): Use it to set up electric-indent-mode.
3369 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3370 (perl-mode-map): Remove bindings for them.
3371 (perl-imenu-generic-expression, perl-outline-level):
3372 Match functions&packages in column>0.
3373
3b11e6ac
SM
3374 * env.el (env--substitute-vars-regexp): New const.
3375 (substitute-env-vars): Use it. Add `only-defined' arg.
3376 * net/tramp.el (tramp-replace-environment-variables): Use it.
3377
784c1a7b
SM
3378 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3379 Byte-compile *before* eval in eval-and-compile.
3380 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3381 (byte-compile-file-form-autoload): Don't hide actual definition.
3382 (byte-compile-maybe-guarded): Accept `functionp' as well.
3383
d14bb752
SM
3384 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3385
499a0f7a
MA
33862012-11-07 Michael Albinus <michael.albinus@gmx.de>
3387
3388 * notifications.el (notifications-get-server-information-method):
3389 New defconst.
3390 (notifications-get-capabilities): Fix docstring.
3391 (notifications-get-server-information): New defun.
3392
f0704a9a
AM
33932012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3394
3395 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3396 readability.
3397
b159a1fd
AM
3398 * textmodes/ispell.el: Experimental support for support debugging.
3399 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3400 buffer for ispell.
3401 (ispell-print-if-debug): New function to print stuff to
3402 `ispell-debug-buffer' if debugging is enabled.
3403 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3404 show some debugging info.
3405 (ispell-buffer-with-debug): New function that creates a debugging
3406 buffer and calls `ispell-buffer' with debugging enabled.
3407
056cb3a1
AM
3408 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3409 comment in autoconf mode. (Bug#12768)
3410
8e6a67b7
DA
34112012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3412
3413 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3414 frame-first-window, frame-root-window, frame-selected-window,
3415 minibuffer-selected-window, minibuffer-window,
3416 window-absolute-pixel-edges, window-at, window-body-height,
3417 window-body-width, window-display-table, window-combination-limit,
3418 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3419 window-inside-edges, window-inside-pixel-edges, window-left-child,
3420 window-left-column, window-margins, window-next-buffers,
3421 window-next-sibling, window-new-normal, window-new-total,
3422 window-normal-size, window-parameter, window-parameters, window-parent,
3423 window-pixel-edges, window-point, window-prev-buffers,
3424 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3425 window-start, window-text-height, window-top-child, window-top-line,
3426 window-total-height, window-total-width and window-use-time to the list
3427 of functions without side-effects.
3428 (toplevel): Add window-valid-p to the list of error-free functions
3429 without side-effects.
3430
53fc914f
AM
34312012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3432
f5925cd9
SM
3433 * textmodes/ispell.el (ispell-program-name):
3434 Update spellchecker parameters when customized.
53fc914f 3435
9749e2b0
GM
34362012-11-04 Glenn Morris <rgm@gnu.org>
3437
3438 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3439
2cbafa56
CY
34402012-11-04 Chong Yidong <cyd@gnu.org>
3441
3442 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3443 same-window-* variables.
3444
85178ca1
JL
34452012-11-04 Juri Linkov <juri@jurta.org>
3446
3447 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3448 (isearch-describe-key, isearch-describe-mode): Use a display
3449 action instead of binding same-window-* variables (Bug#10040).
3450
5c677d44
GM
34512012-11-03 Glenn Morris <rgm@gnu.org>
3452
49138400
GM
3453 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3454 Rename handler properties back from cl-- to cl-. (Bug#12788)
3455
5c677d44
GM
3456 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3457
1d4341f9
EZ
34582012-11-03 Eli Zaretskii <eliz@gnu.org>
3459
3460 * term/pc-win.el: Don't load term/internal from here.
3461
3462 * loadup.el: Load term/internal from here.
3463
12fd5ee1
FEG
34642012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3465
3466 * progmodes/python.el (inferior-python-mode): Fix hang in
3467 jit-lock (Bug#12645).
3468
43bcfda6
MR
34692012-11-03 Martin Rudalics <rudalics@gmx.at>
3470
3471 * window.el (switch-to-visible-buffer)
3472 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3473
376a8e83
GM
34742012-11-03 Glenn Morris <rgm@gnu.org>
3475
3476 * emacs-lisp/cl-lib.el (cl--random-time):
3477 Rename from cl-random-time. (Bug#12773)
3478 (cl--gensym-counter, cl--random-state): Update callers.
3479 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3480
0f7b074f
CY
34812012-11-03 Chong Yidong <cyd@gnu.org>
3482
3483 * cus-start.el: Make cursor-type customizable (Bug#11633).
3484
3a6851d9
GM
34852012-11-02 Glenn Morris <rgm@gnu.org>
3486
00a3b041
GM
3487 * filecache.el: No need to load find-lisp when compiling.
3488 (find-lisp-find-files): Autoload it.
3489 (file-cache-add-directory-recursively): Don't require find-lisp.
3490
11fef14a
GM
3491 * image.el (image-type-from-file-name): Trivial simplification.
3492
3a6851d9
GM
3493 * emacs-lisp/bytecomp.el (byte-compile-eval):
3494 Decouple "noruntime" and "cl-functions" warnings.
3495
b4b096e4
SB
34962012-11-01 Stephen Berman <stephen.berman@gmx.net>
3497
3498 * play/gomoku.el (gomoku-display-statistics): Update mode line
3499 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3500
218e997a
MR
35012012-10-31 Martin Rudalics <rudalics@gmx.at>
3502
3503 * window.el (quit-restore-window): If the window has been
3504 created on an existing frame and ended up as the sole window on
3505 that frame, do not delete it (Bug#12764).
3506
b08b6da7
SM
35072012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3508
3618df45
SM
3509 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3510 Rename from sh--inside-arithmetic-expression, handle more cases
3511 (bug#11263).
3512
b08b6da7
SM
3513 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3514 (sh-font-lock-open-heredoc): Use it (bug#12770).
3515
4ddedf94
GM
35162012-10-30 Glenn Morris <rgm@gnu.org>
3517
f43a5263
GM
3518 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3519
4ddedf94
GM
3520 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3521
748b0d84
CY
35222012-10-29 Chong Yidong <cyd@gnu.org>
3523
b5dd9a77
CY
3524 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3525 function key is stored in a keyboard macro (Bug#4894).
3526
748b0d84
CY
3527 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3528
e07fcbdc
SM
35292012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3530
d7f9cc85
SM
3531 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3532 header comments".
3533 (diff-unified->context, diff-context->unified)
3534 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3535
c606253c
SM
3536 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3537
e07fcbdc
SM
3538 * files.el (find-alternate-file): Only ask one question (bug#12487).
3539
894b9dd9
CY
35402012-10-29 Chong Yidong <cyd@gnu.org>
3541
1dc2755a
CY
3542 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3543 Suggested by Dan Nicolaescu (Bug#6326).
3544
329c48d8
CY
3545 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3546
2230fa5b 3547 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 3548
e84cad57
CY
3549 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3550
1913c5f5
CY
3551 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3552
894b9dd9
CY
3553 * face-remap.el (face-remap-add-relative): Handle the case where a
3554 face-remapping-alist entry is a cons cell (Bug#12762).
3555
329c48d8
CY
35562012-10-29 Kevin Ryde <user42@zip.com.au>
3557
3558 * woman.el (woman-parse-numeric-value): Handle picas correctly
3559 (Bug#12639).
3560
a0ccbcbd
GM
35612012-10-29 Glenn Morris <rgm@gnu.org>
3562
3563 * emacs-lisp/cl.el (defsetf): Doc fix.
3564
b3871e59
SM
35652012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3566
3567 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3568 syntax to the matching opener, if any (bug#12547).
3569 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3570 matching open as a "case-(".
3571 (sh-smie-rc-grammar): Add a corresponding rule for it.
3572
cd44022c
DH
35732012-10-28 Daniel Hackney <dan@haxney.org>
3574
3575 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3576 "PKGNAME-autoloads.el" in case we created it.
3577
70edffb1
SM
35782012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3579
86957a0c
SM
3580 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3581 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 3582 (completion--twq-all): Disable too-strict assertions.
86957a0c 3583
70edffb1
SM
3584 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3585
d069271c
EZ
35862012-10-27 Eli Zaretskii <eliz@gnu.org>
3587
3588 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3589 text to match the real keybindings.
3590
e2f022a3
JL
35912012-10-27 Juri Linkov <juri@jurta.org>
3592
3593 * wdired.el (wdired-keep-marker-rename): New defcustom.
3594 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3595 (Bug#11795)
3596
3597 * dired.el (dired-keep-marker-rename): Add reference to
3598 `wdired-keep-marker-rename' in the docstring.
3599 Add default character value ?R to display initially in
3600 Customization UI instead of ?@.
3601
df171c23
MR
36022012-10-27 Martin Rudalics <rudalics@gmx.at>
3603
3604 * window.el (display-buffer): In doc-string describe
3605 window-height and window-width alist entries.
3606
3607 * time.el (display-time-world): Restore fit-window-to-buffer
3608 behavior.
3609
05b621a6
CY
36102012-10-27 Chong Yidong <cyd@gnu.org>
3611
3612 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3613
55f197b2
J
36142012-10-26 Jambunathan K <kjambunathan@gmail.com>
3615
3616 * minibuffer.el (completion-category-overrides): New completion
3617 category `bookmark' (bug#11131).
3618
372212df
SM
36192012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3620
150f809c
SM
3621 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3622 Silence bogus compiler warnings for ad-do-it.
3623
372212df
SM
3624 * bookmark.el (bookmark-completing-read): Set the completion category
3625 to `bookmark' (bug#11131).
3626
c5772569
B
36272012-10-26 Bastien <bzg@altern.org>
3628 Stefan Monnier <monnier@iro.umontreal.ca>
3629
3630 * face-remap.el: Use lexical-binding.
3631 (text-scale-adjust): Improve docstring. Use itself for the temporary
3632 overlay-map bindings, so as to repeat the "Use..." message each time.
3633
a2be0357
SM
36342012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3635
63314e57
SM
3636 * emacs-lisp/macroexp.el (macroexp--expand-all):
3637 Obey byte-compile-warning-enabled-p (bug#12486).
3638
a2be0357
SM
3639 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3640 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3641
8c7727c3
MR
36422012-10-26 Martin Rudalics <rudalics@gmx.at>
3643
3644 * mouse.el (mouse-drag-line): Move last form into preceding when
3645 clause (Bug#12731).
3646
3647 * help.el (resize-temp-buffer-window): Fix doc-string.
3648
3f2a848d
DE
36492012-10-25 David Engster <deng@randomsample.de>
3650
3651 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 3652 Remove. This feature is already integrated in imenu.
3f2a848d
DE
3653
3654 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3655 always loaded. Require `speedbar' unconditionally.
3656
a7723be6
SM
36572012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3658
aaabfc8b
SM
3659 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3660
414a8595
SM
3661 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3662
fb5b9475
SM
3663 * net/ldap.el (ldap-search-internal): The official ldif format starts
3664 with a "version: 1" header (bug#12724).
3665
a7723be6
SM
3666 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3667 (bug#12721).
3668
a05cb6e3
GM
36692012-10-25 Glenn Morris <rgm@gnu.org>
3670
3671 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3672
3c92de70
SM
36732012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * minibuffer.el (minibuffer-force-complete): Use one more marker
3676 for the temporary-overlay-map command (bug#12619).
3677
a4b6d7c6
CY
36782012-10-24 Chong Yidong <cyd@gnu.org>
3679
3680 * time.el (display-time-world-mode): Derive from special-mode.
3681 (display-time-world): Use display-buffer (Bug#12708).
3682 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
3683 (display-time-world-display): Wrap the final delete-char inside
3684 inhibit-read-only.
a4b6d7c6 3685
75e8f9d2
CY
36862012-10-24 Chong Yidong <cyd@gnu.org>
3687
cd996018
CY
3688 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3689 Doc fix.
3690
75e8f9d2
CY
3691 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3692
d92df117
SM
36932012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * minibuffer.el (completion--all-sorted-completions-location): New var.
3696 (completion--cache-all-sorted-completions)
3697 (completion--flush-all-sorted-completions): Use it.
3698 (completion-in-region, completion-in-region--postch)
3699 (completion-at-point, completion-help-at-point): Use markers in
3700 completion-in-region--data (bug#12619).
3701
9c3e39f3
SM
37022012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3703
c79825bd
SM
3704 * progmodes/compile.el (compilation-start): Try to handle common
3705 quoting of `cd' argument (bug#12640).
3706
9c3e39f3
SM
3707 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3708 (bug#12671).
3709
a6709bc7
GM
37102012-10-23 Glenn Morris <rgm@gnu.org>
3711
3712 * progmodes/gud.el (gud-menu-map):
3713 Check gdb-active-process is bound. (Bug#12358)
3714
d1069532
SM
37152012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3716
d20d69c0
SM
3717 * repeat.el (repeat): Set real-this-command (bug#12232).
3718
d1069532
SM
3719 * htmlfontify.el (hfy-post-html-hook):
3720 * filesets.el (filesets-cache-fill-content-hook):
3721 * arc-mode.el (archive-extract-hook):
3722 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3723 * net/rcirc.el (rcirc-sentinel-functions)
3724 (rcirc-receive-message-functions, rcirc-activity-functions)
3725 (rcirc-print-functions):
3726 * net/dbus.el (dbus-event-error-functions):
3727 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3728 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3729 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3730 * term/sun.el (sun-raw-prefix-hooks):
3731 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3732
f7eac6d8
MA
37332012-10-23 Michael Albinus <michael.albinus@gmx.de>
3734
d1069532
SM
3735 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3736 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
3737 (tramp-smb-wait-for-output): Add timeout to
3738 `tramp-accept-process-output' calls.
3739
608d9d7c
CY
37402012-10-23 Chong Yidong <cyd@gnu.org>
3741
49238e7f
CY
3742 * faces.el (font-list-limit): Define as an obsolete variable.
3743
3744 * startup.el (command-line):
3745 * cus-start.el: Don't refer to font-list-limit.
3746
608d9d7c
CY
3747 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3748
4ff5b1b2
SM
37492012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * subr.el (internal-temp-output-buffer-show): Rename from
3752 temp-output-buffer-show, since previously compiled files expect this name.
3753
ea1d4aac
GM
37542012-10-23 Glenn Morris <rgm@gnu.org>
3755
3756 * image.el (image-type-from-file-name): If multiple types match,
3757 return the first one that is supported. (Bug#9045)
3758
eda82a31
GM
37592012-10-22 Glenn Morris <rgm@gnu.org>
3760
3761 * image.el (imagemagick-enabled-types): Doc fix.
3762
4f020bec
TA
37632012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3764
3765 * progmodes/which-func.el (which-func-current): The hash-table may have
3766 an explicit nil (bug#12338).
3767
c77d37e2
SM
37682012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3769
3770 * electric.el (electric-pair-delete-selection-self-insert-function):
3771 Rename to electric-pair-will-use-region, return a boolean.
3772 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3773
3774 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3775 (delete-selection-pre-hook): Use use-region-p.
3776 (delete-selection-self-insert-function): Remove.
3777 (self-insert-command): Obey self-insert-uses-region-functions.
3778 (self-insert-iso): Revert to previous setting, since we don't actually
3779 know what that command does.
3780 (delete-selection-self-insert-hooks): Remove.
3781
b1d39ccc
SL
37822012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3783
3784 * delsel.el (delete-selection-helper): New function, extracted from
3785 delete-selection-pre-hook.
3786 (delete-selection-pre-hook): Use it.
3787 (delete-selection-self-insert-function): New function.
3788 (delete-selection-self-insert-hooks): New hook.
3789 (self-insert-command, self-insert-iso): Use it.
3790 * electric.el (electric-pair-syntax): New function, extracted from
3791 electric-pair-post-self-insert-function.
3792 (electric-pair-post-self-insert-function): Use it.
3793 (electric-pair-delete-selection-self-insert-function): New function.
3794 (electric-pair-mode): Require delsel and setup
3795 delete-selection-self-insert-hooks (bug#11520).
3796
045ef729
CY
37972012-10-20 Chong Yidong <cyd@gnu.org>
3798
4c5d08a8
CY
3799 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3800 no changes to show (Bug#12586).
3801
045ef729
CY
3802 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3803 list explicitly (Bug#12571).
3804
3503c798 38052012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 3806
b1d39ccc
SL
3807 * progmodes/flymake.el (flymake-create-temp-inplace):
3808 Use file-truename.
79e1997a 3809
2068905b
EZ
38102012-10-20 Eli Zaretskii <eliz@gnu.org>
3811
3812 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3813
4c9e9550
JB
38142012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3815
3816 * calc/calc-units.el (math-extract-units): Properly extract powers
3817 of units.
3818
1a6e7e38
DC
38192012-10-20 Daniel Colascione <dancol@dancol.org>
3820
3821 * frame.el (make-frame): Set x-display-name as we used to in order
3822 to unbreak creating an X11 frame from an Emacs daemon started
3823 without a display.
3824
8e808318
SM
38252012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 3828 the same completion-field (bug#12221).
8e808318 3829
fb0104da
MR
38302012-10-19 Martin Rudalics <rudalics@gmx.at>
3831
3832 * emacs-lisp/debug.el (debug): Record height of debugger window
3833 also when debugger will be back (Bug#8789).
3834
8c27235e
CY
38352012-10-18 Chong Yidong <cyd@gnu.org>
3836
3837 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3838 Convert to defcustom.
3839 (gdb-get-source-file): Don't bind pop-up-windows.
3840
3841 * progmodes/gud.el (gud-display-line): Don't specially re-use
3842 other frames for the gdb-mi case (Bug#12648).
3843
90eacf99
SM
38442012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3845
aaf0c300
SM
3846 * emacs-lisp/advice.el: Clean up commentary a bit.
3847 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3848 (byte-code-function-p): Never redefine.
3849
90eacf99
SM
3850 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3851
281c9d2b
GM
38522012-10-18 Glenn Morris <rgm@gnu.org>
3853
40714e3d
GM
3854 * dired.el (dired-sort-toggle): Some ls implementations only allow
3855 a single option string. (Bug#12666)
3856
281c9d2b
GM
3857 * minibuffer.el (completion-cycle-threshold): Doc fix.
3858
b278604e
KH
38592012-10-17 Kenichi Handa <handa@gnu.org>
3860
90eacf99
SM
3861 * international/mule.el (set-keyboard-coding-system):
3862 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
3863 Supply TERMINAL arg to set-input-meta-mode.
3864
df171c23 38652012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
3866
3867 * wdired.el (wdired-old-marks): New variable.
3868 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3869 (wdired-do-renames): Move point with renamed file and don't lose
3870 mark status (Bug#11795).
3871
e5a94ec4
JL
38722012-10-16 Juri Linkov <juri@jurta.org>
3873
3874 * replace.el (query-replace-help): Mention multi-buffer replacement
3875 keys in the Help message. (Bug#12655)
3876
d18a0d24
CY
38772012-10-15 Chong Yidong <cyd@gnu.org>
3878
3879 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3880
8111f5e6
EZ
38812012-10-14 Eli Zaretskii <eliz@gnu.org>
3882
7b9abf24
EZ
3883 * window.el (display-buffer): Doc fix.
3884
8111f5e6
EZ
3885 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3886 Adjust the msft regexp to the output of Studio 2010, and move msft
3887 before edg-1. See the discussion on emacs-devel,
3888 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3889 for the details.
3890
5046ef67
SM
38912012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3892
9760c73c
SM
3893 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3894 (oset): Move uses of object-class-fast macro after its definition.
3895
5046ef67
SM
3896 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3897
0d11ff1c
CY
38982012-10-13 Chong Yidong <cyd@gnu.org>
3899
3900 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3901 enabled, re-enable it (Bug#11963).
3902
88ded8ac
MR
39032012-10-13 Martin Rudalics <rudalics@gmx.at>
3904
3905 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3906 non-nil, restore window configuration (Bug#12623).
3907
bd0ffffd
SM
39082012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3909
06485aa8
SM
3910 * help-fns.el (describe-variable, describe-function-1):
3911 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3912
bd0ffffd
SM
3913 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3914
3a989246
GM
39152012-10-12 Glenn Morris <rgm@gnu.org>
3916
3917 * mail/rmailsum.el (rmail-header-summary):
3918 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3919
55cd00c8
FEG
39202012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3921
bd0ffffd
SM
3922 * progmodes/python.el (python-mode-map):
3923 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
3924 (python-nav--up-list): Fix behavior for blocks on the same level.
3925
ac9fc2c7
SM
39262012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3927
d8cc4c00 3928 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 3929
5253a5fd
SM
3930 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3931 changes to the format of load-history.
3932
ac9fc2c7
SM
3933 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3934 completion-ignore-case in case that var is buffer-local (bug#12615).
3935
cde44a77
KH
39362012-10-11 Kenichi Handa <handa@gnu.org>
3937
3938 * international/eucjp-ms.el: Re-generated.
3939
4ef4a10d
KH
39402012-10-10 Kenichi Handa <handa@gnu.org>
3941
3942 * select.el (xselect--encode-string): If a coding is specified for
3943 selection, and that is compatible with COMPOUND_TEXT, use it.
3944
9d7f027b
MR
39452012-10-10 Martin Rudalics <rudalics@gmx.at>
3946
3947 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
3948 (switch-to-buffer):
3949 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 3950
238f3a58
SM
39512012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3954 Don't document nil as a useful value (bug#12583).
3955
1d51f99c
MA
39562012-10-09 Michael Albinus <michael.albinus@gmx.de>
3957
238f3a58
SM
3958 * net/tramp.el (tramp-debug-message):
3959 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
3960 (with-tramp-progress-reporter): Rename from
3961 `tramp-with-progress-reporter'.
238f3a58
SM
3962 (with-tramp-file-property, with-tramp-connection-property):
3963 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
3964 `with-connection-property', respectively.
3965
3966 * net/tramp-cache.el: Remove `with-file-property' and
3967 `with-connection-property'.
3968
3969 * net/tramp.el:
3970 * net/tramp-gvfs.el:
3971 * net/tramp-sh.el:
3972 * net/tramp-smb.el: Adapt callees.
3973
3974 * net/trampver.el: Update release number.
3975
26b77251
GM
39762012-10-09 Glenn Morris <rgm@gnu.org>
3977
9a5f296f
GM
3978 * w32-fns.el (set-message-beep):
3979 * term/w32-win.el (set-message-beep): Update declarations.
3980
94c66ce5
SM
39812012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3982
10766e9e
SM
3983 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3984 (mode-line-widen, mode-line-input-method-map)
3985 (mode-line-coding-system-map, mode-line-remote)
3986 (mode-line-unbury-buffer, mode-line-bury-buffer)
3987 (mode-line-next-buffer, mode-line-previous-buffer):
3988 Replace save-selected-window+select-window => with-selected-window.
3989
f754db08
SM
3990 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3991 * progmodes/cc-vars.el (bq-process): Remove, unused.
3992
94c66ce5
SM
3993 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3994
a4ff7fe1
FEG
39952012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3996
3997 Implemented `backward-up-list'-like navigation.
3998 * progmodes/python.el (python-nav-up-list)
3999 (python-nav-backward-up-list): New functions.
4000 (python-mode-map): Define substitute key for backward-up-list to
4001 python-nav-backward-up-list.
4002
24517d82
FEG
40032012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4004
4005 * progmodes/python.el (python-fill-paragraph): Rename from
4006 python-fill-paragraph-function. Fixed fill-paragraph for
4007 decorators (Bug#12605).
4008
51867ae2
FEG
40092012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4010
4011 * progmodes/python.el (python-shell-output-filter): Handle extra
4012 carriage return in OSX (Bug#12409).
4013
a5b773c4
FEG
40142012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4015
4016 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 4017 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
4018 (python-syntax-propertize-function): Use it.
4019 (python-shell-output-syntax-table): New var.
4020 (inferior-python-mode): Prevent unbalanced parens/quotes from
4021 previous output mess with current input context.
4022
13373538
JB
40232012-10-08 Juanma Barranquero <lekktu@gmail.com>
4024
4025 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4026 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4027
775a132d
MA
40282012-10-08 Michael Albinus <michael.albinus@gmx.de>
4029
4030 * ffap.el (ffap-replace-file-component): Support Tramp file name
4031 syntax, not only ange-ftp's one.
4032
3ab44929
GM
40332012-10-08 Glenn Morris <rgm@gnu.org>
4034
57f1dee4
GM
4035 * cus-start.el (message-log-max): Set :version.
4036
3ab44929
GM
4037 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4038
6a088630
MR
40392012-10-08 Martin Rudalics <rudalics@gmx.at>
4040
4041 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4042 the minibuffer window (Bug#10851).
4043
8dbce54c
FEG
40442012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4045
4046 Enhancements on forward-sexp movement.
4047 * progmodes/python.el (python-nav-beginning-of-statement)
4048 (python-nav-end-of-statement): Return point-marker.
4049 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4050 (python-info-current-symbol)
4051 (python-info-statement-starts-block-p): Rename from
4052 python-info-beginning-of-block-p.
4053 (python-info-statement-ends-block-p): Rename from
4054 python-info-end-of-block-p.
4055 (python-info-beginning-of-statement-p)
4056 (python-info-end-of-statement-p)
4057 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4058 New functions.
4059
5acd2b3e
SM
40602012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4063 frame-selected-windows.
4064
e08348a0
DC
40652012-10-08 Daniel Colascione <dancol@dancol.org>
4066
4067 * battery.el (battery-status-function): Check for
4068 w32-battery-status itself, not system-time windows-nt.
4069
4070 * frame.el: Require cl-lib.
4071 (display-format-alist): New variable mapping frame types to
4072 functions that initialize them.
4073 (window-system-for-display): New function: interprets
4074 display-format-alist.
4075 (make-frame-on-display): Remove existing display-selection logic
4076 and just forward to make-frame, which will now DTRT.
4077 (make-frame): Restructure to use window-system-for-display to
4078 figure out how to create a frame on a given display.
4079 (display-mouse-p): Look for frame-type w32, not a particular
4080 system-type.
4081
4082 * loadup.el: Load w32 lisp code when we have the w32 feature.
4083
4084 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4085 system-type windows-nt.
4086
4087 * server.el (server-create-window-system-frame): Look for window
4088 type.
4089 (server-proces-filter): Only force a window system when windows-nt
4090 _and_ w32. Explain why.
4091
4092 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4093 of window systems we configure for the mode.
4094
4095 * startup.el (command-line): Mark window system is initialized
4096 after we've done it.
4097
4098 * common-win.el (x-select-text): Look for w32, not windows-nt.
4099
4100 * ns-win.el: Require cl-lib. Add ourselves to
4101 display-format-alist.
4102 (ns-initialize-window-system): Assert we're not initialized twice.
4103
4104 * w32-win.el: Enable lexical binding; require cl-lib; add
4105 ourselves to display-format-alist.
4106 (w32-handle-dropped-file): Convert incoming dropped files from
4107 Windows paths to Cygwin ones before passing them on to the rest of
4108 Emacs.
4109 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4110 (w32-initialize-window-system): Assert we're not initialized twice.
4111
4112 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4113 (x-initialize-window-system): Assert we're not initialized twice.
4114
4115 * w32-common-fns.el: New File.
4116 (w32-version, w32-using-nt, w32-get-clipboard-data)
4117 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4118 (w32-charset-info-alist, x-last-selected, text)
4119 (x-get-selection-value, x-selection-value): Move here.
4120
4121 * w32-fns.el: Require w32-common-fns.
4122 (w32-version, w32-using-nt, w32-get-clipboard-data)
4123 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4124 (w32-charset-info-alist, x-last-selected, text)
4125 (x-get-selection-value, x-selection-value): Move to
4126 w32-common-fns.
4127
4128 * w32-vars.el:
4129 (w32-allow-system-shell, w32-system-shells): Define only in
4130 non-cygwin case.
4131
795b1482
SM
41322012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4133
4134 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4135 (read-passwd): Remove a few more potential sources of leaks.
4136
f27c99dc
FEG
41372012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4138
4139 * progmodes/python.el (inferior-python-mode)
795b1482 4140 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
4141 variables copied from parent buffer.
4142
fcacb558
JD
41432012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4144
4145 * term/ns-win.el (ns-read-file-name): Update declaration to match
4146 nsfns.m.
4147 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4148 it is set when font is acted upon.
4149
be0d5bae
FEG
41502012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4151
4152 Enhancements to indentation.
4153 * progmodes/python.el (python-indent-context): Give priority to
4154 inside-string context. Make comments indentation markers.
4155 (python-indent-region): Do not mess with strings, unless it's the
4156 enclosing set of quotes.
4157
13af0d10
SM
41582012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4159
662a9d0e
SM
4160 * window.el (internal--before-save-selected-window)
4161 (internal--after-save-selected-window): New functions extracted from
4162 save-selected-window. Make sure we return the `alist' we construct.
4163 (save-selected-window): Use them.
4164
4165 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4166 Use with-selected-window.
4167
13af0d10
SM
4168 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4169 forms that define macros (bug#12593).
4170
6aa75fb6
KH
41712012-10-07 Kenichi Handa <handa@gnu.org>
4172
13af0d10
SM
4173 * international/mule-conf.el (compound-text-with-extensions):
4174 Add :mime-charset property as x-ctext.
6aa75fb6 4175
78d876b9
SM
41762012-10-07 Stefan Merten <smerten@oekonux.de>
4177
4178 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4179 (rst-indent-literal-normal, rst-indent-literal-minimized)
4180 (rst-indent-comment): Correct :version tag.
557337e9 4181 (rst-official-cvs-rev): Correct version string.
78d876b9 4182
99a1e701
GM
41832012-10-07 Glenn Morris <rgm@gnu.org>
4184
4185 * mail/rmailmm.el (rmail-mime-process-multipart):
4186 Do not confuse a multipart message with an epilogue
4187 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4188
08f18c3d
FEG
41892012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4190
4191 Fix shell output retrieval and comint-prompt-regexp init.
4192 * progmodes/python.el (inferior-python-mode):
4193 (python-shell-make-comint): Fix initialization of
4194 comint-prompt-regexp from copied file local variables.
4195 (python-shell-fetched-lines): Remove var.
4196 (python-shell-output-filter-in-progress): Rename from
4197 python-shell-fetch-lines-in-progress.
4198 (python-shell-output-filter-buffer): Rename from
4199 python-shell-fetch-lines-string.
4200 (python-shell-fetch-lines-filter): Delete function.
4201 (python-shell-output-filter): New function.
4202 (python-shell-send-string-no-output): Use them.
4203
82ed3ab4
GM
42042012-10-07 Glenn Morris <rgm@gnu.org>
4205
1595ecfa
GM
4206 * hi-lock.el (hi-lock-process-phrase):
4207 Try to make it less fragile. (Bug#7161)
4208
82ed3ab4
GM
4209 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4210
f1f4dba0
GM
42112012-10-06 Glenn Morris <rgm@gnu.org>
4212
addc11ed 4213 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
4214 non-existent mode `help'.
4215 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 4216
460042b8
GM
4217 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4218 (reftex-create-bibtex-footer): Fix custom types.
4219
67667c70
GM
4220 * progmodes/sh-script.el (sh-indent-after-continuation):
4221 Add explicit :group.
4222
18dec750
GM
4223 * textmodes/rst.el (rst-preferred-decorations)
4224 (rst-shift-basic-offset): Clarify obsolescence versions.
4225
d1a1c7e6
GM
4226 * profiler.el (profiler): Add missing group :version tag.
4227 * avoid.el (mouse-avoidance-banish-position):
4228 * proced.el (proced-renice-command):
4229 * calc/calc.el (calc-ensure-consistent-units):
4230 * calendar/icalendar.el (icalendar-import-format-uid):
4231 * net/tramp.el (tramp-save-ad-hoc-proxies):
4232 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4233 * progmodes/flymake.el (flymake-error-bitmap)
4234 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4235 * progmodes/sh-script.el (sh-indent-after-continuation):
4236 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4237 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4238 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4239 (vhdl-array-index-record-field-in-sensitivity-list)
4240 (vhdl-indent-comment-like-next-code-line):
4241 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4242 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4243 (reftex-cite-key-separator, reftex-create-bibtex-header)
4244 (reftex-create-bibtex-footer):
4245 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4246 (rst-indent-literal-normal, rst-indent-literal-minimized)
4247 (rst-indent-comment): Add missing custom :version tags.
4248
ef35abb4
GM
4249 * calendar/timeclock.el (timeclock-modeline-display):
4250 Add missing obsolete alias for renamed user option.
4251
d1aae614
GM
4252 * strokes.el (strokes-modeline-string):
4253 * emulation/crisp.el (crisp-mode-modeline-string):
4254 * eshell/esh-mode.el (eshell-status-in-modeline):
4255 Aliases to defcustoms must come before the defcustom.
4256
f1f4dba0
GM
4257 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4258 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4259 (cal-tex-cursor-week-monday): Doc fixes.
4260 (cal-tex-cursor-week2-summary): Doc fix.
4261 Rename from cal-tex-cursor-week-at-a-glance.
4262
4263 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4264 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4265
4266 * calendar/calendar.el (calendar-mode-map):
4267 Add cal-tex-cursor-week2-summary.
4268
d39109c3
SM
42692012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4270
685f87b0
SM
4271 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4272
d39109c3
SM
4273 * subr.el (read-passwd-map): New var.
4274 (read-passwd): Use `read-string' again.
4275 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4276
5694896d
J
42772012-10-06 Jambunathan K <kjambunathan@gmail.com>
4278
4279 * register.el (append-to-register, prepend-to-register):
4280 Deactivate mark, as does `copy-to-register' (bug#12389).
4281
9414dd8d
CY
42822012-10-06 Chong Yidong <cyd@gnu.org>
4283
4284 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4285
2b89bca4
KH
42862012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4287
4288 * international/characters.el: Fix simple mistake ((car chars) ->
4289 elt), delete duplicated code.
4290
d5acb99a
GM
42912012-10-06 Glenn Morris <rgm@gnu.org>
4292
4293 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4294
123ec157
JS
42952012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4296
4297 * color.el (color-hsl-to-rgb): Fix incorrect results for
4298 small and large hue values. (Bug#12559)
4299
7fa36ccb
FEG
43002012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4301
4302 Enhancements to docstring formatting when filling paragraphs.
4303 * progmodes/python.el (python-fill-docstring-style): Rename from
4304 python-fill-string-style. Added new style.
4305 (python-fill-string): Use new style. Better checks for
4306 docstrings.
4307
d8788e1e
GM
43082012-10-05 Glenn Morris <rgm@gnu.org>
4309
204f3953
GM
4310 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4311
d8788e1e
GM
4312 * color.el (color-name-to-rgb, color-rgb-to-hex)
4313 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4314 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4315 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4316 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4317
8d956cef
GM
4318 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4319
e8757f09 43202012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
4321
4322 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4323 to get the correct size across symlinks.
4324
e8757f09
GM
4325 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4326
0e2ae83d
JL
43272012-10-04 Juri Linkov <juri@jurta.org>
4328
4329 * replace.el (query-replace-interactive): Declare obsolete.
4330 (query-replace-read-from): Add the last incremental search string
4331 to the list of default values accessible via M-n.
4332 (map-query-replace-regexp): Use `read-regexp'.
4333 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4334 (map-query-replace-regexp, replace-string, replace-regexp):
4335 Fix docstrings to replace mentions of `query-replace-interactive'
4336 with alternatives. (Bug#12526)
4337
93cacb6d
JL
43382012-10-04 Juri Linkov <juri@jurta.org>
4339
4340 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4341 (dired-pop-to-buffer): Declare obsolete.
4342 (dired-mark-pop-up): Doc fix.
4343
fc345011
FEG
43442012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4345
4346 Allow user to set docstring style for fill-paragraph.
4347 * progmodes/python.el
4348 (python-fill-comment-function, python-fill-string-function)
4349 (python-fill-decorator-function, python-fill-paren-function):
4350 Remove :safe for defcustoms.
4351 (python-fill-string-style): New defcustom
5694896d 4352 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
4353 (python-fill-string): Honor python-fill-string-style settings.
4354
6bab5d8b
MR
43552012-10-04 Martin Rudalics <rudalics@gmx.at>
4356
4357 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4358 after setting its buffer (Bug#10805).
4359
a1a9f411
FEG
43602012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4361
4362 Fix cornercase for string syntax.
4363 * progmodes/python.el (python-syntax-propertize-function):
4364 Simplify and enhance the regexp for unescaped quotes. Now it also
4365 matches quotes in weird situations like the single quote in
4366 "something\"'".
4367 (python-syntax-stringify): Simplify num-quotes detecting code.
4368
05e153a6
GM
43692012-10-03 Glenn Morris <rgm@gnu.org>
4370
4371 * help-macro.el (three-step-help):
4372 Revert 2012-09-29 change. (Bug#12567)
4373
2e566ecb
MR
43742012-10-03 Martin Rudalics <rudalics@gmx.at>
4375
96ef9ccd
MR
4376 * menu-bar.el (kill-this-buffer): Don't do anything when
4377 `menu-frame' is not alive or visible (Bug#8184).
4378
2e566ecb
MR
4379 * emacs-lisp/debug.el (debug): When quitting the debugger window
4380 restore current buffer (Bug#12502).
4381
a96e1cb7
CY
43822012-10-02 Chong Yidong <cyd@gnu.org>
4383
5694896d
J
4384 * progmodes/hideif.el (hif-lookup, hif-defined):
4385 Handle semantic-c-takeover-hideif.
a96e1cb7 4386
b3ecad33
PE
43872012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4388
4389 Change sampling interval units from ms to ns.
4390 * profiler.el (profiler-sampling-interval): Change units
4391 from ms to ns, multiplying the default by 1000000 so that
4392 it remains 1 ms.
4393 (profiler-report-cpu-line-format): Give enough room for
4394 the maximum counters on 64-bit hosts.
4395 (profiler-report-render-calltree-1): Call them "CPU samples",
4396 not "Time (ms)", since they are not milliseconds now (and
4397 never really were).
4398
8cb51b66 43992012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 4400
5694896d
J
4401 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4402 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 4403
fd795bf4
CY
44042012-10-02 Chong Yidong <cyd@gnu.org>
4405
4406 * emacs-lisp/eieio.el: Restore Version header.
4407
fe0a74f9
SM
44082012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4409
6be9197e
SM
4410 * vc/diff-mode.el (diff--auto-refine-data): New var.
4411 (diff-hunk): Use it to delay refinement.
4412 (diff-mode): Remove overlays when we turn off font-lock.
4413
18486139
SM
4414 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4415 (table-initialize-table-fixed-width-mode)
4416 (table-set-table-fixed-width-mode): Remove functions.
4417 (table-command-list): Move initialization into declaration.
4418 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4419 (table-with-cache-buffer): Use `declare'.
4420 (table-span-cell): Simplify via CSE.
4421 (table-fixed-width-mode): Use define-minor-mode.
4422 (table-call-interactively, table-funcall, table-apply): Remove.
4423 (table-function): New function, to replace them.
4424
d83ef976
SM
4425 * bookmark.el (bookmark-search-pattern): Remove var.
4426 (bookmark-read-search-input): Remove function.
4427 (bookmark-bmenu-search): Reimplement using a minibuffer.
4428
cd386662
SM
4429 * faces.el (modeline): Remove obsolete face name.
4430
fe0a74f9
SM
4431 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4432 and give a non-nil default value.
4433 (add-change-log-entry): Simplify accordingly.
4434
9f7b98f8
DG
44352012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4436
4437 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4438 (vc-git-log-edit-toggle-amend): New function.
4439 (vc-git-log-edit-toggle-signoff): New function.
4440 (vc-git-log-edit-mode): New major mode.
4441 (vc-git-log-edit-mode-map): Keymap for it.
4442 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4443
4444 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4445 header names.
4446 (log-edit-toggle-header): New function.
4447 (log-edit-extract-headers): Accept function values in HEADERS alist.
4448
62a81506
CY
44492012-10-01 David Engster <deng@randomsample.de>
4450
4451 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4452 from symbol property and change message to be more consistent with
4453 Emacs proper.
4454 (eieio-describe-generic): Add filename for each implementation.
4455 Fix indices for generic and normal methods.
4456 (eieio-method-def, eieio-class-def): New buttons.
4457 (eieio-help-find-method-definition)
4458 (eieio-help-find-class-definition): New functions.
4459 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4460 class, constructor and method definitions.
4461
4462 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4463 information in symbol property.
4464 (scoped-class): Remove.
4465 (eieio-slot-name-index, call-next-method): Check if it is bound.
4466
44672012-10-01 Leo P. White <lpw25@cam.ac.uk>
4468
4469 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4470 (eieio-custom-mode): New major mode.
4471 (eieio-customize-object): Use it.
4472
44732012-10-01 Eric Ludlam <zappo@gnu.org>
4474
4475 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4476 specifying the expected class, and whether subclassing is allowed.
4477 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
4478 (eieio-persistent-validate/fix-slot-value)
4479 (eieio-persistent-slot-type-is-class-p): New functions.
4480 (eieio-named::slot-missing): Doc fix.
62a81506
CY
4481
4482 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4483 Stop using unused publd variable.
4484
4485 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4486 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4487 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4488 (eieio-speedbar-handle-click): Do not specify a class for the
4489 method. Fixes method invocation order problems with EDE.
4490
375e49d4
SM
44912012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4494 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4495
16ce6ccd
KF
44962012-10-01 Karl Fogel <kfogel@red-bean.com>
4497
4498 * bookmark.el (bookmark-version-control): Give tags in the
4499 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
4500 (bookmark-write-file): Bind `print-circle' to `t' to allow
4501 circular custom bookmark types. (Bug#12503)
16ce6ccd 4502
19e54a4d
PE
45032012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4504
86ec63ba
PE
4505 Revert the FOLLOW-SYMLINKS change for file-attributes.
4506 * files.el (remote-file-name-inhibit-cache, after-find-file):
4507 * time.el (display-time-file-nonempty-p): Undo last change.
4508
19e54a4d
PE
4509 * profiler.el (profiler-sampling-interval): Change default back to 1.
4510 See Stefan Monnier in
4511 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4512
0478776b
FEG
45132012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4514
4515 Shell output catching a la gud-gdb.
4516 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
4517 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4518 New Vars.
0478776b
FEG
4519 (python-shell-fetch-lines-filter): New function.
4520 (python-shell-send-string-no-output): Use them.
4521
c22bac2c
TM
45222012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4523
4524 * profiler.el (profiler-sampling-interval): Rename from
4525 profiler-sample-interval.
4526 (profiler-sampling-interval): Default to 10.
4527 (profiler-find-profile): New command (was profiler-find-log).
4528 (profiler-find-profile-other-window): New command.
4529 (profiler-find-profile-other-frame): New command.
4530 (profiler-profile): Introduce API-level data structure.
4531
e7a2937b
PE
45322012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4533
4534 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4535 * files.el (remote-file-name-inhibit-cache):
4536 * time.el (display-time-file-nonempty-p): Use it.
4537 * files.el (after-find-file): Don't chase links before calling
4538 file-exists-p, as file-exists-p already does the right thing.
4539
4f595e15
RA
45402012-09-30 Ralf Angeli <angeli@caeruleus.net>
4541
4542 Merge from standalone RefTeX repository.
4543
4544 The following ChangeLog entries are shortened versions of the
4545 original ones with file paths adapted. A not so strongly edited
4546 version of the original ChangeLog can be found in the commit log.
4547
4548 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
4549 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4550 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
4551
4552 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
4553 that entries with whitespace at various places are found.
4554 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
4555 Include @String definitions in the resulting bib file. Add header
4556 and footer defined in `reftex-create-bibtex-header' and
4557 `reftex-create-bibtex-footer'.
4558 (reftex-do-citation): Make it possible again to insert
4559 non-existent entries. Save match data when asking for optional
4560 arguments. Return all keys, not just the first one.
4561 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4562 all citations in the same line.
4563 (reftex-parse-bibtex-entry): Accept additional optional argument
4564 `raw' and keep quotes or braces if it is non-nil. Match fields
4565 containing hyphens besides word constituents.
4566 (reftex-get-string-refs): New function.
4567 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4568 and ask if it should be reread in case it did.
4569 (reftex-pop-to-bibtex-entry)
4570 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4571 entries with spaces or tabs in front of arguments.
4572 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
4573 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4574 Match entries containing numbers and symbol constituents.
4575 (reftex-do-citation, reftex-figure-out-cite-format):
4576 Use `reftex-cite-key-separator'.
4f595e15
RA
4577
4578 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4579 (reftex-mouse-view-crossref): Explain why point is set.
4580
4581 * textmodes/reftex-global.el: Whitespace changes.
4582
4583 * textmodes/reftex-index.el: Move provide statement to end of
4584 file.
4585 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4586 (reftex-index-visit-phrases-buffer): Set marker when visiting
4587 buffer. This allows for returning from the phrases file to the
4588 file one was just editing instead of the file where the last
4589 phrases was added from.
4590 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4591 punctuation syntax as it usually is not used as string quote in
4592 TeX-related modes and may occur unmatched. The change also
4593 prevents fontification of quoted content.
4594 (reftex-index-phrases-mode): Use it.
4595
375e49d4
SM
4596 * textmodes/reftex-parse.el (reftex-parse-from-file):
4597 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
4598 (reftex-parse-from-file): Use beginning of match instead of end as
4599 bound.
4600
4601 * textmodes/reftex-ref.el: Adapt creation of
4602 `reftex-<package>-<macro>' functions to new structure of
4603 `reftex-ref-style-alist'.
375e49d4
SM
4604 (reftex-reference): Use `reftex-ref-style-list' function.
4605 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
4606 reference macro if `reftex-ref-macro-prompt' is non-nil.
4607 (reftex-reference): Pass refstyle to `reftex-format-special'.
4608 Determine reference macro by looking at
375e49d4
SM
4609 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4610 Use only one special format function.
4f595e15
RA
4611 (reftex-varioref-vref, reftex-fancyref-fref)
4612 (reftex-fancyref-Fref): Remove definitions. The functions are now
4613 generated from `reftex-ref-style-alist'.
4614 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4615 Remove.
4616 (reftex-format-special): New function.
4617
4618 * textmodes/reftex-sel.el
4619 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4620 of `reftex-ref-style-alist'. Remove code for testing macro type.
4621 (reftex-select-toggle-varioref)
4622 (reftex-select-toggle-fancyref): Remove.
4623 (reftex-select-cycle-ref-style-internal)
4624 (reftex-select-cycle-ref-style-forward)
4625 (reftex-select-cycle-ref-style-backward): New functions.
4626 (reftex-select-label-map): Use `v' and `V' for general cycling
4627 through reference styles. Add `p' for switching between number
4628 and page reference types.
4629
375e49d4
SM
4630 * textmodes/reftex-toc.el (reftex-re-enlarge):
4631 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
4632 the horizontal version throws an error even if the parameter is 0.
4633
4634 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4635 (reftex-plug-into-AUCTeX): Doc fix.
4636 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4637 string. Adapt to new name.
4638 (reftex-ref-style-alist): Change structure so that it is not
4639 possible to use multiple different package names within a style.
375e49d4
SM
4640 Remove the symbols for symbols for macro type distinction.
4641 Add characters for macro selection.
4f595e15
RA
4642 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4643 (reftex-create-bibtex-footer): New variables.
4644 (reftex-format-ref-function): Mention third argument of special
4645 format function.
375e49d4
SM
4646 (reftex-ref-style-alist, reftex-ref-style-default-list):
4647 New variables.
4f595e15
RA
4648 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4649 to new implementation. Mark as obsolete. Add compatibility code
4650 for honoring the variable values in case they are set.
375e49d4
SM
4651 (reftex-cite-format-builtin, reftex-bibliography-commands):
4652 Add support for ConTeXt.
4653 (reftex-format-ref-function, reftex-format-cite-function):
4654 Fix custom type.
4f595e15
RA
4655 (reftex-cite-key-separator): New variable.
4656
4657 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4658 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4659 `reftex-syntax-table' because parens have to retain their paren
4660 syntax in order for parsing of BibTeX entries like @book(...) to
4661 work.
4662 (reftex-in-comment): Do not error out if `comment-start-skip' is
4663 not set. Deal correctly with escaped comment characters.
375e49d4
SM
4664 (reftex-tie-multifile-symbols): Add doc string.
4665 Initialize `reftex-ref-style-list'.
4f595e15
RA
4666 (reftex-untie-multifile-symbols): Add doc string.
4667 (reftex-add-index-macros): Doc fix.
4668 (reftex-ref-style-activate, reftex-ref-style-toggle)
4669 (reftex-ref-style-list): New functions.
4670 (reftex-mode-menu): Use them. Adapt to new structure of
4671 `reftex-ref-style-alist'.
4672 (reftex-select-with-char): Kill the RefTeX Select buffer when
4673 done.
4674 (reftex-remove-if): New function.
4675 (reftex-erase-all-selection-and-index-buffers)
4676 (reftex-mode-menu): Reference styles are now computed from
4677 `reftex-ref-style-alist'. Fix typo.
4678 (reftex-report-bug): New function.
4679 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4680 algorithms with O(n log n). Introduce optional argument SORT (not
4681 yet used).
4682
440ba395
FEG
46832012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4684
4685 Enhancements for triple-quote string syntax.
375e49d4
SM
4686 * progmodes/python.el (python-syntax-propertize-function):
4687 Match both quote cases in one regexp.
440ba395
FEG
4688 (python-syntax-stringify): Handle matches properly.
4689
4c478e6b
JL
46902012-09-30 Juri Linkov <juri@jurta.org>
4691
4692 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 4693 to nil around the call to `insert' to prevent
4c478e6b
JL
4694 directory time modification by lock_file. (Bug#2295)
4695 * tar-mode.el (tar-summarize-buffer): Idem.
4696
d80d54b2
JL
46972012-09-30 Juri Linkov <juri@jurta.org>
4698
4699 * facemenu.el (list-colors-sort): Add option "Luminance".
4700 (list-colors-sort-key): Implement it.
4701
4702 * vc/diff-mode.el (diff-refine-removed):
4703 * vc/ediff-init.el (ediff-fine-diff-A):
4704 * vc/smerge-mode.el (smerge-refined-removed):
4705 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4706
d7e642cc
JD
47072012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4708
4709 * term/ns-win.el (x-file-dialog): New function.
4710
ee41332b
JB
47112012-09-30 Juanma Barranquero <lekktu@gmail.com>
4712
4713 * ido.el (ido-max-directory-size): Default to nil; the current
4714 default is small for POSIX systems, and impractical on Windows 7
4715 now that lstat returns directory sizes for NTFS.
4716
5938d519
MR
47172012-09-30 Martin Rudalics <rudalics@gmx.at>
4718
4719 In buffer display functions handle window-height/window-width
4720 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
4721 * window.el (window--display-buffer): New argument ALIST.
4722 Obey window-height and window-width alist entries.
4723 (window--try-to-split-window): New argument ALIST.
4724 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
4725 changed and window-combination-limit equals `window-size'.
4726 (display-buffer-in-atom-window)
4727 (display-buffer-in-major-side-window)
4728 (display-buffer-in-side-window, display-buffer-same-window)
4729 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4730 (display-buffer-pop-up-window, display-buffer-below-selected)
4731 (display-buffer-at-bottom, display-buffer-in-previous-window)
4732 (display-buffer-use-some-window): Adjust all callers of
4733 window--display-buffer and window--try-to-split-window.
4734 (fit-frame-to-buffer): New option.
4735 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4736 is non-nil.
4737 (display-buffer-in-major-side-window): Evaluate window-height /
4738 window-width alist entries.
4739
4740 * help.el (temp-buffer-resize-frames)
4741 (temp-buffer-resize-regexps): Remove options.
4742 (temp-buffer-resize-mode): Adjust doc-string.
4743 (resize-temp-buffer-window): Don't consult
4744 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4745 temp-buffer-resize-frames.
4746
375e49d4
SM
4747 * dired.el (dired-mark-pop-up):
4748 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
4749 entry.
4750
c4c0c2df
CY
47512012-09-30 Chong Yidong <cyd@gnu.org>
4752
48de8b12
CY
4753 * server.el (server-host): Document the security implications.
4754 (server-auth-key): Doc fix.
4755
4756 * startup.el (initial-buffer-choice): Doc fix.
4757
4758 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4759
a97dc380
CY
4760 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4761 restriction change.
4762
d39d3c8e
CY
4763 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4764
c4c0c2df
CY
4765 * help-fns.el (help-fns--obsolete): Fix last change.
4766
98a5e33b
SM
47672012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4768
34cf6f39
SM
4769 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4770 (minor-mode-map-alist): Remove redundant code.
4771
e01c13fe
SM
4772 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4773 visited in a buffer.
4774 (cvs-insert-visited-file): New function.
4775 (find-file-hook): Use it.
4776
4777 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4778
02661b3a
SM
4779 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4780 chose face.
4781 (log-edit-empty-buffer-p): Don't require a space after a header.
4782
43711d4b
SM
4783 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4784
38a30d64
SM
4785 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4786
4ffb41a9
SM
4787 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4788 a proper minor-mode.
4789
98a5e33b
SM
4790 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4791
de82e29b
GM
47922012-09-29 Glenn Morris <rgm@gnu.org>
4793
5cc2e639
GM
4794 * winner.el (winner-mode): Remove variable (let define-minor-mode
4795 handle it).
4796 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4797 Doc fixes.
4798 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4799 (winner-mode): Use define-minor-mode.
4800
7bd302eb
GM
4801 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4802 the full definition in loaddefs, rather than duplicating it.
4803
2923922f 4804 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 4805
0e3e4156
GM
4806 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4807 (inferior-lisp-program, inferior-lisp-load-command)
4808 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 4809 No need to autoload defcustoms.
0e3e4156 4810
de82e29b
GM
4811 * hippie-exp.el (hippie-expand-try-functions-list)
4812 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4813 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4814 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 4815 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
4816 * progmodes/vhdl-mode.el (vhdl-line-expand):
4817 Explicitly load hippie-exp, so it does not get autoloaded
4818 while hippie-expand-try-functions-list is let-bound.
4819
e60b51ab
GM
48202012-09-28 Glenn Morris <rgm@gnu.org>
4821
277f0cfa
GM
4822 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4823
e60b51ab
GM
4824 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4825 Only "cl.el" counts as cl these days.
4826
53baf48a
JL
48272012-09-28 Juri Linkov <juri@jurta.org>
4828
4829 Display archive errors in the echo area instead of inserting
4830 to the file buffer.
4831
4832 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4833 to STDERR-TEST that can be a regexp matching a successful output.
4834 Create a temporary file and redirect stderr to it. Search for
4835 STDERR-TEST in the stderr output and display it in the echo area
4836 if no match is found.
4837 (archive-extract-by-file): New function like
4838 `archive-extract-by-stdout' but extracting archives to files
4839 and looking for successful matches in stdout. Function body is
4840 mostly copied from `archive-rar-extract'.
4841 (archive-rar-extract): Use `archive-extract-by-file'.
4842 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4843
9c1228c3
LL
48442012-09-28 Leo Liu <sdl.web@gmail.com>
4845
375e49d4
SM
4846 * pcomplete.el (pcomplete-show-completions):
4847 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 4848
9c1228c3
LL
4849 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4850
7f457c06
SM
48512012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4852
3df749b0
SM
4853 * type-break.el: Use lexical-binding.
4854 (type-break-mode): Use define-minor-mode.
4855
7f457c06
SM
4856 * emacs-lisp/pcase.el (pcase--mark-used): New.
4857 (pcase--u1): Use it (bug#12512).
4858
4859 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4860 in load-history with the right file name.
4861
c00ebc98
TH
48622012-09-28 Tassilo Horn <tsdh@gnu.org>
4863
4864 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4865 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4866 (doc-view-get-bounding-box): Make bounding box slicing work for
4867 ODF and DVI documents.
4868
96fb7170
GM
48692012-09-28 Glenn Morris <rgm@gnu.org>
4870
4871 * type-break.el (type-break-mode, type-break-interval)
4872 (type-break-good-rest-interval, type-break-keystroke-threshold):
4873 No need to autoload.
4874 (type-break-good-rest-interval, type-break-keystroke-threshold):
4875 Add :set-after.
4876
5bc93c67
CY
48772012-09-28 Chong Yidong <cyd@gnu.org>
4878
4879 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4880 Add :version tag.
4881
9cad61d6
SM
48822012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4883
e28e67b3 4884 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 4885
daee954c
GM
48862012-09-27 Glenn Morris <rgm@gnu.org>
4887
a88324d4
GM
4888 * faces.el (x-display-name): Declare (for without-x builds).
4889
8e5064e5
GM
4890 * linum.el (linum-format): Don't autoload it. Improve :type.
4891
cc1783c2
GM
4892 * progmodes/tcl.el: Don't require outline when compiling.
4893 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
4894 * textmodes/sgml-mode.el: Don't require outline when compiling.
4895 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4896
48c339f2
GM
4897 * term.el (term-ansi-reset):
4898 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4899
daee954c
GM
4900 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4901 files for RCS and SCCS. (Bug#9781)
4902
b7f42161
CY
49032012-09-27 Chong Yidong <cyd@gnu.org>
4904
4905 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4906 change; value should be t.
4907
a2e770db
SM
49082012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4909
83600dc8
SM
4910 * image-mode.el: Use lexical-binding.
4911 (image-mode-winprops): Use t to stand for the window of
4912 a buffer that's not displayed.
4913 * doc-view.el (doc-view-new-window-function): Handle the new
4914 t in winprops.
4915 (doc-view-enlarge): Make it a real nop if the size is not changed.
4916 (doc-view-display): Handle the case where the buffer is not (yet?)
4917 displayed in any window.
4918 (doc-view-saved-settings): New var.
4919 (doc-view-mode): Use it.
4920 (doc-view-fallback-mode): Set it.
4921
a2e770db
SM
4922 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4923 Set lexical-binding.
4924 (minibuffer-eldef-shorten-default): New var.
4925 (minibuffer-default-in-prompt-regexps): Use it for new default.
4926 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4927
e3b60857
JB
49282012-09-26 Juanma Barranquero <lekktu@gmail.com>
4929
4930 * international/uni-bidi.el:
4931 * international/uni-category.el:
4932 * international/uni-name.el:
4933 * international/uni-numeric.el: Regenerate.
4934
3a880af4
SM
49352012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4936 Stefan Monnier <monnier@iro.umontreal.ca>
4937
4938 * profiler.el: New file.
4939
07b1a5fb
SM
49402012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4943 (testcover-reinstrument): Simplify with CSE.
4944
42019c2e
JB
49452012-09-26 Juanma Barranquero <lekktu@gmail.com>
4946
4947 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4948
179f044b
WS
49492012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4950
4951 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4952 (verilog-auto-input, verilog-auto-insert-lisp)
4953 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4954 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4955 (verilog-auto-unused, verilog-auto-wire)
4956 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4957 newline. Reported by Andrew Jones.
4958 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4959 Reported by Brad Dobbie.
07b1a5fb
SM
4960 (verilog-batch-delete-trailing-whitespace):
4961 Create verilog-batch-delete-trailing-whitespace.
4962 Reported by Brad Dobbie.
179f044b
WS
4963 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4964 parameters from another module. Reported by Dan Katz.
4965 (verilog-auto, verilog-auto-assign-modport)
4966 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4967 AUTOINOUTMODPORT for UVM interface module shell generation.
4968 Reported by Brad Dobbie.
4969 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4970 standard behavior.
4971 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4972 Reported by Matt Martin.
4973
9c52dd5a
MR
49742012-09-25 Martin Rudalics <rudalics@gmx.at>
4975
4976 * window.el (window--resize-child-windows): When resizing child
4977 windows proportionally, process them in reverse order to
4978 preserve the "when splitting a window the new one gets the odd
4979 line" behavior.
4980 (window--resize-root-window-vertically): When resizing the
4981 minibuffer window try to affect only windows at the bottom of the
4982 frame. (Bug#12419)
4983
863666eb
CY
49842012-09-25 Chong Yidong <cyd@gnu.org>
4985
4986 * subr.el (declare): Doc fix.
4987
4988 * help-fns.el (help-fns--obsolete): Handle macros properly.
4989
59f7af81
CY
49902012-09-25 Chong Yidong <cyd@gnu.org>
4991
4992 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4993 this function obsolete.
4994
4995 * calendar/cal-x.el (calendar-two-frame-setup)
4996 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4997 * calendar/calendar.el (american-calendar, european-calendar)
4998 (calendar-for-loop):
4999 * comint.el (comint-dynamic-simple-complete)
5000 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5001 * desktop.el (desktop-load-default):
5002 * dired-x.el (dired-omit-here-always)
5003 (dired-hack-local-variables, dired-default-directory):
5004 * emacs-lisp/derived.el (derived-mode-class):
5005 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5006 * emacs-lock.el (toggle-emacs-lock):
5007 * epa.el (epa-display-verify-result):
5008 * epg.el (epg-sign-keys, epg-start-sign-keys)
5009 (epg-passphrase-callback-function):
5010 * eshell/esh-util.el (eshell-for):
5011 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5012 (eshell-add-to-window-buffer-names):
5013 * files.el (locate-file-completion):
5014 * imenu.el (imenu-example--create-c-index)
5015 (imenu-example--create-lisp-index)
5016 (imenu-example--lisp-extract-index-name)
5017 (imenu-example--name-and-position):
5018 * international/mule-cmds.el (princ-list):
5019 * international/mule-diag.el (decode-codepage-char):
5020 * international/mule-util.el (detect-coding-with-priority):
5021 * iswitchb.el (iswitchb-read-buffer):
5022 * mail/mailalias.el (mail-complete):
5023 * mail/sendmail.el (mail-sent-via):
5024 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5025 (mouse-major-mode-menu):
5026 * password-cache.el (password-read-and-add):
5027 * pcomplete.el (pcomplete-parse-comint-arguments):
5028 * progmodes/sh-script.el (sh-maybe-here-document):
5029 * replace.el (query-replace-regexp-eval):
5030 * savehist.el (savehist-load):
5031 * simple.el (choose-completion-delete-max-match):
5032 * term.el (term-dynamic-simple-complete):
5033 * vc/ediff-init.el (ediff-check-version):
5034 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5035 * vc/vc.el (vc-diff-switches-list):
5036 * view.el (view-return-to-alist-update): Likewise.
5037
5038 * subr.el (eval-next-after-load, makehash, insert-string)
5039 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5040 mark obsolete.
5041 (mode-line-inverse-video): Variable deleted.
5042
5043 * international/mule-util.el (string-to-sequence): Remove.
5044
5045 * calendar/calendar.el (calendar-version):
5046 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5047 (icalendar-convert-diary-to-ical):
5048 * cus-edit.el (custom-mode):
5049 * ansi-color.el (ansi-color-unfontify-region):
5050 * international/latin1-disp.el (latin1-char-displayable-p):
5051 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
5052 * progmodes/which-func.el (which-func-update-1):
5053 Use define-obsolete-function-alias.
59f7af81
CY
5054
5055 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
5056 * net/newst-treeview.el (newsticker-groups-filename):
5057 Fix incorrect obsolescence declaration.
59f7af81
CY
5058
5059 * allout.el (allout-passphrase-hint-string): Likewise.
5060 (allout-init): Use a declare form to mark obsolete.
5061
5062 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5063 this applies to functions.
5064
5065 * iswitchb.el (iswitchb-read-buffer): Move code of
5066 iswitchb-define-mode-map here, and delete that obsolete function.
5067
5068 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5069 font-lock-reference-face.
5070
cca96c97
GM
50712012-09-25 Glenn Morris <rgm@gnu.org>
5072
b06eeda8
GM
5073 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5074 Doc fixes.
5075
cca96c97
GM
5076 * eshell/em-term.el (eshell-term-name):
5077 Default to term-term-name. (Bug#12485)
5078
dc4f818b
FEG
50792012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5080
cca96c97
GM
5081 * progmodes/python.el (python-shell-send-buffer): Better handling
5082 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 5083
289c24bd
GM
50842012-09-24 Glenn Morris <rgm@gnu.org>
5085
5086 * eshell/esh-cmd.el (eshell-find-alias-function):
5087 Tighten up file-name regexp. (Bug#12499)
5088
8fb8b88f
FEG
50892012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5090
5091 Enhancements for triple-quote string syntax.
5092 * progmodes/python.el (python-quote-syntax): Remove.
5093 (python-syntax-propertize-function): New value.
07b1a5fb
SM
5094 (python-syntax-count-quotes, python-syntax-stringify):
5095 New functions.
8fb8b88f 5096
6c27f0f8
CY
50972012-09-24 Chong Yidong <cyd@gnu.org>
5098
a5f2b6ec
CY
5099 * mail/supercite.el (sc-version): Remove obsolete function.
5100 (sc-describe): Don't mark as obsolete, since it is bound.
5101 (sc-submit-bug-report): Remove.
5102
5103 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5104 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
5105 (log-edit-require-final-newline)
5106 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
5107
5108 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5109 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5110 * vc/vc.el (vc-checkout-carefully): Likewise.
5111
5112 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5113 (emerge-version): Remove.
5114
5115 * progmodes/compile.el (compile-internal): Remove.
5116 (compilation-parse-errors-function): Fix typo.
5117
5118 * international/mule.el (set-char-table-default): Remove.
5119 (set-coding-priority, make-coding-system, generic-char-p)
5120 (charset-list, charset-bytes, charset-id): Use declare to mark
5121 functions as obsolete.
5122
5123 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5124 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5125 * vc/vc-hooks.el (vc-default-registered): Don't use
5126 vc-master-templates.
5127
07b1a5fb
SM
5128 * font-lock.el (font-lock-reference-face):
5129 Use define-obsolete-variable-alias.
6c27f0f8
CY
5130
5131 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5132 * calendar/calendar.el (calendar-font-lock-keywords):
5133 * calendar/diary-lib.el (diary-font-lock-keywords)
5134 (diary-fancy-font-lock-keywords):
5135 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5136 * textmodes/reftex-index.el (reftex-insert-index):
5137 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5138 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5139 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5140 * progmodes/prolog.el (prolog-font-lock-keywords):
5141 * progmodes/idlwave.el (idlwave-idl-keywords):
5142 * progmodes/ada-mode.el (ada-font-lock-keywords):
5143 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5144
bcc0adbf
GM
51452012-09-24 Glenn Morris <rgm@gnu.org>
5146
5147 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5148
095bb823
FEG
51492012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5150
5151 * progmodes/python.el (python-indent-line): More consistent cursor
5152 movement behavior.
5153
70efc5c9
SM
51542012-09-23 Stefan Merten <smerten@oekonux.de>
5155
5156 * textmodes/rst.el: Fix compiler warning.
5157
2f438239
RW
51582012-09-23 Roland Winkler <winkler@gnu.org>
5159
07b1a5fb
SM
5160 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5161 Transcribe also LaTeX hyphenation.
2f438239
RW
5162 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5163 bibtex-reformat-previous-options.
5164
936ad041
RW
51652012-09-23 Roland Winkler <winkler@gnu.org>
5166
5167 * proced.el (proced-renice-command): New variable.
5168 (proced-marked-processes): New function.
5169 (proced-with-processes-buffer): New macro.
5170 (proced-send-signal): Use them.
5171 (proced-renice): New command bound to r.
5172
6fab0274
RW
51732012-09-23 Roland Winkler <winkler@gnu.org>
5174
5175 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5176 ibuffer-saved-filter-groups has one element, shortcut the call of
5177 completing-read. (Bug#12331)
5178
9a930676
CY
51792012-09-23 Chong Yidong <cyd@gnu.org>
5180
5181 * bindings.el (mode-line-toggle-read-only):
5182 * bs.el (bs-toggle-readonly):
5183 * buff-menu.el (Buffer-menu-toggle-read-only):
5184 * dired.el (dired-toggle-read-only):
5185 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5186
d07ff9db
CY
51872012-09-23 Chong Yidong <cyd@gnu.org>
5188
5189 * image.el (image-type-available-p): Adapt to init-image-library
5190 argument changes.
5191
51c4474e
JL
51922012-09-22 Juri Linkov <juri@jurta.org>
5193
5194 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5195 `dired-toggle-read-only'. (Bug#12462)
5196
43bf5e8e
MR
51972012-09-22 Martin Rudalics <rudalics@gmx.at>
5198
5199 * subr.el (temp-output-buffer-show): New function.
5200 (with-output-to-temp-buffer): Call temp-output-buffer-show
5201 instead of internal-temp-output-buffer-show.
5202
c88b867f
CY
52032012-09-22 Chong Yidong <cyd@gnu.org>
5204
3df47cd5
CY
5205 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5206 (Bug#12462).
5207
c88b867f
CY
5208 * repeat.el (repeat): Doc fix (Bug#12348).
5209
5210 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5211 (Bug#10909).
5212
5213 * simple.el (shell-command-on-region): Doc fix.
3171e303 5214 (read-only-mode): Doc fix.
c88b867f 5215
df9685f3
EZ
52162012-09-22 Eli Zaretskii <eliz@gnu.org>
5217
5218 * emacs-lisp/timer.el (run-with-idle-timer)
5219 (timer-activate-when-idle): Warn against reinvoking an idle timer
5220 from within its own timer action. (Bug#12447)
5221
8e17c9ba
MR
52222012-09-22 Martin Rudalics <rudalics@gmx.at>
5223
5224 * cus-start.el (window-combination-limit): Add new optional
5225 values.
5226 * window.el (temp-buffer-window-show)
5227 (window--try-to-split-window): Handle new values of
5228 window-combination-limit (Bug#1806).
5229 (split-window): Test window-combination-limit for t instead of
5230 non-nil.
5231 (display-buffer-at-bottom): New buffer display action function.
5232 * help.el (temp-buffer-resize-regexps): New option.
5233 (temp-buffer-resize-mode): Rewrite doc-string.
5234 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 5235 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 5236
48a24920
SM
52372012-09-22 Stefan Merten <smerten@oekonux.de>
5238
70efc5c9 5239 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
5240 (rst-official-version)
5241 (rst-package-emacs-version-alist): Sync with official version
5242 V1.4.0.
5243 (rst-faces-defaults, rst-set-level-default)
5244 (rst-level-face-max, rst-level-face-base-color)
5245 (rst-level-face-base-light, rst-level-face-format-light)
5246 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5247 (rst-adornment-faces-alist): Match new setup.
5248 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5249 (rst-level-5, rst-level-6): New faces.
5250
82f8cd94
CY
52512012-09-22 Chong Yidong <cyd@gnu.org>
5252
5253 * simple.el (undo): Handle indirect buffers (Bug#8207).
5254
acfa068f 52552012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
5256
5257 IDO: Disable match re-ordering for buffer switching.
2bc9406c 5258 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
5259 (ido-set-matches-1): Use it. (Bug#2042)
5260
acfa068f 52612012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
5262
5263 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5264 Fix 2011-05-17 change. (Bug#12418)
5265
acfa068f 52662012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
5267
5268 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5269
acfa068f 52702012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
5271
5272 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5273 Be more robust about locating simple.el.
5274
acfa068f 52752012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
5276
5277 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5278
acfa068f
CY
52792012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5280
5281 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5282
41a97e6f
JL
52832012-09-20 Juri Linkov <juri@jurta.org>
5284
eb2deaff
JL
5285 * replace.el (query-replace-read-from): Use `read-regexp' instead
5286 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5287 (occur-read-primary-args): Use `read-regexp' instead of
5288 `read-string'.
5289 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5290 `read-from-minibuffer'.
5291 * isearch.el (isearch-occur): Use `read-regexp' instead of
5292 `read-string'.
5293 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5294 `read-from-minibuffer'.
5295 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5296 of `read-string'. (Bug#7567)
5297
5825610b
JL
5298 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5299 and allow accepting a list of strings prepended to a list of
5300 standard default values. Doc fix. (Bug#12321)
5301
eebbf404
JL
5302 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5303
41a97e6f
JL
5304 * replace.el (read-regexp): Don't add ": " when PROMPT already
5305 ends with a colon and space. (Bug#12321)
5306
c9e452d3
TH
53072012-09-20 Tassilo Horn <tsdh@gnu.org>
5308
5309 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5310 error.
5311
ee97deee
SM
53122012-09-20 Stefan Merten <smerten@oekonux.de>
5313
70efc5c9 5314 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
5315 Fixes feature request bug#11711.
5316 (rst-mode): Create `imenu-create-index-function'.
5317 (rst-get-stripped-line): Delete after refactoring.
5318 (rst-section-tree, rst-section-tree-rec)
5319 (rst-section-tree-point): Refactor and document properly.
5320 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
5321 (rst-imenu-convert-cell, rst-imenu-create-index):
5322 New function.
ee97deee 5323
f490dab9
SM
53242012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5325
95b9712e
SM
5326 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5327 (macroexp--expand-all): Use it.
5328 (macroexp--funcall-and-return): Remove by folding it into its sole
5329 caller (macroexp--warn-and-return).
5330 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5331 Use macroexp--obsolete-warning.
5332
f490dab9
SM
5333 * calc/calc.el: Fix last change by removing the whole chunk, since it
5334 was only needed back when Calc was not bundled.
5335
96e8d411
MR
53362012-09-20 Martin Rudalics <rudalics@gmx.at>
5337
5338 * emacs-lisp/debug.el (debug): Restore assignment to
5339 debugger-old-buffer removed on 2012-09-08.
5340
0876a82d
JL
53412012-09-20 Juri Linkov <juri@jurta.org>
5342
5343 * dired-aux.el (dired-diff): Remove (require 'diff) since
5344 `diff-latest-backup-file' is now autoloaded.
5345
9f7c28f0
CY
53462012-09-20 Chong Yidong <cyd@gnu.org>
5347
5348 * vc/diff.el (diff-latest-backup-file): Autoload.
5349
7a04bee9
SM
53502012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5351
e6f0a80d
SM
5352 * calc/calc.el: Remove redundant autoload shape check.
5353 (sel-mode): Don't defvar.
5354 (calc-get-stack-element): Add `sel-mode' arg instead.
5355 (calc-top, calc-top-list): Pass it this additional argument.
5356 * calc/calc-store.el (calc-store-map):
5357 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5358 (calc-map-equation, calc-outer-product, calc-inner-product):
5359 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5360
7a04bee9
SM
5361 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5362
12734222
JL
53632012-09-19 Juri Linkov <juri@jurta.org>
5364
5365 * dired-aux.el (dired-diff): Add (require 'diff) because
5366 `diff-latest-backup-file' is not autoloaded.
5367 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5368 of `dired-get-filename' to t to not report error when there is
5369 no default file on the current line.
5370
46624b4f
SM
53712012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5372
ce97595b
SM
5373 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5374 macroexp--eval-if-compile.
5375 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5376 (macroexp--expand-all): Use them (bug#12371).
5377
46624b4f
SM
5378 * doc-view.el (doc-view-guess-paper-size)
5379 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5380
db8a5a18
TH
53812012-09-19 Tassilo Horn <tsdh@gnu.org>
5382
5383 New feature: set optimal slice from BoundingBox information.
5384 * doc-view.el (doc-view-mode-map): Add keybinding.
5385 (doc-view-menu): Add menu entry.
5386 (doc-view-set-slice): Adapt docstring.
5387 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5388 (doc-view-scale-bounding-box)
5389 (doc-view-set-slice-from-bounding-box): New functions.
5390 (doc-view-paper-sizes): New defvar.
5391
69f6644c
GM
53922012-09-19 Glenn Morris <rgm@gnu.org>
5393
35f5b19d
GM
5394 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5395 (byte-compile-log-warning): Autoload. (Bug#12371)
5396
69f6644c
GM
5397 * calendar/calendar.el (calendar-american-month-header)
5398 (calendar-european-month-header, calendar-iso-month-header)
5399 (calendar-month-header): New options.
5400 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5401 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5402
e543ae91
JD
54032012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5404
5405 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5406
2fd5e67d
JL
54072012-09-18 Juri Linkov <juri@jurta.org>
5408
5409 * dired-aux.el (dired-diff): Restore original functionality of
5410 getting the default value, but keep new feature of using the
5411 latest existing backup file (`diff-latest-backup-file').
5412
42917e79
JL
54132012-09-18 Juri Linkov <juri@jurta.org>
5414
5415 * dired.el (dired-mark): If the region is active in Transient Mark
5416 mode, mark all files in the active region. Doc fix.
5417 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5418 Doc fix. (Bug#10624)
5419
20f70ede
JL
54202012-09-18 Juri Linkov <juri@jurta.org>
5421
5422 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5423 attributes for M-n are pulled from the file at point.
5424 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5425 Suggested by Drew Adams. (Bug#10624)
5426
32fb8162
DG
54272012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5428
5429 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5430 whitespace after "end".
5431 (ruby-do-end-to-brace): Collapse block to one line if it fits
5432 within fill-column.
5433
37ab5092
MR
54342012-09-18 Martin Rudalics <rudalics@gmx.at>
5435
5436 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5437 value.
5438 (debug): Don't remove debugger window when debugger is expected
5439 to be back.
5440
ed1f0bd3
CY
54412012-09-18 Chong Yidong <cyd@gnu.org>
5442
5443 * custom.el (defface): Doc fix.
5444
5445 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5446
a11035b8
MB
54472012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5448
5449 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5450 to initialize query-on-exit; then test that instead (bug#12288).
5451
64f6a736
SM
54522012-09-17 Stefan Merten <smerten@oekonux.de>
5453
70efc5c9 5454 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
5455 (rst-defcustom-testcover, rst-testcover-add-compose)
5456 (rst-testcover-add-1value): New functions.
5457 (rst-portable-mark-active-p): Replace by `use-region-p'.
5458 (rst-update-section, rst-classify-adornment)
5459 (rst-find-title-line): Mark `1value' forms.
5460 (rst-classify-adornment): Remove superfluous form.
5461 (rst-update-section, rst-get-adornments-around)
5462 (rst-adornment-complete-p, rst-get-next-adornment)
5463 (rst-adjust, rst-promote-region)
5464 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5465 (rst-find-pfx-in-region, rst-section-tree-rec)
5466 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5467 (rst-toc-node, rst-toc, rst-forward-section)
5468 (rst-iterate-leftmost-paragraphs)
5469 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5470 (rst-bullet-list-region)
5471 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5472 (rst-compile-find-conf, rst-compile)
5473 (rst-repeat-last-character): Fix style.
5474
580bd868
CY
54752012-09-17 Chong Yidong <cyd@gnu.org>
5476
5477 * comint.el (comint--complete-file-name-data): Don't add a space
5478 if the status is `sole'; that adds a gratuitous space in the
5479 completion-cycling case (Bug#12092).
5480
5481 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5482
69de3ec6
RS
54832012-09-17 Richard Stallman <rms@gnu.org>
5484
0dee970c
RS
5485 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5486 only in the mime-shown mode, not in raw mode.
5487 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 5488 mime processing. (Bug#12305)
0dee970c 5489
6b250df6
GM
5490 * mail/rmail.el (rmail-retry-failure):
5491 Turn off mime processing first. (Bug#12037)
acb1c47b 5492
69de3ec6
RS
5493 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5494
d079ee5f
CY
54952012-09-17 Chong Yidong <cyd@gnu.org>
5496
5497 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5498 (shell-dynamic-complete-functions): Convert to defcustom.
5499 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5500
865fe16f
CY
5501 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5502 * comint.el (comint-prompt-read-only):
5503 * custom.el (defcustom):
5504 * hi-lock.el (hi-lock-mode):
5505 * ibuffer.el (ibuffer-formats):
5506 * ielm.el (ielm-prompt-read-only):
5507 * novice.el (disable-command):
5508 * saveplace.el (toggle-save-place):
5509 * speedbar.el (speedbar-supported-extension-expressions):
5510 * startup.el (auto-save-list-file-prefix, init-file-user)
5511 (after-init-hook, inhibit-startup-echo-area-message):
5512 * strokes.el (strokes-help):
5513 * time-stamp.el (time-stamp):
5514 * calendar/calendar.el (calendar, diary-file):
5515 * calendar/diary-lib.el (diary-mail-entries, diary)
5516 (diary-list-entries-hook):
5517 * calendar/holidays.el (holidays, calendar-holidays):
5518 * calendar/lunar.el (lunar-phases):
5519 * calendar/solar.el (sunrise-sunset):
5520 * emulation/edt.el (edt-load-keys):
5521 * emulation/viper.el (viper-mode):
5522 * eshell/em-alias.el (eshell-command-aliases-list):
5523 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5524 * international/ogonek.el (ogonek-information):
5525 * net/tramp-cmds.el (tramp-bug):
5526 * net/quickurl.el (quickurl-reread-hook-postfix):
5527 * play/decipher.el (decipher-font-lock-keywords):
5528 * progmodes/cc-styles.el (c-set-style):
5529 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5530 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5531 * progmodes/octave-mod.el (octave-mode):
5532 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5533 * progmodes/verilog-mode.el (verilog-read-defines):
5534 * textmodes/two-column.el (2C-mode): Likewise.
5535
48093eb9
KY
55362012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5537
5538 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5539 that holds many addresses.
5540
c584eaf9
CY
55412012-09-16 Chong Yidong <cyd@gnu.org>
5542
40d70ecb
CY
5543 * align.el (align-areas): Call the indication function with
5544 positions instead of markers for arguments (Bug#12343).
5545
1667e065
CY
5546 * files.el (parse-colon-path): Use split-string (Bug#12351).
5547
fdc2806d 5548 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 5549 (display-buffer-function): Mark as obsolete.
fdc2806d 5550
f1be615c 5551 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
5552 values similar to font-lock-keywords (Bug#12136).
5553 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
5554 (compilation-error-regexp-alist): Doc fix.
5555
f40a9709
GM
55562012-09-15 Glenn Morris <rgm@gnu.org>
5557
72aa16e1
GM
5558 * version.el (emacs-bzr-version-bzr): New function.
5559 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5560
82375160
GM
5561 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5562 checkouts, check the parent dirstate matches the branch.
5563 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5564 empty string.
5565
f40a9709
GM
5566 * version.el (emacs-bzr-version): Doc fix.
5567 (emacs-bzr-version-dirstate): New function.
5568 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5569 is local try and check that it matches the branch. If not, just
5570 use dirstate information. (Bug#12441)
5571
cb26b7f5
JL
55722012-09-14 Juri Linkov <juri@jurta.org>
5573
5574 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5575 (Bug#12399)
5576
2de39f08
SM
55772012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5578
0fb3cb7c
SM
5579 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5580
2de39f08
SM
5581 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5582 Remove obsolete byte-compiler hack that tried to silence some warnings.
5583 (edebug-submit-bug-report): Remove.
5584 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5585 Remove aliases, use the un-prefixed name instead.
5586 (edebug-pop-to-buffer): Consider other frames.
5587 (edebug-original-read):: Make it more obvious that it's always defined.
5588 (edebug--make-form-data-entry, edebug--form-data-name)
5589 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5590 single-dashed name, and implement with cl-defstruct.
5591 (edebug-set-form-data-entry): Use the standard accessors.
5592 (edebug-make-top-form-data-entry): Use push.
5593 (edebug-no-match): Drop useless `funcall'.
5594 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5595 to functions.
5596 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5597 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5598 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5599 (easy-menu-define, with-custom-print): Remove redundant specs.
5600 (edebug-outside-overriding-local-map)
5601 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5602 (edebug--display): Bind unread-command-events directly to nil rather
5603 than binding it to unread-command-events and later setting it to nil.
5604 (edebug--display): Kill edebug-eval-buffer here...
5605 (edebug--recursive-edit): ...rather than here.
5606 Bind standard-output and standard-input.
5607 (edebug-eval): Check cl-macroexpand-all is fboundp.
5608 (edebug-temp-display-freq-count): Fix last change.
5609
5610 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5611 * subr.el (noreturn, 1value): Add `debug' spec.
5612 * emacs-lisp/advice.el: Require cl-lib.
5613 (ad-copy-tree): Remove, use copy-tree instead.
5614 (ad-dolist): Remove use dolist or cl-dolist instead.
5615 (ad-do-return): Remove, use cl-return instead.
5616 (defadvice): Add `debug' spec.
5617
5b68b333
JL
56182012-09-13 Juri Linkov <juri@jurta.org>
5619
5620 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5621 (Bug#12399)
5622
b9800ec4
GM
56232012-09-13 Glenn Morris <rgm@gnu.org>
5624
6a2e6868
GM
5625 * calc/calc.el (math-compose-expr):
5626 * calc/calc-ext.el (math-compose-expr):
5627 * progmodes/cc-defs.el (cl-macroexpand-all):
5628 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5629 (cl-macroexpand-all): Update declarations.
5630
b9800ec4
GM
5631 * vc/vc.el: No need to require ediff.
5632 (ediff-load-version-control): Declare.
5633 (ediff-vc-internal): Fix declaration.
5634 (vc-version-ediff): Require ediff.
5635
c18e885b
PE
56362012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5637
5638 Use a more backwards-compatible timer format (Bug#12430).
5639 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5640 being right after USECS, as that better supports old code that
5641 inadvisedly looked directly at the timer vector.
5642
d607d303
KH
56432012-09-13 Kenichi Handa <handa@gnu.org>
5644
5645 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5646 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5647 `coding-priority' property of these language environment.
5648
72eac303
PE
56492012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5650
5651 Fix glitches caused by addition of psec to timers (Bug#12430).
5652 * image.el (image-animate-timer):
5653 * time.el (display-time-world-timer):
5654 Use timer--function and timer--args rather than raw access to
5655 timer vector.
5656
2168fe4f
GM
56572012-09-13 Glenn Morris <rgm@gnu.org>
5658
5659 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5660 If not compiling a file, try using load-file-name.
5661
bd8d6108
SM
56622012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5663
c0c54fbd
SM
5664 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5665 Fix last change.
5666 (edebug-update-eval-list): Use `push'.
5667
bd8d6108
SM
5668 * emacs-lisp/edebug.el: Use lexical-binding.
5669 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5670 Mark unused args with underscore.
5671 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5672 (edebug-form-data): Use defvar-local.
5673 (edebug-make-before-and-after-form, edebug-make-after-form):
5674 Use backquote.
5675 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5676 Not dynamically scoped any more.
5677 (edebug--enter-trace): Add arguments `function' and `args'.
5678 Rename from edebug-enter-trace.
5679 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5680 (edebug--update-coverage): Add `after-index' and `value' args.
5681 Rename from edebug-update-coverage.
5682 (edebug-slow-after): Call it accordingly.
5683 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5684 edebug-recursive-edit.
5685 (edebug--display): Call it accordingly. Add args `value',
5686 `offset-index', and `arg-mode'. Rename from edebug-display.
5687 (edebug-debugger, edebug): Call it accordingly.
5688 (edebug-eval-display-list): Use dolist.
5689
a9f9d9de
JL
56902012-09-12 Juri Linkov <juri@jurta.org>
5691
5692 * info.el (Info-search): Don't check for isearch-mode and
5693 isearch-regexp before let-binding search-spaces-regexp to
5694 Info-search-whitespace-regexp.
5695 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5696 search-whitespace-regexp if isearch-lax-whitespace or
5697 isearch-regexp-lax-whitespace is non-nil.
5698 (Info-mode): Don't set local variable search-whitespace-regexp.
5699 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5700
bfeae2cf
SM
57012012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5702
5703 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5704 (debugger-env-macro): Remove support for unread-command-char.
5705
5706 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5707 the temporary map re-appearing on emulation-mode-map-alists.
5708
5709 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5710 since 22.1.
5711
5712 * ehelp.el (with-electric-help): Accept functions in
5713 electric-help-form-to-execute.
5714 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5715 And replace unread-command-char -> unread-command-events.
5716
fbbcaf1b
MA
57172012-09-12 Michael Albinus <michael.albinus@gmx.de>
5718
5719 Sync with Tramp 2.2.6.
5720
5721 * net/tramp.el (tramp-accept-process-output): Don't use
5722 JUST-THIS-ONE in the XEmacs case.
5723
5724 * net/trampver.el: Update release number.
5725
4dece104
MR
57262012-09-12 Martin Rudalics <rudalics@gmx.at>
5727
bfeae2cf
SM
5728 * emacs-lisp/debug.el (debugger-previous-window-height):
5729 New variable.
4dece104
MR
5730 (debug): When debugger-jumping-flag is non-nil try to restore
5731 height of debugger window. (Bug#8789)
5732
45b82ad0
SM
57332012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5734
60c49c0f
SM
5735 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5736 overriding-local-map and pre/post-command-hook here.
5737 (edebug-recursive-edit): Do it here instead (bug#12345).
5738 (edebug-outside-unread-command-char): Remove all uses of
5739 unread-command-char.
5740
45b82ad0
SM
5741 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5742 inhibit-debugger is bound instead.
5743
baa26ea0
BG
57442012-09-11 Bastien Guerry <bzg@gnu.org>
5745
5746 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 5747 (Bug#12346)
baa26ea0 5748
04e8abfa
BG
57492012-09-11 Bastien Guerry <bzg@gnu.org>
5750
96d03571 5751 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 5752 (Bug#12347)
96d03571
BG
5753
57542012-09-11 Bastien Guerry <bzg@gnu.org>
5755
fc0c31f8 5756 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 5757
04e082b0
MM
57582012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5759
5760 * progmodes/sql.el: Version 3.1
5761 (sql-db2-escape-newlines): New variable.
5762 (sql-escape-newlines-filter): Use it.
5763
399a361b
JB
57642012-09-10 Juanma Barranquero <lekktu@gmail.com>
5765
5766 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5767
0780c517
DN
57682012-09-10 Dan Nicolaescu <dann@gnu.org>
5769
45b82ad0
SM
5770 * vc/diff-mode.el (diff-mode-menu):
5771 Bind diff-remove-trailing-whitespace.
0780c517 5772
9b851e25
SM
57732012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
5776 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5777 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
5778 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5779 (eval-defun-2): Remove bogus interactive spec.
5780 (lisp-indent-line): Remove redundant whole-exp code, now done in
5781 indent-according-to-mode.
5782 (save-match-data): Remove redundant indent data.
5783
5784 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5785 Use `declare'.
5786
3231d532
JL
57872012-09-09 Juri Linkov <juri@jurta.org>
5788
5789 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5790 (replace-lax-whitespace, query-replace-regexp)
5791 (query-replace-regexp-eval, replace-regexp): Doc fix.
5792 (perform-replace, replace-highlight): Let-bind
5793 isearch-lax-whitespace to replace-lax-whitespace and
5794 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5795
5796 * isearch.el (isearch-query-replace): Let-bind
5797 replace-lax-whitespace to isearch-lax-whitespace and
5798 replace-regexp-lax-whitespace to
5799 isearch-regexp-lax-whitespace. (Bug#10885)
5800
70fe8236
SM
58012012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5804
8ed43f15
AM
58052012-09-09 Alan Mackenzie <acm@muc.de>
5806
70fe8236
SM
5807 * progmodes/cc-engine.el (c-state-cache-init):
5808 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5809 (c-record-parse-state-state):
5810 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 5811
bfabf70a
AS
58122012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5813
5814 * register.el (register-separator): Rename from
5815 separator-register. All uses changed. Doc fix.
5816 (register): Fix version.
5817
011474aa
CY
58182012-09-09 Chong Yidong <cyd@gnu.org>
5819
5820 * replace.el (query-replace-map): Bind four new symbols for
5821 requesting window scrolling.
5822
5823 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5824 query-replace-map (Bug#8948).
5825
5826 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5827
5828 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5829 since they are now in query-replace-map.
5830
5831 * window.el (scroll-other-window-down): Make the arg optional.
5832
a8b7cd8d
CY
58332012-09-09 Chong Yidong <cyd@gnu.org>
5834
5835 * files.el (hack-local-variables-confirm): Use quit-window to kill
5836 the *Local Variables* buffer.
5837
c3268831
DG
58382012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5839
5840 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5841 not just expect to be at its beginning. Adjust callees.
5842 Succeed when do-end block has no space before the pipe character.
5843 (ruby-brace-to-do-end): When the original block is one-liner,
5844 convert to multiline. Reindent the result.
5845
0979429b
J
58462012-09-08 Jambunathan K <kjambunathan@gmail.com>
5847
5848 * register.el (register): New group.
27359e99 5849 (separator-register): New user option.
0979429b
J
5850 (increment-register): Route it to `append-to-register', if
5851 register contains text. Implication is that `C-x r +' can now be
5852 used for appending to a text register (bug#12217).
5853 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 5854 `separator-register'.
0979429b 5855
ace2989a
AM
58562012-09-08 Alan Mackenzie <acm@muc.de>
5857
5858 AWK Mode: make auto-newline work when there's "==" in the pattern.
5859 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5860 correctly.
0979429b
J
5861 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5862 Test more rigorously for "=" token.
ace2989a 5863
616c6c36
DG
58642012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5865
0979429b
J
5866 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5867 Only fail when reached LIMIT.
616c6c36 5868
35d98877
CY
58692012-09-08 Chong Yidong <cyd@gnu.org>
5870
5871 * dired.el (dired-mode-map): Don't bind M-=.
5872
5873 * dired-aux.el (dired-diff): Use backup file as default.
5874
1715f2db
DA
58752012-09-08 Drew Adams <drew.adams@oracle.com>
5876
5877 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5878
6dcef6ec
CY
58792012-09-08 Chong Yidong <cyd@gnu.org>
5880
5881 * subr.el (syntax-after, syntax-class): Doc fix.
5882
fa2bcf43
MR
58832012-09-08 Martin Rudalics <rudalics@gmx.at>
5884
5885 * window.el (display-buffer-in-previous-window): New buffer
5886 display action function.
5887
5888 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5889 (debugger-previous-window): New variable.
5890 (debug): Rewrite using display-buffer-in-previous-window,
5891 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5892
daac280a
SM
58932012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5896
9dd40b00
MM
58972012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5898
daac280a
SM
5899 * progmodes/python.el (python-shell-send-string):
5900 When default-directory is remote, create temp file on remote
9dd40b00
MM
5901 filesystem.
5902 (python-shell-send-file): When file is remote, pass local view of
5903 file paths to remote Python interpreter. (Bug#12340)
5904
145823ec
CY
59052012-09-07 Chong Yidong <cyd@gnu.org>
5906
cee2e90d
CY
5907 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5908
0d7eb2ea
CY
5909 * files.el (after-find-file): Don't fail on a read-only buffer if
5910 require-final-newline is `visit' or `visit-save' (Bug#11156).
5911
145823ec
CY
5912 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5913
daac280a
SM
5914 * userlock.el (ask-user-about-supersession-threat):
5915 Use read-char-choice (Bug#12093).
145823ec 5916
74c582e6
CY
59172012-09-07 Chong Yidong <cyd@gnu.org>
5918
e5c2edf7
CY
5919 * subr.el (buffer-narrowed-p): New function.
5920
5921 * ses.el (ses-widen):
5922 * simple.el (count-words--buffer-message):
1f9f395d 5923 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
5924
5925 * simple.el (count-words-region): Don't signal an error if there
5926 is a non-nil prefix arg and the mark is not set.
c640e87d 5927
74c582e6
CY
5928 * help.el (describe-key-briefly): Allow the message to be seen
5929 when invoked from the minibuffer (Bug#7014).
5930
d81ceaaf
DG
59312012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5932
5933 * progmodes/ruby-mode.el (ruby-end-of-defun)
5934 (ruby-beginning-of-defun): Simplify, allow indentation before
5935 block beginning and end keywords.
8f06acce
DG
5936 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5937 (ruby-end-of-defun): Expect that the point is at the beginning of
5938 the defun.
d81ceaaf 5939
d458ef98
SM
59402012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5941
5942 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5943 (bug#12367).
5944 (cl--make-usage-args): Strip _ from argument names.
5945
20367d28
RS
59462012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5947
5948 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5949 obsolete alias speedbar-key-map.
5950 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5951 (vhdl-index-menu-init): Don't use obsolete variable
5952 font-lock-maximum-size.
5953
3424a4f6
CY
59542012-09-06 Chong Yidong <cyd@gnu.org>
5955
5956 * frame.el (window-system-version): Mark as obsolete.
5957
fcbfbdea
CY
5958 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5959 of obsolete variable speedbar-key-map.
5960
826b3235
JL
59612012-09-06 Juri Linkov <juri@jurta.org>
5962
5963 * replace.el (replace-lax-whitespace): New defcustom.
5964 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5965 (replace-string, replace-regexp): Mention it in docstrings.
5966 (perform-replace, replace-highlight): Let-bind
5967 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5968 to the values of replace-lax-whitespace and regexp-flag.
5969 Don't let-bind search-whitespace-regexp. (Bug#10885)
5970
5971 * isearch.el (isearch-query-replace): Let-bind
5972 replace-lax-whitespace instead of let-binding
5973 replace-search-function and replace-re-search-function.
5974 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5975 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5976 (isearch-toggle-symbol): Set isearch-regexp to nil
5977 in isearch-word mode (like in isearch-toggle-word).
5978
1ec5e41d
JL
59792012-09-06 Juri Linkov <juri@jurta.org>
5980
5981 * replace.el (replace-search-function)
5982 (replace-re-search-function): Set default values to nil.
5983 (perform-replace): Let-bind isearch-related variables based on
5984 replace-related values, call `isearch-search-fun' and let-bind
5985 the result to `search-function'. Remove code that sets
5986 `search-function' and `search-string' separately for
5987 `delimited-flag'.
5988 (replace-highlight): Add new argument `delimited-flag' and
5989 rename other arguments to the names used in `perform-replace'.
5990 Let-bind `isearch-word' to the argument `delimited-flag'.
5991 (Bug#10885, bug#10887)
5992
0ba2d4b6
DG
59932012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5994
5995 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5996 ruby-beginning-of-indent, simplify, allow all keywords to have
5997 indentation before them.
5998 (ruby-beginning-of-indent): Adjust for above. Search until the
5999 found point is not inside a string or comment.
6000 (ruby-font-lock-keywords): Allow symbols to start with "@"
6001 character, give them higher priority than variables.
6002 (ruby-syntax-propertize-function)
6003 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6004 matchers. Expression expansions are not comments when inside a
6005 string, and there comment syntax status is irrelevant.
6006 (ruby-match-expression-expansion): New function. Check that
6007 expression expansion is inside a string, and it's not escaped.
6008 (ruby-font-lock-keywords): Use it.
6009
ef654460
MR
60102012-09-05 Martin Rudalics <rudalics@gmx.at>
6011
6012 * help.el (temp-buffer-max-height): New default value.
6013 (temp-buffer-resize-frames): New option.
6014 (resize-temp-buffer-window): Optionally resize frame.
6015
6016 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6017 (fit-frame-to-buffer): New function.
6018
7e570fbf 60192012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
6020
6021 * emulation/cua-rect.el (cua--init-rectangles):
6022 * textmodes/picture.el (picture-mode-map):
6023 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6024 like forward-char and backward-char. (Bug#12317)
6025
7e570fbf 60262012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
6027
6028 * progmodes/flymake.el (flymake-warning-re): New variable.
6029 (flymake-parse-line): Use it.
6030
7e570fbf 60312012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
6032
6033 * calendar/holidays.el (holiday-christian-holidays):
6034 Rename an entry. (Bug#12289)
6035
7e570fbf 60362012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
6037
6038 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6039 (bug#12222).
6040
972debf2
SM
60412012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * loadup.el: Load macroexp. Remove hack.
6044 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6045 (macroexp--expand-all): Use it to get better warnings.
6046 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6047 (internal-macroexpand-for-load): New functions.
6048 (macroexp--pending-eager-loads): New var.
6049 (emacs-startup-hook): New hack to replace one in loadup.el.
6050 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6051 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6052 (cl-psetf): Simplify.
6053 (cl-defstruct): Add indent rule.
6054
8ce192e3
LI
60552012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6056
6057 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6058 over `user-mail-address' for the SMTP MAIL FROM envelope.
6059 (smtpmail-via-smtp): Ditto.
6060
6578b4d8
DG
60612012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6062
6063 * progmodes/ruby-mode.el: Clean up keybindings.
6064 (ruby-mode-map): Don't bind ruby-electric-brace,
6065 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6066 backward-kill-word, reindent-then-newline-and-indent.
6067 (ruby-mark-defun): Remove.
6068 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6069 (ruby-mode): Set local beginning-of-defun-function and
6070 end-of-defun-function values.
6071
c5e28e39
MR
60722012-09-03 Martin Rudalics <rudalics@gmx.at>
6073
6074 * window.el (temp-buffer-window-setup-hook)
6075 (temp-buffer-window-show-hook): New hooks.
6076 (temp-buffer-window-setup, temp-buffer-window-show)
6077 (with-temp-buffer-window): New functions.
972debf2
SM
6078 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6079 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
6080
6081 * help.el (temp-buffer-resize-mode): Fix doc-string.
6082 (resize-temp-buffer-window): New optional argument WINDOW.
6083
6084 * files.el (recover-file, save-buffers-kill-emacs):
6085 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6086
73406194
MA
60872012-09-02 Michael Albinus <michael.albinus@gmx.de>
6088
6089 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6090 remote definition of `default-directory', ensure we can connect.
6091
63dd1c6f
JL
60922012-09-02 Juri Linkov <juri@jurta.org>
6093
6094 Toggle whitespace matching mode with M-s SPC.
6095 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6096
6097 * isearch.el (search-whitespace-regexp): Doc fix.
6098 Remove cons cell customization.
6099 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6100 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6101 New variables.
6102 (isearch-forward, isearch-forward-regexp): Doc fix.
6103 (isearch-toggle-lax-whitespace): New command.
6104 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6105 (re-search-forward-lax-whitespace)
6106 (re-search-backward-lax-whitespace): New functions.
6107 (isearch-whitespace-regexp): Remove function.
6108 (isearch-query-replace): Let-bind replace-search-function and
6109 replace-re-search-function.
6110 (isearch-occur): Let-bind search-spaces-regexp according to the
6111 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6112 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6113 condition for C-q SPC.
6114 (isearch-search-fun-default): Use new functions mentioned above.
6115 (isearch-search-forward, isearch-search-backward): Remove functions.
6116 (isearch-search): Don't let-bind search-spaces-regexp.
6117 (isearch-lazy-highlight-space-regexp): Remove variable.
6118 (isearch-lazy-highlight-lax-whitespace)
6119 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6120 (isearch-lazy-highlight-new-loop): Use them.
6121 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6122
af7dda05
CY
61232012-09-02 Chong Yidong <cyd@gnu.org>
6124
6125 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6126
d67d3afd
GM
61272012-09-02 Glenn Morris <rgm@gnu.org>
6128
6129 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6130
69678719
GM
61312012-09-01 Glenn Morris <rgm@gnu.org>
6132
6133 * term.el: Tidy up menu definitions.
6134 (term-mode-map): Use easymenu for In/Out, Complete menus.
6135 (term-pager-break-map): Initialize in the defvar.
6136 (term-terminal-menu, term-signals-menu): Define with easymenu.
6137 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6138 (term-pager-menu): New, extracted from term-process-pager.
6139 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6140 (term-update-mode-line): Propertize line/char and page items.
6141 (term-process-pager): Move keymap initialization elsewhere.
6142
78dd6ab1
MR
61432012-09-01 Martin Rudalics <rudalics@gmx.at>
6144
6145 * window.el (switch-to-prev-buffer): Handle additional values of
6146 BURY-OR-KILL argument. Don't switch in minibuffer window.
6147 (switch-to-next-buffer): Don't switch in minibuffer window.
6148 (quit-restore-window): New function based on quit-window.
6149 Handle additional values of former KILL argument.
6150 (quit-window): Call quit-restore-window with appropriate
6151 interpretation of KILL argument.
6152 (display-buffer-below-selected): New buffer display action
6153 function.
6154
3d10e134
SM
61552012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * minibuffer.el (completion-at-point-functions): Complete docstring
6158 (bug#12254).
6159
0e23ef9d
PE
61602012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6161
6162 Better seed support for (random).
6163 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6164 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6165 * play/mpuz.el, play/tetris.el, play/zone.el:
6166 * calc/calc-comb.el (math-init-random-base):
6167 * play/blackbox.el (bb-init-board):
6168 * play/life.el (life):
6169 * server.el (server-use-tcp):
6170 * type-break.el (type-break):
6171 Remove unnecessary call to (random t).
6172 * net/sasl.el (sasl-unique-id-function):
6173 Change (random t) to (random), now that the latter is more random.
6174 * play/life.el (life-initialized): Remove no-longer-needed var.
6175
862382df
MR
61762012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6177
6178 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6179 Consider frame's buffer predicate when choosing the buffer.
6180 (Bug#12081)
6181
262a66e1
RS
61822012-08-30 Richard Stallman <rms@gnu.org>
6183
6184 * simple.el (special-mode-map): Delete binding for `z'.
6185
f17e1d00
AS
61862012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6187
6188 * progmodes/compile.el (compilation-always-kill): Doc fix.
6189
24777832
CY
61902012-08-30 Chong Yidong <cyd@gnu.org>
6191
6192 * window.el (display-buffer-reuse-frames): Make the obsolescence
6193 message more informative.
6194
69ba1f04
GM
61952012-08-30 Glenn Morris <rgm@gnu.org>
6196
6197 * paren.el (show-paren-delay):
6198 Add a :set function. Doc fix. (Bug#12297)
6199
f0019ede
MB
62002012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6201
6202 * progmodes/compile.el (compilation-always-kill): New var.
6203 (compilation-start): Use it.
6204
35e62fc9
SM
62052012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6206
af070a1c
SM
6207 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6208 * files.el (read-only-mode): Move to simple.el.
6209
35e62fc9
SM
6210 * files.el (read-only-mode): New minor mode.
6211 (toggle-read-only): Use it and mark obsolete.
6212 (find-file--read-only):
6213 * vc/vc.el (vc-next-action, vc-checkout):
6214 * vc/vc-cvs.el (vc-cvs-checkout):
6215 * obsolete/vc-mcvs.el (vc-mcvs-update):
6216 * ffap.el (ffap--toggle-read-only): Update callers.
6217
c2c43c23
MA
62182012-08-29 Michael Albinus <michael.albinus@gmx.de>
6219
6220 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
6221 remote shell scripts.
6222 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
6223
6224 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6225 "/usr/local/sbin".
6226
9fba804b
SM
62272012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6230
eada0861 62312012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 6232
806f0cc7
LL
6233 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6234 completion-at-point. (Bug#12220)
6235
3bb213b9
LL
6236 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6237
22ab32ef
LL
6238 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6239
eada0861 62402012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 6241
19c17fc1
CY
6242 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6243 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 6244
eada0861 62452012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
6246
6247 * progmodes/hideif.el (hif-compress-define-list):
6248 Fix typo. (Bug#11951)
6249
eada0861 62502012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
6251
6252 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6253 buffer local setting.
6254
27d6c5a8
LL
6255 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6256 rcirc-encode-coding-system.
6257
eada0861 62582012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
6259
6260 * net/rcirc.el (rcirc-split-message): New function.
6261 (rcirc-send-message): Use it. (Bug#12051)
6262
d44688e4
JL
62632012-08-28 Juri Linkov <juri@jurta.org>
6264
6265 * info.el (Info-fontify-node): Hide empty lines at the end of
6266 the node. (Bug#12272)
6267
34f10d41
MR
62682012-08-27 Drew Adams <drew.adams@oracle.com>
6269
6270 * dired.el (dired-pop-to-buffer): Make window start at beginning
6271 of buffer (Bug#12281).
6272
77f1f99c
CY
62732012-08-26 Chong Yidong <cyd@gnu.org>
6274
6275 * window.el (special-display-regexps, special-display-frame-alist)
6276 (special-display-buffer-names, special-display-function)
6277 (display-buffer-reuse-frames): Mark as obsolete.
6278
6279 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6280
6281 * help.el (help-print-return-message): Don't treat
6282 display-buffer-reuse-frames specially.
6283
d97af5a0
CY
62842012-08-26 Chong Yidong <cyd@gnu.org>
6285
9fba804b
SM
6286 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6287 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
6288 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6289 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6290 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6291 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6292 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6293 the functions directly with gdb-display-buffer-other-frame-action.
6294 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6295 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6296 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6297 (gdb-display-registers-buffer): Define directly.
6298 (def-gdb-display-buffer): Macro deleted.
6299 (gdb-display-buffer): Remove second and third args, callers don't
6300 use them. Defer to the default display-buffer behavior, apart
6301 from making windows dedicated.
6302 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6303
6304 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6305
6306 * window.el (display-buffer-pop-up-frame): Handle a
6307 pop-up-frame-parameters alist entry.
6308 (display-buffer): Document it.
6309
dd7ffad6
CY
63102012-08-26 Chong Yidong <cyd@gnu.org>
6311
6312 * isearch.el (search-whitespace-regexp): Make string and nil
6313 values apply to both ordinary and regexp search. Allow a cons
6314 cell value to distinguish between the two.
6315 (isearch-whitespace-regexp, isearch-search-forward)
6316 (isearch-search-backward): New functions.
6317 (isearch-occur, isearch-search-fun-default, isearch-search)
6318 (isearch-lazy-highlight-new-loop): Use them.
6319 (isearch-forward, isearch-forward-regexp): Doc fix.
6320
4c47bd1e
CY
63212012-08-26 Chong Yidong <cyd@gnu.org>
6322
6323 * faces.el (help-argument-name): Always inherit from italic
6324 (Bug#12213).
6325
9aba119d
MR
63262012-08-25 Martin Rudalics <rudalics@gmx.at>
6327
6328 * window.el (window--even-window-heights): Even heights when
6329 WINDOW and the selected window form a vertical combination.
6330 (display-buffer-use-some-window): Provide that window used gets
6331 sized back by quit-window. (Bug#11880) and (Bug#12091)
6332
ca5256ad
PE
63332012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6334
6335 Fix file time stamp problem with bzr and CVS (Bug#12001).
6336 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6337 in the file's time stamp, since the version control system loses
6338 that information.
6339
d1c0d176
JL
63402012-08-22 Juri Linkov <juri@jurta.org>
6341
6342 * info.el (Info-fontify-node): Hide the suffix of the
6343 Info file name in the header line. (Bug#12187)
6344
141562ff
GM
63452012-08-22 Glenn Morris <rgm@gnu.org>
6346
6347 * calendar/cal-tex.el (cal-tex-weekly-common):
6348 Restore leading blank page.
6349
3a21537c 63502012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
6351
6352 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
6353 the region under `shift-select-mode'. (Bug#12231)
6354
63552012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
6356
6357 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6358 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6359 gives details on why the space is never needed.
6360
ea95074e
MR
63612012-08-22 Martin Rudalics <rudalics@gmx.at>
6362
9fba804b
SM
6363 * window.el (walk-window-tree, window-with-parameter):
6364 New optional argument MINIBUF to control whether these functions
ea95074e
MR
6365 should run on the minibuffer window.
6366 (window-at-side-list): Don't operate on minibuffer window.
6367 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
6368 (window--size-ignore): Rename to window--size-ignore-p.
6369 Update callers.
caceae25
MR
6370 (display-buffer-in-atom-window, window--major-non-side-window)
6371 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
6372 (delete-side-window, display-buffer-in-side-window):
6373 New functions.
caceae25
MR
6374 (window--side-check, window-deletable-p, delete-window)
6375 (delete-other-windows, split-window): Handle side windows and
6376 atomic windows appropriately.
6377 (window--display-buffer): Call display-buffer-record-window also
6378 when the window buffer did not change.
ea95074e 6379
80a51fa0
CS
63802012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6381
6382 * help-fns.el (help-fns--key-bindings):
6383 Abbreviate non-symbol remap targets. (Bug#12174)
6384
fbb6300b
MR
63852012-08-22 Martin Rudalics <rudalics@gmx.at>
6386
6387 * dired.el (dired-mark-remembered): Don't clobber point.
6388 (Bug#11795)
6389
2b2c0794
GM
63902012-08-22 Glenn Morris <rgm@gnu.org>
6391
6392 * progmodes/bug-reference.el (bug-reference): New custom group.
6393 (bug-reference-bug-regexp): Make it a defcustom.
6394
37219830
DU
63952012-08-22 Daiki Ueno <ueno@unixuser.org>
6396
6397 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6398 (js-paren-indent-offset, js-square-indent-offset)
6399 (js-curly-indent-offset): Add :safe (Bug#12257).
6400
94e0e559
EC
64012012-08-22 Edward O'Connor <hober0@gmail.com>
6402
6403 * json.el (json-key-format): Add error properties.
6404 (json-encode-key): New function.
6405 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6406 Use json-encode-key.
6407
da485f5e
GM
64082012-08-22 Glenn Morris <rgm@gnu.org>
6409
6410 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6411 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6412 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6413 Update for above change.
6414
c6cc78b8
AS
64152012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6416
6417 * cus-face.el (custom-face-attributes): Fix customize type for the
6418 :underline attribute. (Bug#11805)
6419
5481664a
MR
64202012-08-21 Martin Rudalics <rudalics@gmx.at>
6421
6422 * window.el (window-point-1, set-window-point-1): Remove.
6423 (window-in-direction, record-window-buffer)
6424 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
6425 (window--state-get-1, display-buffer-record-window):
6426 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
6427 window-point and set-window-point respectively.
6428
6d74698e
GM
64292012-08-21 Glenn Morris <rgm@gnu.org>
6430
b7fa2691
GM
6431 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6432 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6433 Use it.
6434
52f56d5a
GM
6435 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6436 (cal-tex-shortday): New function.
6437 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6438 (cal-tex-cursor-filofax-daily): Use the above.
6439
9f1ee09e
GM
6440 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6441 New functions.
6442 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6443 (cal-tex-cursor-filofax-week): Use them.
6444
79858159
GM
6445 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6446 New constants.
6447 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6448 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6449
d346b2b4
GM
6450 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6451 (cal-tex-end-document): Don't rely on buffer name.
6452
b2403709
GM
6453 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6454 Use cal-tex-vspace.
6455 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6456 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
6457 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6458 Use cal-tex-arg.
b2403709 6459
1cebb5c0
GM
6460 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6461 (cal-tex-cursor-week, cal-tex-cursor-week2)
6462 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6463 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6464 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6465 (cal-tex-insert-preamble, cal-tex-b-document)
6466 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6467 Improve cal-tex-cmd usage.
6468
c68cd5d4
GM
6469 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6470 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6471 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6472 (cal-tex-weekly-paper): New function.
6473 (cal-tex-cursor-week, cal-tex-cursor-week2)
6474 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6475 (cal-tex-cursor-day): Use it.
6476
9dca4801
GM
6477 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6478 (cal-tex-cursor-filofax-week): Remove leading blank page.
6479
1941e134
GM
6480 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6481 Add autoload cookie. For now at least, don't use color, since
6482 no other cal-tex function does.
6483
6d74698e
GM
6484 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6485 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6486 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6487
64cde199
JL
64882012-08-21 Juri Linkov <juri@jurta.org>
6489
6490 * info.el (Info-file-attributes): New variable.
6491 (info-insert-file-contents): Add file attributes to
6492 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6493 `Info-toc-nodes' when previous modtime of the Info file is less
6494 than new modtime.
6495 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6496 of info.el. (Bug#12230)
6497
32757648
GM
64982012-08-20 Glenn Morris <rgm@gnu.org>
6499
6500 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6501 * calendar/holidays.el (calendar-holiday-list):
6502 Report errors with display-warning rather than beep'n'sleep.
6503
a32fbbcf
MA
65042012-08-20 Michael Albinus <michael.albinus@gmx.de>
6505
6506 * net/tramp.el (tramp-accept-process-output): Accept only output
6507 from PROC. Otherwise, process filters and sentinels might be
6508 confused. (Bug#12145)
6509
a05731a0
CY
65102012-08-20 Chong Yidong <cyd@gnu.org>
6511
6512 * descr-text.el (describe-text-properties-1): Use overlays-in to
6513 report on empty overlays (Bug#3322).
6514
36e8d1eb
GM
65152012-08-20 Glenn Morris <rgm@gnu.org>
6516
3d300447
GM
6517 * mail/rmailout.el (rmail-output-read-file-name):
6518 Trap and report errors in rmail-output-file-alist elements.
6519
36e8d1eb
GM
6520 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6521 since most non-font-lock faces are not also variables).
6522
b96e5814
ER
65232012-08-20 Edward Reingold <reingold@iit.edu>
6524
6525 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6526 New function. (Bug12160)
6527
7cef3569
GM
65282012-08-19 Glenn Morris <rgm@gnu.org>
6529
6530 * mail/rmailout.el (rmail-output-read-file-name):
6531 Fix previous change (when the alist is nil or does not match).
6532
17975d7f
CY
65332012-08-19 Chong Yidong <cyd@gnu.org>
6534
6535 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6536 (Bug#12228).
6537
2170b1bd
CY
65382012-08-18 Chong Yidong <cyd@gnu.org>
6539
6540 * simple.el (yank-handled-properties): New defcustom.
6541 (yank-excluded-properties): Add font-lock-face and category.
6542 (yank): Doc fix.
6543
9fba804b
SM
6544 * subr.el (remove-yank-excluded-properties):
6545 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
6546 and category is now done this way, instead of being hard-coded.
6547 (insert-for-yank-1): Remove font-lock-face handling.
6548 (yank-handle-font-lock-face-property)
6549 (yank-handle-category-property): New function.
6550
ee218151
GM
65512012-08-17 Glenn Morris <rgm@gnu.org>
6552
6553 * mail/rmailout.el (rmail-output-read-file-name):
6554 Check rmail-output-file-alist against the full message body
6555 in the correct rmail buffer. (Bug#12214)
6556
4a6bc3fd
MA
65572012-08-17 Michael Albinus <michael.albinus@gmx.de>
6558
9fba804b
SM
6559 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6560 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 6561
383dcbf9
CY
65622012-08-17 Chong Yidong <cyd@gnu.org>
6563
6564 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6565 font spec, set the font directly (Bug#3228).
6566
998c4a6a
MR
65672012-08-17 Martin Rudalics <rudalics@gmx.at>
6568
6569 * window.el (delete-window): Fix last fix.
6570
52162052
MR
65712012-08-16 Martin Rudalics <rudalics@gmx.at>
6572
6573 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
6574 (window-child, window-child-count, window-last-child)
6575 (window-normalize-window, window-combined-p)
6576 (window-combinations, window-atom-root, window-min-size)
6577 (window-sizable, window-sizable-p, window-size-fixed-p)
6578 (window-min-delta, window-max-delta, window--resizable)
6579 (window--resizable-p, window-resizable, window-total-size)
6580 (window-full-height-p, window-full-width-p, window-body-size)
6581 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6582 (minimize-window, window-deletable-p, delete-window)
6583 (delete-other-windows, set-window-buffer-start-and-point)
6584 (next-buffer, previous-buffer, split-window, balance-windows-2)
6585 (set-window-text-height, window-buffer-height)
6586 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
6587 (truncated-partial-width-window-p): Minor code adjustments.
6588 In doc-strings state whether the argument window has to denote a
85c2386b 6589 live, valid or any window.
52162052 6590
1c308380
PS
65912012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6592
6593 * progmodes/subword.el (subword-forward-function)
6594 (subword-backward-function, subword-forward-regexp)
6595 (subword-backward-regexp): New variables.
6596 (subword-forward, subword-forward-internal, subword-backward-internal):
6597 Use new variables, eg so that different "word" definitions
6598 can be easily used. (Bug#11411)
6599
94c9ece1
SM
66002012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6601
6602 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6603 for composite selectors.
6604 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6605 operation just because we can't find a previous revision.
6606
f2045622
CY
66072012-08-15 Chong Yidong <cyd@gnu.org>
6608
6609 * frame.el (set-frame-font): Accept font objects.
6610
582db660
SM
66112012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6614
2f29c200
WJ
66152012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6616
456e62c2
WJ
6617 * man.el (Man-overstrike-face, Man-underline-face)
6618 (Man-reverse-face): Remove variables.
6619 (Man-overstrike, Man-underline, Man-reverse): New faces.
6620 (Man-fontify-manpage): Use them instead of the variables.
6621 (Man-cleanup-manpage): Comment change.
6622 (Man-ansi-color-map): New variable.
6623 (Man-fontify-manpage): Use it.
6624 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6625
2f29c200
WJ
6626 Implement ANSI SGR parameters 22-27 (bug#12146).
6627 * ansi-color.el (ansi-colors): Doc fix.
6628 (ansi-color-context, ansi-color-context-region): Doc fix.
6629 (ansi-color--find-face): New function.
6630 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6631 Rename the local variable `face' to `codes' since it is now a list of
6632 ansi codes. Doc fix.
6633 (ansi-color-get-face): Remove.
6634 (ansi-color-parse-sequence): New function, derived from
6635 ansi-color-get-face.
6636 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6637 codes 22-27.
6638
b4f5e9df
SM
66392012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6640
6641 * subr.el (read-passwd): Allow use from a minibuffer.
6642
ba025fbd
EZ
66432012-08-14 Eli Zaretskii <eliz@gnu.org>
6644
6645 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6646 inside comments and strings as identifiers.
6647
6648 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6649 expression to evaluate. This allows to evaluate expressions with
6650 embedded whitespace.
6651 (gud-tooltip-tips): Add a blank before the newline in the
6652 message-box text, for the benefit of message-box emulation on
6653 MS-Windows.
6654
6655 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6656 messages from GDB, pop them up in a tooltip to give feedback to
6657 user.
b4f5e9df
SM
6658 (gdb-tooltip-print-1): Quote the expression to evaluate.
6659 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
6660 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6661 if the TTY name is nil or empty (which happens when communicating
6662 with the inferior via pipes, e.g. on MS-Windows).
6663 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6664 don't send that to the GUD buffer.
6665
c548f821
GM
66662012-08-14 Glenn Morris <rgm@gnu.org>
6667
6668 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6669 Optimize away setq-default with no args, as for setq. (Bug#12195)
6670
55802e4a
CY
66712012-08-14 Chong Yidong <cyd@gnu.org>
6672
4abcdac8
CY
6673 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6674
55802e4a
CY
6675 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6676 (Bug#12085).
6677
3c3cda1a
GM
66782012-08-14 Glenn Morris <rgm@gnu.org>
6679
6680 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6681
e1873bd0
MA
66822012-08-14 Michael Albinus <michael.albinus@gmx.de>
6683
6684 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6685 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6686 Use cached shell name.
6687
925411b4
FEG
66882012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6689
6690 * progmodes/python.el (python-shell-send-string):
3c3cda1a 6691 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 6692
e636fafe
DG
66932012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6694
6695 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6696 (ruby-percent-literal-beg-re): New constant.
6697 (ruby-syntax-general-delimiters-goto-beg): Rename to
6698 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6699 (ruby-syntax-propertize-general-delimiters): Rename to
6700 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6701 popular term. Adjust comments everywhere.
6702 (ruby-syntax-propertize-percent-literal): Only propertize when not
6703 inside a simple string or comment. When the literal is unclosed,
6704 leave the text after it unpropertized.
f063063a
DG
6705 (ruby-syntax-methods-before-regexp): New constant.
6706 (ruby-syntax-propertize-function): Use it to recognize regexps.
6707 Don't look at the text after regexp, just use the whitelist.
e636fafe 6708
e5b19827
AS
67092012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6710
6711 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6712 non-nil always load the compiled file if it exists. (Bug#12197)
6713
a9f6f311
CY
67142012-08-14 Chong Yidong <cyd@gnu.org>
6715
6716 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6717 (hi-lock-set-pattern): When deciding whether to use font lock or
6718 overlays, look at font-lock-mode instead of font-lock-fontified
6719 (Bug#12168).
6720 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6721 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6722
7d806b1e
DU
67232012-08-14 Daiki Ueno <ueno@unixuser.org>
6724
6725 * subr.el (internal--after-with-selected-window): Fix typo
6726 (Bug#12193).
6727
5beed586
FEG
67282012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6729
6730 Use `completion-table-dynamic' for completion functions.
6731 * progmodes/python.el
6732 (python-shell-completion--do-completion-at-point)
e636fafe
DG
6733 (python-shell-completion--get-completions):
6734 Remove functions.
5beed586
FEG
6735 (python-shell-completion-complete-at-point): New function.
6736 (python-completion-complete-at-point): Use it.
6737
92cb3b04
J
67382012-08-13 Jambunathan K <kjambunathan@gmail.com>
6739
6740 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6741 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6742
89660017
SM
67432012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6744
3c98c962
SM
6745 * subr.el (function-get): Refine `autoload' arg so it can also
6746 autoload functions for gv.el (bug#12191).
6747 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6748 autoloads macros.
6749
aa7c6dbe
SM
6750 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6751 Prefer pcase-let over destructuring-bind.
6752 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6753 Also, remove whitespace as we go, rather than after accumulating the
6754 various places.
6755
89660017
SM
6756 * subr.el (internal--before-with-selected-window)
6757 (internal--after-with-selected-window): Fix typo seleted->selected.
6758 (with-selected-window): Adjust callers.
6759 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6760
31cd32c9
BG
67612012-08-13 Bastien Guerry <bzg@gnu.org>
6762
0fcd3d9f 6763 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
6764 enhancement. (Bug#12172)
6765
1b15d8ad
AS
67662012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6767
31e54db0
AS
6768 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6769 type 1-6.
6770 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6771 extended headers.
6772
1b15d8ad
AS
6773 * files.el (hack-local-variables-filter): Remove useless eval.
6774
35cb9c06
MR
67752012-08-13 Martin Rudalics <rudalics@gmx.at>
6776
6777 * subr.el (with-selected-window): Fix last change.
6778
1439443b
SM
67792012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6780
6781 * subr.el (internal--before-with-seleted-window)
6782 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
6783 (with-selected-window): Use them, to replace dependency on
6784 tty-top-frame.
1439443b 6785
0d9e2599
NN
67862012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6787
6788 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6789 binding for `newline'.
6790 (ruby-move-to-block): When moving backward, stop at block opening,
6791 not indentation.
6792 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6793 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6794 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6795 `ruby-toggle-block'.
6796
ba10c48c
SM
67972012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6798
6799 * ibuffer.el (ibuffer-do-toggle-read-only):
6800 * dired.el (dired-toggle-read-only):
6801 * buff-menu.el (Buffer-menu-toggle-read-only):
6802 * bindings.el (mode-line-toggle-read-only):
6803 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6804
9229c658
AS
68052012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6806
6807 * descr-text.el (describe-char): Put the overlays over the
6808 "displayed as" character.
6809
0fd09128
JB
68102012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6811
6812 * calc/calc-units.el (math-default-units-table): Give an
6813 initial value.
6814 (math-put-default-units): Add options to put composite units and
6815 unit systems in the default units table.
6816 (calc-convert-units): Send composite units to
6817 `math-put-default-units' when appropriate.
6818
9ff9402d 68192012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 6820
fbb5e336
GM
6821 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6822
7aacaf15
GM
6823 * tutorial.el (help-with-tutorial):
6824 * emacs-lisp/copyright.el (copyright-update-directory):
6825 * emacs-lisp/autoload.el (autoload-find-generated-file)
6826 (autoload-find-file): Disable local eval: (for insurance).
6827
f40b9f10
GM
6828 * files.el (hack-local-variables-filter): If an eval: form is not
6829 known to be safe, and enable-local-variables is :safe, then ignore
6830 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 6831 This is CVE-2012-3479.
f40b9f10 6832
daa9f1a6
SM
68332012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6834
6835 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6836 (rx-form): Simplify.
6837
9cd80478
DG
68382012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6839
0d9e2599
NN
6840 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6841 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6842 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6843 (ruby-syntax-propertize-function): Adjust for changes in
6844 `ruby-syntax-propertize-heredoc'.
6845
68462012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6847
9cd80478
DG
6848 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6849 binding (use `M-;' instead).
9cd80478 6850 (ruby-singleton-class-p): New function.
0d9e2599 6851 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 6852
d301b413
SM
68532012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6854
6855 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6856
1530c98e
CY
68572012-08-10 Chong Yidong <cyd@gnu.org>
6858
6859 * progmodes/python.el (python-shell-get-process-name): Don't mess
6860 with same-window-buffer-names.
6861
6862 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6863 (eshell-remove-from-window-buffer-names): Make obsolete.
6864 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6865 (eshell): Just use pop-to-buffer-same-window instead.
6866
e1293765
CY
68672012-08-10 Chong Yidong <cyd@gnu.org>
6868
6869 * bindings.el: Bind M-= back to count-words-region.
6870
6871 * simple.el (count-words-region): Accept a prefix arg for acting
6872 on the entire buffer.
6873 (count-words--buffer-message): New helper function.
6874
e1894109
SM
68752012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6878 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6879 (event-start, event-end): Use posn-at-point to return a more
6880 informative posn.
6881 (posnp): New function.
6882 * mouse.el (popup-menu-normalize-position): Use it.
6883
c69f56a2
MY
68842012-08-10 Masatake YAMATO <yamato@redhat.com>
6885
6886 * mouse.el (popup-menu-normalize-position): New function.
6887 (popup-menu): Use `popup-menu-normalize-position' to normalize
6888 the form for POSITION argument.
6889
6890 * term/x-win.el (x-menu-bar-open):
6891 Use the value returend from (posn-at-point) as position
6892 passed to `popup-menu'.
6893
31673780
JB
68942012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6895
6896 * calc/calccomp.el (math-compose-expr): Add extra argument
6897 indicating that parentheses should be put around products in
6898 denominators. Give multiplication precedence over division during
6899 composition.
6900
dab7711b
CY
69012012-08-09 Chong Yidong <cyd@gnu.org>
6902
dee4ef93
CY
6903 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6904 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6905 (Man-untabify-command, manual-program): Convert to defcustom
6906 (Bug#10429).
6907
73e2bbc5
CY
6908 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6909
3e861c8a
CY
6910 * descr-text.el (describe-char): Don't insert extra newlines
6911 (Bug#10127).
6912
a9f5a649
CY
6913 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6914 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6915
dab7711b
CY
6916 * align.el (align-region): Delete temporary markers (Bug#10047).
6917 Plus some code cleanups.
6918
e0cc4efa
FEG
69192012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6920
6921 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6922 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6923 (python-shell-internal-last-output): Use make-local-variable
6924 instead of make-variable-buffer-local.
6925
489af14f
FEG
69262012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6927
6928 * progmodes/python.el: Enhancements to forward-sexp.
6929 (python-nav-forward-sexp): Rename from
6930 python-nav-forward-sexp-function.
c69f56a2
MY
6931 (python-nav--forward-sexp, python-nav--backward-sexp):
6932 New functions.
489af14f 6933
0fc50303
JB
69342012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6935
6936 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6937 modes and simplification modes.
6938
5d65606a
SM
69392012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * delsel.el (delete-selection-pre-hook): Don't propagate the
6942 file-supersession signals (bug#12161).
6943
4250fdf5
SM
69442012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6945
6946 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6947 (cl-map-extents): Add compatibility aliases (bug#12135).
6948
d9f9b465
MA
69492012-08-08 Michael Albinus <michael.albinus@gmx.de>
6950
6951 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6952 tests by `ignore-error'.
6953 (tramp-find-shell): Open also a new shell, when cache is already
6954 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6955
ce0fcefa
JL
69562012-08-08 Juri Linkov <juri@jurta.org>
6957
6958 * bookmark.el: Add `defaults' property to the bookmark record.
6959 (bookmark-current-buffer): Doc fix.
6960 (bookmark-make-record): Add `defaults' property with default values
6961 to the bookmark record.
6962 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6963 with `bookmark-insert-current-bookmark'.
6964 (bookmark-set): Get `defaults' property from the bookmark record
6965 and use it in `read-from-minibuffer'.
6966 (bookmark-insert-current-bookmark): Remove function.
6967
6968 * info.el (Info-bookmark-make-record): Add `defaults' property
6969 with values of canonical Info node name, the current Info file
6970 name and the current Info node name. (Bug#12107)
6971
53fa8652
JL
69722012-08-08 Juri Linkov <juri@jurta.org>
6973
6974 * files.el (basic-save-buffer): Use `buffer-name' as the default
6975 of `read-file-name' when buffer is not visiting a file (bug#12128).
6976
242c0a95
JL
69772012-08-08 Juri Linkov <juri@jurta.org>
6978
6979 * info.el (Info-isearch-search): Doc fix.
6980 (Info-search): Change search-failed message from "initial node" to
6981 "end of node" (bug#12078).
6982 (Info-isearch-search): Change `isearch-string-state' to
6983 `isearch--state-string'.
6984
32ac3a6b
GM
69852012-08-08 Glenn Morris <rgm@gnu.org>
6986
6987 * language/persian.el: Remove file.
f8c1afd5 6988 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
6989 * loadup.el: Remove language/persian.
6990
2c2d9c9c
OF
69912012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6992
6993 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6994
2d79ec42
FEG
69952012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6996
3c855b96 6997 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
6998 (python-syntax-context) Rename from python-info-ppss-context.
6999 (python-syntax-context-type): Rename from
7000 python-info-ppss-context-type.
7001 (python-syntax-comment-or-string-p): Rename from
7002 python-info-ppss-comment-or-string-p.
7003
2bd255dd
JB
70042012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7005
7006 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7007
c395097f
AS
70082012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7009
6125983e
AS
7010 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7011 a defcustom that is quoted with backquote.
7012
4250fdf5
SM
7013 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7014 Fix handling of interactive spec when the body uses return.
651eaf36
AS
7015 (math-do-arg-check, math-define-function-body): Use backquote forms.
7016 * calc/calc-ext.el (math-defcache): Likewise.
7017 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7018 * allout.el (allout-new-exposure): Likewise.
7019 * calc/calcalg2.el (math-tracing-integral): Likewise.
7020 * info.el (Info-last-menu-item): Likewise.
7021 * emulation/vip.el (vip-loop): Likewise.
7022 * textmodes/artist.el (artist-funcall): Likewise.
7023 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7024 Construct menu-item directly.
7025
4250fdf5
SM
7026 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7027 Don't declare.
c395097f 7028
5fb50dd3
CY
70292012-08-07 Chong Yidong <cyd@gnu.org>
7030
7031 * simple.el (deactivate-mark): Preserve text properties when
7032 saving the primary selection (Bug#8384).
7033
54eea618
KR
70342012-08-07 Kevin Ryde <user42@zip.com.au>
7035
7036 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7037 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7038 and continue processing (Bug#12110).
7039
638eaeb9
SM
70402012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7041
7042 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7043 syntax-propertize-function (bug#10095).
7044
ea376861
SM
70452012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7046
f91b35be
SM
7047 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7048 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7049 describe-function-1.
7050 (describe-function-1): Use them. Move compiler macro after sig.
7051 (help-fns--compiler-macro): Use function-get. Assume we're already in
7052 standard-output. Adjust layout to new call order.
7053
ea376861
SM
7054 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7055 re-binding a symbol that has a symbol-macro (bug#12119).
7056
d5be7bd0
MB
70572012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7058
7059 * language/persian.el: New file. (Bug#11812)
7060 * loadup.el: Add language/persian.el.
7061
90749b53
CY
70622012-08-06 Chong Yidong <cyd@gnu.org>
7063
7064 * window.el (window--maybe-raise-frame): New function.
7065 (window--display-buffer): Split off from here.
7066 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7067 (display-buffer-pop-up-window, display-buffer-use-some-window):
7068 Obey an inhibit-switch-frame action alist entry.
7069 (display-buffer): Update doc.
7070
7071 * replace.el (occur-after-change-function): Avoid losing focus by
7072 using the inhibit-switch-frame display parameter (Bug#12139).
7073
ba7b0154
FEG
70742012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7075
7076 Make internal shell process buffer names start with space.
7077 * progmodes/python.el (python-shell-make-comint): Add optional
7078 argument INTERNAL.
7079 (run-python-internal): Use it.
7080 (python-shell-internal-get-or-create-process): Check for new
7081 internal buffer names.
7082
5eaeacb5
GM
70832012-08-06 Glenn Morris <rgm@gnu.org>
7084
e296d94b 7085 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
7086 Do less getting and setting of environment variables.
7087
b7ccbdc2
CY
70882012-08-05 Chong Yidong <cyd@gnu.org>
7089
777fe95e
CY
7090 * proced.el (proced): Add substitution string to docstring to
7091 trigger autoloading of the proced library on C-h f (Bug#1768).
7092
4250fdf5
SM
7093 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7094 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
7095
7096 * imenu.el (imenu-generic-expression): Move documentation here
7097 from imenu--generic-function.
7098 (imenu--generic-function): Refer to imenu-generic-expression.
7099
9e3b7800 71002012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
7101
7102 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7103 indentation declaration.
7104 (viper-loop): Add indentation declaration (Bug#7025).
7105
e5d9c0d1
CY
71062012-08-05 Chong Yidong <cyd@gnu.org>
7107
f0422feb
CY
7108 * help-fns.el (describe-variable): Add hyperlink for
7109 directory-local variables files. Improve buffer-local and
7110 permanent-local reporting; suggested by MON KEY (Bug#6644).
7111
7112 * help-mode.el (help-dir-local-var-def): New button type.
7113
e5d9c0d1
CY
7114 * files.el (kill-buffer-hook): Provide a defvar.
7115
a4f2deaa
GM
71162012-08-05 Glenn Morris <rgm@gnu.org>
7117
7118 * eshell/esh-ext.el (eshell/addpath):
7119 Also update eshell-path-env. (Bug#12013)
7120
a9dd5754
CY
71212012-08-05 Chong Yidong <cyd@gnu.org>
7122
a4f2deaa 7123 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 7124
d014c740
CY
7125 * fringe.el (fringe-styles): Add docstring.
7126 (fringe--check-mode): New function.
7127 (set-fringe-mode, set-fringe-style): Use it.
7128 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7129
a9dd5754
CY
7130 * files.el (set-auto-mode): Fix invalid setq call.
7131
7c2dc8bd
SM
71322012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7133
7134 * isearch.el: Misc simplification; use defstruct.
7135 (isearch-mode-map): Dense maps now work like sparse ones.
7136 (isearch--state): New defstruct.
7137 (isearch-string-state, isearch-message-state, isearch-point-state)
7138 (isearch-success-state, isearch-forward-state)
7139 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7140 (isearch-wrapped-state, isearch-barrier-state)
7141 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7142 replaced by defstruct's accessors.
7143 (isearch--set-state): Rename from isearch-top-state and change
7144 calling convention.
7145 (isearch-push-state): Use new isearch--get-state.
7146 (isearch-toggle-word): Disable regexp when enabling word.
7147 (isearch-message-prefix): Remove unused arg _c-q-hack.
7148 (isearch-message-suffix): Remove unused arg _ellipsis.
7149
7fcc0070
AS
71502012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7151
7152 * simple.el (list-processes--refresh): For a server use :host or
7153 :local as the address.
97ad0769 7154 (list-processes): Doc fix.
7fcc0070 7155
a11035b8 71562012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
7157
7158 * lisp/mpc.el: Support password in host argument.
7159 (mpc--proc-connect): Parse and use new password element.
7160 Set mpc-proc variable instead of returning process.
7161 (mpc-proc): Adjust accordingly.
7162
6dad7178
EZ
71632012-08-03 Eli Zaretskii <eliz@gnu.org>
7164
18949c2f
EZ
7165 * whitespace.el (whitespace-display-mappings): Use Unicode
7166 codepoints, instead of emacs-mule codepoints. See
7167 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7168 for the details.
7169
6dad7178
EZ
7170 * files.el (file-truename): Don't skip symlink-chasing part on
7171 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
7172 Windows into the loop that recursively chases symlinks.
7173 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
7174 MS-DOS.
7175
385b0198
CY
71762012-08-03 Chong Yidong <cyd@gnu.org>
7177
6200f3c4
CY
7178 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7179
385b0198
CY
7180 * sort.el (sort-regexp-fields): Doc fix.
7181
b9e74744
TH
71822012-08-03 Tassilo Horn <tsdh@gnu.org>
7183
7184 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7185 labels regex position point at the expected place.
7186
41013cb4
MK
71872012-08-03 MON KEY <monkey@sandpframing.com>
7188
7189 * net/imap.el (imap-interactive-login, imap-authenticate)
7190 (imap-mailbox-lsub, imap-mailbox-list)
7191 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7192 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7193 (imap-parse-response): Doc fix.
7194
0ffee616
JT
71952012-08-03 João Távora <joaotavora@gmail.com>
7196
7197 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7198 if sexp scanning does not move point (Bug#5734).
7199
cfcc9cc8
TH
72002012-08-02 Tassilo Horn <tsdh@gnu.org>
7201
7202 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7203 Add listings, minted, and ctable packages.
7204 (reftex-label-alist-builtin): Move listings, minted, and ctable
7205 entries before LaTeX.
a01bbb84 7206 (reftex-label-alist): Docfix.
cfcc9cc8 7207
66ec2442
BG
72082012-08-02 Bastien Guerry <bzg@gnu.org>
7209
7210 * replace.el (occur): Fix docstring (bug#12122).
7211
837b365b
GM
72122012-08-02 Glenn Morris <rgm@gnu.org>
7213
7214 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7215
e098de97
PE
72162012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7217
7218 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7219 * international/mule-cmds.el: Create
7220 inactivate-current-input-method-function as an obsolete alias for
7221 deactivate-current-input-method-function. See Katsumi Yamaoka in
7222 <http://bugs.gnu.org/10150#46>.
7223
a0f95636
JB
72242012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7225
7226 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7227 of nested `if's.
7228
0d26d7c4
GM
72292012-08-01 Glenn Morris <rgm@gnu.org>
7230
7231 * progmodes/autoconf.el (autoconf-definition-regexp):
7232 Add AH_TEMPLATE, adjust submatch numbering.
7233 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7234 (autoconf-current-defun-function): Update for above change.
7235 (autoconf-current-defun-function): First skip to end of current word.
7236
b686ba06
RS
72372012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7238
7239 * calendar/cal-html.el (cal-html-insert-agenda-days):
7240 Fix typo. (Bug#12018)
7241
0d49da68
FEG
72422012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7243
7244 Shell processes: enhancements to startup and CEDET compatibility.
7245 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7246 (python-shell-make-comint): accept-process-output at startup.
7247 (run-python-internal): Set inferior-python-mode-hook to nil.
7248 (python-shell-internal-get-or-create-process): call sit-for.
7249 (python-preoutput-result): Add obsolete alias.
7250 (python-shell-internal-send-string): Use it.
7251 (python-shell-send-setup-code): Remove call to
7252 accept-process-output.
7253
f1a71c6e
AS
72542012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7255
7256 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7257 (Bug#12108)
7258
d2605269
JB
72592012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7260
7261 * calc-mode.el (calc-basic-simplification-mode): Rename from
7262 `calc-limited-simplification-mode'.
7263 (calc-alg-simplification-mode): New function.
fc0c31f8 7264 (calc-set-simplify-mode): Adjust message.
f1a71c6e 7265
d2605269
JB
7266 * calc.el (calc-set-mode-line): Adjust mode line display for
7267 basic simplification mode.
7268
7269 * calc-help.el (calc-m-prefix-help): Update help message.
7270
7271 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7272 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7273
a3827a43
BG
72742012-07-31 Bastien Guerry <bzg@gnu.org>
7275
7276 * man.el (man): Fix comment. (bug#12101)
7277
502e3f89
MR
72782012-07-31 Martin Rudalics <rudalics@gmx.at>
7279
7280 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7281 Don't return a non-nil value when no suitable buffer was found.
7282
d7714961
FEG
72832012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7284
7285 * progmodes/python.el (run-python-internal): Disable font lock for
7286 internal shells.
7287
1f45e27e
SM
72882012-07-30 Stefan Merten <smerten@oekonux.de>
7289
70efc5c9 7290 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
7291 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7292 (rst-official-version, rst-official-cvs-rev)
7293 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7294 (rst-mode-map): New key binding.
7295
0aee6912
PE
72962012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7297
7298 Update .PHONY listings in makefiles.
7299 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7300 autoloads, update-subdirs, updates, bzr-update, update-authors,
7301 compile-onefile, compile-calc, backup-compiled-files,
7302 compile-after-backup, compile-one-process, mh-autoloads,
7303 bootstrap-clean, distclean, maintainer-clean.
7304
9052f9f0
JB
73052012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7306
1823ac5a
JB
7307 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7308 (calc-set-mode-line): Don't display "AlgSimp ".
7309
7310 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7311 (calc-lim-simplify-mode): New function.
7312 (calc-set-simplify-mode): Default to 'alg.
7313 (calc-default-simplify-mode): Make algebraic simplifications
7314 the default.
7315
7316 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7317 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7318
8d7c7eed 7319 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
7320 indicate new simplification modes.
7321
1823ac5a
JB
7322 * calc/README: Mention new default simplification mode.
7323
9052f9f0
JB
7324 * calc/calc.el (math-normalize-error): New variable.
7325 (math-normalize): Set `math-normalize-error' to t
7326 when there's an error.
7327
7328 * calc/calc-alg.el (math-simplify): Don't simplify when
7329 `math-normalize' returns an error.
7330
20ba0cb4
EZ
73312012-07-29 Eli Zaretskii <eliz@gnu.org>
7332
7333 * international/mule-cmds.el (set-locale-environment): Revert last
7334 change, since display-graphic-p returns nil when this function is
7335 called during startup. Instead...
7336
7337 * term/w32console.el (terminal-init-w32console): ...setup the
7338 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7339
a5dcc929
JL
73402012-07-29 Juri Linkov <juri@jurta.org>
7341
7342 * simple.el (goto-line): Don't display default line number in the
7343 prompt because it should be displayed by `read-number' (bug#9952).
7344 Add the current line number to the defaults of `goto-line' to
7345 allow its easier modification by users with `M-n' (bug#9201).
7346
7347 * subr.el (read-number): Support multiple default values like in
7348 other minibuffer reading functions. Replace `read' with
7349 `string-to-number' for consistency with `number-to-string'.
7350
72b255c7
PE
73512012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7352
7353 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7354 * emulation/viper-init.el (viper-deactivate-input-method-action):
7355 Rename from viper-inactivate-input-method-action.
7356 (viper-deactivate-input-method):
7357 Rename from viper-inactivate-input-method.
7358 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7359 * international/mule-cmds.el (deactivate-input-method):
7360 Rename from inactivate-input-method.
7361 Also run input-method-deactivate-hook.
7362 (deactivate-current-input-method-function):
7363 Rename from inactivate-current-input-method-function.
7364 (input-method-deactivate-hook): New hook.
7365 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
7366 (inactivate-input-method): Mark obsolete.
7367
72b255c7
PE
7368 * international/quail.el (quail-activate):
7369 Also run quail-deactivate-hook.
7370 (quail-deactivate): Rename from quail-inactivate.
7371 * international/robin.el (robin-activate):
7372 Also run robin-deactivate-hook.
7373 (robin-deactivate): Rename from robin-inactivate.
7374
2549c068
CY
73752012-07-29 Chong Yidong <cyd@gnu.org>
7376
7377 * simple.el (indicate-copied-region): New function.
7378 (kill-ring-save): Split off from here.
7379
7380 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7381 (kill-rectangle): Set deactivate-mark to t on read-only error.
7382
7383 * register.el (copy-to-register, copy-rectangle-to-register):
7384 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
7385 (append-to-register, prepend-to-register): Call indicate-copied-region.
7386
73872012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
7388
7389 * simple.el (async-shell-command-buffer): New defcustom.
7390 (shell-command): Use it. (Bug#4719)
7391
01bd1b0d
EZ
73922012-07-28 Eli Zaretskii <eliz@gnu.org>
7393
7394 * international/mule-cmds.el (set-locale-environment): In a
7395 console session on MS-Windows, set up keyboard and terminal
7396 encoding from the OEM codepage, not the ANSI codepage.
7397 (Bug#12055)
7398
a55739d3
CY
73992012-07-28 Chong Yidong <cyd@gnu.org>
7400
7401 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7402 gdb-get-location.
7403
0e1a094f 74042012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
7405
7406 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7407 the alist (bug#12029).
7408
20329d73
EZ
74092012-07-28 Eli Zaretskii <eliz@gnu.org>
7410
7411 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7412 (compile-always, compile-first)
7413 ($(lisp)/calendar/cal-loaddefs.el)
7414 ($(lisp)/calendar/diary-loaddefs.el)
7415 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7416 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7417 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7418 instead of on update-subdirs.
7419 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7420
345a2258
CY
74212012-07-28 Chong Yidong <cyd@gnu.org>
7422
1eee6341
CY
7423 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7424 directory if vc-deduce-backend returns nil (Bug#7350).
7425
345a2258
CY
7426 * simple.el (delete-trailing-lines): New option.
7427 (delete-trailing-whitespace): Obey it (Bug#11879).
7428
049a0936
DE
74292012-07-28 David Engster <deng@randomsample.de>
7430
7431 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7432 Explanation of new 'symbol-qnames feature in doc-strings.
7433 (xml-maybe-do-ns): Return expanded names as plain symbols if
7434 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7435 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7436
aa81af71
FEG
74372012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7438
7439 Consistent completion in inferior python with emacs -nw.
7440 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7441 binding in inferior-python-mode-map with "\t".
7442 (python-shell-completion-complete-at-point)
7443 (python-completion-complete-at-point): Remove interactive spec.
7444
e827b1eb
JB
74452012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7446
7447 * calc/calccomp.el (math-compose-expr): Undo previous change.
7448
a90dfb95
FEG
74492012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7450
4250fdf5 7451 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
7452 run-python.
7453 (python-shell-make-comint): Fix pop-to-buffer call.
7454 (run-python): Autoload. New arg SHOW.
7455 (python-shell-get-or-create-process): Do not pop python process
7456 buffer.
7457
32770973 74582012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
7459
7460 * notifications.el (notifications-on-action-signal)
7461 (notifications-on-closed-signal): Use also the bus address for the map.
7462 (notifications-notify, notifications-close-notification)
fc0c31f8 7463 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 7464
86332df2
TH
74652012-07-27 Tassilo Horn <tsdh@gnu.org>
7466
4250fdf5
SM
7467 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7468 Add support for the lstlisting and minted environments, and for the
86332df2
TH
7469 ctable macro.
7470 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7471 labels written in keyvals syntax.
7472
ca1302a4
JB
74732012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7474
7475 * calc/calccomp.el (math-compose-expr): Use parentheses when
7476 there is a product in the denominator of a fraction.
7477
f8b91036
EZ
74782012-07-26 Eli Zaretskii <eliz@gnu.org>
7479
7480 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7481 ($(lisp)/calendar/diary-loaddefs.el)
7482 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
7483 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7484 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
7485 rewritten while the autoload files are built at the same time,
7486 which needs to load subdirs.el.
7487
c8e5a42c
MR
74882012-07-26 Martin Rudalics <rudalics@gmx.at>
7489
7490 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7491 (mouse-drag-line): Don't exit tracking when a switch-frame or
7492 switch-window event occurs (Bug#12006).
7493
670d85ea
SM
74942012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7495
7496 * mouse.el (popup-menu): Fix last change.
7497
7abaf5cc
SM
74982012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7499
7500 Autoload from Lisp with more care. Follow aliases when looking for
7501 function properties.
7502 * subr.el (autoloadp): New function.
7503 (symbol-file): Use it.
7504 (function-get): New function.
7505 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7506 autoload-do-load.
7507 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7508 (lisp-indent-function):
7509 * emacs-lisp/gv.el (gv-get):
7510 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7511 * emacs-lisp/byte-opt.el (byte-optimize-form):
7512 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7513 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7514 Use function-get.
7515 * emacs-lisp/cl.el: Don't propagate function properties any more.
7516
7517 * speedbar.el (speedbar-add-localized-speedbar-support):
7518 * emacs-lisp/disass.el (disassemble-internal):
7519 * desktop.el (desktop-load-file):
7520 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7521 (describe-function-1):
7522 * emacs-lisp/find-func.el (find-function-noselect):
7523 * emacs-lisp/elp.el (elp-instrument-function):
7524 * emacs-lisp/advice.el (ad-has-proper-definition):
7525 * apropos.el (apropos-safe-documentation, apropos-macrop):
7526 * emacs-lisp/debug.el (debug-on-entry):
7527 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7528 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7529 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7530
b1364986
AA
75312012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7532
7533 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7534 function, not an obsolete variable (Bug#12046).
7535
67ada220
AS
75362012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7537
7538 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7539
f08088e3
CS
75402012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7541
7542 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7543 window only if it is still live (Bug#12034).
7544
8137e7b3
MR
75452012-07-25 Martin Rudalics <rudalics@gmx.at>
7546
7547 * subr.el (redirect-frame-focus): Add advertised calling
7548 convention (Bug#12030).
7549
09ae5da1
PE
75502012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7551
7552 Prefer typical American spelling for "acknowledgment".
7553 * vc/add-log.el (change-log-acknowledgment): Rename from
7554 change-log-acknowledgement, with an alias for the old name.
7555
3cc5a3a8
JB
75562012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7557
7558 * calc-alg.el (math-simplify-divide): Don't cross multiply
7559 in an equation when the lhs is a variable.
7560
b7af7f62
JD
75612012-07-24 Julien Danjou <julien@danjou.info>
7562
7563 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7564 Remove, unused.
7565
ec1b09b1
EZ
75662012-07-23 Eli Zaretskii <eliz@gnu.org>
7567
7568 * startup.el (command-line): Don't display an empty user name in
7569 the error message about non-existent home directory, when
7570 init-file-user was set to an empty string. See
7571 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7572 for the details and context.
7573
b525fd8a
VB
75742012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7575
7576 * ses.el (ses-cell-formula-aset): New macro.
7577 (ses-cell-references-aset): New macro.
7578 (ses-cell-p): New function.
7579 (ses-rename-cell): Do no longer rely on complex operations like
7580 ses-cell-set-formula or ses-set-cell to change the cell and handle
7581 the undo at the same time, but rather use lower level new macros
7582 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 7583 the undo directly. Refresh the mode line.
b525fd8a 7584
2c73e345
LL
75852012-07-21 Leo Liu <sdl.web@gmail.com>
7586
670d85ea
SM
7587 * progmodes/cc-cmds.el (c-defun-name):
7588 Use match-string-no-properties instead for consistency.
2c73e345 7589
542dfbde
LL
75902012-07-20 Leo Liu <sdl.web@gmail.com>
7591
3646bcd6
LL
7592 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7593 (Bug#7879)
7594
542dfbde
LL
7595 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7596
25721031
CY
75972012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7600 * progmodes/bug-reference.el, misearch.el: Provide themselves
7601 (bug#11915).
7602
7603 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7604 of narrowed buffer (bug#11966).
7605
316e68a7
VB
76062012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7607
7608 * ses.el (ses-rename-cell): Set new name also in reference list of
7609 cells of which the renamed cell depends.
7610
bbf0e7d9
MY
76112012-07-20 Masatake YAMATO <yamato@redhat.com>
7612
7613 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7614 to check whether menu-bar is shown or not. If not shown,
7615 show the menu-bar as a popup menu instead of using tmm.
7616 * mouse.el (popup-menu): Accept `point' as `position' argument.
7617
c28662a8
DG
76182012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7619
7620 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7621 up inside string symbol literal (bug#11923).
7622
87ab808f
EZ
76232012-07-20 Eli Zaretskii <eliz@gnu.org>
7624
7625 * startup.el (fancy-startup-text): Read the whole tutorial, not
7626 just its first 256 bytes. Prevents gibberish in display of the
7627 tutorial title.
7628
89dea803
DA
76292012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7630
7631 Drop idle buffer compaction due to an absence of the
7632 proved efficiency.
7633 * compact.el: Remove.
7634
8a4e6db8
SS
76352012-07-19 Sam Steingold <sds@gnu.org>
7636
7637 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7638 vc-bzr-pull & vc-bzr-merge-branch.
7639 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7640 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7641 for consistency with compilation-error-regexp-alist.
7642 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7643 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7644 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7645 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7646
5db81e33
SM
76472012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7648
7649 * emacs-lisp/chart.el: Use lexical-binding.
7650 (chart-emacs-storage): Don't hardcode the list of entries.
7651
5b835e1d
DA
76522012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7653
7654 Next round of tweaks caused by Fgarbage_collect changes.
7655 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7656
9cd47b72
DA
76572012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7658
7659 Compact buffers when idle.
7660 * compact.el: New file.
7661
1d6fc0df
SM
76622012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7663
7664 * subr.el (eventp): Presume that if it looks vaguely like an event,
7665 it's an event (bug#10190).
7666
1d29cc7d
FEG
76672012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7668
7669 Enhancements to ppss related code (thanks Stefan).
7670 * progmodes/python.el (python-indent-context)
7671 (python-indent-calculate-indentation, python-indent-dedent-line)
7672 (python-indent-electric-colon, python-nav-forward-block)
7673 (python-mode-abbrev-table)
1d6fc0df 7674 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
7675 for ppss context.
7676 (python-info-continuation-line-p): Cleanup.
7677 (python-info-ppss-context): Do not catch 'quote.
7678 (python-info-ppss-context-type)
7679 (python-info-ppss-comment-or-string-p): Simplify.
7680
d583cbe6
FEG
76812012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7682
7683 * progmodes/python.el: Enhancements to eldoc support.
7684 (python-info-current-symbol): New function.
7685 (python-eldoc-at-point): Use python-info-current-symbol.
7686 (python-info-current-defun): Fix cornercase on first defun scan.
7687 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7688 and signal error when no inferior python process is available.
7689
eceb6feb
DG
76902012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7691
7692 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7693 assume it's always t.
7694 (vc-git-registered): Remove caching, the function is only called
7695 once.
7696 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7697
4c8ff0fe
CY
76982012-07-18 Chong Yidong <cyd@gnu.org>
7699
19fb7186
CY
7700 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7701
9587c688
CY
7702 * simple.el (count-words): Report on narrowing (Bug#9959).
7703
0fe776a1
CY
7704 * bindings.el: Bind M-= to count-words.
7705
4c8ff0fe
CY
7706 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7707
7f5331cc
MY
77082012-07-18 Masatake YAMATO <yamato@redhat.com>
7709
7710 * progmodes/sh-script.el (sh-imenu-generic-expression):
7711 Capture a function with `function' keyword and without parentheses
7712 like "function FOO" (bug#11856).
7713
2dc2a609
TH
77142012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7715
7716 * window.el (split-window-sensibly): Make WINDOW argument
7717 optional.
7718
439f7677
CY
77192012-07-18 Chong Yidong <cyd@gnu.org>
7720
9aeb25a6
CY
7721 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7722
439f7677
CY
7723 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7724 and make C-x 8 RET exit isearch (Bug#11439).
7725
7726 * international/iso-transl.el: Move isearch-mode-map key
7727 definitions to isearch.el.
7728
12999ea8
SM
77292012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7732 (eieio-defclass): Use gv-define-setter when possible.
7733
3ab6e069
DA
77342012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7735
7736 Reflect recent changes in Fgarbage_collect.
7737 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7738 reflect new format of data returned by Fgarbage_collect.
7739
0a60bc10
FEG
77402012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7741
7742 New utility functions + python-info-ppss-context fix (Bug#11910).
7743 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7744 (python-info-ppss-comment-or-string-p): New functions.
7745 (python-info-ppss-context): Small fix for string check.
7746
6dafa0d5
JL
77472012-07-17 Juri Linkov <juri@jurta.org>
7748
7749 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7750 (dired-do-async-shell-command): Don't add `*' at the end of the
7751 command (Bug#11815).
7752 (dired-do-shell-command): Doc fix.
7753 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7754 Join the individual commands using either "&" or ";" as the
7755 separator depending on the values of these trailing characters.
7756 At the end re-add the trailing "&". (Bug#10598)
7757
7758 * simple.el (async-shell-command): Sync the interactive spec with
7759 `shell-command'. Doc fix.
7760 (shell-command): Doc fix.
7761
b19dd9d1
JL
77622012-07-17 Juri Linkov <juri@jurta.org>
7763
7764 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7765
bcdc27d7 77662012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 7767
bcdc27d7 7768 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
7769 * progmodes/python.el (python-nav-beginning-of-statement):
7770 Rename from python-nav-statement-start.
bcdc27d7
FEG
7771 (python-nav-end-of-statement): Rename from
7772 python-nav-statement-end.
7773 (python-nav-beginning-of-block): Rename from
7774 python-nav-block-start.
7775 (python-nav-end-of-block): Rename from python-nav-block-end.
7776
191da00e
FEG
77772012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7778
7f5331cc
MY
7779 * progmodes/python.el (python-shell-send-string-no-output):
7780 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
7781 future interactions (Bug#11868).
7782
4dc7c8d5 77832012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 7784
88ecaf8f
SM
7785 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7786
ef501ef0
SM
7787 * emacs-lisp/elint.el (elint-find-args-in-code):
7788 Use help-function-arglist, so as to handle lexical byte-code.
7789
aa7aaf8f
SM
7790 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7791 change (bug#11826).
7792
45fd731c
SM
77932012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7794
2143fa32
SM
7795 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7796 Avoid spuriously marking the buffer as modified because of c-is-sws.
7797
efc26dbe
SM
7798 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7799 as not-a-comment (bug#11946).
7800
f5695c9a
SM
7801 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7802 for uninterned vars.
7803
7804 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7805 Use read-event since we don't really want to read chars but bytes.
7806
45fd731c
SM
7807 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7808 $$..$$ but also $..$ using regexps (bug#11953).
7809 Use tex-verbatim for \url and \path.
7810 (tex-font-lock-keywords): Define as defconst like the others.
7811 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7812
ddfc8813
RK
78132012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7814
7815 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7816 alias for insert-char.
7817
758e556a
FEG
78182012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7819
7820 * progmodes/python.el: Simplified imenu implementation.
7821 (python-nav-jump-to-defun): Remove command.
7822 (python-mode-map): Use `imenu' instead.
7823 (python-nav-list-defun-positions-cache)
7824 (python-imenu-include-defun-type, python-imenu-make-tree)
7825 (python-imenu-subtree-root-label, python-imenu-index-alist):
7826 Remove vars.
7827 (python-nav-list-defun-positions, python-nav-read-defun)
7828 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
7829 (python-imenu-make-tree, python-imenu-create-index):
7830 Remove functions.
758e556a
FEG
7831 (python-mode): Update to interact with imenu by setting
7832 `imenu-extract-index-name-function' only.
7833
032d23ab
FEG
78342012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7835
7836 * progmodes/python.el: Enhancements to navigation commands.
7837 (python-nav-backward-sentence)
7838 (python-nav-forward-sentence): Remove.
7839 (python-nav-backward-statement, python-nav-forward-statement)
7840 (python-nav-statement-start, python-nav-statement-end)
7841 (python-nav-backward-block, python-nav-forward-block)
7842 (python-nav-block-start, python-nav-block-end)
7843 (python-nav-forward-sexp-function)
7844 (python-info-current-line-comment-p)
7845 (python-info-current-line-empty-p): New functions.
7846 (python-indent-context): Use `python-nav-statement-start'.
7847
01795a1b
MA
78482012-07-16 Michael Albinus <michael.albinus@gmx.de>
7849
9328d9aa
MA
7850 * eshell/em-ls.el (eshell/ls): Use `apply'.
7851
7852 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7853 multi-hops, instead of Tramp internals.
7854
01795a1b
MA
7855 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7856
7857 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7858 when F1 and F2 are located on different hosts.
7859
63408057
CY
78602012-07-14 Chong Yidong <cyd@gnu.org>
7861
7862 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7863 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7864 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7865 (xterm-mouse--read-event-sequence-1000)
7866 (xterm-mouse--read-event-sequence-1006): New functions. For old
7867 mouse protocol, handle M-mouse-X events correctly.
7868 (xterm-mouse-event): New arg specifying mouse protocol.
7869 (turn-on-xterm-mouse-tracking-on-terminal)
7870 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
7871 sequence to toggle extended coordinates on newer XTerms.
7872 This appears to be harmless on terminals which do not support this.
63408057 7873
cd276f6e
LL
78742012-07-14 Leo Liu <sdl.web@gmail.com>
7875
28ca98ac
LL
7876 Add fringe bitmap indicators for flymake. (Bug#11253)
7877 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7878 (flymake-make-overlay): New arg BITMAP.
7879 (flymake-error-bitmap, flymake-warning-bitmap)
7880 (flymake-fringe-indicator-position): New user variables.
7881
cd276f6e
LL
7882 * fringe.el: New bitmap exclamation-mark.
7883
04408072
JD
78842012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7885
7886 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7887 also (Bug#7879).
7888
b5cf7fc4
CY
78892012-07-14 Chong Yidong <cyd@gnu.org>
7890
7891 * electric.el (electric-pair-post-self-insert-function): Fix pair
7892 insertion in empty-region case (Bug#11520).
7893
be755c79
RT
78942012-07-14 Chong Yidong <cyd@gnu.org>
7895
45fd731c
SM
7896 * bindings.el: Consolidate ctl-x-r-map bindings.
7897 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
7898
7899 * rect.el, register.el: Move bindings to bindings.el.
7900
79012012-07-14 Reuben Thomas <rrt@sc3d.org>
7902
7903 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7904
7f5b3198
AS
79052012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7906
7907 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7908
97662200
JB
79092012-07-13 Juanma Barranquero <lekktu@gmail.com>
7910
80185fed
JB
7911 * bindings.el (top): Use `mapc' instead of `mapcar'.
7912
97662200
JB
7913 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7914
2bb1ae55
MA
79152012-07-13 Michael Albinus <michael.albinus@gmx.de>
7916
7917 * progmodes/sql.el (sql-comint): Suppress the check for program on
7918 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7919 (Bug#11908)
7920
dea31bd3
CY
79212012-07-13 Chong Yidong <cyd@gnu.org>
7922
7923 * bindings.el: Assign a non-nil permanent-local property to
7924 per-buffer variables which lack a default value (Bug#11930).
7925
7926 * help-fns.el (describe-variable): In the "automatically becomes
7927 local" notice, take note of permanent-local variables.
7928
b68b3337
CY
79292012-07-13 Chong Yidong <cyd@gnu.org>
7930
7931 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7932 to allow printing the message when called from Lisp.
7933
7934 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7935 Remove toggle-read-only.
7936
7937 * bs.el (bs-toggle-readonly):
45fd731c
SM
7938 * buff-menu.el (Buffer-menu-toggle-read-only):
7939 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
7940
7941 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7942 Remove with-no-warnings around toggle-read-only.
7943 (ffap-read-only, ffap-read-only-other-window)
7944 (ffap-read-only-other-frame): Callers changed.
7945
7946 * help-mode.el: Don't require view package.
7947 (help-mode-finish): Set buffer-read-only instead of calling
7948 toggle-read-only.
7949
7950 * bindings.el (mode-line-toggle-read-only):
7951 * dired.el (dired-toggle-read-only):
7952 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7953 with non-nil second arg.
7954
7955 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7956 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7957 directly.
7958
56bc1586
EZ
79592012-07-12 Eli Zaretskii <eliz@gnu.org>
7960
7961 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7962 not incf.
7963
a464a6c7
SM
79642012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7965
7966 More CL cleanups and reduction of use of cl.el.
7967 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7968 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7969 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7970 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7971 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7972 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7973 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7974 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7975 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7976 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7977 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7978 * eshell/em-cmpl.el, eshell/em-banner.el:
7979 * calendar/parse-time.el: Use cl-lib.
7980 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7981 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7982 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7983 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7984 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7985 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7986 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7987 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7988 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7989 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7990 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7991 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7992 `lambda' rather than with `quote'.
7993 (eshell-do-opt): Adjust accordingly.
7994 (eshell-process-option): Simplify.
7995 * eshell/esh-var.el:
7996 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7997 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7998 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7999 to `pcase--dontcare'.
8000 * emacs-lisp/cl.el (labels): Mark obsolete.
8001 (cl--letf, letf): Move to cl-lib.
8002 (cl--letf*, letf*): Remove.
8003 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8004 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8005 (cl-progv): Rewrite.
8006 (cl--letf, cl-letf): Move from cl.el.
8007 (cl-letf*): New macro.
8008 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8009
7ad4afe1
MA
80102012-07-11 Michael Albinus <michael.albinus@gmx.de>
8011
8012 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8013
9af57756
CY
80142012-07-11 Chong Yidong <cyd@gnu.org>
8015
8016 * vc/log-edit.el (log-edit-vc-backend): New variable.
8017 (log-edit): Doc fix.
8018
8019 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8020 argument of log-edit to set up all local variables.
8021 (vc-start-logentry): New optional arg specifying VC backend.
8022
8023 * vc/vc.el (vc-checkin): Use it.
8024 (vc-deduce-fileset): Handle Log Edit buffers.
8025 (vc-diff): Make first argument optional too.
8026
8027 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8028
8477cc7a
MA
80292012-07-10 Michael Albinus <michael.albinus@gmx.de>
8030
8031 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8032 command, just in case. The function is not needed anymore.
8033 (eshell-external-command): Do not call `eshell-remote-command'.
8034
19faa8e8
SM
80352012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8036
f58e0fd5
SM
8037 Reduce use of (require 'cl).
8038 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8039 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8040 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8041 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8042 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8043 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8044 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8045 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8046 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8047 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8048 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8049 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8050 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8051 (byte-compile-unfold-bcf, byte-compile-check-variable):
8052 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8053 (byte-compile-nilconstp):
8054 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8055 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8056
2519d43a
SM
8057 * emacs-lisp/gv.el (cond): Make it a valid place.
8058 (if): Simplify slightly.
8059
19faa8e8
SM
8060 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8061 (pcase--self-quoting-p): New function.
8062 (pcase--u1): Use it.
8063
c4907a5e
GM
80642012-07-10 Glenn Morris <rgm@gnu.org>
8065
8066 * emacs-lisp/authors.el (authors-fixed-entries):
8067 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8068
c4444d16
PE
80692012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8070
8071 Rename configure.in to configure.ac (Bug#11603).
8072 * emacs-lisp/authors.el (authors-canonical-file-name):
8073 * progmodes/autoconf.el (autoconf-mode):
8074 Prefer configure.ac to configure.in.
8075
d75be97d
CY
80762012-07-08 Chong Yidong <cyd@gnu.org>
8077
01ac65bd
CY
8078 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8079 Implement the mouse-1-click-follows-link handling properly.
8080
8081 * info.el (Info-link-keymap): Use follow-link mechanism for
8082 header-line links (Bug#374).
8083
d75be97d
CY
8084 * simple.el (deactivate-mark): Do not set the primary selection
8085 if another program has acquired it (Bug#11772).
8086
87a92845 80872012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
8088
8089 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8090 (woman-decode-region): Replace escaped-escapes without destroying
8091 bold or underline (Bug#11552).
87a92845 8092 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 8093
621b9d6c
CY
80942012-07-07 Chong Yidong <cyd@gnu.org>
8095
8096 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
8097 (interprogram-cut-function, interprogram-paste-function):
8098 Mention that we typically mean the clipboard.
621b9d6c 8099
133a11fc
GM
81002012-07-06 Glenn Morris <rgm@gnu.org>
8101
0d27a45e
GM
8102 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8103
133a11fc
GM
8104 * files.el (toggle-read-only): Restrict message to interactive use.
8105
07b151f1
MA
81062012-07-06 Michael Albinus <michael.albinus@gmx.de>
8107
8108 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8109
8110 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8111
211b896b
GM
81122012-07-06 Glenn Morris <rgm@gnu.org>
8113
50394322
GM
8114 * Makefile.in (compile-one-process): Rename from "recompile".
8115
211b896b
GM
8116 * Makefile.in (bzr-update): "compile" is the same as "recompile
8117 autoloads", but parallelizable, so use that instead.
8118
4737eec9
DG
81192012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8120
8121 * window.el (quit-window): Always restore window height when
8137e7b3 8122 it's saved in quit-restore parameter (Bug#11810).
4737eec9 8123
226c3633 81242012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
8125
8126 * simple.el (kill-whole-line): Doc tweak.
8127
226c3633 81282012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
8129
8130 * files.el (file-relative-name): Compare file names
8131 case-insensitively if on MS-Windows or MS-DOS, or if
8132 read-file-name-completion-ignore-case is non-nil. Don't use
8133 case-fold-search for this purpose. (Bug#11827)
8134
4dc7c8d5
SM
81352012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8136
8137 * calendar/cal-dst.el (calendar-current-time-zone):
8138 Return calendar-current-time-zone-cache if non-nil.
8139
81402012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 81412012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 8142
19faa8e8
SM
8143 * calendar/cal-dst.el (calendar-current-time-zone):
8144 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 8145
60198fc9
GM
81462012-07-06 Glenn Morris <rgm@gnu.org>
8147
8148 * Makefile.in (cvs-update): Remove old alias.
8149
957b3189
MA
81502012-07-05 Michael Albinus <michael.albinus@gmx.de>
8151
8152 Sync with Tramp 2.2.6-pre.
8153
8154 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8155 compatible declaration.
8156
19faa8e8
SM
8157 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8158 Protect `list-load-path-shadows' call.
957b3189
MA
8159
8160 * net/tramp-compat.el (top): Require packages, which aren't
8161 autoloaded anymore for XEmacs. Protect call of
8162 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8163 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8164 it hurts at least for SXEmacs.
8165 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8166 standard-value for `temporary-file-directory'.
8167
8168 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8169 Redirect stderr to /dev/null.
8170 (tramp-sh-handle-write-region): uid and gid can be floats.
8171 Reported by Russell Sim <russell.sim@gmail.com>.
8172 (tramp-sh-handle-vc-registered): Hide errors.
8173 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8174 and `start-file-process'.
8175 (tramp-maybe-open-connection): Check also whether `non-essential'
8176 is bound.
8177
566df3fc
CY
81782012-07-04 Chong Yidong <cyd@gnu.org>
8179
8180 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8181 (xml-parse-tag): Likewise, and avoid changing entity tables.
8182 (xml-syntax-table): Define from scratch, making sure not to give
8183 x2000 and other Unicode spaces whitespace syntax, since those are
8184 not spaces in XML.
8185 (xml-parse-fragment): Delete unused function.
8186 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8187 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8188 (xml-entity-ref, xml-pe-reference-re)
8189 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8190 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8191 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8192 (xml-entity-value-re): Use syntax references in regexps where
8193 possible; no need to define inside a let-binding.
8194 (xml-parse-dtd): Use xml-pe-reference-re.
8195 (xml-entity-or-char-ref-re): New defconst.
8196 (xml-parse-string, xml-substitute-special): Use it.
8197
30eabd7a
SM
81982012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8199
0781098a
SM
8200 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8201 (find-file--read-only): New function.
8202 (find-file-read-only, find-file-read-only-other-window)
8203 (find-file-read-only-other-frame): Use it.
8204 (insert-file-contents-literally): Don't `fset'.
8205 (get-free-disk-space): Use locate-dominating-file.
8206
b5771c0d
SM
8207 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8208 function is already compiled.
8209
30eabd7a
SM
8210 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8211
b4886f6e
MA
82122012-07-03 Michael Albinus <michael.albinus@gmx.de>
8213
8214 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8215 files on the same host.
8216
b9d82339
AS
82172012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8218
8219 * help-fns.el (describe-function-1): Only call
8220 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8221
a76e6535
CY
82222012-07-03 Chong Yidong <cyd@gnu.org>
8223
8224 * xml.el: Protect parser against XML bombs.
8225 (xml-entity-expansion-limit): New variable.
8226 (xml-parse-string, xml-substitute-special): Use it.
8227 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8228
b544fef2
GM
82292012-07-03 Glenn Morris <rgm@gnu.org>
8230
8231 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8232 Allow linking to specific messages in debbugs reports (eg 123#5).
8233
a7aef6f5
CY
82342012-07-02 Chong Yidong <cyd@gnu.org>
8235
8236 * xml.el: Fix entity and character reference expansion, allowing
8237 them to expand into markup as per XML spec.
8238 (xml-default-ns): New variable.
8239 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
8240 (xml-parse-region): Make first two arguments optional.
8241 Discard text properties.
8242 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8243 All callers changed.
a7aef6f5
CY
8244 (xml-parse-tag): Call xml-parse-tag-1. For backward
8245 compatibility, this function should not modify buffer contents.
8246 (xml-parse-tag-1): Fix opening-tag regexp.
8247 (xml-parse-string): Rewrite, handling entity and character
8248 references properly.
8249 (xml--entity-replacement-text): Signal an error if a parameter
8250 entity is undefined.
8251
3df31c9f
SM
82522012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8253
2b5208f1
SM
8254 * comint.el (comint-output-filter): Filter out repeated prompts.
8255
3df31c9f
SM
8256 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8257 and file-name-absolute-p.
8258 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8259 internal calls.
8260
e3ac1281
PE
82612012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8262
8263 Spelling fixes.
8264 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8265 Rename from byte-compile--refiy-function. All uses changed.
8266
fbf2e7ad
CY
82672012-07-01 Chong Yidong <cyd@gnu.org>
8268
8269 * xml.el (xml--parse-buffer): New function. Move most of
8270 xml-parse-region here.
8271 (xml-parse-region): Copy region into a temporary buffer, since
8272 parameter entity substitution requires changing buffer contents.
8273 Use xml--parse-buffer.
8274 (xml-parse-file): Use xml--parse-buffer.
8275 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 8276 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 8277
9bf0aa15
GM
82782012-06-30 Glenn Morris <rgm@gnu.org>
8279
bbce2853
GM
8280 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8281
9bf0aa15
GM
8282 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8283 Remove outdated and unnecessary dbus declarations.
8284
0d23c240
EZ
82852012-06-30 Eli Zaretskii <eliz@gnu.org>
8286
8287 * emacs-lisp/timer.el (timer-until): Subtract results of
8288 float-time, instead of taking float-time of the result of
8289 time-subtract, since float-time signals an error for negative time
8290 arguments.
8291
b3218de1
CY
82922012-06-30 Chong Yidong <cyd@gnu.org>
8293
8294 * xml.el (xml-*-re): Convert defvars into defconsts, and
8295 eval-and-compile them so eval-and-compile works on derivatives.
8296 (xml--entity-replacement-text): Use eval-and-comple.
8297
a40c87a0
MA
82982012-06-30 Michael Albinus <michael.albinus@gmx.de>
8299
8300 * vc/vc-git.el (vc-git-registered): Use cache property
8301 `git-registered'.
8302 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8303 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 8304 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 8305
ac87de97
DG
83062012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8307
8308 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 8309 removed (likely outside Emacs). (Bug#11757)
ac87de97 8310
ac10fe06
SM
83112012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8312
3df31c9f 8313 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 8314
7f3fbd5d
CY
83152012-06-30 Chong Yidong <cyd@gnu.org>
8316
8317 * xml.el: Implement XML parameter entities.
8318 (xml-parameter-entity-alist): New variable.
8319 (xml-parse-region, xml-parse-fragment): Preserve previous values
8320 of xml-entity-alist and xml-parameter-entity-alist, so that
8321 repeated calls on different documents do not change them.
8322 (xml-parse-tag): Fix doctype regexp.
8323 (xml--entity-replacement-text): New function.
8324 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8325 properly requires url retrieval which is unimplemented.
8326 (xml-escape-string): Doc fix.
8327
3cfbebba
SM
83282012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8331
2af3565e
DA
83322012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8333
8334 * fringe.el (fringe-mode): Doc fix.
8335
929df0e7
MA
83362012-06-29 Michael Albinus <michael.albinus@gmx.de>
8337
8338 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8339 is non-nil.
8340 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8341 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8342
c8d3a25c 83432012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 8344
c8d3a25c
GM
8345 * calendar/cal-dst.el (calendar-current-time-zone):
8346 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 8347
c8d3a25c 83482012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
8349
8350 * progmodes/which-func.el (which-func-format):
8351 Add mouse-face. (Bug#11698)
8352
c8d3a25c
GM
83532012-06-29 Leo Liu <sdl.web@gmail.com>
8354
8355 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8356
83572012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8358
8359 * minibuffer.el (minibuffer-confirm-exit-commands):
8360 Add completion-at-point (bug#11725).
8361
83622012-06-29 Glenn Morris <rgm@gnu.org>
8363
8364 * progmodes/f90.el (f90-font-lock-keywords-2):
8365 Add some preprocessor elements. (Bug#10499)
8366
83672012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8370 Use syntax-propertize (bug#11739).
8371
2badeec4
JB
83722012-06-28 Juanma Barranquero <lekktu@gmail.com>
8373
8374 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8375
ae4969c2
JD
83762012-06-28 Julien Danjou <julien@danjou.info>
8377
8378 * term.el (term-handle-colors-array): Use a set of new faces to
8379 color the terminal. Also uses :inverse-video property.
8380 (term-default-fg-color): Set to nil by default, deprecate in favor
8381 of `term-face'.
8382 (term-default-bg-color): Set to nil by default, deprecate in favor
8383 of `term-face'.
8384 (term-current-face): Use `term-face' by default.
8385 (term-bold-attribute): Variable deleted.
8386
1c9bd870
GM
83872012-06-28 Glenn Morris <rgm@gnu.org>
8388
8389 * simple.el (completion-list-mode-finish):
8390 Don't use toggle-read-only. (Since completion-list-mode has
8391 a special mode-class, it wasn't doing anything extra anyway.)
8392
c207708c
SM
83932012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8394
8395 Make inlining of other-mode interpreted functions work (bug#11799).
8396 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8397 (byte-compile): Use it to fix compilation of lexical-binding closures.
8398 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8399 function, if needed.
8400
3fd56834
SM
84012012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8402
04901786
SM
8403 * help-mode.el (help-make-xrefs): Don't just withstand
8404 cyclic-variable-indirection but any error in documentation-property.
8405
1ec4b7b2
SM
8406 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8407 memory use.
8408 * bindings.el (bindings--define-key): New function.
8409 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8410 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8411 * bindings.el: Use it to purecopy define-key bindings.
8412
e309e2a5
SM
8413 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8414
d5c6faf9
SM
8415 * emacs-lisp/cl.el (flet): Mark obsolete.
8416 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8417 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8418 * progmodes/js.el (js-c-fill-paragraph):
8419 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8420 (ebrowse-switch-member-buffer-to-derived-class):
8421 * play/5x5.el (5x5-solver): Use cl-flet.
8422
6e9590e2
SM
8423 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8424 (cl--symbol-function): New macro.
8425 (cl--letf, cl--letf*): Use it.
8426
3fd56834
SM
8427 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8428 Strip "toggle-" if any.
8429
35ff222c
GM
84302012-06-27 Glenn Morris <rgm@gnu.org>
8431
1ba6038a
GM
8432 * info.el (Info-default-directory-list): Move here from paths.el.
8433 * paths.el: Remove file, which is now empty.
8434 * loadup.el: No longer load "paths".
8435
0ea0e51b
GM
8436 * custom.el (custom-initialize-delay): Doc fix.
8437
35ff222c
GM
8438 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8439 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8440 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8441 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8442 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8443 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8444 * eshell/eshell.el (eshell-defgroup): Remove alias.
8445
c89926a5
CY
84462012-06-27 Chong Yidong <cyd@gnu.org>
8447
8448 * help.el (help-enable-auto-load): New variable.
8449
8450 * help-fns.el (help-fns--autoloaded-p): New function.
8451 (describe-function-1): Refer to a function as "autoloaded" if it
8452 was autoloaded at any time in the past. Perform autoloading if
8453 help-enable-auto-load is non-nil.
8454
cc06e7e7
EZ
84552012-06-26 Eli Zaretskii <eliz@gnu.org>
8456
8457 * makefile.w32-in (compile, compile-always): Depend on
8458 update-subdirs, not on subdirs.el. Otherwise, several different
8459 sub-targets of 'bootstrap' running in parallel could
8460 simultaneously write to subdirs.el, producing a garbled file.
8461
d2c32364
SS
84622012-06-26 Sam Steingold <sds@gnu.org>
8463
8464 * files.el (file-name-base): New convenience function.
0d14cc21
GM
8465 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8466 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8467 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8468 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8469 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
8470 * textmodes/tex-mode.el: Use it.
8471 Did not touch cedet and org because they are maintained elsewhere.
8472
5cf983b2
MR
84732012-06-26 Martin Rudalics <rudalics@gmx.at>
8474
8475 * calendar/calendar.el (calendar-exit): Don't try to delete or
8476 iconify last frame. See:
8477 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8478
8c4f2952
JD
84792012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8480
8481 * server.el (server-process-filter): Remember dir in the
8482 process's `server-client-directory' properties.
8483
772b2e2c
CY
84842012-06-24 Chong Yidong <cyd@gnu.org>
8485
8486 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8487 non-tag text.
8488
711b11e1
JB
84892012-06-23 Juanma Barranquero <lekktu@gmail.com>
8490
8491 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8492
dc5d230c
SM
84932012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 * help-fns.el (describe-variable): Don't croak when doc is not found.
8496 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8497 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8498 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8499 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8500 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8501 ((lambda ..) ..).
8502 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8503
136e1c1d
CY
85042012-06-23 Chong Yidong <cyd@gnu.org>
8505
e8c1cabf
CY
8506 * info.el (Info-mouse-follow-link): Accept symbol values of
8507 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
8508 (Info-fontify-node): Use Info-link-keymap for all navigation
8509 buttons, with link-args property to perform the desired action.
8510 (Info-link-keymap): Doc fix.
8511 (Info-next-link-keymap, Info-prev-link-keymap)
8512 (Info-up-link-keymap): Delete now-unused keymaps.
8513
0e9e6c6a
CY
85142012-06-23 Chong Yidong <cyd@gnu.org>
8515
05e89fea
CY
8516 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8517
0e9e6c6a
CY
8518 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8519 system abbrevs.
8520
8521 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8522
e33c6771
SM
85232012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8524
b68581e2
SM
8525 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8526 (bug#11719).
8527
e33c6771
SM
8528 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8529 the requote function doesn't work properly (bug#11714).
8530
7117e105
GM
85312012-06-23 Glenn Morris <rgm@gnu.org>
8532
8533 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8534
36cec983
SM
85352012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8536
8537 Further GV/CL cleanups.
8538 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8539 gv-expander.
8540 (gv--defun-declaration): New function.
8541 (defun-declarations-alist): Use it.
8542 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8543 (gv-place): Autoload.
8544 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8545 original definition of dotimes and dolist.
8546 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8547 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8548 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8549 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8550 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8551 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8552 to the function's definition.
8553 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8554 * window.el:
8555 * files.el:
8556 * faces.el:
8557 * env.el: Don't use CL.
8558
d35af63c
PE
85592012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8560
8561 Support higher-resolution time stamps (Bug#9000).
8562
8563 * calendar/time-date.el (with-decoded-time-value): New arg
8564 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8565 (encode-time-value): New optional arg PICO. New type 3.
8566 (time-to-seconds) [!float-time]: Support the new picoseconds
8567 component if it's used.
8568 (seconds-to-time, time-subtract, time-add):
8569 Support ps-resolution time stamps as well.
8570
8571 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8572 (timerp): Timer vectors now have length 9, not 8.
8573 (timer--time): Support new-style (4-part) time stamps.
8574 (timer-next-integral-multiple-of-time): Time stamps now have
8575 picosecond resolution, so take a bit more care about rounding.
8576 (timer-relative-time, timer-inc-time): New optional arg psecs.
8577 (timer-set-time-with-usecs): Set psecs to 0.
8578 (timer--activate): Check psecs component, too.
8579
8580 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8581
ac77b21a
SM
85822012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8583
f143bfe3
SM
8584 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8585 Move the non-essential binding to the post/pre-command-hook where it is
8586 more obviously correct.
8587
ac77b21a
SM
8588 * subr.el (read-passwd): Don't use a history at all.
8589 * savehist.el (savehist-save): Remove password saved accidentally
8590 because of the above bug.
8591
76386c5a
BG
85922012-06-22 Bastien Guerry <bzg@gnu.org>
8593
8594 * files.el (toggle-read-only): Display a message telling whether
8595 the buffer is read-only or not (bug#11726).
8596
2ee3d7f0
SM
85972012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8598
8599 * emacs-lisp/gv.el: New file.
8600 * subr.el (push, pop): Extend to generalized variables.
8601 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8602 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8603 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8604 gv-define-simple-setter, and gv-define-expander.
8605 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8606 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8607 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8608 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8609 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8610 gv-letplace.
8611 (cl-defstruct): Don't define setf-method any more.
8612 * emacs-lisp/cl.el (flet): Don't autoload.
8613 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8614 (define-setf-expander, defsetf, define-modify-macro)
8615 (cl-struct-setf-expander): Move from cl-lib.el.
8616 * emacs-lisp/syntax.el:
8617 * emacs-lisp/ewoc.el:
8618 * emacs-lisp/smie.el:
8619 * emacs-lisp/cconv.el:
8620 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8621 (timer--time): Use gv-define-simple-setter.
8622 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8623 to avoid coding-system problems in subr.el. Adjust all users.
8624 (macroexp--maxsize, macroexp-small-p): New functions.
8625 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8626 * scroll-bar.el (scroll-bar-mode):
8627 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8628 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8629 * winner.el (winner-configuration, winner-make-point-alist)
8630 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8631 * files.el (locate-file-completion-table): Avoid list*.
8632
c5695d1d
CY
86332012-06-22 Chong Yidong <cyd@gnu.org>
8634
8635 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8636 (dired-create-files): Doc fix (Bug#11329).
8637 (dired-do-copy): Doc fix (Bug#11334).
8638 (dired-mark-read-string): Doc fix (Bug#11553).
8639
2ee3d7f0
SM
8640 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8641 Doc fix (Bug#11326).
c5695d1d
CY
8642 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8643 (dired-dwim-target): Doc fix.
8644
8645 * wdired.el (wdired-mode): Doc fix.
8646
89b5595a
GM
86472012-06-22 Glenn Morris <rgm@gnu.org>
8648
575db3f1
GM
8649 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8650 (pcmpl-rpm-cache-stamp-file): New constant.
8651 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8652 (pcmpl-rpm-packages): Optionally cache list of packages.
8653
a4c8dd51
GM
8654 * pcmpl-rpm.el (pcmpl-rpm): New group.
8655 (pcmpl-rpm-query-options): New option.
8656 (pcmpl-rpm-packages): No need to inline it.
8657 Use pcmpl-rpm-query-options.
8658
89b5595a
GM
8659 * calendar/calendar.el (calendar-in-read-only-buffer):
8660 Avoid some needless mode changes.
8661
e76f0800
CY
86622012-06-21 Chong Yidong <cyd@gnu.org>
8663
8664 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8665 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 8666 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 8667
297a8f1d
CY
86682012-06-20 Chong Yidong <cyd@gnu.org>
8669
8670 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8671
d34c18b1
DR
86722012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8673
8674 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8675 (bug#11201).
8676
32f7f28e
CY
86772012-06-20 Chong Yidong <cyd@gnu.org>
8678
8679 * term.el (term-window-width): Handle the case of a missing right
8680 fringe (Bug#8837).
8681 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
8682 (term-mode): Use define-derived-mode. Minor cleanups.
8683 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
8684 (term-move-columns, term-insert-char, term-emulate-terminal)
8685 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 8686
493c6688
MA
86872012-06-20 Michael Albinus <michael.albinus@gmx.de>
8688
d34c18b1
DR
8689 * net/ange-ftp.el (ange-ftp-get-passwd):
8690 Bind `enable-recursive-minibuffers'.
493c6688
MA
8691 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8692
3f06ecf4
DR
86932012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8694
8695 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8696
68f12411
GM
86972012-06-19 Glenn Morris <rgm@gnu.org>
8698
8699 * progmodes/python.el (python-mode): Derive from prog-mode.
8700
b3820318
KG
87012012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8702
8703 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8704 (edt-user-menu-bar-update-buffers): New functions.
8705 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8706
c6bf3022
CY
87072012-06-19 Chong Yidong <cyd@gnu.org>
8708
8709 * subr.el (with-selected-window): Preserve the selected window's
8710 terminal's top-frame (Bug#4702).
8711
8712 * window.el (save-selected-window): Likewise.
8713
25f09295
SM
87142012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8715
8716 * progmodes/python.el (python-rx-constituents): Move backquote.
8717 (python-skeleton-define, python-define-auxiliary-skeleton):
8718 Use `declare'.
8719
6b11952a
MA
87202012-06-18 Michael Albinus <michael.albinus@gmx.de>
8721
8722 * minibuffer.el (read-file-name-default): Revert the patch from
8723 2012-06-17.
8724
ee4b1330
SM
87252012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8726
8727 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8728 (pcase--u1, pcase--q1): Don't use apply-partially.
8729
35647f79
GM
87302012-06-18 Glenn Morris <rgm@gnu.org>
8731
8732 * progmodes/python.el (python-proc, python-buffer)
8733 (python-send-receive, python-send-string): Fix obsolete versions.
8734
24b0cff0
MR
87352012-06-18 Martin Rudalics <rudalics@gmx.at>
8736
8737 * window.el (special-display-p): Completely remove stringp
8738 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8739
29855149
MA
87402012-06-17 Michael Albinus <michael.albinus@gmx.de>
8741
8742 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8743
8744 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8745
8746 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8747 * net/tramp-sh.el (tramp-maybe-open-connection):
8748 Throw if `non-essential' is non-nil.
8749
07463363
MR
87502012-06-17 Martin Rudalics <rudalics@gmx.at>
8751
8752 * window.el (special-display-p): Signal an error if BUFFER-NAME
8753 is not a string (Bug#11713).
8754
48d1354e
PE
87552012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8756
8757 * progmodes/python.el (python-info-beginning-of-backslash):
8758 Rename from python-info-beginning-of-backlash, as a spelling fix.
8759
eb4a8a9a
CY
87602012-06-17 Chong Yidong <cyd@gnu.org>
8761
8762 * term.el (term-emulate-terminal): If term-check-size is called,
8763 move point to the process mark without resetting point (Bug#4635).
8764
ddfbf826 87652012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
8766
8767 * international/mule-cmds.el (mule-menu-keymap)
8768 (set-language-environment, set-locale-environment): Doc tweaks.
8769
9b0e3eba
AA
87702012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8771
8772 * cus-face.el (custom-face-attributes): Add wave-style underline
8773 attribute.
8774 * faces.el (set-face-attribute): Update docstring to describe
8775 wave-style underline attribute.
8776
771e3eae
CY
87772012-06-16 Chong Yidong <cyd@gnu.org>
8778
8779 * term/xterm.el (terminal-init-xterm): Discard input before
8780 querying background mode (Bug#10959).
8781
7ae2ea10
SM
87822012-06-16 Stefan Merten <smerten@oekonux.de>
8783
8784 * textmodes/rst.el: Added and corrected some comments.
8785 (rst-re-alist-def): Improve symbol syntax.
8786 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
8787 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8788 (rst-official-version, rst-official-cvs-rev): Update version
8789 information.
7ae2ea10 8790
b6974efa
JB
87912012-06-15 Juanma Barranquero <lekktu@gmail.com>
8792
8793 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8794 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8795
8826d473
GM
87962012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8797
8798 * progmodes/python.el: New python.el merge.
8799 (python-guess-indent): Obsolete var.
8800 (python-indent-guess-indent-offset): New defcustom.
8801 (python-indent): Obsolete var.
8802 (python-indent-offset): New defcustom.
8803 (python-python-command, python-jython-command): Delete var.
8804 (python-shell-interpreter): New defcustom.
8805 (python-pdbtrack-do-tracking-p): Delete var.
8806 (python-pdbtrack-activate): New defcustom.
8807 (python-use-skeletons): Obsolete var.
8808 (python-skeleton-autoinsert): New defcustom.
8809 (inferior-python-filter-regexp, python-continuation-offset)
8810 (python-honour-comment-indentation, python-indent-string-contents)
8811 (python-jython-packages, python-mode-hook)
8812 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8813 (python-shell-prompt-alist)
8814 (python-source-modes): Delete defcustoms.
8815 (python-check-buffer-name, python-eldoc-setup-code)
8816 (python-eldoc-string-code, python-ffap-setup-code)
8817 (python-ffap-string-code, python-fill-comment-function)
8818 (python-fill-decorator-function, python-fill-paren-function)
8819 (python-fill-string-function, python-imenu-include-defun-type)
8820 (python-imenu-make-tree, python-imenu-subtree-root-label)
8821 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8822 (python-shell-compilation-regexp-alist)
8823 (python-shell-completion-module-string-code)
8824 (python-shell-completion-pdb-string-code)
8825 (python-shell-completion-setup-code)
8826 (python-shell-completion-string-code)
8827 (python-shell-enable-font-lock, python-shell-exec-path)
8828 (python-shell-extra-pythonpaths)
8829 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8830 (python-shell-process-environment)
8831 (python-shell-prompt-block-regexp)
8832 (python-shell-prompt-output-regexp)
8833 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8834 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8835 (python-shell-virtualenv-path): New defcustoms.
8836 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8837 (inferior-python-mode-syntax-table, python--prompt-regexp)
8838 (python-buffer, python-command python-python-command)
8839 (python-default-template, python-imports, python-indent-index)
8840 (python-indent-list, python-indent-list-length)
8841 (python-mode-running, python-pdbtrack-is-tracking-p)
8842 (python-preoutput-continuation, python-preoutput-leftover)
8843 (python-preoutput-result, python-preoutput-skip-next-prompt)
8844 (python-prev-dir/file, python-recursing)
8845 (python-saved-check-command, python-version-checked)
8846 (python-which-func-length-limit)
8847 (view-return-to-alist): Delete vars.
8848 (python-check-custom-command, python-dotty-syntax-table)
8849 (python-imenu-index-alist, python-indent-current-level)
8850 (python-indent-dedenters, python-indent-levels)
8851 (python-nav-beginning-of-defun-regexp)
8852 (python-nav-list-defun-positions-cache)
8853 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8854 (python-shell-internal-buffer)
8855 (python-skeleton-available): New vars.
8856 (def-python-skeleton): Delete macro.
8857 (python-skeleton-define): New macro.
8858 (python-define-auxiliary-skeleton, python-rx): New macros.
8859 (python-insert-class): Delete command.
8860 (python-skeleton-class): New command.
8861 (python-insert-def): Delete command.
8862 (python-skeleton-def): New command.
8863 (python-insert-for): Delete command.
8864 (python-skeleton-for): New command.
8865 (python-insert-if): Delete command.
8866 (python-skeleton-if): New command.
8867 (python-insert-try/except, python-insert-try/finally): Delete commands.
8868 (python-skeleton-try): New command.
8869 (python-insert-while): Delete command.
8870 (python-skeleton-while): New command.
8871 (python-backspace): Delete command.
8872 (python-indent-dedent-line-backspace): New command.
8873 (python-electric-colon): Delete command.
8874 (python-indent-electric-colon): New command.
8875 (python-guess-indent): Delete command.
8876 (python-indent-guess-indent-offset): New command.
8877 (python-shift-left): Delete command.
8878 (python-indent-shift-left): New command.
8879 (python-shift-right): Delete command.
8880 (python-indent-shift-right): New command.
8881 (python-find-function): Delete command.
8882 (python-nav-jump-to-defun): New command.
8883 (python-next-statement): Delete command.
8884 (python-nav-forward-sentence): New command.
8885 (python-previous-statement): Delete command.
8886 (python-nav-backward-sentence): New command.
8887 (python-fill-paragraph): Delete command.
8888 (python-fill-paragraph-function): New command.
8889 (python-send-buffer): Delete command.
8890 (python-shell-send-buffer): New command.
8891 (python-send-defun): Delete command.
8892 (python-shell-send-defun): New command.
8893 (python-send-region, python-send-region-and-go): Delete commands.
8894 (python-shell-send-region)
8895 (python-shell-switch-to-shell): New commands.
8896 (python-send-string): Delete command.
8897 (python-shell-send-string): New command.
8898 (python-switch-to-python): Delete command.
8899 (python-shell-switch-to-shell): New command.
8900 (python-describe-symbol): Delete command.
8901 (python-eldoc-at-point): New command.
8902 (python--set-prompt-regexp, python-args-to-list)
8903 (python-after-info-look, python-check-version)
8904 (python-check-comint-prompt, python-find-imports)
8905 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8906 (python-unload-function, python-expand-template)
8907 (python-maybe-jython, python-preoutput-filter)
8908 (python-pdbtrack-get-source-buffer)
8909 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8910 (python-pdbtrack-toggle-stack-tracking)
8911 (python-pdbtrack-track-stack-file, python-initial-text)
8912 (python-first-word, python-comment-line-p, python-send-command)
8913 (python-setup-brm, python-sentinel, python-set-proc)
8914 (python-skip-out, python-input-filter, python-outdent-p)
8915 (python-outline-level, python-backslash-continuation-line-p)
8916 (python-end-of-block, python-end-of-statement, python-mark-block)
8917 (python-beginning-of-block, python-beginning-of-statement)
8918 (python-blank-line-p, python-beginning-of-string)
8919 (python-open-block-statement-p): Delete functions.
8920 (python-indent-line, python-indent-line-1): Delete functions.
8921 (python-indent-line): New function.
8922 (python-indentation-levels): Delete function.
8923 (python-indent-calculate-levels): New function.
8924 (python-proc): Delete function.
8925 (python-shell-get-process): New function.
8926 (python-send-receive): Delete function.
8927 (python-shell-send-string-no-output): New function.
8928 (python-module-path): Delete function.
8929 (python-ffap-module-path): New function.
8930 (python-completion-at-point)
8931 (python-symbol-completions): Delete functions.
8932 (python-completion-complete-at-point): New function.
8933 (python-load-file): Delete function.
8934 (python-shell-send-file): New function.
8935 (python-calculate-indentation): Delete function.
8936 (python-indent-calculate-indentation): New function.
8937 (python-skip-comments/blanks): Delete function.
8938 (python-util-forward-comment): New function.
8939 (python-continuation-line-p): Delete function.
8940 (python-info-continuation-line-p): New function.
8941 (python-which-func, python-current-defun): Delete function.
8942 (python-info-current-defun): New function.
8943 (python-beginning-of-defun): Delete function.
8944 (python-nav-beginning-of-defun): New function.
8945 (python-close-block-statement-p)
8946 (python-block-end-p): Delete function.
8947 (python-info-closing-block): New function.
8948 (python-comint-output-filter-function)
8949 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8950 (python-fill-comment, python-fill-decorator, python-fill-paren)
8951 (python-fill-string, python-imenu-make-element-tree)
8952 (python-imenu-make-tree, python-imenu-tree-assoc)
8953 (python-indent-context, python-indent-dedent-line)
8954 (python-indent-line-function)
8955 (python-indent-post-self-insert-function)
8956 (python-indent-toggle-levels)
8957 (python-info-assignment-continuation-line-p)
8958 (python-info-beginning-of-backlash)
8959 (python-info-block-continuation-line-p)
8960 (python-info-closing-block-message)
8961 (python-info-line-ends-backslash-p)
8962 (python-info-looking-at-beginning-of-defun)
8963 (python-info-ppss-context, python-info-ppss-context-type)
8964 (python-nav-list-defun-positions, python-nav-read-defun)
8965 (python-nav-sentence-end, python-nav-sentence-start)
8966 (python-pdbtrack-comint-output-filter-function)
8967 (python-pdbtrack-set-tracked-buffer)
8968 (python-shell-calculate-exec-path)
8969 (python-shell-calculate-process-environment)
8970 (python-shell-completion--do-completion-at-point)
8971 (python-shell-completion--get-completions)
8972 (python-shell-completion-complete-at-point)
8973 (python-shell-completion-complete-or-indent)
8974 (python-shell-get-or-create-process)
8975 (python-shell-get-process-name)
8976 (python-shell-internal-get-or-create-process)
8977 (python-shell-internal-get-process-name)
8978 (python-shell-internal-send-string, python-shell-make-comint)
8979 (python-shell-parse-command, python-shell-send-setup-code)
8980 (python-skeleton-add-menu-items)
8981 (python-util-clone-local-variables, python-util-position)
8982 (run-python-internal, python-indentation-levels)
8983 (python-nav-beginning-of-defun)
8984 (python-completion-complete-at-point): New functions.
8985 (run-python): Change arguments. New API requirements.
8986
4302f5ba
SM
89872012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8988
f38ea36d
SM
8989 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8990 (bug#11649).
8991
8992 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8993 (macroexp--expand-all): Use it.
8994
4302f5ba
SM
8995 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8996 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8997 Use `cl-function' instead.
8998
33377562
JB
89992012-06-14 Juanma Barranquero <lekktu@gmail.com>
9000
9001 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9002 Suggested by Stefan Monnier while discussing bug#11657.
9003
54c5ba1a
SS
90042012-06-14 Sam Steingold <sds@gnu.org>
9005
9006 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9007
f9f1b1fe
AS
90082012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9009
9010 * play/doctor.el (doctor-doc): Remove parameter and use
9011 doctor-sent instead of sent.
9012 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9013
a81068ba
SM
90142012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9015
5a315f9c
SM
9016 * files.el: Require cl-lib.
9017 (file-name-non-special): Replace case -> cl-case.
9018
9019 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9020
a81068ba
SM
9021 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9022 mapping from #' to function*.
9023
8cca9703
CY
90242012-06-13 Chong Yidong <cyd@gnu.org>
9025
9026 * mouse.el (mouse-drag-track): Do not set the mark if the user
9027 releases the mouse without selecting anything (Bug#11588).
9028
a12ac9d7
SM
90292012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9030
ccf1dc18
SM
9031 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9032 as well (bug#11646).
9033
ef62b23d
SM
9034 * loadup.el: Count byte-code functions as well.
9035
c4c8444a
SM
9036 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9037 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9038
a12ac9d7
SM
9039 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9040 (bug#11649). Add cl-defun and cl-defmacro.
9041
87e6e64f
DA
90422012-06-13 Drew Adams <drew.adams@oracle.com>
9043
9044 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9045 Fix last change.
9046
682cefaf
MA
90472012-06-13 Michael Albinus <michael.albinus@gmx.de>
9048
9049 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9050 Otherwise, it blocks in batch mode.
9051
773e1f08
JB
90522012-06-13 Juanma Barranquero <lekktu@gmail.com>
9053
9054 * help-mode.el (bookmark-make-record-default): Declare.
9055
60057926
CY
90562012-06-13 Chong Yidong <cyd@gnu.org>
9057
9058 * emacs-lisp/package.el (list-packages): Compute a list of
9059 packages that are newly-available since the last list-packages
9060 invocation.
9061 (package-menu--new-package-list): New var.
9062 (package-menu--generate, package-menu--print-info)
9063 (package-menu--status-predicate, package-menu-mark-install):
9064 Handle new status label "new".
9065
ad4d226c
SM
90662012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9069 conversion to backquotes.
9070
f1a4e679
CY
90712012-06-12 Chong Yidong <cyd@gnu.org>
9072
9073 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9074 Rename from gud-inhibit-global-bindings.
9075
9076 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9077
9078 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9079 hook from nxml-glyph-set-hook.
9080
9081 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9082 declaration.
9083
9084 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9085
9086 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9087 Convert to defcustom.
9088
0c9e42b5
DA
90892012-06-12 Drew Adams <drew.adams@oracle.com>
9090
9091 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9092 New functions.
9093 (help-mode): Use them.
9094
09e06855
GM
90952012-06-11 Glenn Morris <rgm@gnu.org>
9096
9097 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9098 Use preprocessor face for directives.
9099 (fortran-directive-re): Doc fix.
9100
71adb94b
SM
91012012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9102
2eb87922
SM
9103 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9104 conversion to backquotes (bug#11652).
9105
71adb94b
SM
9106 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9107 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9108 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9109 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9110 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9111 (cl-ninth, cl-tenth): Mark them as inlinable.
9112 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9113 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9114 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9115 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9116 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9117 (cl-list*, cl-adjoin): Don't put an autoload manually.
9118 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9119 (cl--compiler-macro-list*): Add autoload cookie.
9120 (cl--compiler-macro-cXXr): New function.
2eb87922 9121
71adb94b
SM
9122 * help-fns.el (help-fns--compiler-macro): New function extracted from
9123 describe-function-1; follow aliases and use `compiler-macro' property.
9124 (describe-function-1): Use it.
9125
a6674402
CY
91262012-06-11 Chong Yidong <cyd@gnu.org>
9127
9128 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9129 is uninstalled, if imagemagick is installed.
9130
bb3faf5b
SM
91312012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9132
9133 * emacs-lisp/cl-lib.el: Use lexical-binding.
9134 (cl-map-extents, cl-maclisp-member): Remove.
9135 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9136 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9137 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9138 * emacs-lisp/cl-extra.el: Use lexical-binding.
9139 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9140 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9141 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9142 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9143 * emacs-lisp/cl-seq.el: Use lexical-binding.
9144 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9145 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9146 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9147 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9148 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9149 CL's internals.
9150
2fe4b125
MA
91512012-06-11 Michael Albinus <michael.albinus@gmx.de>
9152
9153 Sync with Tramp 2.2.6-pre.
9154
9155 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9156 `print-length' and `print-level' to nil, in order to avoid
9157 truncation. Reported by Christopher Schmidt
9158 <christopher@ristopher.com>.
9159
9160 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9161
9162 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9163 New defmacro.
9164 (tramp-compat-copy-directory): Add optional argument
9165 COPY-CONTENTS. It is not handled yet.
9166
9167 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9168 (tramp-ftp-file-name-p): Simplify.
9169
9170 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9171 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9172 connection vector.
9173
9174 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9175 (tramp-methods): Do not use `tramp-password-end-of-line'.
9176 (tramp-completion-function-alist-putty): Handle UNIX case.
9177 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9178 (tramp-do-file-attributes-with-stat)
9179 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9180 gid as real numbers. They could run out of integer range on cygwin.
9181 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9182 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
9183 (tramp-open-connection-setup-interactive-shell):
9184 Use `tramp-cleanup'. Move check for busyboxes ...
9185 (tramp-find-shell): ... here. Simplify implementation.
9186 Set "remote-shell" property also for alternative shells.
9187 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9188 If failing, a regular file would be written otherwise.
9189 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
9190 (tramp-find-inline-encoding): Cache the coding commands in the
9191 process cache. Apply test command on the remote side, if defined.
9192 (tramp-find-inline-compress): Cache the compress commands in the
9193 process cache.
9194 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9195 when requested. Handle hops.
9196 (tramp-current-connection): New defvar.
87e6e64f
DA
9197 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9198 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 9199 Handle user interrupt. (Bug#10187)
87e6e64f
DA
9200 (tramp-get-inline-compress, tramp-get-inline-coding):
9201 Read connection properties from the process cache.
2fe4b125
MA
9202
9203 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
9204 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9205 New defconsts.
2fe4b125
MA
9206 (tramp-smb-prompt): Extend for powershell prompt.
9207 (tramp-smb-file-name-handler-alist): Add handlers for
9208 `process-file', `shell-command' and `start-file-process'.
9209 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9210 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9211 (tramp-smb-file-name-p): Simplify.
9212 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9213 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9214 (tramp-smb-shell-quote-argument): New defuns.
9215 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9216 Implement using "tar". By this, time-stamps are preserved.
9217 (tramp-smb-handle-copy-file): Handle also the case of directories.
9218 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
9219 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9220 Use `tramp-get-connection-buffer').
2fe4b125
MA
9221 (tramp-smb-handle-rename-file): Use "rename", when source and
9222 target are on the same share.
87e6e64f
DA
9223 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9224 Use `tramp-smb-server-version'.
2fe4b125
MA
9225 (tramp-smb-wait-for-output): Remove prompt.
9226
9227 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
9228 (tramp-methods, tramp-rsh-end-of-line):
9229 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
9230 (tramp-save-ad-hoc-proxies): New defcustom.
9231 (tramp-completion-function-alist): Adapt docstring.
9232 (tramp-default-password-end-of-line): Remove defcustom.
9233 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9234 (tramp-user-regexp, tramp-file-name-regexp-unified)
9235 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9236 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9237 (tramp-remote-file-name-spec-regexp): New defconst.
9238 (tramp-file-name-structure): Extend structure for hops.
9239 (tramp-get-method-parameter): Move up.
9240 (tramp-file-name-p, tramp-dissect-file-name)
9241 (with-parsed-tramp-file-name): Handle hops.
9242 (tramp-file-name-hop): New defun.
9243 (tramp-make-tramp-file-name): New optional arg HOP.
9244 (tramp-message-show-progress-reporter-message): New defvar.
9245 (tramp-with-progress-reporter): Use it. We cannot use
9246 `tramp-message-show-message' here, because this suppresses also
9247 error buffers.
9248 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
9249 `tramp-message-show-message' is nil.
9250 Use `tramp-get-connection-buffer'.
2fe4b125
MA
9251 (tramp-cleanup): New defun.
9252 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9253 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9254 an error unchanged.
9255 (tramp-completion-handle-file-name-all-completions): Handle hops.
9256 Fix an error when called from ido.
9257 (tramp-completion-dissect-file-name): Use better local variable
9258 name. Add hop to the vector.
9259 (tramp-handle-insert-file-contents): Use progress-reporter for the
9260 whole scenario.
9261 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9262 to `t'.
9263 (tramp-check-for-regexp): Simplify search.
9264 (tramp-enter-password): Remove it. Move implementation ...
9265 (tramp-action-password): ... here.
9266 (tramp-mode-string-to-int, tramp-local-host-p)
9267 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
9268 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9269 Set tramp-autoload cookie.
2fe4b125
MA
9270
9271 * net/trampver.el: Update release number.
9272
92732012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9274 Michael Albinus <michael.albinus@gmx.de>
9275
9276 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9277 (tramp-parse-group, tramp-parse-file)
9278 (tramp-parse-shostkeys-sknownhosts): New defuns.
9279 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9280 (tramp-parse-shosts-group, tramp-parse-sconfig)
9281 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9282 (tramp-parse-sknownhosts, tramp-parse-hosts)
9283 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9284 Use them.
9285 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9286 (tramp-parse-putty-group): Don't narrow.
9287 (tramp-parse-putty): Make a loop.
9288 (tramp-file-name-handler): Catch the `suppress' signal.
9289
72834e10
CY
92902012-06-11 Chong Yidong <cyd@gnu.org>
9291
9292 * image.el (imagemagick-register-types): Put the ImageMagick entry
9293 at the end of image-type-file-name-regexps.
9294
a4712e11
JB
92952012-06-11 Johan Bockgård <bojohan@gnu.org>
9296
9297 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9298 (pcase, pcase-let*, pcase-dolist): Use them.
9299
82ad98e3
SM
93002012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9301
9302 * emacs-lisp/pcase.el (pcase--let*): New function.
9303 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9304 (pcase--expand): Use macroexp-let².
9305
f80efb86
SM
93062012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9309 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9310 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9311 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9312 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9313 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9314
31ca4639 93152012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 9316
31ca4639
CY
9317 * mail/rmail.el (rmail-yank-current-message): Leave point at
9318 correct position. (Bug#11660)
94f0aa34 9319
31ca4639 93202012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 9321
31ca4639 9322 * allout-widgets.el: Fix code header.
9e1b8ec4 9323
31ca4639 93242012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 9325
f80efb86
SM
9326 * cus-edit.el (customize-changed-options-previous-release):
9327 Bump to 24.1.
31ca4639 9328
642b6d30
AS
93292012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9330
9331 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9332
4f5d2ba1
CY
93332012-06-09 Chong Yidong <cyd@gnu.org>
9334
9335 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9336
e75852fd
MR
93372012-06-09 Martin Rudalics <rudalics@gmx.at>
9338
9339 * window.el (special-display-popup-frame): Don't use
9340 window--display-buffer (Bug#11651).
9341
1e48e282
EZ
93422012-06-09 Eli Zaretskii <eliz@gnu.org>
9343
8a26b487
EZ
9344 Fix parallel builds: make sure loaddefs.el is not being written
9345 while Lisp files are compiled.
9346 (compile): Don't depend on 'mh-autoloads'.
9347 (compile-CMD, compile-SH): Depend on 'autoloads'.
9348 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9349
1e48e282
EZ
9350 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9351
6175e34b
CY
93522012-06-09 Chong Yidong <cyd@gnu.org>
9353
9354 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9355 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9356 Doc fixes (Bug#11225).
9357
d9857e53
SM
93582012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9361 a function if there's a clear indication that it has a compiler-macro.
9362 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9363 (macro-declarations-alist): Add arglist to declaration functions.
9364 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9365 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9366 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9367 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9368 Also add autoload to find the compiler macro.
9369 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9370 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9371 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9372 (cl--compiler-macro-get): New functions, replacing calls to
9373 cl-define-compiler-macro.
9374 (cl-typep) [compiler-macro]: Use macroexp-let².
9375
f81298f8 93762012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
9377
9378 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9379 string properly, fixes Bug#11473.
9380
4b56d0fe
CY
93812012-06-08 Chong Yidong <cyd@gnu.org>
9382
9383 * faces.el (set-face-attribute): Doc fix.
9384 (modify-face): Don't use :bold and :italic.
9385 (error, warning, success): Tweak definitions.
9386
9387 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9388 (custom-modified, custom-set, custom-changed, custom-themed)
9389 (custom-saved, custom-button, custom-button-mouse)
9390 (custom-button-pressed, custom-state, custom-comment-tag)
9391 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9392 (custom-group-subtitle): Use new-style face specs.
9393 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9394 (custom-set-face, custom-changed-face, custom-saved-face)
9395 (custom-button-face, custom-button-pressed-face)
9396 (custom-documentation-face, custom-state-face)
9397 (custom-comment-face, custom-comment-tag-face)
9398 (custom-variable-tag-face, custom-variable-button-face)
9399 (custom-face-tag-face, custom-group-tag-face-1)
9400 (custom-group-tag-face): Remove obsolete face alias.
9401
9402 * epa.el (epa-validity-high, epa-validity-medium)
9403 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9404 (epa-field-name, epa-field-body):
9405 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9406 (font-lock-keyword-face, font-lock-builtin-face)
9407 (font-lock-function-name-face, font-lock-variable-name-face)
9408 (font-lock-type-face, font-lock-constant-face):
9409 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9410 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9411 * speedbar.el (speedbar-button-face, speedbar-file-face)
9412 (speedbar-directory-face, speedbar-tag-face)
9413 (speedbar-selected-face, speedbar-highlight-face)
9414 (speedbar-separator-face):
9415 * whitespace.el (whitespace-newline, whitespace-space)
9416 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9417 (whitespace-line, whitespace-space-before-tab)
9418 (whitespace-space-after-tab, whitespace-indentation)
9419 (whitespace-empty):
9420 * emulation/cua-base.el (cua-global-mark):
9421 * eshell/em-prompt.el (eshell-prompt):
9422 * net/newst-plainview.el (newsticker-new-item-face)
9423 (newsticker-old-item-face, newsticker-immortal-item-face)
9424 (newsticker-obsolete-item-face, newsticker-date-face)
9425 (newsticker-statistics-face, newsticker-default-face):
9426 * net/newst-reader.el (newsticker-feed-face)
9427 (newsticker-extra-face, newsticker-enclosure-face):
9428 * net/newst-treeview.el (newsticker-treeview-face)
9429 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9430 (newsticker-treeview-immortal-face)
9431 (newsticker-treeview-obsolete-face)
9432 (newsticker-treeview-selection-face):
9433 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9434 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9435 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9436 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9437 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9438 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9439 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9440 (mpuz-text):
9441 * progmodes/vera-mode.el (vera-font-lock-number)
9442 (vera-font-lock-function, vera-font-lock-interface):
9443 * textmodes/table.el (table-cell): Use new-style face specs, and
9444 don't use the old :bold and :italic attributes.
9445
9446 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9447 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9448 (ebrowse-member-class, ebrowse-progress): Likewise.
9449 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9450 (ebrowse-file-name-face, ebrowse-default-face)
9451 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9452 (ebrowse-progress-face): Remove obsolete faces.
9453
9454 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9455 Inherit from error and warning faces respectively.
9456
9457 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9458 Likewise.
f80efb86
SM
9459 (flyspell-incorrect-face, flyspell-duplicate-face):
9460 Remove obsolete aliases.
4b56d0fe 9461
03310646
MA
94622012-06-08 Michael Albinus <michael.albinus@gmx.de>
9463
9464 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9465 Avoid infloop.
9466
513749ee
SM
94672012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * startup.el (argv, argi): Make lexically scoped.
9470 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9471 * emacs-lisp/cl-macs.el: Use lexical-binding.
9472 Rename cl-bind-* to cl--bind-*.
9473 * files.el: Don't require `cl' since it doesn't use it.
9474 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9475
595ef4ad
JB
94762012-06-08 Juanma Barranquero <lekktu@gmail.com>
9477
9478 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9479 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9480 instead of calling external sort utility.
9481 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9482
e9f66fcb
EZ
94832012-06-08 Eli Zaretskii <eliz@gnu.org>
9484
9485 * descr-text.el (describe-char): Mention how to insert the
9486 character, if the current input method doesn't support it.
9487 See the discussion in this thread for the details:
9488 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9489
3d10db47
SS
94902012-06-08 Sam Steingold <sds@gnu.org>
9491
9492 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9493 XF86Back to previous-buffer.
9494 (minibuffer-local-map): Bind them to next-history-element and
9495 previous-history-element respectively.
9496 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9497 help-go-back respectively.
9498 * info.el (Info-mode-map): Bind them to Info-history-forward and
9499 Info-history-back respectively.
9500 These are the keys next to Up on the ThinkPad keyboard.
9501
de7e2b36
SM
95022012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9503
9504 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9505 * emacs-lisp/cl-macs.el: Provide itself.
9506 (cl--labels-convert-cache): New var.
9507 (cl--labels-convert): New function.
9508 (cl-flet, cl-labels): New implementation with new semantics, relying on
9509 lexical-binding.
9510 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9511 (cl-closure-vars, cl--function-convert-cache)
9512 (cl--function-convert): Move from cl-macs.el.
9513 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9514 rename by removing the "cl-" prefix.
9515 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9516
6fa6c4ae
SM
95172012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9520 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9521 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9522 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9523 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9524 (cl-hash-table-count): Add old compatibility aliases.
9525
9526 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9527 Use macroexpand-all-environment instead.
9528 (cl--old-macroexpand): New var.
9529 (cl--sm-macroexpand): New function.
9530 (cl-symbol-macrolet): Use it during macro expansion.
9531 (cl--function-convert-cache): New var.
9532 (cl--function-convert): New function, extracted from
9533 cl-macroexpand-all.
9534 (cl-lexical-let): Use it.
9535
9536 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9537 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9538 (cl-member): Remove old alias.
9539
9540 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9541 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9542 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9543 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9544 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9545 (cl-macroexpand-cmacs): Remove var.
9546 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9547 Use macroexpand-all instead.
9548
4dd1c416
SM
95492012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9552 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9553 (macroexp-copyable-p): New functions and macros.
9554 * emacs-lisp/edebug.el (edebug-unwrap):
9555 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9556 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9557 (pcase--let*): Remove.
9558 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9559 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9560 macroexp-const-p instead.
9561 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9562
9563 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9564 instead of "cl-" for internal definitions. Use macroexp-const-p.
9565 (cl-old-bc-file-form): Remove var.
9566 (cl-const-exprs-p): Remove fun.
9567 (cl-labels, cl-macrolet): Use backquote.
9568 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9569 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9570 (cl-define-setf-expander): Rename from cl-define-setf-method.
9571 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9572
9573 * international/mule-cmds.el: Don't require CL.
9574 (view-hello-file): Don't use `letf'.
9575
ed8bd4d7
SM
95762012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9577
7287f2f3
SM
9578 * tmm.el (tmm-prompt): Use string-prefix-p.
9579 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9580 (tmm-add-prompt): Use minibuffer-completion-help.
9581 (tmm-delete-map): Remove.
9582
ed8bd4d7
SM
9583 * subr.el (kbd): Make it its own function.
9584
7b4cdbf4
SM
95852012-06-07 Stefan Merten <smerten@oekonux.de>
9586
9587 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9588 Silence compiler warnings. Fix versions.
ed8bd4d7 9589 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 9590 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 9591 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
9592 (rst-package-emacs-version-alist): Correct Emacs version to
9593 represent major merge with upstream.
ed8bd4d7 9594 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 9595
2b48d721
GM
95962012-06-06 Glenn Morris <rgm@gnu.org>
9597
9598 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9599 Only print environment variables if set.
9600
fa779ab0
SM
96012012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9602
9603 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9604 (macroexp--cons): Rename from maybe-cons.
9605 (macroexp--accumulate): Rename from macroexp-accumulate.
9606 (macroexp--all-forms): Rename from macroexpand-all-forms.
9607 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9608 (macroexp--expand-all): Rename from macroexpand-all-1.
9609
628299e0
SS
96102012-06-06 Sam Steingold <sds@gnu.org>
9611
9612 * calendar/calendar.el (calendar-in-read-only-buffer):
9613 Call `special-mode' to enable the standard read-only keybindings.
9614
b7bb5838
SM
96152012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9616
9617 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9618 with "loading" messages (bug#11635).
9619
dfb308ba
MA
96202012-06-06 Michael Albinus <michael.albinus@gmx.de>
9621
9622 * files.el (enable-remote-dir-locals): New option.
9623 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9624
0372ee92
MA
9625 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9626 Ensure, that the temp directory is local.
9627
9628 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9629 `temporary-file-directory'.
9630
eed0bb91
MA
9631 * progmodes/python.el (python-send-region): Ensure, that the
9632 temporary file is created also in the remote case.
9633
7a58f64d
GM
96342012-06-06 Glenn Morris <rgm@gnu.org>
9635
f7dd4e98
GM
9636 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9637 (vc-rcs-update-changelog): Use it.
9638
090bd7cb 9639 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 9640
7a58f64d
GM
9641 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9642 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9643 (vc-sccs-diff): Replace use of the external vcdiff script.
9644
daed4003
GM
96452012-06-05 Glenn Morris <rgm@gnu.org>
9646
9647 * ledit.el: Move to obsolete/.
9648
48c455c7
SS
96492012-06-05 Sam Steingold <sds@gnu.org>
9650
ed9265fc 9651 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
9652 patch (Bug#11140).
9653
57a7d507
SM
96542012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9655
090bd7cb 9656 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 9657
53aacf21
SM
9658 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9659 compiler-macro expansion.
9660
57a7d507
SM
9661 Add native compiler-macro support.
9662 * emacs-lisp/macroexp.el (macroexpand-all-1):
9663 Support compiler-macros directly. Properly follow aliases and apply
9664 the compiler macros more thoroughly.
9665 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9666 macroexpand now properly follows aliases.
9667 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9668 (cl-compiler-macroexpand): Use new prop.
9669 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9670
9671 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9672
51a5f9d8
MR
96732012-06-05 Martin Rudalics <rudalics@gmx.at>
9674
9675 * window.el (get-lru-window, get-mru-window, get-largest-window):
9676 New argument NOT-SELECTED to avoid picking the selected window.
9677 (window--display-buffer-1, window--display-buffer-2): Replace by
9678 new function window--display-buffer
9679 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
9680 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9681 Use window--display-buffer.
51a5f9d8
MR
9682 (display-buffer-use-some-window): Remove temporary dedication
9683 hack by calling get-lru-window and get-largest-window with
9684 NOT-SELECTED argument non-nil. Call window--display-buffer.
9685
08f9f738
GM
96862012-06-05 Glenn Morris <rgm@gnu.org>
9687
9688 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9689 Replace external vcdiff script.
9690
e364a2b7
SM
96912012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9692
9693 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9694
041df390
CY
96952012-06-04 Chong Yidong <cyd@gnu.org>
9696
e364a2b7
SM
9697 * image.el (imagemagick-types-inhibit): Revert last change.
9698 Add INFO and M.
47b36b94 9699 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 9700
7c1898a7
SM
97012012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 * emacs-lisp/cl-lib.el: Rename from cl.el.
9704 * emacs-lisp/cl.el: New compatibility file.
9705 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9706 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9707 to obey the "cl-" prefix.
9708 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9709
0c3461de
GM
97102012-06-03 Glenn Morris <rgm@gnu.org>
9711
1e266c88
GM
9712 * emacs-lisp/authors.el (authors-aliases): Addition.
9713
0c3461de
GM
9714 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9715 Fix :version.
9716
d8a52e15
SM
97172012-06-03 Stefan Merten <smerten@oekonux.de>
9718
9719 * textmodes/rst.el: Add comments.
9720 (rst-transition, rst-adornment): New faces.
9721 (rst-adornment-faces-alist): Make default safe to reevaluate.
9722 Fixes
9723 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9724 Improve customization tags.
9725 (rst-define-level-faces): Clarify meaning.
9726
5205d6f6
CY
97272012-06-03 Chong Yidong <cyd@gnu.org>
9728
9729 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
9730 (compilation-mode-line-run, compilation-mode-line-exit):
9731 New faces.
5205d6f6
CY
9732 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9733
757ee657
JD
97342012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9735
7c1898a7
SM
9736 * progmodes/which-func.el (which-func-update-ediff-windows):
9737 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 9738
5f2c76c6
CY
97392012-06-03 Chong Yidong <cyd@gnu.org>
9740
9741 * bindings.el: Remove explicit help text from format-mode-line.
9742 It is now supplied by mode-line-default-help-echo.
9743 (mode-line-front-space, mode-line-end-spaces)
9744 (mode-line-misc-info): New variables.
9745 (mode-line-modes, mode-line-position): Move the default value to
9746 the variable definition.
9747 (mode-line-default-help-echo): New defcustom.
383f7350
CY
9748 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9749 (mode-line-modified-help-echo): New functions.
9750 (mode-line-mule-info, mode-line-modified): Use them.
9751 (mode-line-eol-desc, propertized-buffer-identification):
9752 Consistency fixes for help text.
cbe46e5f
CY
9753 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9754 set-buffer-file-coding-system (Bug#289).
9755 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 9756
f2d6a3df
SM
97572012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9758
9759 * simple.el (execute-extended-command): Set real-this-command
9760 (bug#11506).
9761
37269466
CY
97622012-06-02 Chong Yidong <cyd@gnu.org>
9763
9764 Remove incorrect uses of "modeline" in comments, docstrings, and
9765 function/variable names (Bug#10329).
9766
9767 * cus-edit.el (mode-line):
9768 * dframe.el (dframe-mouse-hscroll):
9769 * emacs-lisp/re-builder.el:
9770 * emacs-lisp/easy-mmode.el (define-minor-mode):
9771 * frame.el (set-frame-name):
9772 * help.el (lookup-minor-mode-from-indicator):
9773 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9774 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9775 (c-toggle-hungry-state):
9776 * progmodes/antlr-mode.el (antlr-language-alist):
9777 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9778 * progmodes/vhdl-mode.el (vhdl-mode):
9779 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9780 * term/ns-win.el (ns-face-at-pos):
9781 * term/sup-mouse.el (sup-mouse-report):
9782 * textmodes/flyspell.el (flyspell-mode-line-string):
9783 * textmodes/ispell.el (ispell-highlight-face):
9784 * textmodes/reftex-global.el:
9785 * vc/vc-arch.el (vc-arch-mode-line-string):
9786 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9787 * vc/vc-git.el (vc-git-mode-line-string):
9788 * vc/vc-hooks.el (vc-display-status)
9789 (vc-default-mode-line-string):
9790 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9791
9792 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9793
9794 * dired.el (dired-sort-set-mode-line): Rename from
9795 dired-sort-set-modeline. All callers changed.
9796
9797 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9798 eshell-status-in-modeline.
9799
9800 * foldout.el (foldout-mode-line-string): Rename from
9801 foldout-modeline-string. All callers changed.
9802 (foldout-update-mode-line): Rename from foldout-update-modeline.
9803
9804 * subr.el (redraw-modeline): Make into obsolete alias.
9805
9806 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9807 timeclock-modeline-display. Make old name an alias.
9808 (timeclock-update-mode-line): Likewise. All callers changed.
9809 (timeclock-mode-line-display): No need to check before using
9810 add-hook.
9811 (timeclock-relative, timeclock-day-over-hook)
9812 (timeclock-use-elapsed, timeclock-mode-string)
9813 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9814
9815 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9816 crisp-mode-modeline-string.
9817
9818 * play/solitaire.el (solitaire-build-mode-line): Rename from
9819 solitaire-build-modeline. All callers changed.
9820
9821 * play/zone.el (zone-hiding-mode-line): Rename from
9822 zone-hiding-modeline. All callers changed.
9823 (zone): Remove unusued `modeline-hidden-level' property.
9824
9825 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9826 xscheme-modeline-initialize. All callers changed.
9827
9828 * strokes.el (strokes-lighter): Rename from
9829 strokes-modeline-string.
9830
9831 * textmodes/sgml-mode.el (html-face-tag-alist)
9832 (html-tag-face-alist): Use mode-line face instead of obsolete
9833 alias modeline.
9834
42152ee4
SM
98352012-06-02 Stefan Merten <smerten@oekonux.de>
9836
9837 * textmodes/rst.el: Always require `cl'.
4cf9b38d 9838 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 9839
95f520b5
CY
98402012-06-02 Chong Yidong <cyd@gnu.org>
9841
9842 * image.el (imagemagick-enabled-types): Rename from
9843 imagemagick-types-enable. Add many more types.
9844 (imagemagick-types-inhibit): Change default to nil.
9845 (imagemagick-filter-types): Caller changed.
9846
4a5f187a
SM
98472012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9848
03fef3e6
SM
9849 * emacs-lisp/cl-macs.el: Use backquotes.
9850 (cl-transform-function-property): Use eval-and-compile rather than
9851 abusing `require'.
9852 (defstruct): Use declare-function instead of with-no-warnings.
9853
4a5f187a
SM
9854 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9855 (byte-compile-output-docform): Re-add the print-circle bindings.
9856 (byte-compile-fix-header): Use #$ just because it's shorter.
9857 (byte-compile-output-file-form): Remove defun/defmacro.
9858
bd56924f
MR
98592012-06-01 Martin Rudalics <rudalics@gmx.at>
9860
9861 * simple.el (choose-completion): Remove now obsolete binding for
9862 owindow.
9863
046e38ce
MA
98642012-06-01 Michael Albinus <michael.albinus@gmx.de>
9865
9866 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9867 in order to avoid "Stack overflow in regexp matcher".
9868
32d72c2f
GM
98692012-05-31 Glenn Morris <rgm@gnu.org>
9870
9871 * image.el: For clarity, call imagemagick-register-types at
9872 top-level, rather than relying on a custom :initialize.
9873 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
9874 (imagemagick-filter-types): New function. (Bug#7406)
9875 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
9876 If disabling support, remove elements altogether rather
9877 than using an impossible regexp.
9878 (imagemagick-types-inhibit): Give it the default init function.
9879
dd41169b
SM
98802012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9881
4a5f187a
SM
9882 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9883 Handle arbitrary file name lengths (Bug#11585).
dd41169b 9884
efc00ab1 98852012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
9886
9887 * desktop.el (desktop-read): Clear previous and next buffers for
9888 all windows and bury *Messages* buffer (bug#11556).
9889
500fcedc
SM
98902012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 Add `declare' for `defun'. Align `defmacro's with it.
9893 * emacs-lisp/easy-mmode.el (define-minor-mode)
9894 (define-globalized-minor-mode): Don't autoload the var definitions.
9895 * emacs-lisp/byte-run.el: Use lexical-binding.
9896 (defun-declarations-alist, macro-declarations-alist): New vars.
9897 (defmacro, defun): Use them.
9898 (make-obsolete, define-obsolete-function-alias)
9899 (make-obsolete-variable, define-obsolete-variable-alias):
9900 Use `declare'.
9901 (macro-declaration-function): Mark obsolete.
9902 * emacs-lisp/autoload.el: Use lexical-binding.
9903 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9904
6e8a1786
AM
99052012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9906
9907 * textmodes/ispell.el (ispell-with-no-warnings):
9908 Define as a macro.
500fcedc
SM
9909 (ispell-kill-ispell, ispell-change-dictionary):
9910 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
9911 `interactive-p'.
9912
61b108cc
SM
99132012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9914
9915 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9916 (macro-declaration-function): Move var from C code.
9917 (macro-declaration-function): Define function with defalias.
9918 * emacs-lisp/macroexp.el (macroexpand-all-1):
9919 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9920 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9921 defun/defmacro any more.
9922 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9923 Provide fallback for unknown arglist.
9924 (byte-compile-arglist-warn): Change calling convention.
9925 (byte-compile-output-file-form): Move print-vars binding.
9926 (byte-compile-output-docform): Simplify accordingly.
9927 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9928 (byte-compile-defmacro-declaration): Remove.
9929 (byte-compile-file-form-defmumble): Generalize to defalias.
9930 (byte-compile-output-as-comment): Return byte-positions.
9931 Simplify callers accordingly.
9932 (byte-compile-lambda): Use `assert'.
9933 (byte-compile-defun, byte-compile-defmacro): Remove.
9934 (byte-compile-file-form-defalias):
9935 Use byte-compile-file-form-defmumble.
9936 (byte-compile-defalias-warn): Remove.
9937
6d3f7c2f
SM
99382012-05-29 Stefan Merten <smerten@oekonux.de>
9939
9940 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 9941 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
9942
9943 (rst-mode-abbrev-table): Merge definition.
9944 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9945 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9946
6dbaa1c7
UJ
99472012-05-29 Ulf Jasper <ulf.jasper@web.de>
9948
9949 * calendar/icalendar.el
9950 (icalendar-export-region): Export UID properly.
9951
d209e2fb 99522012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
9953 * calendar/icalendar.el (icalendar-import-format):
9954 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
9955 (icalendar-import-format-uid): New.
9956 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9957 Export UID.
9958
6876a58d
SM
99592012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9960
9961 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9962 different alternative patterns.
9963 (pcase-codegen): Be more careful to preserve identity.
9964 (pcase--u1): Don't forget to mark vars as used.
9965
9966 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9967 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9968 (byte-compile-from-buffer): ...rather than here.
9969
9970 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9971 functions from byte-compile-function-environment.
9972
46b7967e
TN
99732012-05-29 Troels Nielsen <bn.troels@gmail.com>
9974
9975 * window.el (window-deletable-p): Avoid deleting the root window
9976 of a frame with an active minibuffer.
9977
69d565e2
MR
99782012-05-29 Martin Rudalics <rudalics@gmx.at>
9979
9980 * simple.el (choose-completion): Use quit-window (Bug#11567).
9981
a149fa51
CY
99822012-05-29 Chong Yidong <cyd@gnu.org>
9983
9984 * whitespace.el (whitespace-cleanup): Fix usage of
9985 whitespace-empty-at-bob-regexp (Bug#11492).
9986
2b311310
AH
99872012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9988
9989 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9990 revert (Bug#11488).
9991
b9cb2387
JL
99922012-05-29 Juri Linkov <juri@jurta.org>
9993
9994 * isearch.el (isearch-mode-map): Bind `M-s _' to
9995 `isearch-toggle-symbol'. Bind `M-s c' to
9996 `isearch-toggle-case-fold'.
9997 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9998 (isearch-forward): Add `M-s _' to the docstring.
9999 (isearch-forward-symbol, isearch-toggle-case-fold)
10000 (isearch-symbol-regexp): New functions. (Bug#11381)
10001
d5e61c1c
JL
100022012-05-29 Juri Linkov <juri@jurta.org>
10003
10004 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10005 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10006 a function, call it to get the regexp.
10007 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10008 property `isearch-message-prefix' instead of the string "word ".
10009 (isearch-search-fun-default): For the case of `isearch-word',
10010 return a lambda that calls re-search-forward/re-search-backward
10011 with a regexp returned by `word-search-regexp' or by the function
10012 in `isearch-word'.
10013
8cbd80f7
JL
100142012-05-29 Juri Linkov <juri@jurta.org>
10015
10016 * isearch.el (isearch-search-fun-default): New function.
10017 (isearch-search-fun): Move default part to the new function
10018 `isearch-search-fun-default'.
10019 (isearch-search-fun-function): Set the default value to
10020 `isearch-search-fun-default'. (Bug#11381)
10021
10022 * comint.el (comint-history-isearch-end):
10023 Use `isearch-search-fun-default'.
10024 (comint-history-isearch-search): Use `isearch-search-fun-default'
10025 and remove spacial case for `isearch-word'.
10026 (comint-history-isearch-wrap): Remove spacial case for
10027 `isearch-word'.
10028
10029 * hexl.el (hexl-isearch-search-function):
10030 Use `isearch-search-fun-default'.
10031
10032 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10033 Use `word-search-regexp' for `isearch-word'.
10034
10035 * misearch.el (multi-isearch-search-fun):
10036 Use `isearch-search-fun-default'.
10037
10038 * simple.el (minibuffer-history-isearch-search):
10039 Use `isearch-search-fun-default' and remove spacial case for
10040 `isearch-word'.
10041 (minibuffer-history-isearch-wrap): Remove spacial case for
10042 `isearch-word'.
10043
10044 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10045 Remove spacial case for `isearch-word'.
10046 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10047
85c8c5b6
AM
100482012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10049
10050 Decrease XEmacs incompatibilities.
10051 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10052 Use `string-match'.
10053 (flyspell-delete-region-overlays): Use alternative definition for
10054 XEmacs.
10055 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10056 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10057 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10058 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10059 `define-obsolete-face-alias' under XEmacs, but old method.
10060
10061 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10062 `with-no-warnings' definition or Emacs alias.
10063 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10064 (ispell-word): Do not use `region-p' if XEmacs.
10065
8cab9efc
AM
100662012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10067
10068 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10069 Check for `ispell-dictionary-base-alist' instead of full
10070 `ispell-dictionary-alist'.
10071 (ispell-init-process): Show spellchecker when starting new Ispell
10072 process.
10073
fda91268
RZ
100742012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10075
10076 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10077 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10078
694ea8e3
JB
100792012-05-27 Juanma Barranquero <lekktu@gmail.com>
10080
10081 * version.el (motif-version-string, gtk-version-string)
10082 (ns-version-string): Declare.
10083
e4d4f539
JL
100842012-05-27 Juri Linkov <juri@jurta.org>
10085
10086 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10087 after the `eval-defun-1' specialcaseing
10088 like in `edebug-eval-defun' (bug#10181).
10089
10090 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10091 like in `eval-defun-1'.
10092
33017faf 100932012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 10094
fda91268
RZ
10095 * mail/sendmail.el (mail-yank-region):
10096 Recognize rmail-yank-current-message in addition to insert-buffer.
10097 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
10098 a *mail* buffer created through rmail-start-mail with sendmail as
10099 mail-user-agent.
10100
33017faf
GM
101012012-05-27 Chong Yidong <cyd@gnu.org>
10102
10103 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10104 Default to 256 (Bug#11267).
10105
10106 * help.el (describe-mode): Doc fix.
10107
04188bb9
GM
101082012-05-26 Glenn Morris <rgm@gnu.org>
10109
38264cc9
GM
10110 * w32-fns.el (w32-init-info): Remove.
10111 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10112
eb7afdad
GM
10113 * info.el (info-initialize): For self-contained NS builds, put the
10114 included info/ directory at the front. (Bug#2791)
10115
04188bb9
GM
10116 * paths.el (Info-default-directory-list): Make it a defcustom,
10117 mainly so that we can use custom-initialize-delay.
10118
a179e3f7
SM
101192012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10120
43416392
SM
10121 * subr.el (buffer-has-markers-at): Mark obsolete.
10122
a179e3f7 10123 * subr.el (lambda): Use declare.
43416392 10124
a179e3f7
SM
10125 * emacs-lisp/lisp-mode.el (lambda):
10126 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10127
34a008d9
AH
101282012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10129
10130 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10131
0a3b289f
GM
101322012-05-26 Glenn Morris <rgm@gnu.org>
10133
10134 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10135
758c81e8
GM
101362012-05-25 Glenn Morris <rgm@gnu.org>
10137
f9f334f0
GM
10138 * paths.el: Remove no-byte-compile.
10139 * loadup.el: No need to load paths.el uncompiled.
10140
87eb79c2
GM
10141 * image.el (imagemagick-types-inhibit): Doc fix.
10142
758c81e8
GM
10143 * version.el: Remove no-byte-compile and associated formatting.
10144 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10145 is ancient code from when there was an "inc-vers.el".
10146
e7e85dc0
SM
101472012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * progmodes/gdb-mi.el: Minor style changes.
10150 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10151 Turn into minor modes.
10152 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10153 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10154 (gdb-shell): Remove unneeded let-binding.
10155 (gdb-get-many-fields): Eliminate O(n²) behavior.
10156
f31237a4
EZ
101572012-05-25 Eli Zaretskii <eliz@gnu.org>
10158
10159 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10160 platforms that don't link in fontset.c.
10161
bc1b21bb
JL
101622012-05-25 Juri Linkov <juri@jurta.org>
10163
10164 Use the same diff color scheme as in modern VCSes (bug#10181).
10165
10166 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10167 to avoid confusion with `diff-added' that now uses green colors.
10168 (diff-removed): Use shades of red.
10169 (diff-added): Use shades of green.
10170 (diff-changed): Leave just the yellow color.
10171 (diff-use-changed-face): New variable.
10172 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10173 how to highlight context diff changes.
10174 (diff-refine-change): Use shades of yellow.
10175 (diff-refine-removed): New face that uses shades of red.
10176 (diff-refine-added): New face that uses shades of green.
10177 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10178 `diff-refine-removed' in the call to `smerge-refine-subst'
10179 depending on the value of `diff-use-changed-face'.
10180
10181 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10182 (smerge-other): Use shades of green.
10183 (smerge-base): Use shades of yellow.
10184 (smerge-refined-change): Empty face.
10185 (smerge-refined-removed): New face that uses shades of red.
10186 (smerge-refined-added): New face that uses shades of green.
10187 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10188 args `props-r' and `props-a', and use them. Doc fix.
10189 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10190 on its value use different faces `smerge-refined-change',
10191 `smerge-refined-removed', `smerge-refined-added' in the call to
10192 `smerge-refine-subst'.
10193
10194 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10195 Add face condition `min-colors 88' with shades of red.
10196 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10197 `min-colors 88' with shades of green.
10198 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10199 `min-colors 88' with shades of yellow.
10200
6df9112c
GM
102012012-05-24 Glenn Morris <rgm@gnu.org>
10202
ead5edc0
GM
10203 * paths.el (prune-directory-list, remote-shell-program): Move to...
10204 * files.el (prune-directory-list, remote-shell-program): ...here.
10205 For the latter, delay initialization, prefer ssh, just search PATH.
10206
f18b81e6
GM
10207 * paths.el (term-file-prefix): Move to faces.el (the only user).
10208 * faces.el (term-file-prefix): Move here, make it a defcustom.
10209
ee2f89a6
GM
10210 * paths.el (news-directory, news-path, news-inews-program):
10211 Move to gnus/nnspool.el.
61a583ca 10212
f8815e4c
GM
10213 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10214
c8f3b42c
GM
10215 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10216 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10217 Make the latter a defcustom, with a delayed initialization.
10218
6df9112c
GM
10219 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10220 These were deleted from Gnus itself late 2010.
10221
5dadff36
JB
102222012-05-22 Juanma Barranquero <lekktu@gmail.com>
10223
9e1701c6
JB
10224 * progmodes/which-func.el (which-func-ff-hook):
10225 Check against user-error, not error.
10226
bd7239f5 10227 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
10228 cl-specs.el, which no longer exists.
10229
3290526d
GM
102302012-05-22 Glenn Morris <rgm@gnu.org>
10231
10232 * info.el (info-emacs-bug): New command.
10233 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10234 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10235
ff0c3cfb
GM
102362012-05-21 Glenn Morris <rgm@gnu.org>
10237
10238 * makefile.w32-in (update-subdirs-SH):
10239 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10240
5814f126
SM
102412012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10242
a52c0aa0
SM
10243 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10244
5814f126
SM
10245 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10246 Simplify Maven regexp, and make sure the file can't start with a space
10247 (bug#11517).
10248
b847032c
GM
102492012-05-21 Glenn Morris <rgm@gnu.org>
10250
10251 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10252 Scrap superfluous subshells.
10253
3858bfe7
SM
102542012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10257 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10258
d14b0029
JB
102592012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10260
10261 * calc/calc.el (calc-ensure-consistent-units): New variable.
10262
a52c0aa0
SM
10263 * calc/calc-units.el (math-consistent-units-p)
10264 (math-check-unit-consistency): New functions.
10265 (calc-quick-units, calc-convert-units):
10266 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10267 is non-nil.
d14b0029
JB
10268 (calc-extract-units): Fix typo.
10269
60c4db3a
SM
102702012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10271
77f3b62e
SM
10272 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10273
60c4db3a
SM
10274 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10275 (flyspell-default-deplacement-commands): Don't spell check after
10276 repeated window/frame switches (e.g. triggered by mouse-movement).
10277 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10278 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10279 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10280 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10281 Remove unused vars.
10282 (flyspell-get-casechars, flyspell-get-not-casechars):
10283 Simplify; Don't bother removing a ] just to add it back.
10284 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10285
d209e2fb 102862012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
10287
10288 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10289 New functions.
bd7239f5 10290 (math-function-table): Add support for more C functions.
b1a10716 10291
3f1b25b5
AM
102922012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10293
090bd7cb
JB
10294 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10295 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10296 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 10297
b581bb5c
SM
102982012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10299
10300 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10301 their respective macro declarations.
10302 * skeleton.el (define-skeleton):
10303 * progmodes/compile.el (define-compilation-mode):
10304 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10305 (define-ibuffer-filter):
10306 * emacs-lisp/generic.el (define-generic-mode):
10307 * emacs-lisp/easy-mmode.el (define-minor-mode)
10308 (define-globalized-minor-mode):
10309 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10310 * emacs-lisp/byte-run.el (defsubst):
10311 * custom.el (deftheme): Add doc-string metadata.
10312
70b8ef8f
SM
103132012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10314
10315 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10316
b1198e17
SM
103172012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10318
9abdc45d
SM
10319 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10320
b1198e17
SM
10321 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10322 * emacs-lisp/cl-macs.el: Idem.
10323 * emacs-lisp/cl-specs.el: Remove.
10324
4735906a
SM
103252012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10326
10327 Minor renaming of internal CL functions and variables.
10328 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10329 (cl--position): Rename from cl-position.
10330 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10331 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10332 (cl--random-state): Rename from *random-state*.
10333
ac348012
SM
103342012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10335
10336 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10337 parens around the arg list (bug#11499).
10338
a0a79cde
JL
103392012-05-17 Juri Linkov <juri@jurta.org>
10340
10341 * isearch.el (word-search-regexp, word-search-backward)
10342 (word-search-forward, word-search-backward-lax)
10343 (word-search-forward-lax): Move functions from search.c
10344 (bug#10145, bug#11381).
10345
65034a51
AM
103462012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10347
090bd7cb
JB
10348 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10349 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10350 Delay for otherchars as for normal word components.
65034a51 10351
1a72a195
SM
103522012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10353
10354 * minibuffer.el (completion--sifn-requote): Fix last change.
10355 (minibuffer-local-must-match-filename-map):
10356 Move define-obsolete-variable-alias before its var.
10357
fdb058c2
SM
103582012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10359
c41045e6
SM
10360 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10361
036dfb8b
SM
10362 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10363 behavior.
10364 (completion--string-equal-p): New function.
10365 (completion--twq-all): Use it to get better assertion failure data.
10366
2473256d
SM
10367 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10368 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10369 (shell--requote-argument): New functions.
10370 (shell-completion-vars): Use them.
10371 (shell--parse-pcomplete-arguments): Rename from
10372 shell-parse-pcomplete-arguments.
10373 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10374 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10375 Obey comint-file-name-quote-list.
10376
fdb058c2
SM
10377 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10378 (smie-indent-keyword): Use it.
10379
51fa99f1
SM
103802012-05-14 Stefan Merten <smerten@oekonux.de>
10381
10382 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10383
e18afed7 103842012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
10385
10386 * net/rlogin.el (rlogin-mode-map): Fix last change.
10387
e18afed7 103882012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
10389
10390 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10391 the following \r\n using a single `process-send-string', since the
10392 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 10393 with two `process-send-string's (Bug#11444).
8633b1f4 10394
e18afed7 103952012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 10396
fdb058c2
SM
10397 * shell.el (shell-parse-pcomplete-arguments):
10398 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 10399
2d21d7f6
WJ
104002012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10401
e18afed7 10402 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
10403 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10404 (image-transform-width, image-transform-fit-width): New functions.
10405 (image-transform-properties): Use them.
10406 (image-transform-check-size): New function.
10407 (image-toggle-display-image): Use it (for testing).
10408 (image-transform-set-rotation): Reduce angle mod 360.
10409 Delete obsolete comment.
10410
7102e6d0
WJ
104112012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10412
10413 * image-mode.el: Fix scaling (bug#11399).
10414 (image-transform-resize): Doc fix.
10415 (image-transform-properties): Default scale is 1 and height should
10416 be an integer.
10417
06bc5e6e
SM
104182012-05-13 Johan Bockgård <bojohan@gnu.org>
10419
10420 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10421 than hard-coding `car', to fix misbehavior when moving forward.
10422
0ae03b6a
CY
104232012-05-13 Chong Yidong <cyd@gnu.org>
10424
10425 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10426 (tabulated-list-entries, tabulated-list-padding)
10427 (tabulated-list-sort-key): Make permanent-local.
10428
10429 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10430 (electric-buffer-list): Put electric buffer menu
10431 command descriptions in this docstring, instead of the docstring
10432 of electric-buffer-menu-mode. Code cleanups.
10433 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10434 Electric-buffer-menu-mode.
10435 (electric-buffer-update-highlight): Minor code cleanup.
10436
205a7391
MA
104372012-05-13 Michael Albinus <michael.albinus@gmx.de>
10438
10439 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10440 (Bug#11447)
10441
e5bd0a28
SM
104422012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10443
10444 Move define-obsolete-variable-alias before the var's definition.
10445 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10446 * tooltip.el (tooltip-hook):
10447 * textmodes/reftex-toc.el (reftex-toc-map):
10448 * textmodes/reftex-sel.el (reftex-select-label-map)
10449 (reftex-select-bib-map):
10450 * textmodes/reftex-index.el (reftex-index-map)
10451 (reftex-index-phrases-map):
10452 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10453 * progmodes/meta-mode.el (meta-mode-map):
10454 * novice.el (disabled-command-hook):
10455 * loadhist.el (unload-hook-features-list):
10456 * frame.el (blink-cursor):
10457 * files.el (find-file-not-found-hooks, write-file-hooks)
10458 (write-contents-hooks):
10459 * emulation/tpu-edt.el (GOLD-map):
10460 * emacs-lock.el (emacs-lock-from-exiting):
10461 * emacs-lisp/generic.el (generic-font-lock-defaults):
10462 * emacs-lisp/chart.el (chart-map):
10463 * dos-fns.el (register-name-alist):
10464 * dired-x.el (dired-omit-files-p):
10465 * desktop.el (desktop-enable):
10466 * cus-edit.el (custom-mode-hook):
10467 * buff-menu.el (buffer-menu-mode-hook):
10468 * bookmark.el (bookmark-read-annotation-text-func)
10469 (bookmark-exit-hooks):
10470 * allout.el (allout-mode-deactivate-hook)
10471 (allout-exposure-change-hook, allout-structure-added-hook)
10472 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10473 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10474 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10475 comes before the corresponding variable's definition.
10476
ac59c2f6
CY
104772012-05-12 Chong Yidong <cyd@gnu.org>
10478
10479 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
10480 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10481 (Buffer-menu-mode-map): Bind it.
10482 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 10483
dee6c9a3
SM
104842012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10485
2171cea5
SM
10486 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10487 (prolog-upper-case-string, prolog-lower-case-string)
10488 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10489 (prolog-use-smie, prolog-smie-grammar): New vars.
10490 (prolog-smie-forward-token, prolog-smie-backward-token)
10491 (prolog-smie-rules): New funs.
10492 (prolog-comment-indent): Remove.
10493 (prolog-mode-variables): Use default comment indentation instead.
10494 Setup SMIE.
10495 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10496 (prolog-mode): Don't call them any more.
10497 (prolog-electric-colon, prolog-electric-dash)
10498 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10499
aa0382bd
SM
10500 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10501
dbacb4bd
SM
10502 * minibuffer.el (completion--twq-all): Again, allow case differences.
10503
13bdd94c
SM
10504 * term.el: Move keymap initialization code to be more idiomatic.
10505 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10506 (term-terminal-menu): Move initialization into declaration.
10507 (term-escape-char): Let the user set it in her .emacs.
10508
ff46c759
SM
10509 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10510 Provide SMIE-based indentation (not enabled by default yet).
10511 (sh-mode-map): Don't bind electric keys.
10512 Use electric-pair-mode instead of skeleton-pair.
10513 (sh-assignment-regexp): Fit within 80 columns.
10514 (sh-indent-supported): Specify actual shell name instead of boolean.
10515 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10516 (sh-maybe-here-document): Use it. Make obsolete.
10517 (sh-electric-here-document-mode) New minor mode.
10518 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10519 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10520 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10521 (sh-smie-rc-grammar, sh-use-smie): New vars.
10522 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10523 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10524 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10525 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10526 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10527 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10528 (sh-set-shell): Use smie-setup if requested.
10529
dee6c9a3
SM
10530 * term.el (term-set-escape-char): Properly set term-escape-char.
10531 See http://stackoverflow.com/questions/10524656.
10532
9f9aa044
CY
105332012-05-10 Chong Yidong <cyd@gnu.org>
10534
10535 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10536 Use url-generic-parse-url, and handle host names and Windows
10537 filenames properly.
10538 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10539 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10540 URL schemes to work on.
10541 (ffap--toggle-read-only): New function.
10542 (ffap-read-only, ffap-read-only-other-window)
10543 (ffap-read-only-other-frame): Use it.
10544 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10545 necessary for ffap-url-unwrap-remote.
10546
836d29b3
DA
105472012-05-10 Dave Abrahams <dave@boostpro.com>
10548
10549 * cus-start.el (create-lockfiles): Add it.
10550
00fd78ed
CY
105512012-05-09 Chong Yidong <cyd@gnu.org>
10552
10553 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10554 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10555
666b903b 105562012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
10557
10558 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10559
666b903b 105602012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
10561
10562 * ansi-color.el (ansi-color-process-output): Check for validity of
10563 comint-last-output-start before using it. This avoids a bad
10564 interaction with gdb-mi's input/output buffer.
10565
666b903b 105662012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
10567
10568 * files.el (dir-locals-read-from-file):
10569 Mention dir-locals in any error message.
10570
666b903b 105712012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
10572
10573 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10574 package (Bug#11410).
10575
f677562b
CY
10576 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10577 variables into description.
10578
666b903b 105792012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
10580
10581 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10582 shell-delimiter-argument-list (bug#11348).
10583 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10584
b499d8d0
JB
105852012-05-09 Juanma Barranquero <lekktu@gmail.com>
10586
8f6b6da8
JB
10587 * textmodes/rst.el: Silence byte-compiler warnings.
10588 (rst-re-alist, rst-reset-section-caches): Move around.
10589 (rst-re): Use `characterp', not `char-valid-p'.
10590 (font-lock-beg, font-lock-end): Declare.
10591
4824146a
JB
10592 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10593 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10594
b499d8d0
JB
10595 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10596
ad89bb83
GM
105972012-05-08 Glenn Morris <rgm@gnu.org>
10598
10599 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10600
8bba5a75
SM
106012012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10602
49ed9c8e
SM
10603 * vc/log-edit.el: Add GNU coding standards highlighting.
10604 (log-edit-font-lock-gnu-style)
10605 (log-edit-font-lock-gnu-keywords): New vars.
10606 (log-edit-font-lock-keywords): New fun.
10607 (log-edit-mode): Don't fold case in font-lock.
10608 (log-edit-font-lock-keywords): Do not assume case-folding.
10609
07d00b56
SM
10610 * imenu.el: Misc cleanup. Make docstrings out of comments.
10611 Use lexical-binding.
10612 (imenu--index-alist, imenu--last-menubar-index-alist)
10613 (imenu-menubar-modified-tick): Use defvar-local.
10614 (imenu--split-menu): Remove unused var.
10615 (imenu--cleanup-seen): Declare as global.
10616 (imenu--cleanup): Use dolist.
10617
8bba5a75
SM
10618 * subr.el (defvar-local): Add debug spec and doc-string position.
10619
5075bdb5
GM
106202012-05-08 Glenn Morris <rgm@gnu.org>
10621
090bd7cb 10622 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
10623 * language/english.el, language/georgian.el, language/greek.el:
10624 * language/japanese.el, language/khmer.el, language/korean.el:
10625 * language/lao.el, language/misc-lang.el, language/romanian.el:
10626 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10627 * language/thai.el, language/utf-8-lang.el:
10628 Remove no-byte-compile setting.
10629
5075bdb5
GM
10630 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10631
06f679a7
AH
106322012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10633
10634 * progmodes/make-mode.el (makefile-browse):
10635 Remove unnecessary interactive. (Bug#11324)
10636
03794570
GM
106372012-05-07 Glenn Morris <rgm@gnu.org>
10638
af8630f4
GM
10639 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10640
03794570
GM
10641 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10642
f0809a9d
SM
106432012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10644
28be5ce7
SM
10645 * loadup.el: Preload newcomment.el.
10646 * newcomment.el: Move autoload-only code to toplevel.
10647
f0809a9d
SM
10648 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10649 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10650 Handle new :right-align column property.
10651 (tabulated-list-print-col): Idem, plus use `display' text-property to
10652 try and preserve alignment for variable pitch fonts.
10653
1241b724
CY
106542012-05-07 Chong Yidong <cyd@gnu.org>
10655
10656 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10657 (tabulated-list-use-header-line): New var.
10658 (tabulated-list-init-header): Use it.
10659 (tabulated-list-print-fake-header): New function.
10660 (tabulated-list-print): Use it.
10661 (tabulated-list-sort-button-map): Add non-header-line commands.
10662 (tabulated-list-init-header): Add column name property to basic
10663 labels as well.
10664 (tabulated-list-col-sort): Handle non-header-line button case.
10665 (tabulated-list--sort-by-column-name): Fix a corner case.
10666
f0809a9d
SM
10667 * buff-menu.el (list-buffers--refresh):
10668 Handle Buffer-menu-use-header-line.
1241b724 10669
e5f9458f
CY
106702012-05-06 Chong Yidong <cyd@gnu.org>
10671
10672 * buff-menu.el: Convert to Tabulated List mode.
10673 (Buffer-menu-buffer+size-width): Make obsolete.
10674 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10675 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10676 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10677 documentation into docstring of buffer-menu.
10678 (Buffer-menu-toggle-files-only): Add an informative message.
10679 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10680 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10681 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10682 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10683 (Buffer-menu-execute, Buffer-menu-select)
10684 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10685 (Buffer-menu-bury): Use Tabulated List machinery.
10686 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10687 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 10688 Delete.
e5f9458f
CY
10689 (list-buffers--refresh): New function.
10690 (list-buffers-noselect): Use it.
10691 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10692 (Buffer-menu--pretty-file-name): New helper functions.
10693
10694 * loadup.el: Preload tabulated-list.
10695
10696 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10697 tabulated-list-sort-column.
10698 (tabulated-list-init-header): Add the initial aligning space even
10699 if tabulated-list-padding is zero.
10700
e129292c
CS
107012012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10702
10703 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10704 whose cdr is not a cons cell correctly (bug#11038).
10705
6632d361
CY
107062012-05-06 Chong Yidong <cyd@gnu.org>
10707
e129292c
CS
10708 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10709 Accept additional plist in column descriptors.
6632d361
CY
10710 (tabulated-list-init-header): Obey it.
10711 (tabulated-list-get-entry): New function.
10712 (tabulated-list-put-tag): Use it. Use string-width instead of
10713 length.
10714 (tabulated-list--column-number): New function.
10715 (tabulated-list-print): Use it.
e129292c
CS
10716 (tabulated-list-print-col): New function.
10717 Set `tabulated-list-column-name' property on each column's text.
6632d361 10718 (tabulated-list-print-entry): Use it.
e129292c
CS
10719 (tabulated-list-delete-entry, tabulated-list-set-col):
10720 New functions.
6632d361
CY
10721 (tabulated-list-sort-column): New command (Bug#11337).
10722
3cc99f68
CY
10723 * buff-menu.el (list-buffers): Move C-x C-b binding from
10724 buff-menu.el to bindings.el.
10725
10726 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10727 :advertised-binding feature.
10728
52b61776
TN
107292012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10730
10731 * progmodes/compile.el (compilation-internal-error-properties):
10732 Calculate start position correctly when end-col is set but
10733 end-line is not (Bug#11382).
10734
ebfe2597
WJ
107352012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10736
10737 * man.el (Man-unindent): Use text-property-default-nonsticky to
10738 prevent untabify from inheriting face properties (Bug#11408).
10739
6d3f7c2f
SM
107402012-05-05 Stefan Merten <smerten@oekonux.de>
10741
10742 * textmodes/rst.el: Major merge with upstream development up to
10743 Docutils SVN r7399 / rst.el V1.2.1.
10744
10745 Clarify maintainership and authors.
10746
10747 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10748 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10749 (rst-official-version, rst-official-cvs-rev, rst-version)
10750 (rst-package-emacs-version-alist): New functions and variables
10751 for version information.
10752
10753 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10754 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10755 (rst-mode-syntax-table, rst-mode): New and corrected functions
10756 and variables representing reStructuredText features.
10757
10758 (rst-re): New function for reStructuredText regexes. Use in
10759 many places.
10760
10761 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10762 (rst-mode-map): Rebind keys.
10763
10764 (rst-mode-lazy, rst-font-lock-keywords)
10765 (rst-font-lock-extend-region)
10766 (rst-font-lock-extend-region-internal)
10767 (rst-font-lock-extend-region-extend)
10768 (rst-font-lock-find-unindented-line-limit)
10769 (rst-font-lock-find-unindented-line-match)
10770 (rst-adornment-level, rst-font-lock-adornment-level)
10771 (rst-font-lock-adornment-match)
10772 (rst-font-lock-handle-adornment-pre-match-form)
10773 (rst-font-lock-handle-adornment-matcher): Major revision of
10774 font-locking. Integrate with other code. Use `jit-lock-mode'.
10775
10776 (rst-preferred-adornments, rst-adjust-hook)
10777 (rst-new-adornment-down, rst-preferred-bullets)
10778 (rst-preferred-bullets, rst-indent, rst-indent-width)
10779 (rst-indent-field, rst-indent-literal-normal)
10780 (rst-indent-literal-minimized, rst-indent-comment): Change,
10781 extend and improve customization.
10782
10783 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10784 (rst-normalize-cursor-position, rst-get-decoration)
10785 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10786 (rst-rstrip, rst-toc-insert-find-delete-contents)
10787 (rst-shift-fill-region, rst-compute-bullet-tabs)
10788 (rst-debug-print-tabs, rst-debug-mark-found)
10789 (rst-shift-region-guts, rst-shift-region-right)
10790 (rst-shift-region-left, rst-use-char-classes)
10791 (rst-font-lock-keywords-function)
10792 (rst-font-lock-indentation-point)
10793 (rst-font-lock-find-unindented-line-begin)
10794 (rst-font-lock-find-unindented-line-end)
10795 (rst-font-lock-find-unindented-line)
10796 (rst-font-lock-adornment-point, rst-font-lock-level)
10797 (rst-adornment-level-alist): Remove functions and variables.
10798
10799 (rst-compare-adornments, rst-get-adornment-match)
10800 (rst-suggest-new-adornment, rst-get-adornments-around)
10801 (rst-adornment-complete-p, rst-get-next-adornment)
10802 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10803 (rst-straighten-adornments): Standardize function names to
10804 use "adornment" instead of "decoration". Correct callers.
10805 Similar standardizing in many places.
10806
10807 (rst-update-section, rst-adjust, rst-promote-region)
10808 (rst-enumerate-region, rst-bullet-list-region)
10809 (rst-repeat-last-character): Correct use of `interactive'.
10810
10811 (rst-classify-adornment, rst-find-all-adornments)
10812 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10813 (rst-find-leftmost-column, rst-repeat-last-character):
10814 Refactor functions.
10815
10816 (rst-find-title-line, rst-reset-section-caches)
10817 (rst-get-adornments-around, rst-adjust-adornment-work)
10818 (rst-arabic-to-roman, rst-roman-to-arabic)
10819 (rst-insert-list-pos, rst-insert-list-new-item)
10820 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10821 New functions.
10822
10823 (rst-all-sections, rst-section-hierarchy)
10824 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10825 New variables.
10826
10827 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10828 configuration instead of only buffer. Change where necessary.
10829
10830 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10831 (rst-shift-region, rst-adaptive-fill): New functions for
10832 indentation and filling.
10833
10834 (rst-comment-line-break, rst-comment-indent)
10835 (rst-comment-insert-comment, rst-comment-region)
10836 (rst-uncomment-region): New functions for handling comments.
10837
10838 (rst-compile): Quote shell arguments.
10839
10840 (rst-compile-pdf-preview, rst-compile-slides-preview):
10841 Delete temporary files after use.
10842
a43f98b3
GM
108432012-05-05 Glenn Morris <rgm@gnu.org>
10844
48176e8b
GM
10845 * calendar/cal-html.el: Optionally include holidays in the output.
10846 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10847 (cal-html-holidays): New option.
10848 (cal-html-css-default): Add holiday entry.
10849 (holiday-in-range): Autoload it.
10850 (cal-html-htmlify-entry): Add optional class argument.
10851 (cal-html-htmlify-list): Add optional holidays argument.
10852 (cal-html-insert-agenda-days): Include holidays in the output.
10853 (cal-html-one-month): Maybe include holidays.
10854
a43f98b3
GM
10855 * calendar/holidays.el (holiday-in-range):
10856 Move here from cal-tex-list-holidays.
10857 * calendar/cal-tex.el (cal-tex-list-holidays):
10858 Make it an obsolete alias for holiday-in-range. Update all callers.
10859
fef9d149 108602012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
10861
10862 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10863 Nextstep.
10864
248da2f4
RW
108652012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10866
10867 * files.el (file-auto-mode-skip): New var.
10868 (set-auto-mode-1): Use it.
10869
f95e9344
SM
108702012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10871
df96ab1e
SM
10872 * repeat.el: Use lexical-binding.
10873 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10874 (repeat-undo-count): Remove.
10875 (repeat):
10876 * progmodes/octave-mod.el (octave-abbrev-start):
10877 * progmodes/f90.el (f90-abbrev-start):
10878 * face-remap.el (text-scale-adjust):
10879 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10880
5342bb06
SM
10881 * emacs-lisp/pcase.el (pcase--let*): New function.
10882 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10883 a bit more.
10884 (pcase--split-pred): Be more clever about ruling out overlap between
10885 a predicate and some constant pattern.
10886 (pcase--q1): Use `null' instead of (eq foo nil).
10887
f95e9344
SM
10888 * subr.el (setq-local, defvar-local): New macros.
10889 (kbd): Redefine as an alias.
10890 (with-selected-window): Leave unrelated frames alone.
10891 (set-temporary-overlay-map): New function.
10892
71873e2b
SM
108932012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10894
10895 * subr.el (user-error): New function.
10896 * window.el (switch-to-buffer):
10897 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10898 (smerge-match-conflict):
10899 * simple.el (previous-matching-history-element)
10900 (next-matching-history-element, goto-history-element, undo-more)
10901 (undo-start):
10902 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10903 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10904 (next-file, tags-loop-scan, list-tags, complete-tag):
10905 * progmodes/compile.el (compilation-loop):
10906 * mouse.el (mouse-minibuffer-check):
10907 * man.el (Man-bgproc-sentinel, Man-goto-page):
10908 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10909 (Info-history-forward, Info-follow-reference, Info-menu)
10910 (Info-extract-menu-item, Info-extract-menu-counting)
10911 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10912 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10913 (Info-next-reference, Info-prev-reference, Info-index)
10914 (Info-index-next, Info-follow-nearest-node)
10915 (Info-copy-current-node-name):
10916 * imenu.el (imenu--make-index-alist)
10917 (imenu-default-create-index-function, imenu-add-to-menubar):
10918 * files.el (basic-save-buffer, recover-file):
10919 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10920 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10921 (checkdoc-message-text, checkdoc-defun):
10922 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10923 * cus-edit.el (customize-changed-options, customize-rogue)
10924 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10925 (custom-variable-mark-to-reset-standard)
10926 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10927 (custom-file):
10928 * completion.el (check-completion-length):
10929 * comint.el (comint-search-arg)
10930 (comint-previous-matching-input-string-position)
10931 (comint-previous-matching-input)
10932 (comint-replace-by-expanded-history-before-point, comint-send-input)
10933 (comint-copy-old-input, comint-backward-matching-input)
10934 (comint-goto-process-mark, comint-set-process-mark):
10935 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10936 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10937
8a61ee22
SM
109382012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10939
66408d1e
SM
10940 * dabbrev.el (dabbrev--ignore-case-p): New function.
10941 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10942 Use it.
10943
8a61ee22
SM
10944 * files.el (automount-dir-prefix): Mark as obsolete.
10945
3c74813a
GM
109462012-05-04 Glenn Morris <rgm@gnu.org>
10947
10948 * patcomp.el, play/bruce.el: Move to obsolete/.
10949
0bfcf5c5
PE
109502012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10951
10952 Fix minor Y10k bugs.
10953 * arc-mode.el (archive-unixdate):
10954 * autoinsert.el (auto-insert-alist):
10955 * calc/calc-forms.el (math-this-year):
10956 * emacs-lisp/copyright.el (copyright-current-year)
10957 (copyright-update-year, copyright):
10958 * tar-mode.el (tar-clip-time-string):
10959 * time.el (display-time-update):
10960 Don't assume years have 4 digits.
10961
78f3273a
CY
109622012-05-04 Chong Yidong <cyd@gnu.org>
10963
10964 * dos-w32.el (file-name-buffer-file-type-alist)
10965 (direct-print-region-use-command-dot-com):
10966 * ffap.el (ffap-menu-regexp):
10967 * find-file.el (ff-special-constructs):
10968 * follow.el (follow-debug):
10969 * forms.el (forms--debug):
10970 * iswitchb.el (iswitchb-all-frames):
10971 * ido.el (ido-all-frames):
10972 * emacs-lisp/timer.el (timer-max-repeats):
10973 * mail/feedmail.el (feedmail-mail-send-hook)
10974 (feedmail-mail-send-hook-queued):
10975 * mail/footnote.el (footnote-signature-separator):
10976 * mail/mailabbrev.el (mail-alias-separator-string)
10977 (mail-abbrev-mode-regexp):
10978 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10979 * progmodes/idlwave.el (idlwave-libinfo-file)
10980 (idlwave-default-completion-case-is-down)
10981 (idlwave-library-routines): Convert defvars to defcustoms.
10982
10983 * mail/rmail.el (rmail-decode-mime-charset):
10984 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10985 (idlwave-shell-fix-inserted-breaks)
10986 (idlwave-shell-activate-alt-keybindings)
10987 (idlwave-shell-use-breakpoint-glyph):
10988 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10989
f7ae6719
SM
109902012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10993
47086495
WS
109942012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10995
10996 * progmodes/verilog-mode.el (font-lock-keywords):
10997 Fix mis-highligting auto. Reported by Craig Barner.
10998 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 10999 defines from global name space. Reported by Dan Dever.
47086495
WS
11000 (verilog-auto-reset, verilog-auto-reset-widths)
11001 (verilog-auto-tieoff): Support using unbased numbers for
11002 AUTORESET and AUTOTIEOFF.
11003 (verilog-submit-bug-report): Update variable list.
11004 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 11005 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
11006 (verilog-auto-template-lint): Fix hash error when linting modules
11007 with no used templates.
11008 (verilog-warn, verilog-warn-error)
11009 (verilog-warn-fatal): When non-interactive report multiple
11010 warnings before exiting. Suggested by Brad Dobbie.
11011 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11012 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11013 to report unused template errors. Reported by Brad Dobbie.
11014 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 11015 nets, bug438. Reported by Vns Blore.
47086495
WS
11016 (verilog-auto-inout-module, verilog-auto-reg)
11017 (verilog-read-decls, verilog-read-sub-decls-sig)
11018 (verilog-signals-edit-wire-reg, verilog-signals-with):
11019 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 11020 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
11021 "reg" for backwards compatibility presuming Verilog 2001.
11022 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11023 (verilog-preprocess): Fix replication of preprocess output.
11024 Reported by Brad Dobbie.
11025 (verilog-auto-inst-interfaced-ports):
11026 Create verilog-auto-inst-interfaced-ports, bug429.
11027 Reported by Julian Gorfajn.
11028 (verilog-after-save-font-hook)
11029 (verilog-before-save-font-hook): New variable.
11030 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11031 (verilog-save-font-mods): Wrap disabling fontification, reported
11032 by David Rogoff.
11033 (verilog-do-indent, verilog-pretty-declarations-auto)
11034 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11035 Reported by Pierre-David Pfister.
11036 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11037 of class declarations, bug292. Reported by Kevin Heilman.
11038 (verilog-read-decls): Fix 'parameter type' not appearing in
11039 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11040 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 11041 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
11042 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11043 Reported by David Kravitz.
11044
110452012-05-03 Michael McNamara <mac@mail.brushroad.com>
11046
11047 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11048 assignment with tests in ifs and for loops.
11049 (verilog-extended-complete-re, verilog-complete-reg): Change so
11050 that DPI inport functions don't look like fuction declarations.
11051 (verilog-pretty-expr): Don't line up assignment
11052 operations to the test and increment in if and for loops
11053 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 11054 that DPI inport functions don't look like fuction declarations.
47086495 11055
2e51d4b5
KH
110562012-05-03 Kenichi Handa <handa@m17n.org>
11057
11058 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 11059 decoding, and show a warning message without signaling an error
2e51d4b5
KH
11060 (Bug#11282).
11061
2bd785a2
SM
110622012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11063
11064 * emacs-lisp/bytecomp.el
11065 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11066 since cconv.el might have introduced :fun-body, internal-make-closure,
11067 and friends for bytecomp to handle (bug#11391).
11068 * custom.el (defcustom): Avoid ((λ ..) ..).
11069
99d27583
SM
110702012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11071
11072 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11073
55a71479
JB
110742012-05-02 Juanma Barranquero <lekktu@gmail.com>
11075
11076 * notifications.el (dbus-debug):
11077 * term/linux.el (gpm-mouse-enable):
11078 * term/screen.el (xterm-register-default-colors): Declare.
11079
7b97c764
CY
110802012-05-02 Chong Yidong <cyd@gnu.org>
11081
2bc356d7
CY
11082 * cus-start.el (gc-cons-percentage, exec-suffixes)
11083 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11084 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11085 (make-cursor-line-fully-visible, void-text-area-pointer)
11086 (font-list-limit): Add customization data.
11087
7b97c764
CY
11088 * allout.el (allout-exposure-change-functions)
11089 (allout-structure-added-functions)
11090 (allout-structure-deleted-functions)
11091 (allout-structure-shifted-functions): Rename abnormal hooks from
11092 *-hook, and convert to defcustoms.
5d3385a0
JB
11093 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11094 Convert to defcustoms.
7b97c764
CY
11095 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11096
11097 * allout-widgets.el: Hook callers changed.
11098
90207a15 110992012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
11100
11101 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11102 the yanked message in preference to the default value of
11103 buffer-file-coding-system.
11104
90207a15 111052012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 11106
5d3385a0
JB
11107 * window.el (display-buffer--action-function-custom-type):
11108 Fix entry.
d9558cad 11109
90207a15 111102012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
11111
11112 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11113
d80ac57b
GM
111142012-05-01 Glenn Morris <rgm@gnu.org>
11115
976f7668
GM
11116 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11117
beb83b5a
GM
11118 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11119
d80ac57b
GM
11120 * cus-edit.el (custom-variable-documentation): Simplify with format.
11121
b593d6a9 111222012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 11123 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
11124
11125 * simple.el (suggest-key-bindings, execute-extended-command):
11126 Move from keyboard.c.
11127
782fbf2a
CY
111282012-05-01 Chong Yidong <cyd@gnu.org>
11129
11130 * follow.el: Eliminate advice.
11131 (set-process-filter, process-filter, sit-for): Advice deleted.
11132 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
11133 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11134 Vars deleted.
782fbf2a
CY
11135 (follow-auto): Use a :set function.
11136 (follow-mode): Rewritten. Don't advise process filters.
11137 (follow-switch-to-current-buffer-all, follow-scroll-up)
11138 (follow-scroll-down): Assume follow-mode is bound.
11139 (follow-comint-scroll-to-bottom)
11140 (follow-align-compilation-windows): New functions.
11141 (follow--window-sorter): New function.
11142 (follow-all-followers): Use it to explicitly sort windows by their
11143 positions; don't make assumptions about next-window order.
11144 (follow-windows-start-end, follow-delete-other-windows-and-split)
11145 (follow-calc-win-start): Doc fix.
11146 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11147 vertical-motion unnecessarily.
11148 (follow-adjust-window): New function.
11149 (follow-post-command-hook): Use it.
11150 (follow-call-set-process-filter, follow-call-process-filter)
11151 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11152 (follow-stop-intercept-process-output, follow-generic-filter):
11153 Functions deleted.
11154 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
11155 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11156 New functions, replacing advice on scroll-bar-* commands.
87233a14 11157 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
11158
11159 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
11160 (comint-postoutput-scroll-to-bottom): Use it.
11161 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 11162
290af740
GM
111632012-05-01 Glenn Morris <rgm@gnu.org>
11164
11165 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11166 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11167 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11168 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11169 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11170 Remove no-byte-compile setting.
11171
6eac8dc9
SM
111722012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11173
11174 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11175 all-completions code to not return a number in the last cdr.
11176
9cc7819c
LL
111772012-04-30 Leo Liu <sdl.web@gmail.com>
11178
11179 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11180 read-only error.
11181
c93b886f
CY
111822012-04-29 Chong Yidong <cyd@gnu.org>
11183
11184 * follow.el (follow-calc-win-end): Rewrite to handle partial
11185 screen lines correctly (Bug#8390).
11186 (follow-avoid-tail-recenter): Minor cleanup.
11187
8b6c19f4
SM
111882012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11189
11190 Avoid the obsolete `assoc' package.
11191 * speedbar.el (speedbar-refresh): Avoid adelete.
11192 (speedbar-file-lists): Simplify and avoid aput.
11193 * man.el (Man--sections, Man--refpages): New vars, replacing
11194 Man-sections-alist and Man-refpages-alist.
11195 (Man-build-section-alist, Man-build-references-alist):
11196 Use them; avoid aput.
11197 (Man--last-section, Man--last-refpage): New vars.
11198 (Man-follow-manual-reference): Use them.
11199 Use the `default' arg of completing-read.
11200 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11201
c5bb7569
CY
112022012-04-27 Chong Yidong <cyd@gnu.org>
11203
d1d2e2e8
CY
11204 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11205
15cd8efd
CY
11206 * startup.el (x-apply-session-resources): New function.
11207
11208 * term/ns-win.el (ns-initialize-window-system):
11209 * term/w32-win.el (w32-initialize-window-system):
11210 * term/x-win.el (x-initialize-window-system): Use it to properly
11211 set menu-bar-mode and other vars from X resources, even if the
11212 initial frame is not a window-system frame (Bug#2299).
11213
c5bb7569
CY
11214 * subr.el (read-key): Avoid running filter function when setting
11215 up temporary tool bar entries (Bug#9922).
11216
a8e7d6d7 112172012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
11218
11219 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11220 (Bug#11344)
11221
a8e7d6d7 112222012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
11223
11224 * select.el (xselect--encode-string): New function, split from
11225 xselect-convert-to-string.
11226 (xselect-convert-to-string): Use it.
11227 (xselect-convert-to-filename, xselect-convert-to-os)
11228 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11229 returned strings are properly encoded (Bug#11315).
11230
a8e7d6d7 112312012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
11232
11233 * simple.el (delete-active-region): Move to killing custom group.
11234
a8e7d6d7 112352012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
11236
11237 * progmodes/which-func.el (which-func-current): Quote %
11238 characters for mode-line processing.
11239
578c1d4b 112402012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
11241
11242 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11243 reaching eob (Bug#11286).
11244
a8e7d6d7 112452012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
11246
11247 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11248 (gdb): Make it buffer-local and init to zero.
11249 (gdb-control-commands-regexp): New variable.
11250 (gdb-send): Don't wrap in "-interpreter-exec console" if
11251 gdb-control-level is positive. Increment gdb-control-level
11252 whenever the command matches gdb-control-commands-regexp, and
11253 decrement it each time the command is "end". (Bug#11279)
11254
a8e7d6d7 112552012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
11256
11257 * window.el (adjust-window-trailing-edge, enlarge-window)
11258 (shrink-window, window-resize):
11259 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11260 windows (Bug#11276).
11261
b3608390
CY
112622012-04-27 Chong Yidong <cyd@gnu.org>
11263
11264 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 11265 fix "missing prefix" warning. All callers changed.
b3608390 11266
797e6e88
SM
112672012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11268
11269 * emacs-lisp/assoc.el: Move to obsolete/.
11270
e95a67dc
SM
112712012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11272
657c21e4 11273 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
11274
11275 * term/ns-win.el (ns-define-service):
11276 * progmodes/pascal.el (pascal-goto-defun):
11277 * progmodes/js.el (js--read-tab):
11278 * progmodes/etags.el (tags-lazy-completion-table):
11279 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11280 * emacs-lisp/ewoc.el (ewoc--wrap):
11281 * emacs-lisp/assoc.el (aput, adelete, amake):
11282 * doc-view.el (doc-view-convert-current-doc):
11283 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11284
cb3e7ae0
CY
112852012-04-26 Chong Yidong <cyd@gnu.org>
11286
dce04f7f
CY
11287 * image.el (image-type-from-buffer): Only return supported image
11288 type (Bug#9045).
11289
cb3e7ae0
CY
11290 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11291 value, for symmetry with diff-end-of-hunk.
11292 (diff-split-hunk, diff-find-source-location)
11293 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11294 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11295 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11296 compute the relevant hunk or file properly (Bug#6005).
11297 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11298
0d42eb3e
SM
112992012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * vc/vc-mtn.el:
11302 * vc/vc-hg.el:
11303 * vc/vc-git.el:
11304 * vc/vc-dir.el:
11305 * vc/vc-cvs.el:
11306 * vc/vc-bzr.el:
11307 * vc/vc-arch.el:
11308 * vc/vc.el: Replace lexical-let by lexical-binding.
11309 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11310 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11311 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11312
f08ae1c9
CY
113132012-04-26 Chong Yidong <cyd@gnu.org>
11314
8b71081d
CY
11315 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11316 (diff-mode-shared-map): Bind it to / and [remap undo].
11317
f08ae1c9
CY
11318 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11319 (ediff-window-setup-function): Use it as the default, to set up
11320 windows based on whether the current frame is graphical (Bug#2138).
11321 (ediff-choose-window-setup-function-automatically): Make obsolete.
11322
11323 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11324
ef24141c
SM
113252012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11326
cc356a5d
SM
11327 * ffap.el: Remove old code for obsolete package.
11328 (ffap-complete-as-file-p): Remove.
11329
b4ff4f1f
SM
11330 Use completion-table-with-quoting for comint and pcomplete.
11331 * comint.el (comint--unquote&requote-argument)
11332 (comint--unquote-argument, comint--requote-argument): New functions.
11333 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11334 (comint-quote-filename): Use regexp-opt-charset.
11335 (comint--common-suffix, comint--common-quoted-suffix)
11336 (comint--table-subvert): Remove.
11337 (comint-unquote-function, comint-requote-function): New vars.
11338 (comint--complete-file-name-data): Use them with
11339 completion-table-with-quoting.
11340 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11341 * pcomplete.el (pcomplete-arg-quote-list)
11342 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11343 (pcomplete-unquote-argument-function): Default to non-nil.
11344 (pcomplete-unquote-argument): Simplify.
11345 (pcomplete--common-quoted-suffix): Remove.
11346 (pcomplete-requote-argument-function): New var.
11347 (pcomplete--common-suffix): New function.
11348 (pcomplete-completions-at-point): Use completion-table-with-quoting
11349 and completion-table-subvert.
11350
79c4eeb4
SM
11351 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11352 (minibuffer--double-dollars): Preserve properties.
11353 (completion--sifn-requote): New function.
11354 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11355
ef24141c
SM
11356 * minibuffer.el: Add support for completion of quoted/escaped data.
11357 (completion-table-with-quoting, completion-table-subvert): New funs.
11358 (completion--twq-try, completion--twq-all): New functions.
11359 (completion--nth-completion): New function.
11360 (completion-try-completion, completion-all-completions): Use it.
11361
784e7d6e
LL
113622012-04-25 Leo Liu <sdl.web@gmail.com>
11363
dd2ac746
SM
11364 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11365 Use compilation-message if available to find real filename.
784e7d6e 11366
07875ee7
CY
113672012-04-25 Chong Yidong <cyd@gnu.org>
11368
11369 * vc/diff-mode.el (diff-setup-whitespace): New function.
11370 (diff-mode): Use it.
11371
11372 * vc/diff.el (diff-sentinel):
11373 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11374 Whitespace mode variables based on diff style (Bug#8612).
11375
5055880d
LL
113762012-04-25 Leo Liu <sdl.web@gmail.com>
11377
daf75653
LL
11378 * progmodes/python.el (python-send-region): Add suffix .py to the
11379 temp file.
11380
5055880d
LL
11381 * files.el (auto-mode-alist): Use javascript-mode instead.
11382
db9b177b
AH
113832012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11384
ef24141c 11385 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 11386
090bd7cb 11387 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 11388 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 11389 references, see Bug#9.
ef24141c 11390 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 11391 when receiving a fault reply.
ef24141c 11392 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 11393
090bd7cb 11394 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 11395 (soap-inspect-simple-type): New function.
db9b177b 11396
090bd7cb 11397 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 11398 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
11399 (soap-decode-basic-type, soap-encode-basic-type):
11400 support unsignedInt and double basic types.
db9b177b 11401 (soap-resolve-references-for-simple-type)
ef24141c
SM
11402 (soap-parse-simple-type, soap-encode-simple-type): New function.
11403 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 11404
090bd7cb 11405 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
11406 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11407 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11408 the local name of "soapenc:Array".
11409 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
11410 decoding integer, byte and anyURI xsd types.
11411
1fc6097b
CY
114122012-04-25 Chong Yidong <cyd@gnu.org>
11413
11414 * cus-edit.el (custom-buffer-create-internal): Update header text.
11415
afc6df87
EZ
114162012-04-25 Eli Zaretskii <eliz@gnu.org>
11417
11418 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11419 settings on 'system-type', not on 'window-system'. On MS-Windows,
11420 set interactive-mode on in GDB.
11421
dfbd787f
SM
114222012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11423
11424 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11425 (ruby-syntax-propertize-regexp): Remove.
11426 (ruby-syntax-propertize-function): Split regexp into chunks.
11427 Match following code directly.
11428
85222d44
DG
114292012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11430
51a8ea2a
DG
11431 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11432 (ruby-syntax-propertize-regexp): New function.
11433 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11434 by a special keyword.
11435
85222d44
DG
11436 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11437 (ruby-syntax-general-delimiters-goto-beg)
11438 (ruby-syntax-propertize-general-delimiters): New functions.
11439 (ruby-syntax-propertize-function): Use them to handle GDL.
11440 (ruby-font-lock-keywords): Move old handling of GDL...
11441 (ruby-font-lock-syntactic-keywords): .. to here.
11442 (ruby-calculate-indent): Adjust indentation for GDL.
11443
b613912b
MA
114442012-04-24 Michael Albinus <michael.albinus@gmx.de>
11445
b5380639
MA
11446 * notifications.el (top): Remove unneeded declarations.
11447 (notifications-specification-version): Change to "1.2".
e43042fe 11448 (notifications-interface, notifications-notify-method)
b613912b
MA
11449 (notifications-close-notification-method): Fix docstring.
11450 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
11451 (notifications-notify): Add :action-items, :resident and
11452 :transient hints. Change "image_data" to "image-data" and
11453 "image_path" to "image-path".
b613912b
MA
11454 (notifications-get-capabilities): New defun.
11455
257440aa
LL
114562012-04-24 Leo Liu <sdl.web@gmail.com>
11457
11458 * progmodes/python.el: Move hideshow setup to the end.
11459
b1bac16e
MR
114602012-04-24 Martin Rudalics <rudalics@gmx.at>
11461
11462 * window.el (handle-select-window): Clear echo area since this is
11463 no more done by read_char (Bug#11304).
11464
d81bd059
SM
114652012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11468 and `/ M' to filter-derived-mode.
11469 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11470 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11471 (ibuffer-mark-by-mode): Use default rather than initial-input.
11472 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11473
c4cf6d91
IA
114742012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11475
11476 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11477 (ibuffer-filter-by-derived-mode): New filter.
11478 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11479
7511ded8
CY
114802012-04-23 Andreas Politz <politza@fh-trier.de>
11481
11482 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11483
775c916b
CY
114842012-04-23 Chong Yidong <cyd@gnu.org>
11485
11486 * cus-edit.el (customize-apropos, customize-apropos-options):
11487 Disable matching of non-option variables (Bug#11176).
11488 (customize-option, customize-option-other-window)
11489 (customize-changed-options): Doc fix.
11490 (customize-apropos-options, customize-apropos-faces)
11491 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11492
11493 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 11494 Fix word list splitting (Bug#11132).
46c71e23
CY
11495 (apropos-symbol, apropos-keybinding, apropos-label)
11496 (apropos-property, apropos-function-button)
11497 (apropos-variable-button, apropos-misc-button): New faces.
11498 (apropos-symbol-face, apropos-keybinding-face)
11499 (apropos-label-face, apropos-property-face, apropos-match-face):
11500 Variables removed (Bug#8396).
11501 (apropos-library-button, apropos-format-plist, apropos-print)
11502 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 11503
2df41f9c
MA
115042012-04-23 Michael Albinus <michael.albinus@gmx.de>
11505
11506 * net/xesam.el (xesam-mode-map): Use let-bound map in
11507 initialization. (Bug#11292)
11508
da00640a
AM
115092012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11510
11511 Preserve ispell session localwords when switching back to
11512 original buffer.
11513
090bd7cb
JB
11514 * textmodes/ispell.el (ispell-buffer-session-localwords):
11515 New buffer-local variable to hold buffer session localwords.
ed9265fc 11516 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
11517 localwords.
11518 (ispell-command-loop, ispell-change-dictionary)
11519 (ispell-buffer-local-words): Preserve session localwords when
11520 needed.
11521
090bd7cb
JB
11522 * textmodes/flyspell.el (flyspell-process-localwords)
11523 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 11524
f621ccf5
AM
115252012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11526
090bd7cb
JB
11527 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11528 using obsolete `translation-table-for-input'.
ef24141c
SM
11529 (ispell-word, ispell-process-line, ispell-complete-word):
11530 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 11531
c2d1019e
CY
115322012-04-22 Chong Yidong <cyd@gnu.org>
11533
11534 * cus-edit.el (custom-variable-menu)
11535 (custom-variable-reset-saved, custom-face-menu)
11536 (custom-face-reset-saved): If there is no saved value, make the
11537 "reset-saved" operation bring back the default (Bug#9509).
11538 (custom-face-state): Properly detect themed faces.
11539
eeddc531
CY
11540 * faces.el (face-spec-set): Stop supporting deprecated form of
11541 third arg.
11542
dcbf5805
MA
115432012-04-22 Michael Albinus <michael.albinus@gmx.de>
11544
11545 Move functions from C to Lisp. Make non-blocking method calls
11546 the default. Implement further D-Bus standard interfaces.
11547
ef24141c
SM
11548 * net/dbus.el (dbus-message-internal): Declare function.
11549 Remove unneeded function declarations.
dcbf5805
MA
11550 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11551 (dbus-message-type-method-return, dbus-message-type-error)
11552 (dbus-message-type-signal): Declare variables. Remove local
11553 definitions.
11554 (dbus-interface-dbus, dbus-interface-peer)
11555 (dbus-interface-introspectable, dbus-interface-properties)
11556 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11557 Adapt docstring.
11558 (dbus-interface-objectmanager): New defconst.
11559 (dbus-call-method, dbus-call-method-asynchronously)
11560 (dbus-send-signal, dbus-method-return-internal)
11561 (dbus-method-error-internal, dbus-register-service)
11562 (dbus-register-signal, dbus-register-method): New defuns, moved
11563 from dbusbind.c
11564 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
11565 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11566 New defuns.
dcbf5805
MA
11567 (dbus-call-method-non-blocking): Make it an obsolete function.
11568 (dbus-unregister-object, dbus-unregister-service)
11569 (dbus-handle-event, dbus-register-property)
11570 (dbus-property-handler): Obey the new structure of
11571 `bus-registered-objects'.
11572 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11573 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11574 Use `dbus-call-method'.
11575
cf20dee0
CY
115762012-04-22 Chong Yidong <cyd@gnu.org>
11577
11578 * cus-edit.el (custom-commands, custom-reset-menu)
11579 (Custom-reset-standard): Tweak labels.
11580 (custom-reset-button-menu): Change default to t.
11581 (custom-buffer-create-internal): For the custom-reset-button-menu
11582 case, put the revert button first.
11583 (custom-group-subtitle): New face.
11584 (custom-group-value-create): Align docstring to a specific column.
11585
11586 * wid-edit.el (widget-documentation-link-add): Don't handle
11587 indentation in this function.
11588 (widget-documentation-string-indent-to): New function.
11589 (widget-documentation-string-value-create): Use it.
11590
11591 * autorevert.el (auto-revert):
11592 * epg-config.el (epg):
11593 * ibuffer.el (ibuffer):
11594 * mpc.el (mpc):
11595 * ses.el (ses):
11596 * eshell/eshell.el (eshell):
11597 * net/ange-ftp.el (ange-ftp):
11598 * progmodes/ebnf2ps.el (postscript):
11599 * progmodes/flymake.el (flymake):
11600 * progmodes/prolog.el (prolog):
11601 * progmodes/verilog-mode.el (verilog-mode):
11602 * progmodes/which-func.el (which-func):
11603 * term/xterm.el (xterm):
11604 * textmodes/picture.el (picture):
11605 * textmodes/tildify.el (tildify):
11606 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11607 customization buffers.
11608
583e23bd
AM
116092012-04-22 Alan Mackenzie <acm@muc.de>
11610
11611 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11612 Adding a ) can hide the resulting (..) from searches. Fix it.
11613 Bound the backward search to the position of the existing (.
11614
7dd51bf1
JB
116152012-04-21 Juanma Barranquero <lekktu@gmail.com>
11616
11617 * progmodes/verilog-mode.el (verilog-mode): Check whether
11618 which-func-modes is t before adding verilog-mode.
11619 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11620
d64a438f
LL
116212012-04-21 Leo Liu <sdl.web@gmail.com>
11622
7dd51bf1 11623 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 11624
081e8d65
MV
116252012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11626
11627 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11628 filling of the last column of a table (Bug#5635).
11629 (woman-find-next-control-line): New arg, specifying an additional
11630 regexp component for the control line.
11631 (woman2-roff-buffer): Use it.
11632 (woman-break-table): New function.
11633 (woman2-TS): Use it.
11634
116352012-04-21 Chong Yidong <cyd@gnu.org>
11636
11637 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11638 (woman-horizontal-escapes, woman-negative-vertical-space)
11639 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11640 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11641
ed571ccb
SM
116422012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11643
11644 * minibuffer.el (completion-file-name-table): Complete user names.
11645
39773899
LL
116462012-04-20 Leo Liu <sdl.web@gmail.com>
11647
11648 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11649 and pcase-let*.
11650
de6ff46d
CY
116512012-04-20 Chong Yidong <cyd@gnu.org>
11652
11653 * server.el (server-execute): Respect initial-buffer-choice if it
11654 is a string and there are no files to open (Bug#2825).
11655 (server-create-window-system-frame, server-create-tty-frame):
11656 Don't switch buffers here.
2d0e8e61
CY
11657 (server-process-filter): Only try to open a window system frame if
11658 compiled with graphical support (Bug#8314).
de6ff46d 11659
54071013
DN
116602012-04-20 Dan Nicolaescu <dann@gnu.org>
11661
11662 * battery.el (battery-echo-area-format): Display remaining time
11663 for sysfs backend too (Bug#11269).
11664 (battery-linux-sysfs): Fix conditional for the charge.
11665
f30d612a
CY
116662012-04-20 Chong Yidong <cyd@gnu.org>
11667
c07a4c0b 11668 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
11669 (gdb-inferior-io--init-proc): New function.
11670 (gdb-init-1): Use it.
11671 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11672 responsible for allocating a new pty and hooking it to gdb when
11673 the old pty gets an EIO due to process exit.
11674 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11675 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11676 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11677
2116e93c
EZ
116782012-04-20 Eli Zaretskii <eliz@gnu.org>
11679
11680 * window.el (window-min-size, window-sizable, window-min-delta)
11681 (window-max-delta, window--resizable, window-resizable)
11682 (window-total-size, window-full-height-p, window-full-width-p)
11683 (window-in-direction, window--resize-mini-window, window-resize)
11684 (window--resize-child-windows-normal)
11685 (window--resize-child-windows, window--resize-siblings)
11686 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 11687 (enlarge-window, shrink-window): Doc fixes.
2116e93c 11688
c07a4c0b 116892012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 11690
ef24141c
SM
11691 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11692 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
11693 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11694 pty process (Bug#11273).
11695 (gdb-update): New arg to suppress talking to the gdb process.
11696 (gdb-done-or-error): Use it.
11697 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11698 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11699 sentinel not being called.
11700
11701 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11702
d02766ab
CY
11703 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11704
c07a4c0b 117052012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
11706
11707 * net/network-stream.el (open-network-stream): Doc fix.
11708
c07a4c0b 117092012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
11710
11711 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11712
c07a4c0b 117132012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
11714
11715 Ensure searching for keywords is case sensitive.
11716
11717 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11718 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11719 (c-defun-name, c-mark-function, c-cpp-define-name)
11720 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 11721 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 11722
ef24141c
SM
11723 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11724 Bind case-fold-search to nil.
f0f6bc35 11725
c07a4c0b 117262012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
11727
11728 * mail/sendmail.el (mail-bury): Call return action with the right
11729 Rmail buffer (Bug#11242).
11730
9a864fa2
CY
11731 * server.el (server-process-filter): Handle corner case where both
11732 tty and nowait options are present (Bug#11102).
11733
539aa513
EZ
117342012-04-20 Eli Zaretskii <eliz@gnu.org>
11735
11736 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
11737 (top level): Put into the executable the ident-style '$Id:' tag on
11738 windows-nt as well.
539aa513 11739
cfc7d5da
SM
117402012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11741
11742 * electric.el (electric-indent-post-self-insert-function): Check that
11743 electric-indent-mode is enabled in current buffer.
11744
5b01685c
JB
117452012-04-19 Juanma Barranquero <lekktu@gmail.com>
11746
11747 * imenu.el (imenu-progress-message): Restore; it is "used" in
11748 erc/erc-imenu.el and net/snmp-mode.el.
11749
4d6769e1
JB
117502012-04-19 Juanma Barranquero <lekktu@gmail.com>
11751
11752 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11753 (mouse-avoidance-nudge-mouse): Remove unused binding.
11754
11755 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11756
11757 * descr-text.el (describe-char):
11758 * progmodes/python.el (python-describe-symbol):
11759 Don't call `toggle-read-only', set `buffer-read-only'.
11760
11761 * imenu.el (imenu-default-goto-function): Mark unused args.
11762 (imenu-progress-message): Remove obsolete macro; all callers changed.
11763
11764 * subr.el (keymap-canonicalize): Remove unused binding.
11765 (read-passwd): Mark unused arg.
11766
11767 * tutorial.el (tutorial--display-changes): Remove unused binding.
11768 (tutorial--save-tutorial-to): Remove unused variable.
11769
11770 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11771 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11772 (package-generate-autoloads, package-menu--generate)
11773 (package-menu--find-upgrades): Remove unused bindings.
11774
11775 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11776 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11777 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11778 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11779 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11780 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11781 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11782 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11783 (cua-delete-char-rectangle): Mark unused args.
11784 (cua-align-rectangle): Remove unused binding.
11785
11786 * mail/rmail.el (compilation--message->loc)
11787 (epa--find-coding-system-for-mime-charset): Declare.
11788
11789 * net/dbus.el (dbus-register-service): Declare.
11790 (dbus-name-owner-changed-handler): Remove unused binding.
11791
11792 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11793 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11794 (nxml-scan-backward-within): Mark unused arg.
11795 (nxml-dynamic-markup-word): Remove unused binding.
11796
11797 * mouse.el (mouse-menu-major-mode-map):
11798 * emacs-lisp/authors.el (authors-scan-change-log)
11799 (authors-add-to-author-list):
11800 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11801 * emacs-lisp/smie.el (smie-auto-fill):
11802 * mail/sendmail.el (mail-bury):
11803 * mail/unrmail.el (unrmail):
11804 * net/tls.el (open-tls-stream):
11805 * textmodes/picture.el (picture-mouse-set-point):
11806 Remove unused bindings.
11807
8c8fc5df
MA
118082012-04-19 Michael Albinus <michael.albinus@gmx.de>
11809
11810 * net/tramp.el (tramp-action-password): Let-bind
11811 `enable-recursive-minibuffers' to t.
11812
a77b0ac9
SS
118132012-04-18 Sam Steingold <sds@gnu.org>
11814
11815 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11816 instead of 'string to accommodate values like [f11].
11817 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11818 * progmodes/gdb-mi.el: Likewise.
11819
12a106a9
LL
118202012-04-18 Leo Liu <sdl.web@gmail.com>
11821
11822 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11823 current buffer.
11824 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11825 LOCAL is nil.
11826
bc6494ef
CY
118272012-04-18 Chong Yidong <cyd@gnu.org>
11828
11829 * simple.el (line-move): Use forward-line if in batch mode
11830 (Bug#11053).
11831
c09c46b2
CS
118322012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11833
11834 * files.el (after-find-file): Do not try to add a final newline if
11835 the buffer is read-only (Bug#11156).
11836
5f6530ea
RS
118372012-04-17 Richard Stallman <rms@gnu.org>
11838
11839 * mail/rmail.el (rmail-start-mail):
11840 Pass (rmail-mail-return...) for the return-action.
11841 Pass (rmail-yank-current-message...) for the yank-action.
11842 (rmail-yank-current-message): New function.
11843 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11844 (rmail-reply): Likewise.
11845 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11846
11847 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 11848 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
11849 buffer, not newbuf.
11850
197b6f3c
JB
118512012-04-17 Juanma Barranquero <lekktu@gmail.com>
11852
11853 * server.el (server-ensure-safe-dir): Simplify.
11854
2311d8e5 118552012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 11856
2311d8e5
GM
11857 * emacs-lisp/smie.el: Provide smarter auto-filling.
11858 (smie-auto-fill): New function.
11859 (smie-setup): Use it.
98fb480e 11860
2311d8e5
GM
11861 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11862
118632012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
11864
11865 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11866 (comment-indent): Use it.
11867
2311d8e5 118682012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
11869
11870 * ses.el: The overall change is to add cell renaming, that is
11871 setting fancy names for cell symbols other than name matching
11872 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 11873 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 11874 (ses-create-cell-variable): New defun.
2311d8e5 11875 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
11876 (ses-relocate-formula): Relocate formulas only for cells the
11877 symbols of which are not renamed, i.e. symbols whose names do not
11878 match regexp "\\`[A-Z]+[0-9]+\\'".
11879 (ses-relocate-all): Relocate values only for cells the symbols of
11880 which are not renamed.
11881 (ses-load): Create cells variables as the (ses-cell ...) are read,
11882 in order to check row col consistency with cell symbol name only
11883 for cells that are not renamed.
11884 (ses-replace-name-in-formula): New defun.
11885 (ses-rename-cell): New defun.
4bdf2ad2 11886
fc72b15c
PO
118872012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11888
11889 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11890 New option (bug#11118).
11891 (perl-calculate-indent): Respect it.
11892
12e10e61
GM
118932012-04-17 Glenn Morris <rgm@gnu.org>
11894
11895 * dired-aux.el (dired-mark-read-string): Doc fix.
11896
30009afd
DA
118972012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11898
11899 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11900 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11901
41f03f4d
GM
119022012-04-17 Glenn Morris <rgm@gnu.org>
11903
11904 * mouse.el (mouse-drag-track):
11905 * speedbar.el (speedbar-frame-mode):
11906 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11907
f45f90f3
LL
119082012-04-16 Leo Liu <sdl.web@gmail.com>
11909
11910 * progmodes/python.el: Trivial cleanup.
11911
94ee8db5
GM
119122012-04-16 Glenn Morris <rgm@gnu.org>
11913
121b8917
GM
11914 * vc/vc.el (vc-string-prefix-p):
11915 * vc/pcvs-util.el (cvs-string-prefix-p):
11916 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11917 * mpc.el (mpc-string-prefix-p):
11918 Make all of these into obsolete aliases for string-prefix-p.
11919 Update callers.
11920 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11921
1197ecfa
GM
11922 * textmodes/two-column.el: Move custom options to the start.
11923 (frame-width): Remove compat definition.
11924 (2C-associate-buffer, 2C-dissociate):
11925 Use with-current-buffer rather than save-excursion.
11926 (2C-dissociate): Force a mode-line update.
11927 (2C-autoscroll): Use ignore-errors.
11928
099e7202
GM
11929 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11930 Autoload trivia.
11931
bf350d6a
GM
11932 * emacs-lisp/cl-extra.el (*random-state*):
11933 Remove unnecessary declaration.
11934
0e829eab
GM
11935 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11936
e3ad7552
GM
11937 * play/cookie1.el (cookie-snarf):
11938 Give an explicit error if input file cannot be read.
11939
68892d27
GM
11940 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11941
20f0c46d
GM
11942 * progmodes/perl-mode.el (c-macro-expand):
11943 Remove unnecessary autoload (it is in loaddefs.el).
11944
5a0978ce
GM
11945 * textmodes/picture.el (picture-desired-column)
11946 (picture-update-desired-column): Convert comments to doc-strings.
11947 (picture-substitute): Remove function.
11948 (picture-mode-map): Initialize in the defvar.
11949
6b955486
GM
11950 * woman.el: Remove eval-after-load for tar-mode.
11951 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11952 (woman-tar-extract-file): Autoload it.
11953
94ee8db5
GM
11954 * frame.el (automatic-hscrolling): Make this alias obsolete.
11955
177eca34
AM
119562012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11957
090bd7cb 11958 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 11959 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
11960 (ispell-dictionary-base-alist): Revert to original XEmacs
11961 friendly version for default. [:alpha:] will be added in
090bd7cb 11962 `ispell-set-spellchecker-params' if needed.
177eca34 11963
c505aaeb
CY
119642012-04-16 Chong Yidong <cyd@gnu.org>
11965
b19dd9d1 11966 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
11967 (imagemagick-register-types): Use it.
11968 (imagemagick-types-inhibit): Add :set function. Allow new value
11969 of t to inhibit all types.
11970
11971 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11972 so we can preload it.
11973
11974 * loadup.el (fboundp): Preload regexp-opt, needed by
11975 imagemagick-register-types.
11976
60efac0f
CY
119772012-04-15 Chong Yidong <cyd@gnu.org>
11978
11979 * frame.el (scrolling): Remove nearly unused customization group.
11980
11981 * scroll-all.el (scroll-all-mode): Move to windows group.
11982
5dd1713e
CY
119832012-04-15 Chong Yidong <cyd@gnu.org>
11984
11985 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11986
e6fd457e
CY
119872012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 11990 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 11991
e153c136
GM
119922012-04-15 Glenn Morris <rgm@gnu.org>
11993
11994 * simple.el (process-file-side-effects): Doc fix.
11995
e6fd457e 119962012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
11997
11998 * international/mule-cmds.el (set-language-environment): Doc fix.
11999
3603c3b1
JB
120002012-04-14 Juanma Barranquero <lekktu@gmail.com>
12001
12002 * server.el (server-auth-key, server-generate-key): Doc fixes.
12003 (server-get-auth-key): Doc fix. Use `string-match-p'.
12004 (server-start): Reflow docstring.
12005
e6de100c
LI
120062012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12007
12008 * server.el (server-generate-key): `called-interactively-p'
12009 requires a parameter.
12010
29734c21
MN
120112012-04-14 Michal Nazarewicz <mina86@mina86.com>
12012
12013 * server.el (server-auth-key): New variable.
75f1671a 12014 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
12015 (server-start): Use the new variable and functions to allow
12016 setting a permanent server key (bug#9423).
12017
d65c9521
LL
120182012-04-14 Leo Liu <sdl.web@gmail.com>
12019
12020 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12021
5ae255c7
PE
120222012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12023
12024 Spelling fixes.
12025 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12026 Emacs uses American spelling.
12027
d5e6342e
JB
120282012-04-14 Juanma Barranquero <lekktu@gmail.com>
12029
12030 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12031 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12032 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12033 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12034
ab036cd7
SM
120352012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12036
12037 * progmodes/which-func.el (which-func-modes): Change default.
12038
35dc09a1 120392012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
12040
12041 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12042 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12043
35dc09a1 120442012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
12045
12046 * custom.el (custom-theme-set-variables): Doc fix.
12047
35dc09a1 120482012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
12049
12050 * international/mule.el (set-auto-coding-for-load): Doc fix.
12051
35dc09a1 120522012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 12053
35dc09a1
GM
12054 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12055 imenu work again for Objective C Mode. Correct the *-index values,
12056 these having been disturbed by a previous change in 2011-08.
57f845ee 12057
0de3da9f
AM
12058 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12059 Correct two search limits.
12060
35dc09a1 120612012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
12062
12063 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12064
35dc09a1 120652012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
12066
12067 * international/characters.el: Fix sorting.
12068
35dc09a1 120692012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
12070
12071 * international/characters.el: Add more missing Latin case pairs.
12072
35dc09a1 120732012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
12074
12075 * files.el (dir-locals-set-class-variables): Doc fix.
12076
35dc09a1 120772012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 12078
3f1b5bf8
EZ
12079 * international/characters.el: Add set-case-syntax-pair call for
12080 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12081 counterpart. (Bug#11209)
12082
9f847f41
EZ
12083 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12084
35dc09a1 120852012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
12086
12087 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12088
35dc09a1 120892012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 12090
35dc09a1
GM
12091 * textmodes/ispell.el (ispell-dictionary-base-alist):
12092 Add data for Hebrew.
e2627d21 12093
35dc09a1 120942012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 12095
35dc09a1
GM
12096 * net/rcirc.el (rcirc-cmd-quit):
12097 Revert 2012-03-18 change (Bug#11192).
5c14e333 12098
35dc09a1 120992012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
12100
12101 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12102
35dc09a1 121032012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 12104
4517fe3a
SM
12105 * minibuffer.el (completion-in-region-mode-map):
12106 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 12107
b472a594
VD
121082012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12109
12110 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12111
09b95ce3
MY
121122012-04-13 Masatake YAMATO <yamato@redhat.com>
12113
12114 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12115 to allow `C-M-f' and `C-M-b' to move to the nearest path
12116 separator (bug#9511).
12117
4b63a9ca
LI
121182012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12119
12120 * avoid.el: Require cl when compiling. And also move the
12121 `provide' to the end.
12122
7b55b8bf
TV
121232012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12124
12125 * avoid.el (mouse-avoidance-banish-position): New variable.
12126 (mouse-avoidance-banish-destination): Use it (bug#10165).
12127
adedaa1f
LL
121282012-04-13 Leo Liu <sdl.web@gmail.com>
12129
12130 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12131
70e74021
KB
121322012-04-13 Ken Brown <kbrown@cornell.edu>
12133
12134 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 12135 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
12136 (browse-url-filename-alist): For the same reason, don't modify
12137 file:// URLs on Cygwin.
12138
e75e89ba
SM
121392012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12140
12141 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12142 the region on shift if the binding is already shifted (bug#11221).
12143
82f289a4
GM
121442012-04-12 Glenn Morris <rgm@gnu.org>
12145
12146 * mail/mailpost.el: Move to obsolete/.
12147
d333dc4c
DA
121482012-04-12 Drew Adams <drew.adams@oracle.com>
12149
12150 * imenu.el (imenu--generic-function): Ignore invisible definitions
12151 (bug#10123).
12152
0d15b5ba
VD
121532012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12154
12155 * hexl.el (hexl-bits): New variable.
12156 (hexl-options): Mention the variable in the doc string.
75f1671a 12157 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 12158 (hexl-mode): Mention the new variable.
75f1671a
JB
12159 (hexl-mode, hexl-current-address, hexl-current-address):
12160 Use the displen.
0d15b5ba
VD
12161 (hexl-ascii-start-column): New function.
12162 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12163 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12164
64a440db
AM
121652012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12166
12167 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12168 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12169 the encoding, as expected by hunspell.
12170
6decb6c2
SM
121712012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12172
12173 * battery.el (battery--linux-sysfs-regexp): New const.
12174 (battery-status-function): Use it. Remove yeeloong special case.
12175 (battery-yeeloong-sysfs): Remove.
12176 (battery-echo-area-format): Remove yeeloong special case.
12177
088be6fb
SM
121782012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12179
6622e416
SM
12180 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12181 Reported by Noah Friedman.
12182
088be6fb
SM
12183 * subr.el (read-passwd): Use read-string.
12184
b49f886e
LMI
121852012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12186
12187 * vcursor.el (vcursor-move): Increase the priority of the overlay
12188 (bug#9663).
12189
a63067fc
DD
121902012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12191
12192 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12193 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12194
ac3cf14a
WS
121952012-04-11 William Stevenson <yhvh2000@gmail.com>
12196
12197 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12198 define-minor-mode (bug#10760).
12199
c4fc691b 122002012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 12201
4d6769e1 12202 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
12203 that directories matching `grep-find-ignored-files' won't be
12204 pruned (bug#10351).
12205
af23e2e5
CY
122062012-04-11 Chong Yidong <cyd@gnu.org>
12207
12208 * startup.el (command-line): Remove support for long-obsolete
12209 variable font-lock-face-attributes.
12210
ab7ce8c1
GM
122112012-04-11 Glenn Morris <rgm@gnu.org>
12212
12213 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12214
de8c03dc
SM
122152012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * window.el (window--state-get-1): Obey window-point-insertion-type.
12218
050cc68b
LB
122192012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12220
12221 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12222 to previous function when point is on the first character of a
75f1671a 12223 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 12224
a38c310c
GM
122252012-04-11 Glenn Morris <rgm@gnu.org>
12226
effed0c2
GM
12227 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12228 not just file-errors.
12229
a38c310c
GM
12230 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12231 (vc-bzr-sha1): Use internal sha1.
12232
0221e323
SM
122332012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12234
12235 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12236
43956923
SG
122372012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12238
12239 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12240 that start in the middle of the line (bug#10496).
12241
6a8c9eaf
DN
122422012-04-10 Dan Nicolaescu <dann@gnu.org>
12243
12244 * battery.el (battery-linux-proc-acpi): Only one battery is
12245 discharged at a time, but that seems to confuse battery.el when
12246 computing `rate-type' for the battery not being discharged
12247 (bug#10332).
12248
1930bf5d
SM
122492012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12250
2a718f6f
SM
12251 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12252
599430d0
SM
12253 * international/quail.el: Use dolist and simplify.
12254 (quail-define-package, quail-update-keyboard-layout)
12255 (quail-define-rules): Use dolist.
12256 (quail-insert-kbd-layout, quail-get-translation): CSE.
12257
a2754b6c
SM
12258 * tmm.el: Use dolist, remove left over hook.
12259 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12260 Use dolist.
12261 (calendar-load-hook): Don't mess with it.
12262
1930bf5d
SM
12263 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12264 Use derived-mode-p. Run the diff asynchronously.
12265
9f67961c
LMI
122662012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12267
12268 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12269
2a8ce227
JB
122702012-04-10 Juanma Barranquero <lekktu@gmail.com>
12271
12272 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12273 (list-dynamic-libraries--loaded): New function.
12274 (list-dynamic-libraries--refresh): Use it.
12275
8f33b5f8
NW
122762012-04-10 Nathan Weizenbaum <nweiz@google.com>
12277
1930bf5d
SM
12278 * progmodes/python.el (python-fill-paragraph):
12279 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
12280 disabled (bug#7018).
12281
b12f0439
L
122822012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
12283
1930bf5d 12284 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
12285 DOS/MS Windows for the Baltic languages. There are still plenty
12286 of texts written in this encoding/codepage (bug#6519).
b12f0439 12287
57c3bd01
GM
122882012-04-10 Glenn Morris <rgm@gnu.org>
12289
12290 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12291 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12292
6c3eab30
FA
122932012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12294
1930bf5d 12295 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
12296 next-line "n" and previous-line "p" in order to make recentf more
12297 consistent with ibuffer, dired or org-mode (bug#9387).
12298
24d78a88
LMI
122992012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12300
bc72b5d9
LMI
12301 * image.el (put-image): Return the overlay created instead of the
12302 optional input string (bug#7834). Note that this may break code
12303 that is (for some reason or other) depending on `put-image'
12304 returning the string.
12305
bd2dba5a
LMI
12306 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12307
74beb59f
LMI
12308 * simple.el (zap-to-char): Allow zapping using input methods
12309 (bug#1580).
12310
24d78a88
LMI
12311 * textmodes/fill.el (fill-region): Leave point and mark where they
12312 were before filling (bug#5399).
12313
263f20cd
GM
123142012-04-09 Glenn Morris <rgm@gnu.org>
12315
12316 * version.el (emacs-bzr-get-version):
12317 Handle lightweight checkouts of local branches.
12318
58d1f797
AS
123192012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12320
263f20cd 12321 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 12322
b4d3bc10
CY
123232012-04-09 Chong Yidong <cyd@gnu.org>
12324
12325 * custom.el (custom-variable-p): Return nil for non-symbol
12326 arguments instead of signaling an error.
12327 (user-variable-p): Obsolete alias for custom-variable-p.
12328
12329 * apropos.el (apropos-variable):
12330 * files-x.el (read-file-local-variable):
12331 * simple.el (set-variable):
12332 * woman.el (woman-mini-help):
12333 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12334
fd06db5d
GM
123352012-04-09 Glenn Morris <rgm@gnu.org>
12336
e5fcdb5e
GM
12337 * startup.el (normal-top-level): Don't look for leim-list.el
12338 in places where it will not be found. (Bug#910)
12339
fd06db5d
GM
12340 * international/mule-cmds.el (set-default-coding-systems):
12341 * files.el (normal-mode):
12342 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12343 This function was removed with ucs-tables.el in 2008.
12344
b39bb7e1
EZ
123452012-04-08 Eli Zaretskii <eliz@gnu.org>
12346
12347 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12348 ispell-encoding8-command to "-i", without a trailing space.
12349 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12350 separate command-line arguments, to specify the encoding, since
12351 that's how hunspell expects it.
12352
5c5b8e23
GM
123532012-04-08 Glenn Morris <rgm@gnu.org>
12354
12355 * loadup.el: Load bindings before cus-start.
12356 This reduces somewhat the number of "rogue" settings in emacs -Q.
12357
a1ed8b05
GM
123582012-04-07 Glenn Morris <rgm@gnu.org>
12359
12360 * version.el (emacs-bzr-get-version): New function.
dfae128a 12361 (emacs-bzr-version): New variable.
a1ed8b05
GM
12362 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12363 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12364
b142f158
EZ
123652012-04-07 Eli Zaretskii <eliz@gnu.org>
12366
dfae128a
GM
12367 * international/uni-bidi.el, international/uni-category.el:
12368 * international/uni-combining.el, international/uni-decimal.el:
12369 * international/uni-decomposition.el, international/uni-digit.el:
12370 * international/uni-lowercase.el, international/uni-mirrored.el:
12371 * international/uni-name.el, international/uni-numeric.el:
12372 * international/uni-titlecase.el, international/uni-uppercase.el:
12373 Update for Unicode 6.1.
b142f158 12374
9078ead6
EZ
123752012-04-07 Eli Zaretskii <eliz@gnu.org>
12376
12377 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12378
f23d2c7d
LMI
123792012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12380
12381 * window.el (shrink-window): Mention the `window-min-height'
12382 variable in the doc string.
12383
0a0a3573
BG
123842012-04-05 Bastien Guerry <bzg@altern.org>
12385
12386 * color.el (color-lighten-name): Fix typo.
12387
e5248ac9
SM
123882012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12389
12390 * server.el (server--on-display-p): New function.
12391 (server--on-display-p): Use it.
12392
a8e4d516 123932012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
b4243e22
GV
12394
12395 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12396 (bug#11145).
12397
305d9f44
SM
123982012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12399
12400 * comint.el (comint--common-quoted-suffix): Check string boundary
12401 before comparing (bug#11158).
12402 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12403
3d439cd1
CY
124042012-04-04 Chong Yidong <cyd@gnu.org>
12405
321cc491
CY
12406 * minibuffer.el (completion-extra-properties): Doc fix.
12407
3d439cd1
CY
12408 * subr.el (delayed-warnings-hook): Doc fix.
12409
2d562c0f
DU
124102012-04-04 Daiki Ueno <ueno@unixuser.org>
12411
12412 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12413 selection (Bug#11159).
12414 (epa-insert-keys): Inform that the default public key will be
12415 exported if no key is selected.
12416
4443f204
RS
124172012-04-04 Richard Stallman <rms@gnu.org>
12418
12419 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12420
529c06b6
CY
124212012-04-03 Chong Yidong <cyd@gnu.org>
12422
12423 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12424 mail-insert-file, not its obsolete alias mail-attach-file.
12425
66b907dc
MA
124262012-04-03 Michael Albinus <michael.albinus@gmx.de>
12427
12428 * notifications.el (notifications-notify): Fix docstring.
12429
c0ea195d
GM
124302012-04-02 Glenn Morris <rgm@gnu.org>
12431
12432 * emacs-lisp/authors.el (authors-aliases): Another addition.
12433
5ca64e00
MA
124342012-04-02 Michael Albinus <michael.albinus@gmx.de>
12435
12436 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12437 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12438 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12439
42ee526b
CY
124402012-04-01 Chong Yidong <cyd@gnu.org>
12441
12442 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12443 Handle root directory properly.
12444 (copy-directory): Caller changed.
12445
12446 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12447 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12448
0b021094
GM
124492012-03-31 Glenn Morris <rgm@gnu.org>
12450
40f86458
GM
12451 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12452
7019c177
GM
12453 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12454
a1daddd6
GM
12455 * calendar/calendar.el (calendar-window-list)
12456 (calendar-hide-window): Restore. (Bug#11140)
12457 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12458
0b021094
GM
12459 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12460
40311efc
TV
124612012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12462
12463 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12464 Check if file is a symlink (Bug#10489).
12465
12466 * files.el (copy-directory): Likewise.
12467
5319014e
CY
124682012-03-30 Chong Yidong <cyd@gnu.org>
12469
12470 * image.el (imagemagick-types-inhibit)
12471 (imagemagick-register-types): Doc fix.
12472
935d1290
AM
124732012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12474
090bd7cb 12475 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 12476 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 12477 and treats ~word as ordinary words in pipe mode.
935d1290 12478
61c6e8fd
GM
124792012-03-30 Glenn Morris <rgm@gnu.org>
12480
12481 * tutorial.el (help-with-tutorial): Ensure local variables don't
12482 happen to make the buffer read-only. (Bug#11127)
12483
81fdff00
SM
124842012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12485
12486 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12487 (perl-calculate-indent): Return `noindent' in strings.
12488
6e7a6ec0
SS
124892012-03-28 Sam Steingold <sds@gnu.org>
12490
12491 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12492 instead of the broken adhockery which does not prevent calendar
12493 buffers from being displayed at random after exit.
12494 (calendar-window-list, calendar-hide-window): Remove the broken
12495 adhockery.
12496
fee88ca0
GM
124972012-03-28 Glenn Morris <rgm@gnu.org>
12498
12499 * replace.el (query-replace-map): Doc fix.
12500
38de3354
AS
125012012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12502
12503 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12504 contents. (Bug#11109)
12505
b973155e
SM
125062012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12507
12508 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12509 (bug#11077).
12510 (avl-tree--check, avl-tree--check-node): New funs.
12511
dcb6e7b3
MR
125122012-03-27 Martin Rudalics <rudalics@gmx.at>
12513
12514 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
12515 (switch-to-prev-buffer, switch-to-next-buffer):
12516 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
12517 showing a buffer already is done on the same frame.
12518
b4fa35fa
GM
125192012-03-27 Glenn Morris <rgm@gnu.org>
12520
12521 * startup.el (mail-host-address): Doc fix.
12522
f9210e18
SM
125232012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12524
12525 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12526 than 197 variables.
12527
c0bf7753
AF
125282012-03-26 Ami Fischman <ami@fischman.org>
12529
12530 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12531
33da7b16
GM
125322012-03-26 Glenn Morris <rgm@gnu.org>
12533
02243d9d
GM
12534 * files.el (save-buffers-kill-emacs): Doc fix.
12535
33da7b16
GM
12536 * startup.el (normal-top-level, command-line, command-line-1):
12537 Give them doc strings.
12538
e5a69fd0
EZ
125392012-03-25 Eli Zaretskii <eliz@gnu.org>
12540
12541 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 12542 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 12543
9a69676a
CY
125442012-03-25 Chong Yidong <cyd@gnu.org>
12545
4125cb8b
CY
12546 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12547 theme if it was previously enabled before (Bug#11031).
12548
dd470960
CY
12549 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12550 spec with custom-face-get-current-spec if its :shown-value is not
12551 determined yet (Bug#9337).
4125cb8b 12552 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 12553
9a69676a
CY
12554 * button.el (button-at): Minor addition to docstring.
12555
6e7e90fa
SL
125562012-03-24 Simon Leinen <simon.leinen@gmail.com>
12557
12558 * vc/vc.el (vc-merge): Fix a prompt.
12559
f06e2758
CY
125602012-03-24 Chong Yidong <cyd@gnu.org>
12561
12562 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12563 point (Bug#9623).
12564
6e7e90fa
SL
12565 * button.el (button-at): Minor addition to docstring.
12566
b9d0879b
SM
125672012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12568
12569 * newcomment.el (comment-choose-indent): No space after BOL.
12570
e71cebb3
SS
125712012-03-22 Sam Steingold <sds@gnu.org>
12572
12573 * window.el (switch-to-prev-buffer): Revert last patch because the
12574 bug turned out to be an advertised feature (Elisp manual 28.14).
12575
335aff35
GM
125762012-03-22 Glenn Morris <rgm@gnu.org>
12577
12578 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12579 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12580
c676576a
LMI
125812012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12582
12583 * net/network-stream.el (network-stream-open-starttls): Make error
12584 message under Windows be less misleading.
12585
126f3d39
LW
125862012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12587
12588 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12589 understands (bug#9942).
12590
64fee311
CY
125912012-03-22 Chong Yidong <cyd@gnu.org>
12592
12593 * simple.el (end-of-visible-line): Handle return value of
12594 next-single-property-change properly (Bug#9371).
12595
a640d29a
KH
125962012-03-22 Kenichi Handa <handa@m17n.org>
12597
12598 * international/quail.el (quail-insert-kbd-layout): Fix previous
12599 change. To avoid unwanted bidi reordering, use
12600 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12601
39675016
DG
126022012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12603
12604 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12605 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12606 (ruby-beginning-of-indent): Be more careful with the difference
12607 between word-boundary and symbol boundary.
12608 (ruby-mode-syntax-table): Make : a symbol constituent.
12609
0a6934fc 126102012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 12611
3d008e4f
SM
12612 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12613
0a6934fc
SM
126142012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12615
af67c9d7
SM
12616 * progmodes/etags.el (tags-completion-at-point-function):
12617 Improve last fix.
12618
1acad97c
SM
12619 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12620
e298b5da
SS
126212012-03-21 Sam Steingold <sds@gnu.org>
12622
12623 * progmodes/etags.el (tags-completion-at-point-function):
12624 Avoid the error when point is inside the pattern.
12625
91d82a70
JY
126262012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12627
12628 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12629 line (Bug#10855).
12630
69188b79
CY
126312012-03-21 Drew Adams <drew.adams@oracle.com>
12632
12633 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12634
99fc91fe
AK
126352012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12636
12637 * ido.el (ido-set-current-directory, ido-read-internal)
12638 (ido-choose-completion-string, ido-completion-help): Handle nil
12639 value of ido-completion-buffer (Bug#11008).
12640
087bbb4c
SS
126412012-03-21 Sam Steingold <sds@gnu.org>
12642
12643 * window.el (switch-to-prev-buffer): Do not switch to a visible
12644 window previous buffer, just like with the frame previous buffers.
12645
fb5b8aca
CY
126462012-03-21 Chong Yidong <cyd@gnu.org>
12647
12648 * faces.el (make-face, make-empty-face, copy-face):
12649 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12650 Doc fixes.
12651
dc9924b8
SM
126522012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12653
12654 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12655 (widget-complete): Remove broken use of it.
12656
f0bcceb9
CY
126572012-03-20 Chong Yidong <cyd@gnu.org>
12658
dc9924b8
SM
12659 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12660 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
12661 characters.
12662
ee52ebf3
TH
126632012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12664
12665 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12666 to draw rectangles, not squares. (Regression introduced by revno
12667 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12668
4c5779ab
CY
126692012-03-18 Chong Yidong <cyd@gnu.org>
12670
12671 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12672 it is not yet defined (for temacs).
12673
15360934
LL
126742012-03-18 Leo Liu <sdl.web@gmail.com>
12675
735135f9
PE
12676 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12677 prefix.
15360934 12678
d9a8eb66
EZ
126792012-03-17 Eli Zaretskii <eliz@gnu.org>
12680
12681 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12682 (ispell-choices-win-default-height, ispell-silently-savep)
12683 (ispell-dictionary-alist, ispell-encoding8-command)
12684 (ispell-check-version, ispell-aspell-find-dictionary)
12685 (ispell-valid-dictionary-list, ispell-words-keyword)
12686 (ispell-get-word, ispell-internal-change-dictionary)
12687 (ispell-region, ispell-skip-region-list)
12688 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12689 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12690 (ispell-message-text-end, ispell-message)
12691 (ispell-buffer-local-parsing): Doc fix.
12692
f02ff80d
J
126932012-03-13 Jambunathan K <kjambunathan@gmail.com>
12694
12695 * htmlfontify.el: Add support for code block fontification for ODT
12696 export (Bug #9914).
12697 (hfy-optimisations): Define new option
12698 `body-text-only'
12699 (hfy-fontify-buffer): Honor above setting.
12700 (hfy-begin-span, hfy-end-span): New routines factored out form
12701 `hfy-fontify-buffer'.
12702 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12703 that permit insertion of custom tags.
12704 (hfy-fontify-buffer): Use above handlers.
12705 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12706 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 12707 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 12708 over multiple runs. This is made possible by having the caller let
f02ff80d
J
12709 bind a special variable `hfy-user-sheet-assoc'.
12710 (htmlfontify-string): New defun.
12711 (hfy-compile-face-map): Make sure that the last char in the
12712 buffer is correctly fontified.
12713 (hfy-face-resolve-face): Whitespace only change.
12714
9ac7a13f
EZ
127152012-03-17 Eli Zaretskii <eliz@gnu.org>
12716
12717 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12718 message more clear.
12719
e2b5bdd7
LL
127202012-03-16 Leo Liu <sdl.web@gmail.com>
12721
12722 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12723
2e492df3
AM
127242012-03-16 Alan Mackenzie <acm@muc.de>
12725
677d5c92 12726 Further optimize the handling of large macros.
2e492df3
AM
12727
12728 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12729 limit to a call of `c-literal-limits'.
12730 (c-determine-+ve-limit): New function.
dc9924b8
SM
12731 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12732 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
12733 In CASE 5B, restrict a search limit to 500.
12734 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12735
12736 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12737 Restrict macro bounds to +-500 from after-change's BEG END.
12738
50e94f0c
LL
127392012-03-16 Leo Liu <sdl.web@gmail.com>
12740
12741 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12742
6f09f6ed
AH
127432012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12744
12745 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 12746 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 12747
c7e73d51
GM
127482012-03-16 Glenn Morris <rgm@gnu.org>
12749
da986230
GM
12750 * view.el (view-buffer, view-buffer-other-window)
12751 (view-buffer-other-frame): Doc fixes re special mode-class.
12752
0835f01e
GM
12753 * subr.el (eval-after-load): If named feature is provided not from
12754 a file, run after-load forms. (Bug#10946)
12755
c7e73d51
GM
12756 * calendar/calendar.el (calendar-insert-at-column):
12757 Handle non-unit-width characters a bit better. (Bug#10978)
12758
3f2eafd1
CY
127592012-03-15 Chong Yidong <cyd@gnu.org>
12760
12761 * emacs-lisp/ring.el (ring-extend): New function.
12762 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12763
12764 * comint.el (comint-read-input-ring)
12765 (comint-add-to-input-history): Grow comint-input-ring lazily.
12766
103af3fe
SM
127672012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12768
663b1677
SM
12769 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12770 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12771
103af3fe
SM
12772 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12773 (imenu-add-to-menubar): Don't add a redundant index.
12774 (imenu-update-menubar): Handle a dynamically composed keymap.
12775
899cb7cb
KY
127762012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12777
12778 * mail/sendmail.el (mail-encode-header):
12779 Bind rfc2047-encode-encoded-words to nil.
12780
3809f91d
GM
127812012-03-13 Glenn Morris <rgm@gnu.org>
12782
12783 * calendar/calendar.el (calendar-string-spread):
12784 Handle non-unit-width characters a bit better. (Bug#10978)
12785
9e345a01
LL
127862012-03-13 Leo Liu <sdl.web@gmail.com>
12787
12788 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12789 directory and file as argument (Bug#10822).
12790
4a07df36
KS
127912012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12792
12793 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12794 For dynamically generated code, follow $PC.
12795 (gdb-disassembly-handler-custom): Handle no function name case.
12796
4aaa9356
TL
127972012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12798
12799 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12800 * emulation/ws-mode.el (ws-query-replace):
12801 * sort.el (sort-regexp-fields):
12802 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12803
225979da
SM
128042012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12805
12806 * dabbrev.el: Fix cycle completion order (bug#10963).
12807 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12808 (dabbrev-completion): Don't use an obarray; provide
12809 a cycle-sort-function.
12810
e2f1fdab
LL
128112012-03-12 Leo Liu <sdl.web@gmail.com>
12812
dc9924b8 12813 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
12814 (kill-do-not-save-duplicates): Doc fix.
12815
b19490ed
SM
128162012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12817
12818 * dabbrev.el: Fix cycle completion (bug#10963).
12819 Use lexical binding and wrap to 80 columns.
12820 (dabbrev-completion): Delay computing the list of completions.
12821
4b05d722
KH
128222012-03-12 Kenichi Handa <handa@m17n.org>
12823
12824 * international/quail.el (quail-insert-kbd-layout): Surround each
12825 row by LRO and PDF instead of inserting many LRMs. Pad the left
12826 and right of each non-spacing marks. Insert invisible space
12827 between lower and upper characters to prevent composition.
12828
dbbc2e69
SM
128292012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12830
12831 * minibuffer.el (minibuffer-complete): Don't get confused when the
12832 function is run twice via different commands (bug#10958).
12833 (complete-with-action): Fix docstring.
12834
292112ed
CY
128352012-03-12 Chong Yidong <cyd@gnu.org>
12836
5d1ac394
CY
12837 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12838 (nxml-completion-at-point-function): New function.
12839 (nxml-mode): Use it.
12840 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12841
292112ed
CY
12842 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12843 Load generated autoloads file before byte compiling (Bug#10970).
12844 (package--make-autoloads-and-compile): New helper fun.
12845
4098f8f7
CS
128462012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12847
12848 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12849
8f754691
MA
128502012-03-11 Michael Albinus <michael.albinus@gmx.de>
12851
12852 * autorevert.el (auto-revert-handler): Ensure, that
12853 file-readable-p is applied only for local files or in
12854 auto-revert-tail-mode.
12855
e29ab36b
AS
128562012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12857
dbbc2e69
SM
12858 * server.el (server-eval-at): Handle non-tcp connections.
12859 Decode result string.
ad0bf5b6 12860
e29ab36b
AS
12861 * server.el (server-msg-size): New constant.
12862 (server-reply-print): New function.
12863 (server-eval-and-print): Use it.
12864 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12865 Handle -print-nonl.
12866
de5939ba
CS
128672012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12868
12869 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12870 (Bug#10987).
12871
0c93eabf
CY
128722012-03-11 Chong Yidong <cyd@gnu.org>
12873
397a688f
CY
12874 * simple.el (goto-line): Doc fix (Bug#9938).
12875
2cc775f9
CY
12876 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12877
0c93eabf
CY
12878 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12879 when finished (Bug#10963).
12880
c491fa41
MR
128812012-03-11 Martin Rudalics <rudalics@gmx.at>
12882
12883 * window.el (split-window-below): Fix bug in case where
12884 split-window-keep-point is nil (Bug#10971).
12885
300e8fa5
JL
128862012-03-11 Juri Linkov <juri@jurta.org>
12887
12888 * replace.el (replace-highlight): Set isearch-word to nil
12889 unconditionally. (Bug#10887)
12890
dbf6c5a1
EZ
128912012-03-10 Eli Zaretskii <eliz@gnu.org>
12892
12893 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12894 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 12895 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
12896 (mairix-widget-create-query): Add usage information about mairix
12897 search forms: negating words, searching for substrings, etc.
12898
b9e501de
JP
128992012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12900
12901 * international/fontset.el (font-encoding-alist): Add an entry for
12902 ksx1001 (Bug#5667).
12903
92795c91
RS
129042012-03-10 Richard Stallman <rms@gnu.org>
12905
1694e6c1
RS
12906 * mail/sendmail.el (mail-encode-header):
12907 Set rfc2047-encode-encoded-words.
12908
607e8555
RS
12909 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12910
de3bc99a
RS
12911 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12912 view buffer means not swapped.
12913 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12914 (rmail-write-region-annotate): Error if real text has disappeared.
12915
92795c91
RS
12916 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12917
699bd04e
CY
129182012-03-10 Chong Yidong <cyd@gnu.org>
12919
12920 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
12921 * emulation/cua-base.el (cua--init-keymaps):
12922 Add delete-forward-char to remappings (Bug#9666).
699bd04e 12923
570a1714
MR
129242012-03-10 Martin Rudalics <rudalics@gmx.at>
12925
dbbc2e69
SM
12926 * speedbar.el (speedbar-unhighlight-one-tag-line):
12927 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 12928
82dcf4e4
CY
129292012-03-10 Chong Yidong <cyd@gnu.org>
12930
7a2c7ca7
CY
12931 * minibuffer.el (completion-in-region, completion-help-at-point):
12932 Give the completion field overlay a high priority (Bug#6830).
12933
82dcf4e4
CY
12934 * dired.el (dired-goto-file): Recognize absolute file name
12935 listings (Bug#7126).
12936 (dired-goto-file-1): New helper function.
12937 (dired-toggle-read-only): Inhibit warnings.
12938
052e28ac
MA
129392012-03-09 Michael Albinus <michael.albinus@gmx.de>
12940
75f1671a 12941 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
12942 there are no properties.
12943
95d5e396
LL
129442012-03-09 Leo Liu <sdl.web@gmail.com>
12945
12946 * savehist.el (savehist-printable): Stricter check for string
12947 value (Bug#10937).
12948
3f018d6d
EZ
129492012-03-09 Eli Zaretskii <eliz@gnu.org>
12950
dbbc2e69
SM
12951 * mail/smtpmail.el (smtpmail-send-it):
12952 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
12953 valid mbox format.
12954
f7fd3d79
GM
129552012-03-09 Glenn Morris <rgm@gnu.org>
12956
12957 * files.el (dir-locals-find-file):
12958 Don't check result is regular, readable.
12959 (dir-locals-read-from-file): Demote errors.
12960
6ff6e72f
EZ
129612012-03-08 Eli Zaretskii <eliz@gnu.org>
12962
dbbc2e69
SM
12963 * international/quail.el (quail-insert-kbd-layout):
12964 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
12965 layout cell, to prevent their reordering by bidi display engine.
12966 For details, see the discussion in
12967 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12968
9cec7834
AM
129692012-03-08 Alan Mackenzie <acm@muc.de>
12970
12971 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12972 the starting position; make it extend the marked region when
12973 invoked repeatedly - all under appropriate circumstances.
12974 Fixes bugs #5525, #10906.
12975
9a40b8d4
GM
129762012-03-08 Glenn Morris <rgm@gnu.org>
12977
12978 * files.el (locate-dominating-file, dir-locals-find-file):
12979 Undo 2012-03-06 change.
12980
7a08ed35
EZ
129812012-03-07 Eli Zaretskii <eliz@gnu.org>
12982
dbbc2e69
SM
12983 * international/quail.el (quail-help):
12984 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
12985 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12986 for the reason.
12987
5aca4f71 129882012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
12989
12990 Avoid superfluous registering of signals. (Bug#10807)
12991
12992 * notifications.el (notifications-on-action-object)
12993 (notifications-on-close-object): New defvars.
12994 (notifications-on-action-signal, notifications-on-closed-signal):
12995 Unregister the signal if not needed any longer.
12996 (notifications-notify): Register `notifications-action-signal' or
12997 `notifications-closed-signal', if :on-action or :on-close has been
12998 passed as argument.
12999
78e8b10a
CY
130002012-03-07 Chong Yidong <cyd@gnu.org>
13001
13002 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13003 non-X platforms.
13004
69481eb8
GM
130052012-03-06 Glenn Morris <rgm@gnu.org>
13006
13007 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13008 (x-disown-selection-internal, x-get-selection-internal):
13009 Doc fix (add arglist signatures). (Bug#10783)
13010
133b8e11
KS
130112012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13012
13013 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13014 Handle breakpoints with no "type".
13015
99a83064
GM
130162012-03-06 Glenn Morris <rgm@gnu.org>
13017
13018 * files.el (locate-dominating-file): Add optional predicate argument.
13019 (dir-locals-find-file): Make use of above change.
13020
17798e78
TTN
130212012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13022
13023 * info.el (Info-insert-dir): Also try "dir.gz".
13024
eb182446
GM
130252012-03-06 Glenn Morris <rgm@gnu.org>
13026
8f2114ee
GM
13027 * files.el (dir-locals-find-file):
13028 Ignore non-readable or non-regular files. (Bug#10928)
13029
eb182446
GM
13030 * files.el (locate-dominating-file): Doc fix.
13031
24679323
AS
130322012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13033
13034 * calendar/calendar.el (calendar-set-mode-line):
13035 `getenv' returns a string. (Bug#10951)
13036
01d972a9
LL
130372012-03-05 Leo Liu <sdl.web@gmail.com>
13038
109aa8a9
LL
13039 * simple.el (backward-delete-char-untabify): Constrain point to
13040 field (Bug#10939).
13041
01d972a9
LL
13042 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13043
10607bea
CY
130442012-03-05 Chong Yidong <cyd@gnu.org>
13045
13046 * simple.el (count-words): If called from Lisp, return the word
13047 count, for symmetry with `count-lines'. Arglist changed.
13048 (count-words--message): Args changed. Consolidate counting code
13049 from count-words and count-words-region.
13050 (count-words-region): Caller changed.
13051 (count-lines-region): Make it an obsolete alias.
13052
5dd11cfe
TH
130532012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13054
13055 * saveplace.el (save-place-to-alist)
13056 (save-place-ignore-files-regexp): Allow value nil to disable this
13057 feature.
13058
c349f4e6
CY
130592012-03-04 Chong Yidong <cyd@gnu.org>
13060
13061 * faces.el (face-spec-reset-face): For the default face, reset the
13062 attributes to default values (Bug#10748).
13063
e627be4c
LMI
130642012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13065
13066 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13067 previous patch: Check `message-send-mail-function', and not the
13068 default function (bug#10897).
13069
ebeabff4
MA
130702012-03-04 Michael Albinus <michael.albinus@gmx.de>
13071
a41a6cf4
MA
13072 * notifications.el (notifications-on-action-signal)
13073 (notifications-on-closed-signal): Check for unique service name of
13074 incoming event. Fix error in removing entry.
ebeabff4 13075 (top): Register for signals with wildcard service name.
a41a6cf4 13076 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 13077
c1ca42b4
CY
130782012-03-04 Chong Yidong <cyd@gnu.org>
13079
dc9924b8 13080 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 13081
ea16568d
GM
130822012-03-04 Glenn Morris <rgm@gnu.org>
13083
13084 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13085 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13086 (expand-abbrev, define-abbrev-table): Doc fixes.
13087
fbae4637
LMI
130882012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13089
13090 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13091 `message-default-send-mail-function' and not `send-mail-function'
13092 when doing the prompting for `sendmail-query-once' before sending
13093 in Message buffers (bug#10897).
13094
a1e7225c
LMI
13095 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13096 This is inconsistent with all the other stream functions, which leave
13097 the setting up to the higher levels (if so wanted) (bug#10931).
13098
56d093a9
AM
130992012-03-02 Alan Mackenzie <acm@muc.de>
13100
13101 Depessimize the handling of very large macros.
13102
13103 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13104 (c-macro-cache-syntactic): New variables to implement a one
13105 element macro cache.
13106 (c-invalidate-macro-cache): New function.
13107 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13108 Adapt to use the new cache.
13109 (c-state-safe-place): Use better the cache of safe positions.
13110 (c-state-semi-nonlit-pos-cache)
13111 (c-state-semi-nonlit-pos-cache-limit):
13112 New variables for...
13113 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13114 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
13115 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13116 Use c-state-semi-safe-place.
56d093a9 13117
dbbc2e69
SM
13118 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13119 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 13120
817e5c3d
MA
131212012-03-02 Michael Albinus <michael.albinus@gmx.de>
13122
dbbc2e69
SM
13123 * jka-compr.el (jka-compr-call-process):
13124 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
13125 not remote.
13126
a032a702
MA
131272012-03-01 Michael Albinus <michael.albinus@gmx.de>
13128
13129 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13130 access of FILE2, if FILE1 does not exist.
13131
99a54f21
MA
13132 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13133 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13134
13135 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13136 Add "PAGER=" to `process-environment'.
13137
f6561e1f
MM
131382012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13139
13140 * progmodes/sql.el: Bug fix
13141 (sql-get-login-ext): Save login values in globals.
13142 (sql-get-login): Use new version of `sql-get-login-ext'.
13143 (sql-interactive-mode): Set global `sql-connection' to nil.
13144 (sql-connect): Set global values for connection.
13145 (sql-product-interactive): Save global values as buffer local.
13146
2d44d9cc
LL
131472012-02-29 Leo Liu <sdl.web@gmail.com>
13148
13149 * abbrev.el (define-abbrevs): Reset sys to nil.
13150
96b49301 131512012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13152
bf7f9bc5
JB
13153 * files.el (file-equal-p): Rename from `files-equal-p'.
13154 Return nil when one or both files don't exist.
96b49301 13155 (file-subdir-of-p): Now only top directory must exists,
13156 return nil if it doesn't.
bf7f9bc5
JB
13157 (copy-directory): No need to test with `file-subdir-of-p' after
13158 creating dir.
13159 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13160 to `file-equal-p'.
96b49301 13161
44e97401
GM
131622012-02-28 Glenn Morris <rgm@gnu.org>
13163
13164 * shell.el (shell-mode):
13165 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13166 * play/landmark.el (landmark-font-lock-face-O):
13167 * play/handwrite.el (handwrite):
13168 * play/gomoku.el (gomoku-O):
13169 * net/browse-url.el (browse-url-browser-display):
13170 * international/mule.el (define-charset):
13171 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13172 * filesets.el (filesets-find-file-delay):
13173 * eshell/em-xtra.el (eshell-xtra):
13174 * eshell/em-unix.el (eshell-grep):
13175 * emulation/viper.el (viper-mode):
13176 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13177 * emacs-lisp/easymenu.el (easy-menu-define):
13178 * calendar/timeclock.el (timeclock-use-display-time):
13179 * bs.el (bs-mode):
13180 * bookmark.el (bookmark-save-flag):
13181 Doc fix (standardize possessive apostrophe usage).
13182
c98c6276
CY
131832012-02-27 Chong Yidong <cyd@gnu.org>
13184
bf7f9bc5
JB
13185 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13186 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 13187
c98c6276
CY
13188 * font-lock.el (font-lock-specified-p): Rename from
13189 font-lock-spec-present. Callers changed.
13190
9c62cd04 131912012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 13192
bf7f9bc5
JB
13193 * emacs-lisp/package.el (package-compute-transaction):
13194 Handle holding a package version to t in package-load-list.
8ac9e529 13195
530739c9
MA
131962012-02-26 Michael Albinus <michael.albinus@gmx.de>
13197
13198 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13199 (tramp-get-inode, tramp-get-device): Use cached values.
13200
487915d7
AM
132012012-02-26 Alan Mackenzie <acm@muc.de>
13202
13203 Check there is a font-lock specification before doing initial
13204 fontification.
13205
13206 * font-core.el (font-lock-mode): Move the conditional from
13207 :after-hook to font-lock-initial-fontify.
13208 (font-lock-default-function): Move the check for a specification
13209 to font-lock-spec-present.
13210
dc9924b8 13211 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
13212 (font-lock-spec-present): New function.
13213
4fd96557
JB
132142012-02-26 Jim Blandy <jimb@red-bean.com>
13215
13216 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13217 (gdb-send): Apply it to the operand of the '-interpreter-exec
13218 console' command, so that we can pass arguments with (say) quotes
13219 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13220
9a4888c0
CY
132212012-02-26 Chong Yidong <cyd@gnu.org>
13222
07498861
CY
13223 * help-fns.el (describe-function-1): Clarify description of
13224 remapping (Bug#10844).
13225
9a4888c0
CY
13226 * files.el (files-equal-p): Doc fix.
13227 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13228 and quit the loop once a mismatch is found.
13229
ea8fb88d
JB
132302012-02-25 Juanma Barranquero <lekktu@gmail.com>
13231
13232 * bs.el (bs--show-with-configuration): Don't throw an error
13233 if the window cannot be split; otherwise, subsequent calls to
13234 bs-show fail, restoring a stale window config. (Bug#10882)
13235
525795c1
JD
132362012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13237
13238 * term/ns-win.el (global-map): Bind ns-drag-file to
13239 ns-find-file (Bug#5855, Bug#10050).
13240
f008086f
AS
132412012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13242
13243 * calendar/parse-time.el (parse-time-string): Allow extractor to
13244 return nil.
13245
a3fcfa99
MA
132462012-02-25 Michael Albinus <michael.albinus@gmx.de>
13247
91027d08
JB
13248 * net/tramp.el (tramp-file-name-for-operation):
13249 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
13250
13251 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
13252 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13253 Add COPY-CONTENTS argument.
a3fcfa99 13254
67b0de11
CY
132552012-02-25 Chong Yidong <cyd@gnu.org>
13256
13257 Add custom groups for VC backends, for consistency with vc-bzr.
13258
13259 * vc/vc-arch.el (vc-arch):
13260 * vc/vc-cvs.el (vc-cvs):
13261 * vc/vc-git.el (vc-git):
13262 * vc/vc-hg.el (vc-hg):
13263 * vc/vc-mtn.el (vc-mtn):
13264 * vc/vc-rcs.el (vc-rcs):
13265 * vc/vc-sccs.el (vc-sccs):
13266 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13267 All relevant defcustoms reassigned.
13268
3c9dfce6
CY
132692012-02-25 Chong Yidong <cyd@gnu.org>
13270
1339bf43
CY
13271 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13272
3c9dfce6
CY
13273 * term/x-win.el (x-initialize-window-system): Reduce default for
13274 x-selection-timeout to 5 seconds (Bug#8869).
13275
25b2e303 132762012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13277
ec70a47d
GM
13278 * files.el (files-equal-p, file-subdir-of-p): New functions.
13279 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 13280 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
13281 * dired-aux.el (dired-copy-file-recursive): Same.
13282 (dired-create-files): Modify destination when source is equal to
13283 dest when copying files.
53a46cd0 13284 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 13285
914260cd
MA
132862012-02-24 Michael Albinus <michael.albinus@gmx.de>
13287
13288 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13289 (Bug#10874)
13290
2cb228f7
AM
132912012-02-23 Alan Mackenzie <acm@muc.de>
13292
13293 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13294 parameter "after-hook:" to allow the expansion to run code after
13295 the execution of the mode hooks.
13296
13297 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 13298 from font-lock-mode-internal.
2cb228f7 13299
91027d08 13300 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
13301 :after-hook.
13302
8f0fde21
SM
133032012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13304
3e88618b
SM
13305 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13306 (completion--cache-all-sorted-completions): New function.
13307 (completion-all-sorted-completions): Use it.
13308 (completion--do-completion, minibuffer-force-complete):
13309 Use it to re-instate the flush hook.
13310
8f0fde21
SM
13311 * icomplete.el (icomplete-completions): Replace last fix with a better
13312 one (bug#10850).
13313
8e911f6f
DG
133142012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13315
13316 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13317 when it might call us back infinitely (bug#10797).
13318
49fe4321
GM
133192012-02-23 Glenn Morris <rgm@gnu.org>
13320
13321 * minibuffer.el (completion-category-overrides): Doc fix.
13322
b291b572
SM
133232012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13324
13325 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13326 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13327
31a9ef2e
GM
133282012-02-23 Glenn Morris <rgm@gnu.org>
13329
5e6e6794 13330 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
13331 (authors-obsolete-files-regexps, authors-ignored-files)
13332 (authors-ambiguous-files, authors-renamed-files-alist):
13333 Add more entries.
13334
0bd1e074
JL
133352012-02-23 Juri Linkov <juri@jurta.org>
13336
13337 * isearch.el (isearch-occur): Sync interactive spec with occur's
13338 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13339
b617673c
JL
13340 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13341
19e9789e
JL
133422012-02-22 Juri Linkov <juri@jurta.org>
13343
13344 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13345 (ucs-insert): Doc fix. Check for hex digits in the string.
13346 Don't display `nil' in the error message. (Bug#10857)
13347
f41ce09d
AM
133482012-02-22 Alan Mackenzie <acm@muc.de>
13349
7a71b18d 13350 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 13351
ac2eceee
GM
133522012-02-22 Glenn Morris <rgm@gnu.org>
13353
13354 * ffap.el (ffap-c-path):
13355 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13356
abd1f678
CY
133572012-02-22 Chong Yidong <cyd@gnu.org>
13358
13359 * custom.el (load-theme): Doc fix.
13360
f25aef2e
GM
133612012-02-22 Glenn Morris <rgm@gnu.org>
13362
13363 * dired-x.el (dired-guess-shell-alist-default):
13364 Remove escape sequences from nroff output. (Bug#172)
13365
5f8dc2ca
GM
133662012-02-21 Glenn Morris <rgm@gnu.org>
13367
6ff86ec4
GM
13368 * vc/emerge.el (emerge-defvar-local):
13369 Set `permanent-local' property rather than unused `preserved'.
13370
be3223a3 13371 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
13372 (picture-mode-map): Use it. (Bug#10860)
13373 (picture-mode): Doc fix.
13374
3fe58f4f
JB
133752012-02-21 Juanma Barranquero <lekktu@gmail.com>
13376
13377 * newcomment.el (uncomment-region-default): Remove unused binding.
13378
f9a998c3
GM
133792012-02-21 Glenn Morris <rgm@gnu.org>
13380
13381 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13382 (picture-self-insert, picture-tab-chars): Doc fix.
13383 (picture-mode-map): Fix C-a, C-e.
13384
c6029348
GM
133852012-02-20 Glenn Morris <rgm@gnu.org>
13386
13387 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13388
ab1ce9d7
LL
133892012-02-20 Leo Liu <sdl.web@gmail.com>
13390
13391 * icomplete.el (icomplete-completions): Check FROM arg before
13392 passing to substring (Bug#10850).
13393
0fd40f89
CY
133942012-02-19 Chong Yidong <cyd@gnu.org>
13395
13396 * comint.el: Require ansi-color.
13397 (comint-output-filter-functions): Add ansi-color-process-output.
13398
13399 * ansi-color.el: Don't set comint-output-filter-functions; it is
13400 now in the initial value defined in comint.el.
13401 (ansi-color-apply-face-function): New variable.
13402 (ansi-color-apply-on-region): Use it.
13403 (ansi-color-apply-overlay-face): New function.
13404
13405 * shell.el (shell): No need to require ansi-color.
13406 (shell-mode): Use ansi-color-apply-face-function to highlight
13407 color escapes using font-lock-face property (Bug#10835).
13408
20af2394
CY
134092012-02-19 Chong Yidong <cyd@gnu.org>
13410
13411 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13412 mode-line formats (Bug#10839).
13413
e23a3fbe
GM
134142012-02-18 Glenn Morris <rgm@gnu.org>
13415
b474519e
GM
13416 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13417
13418 * mail/undigest.el (unforward-rmail-message): Doc fix.
13419
e23a3fbe
GM
13420 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13421
57939ff4
EZ
134222012-02-18 Eli Zaretskii <eliz@gnu.org>
13423
13424 * international/characters.el (script-list): Sync with the latest
13425 Unicode Character Database.
13426
0c23686e
AS
134272012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13428
13429 * international/titdic-cnv.el: Remove duplicate coding tag.
13430 * language/cham.el: Likewise.
13431 * language/tai-viet.el: Likewise.
13432
6818b449
GM
134332012-02-18 Glenn Morris <rgm@gnu.org>
13434
13435 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13436 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13437 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13438 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13439 * calendar/holidays.el (holiday-bahai-holidays)
13440 (calendar-holidays, list-holidays):
13441 Use utf-8 Bahá'í in doc-strings, menus, etc.
13442
0311a3fc
TH
134432012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13444
13445 * saveplace.el (save-place-ignore-files-regexp): New variable
13446 allowing for excluding files from saving their location of point.
13447 The default value matches the temporary commit message editing
13448 files from Git, SVN, Bazaar, and Mercurial.
13449 (save-place-to-alist): Use it.
13450
d209e2fb 134512012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 13452 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
13453
13454 * newcomment.el (uncomment-region-default): Don't leave extra space
13455 when an arg is provided (bug#8150).
13456
ee0ce425
TZ
134572012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13458
eb864a71 13459 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 13460
95ddf442
GM
134612012-02-17 Glenn Morris <rgm@gnu.org>
13462
13463 * net/socks.el: Require network-stream. (Bug#10599)
13464
48dd1e39 134652012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
13466
13467 * international/charprop.el:
13468 * international/uni-name.el:
13469 * international/uni-old-name.el:
13470 * international/uni-comment.el: Regenerate.
13471
d68cd087
GM
134722012-02-16 Glenn Morris <rgm@gnu.org>
13473
13474 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13475 Interactively in calendar buffer, give an error if not on a date.
13476
13932042
GM
134772012-02-15 Glenn Morris <rgm@gnu.org>
13478
13479 * shell.el (shell-delimiter-argument-list):
13480 Revert 2011-02-17 change. (Bug#8027)
13481
c3a70e2b
CY
134822012-02-15 Chong Yidong <cyd@gnu.org>
13483
60236b0d
CY
13484 * minibuffer.el (completion-at-point-functions): Doc fix.
13485
c3a70e2b
CY
13486 * custom.el (defcustom): Doc fix; note use of defvar.
13487
9f26dc24
GM
134882012-02-15 Glenn Morris <rgm@gnu.org>
13489
13490 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13491 Doc fixes.
13492
6546b134
GM
134932012-02-14 Glenn Morris <rgm@gnu.org>
13494
13495 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13496
d29b2b4c
LI
134972012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13498
13499 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13500 way the ports list is computed.
835bdcba
LI
13501 (smtpmail-query-smtp-server): Prompt the user for a port number if
13502 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 13503
08dcdbc9
TZ
135042012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13505
13506 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13507
2605051a
GM
135082012-02-13 Glenn Morris <rgm@gnu.org>
13509
13510 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13511
7ee99f32
TZ
135122012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13513
13514 * net/gnutls.el (gnutls-trustfiles): New variable.
13515 (gnutls-negotiate): Use it.
13516
5f0af64f
LI
135172012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13518
13519 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13520 does its stuff if Gnus is running.
13521
c14fcc95
AM
135222012-02-13 Alan Mackenzie <acm@muc.de>
13523
13524 Fix a loop in c-set-fl-decl-start.
13525
7a71b18d 13526 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
13527 c-backward-syntactic-ws actually moves backwards.
13528
142b4d90
LL
135292012-02-13 Leo Liu <sdl.web@gmail.com>
13530
13531 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13532 beginning so that all \C-o chars are removed.
13533
fa9958a6
TZ
135342012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13535
dc9924b8 13536 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 13537
0bc5886a
AM
135382012-02-12 Alan Mackenzie <acm@muc.de>
13539
13540 Fix infinite loop with long macros.
4d6769e1 13541 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 13542
d4bd55e7
CY
135432012-02-12 Chong Yidong <cyd@gnu.org>
13544
13545 * window.el (display-buffer): Doc fix (Bug#10785).
13546
66f3fe22
GM
135472012-02-12 Glenn Morris <rgm@gnu.org>
13548
bd7da63e
GM
13549 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13550 (x-disown-selection-internal, x-get-selection-internal):
13551 Sync docs with the xselect.c versions.
13552
66f3fe22
GM
13553 * allout-widgets.el: Add missing license notice.
13554
3e0d2fa7
GM
135552012-02-11 Glenn Morris <rgm@gnu.org>
13556
cfecdf09
GM
13557 * select.el (x-get-selection-internal, x-own-selection-internal)
13558 (x-disown-selection-internal):
13559 * x-dnd.el (x-get-selection-internal): Update declarations.
13560
6d216d7f
GM
13561 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13562
2bed3f04
GM
13563 * window.el (window-sides-slots):
13564 * tool-bar.el (tool-bar-position):
13565 * term/xterm.el (xterm-extra-capabilities):
13566 * ses.el (ses-self-reference-early-detection):
13567 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13568 (verilog-auto-wire-type)
13569 (verilog-auto-delete-trailing-whitespace)
13570 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13571 (verilog-auto-tieoff-declaration):
13572 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13573 (sql-oracle-statement-starters, sql-oracle-scan-on):
13574 * progmodes/prolog.el (prolog-align-comments-flag)
13575 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13576 (prolog-left-indent-regexp, prolog-paren-indent-p)
13577 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13578 (prolog-types, prolog-mode-specificators)
13579 (prolog-determinism-specificators, prolog-directives)
13580 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13581 (prolog-electric-dot-flag)
13582 (prolog-electric-dot-full-predicate-template)
13583 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13584 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13585 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13586 (prolog-program-switches, prolog-prompt-regexp)
13587 (prolog-debug-on-string, prolog-debug-off-string)
13588 (prolog-trace-on-string, prolog-trace-off-string)
13589 (prolog-zip-on-string, prolog-zip-off-string)
13590 (prolog-use-standard-consult-compile-method-flag)
13591 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13592 (prolog-imenu-max-lines, prolog-info-predicate-index)
13593 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13594 (prolog-char-quote-workaround):
13595 * progmodes/cc-vars.el (c-defun-tactic):
13596 * net/tramp.el (tramp-encoding-command-interactive)
13597 (tramp-local-end-of-line):
13598 * net/soap-client.el (soap-client):
13599 * net/netrc.el (netrc-file):
13600 * net/gnutls.el (gnutls):
13601 * minibuffer.el (completion-category-overrides)
13602 (completion-cycle-threshold)
13603 (completion-pcm-complete-word-inserts-delimiters):
13604 * man.el (Man-name-local-regexp):
13605 * mail/feedmail.el (feedmail-display-full-frame):
13606 * international/characters.el (glyphless-char-display-control):
13607 * eshell/em-ls.el (eshell-ls-date-format):
13608 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13609 (lisp-lambda-list-keyword-parameter-indentation)
13610 (lisp-lambda-list-keyword-parameter-alignment):
13611 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13612 * dired-x.el (dired-omit-verbose):
13613 * cus-theme.el (custom-theme-allow-multiple-selections):
13614 * calc/calc.el (calc-highlight-selections-with-faces)
13615 (calc-lu-field-reference, calc-lu-power-reference)
13616 (calc-note-threshold):
13617 * battery.el (battery-mode-line-limit):
13618 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13619 (archive-7z-update):
13620 * allout.el (allout-prefixed-keybindings)
13621 (allout-unprefixed-keybindings)
13622 (allout-inhibit-auto-fill-on-headline)
13623 (allout-flattened-numbering-abbreviation):
13624 * allout-widgets.el (allout-widgets-auto-activation)
13625 (allout-widgets-icons-dark-subdir)
13626 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13627 (allout-widgets-theme-dark-background)
13628 (allout-widgets-theme-light-background)
13629 (allout-widgets-item-image-properties-emacs)
13630 (allout-widgets-item-image-properties-xemacs)
13631 (allout-widgets-run-unit-tests-on-load)
13632 (allout-widgets-time-decoration-activity)
13633 (allout-widgets-hook-error-post-time)
13634 (allout-widgets-track-decoration):
13635 Add missing :version tags to new defcustoms and defgroups.
13636
5fec1b8e
GM
13637 * progmodes/sql.el (sql-ansi-statement-starters)
13638 (sql-oracle-statement-starters): Add custom type.
13639
3e0d2fa7
GM
13640 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13641 (prolog-system-version): Give it a type.
13642
90b671e2
EZ
136432012-02-11 Eli Zaretskii <eliz@gnu.org>
13644
13645 * term/pc-win.el (x-select-text, x-selection-owner-p)
13646 (x-own-selection-internal, x-disown-selection-internal)
13647 (x-get-selection-internal): Sync doc strings and argument lists
13648 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13649
5eac0c02
LL
136502012-02-11 Leo Liu <sdl.web@gmail.com>
13651
13652 * progmodes/python.el (python-end-of-statement): Fix infinite
13653 loop. (Bug#10788)
13654
f82cb659
GM
136552012-02-10 Glenn Morris <rgm@gnu.org>
13656
13657 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13658 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13659
cc26d239
LI
136602012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13661
13662 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13663 about SMTP before checking the From header.
13664
91027d08 13665 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
13666 into own function for reuse by emacsbug.el.
13667
1be3ca5a
LL
136682012-02-10 Leo Liu <sdl.web@gmail.com>
13669
13670 * subr.el (condition-case-unless-debug): Rename from
13671 condition-case-no-debug. All callers changed.
13672 (with-demoted-errors): Fix caller.
13673
13674 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13675 * nxml/rng-valid.el (rng-do-some-validation):
13676 * emacs-lisp/package.el (package-refresh-contents)
13677 (package-menu-execute):
13678 * desktop.el (desktop-create-buffer):
91027d08 13679 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 13680
b011fbfe
GM
136812012-02-10 Glenn Morris <rgm@gnu.org>
13682
b2096d72
GM
13683 * textmodes/bibtex.el:
13684 Add missing :version tags for new/changed defcustoms.
13685
b011fbfe
GM
13686 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13687
4c7e65bf
LI
136882012-02-09 Lars Ingebrigtsen <larsi@rusty>
13689
13690 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13691 (smtpmail-via-smtp): Use it, or fall back on the From address.
13692 (smtpmail-send-it): Ditto.
13693
f3934f6f
SM
136942012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13695
13696 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13697 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13698 (byte-compile-tmp-var): New const.
13699 (byte-compile-defvar): Use it to minimize .elc size.
13700 Just use `defvar' rather than simulate it (bug#10761).
13701
a075a2c5
GM
137022012-02-09 Glenn Morris <rgm@gnu.org>
13703
cf3aa21b
GM
13704 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13705
354998cd
GM
13706 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13707 Add :version tags.
13708
dc9924b8
SM
13709 * progmodes/compile.el (compilation-error-screen-columns)
13710 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 13711
dab3703d
GM
13712 * vc/log-view.el (log-view-toggle-entry-display):
13713 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13714
3f88cd72
GM
13715 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13716 (report-emacs-bug-can-use-xdg-email):
13717 (report-emacs-bug-insert-to-mailer): Doc fixes.
13718 (report-emacs-bug): Message fix.
13719
d95b247d
GM
13720 * net/browse-url.el (browse-url-can-use-xdg-open)
13721 (browse-url-xdg-open): Doc fixes.
13722
a075a2c5
GM
13723 * electric.el (electric-indent-mode, electric-pair-mode)
13724 (electric-layout-rules, electric-layout-mode): Doc fixes.
13725 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13726
ffb6157e
MR
137272012-02-08 Martin Rudalics <rudalics@gmx.at>
13728
13729 * server.el (server-unselect-display): Don't inadvertently kill
13730 the current buffer. (Bug#10729)
13731
e1ac4066
GM
137322012-02-08 Glenn Morris <rgm@gnu.org>
13733
34e8a2da
GM
13734 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13735 (sql-list-table): Doc fixes.
13736
b4ac6e8c
GM
13737 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13738 Comment out (does nothing).
13739
e1ac4066
GM
13740 * completion.el (dynamic-completion-mode):
13741 * dirtrack.el (dirtrack-debug-mode):
13742 * electric.el (electric-layout-mode):
13743 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13744 * face-remap.el (text-scale-mode, buffer-face-mode):
13745 * iimage.el (iimage-mode):
13746 * image-mode.el (image-transform-mode):
13747 * minibuffer.el (completion-in-region-mode):
13748 * scroll-lock.el (scroll-lock-mode):
13749 * simple.el (next-error-follow-minor-mode):
13750 * tar-mode.el (tar-subfile-mode):
13751 * tooltip.el (tooltip-mode):
13752 * vcursor.el (vcursor-use-vcursor-map):
13753 * wid-browse.el (widget-minor-mode):
13754 * emulation/tpu-edt.el (tpu-edt-mode):
13755 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13756 * international/iso-ascii.el (iso-ascii-mode):
13757 * language/thai-util.el (thai-word-mode):
13758 * mail/supercite.el (sc-minor-mode):
13759 * net/goto-addr.el (goto-address-mode):
13760 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13761 * progmodes/cwarn.el (cwarn-mode):
13762 * progmodes/flymake.el (flymake-mode):
13763 * progmodes/glasses.el (glasses-mode):
13764 * progmodes/hideshow.el (hs-minor-mode):
13765 * progmodes/pascal.el (pascal-outline-mode):
13766 * textmodes/enriched.el (enriched-mode):
13767 * vc/smerge-mode.el (smerge-mode):
13768 Doc fixes (minor mode argument).
13769
5e0d957f
EZ
137702012-02-07 Eli Zaretskii <eliz@gnu.org>
13771
13772 * ls-lisp.el (ls-lisp-sanitize): New function.
13773 (ls-lisp-insert-directory): Use it to fix or remove any elements
13774 in file-alist with missing attributes. (Bug#4673)
13775
98d7371e
AM
137762012-02-07 Alan Mackenzie <acm@muc.de>
13777
13778 Fix spurious recognition of c-in-knr-argdecl.
13779
13780 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13781 putative K&R region.
13782
667ced3a
AM
137832012-02-07 Alan Mackenzie <acm@muc.de>
13784
eb864a71
LM
13785 * progmodes/cc-engine.el (c-forward-objc-directive):
13786 Prevent looping in "#pragma mark @implementation".
667ced3a 13787
5b77774d
MA
137882012-02-07 Michael Albinus <michael.albinus@gmx.de>
13789
13790 * notifications.el (notifications-on-closed-signal): Make `reason'
13791 optional. (Bug#10744)
13792
af008560
GM
137932012-02-07 Glenn Morris <rgm@gnu.org>
13794
60d47423
GM
13795 * emacs-lisp/easy-mmode.el (define-minor-mode):
13796 Doc fixes for the macro and the mode it defines.
13797
dd605cc4
GM
13798 * image.el (imagemagick-types-inhibit): Doc fix.
13799
af008560
GM
13800 * cus-start.el (imagemagick-render-type): Add it.
13801
5cc59a37
LI
138022012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13803
4d6769e1
JB
13804 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13805 Set the default at load time, too, so that `font-lock-fontify-buffer'
13806 can be called without setting up the entire mode first. This fixes
13807 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 13808
9a6dd747
CY
138092012-02-06 Chong Yidong <cyd@gnu.org>
13810
2d16b285
CY
13811 * simple.el (list-processes--refresh): Delete exited processes
13812 (Bug#8094).
13813
171e9b6e
CY
13814 * comint.el (comint-next-prompt): next-single-char-property-change
13815 and prev-single-char-property-change never return nil (Bug#8657).
13816
9a6dd747
CY
13817 * custom.el (defcustom): Doc fix (Bug#9711).
13818
aa4589a7
CY
138192012-02-05 Chong Yidong <cyd@gnu.org>
13820
5c2a252f
CY
13821 * cus-edit.el (custom-variable-reset-backup): Quote the value
13822 before storing it in the customized-value property (Bug#6712).
4aab9006 13823 (custom-display): Add a customization type tag.
983b9602 13824 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 13825
aa4589a7
CY
13826 * wid-edit.el (widget-field-value-get): New optional arg to
13827 suppress trailing whitespace truncation.
13828 (character): Use it (Bug#2689).
13829
1ff980ae
AS
138302012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13831
13832 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13833 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13834
03988c98
CY
138352012-02-05 Chong Yidong <cyd@gnu.org>
13836
eeb6cc88
CY
13837 * cus-edit.el (custom-variable-value-create): For mismatched
13838 types, show the current value (Bug#7600).
13839
03988c98
CY
13840 * custom.el (defcustom): Doc fix.
13841
f8cdeef0
GM
138422012-02-05 Glenn Morris <rgm@gnu.org>
13843
13844 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13845
0696d255
JB
138462012-02-05 Juanma Barranquero <lekktu@gmail.com>
13847
13848 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13849 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13850 (pp-last-sexp): Use `looking-at-p'.
13851
34c99998
GM
138522012-02-04 Glenn Morris <rgm@gnu.org>
13853
8f05da42
GM
13854 * files.el (revert-buffer):
13855 Doc fix (mention revert-buffer-in-progress-p).
13856
f160676e
GM
13857 * emacs-lisp/ert-x.el (ert-simulate-command):
13858 Check deferred-action-list (which is obsolete) is bound.
13859
c7291ad9
GM
13860 * subr.el (with-wrapper-hook): Doc fixes.
13861
34c99998
GM
13862 * simple.el (filter-buffer-substring-functions)
13863 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13864
6283a7d3
LL
138652012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13866
13867 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13868 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13869
e96e3013
LL
138702012-02-04 Leo Liu <sdl.web@gmail.com>
13871
13872 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13873
8ded50f2
GM
138742012-02-04 Glenn Morris <rgm@gnu.org>
13875
82ff1d13
GM
13876 * image.el (image-extension-data): Add obsolete alias.
13877
987a0a16
GM
13878 * isearch.el (isearch-update): Doc fix.
13879
ea32ef46
GM
13880 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13881
8ded50f2
GM
13882 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13883
eea14f31
GM
138842012-02-03 Glenn Morris <rgm@gnu.org>
13885
13886 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13887 (image-animate-timeout): Doc fix.
13888
13889 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13890
12f381b7
GM
138912012-02-02 Glenn Morris <rgm@gnu.org>
13892
953cebf5
GM
13893 * server.el (server-auth-dir): Doc fix.
13894 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13895
12f381b7
GM
13896 * subr.el (run-mode-hooks): Doc fix.
13897
953a8c3b
JL
138982012-02-02 Juri Linkov <juri@jurta.org>
13899
13900 * image-mode.el (image-toggle-display-image): Remove tautological
13901 `major-mode' from the `derived-mode-p' test.
13902
c5d3843c
KH
139032012-02-02 Kenichi Handa <handa@m17n.org>
13904
9f6e692e 13905 * composite.el (compose-region): Cancel previous change.
c5d3843c 13906
159462d4 139072012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
13908
13909 * composite.el (compose-region, compose-string): Signal error for
13910 a null string component (Bug#6988).
13911
9f562668
CY
139122012-02-01 Chong Yidong <cyd@gnu.org>
13913
e2cef717
CY
13914 * view.el (view-buffer-other-window, view-buffer-other-frame):
13915 Handle special modes like view-buffer (Bug#10650).
13916 (view-buffer): Simplify.
13917
9f562668
CY
13918 * frame.el (set-frame-font): Tweak meaning of third argument.
13919
9f6e692e
JB
13920 * dynamic-setting.el (font-setting-change-default-font):
13921 Use set-frame-font (Bug#9982).
9f562668 13922
781acb9f
GM
139232012-02-01 Glenn Morris <rgm@gnu.org>
13924
6035be52
GM
13925 * progmodes/compile.el (compilation-internal-error-properties):
13926 Respect compilation-first-column in the "*compilation*" buffer.
13927
781acb9f
GM
13928 * emacs-lisp/easy-mmode.el (define-minor-mode):
13929 Relax :variable's test for a named function.
13930
abbceb00
AM
139312012-01-31 Alan Mackenzie <acm@muc.de>
13932
13933 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13934 off by one error.
13935
fce3fdeb
CY
139362012-01-31 Chong Yidong <cyd@gnu.org>
13937
13938 * frame.el (set-frame-font): New arg ALL-FRAMES.
13939
13940 * menu-bar.el (menu-set-font): Use set-frame-font.
13941
13942 * faces.el (face-spec-reset-face): Don't apply unspecified
13943 attribute values to the default face.
13944
47893581
JB
139452012-01-31 Juanma Barranquero <lekktu@gmail.com>
13946
13947 * progmodes/cwarn.el (cwarn): Remove dead link.
13948 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13949 Remove * from defcustom docstrings.
13950 (turn-on-cwarn-mode): Make obsolete.
13951 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13952 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13953
e58e988a
GM
139542012-01-31 Glenn Morris <rgm@gnu.org>
13955
60dc2671 13956 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 13957 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 13958 Allow named functions to be used as the cdr of :variable.
e58e988a 13959
7a3f511d
GM
139602012-01-30 Glenn Morris <rgm@gnu.org>
13961
13962 * emacs-lisp/authors.el (authors-fixed-entries):
13963 Remove reference to deleted file rnewspost.el.
13964
cb882333
JB
139652012-01-29 Juanma Barranquero <lekktu@gmail.com>
13966
13967 * window.el (window-with-parameter): Remove unused variable `windows'.
13968 (window--side-check): Remove unused variable `code'.
13969 (window--resize-siblings): Remove unused variable `first'.
13970 (adjust-window-trailing-edge): Remove unused variable `failed'.
13971 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13972 Use `let', not `let*'.
13973 (balance-windows-2): Remove unused variable `found'.
13974 (window--state-put-2): Remove unused variable `splits'.
13975 (window-state-put): Remove unused variable `selected'.
13976 (same-window-p): Use `string-match-p'.
13977 (display-buffer-assq-regexp): Remove unused variable `value'.
13978 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13979 Mark argument ALIST as ignored.
13980 (pop-to-buffer): Remove unused variable `old-window'.
13981
907201af
EZ
139822012-01-29 Eli Zaretskii <eliz@gnu.org>
13983
13984 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13985 and .lzma compressed files.
13986
ea162670
CY
139872012-01-29 Chong Yidong <cyd@gnu.org>
13988
5b95ee8a
CY
13989 * frame.el (window-system-default-frame-alist): Doc fix.
13990
ea162670
CY
13991 * dynamic-setting.el (font-setting-change-default-font): Don't
13992 change the default face if SET-FONT argument is non-nil (Bug#9982).
13993
6fccd6e8 139942012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
13995
13996 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13997
0f29fa41 139982012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
13999
14000 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14001 breakpoints in files outside current directory (Bug#6098).
14002
db174434
CY
140032012-01-29 Chong Yidong <cyd@gnu.org>
14004
6b25e4e2
SE
14005 * progmodes/python.el: Require ansi-color at top-level.
14006
6df6ae42
JB
14007 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14008 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
14009 (lisp-mode-abbrev-table): Add doc.
14010 (lisp-mode-variables): Don't set local-abbrev-table.
14011 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14012
e70ee681
RW
140132012-01-28 Roland Winkler <winkler@gnu.org>
14014
14015 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14016
ace88aa2
RW
140172012-01-28 Roland Winkler <winkler@gnu.org>
14018
14019 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14020 (bibtex-set-dialect): Use it. Either set global values of
14021 dialect-dependent variables or bind these variables buffer-locally
14022 (Bug#10254).
14023 (bibtex-mode): Call bibtex-set-dialect via
14024 hack-local-variables-hook.
eb864a71
LM
14025 (bibtex-dialect): Update docstring.
14026 Add safe-local-variable predicate.
ace88aa2
RW
14027 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14028 bibtex-set-dialect.
14029 (bibtex-mode-map): Define menu for each dialect.
14030 (bibtex-entry): Fix docstring.
14031
93376c5b
CY
140322012-01-28 Chong Yidong <cyd@gnu.org>
14033
14034 * eshell/esh-arg.el (eshell-quote-argument): New function.
14035
14036 * eshell/esh-ext.el (eshell-invoke-batch-file):
14037 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14038 first arg to eshell-parse-command (Bug#10523).
14039
4372494f
DA
140402012-01-28 Drew Adams <drew.adams@oracle.com>
14041
14042 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14043 `default-directory' is non-nil.
14044
4d4ec1f8
EZ
140452012-01-28 Eli Zaretskii <eliz@gnu.org>
14046
14047 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14048 line that displays system-configuration-options. (Bug#9924)
14049
7c188927
DA
140502012-01-28 Drew Adams <drew.adams@oracle.com>
14051
14052 * descr-text.el (describe-char): Show information about POS, in
14053 addition to information about the character at POS. Improve and
14054 update the doc string. Change "code point" to "code point in
14055 charset", to avoid confusion with the character's Unicode code
14056 point shown above that. (Bug#10129)
14057
e0da685a
EZ
140582012-01-28 Eli Zaretskii <eliz@gnu.org>
14059
14060 * descr-text.el (describe-char): Show the raw character, not only
14061 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14062 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14063 for the reasons.
14064
70550acf
PH
140652012-01-28 Phil Hagelberg <phil@hagelb.org>
14066
eb864a71
LM
14067 * emacs-lisp/package.el (package-install):
14068 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 14069
0ce8e868
CY
140702012-01-28 Chong Yidong <cyd@gnu.org>
14071
cb882333
JB
14072 * emacs-lisp/package.el (package-maybe-load-descriptor):
14073 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
14074 (package-maybe-load-descriptor): Use it.
14075 (package-download-transaction): Fully load required packages
14076 inside the loop, so that `require' calls work (Bug#10593).
14077 (package-install): No need to call package-initialize now.
14078
2e7f3bea
CY
140792012-01-28 Chong Yidong <cyd@gnu.org>
14080
6e9bad14
CY
14081 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14082
f823b8ca
CY
14083 * tooltip.el (tooltip-mode): Doc fix.
14084 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14085
2680c309
CY
14086 * frame.el (set-cursor-color): Doc fix (Bug#352).
14087
d7a9e63b
CY
14088 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14089 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14090
2e7f3bea
CY
14091 * cus-edit.el (custom-buffer-create-internal): Fix search button
14092 action (Bug#10542).
2ae01800 14093 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 14094
fc4f7a23
EW
140952012-01-27 Eduard Wiebe <usenet@pusto.de>
14096
14097 * dired.el (dired-mark-files-regexp):
14098 Include any subdirectory components. (Bug#10445)
14099
7dd37071
ML
141002012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14101
14102 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14103 Handle [host]:port syntax. (Bug#10533)
14104
a268160b
AH
141052012-01-27 Alex Harsanyi <harsanyi@mac.com>
14106
14107 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14108
e43273ef
GM
141092012-01-26 Glenn Morris <rgm@gnu.org>
14110
14111 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14112 * term.el (term-raw-escape-map): Use Control-X-prefix.
14113 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14114
1edf595d
MR
141152012-01-25 Martin Rudalics <rudalics@gmx.at>
14116
14117 * window.el (window-state-get, window--state-get-1): Don't deal
14118 with fixed-sizeness of windows. Simplify code.
14119
fa8eafef
JC
141202012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14121
6df6ae42
JB
14122 * window.el (window--state-get-1, window--state-put-2):
14123 Don't save and restore the mark.
fa8eafef 14124
0b21c100
CY
141252012-01-25 Chong Yidong <cyd@gnu.org>
14126
14127 * custom.el (custom-variable-p): Doc fix.
14128
5ae1a6c8
GM
141292012-01-25 Glenn Morris <rgm@gnu.org>
14130
40047858
GM
14131 * dired.el (dired-goto-file): Handle some of the more common
14132 characters that `ls -b' escapes. (Bug#10596)
14133
5ddce96c
GM
14134 * progmodes/compile.el (compilation-next-error-function):
14135 Respect compilation-first-column in the "*compilation*" buffer.
14136 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14137
5ae1a6c8
GM
14138 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14139
b559f1a9
GM
141402012-01-24 Glenn Morris <rgm@gnu.org>
14141
14142 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14143
6725d21a
JD
141442012-01-24 Julien Danjou <julien@danjou.info>
14145
14146 * color.el (color-rgb-to-hsl): Fix value computing.
14147 (color-hue-to-rgb): New function.
14148 (color-hsl-to-rgb): New function.
14149 (color-clamp, color-saturate-hsl, color-saturate-name)
14150 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14151 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14152
70df4bbe
GM
141532012-01-24 Glenn Morris <rgm@gnu.org>
14154
14155 * vc/vc-rcs.el (vc-rcs-create-tag):
14156 * vc/vc-sccs.el (vc-sccs-create-tag):
14157 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14158
802a2ae2
ML
141592012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14160
14161 * eshell/esh-util.el (eshell-read-hosts-file):
14162 Skip comment lines. (Bug#10549)
14163
d7128bb1
ML
14164 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14165
d1a5c3b4
JB
141662012-01-23 Juanma Barranquero <lekktu@gmail.com>
14167
2724d9c7
JB
14168 * subr.el (display-delayed-warnings): Doc fix.
14169 (collapse-delayed-warnings): New function to collapse identical
14170 adjacent warnings.
14171 (delayed-warnings-hook): Add it.
d1a5c3b4 14172
a5509865
MA
141732012-01-22 Michael Albinus <michael.albinus@gmx.de>
14174
14175 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14176
a5509865
MA
14177 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14178 (tramp-default-user-alist): Don't add "pscp".
14179 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14180 property "login-as", if set. (Bug#10530)
14181
cc6d5805
MA
141822012-01-21 Michael Albinus <michael.albinus@gmx.de>
14183
14184 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14185 "plink1" and "psftp". (Bug#10530)
14186
141872012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
14188
14189 * international/mule-cmds.el (prefer-coding-system): Show a
14190 warning message if the default value of file-name-coding-system
14191 was not changed.
14192
f0960428
JC
141932012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14194
cb882333
JB
14195 * windmove.el (windmove-reference-loc):
14196 Fix windmove-reference-loc miscalculation.
f0960428 14197
dd6f2a63
JB
141982012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14199
14200 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14201 default unit.
14202
7b447e9b
GM
142032012-01-21 Glenn Morris <rgm@gnu.org>
14204
117a9ea1
GM
14205 * international/mule.el (auto-coding-alist): Add .tbz.
14206
7b447e9b
GM
14207 * files.el (local-enable-local-variables): Doc fix.
14208 (inhibit-local-variables-regexps): Rename from
14209 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14210 Doc fix. Add some extensions from auto-coding-alist.
14211 (inhibit-local-variables-suffixes):
14212 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14213 (inhibit-local-variables-p):
14214 New function, extracted from set-auto-mode-1.
14215 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14216 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14217 (hack-local-variables): Doc fix. Make the mode-only case
14218 respect enable-local-variables and friends.
14219 Respect inhibit-local-variables-regexps for file-locals, but
14220 not for directory-locals.
14221 (set-visited-file-name):
14222 Take account of inhibit-local-variables-regexps.
14223 Whether it applies may change as the file name is changed.
14224 * jka-cmpr-hook.el (jka-compr-install):
14225 * jka-compr.el (jka-compr-uninstall):
14226 Update for inhibit-first-line-modes-suffixes name change.
14227
dd6e3cdd
MR
142282012-01-20 Martin Rudalics <rudalics@gmx.at>
14229
14230 * help-macro.el (make-help-screen): Temporarily restore original
14231 binding for minor-mode-map-alist (Bug#10454).
14232
0d0deb38
JD
142332012-01-19 Julien Danjou <julien@danjou.info>
14234
14235 * color.el (color-name-to-rgb): Use the white color to find the max
14236 color component value and return correctly computed values.
14237 (color-name-to-rgb): Add missing float conversion for max value.
14238
34a02f46
MR
142392012-01-19 Martin Rudalics <rudalics@gmx.at>
14240
14241 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
14242 special state value for window-persistent-parameters.
14243 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
14244 (window--state-put-2): Reset all window parameters to nil before
14245 assigning values of persistent parameters.
14246
606c44c4
AM
142472012-01-18 Alan Mackenzie <acm@muc.de>
14248
14249 Eliminate sluggishness and hangs in fontification of "semicolon
14250 deserts".
14251
cb882333
JB
14252 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14253 Change value 10000 -> 3000.
606c44c4
AM
14254 (c-state-safe-place): Reformulate so it doesn't stack up an
14255 infinite number of wrong entries in c-state-nonlit-pos-cache.
14256 (c-determine-limit-get-base, c-determine-limit): New functions to
14257 determine backward search limits disregarding literals.
14258 (c-find-decl-spots): Amend commenting.
14259 (c-cheap-inside-bracelist-p): New function which detects "={".
14260
14261 * progmodes/cc-fonts.el
14262 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14263 backward search.
14264 (c-font-lock-declarations): Fix an occurrence of point being
14265 undefined. Check additionally for point being in a bracelist or
14266 near a macro invocation without a semicolon so as to avoid a
14267 fruitless time consuming search for a declarator. Give a more
14268 precise search limit for declarators using the new
14269 c-determine-limit.
14270
f3860cea
GM
142712012-01-18 Glenn Morris <rgm@gnu.org>
14272
14273 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14274 (set-auto-mode): Doc fixes.
14275
1db03b16
GM
142762012-01-17 Glenn Morris <rgm@gnu.org>
14277
0e6038be
GM
14278 * isearch.el (search-nonincremental-instead): Fix doc typo.
14279
1db03b16
GM
14280 * dired.el (dired-insert-directory): Handle newlines in directory name.
14281 (dired-build-subdir-alist): Unescape newlines in directory name.
14282
4cb0aa75
MA
142832012-01-17 Michael Albinus <michael.albinus@gmx.de>
14284
14285 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14286 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14287 (tramp-action-terminal): Use it. (Bug#10530)
14288
1d00653d
SM
142892012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14292
6a6ee00d
MR
142932012-01-16 Martin Rudalics <rudalics@gmx.at>
14294
14295 * window.el (window-state-ignored-parameters): Remove variable.
14296 (window--state-get-1): Rename argument MARKERS to IGNORE.
14297 Handle persistent window parameters. Make copy of clone-of
14298 parameter only if requested. (Bug#10348)
14299 (window--state-put-2): Install a window parameter only if it has
14300 a non-nil value or an existing parameter shall be overwritten.
14301
97912def
MA
143022012-01-15 Michael Albinus <michael.albinus@gmx.de>
14303
14304 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14305
688070a5
EZ
143062012-01-14 Eli Zaretskii <eliz@gnu.org>
14307
14308 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14309 don't pass the (nil) value of `upnode' to string-match.
14310
301afadc
CY
143112012-01-14 Chong Yidong <cyd@gnu.org>
14312
14313 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 14314 Fix values recognized by the cursorBlink resource.
301afadc 14315
9e5788aa
PE
143162012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14317
14318 * epg.el (epg--make-temp-file): Avoid permission race condition
14319 when running on old Emacs versions (bug#10403).
14320
3cdb7f5a
GM
143212012-01-14 Glenn Morris <rgm@gnu.org>
14322
14323 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14324
8c82b1b4
AM
143252012-01-13 Alan Mackenzie <acm@muc.de>
14326
14327 Fix filling for when filladapt mode is enabled.
14328
14329 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14330 c-mask-paragraph, pass in `fill-paragraph' rather than
14331 `fill-region-as-paragraph'. (This is a reversion of a previous
14332 change.)
eb864a71
LM
14333 * progmodes/cc-mode.el (c-basic-common-init):
14334 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 14335
e517eda4
GM
143362012-01-13 Glenn Morris <rgm@gnu.org>
14337
1498536e
GM
14338 * dired.el (dired-switches-escape-p): New function.
14339 (dired-insert-directory): Use dired-switches-escape-p.
14340 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14341
e517eda4
GM
14342 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14343
328f984d
GM
143442012-01-12 Glenn Morris <rgm@gnu.org>
14345
14346 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14347 changes in adaptive-fill-regexp. (Bug#10276)
14348
2cc769a8
AM
143492012-01-11 Alan Mackenzie <acm@muc.de>
14350
14351 Fix Emacs bug #10463 - put `widen's around the critical spots.
14352
1d00653d 14353 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
14354 widen around each invocation of c-state-pp-to-literal. Remove an
14355 unused let variable.
14356
e52c37fa
GM
143572012-01-11 Glenn Morris <rgm@gnu.org>
14358
14359 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 14360 Doc fix.
e52c37fa 14361
96f8741e
CY
143622012-01-10 Chong Yidong <cyd@gnu.org>
14363
1d00653d
SM
14364 * net/network-stream.el (network-stream-open-starttls):
14365 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
14366 response to the capability command.
14367
b09a806e
GM
143682012-01-10 Glenn Morris <rgm@gnu.org>
14369
14370 * mail/unrmail.el (unrmail): Tweak previous change.
14371
7655cb66
CY
143722012-01-09 Chong Yidong <cyd@gnu.org>
14373
14374 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14375
9d5a8f0b
AM
143762012-01-08 Alan Mackenzie <acm@muc.de>
14377
677d5c92 14378 Optimize font locking in long enum definitions.
9d5a8f0b
AM
14379
14380 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14381 arm to a cond form to handle enums.
14382 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14383 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14384
9a0115ab 143852012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
14386
14387 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 14388 (Bug#10401)
6bb72cbd 14389
f186bb95
LMI
143902012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14391
29232a68
LMI
14392 * faces.el (set-face-attribute): Clarify the meaning of the nil
14393 frame (bug#10294).
14394
4e5d086d
LMI
14395 * subr.el (with-selected-frame): Mention that the selected frame
14396 is restored (bug#9980).
14397
8e66aebe
LMI
14398 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14399 (bug#9759).
14400
cd394be1 14401 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
14402 (password-read): Don't autoload unused function.
14403
adf4e762
JB
144042012-01-07 Juanma Barranquero <lekktu@gmail.com>
14405
14406 * progmodes/which-func.el (which-func-mode): Turn into a
14407 non-interactive function and mark as obsolete (bug#10428).
14408
89bd9ccd
CY
144092012-01-06 Chong Yidong <cyd@gnu.org>
14410
14411 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14412 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14413 functions, along with 1 and -1.
14414
4afee9d5
EZ
144152012-01-06 Eli Zaretskii <eliz@gnu.org>
14416
14417 * time.el (display-time-load-average)
14418 (display-time-default-load-average): Doc fixes. See the thread
14419 starting at
14420 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14421 for the details.
14422
536aea70
GM
144232012-01-06 Glenn Morris <rgm@gnu.org>
14424
665ae865
GM
14425 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14426 has no messages. (Bug#10377)
14427
c869783d
GM
14428 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14429 than Info-edit. (Bug#10385)
14430
2bb4227e
GM
14431 * time.el (display-time-load-average, display-time-next-load-average):
14432 Doc fixes.
14433
7d5944b9
GM
14434 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14435 local setting of buffer-read-only to the input buffer. (Bug#10419)
14436
536aea70
GM
14437 * calendar/calendar.el (calendar-mode):
14438 Locally set scroll-margin to 0. (Bug#10379)
14439
7dccca16
UM
144402012-01-06 Ulrich Mueller <ulm@gentoo.org>
14441
14442 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14443
afbb7930
GM
144442012-01-05 Glenn Morris <rgm@gnu.org>
14445
14446 * eshell/em-unix.el (diff-no-select): Autoload it.
14447 (eshell/diff): Use diff-no-select. (Bug#10420)
14448
04482335
CY
144492012-01-05 Chong Yidong <cyd@gnu.org>
14450
7baca3bc
CY
14451 * shell.el (shell-dynamic-complete-functions): Revert last change.
14452 (shell-command-completion-function): New function.
14453 (shell-completion-vars): Use it to implement
14454 shell-completion-execonly (Bug#10417).
14455
04482335
CY
14456 * custom.el (enable-theme): Don't set custom-safe-themes.
14457
1d00653d
SM
14458 * cus-theme.el (custom-theme-merge-theme):
14459 Ignore custom-enabled-themes and custom-safe-themes.
04482335 14460
bb5aa5d6
MM
144612012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14462
14463 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14464 first prompt in `sql-interacive-mode'.
14465 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 14466 keywords.
6df6ae42 14467 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
14468 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14469 context of original buffer. Invoke `sql-login-hook'.
14470
a7183d7c
EZ
144712012-01-04 Eli Zaretskii <eliz@gnu.org>
14472
14473 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14474 letters in cite-prefix.
14475
a1eacd1e
LMI
144762012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14477
14478 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14479
787cdb34
CY
144802012-01-03 Chong Yidong <cyd@gnu.org>
14481
1d00653d
SM
14482 * shell.el (shell-dynamic-complete-functions):
14483 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
14484 comint-filename-completion first (Bug#10417).
14485
30710442
RS
144862012-01-02 Richard Stallman <rms@gnu.org>
14487
14488 * battery.el (battery-status-function):
14489 Detect when to use battery-yeeloong-sysfs.
14490 (battery-echo-area-format): Add string for Yeeloong.
14491 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14492 (battery-yeeloong-sysfs): New function.
14493
f75bfc33
CY
144942012-01-02 Chong Yidong <cyd@gnu.org>
14495
14496 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14497 (dirtrack): Merge code for handling relative filenames in prompt
14498 from shell-dir-cookie-watcher.
14499 (dirtrack-debug-message): New arg to avoid excess format calls.
14500
14501 * shell.el (shell-dir-cookie-re): Variable deleted.
14502 (shell-dir-cookie-watcher): Function deleted.
14503 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14504 with dirtrack-mode.
14505
651e947e
EZ
145062012-01-01 Eli Zaretskii <eliz@gnu.org>
14507
1d00653d
SM
14508 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14509 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
14510 libgnutls-26.dll.
14511
94d4c7dc
AS
145122011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14513
14514 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14515
8d43f3cd
EZ
145162011-12-31 Eli Zaretskii <eliz@gnu.org>
14517
14518 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14519 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14520
98c8795a
MA
145212011-12-29 Michael Albinus <michael.albinus@gmx.de>
14522
14523 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14524 also for alternative shells.
14525 (tramp-open-connection-setup-interactive-shell): Check, whether
14526 the shell is a busybox.
14527 (tramp-send-command): Don't suppress multiple prompts for
14528 busyboxes, it hurts.
14529
51281b32
CY
145302011-12-28 Chong Yidong <cyd@gnu.org>
14531
14532 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14533 (gdb-get-source-file): Move mode line update to
14534 gdb-get-source-file (Bug#10087).
14535
2170cb53
CY
145362011-12-25 Chong Yidong <cyd@gnu.org>
14537
14538 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14539 gud-gdb-marker-filter without taking it as an argument.
14540 (gud-gdb-run-command-fetch-lines): Caller changed.
14541 (gud-gdb-completion-function): New variable.
14542 (gud-gdb-completion-at-point): Use it.
14543 (gud-gdb-completions-1): Split from gud-gdb-completions.
14544
14545 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14546 function as separate arguments.
14547 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14548 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14549 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14550 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14551 (gdb-stopped, def-gdb-auto-update-trigger)
14552 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
14553 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14554 Callers changed.
2170cb53
CY
14555 (gud-gdbmi-completions): New function.
14556 (gdb): Use it for generating the completion table.
14557
be8b11bb
AM
145582011-12-24 Alan Mackenzie <acm@muc.de>
14559
14560 Introduce a mechanism to widen the region used in context font
1d00653d 14561 locking. Use this to protect declarations from losing their contexts.
be8b11bb 14562
1d00653d
SM
14563 * progmodes/cc-langs.el (c-before-font-lock-functions):
14564 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 14565 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
14566 functions to be run just before context (etc.) font locking.
14567
14568 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 14569 New, functionality extracted from
be8b11bb 14570 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 14571 (c-in-after-change-fontification): New variable.
be8b11bb
AM
14572 (c-after-change): Set c-in-after-change-fontification.
14573 (c-set-fl-decl-start): Rejig its interface, so it can be called
14574 from both after-change and context fontifying.
b81d40f0
JB
14575 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14576 New functions.
14577 (c-standard-font-lock-fontify-region-function): New variable.
14578 (c-font-lock-fontify-region): New function.
be8b11bb 14579
341cf6ac
JL
145802011-12-24 Juri Linkov <juri@jurta.org>
14581
14582 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14583 (Bug#10348)
14584
bffcee0a
MA
145852011-12-23 Michael Albinus <michael.albinus@gmx.de>
14586
14587 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14588 existence of source file. (Bug#10325)
14589
cb5e207c
AM
145902011-12-23 Alan Mackenzie <acm@muc.de>
14591
14592 Fix unstable fontification inside templates.
14593
b81d40f0
JB
14594 * progmodes/cc-langs.el (c-before-font-lock-functions):
14595 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
14596 additionally has c-set-fl-decl-start. The other languages (apart
14597 from AWK) have that as a single entry.
14598
b81d40f0
JB
14599 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14600 The functionality for "local" declarations has been extracted to
cb5e207c
AM
14601 c-set-fl-decl-start.
14602
b81d40f0
JB
14603 * progmodes/cc-mode.el (c-common-init, c-after-change):
14604 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
14605 (c-set-fl-decl-start): New function, extracted from
14606 c-font-lock-enclosing-decls and enhanced.
14607
60ff536c
JB
146082011-12-23 Juanma Barranquero <lekktu@gmail.com>
14609
14610 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14611
1c4757d6
JL
146122011-12-22 Juri Linkov <juri@jurta.org>
14613
14614 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14615
d031f2c7
CY
146162011-12-22 Chong Yidong <cyd@gnu.org>
14617
14618 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14619
bace743a
DA
146202011-12-21 Drew Adams <drew.adams@oracle.com>
14621
14622 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14623
728a1f2b
JC
146242011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14625
14626 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14627
0d373f73
TZ
146282011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14629
fec0aaa4
TZ
14630 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14631 highlighting and support. Fix up comments for capitalization.
14632 (cfengine-mode-debug): New var.
14633 (cfengine3-mode): Change the modeline indicator to "CFE3".
14634 (cfengine3-font-lock-keywords): Improve defun highlighting.
14635 (cfengine2-actions): Rename from `cfengine-actions'.
14636 (cfengine2-font-lock-keywords): Rename from
14637 `cfengine-font-lock-keywords'.
14638 (cfengine2-imenu-expression): Rename from
14639 `cfengine-imenu-expression'.
14640 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14641 (cfengine2-beginning-of-defun): Rename from
14642 `cfengine-beginning-of-defun'.
14643 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14644 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14645 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14646 modeline indicator to "CFE2".
14647 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14648 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 14649
bc86f573
CY
146502011-12-21 Chong Yidong <cyd@gnu.org>
14651
14652 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14653 filename argument.
14654
d45ba96b
MR
146552011-12-20 Martin Rudalics <rudalics@gmx.at>
14656
14657 * window.el (window-normalize-buffer-to-display): Remove.
14658 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14659
a6198c90
CY
146602011-12-19 Chong Yidong <cyd@gnu.org>
14661
14662 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14663 Don't signal an error in a predicate function; return non-nil.
14664 (vc-dir-mark-file): Move the error here.
14665 (vc-dir-mark-unmark): If acting on the region, keep going if one
14666 of the entries cannot be marked/unmarked.
14667 (vc-dir-mark-all-files): If current entry is a directory, mark
14668 only child files, as documented.
14669
34c5fb55
VB
146702011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14671
14672 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14673 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14674 addition.
14675
c803b2b7
JD
146762011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14677
14678 * term/ns-win.el (ns-get-selection-internal)
14679 (ns-store-selection-internal): Declare.
1154d12e
JB
14680 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14681 Declare as obsolete.
14682 (ns-get-pasteboard, ns-paste-secondary):
14683 Use ns-get-selection-internal.
41e9b956 14684 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 14685 Use ns-store-selection-internal.
c803b2b7 14686
9cff91f8 146872011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
14688
14689 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 14690 (vc-deduce-fileset): Doc fix.
99a289d9 14691
f16c898a
AS
146922011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14693
14694 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14695
763237c4
SS
146962011-12-13 Sam Steingold <sds@gnu.org>
14697
14698 * man.el (Man-getpage-in-background): When running under a
14699 window-system, ignore $MANWIDTH and $COLUMNS.
14700
5fc1c122
KH
147012011-12-15 Kenichi Handa <handa@m17n.org>
14702
14703 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14704 (setup-ethiopic-environment-internal): Comment out key-binding for
14705 ethio-toggle-punctuation.
14706
13d49cbb
AM
147072011-12-13 Alan Mackenzie <acm@muc.de>
14708
898169a2
AM
14709 Add the switch statement to AWK Mode.
14710
7a71b18d 14711 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
14712 "default" to the keywords regexp.
14713
7a71b18d 14714 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 14715 expression as the rest.
1d00653d
SM
14716 (c-nonlabel-token-key): Allow string literals for AWK.
14717 Refactor for the other modes.
898169a2 14718
13d49cbb 14719 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 14720 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
14721 routines. Limit backward searching in c-font-lock-enclosing.decl.
14722
14723 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14724 pp-state and literal type in addition to the limits.
1d00653d 14725 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 14726 (c-state-literal-at): Use the above new defun.
1d00653d
SM
14727 (c-slow-in-literal, c-fast-in-literal): Remove.
14728 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
14729
14730 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14731 being in a literal. Add a limit for backward searching.
14732
14733 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14734 c-slow-in-literal.
14735
15e0efc7
SM
147362011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14737
14738 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14739
454592a6
MR
147402011-12-13 Martin Rudalics <rudalics@gmx.at>
14741
14742 * window.el (delete-other-windows): Use correct frame in call to
14743 window-with-parameter.
14744
87393f26
DP
147452011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14746
14747 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14748 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14749 (makefile-gmake-statements, makefile-makepp-statements):
14750 Use it and add new makepp keywords.
14751 (makefile-makepp-font-lock-keywords): Add new patterns.
14752 (makefile-match-function-end): Match new [...] and [[...]].
14753
11636b22
JB
147542011-12-11 Juanma Barranquero <lekktu@gmail.com>
14755
14756 * ses.el (ses-call-printer-return, ses-cell-property-get)
14757 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14758 (ses-create-cell-variable, ses-reset-header-string)
14759 (ses-cell-set-formula, ses-repair-cell-reference-all)
14760 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14761 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14762 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14763 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14764 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14765 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14766 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14767 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14768 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14769 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14770 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14771 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14772
cf018193
VB
147732011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14774
14775 * ses.el: The overall change is to add cell renaming, that is
14776 setting fancy names for cell symbols other than name matching
14777 "\\`[A-Z]+[0-9]+\\'" regexp .
14778 (ses-create-cell-variable): New defun.
14779 (ses-relocate-formula): Relocate formulas only for cells the
14780 symbols of which are not renamed, i.e. symbols whose names do not
14781 match regexp "\\`[A-Z]+[0-9]+\\'".
14782 (ses-relocate-all): Relocate values only for cells the symbols of
14783 which are not renamed.
14784 (ses-load): Create cells variables as the (ses-cell ...) are read,
14785 in order to check row col consistency with cell symbol name only
14786 for cells that are not renamed.
14787 (ses-replace-name-in-formula): New defun.
14788 (ses-rename-cell): New defun.
14789
ee957461
CY
147902011-12-11 Chong Yidong <cyd@gnu.org>
14791
14792 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14793 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14794
9a9e9ef0
MR
147952011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14796
14797 * window.el (other-window): Fix docstring.
14798
92a8eba5
EZ
147992011-12-10 Eli Zaretskii <eliz@gnu.org>
14800
14801 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
14802 `from' or `to' address before taking its substring.
14803 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
14804 encoded name is chopped in the middle of the encoded string, and
14805 thus displayed encoded.
14806
e152e577
JB
148072011-12-10 Juanma Barranquero <lekktu@gmail.com>
14808
14809 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14810
e5d84bfe
EZ
148112011-12-10 Eli Zaretskii <eliz@gnu.org>
14812
14813 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14814 to use texinfo-update-node and commands that call it if the
14815 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 14816 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
14817 (texinfo-all-menus-update, texinfo-master-menu)
14818 (texinfo-update-node, texinfo-every-node-update)
14819 (texinfo-multiple-files-update): Doc fix. Warn against updating
14820 all the @node lines.
14821 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
14822 argument is numeric. Explain better in the doc string what the
14823 function really does.
14824 (texinfo-insert-master-menu-list): Improve the error message
14825 displayed if there's no menu in the Top node.
14826 (Bug#2975) See also this thread:
e5d84bfe
EZ
14827 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14828
1d84e9bb
MG
148292011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14830
14831 * speedbar.el (speedbar-supported-extension-expressions):
14832 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14833
382c953b
JB
148342011-12-09 Juanma Barranquero <lekktu@gmail.com>
14835
14836 * printing.el (pr-mode-alist):
14837 * simple.el (filter-buffer-substring-functions)
14838 (completion-list-insert-choice-function):
14839 * window.el (window-with-parameter, window-atom-root)
14840 (window-sides-slots, window-size-fixed, window-min-delta)
14841 (window-max-delta, window--resize-mini-window)
14842 (window--resize-child-windows-normal, window-tree)
14843 (delete-other-windows, quit-window, split-window)
14844 (display-buffer-record-window, special-display-buffer-names)
14845 (special-display-regexps, special-display-popup-frame)
14846 (same-window-p, split-window-sensibly)
14847 (display-buffer-overriding-action, display-buffer-alist)
14848 (display-buffer-base-action, display-buffer, switch-to-buffer)
14849 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14850 (fit-window-to-buffer, recenter-positions)
14851 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14852 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14853 and remove unneeded backslashes in docstrings.
14854
39c9faef
SM
148552011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14856
98449af8
SM
14857 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14858
39c9faef
SM
14859 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14860 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14861 end in ".mk".
14862 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14863 when reading the makefile (bug#10116).
14864
86ed9fdc
SM
148652011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14866
14867 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14868 (bug#10116).
14869
5580f89d
GM
148702011-12-06 Glenn Morris <rgm@gnu.org>
14871
14872 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14873
28d3917c
CY
148742011-12-06 Chong Yidong <cyd@gnu.org>
14875
14876 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14877
a98edce9
JB
148782011-12-06 Juanma Barranquero <lekktu@gmail.com>
14879
14880 * textmodes/table.el (table-shorten-cell): Fix typo.
14881
e65adfac
CG
148822011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14883
14884 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14885
71cc0b74
EZ
148862011-12-05 Eli Zaretskii <eliz@gnu.org>
14887
14888 * descr-text.el (describe-char): Fix display of strong
14889 right-to-left characters and directional embeddings and overrides.
14890
14891 * simple.el (what-cursor-position): Fix display of codepoints of
14892 strong right-to-left characters.
14893
315bc30d
CY
148942011-12-05 Chong Yidong <cyd@gnu.org>
14895
14896 * faces.el (read-color): Doc fix.
14897
58a70b94
GM
148982011-12-05 Glenn Morris <rgm@gnu.org>
14899
14900 * align.el (align--set-marker): Add doc-string.
14901 Don't try to move something that is not a marker. (Bug#10216)
14902
5158face
GM
149032011-12-04 Glenn Morris <rgm@gnu.org>
14904
14905 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14906 overly zealous deletion of trailing whitespace.
14907
520fca41
JB
149082011-12-04 Juanma Barranquero <lekktu@gmail.com>
14909
14910 * server.el (server-delete-client): On Windows, do not try to delete
14911 the only terminal.
14912 (server-process-filter): On Windows, treat requests for a tty frame as
14913 if they were for a GUI frame if the running server is in GUI mode.
14914
5e605a2e
GM
149152011-12-03 Glenn Morris <rgm@gnu.org>
14916
14917 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14918
5c3fe83f
SM
149192011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14920
6f5e57e7
SM
14921 * electric.el: Streamline electric-indent's hook.
14922 (electric-indent-chars): Revert to simple list.
14923 (electric-indent-functions): New var.
14924 (electric-indent-post-self-insert-function): Use it.
14925
5c3fe83f
SM
14926 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14927 there's no inferior buffer (bug#10196).
14928 (prolog-consult-compile): Don't use toggle-read-only.
14929
6bdac736
MA
149302011-12-02 Michael Albinus <michael.albinus@gmx.de>
14931
14932 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14933 interrupt. (Bug#10187)
14934
6131ba7f
SM
149352011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14936
99c79fee
SM
14937 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14938 (bug#9160).
14939
6131ba7f
SM
14940 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14941 (bug#10191).
14942
cb0a02ea
JL
149432011-12-02 Juri Linkov <juri@jurta.org>
14944
14945 * info.el (Info-search): Display "end of manual" when Isearch
14946 reaches the end of single-file Info manual. (Bug#9918)
14947
66e0570c
EZ
149482011-12-02 Eli Zaretskii <eliz@gnu.org>
14949
14950 * isearch.el (isearch-message-prefix): Run the input method part
14951 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14952
02b16839
JL
149532011-12-02 Juri Linkov <juri@jurta.org>
14954
14955 * isearch.el (isearch-occur): Use `word-search-regexp' for
14956 `isearch-word'.
14957 (isearch-search-and-update): Add condition for `isearch-word' and
14958 call `word-search-regexp'. (Bug#10145)
14959
0b950688
GM
149602011-12-01 Glenn Morris <rgm@gnu.org>
14961
14962 * eshell/em-hist.el (eshell-hist-initialize):
14963 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 14964 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 14965
9505c3c7
SM
149662011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14967
14968 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14969
1bbe96b2 149702011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 14971
a1beca85
SM
14972 * progmodes/verilog-mode.el (verilog-pretty-expr):
14973 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
14974 verilog, such as += *= and the like.
14975 (verilog-assignment-operator-re): Regular expression to find the
14976 assigment operator in a verilog assignment.
14977 (verilog-assignment-operation-re): Regular expression to find an
14978 assignment statement for pretty-expr.
14979 (verilog-in-attribute-p): Query returns true if point is in an
14980 attribute context; used to skip these for expression line up from
14981 pretty-expr.
14982 (verilog-in-parameter-p): Query returns true if point is in an
14983 parameter definition context; used to skip these for expression
14984 line up from pretty-expr.
14985 (verilog-in-parenthesis-p): Query returns true if point is in a
14986 parenthetical expression, specifically ( ) but not [ ] or { };
14987 used by pretty-expr.
14988 (verilog-just-one-space): If there is no space, don't add one.
14989 (verilog-get-lineup-indent-2): Specifically skip just attribute
14990 contexts for expression lineup, rather than skipping all
14991 parenthetical expressions.
14992 (verilog-calculate-indent): Fix comment, and fix indent.
14993 (verilog-do-indent): Indent declarations in lists (suggested by
14994 Joachim Lechner).
14995 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14996 skeleton items.
14997 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14998 by Alain Mellan).
14999
1bbe96b2 150002011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
15001
15002 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15003 parameters with embedded comments. Reported by Ray Stevens.
15004 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15005 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15006 Reported by Tim Holt.
15007 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15008 instantiated by upper module causing wrong expansion until AUTOed a
15009 second time. Reported by K C Buckenmaier.
15010 (verilog-diff-auto): Fix showing .* as a difference when
15011 `verilog-auto-star-save' off. Reported by Dan Dever.
15012 (verilog-auto-reset, verilog-read-always-signals)
15013 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15014 temporary signals in reset list if
15015 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
15016 style to each signal's assignment type, bug381.
15017 Reported by Thomas Esposito.
6288f0ca
WS
15018 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15019 (verilog-uvm-statement-re): Support UVM indentation and
15020 highlighting, with old OVM keywords only.
a1beca85 15021 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
15022 Support AUTOTIEOFF creating non-wire data types.
15023 Suggested by Jonathan Greenlaw.
6288f0ca
WS
15024 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15025 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15026 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
15027 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15028 Fix mismatching parenthesis inside commented out code when deleting
382c953b 15029 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
15030 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15031 non-numeric vector width. Reported by Alex Reed.
15032 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 15033 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
15034 (verilog-auto-delete-trailing-whitespace):
15035 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
15036 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15037 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15038 Fix verilog-scan-cache corruption when running user AUTO expansion
15039 hooks that call indentation routines.
15040 (verilog-simplify-range-expression): Fix typo ignoring lower case
15041 identifiers.
15042 (verilog-delete-auto): Fix delete-autos to also remove user created
15043 automatics, as long as they start with AUTO.
15044 (verilog-batch-diff-auto, verilog-diff-auto)
15045 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15046 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15047 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15048 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
15049 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15050 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
15051 is disabled and its cache will get corrupt, causing AUTOS not to
15052 expand. Instead use only -quick functions.
15053 (verilog-scan-region): Fix scanning over escaped quotes.
15054 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15055 (verilog-re-search-backward-quick)
15056 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15057 related functions now ignore strings, to fix misparsing of strings
15058 with magic comments embedded in them.
a1beca85
SM
15059 (verilog-read-auto-template):
15060 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15061 Reported by Brad Dobbie.
15062 (verilog-read-auto-template):
15063 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 15064 Reported by Brad Dobbie.
6288f0ca
WS
15065 (verilog-auto-inst, verilog-auto-inst-param)
15066 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15067 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15068 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
15069 debugging templates without merge conflicts, bug357.
15070 Reported by Brad Dobbie.
15071 (verilog-read-auto-template):
15072 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
15073 Reported by Brad Dobbie.
15074 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15075 abbrevs so user won't be asked to save.
15076 (verilog-read-auto-lisp-present): Fix to start at beginning of
15077 buffer in case called outside of verilog-auto.
15078 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15079 to "X-2". Reported by Matthew Myers.
15080 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15081 all inputs from module templates. Reported by Leith Johnson.
15082 (verilog-module-inside-filename-p): Fix locating programs as with
15083 modules.
15084 (verilog-auto-inst-port): Fix vl-width expressions when using
15085 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15086 (verilog-decls-get-regs, verilog-decls-get-signals,
15087 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15088 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15089 verilog-read-decls): Combine reg and wire structures into one var
15090 structure to represent SystemVerilog concepts.
15091 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15092 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
15093 (verilog-auto-wire-type, verilog-insert-definition):
15094 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
15095 SystemVerilog "logic" keyword instead of "wire"/"reg".
15096 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15097 to declares outputs that also have assignments (presumably in an
a1beca85
SM
15098 ifdef or generate if so there's not a driver conflict).
15099 Reported by Matthew Myers.
15100 (verilog-auto-declare-nettype, verilog-insert-definition):
15101 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
15102 `default_nettype none. Reported by Julian Gorfajn.
15103 (verilog-read-always-signals-recurse, verilog-read-decls)
15104 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15105 malformed end statement, bug325. Reported by Joshua Wise and
15106 Andrew Drake.
15107 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15108 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
15109 when expanding .* in interfaces, bug320.
15110 Reported by Pierre-David Pfister.
6288f0ca 15111 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
15112 name and open parenthesis, bug317.
15113 Reported by Pierre-David Pfister.
6288f0ca
WS
15114 (verilog-simplify-range-expression): Fix simplification of
15115 multiplications inside AUTOWIRE connections, bug303.
15116 (verilog-auto-inst-port): Support parameter expansion in
15117 multidimensional arrays.
15118 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15119 after "assert property". Reported by Julian Gorfajn.
15120 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15121 with multiplication, bug303.
15122 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15123 Reported by Jan Frode Lonnum.
15124
1bbe96b2
GM
151252011-11-30 Juanma Barranquero <lekktu@gmail.com>
15126
15127 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15128 (hfy-shell-file-name, hfy-shell):
15129 * international/fontset.el (x-decompose-font-name): Fix typos.
15130
151312011-11-29 Ken Brown <kbrown@cornell.edu>
15132
15133 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15134 (gdb-version): Remove defvar.
15135 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15136 (gdb-gud-context-command, gdb-non-stop-handler)
15137 (gdb-current-context-command, gdb-stopped): Use it.
15138 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
15139 (gdb-non-stop-handler): Don't enable pretty-printing here.
15140 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
15141 non-stop mode. Use the following.
15142 (gdb-check-target-async): New defun.
15143 (gud-watch, gdb-stopped): Fix whitespace.
15144 (gdb-get-source-file): Don't try to display the source file if
15145 `gdb-main-file' is nil.
15146
151472011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15148
15149 * align.el: Try to generate fewer markers (bug#10047).
15150 (align--set-marker): New macro.
15151 (align-region): Use it.
15152
c935221f
SM
151532011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15154
15155 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15156
e70b5064
CY
151572011-11-29 Chong Yidong <cyd@gnu.org>
15158
15159 * indent.el (indent-for-tab-command, indent-according-to-mode):
15160 Doc fix.
15161 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15162
f3af92b7
MA
151632011-11-29 Michael Albinus <michael.albinus@gmx.de>
15164
15165 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15166 aware of remote file names. (Bug#10124)
15167
ed472be9
CY
151682011-11-29 Chong Yidong <cyd@gnu.org>
15169
15170 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15171
24510c22
SM
151722011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15173
15174 * files.el (find-file): Don't use force-same-window (bug#10144).
15175 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15176 use pop-to-buffer if the selected window can't be used.
15177 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15178
c60c3703
EZ
151792011-11-28 Eli Zaretskii <eliz@gnu.org>
15180
15181 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15182 special-mode-map.
15183
e95def75
CY
151842011-11-28 Chong Yidong <cyd@gnu.org>
15185
15186 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15187
c3f1c606
NR
151882011-11-27 Nick Roberts <nickrob@snap.net.nz>
15189
15190 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15191 gdb-get-source-file-list on gdb-create-source-file-list.
15192
00db469c
EZ
151932011-11-26 Eli Zaretskii <eliz@gnu.org>
15194
15195 * whitespace.el (whitespace-newline): Use a different foreground
15196 color for 16-color light-background displays.
15197
4ad3bc2a
CY
151982011-11-24 Chong Yidong <cyd@gnu.org>
15199
15200 * window.el (display-buffer--special-action): Doc fix.
15201
e9fce1ac
JB
152022011-11-25 Juanma Barranquero <lekktu@gmail.com>
15203
15204 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15205 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15206 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15207 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15208 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15209 (avl-tree-stack-first):
15210 * emacs-lisp/cconv.el (cconv--analyse-use):
15211 * net/gnutls.el (gnutls-negotiate): Fix typos.
15212
cb825e5d
GM
152132011-11-24 Glenn Morris <rgm@gnu.org>
15214
3adbe224
GM
15215 * lpr.el (lpr-windows-system, lpr-lp-system):
15216 * mail/binhex.el (binhex-begin-line):
15217 * progmodes/grep.el (grep-history, grep-find-history):
15218 * textmodes/flyspell.el:
15219 * vc/pcvs-defs.el (cvs-global-menu):
15220 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15221 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15222 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15223
321decc8
GM
15224 * net/tls.el: Fix case of "GnuTLS".
15225
420b63ad
GM
15226 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15227
cb825e5d
GM
15228 * version.el (emacs-build-system): Give it a doc-string.
15229
a0649f08
JL
152302011-11-24 Juri Linkov <juri@jurta.org>
15231
15232 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15233
c0bc0fd4
GM
152342011-11-24 Glenn Morris <rgm@gnu.org>
15235
15236 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15237 if called on a non-mime message just toggle the headers. (Bug#8006)
15238
20db1522
JB
152392011-11-24 Juanma Barranquero <lekktu@gmail.com>
15240
15241 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15242 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15243 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15244 (allout-rebullet-heading, allout-open-sibtopic)
15245 (allout-toggle-current-subtree-encryption)
15246 (allout-toggle-subtree-encryption, allout-encrypt-string)
15247 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15248 (allout-distinctive-bullets-string, allout-auto-activation):
15249 * window.el (window-normalize-buffer-to-display):
15250 * progmodes/verilog-mode.el (verilog-batch-indent):
15251 * textmodes/bibtex.el (bibtex-field-braces-opt)
15252 (bibtex-field-strings-opt):
15253 * vc/cvs-status.el (cvs-tree-merge):
15254 Fix typos.
15255
7262a87c
MA
152562011-11-23 Michael Albinus <michael.albinus@gmx.de>
15257
15258 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15259 `non-essential' to t, in order to avoid remote connections.
15260
283430a1
EZ
152612011-11-23 Eli Zaretskii <eliz@gnu.org>
15262
a1beca85
SM
15263 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15264 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
15265 case-insensitively.
15266
d2992a38
ML
152672011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15268
15269 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15270
50419064
GM
152712011-11-23 Glenn Morris <rgm@gnu.org>
15272
da94eca1
GM
15273 * paths.el (rmail-file-name): Reformat the doc-string so that it
15274 is picked up.
15275
9aac4de2
GM
15276 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15277 (rmail-auto-file): Ignore case in the "special" field names,
15278 as mail-fetch-field does for all others.
15279
8038d2d2
GM
15280 * mail/rmail.el (rmail-forward):
15281 * mail/rmailkwd.el (rmail-set-label):
15282 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15283 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15284
f3fe222a
GM
15285 * mail/rmail.el (rmail-current-message): Doc fix.
15286
50419064
GM
15287 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15288
28109f49
SM
152892011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15290
15291 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15292
394c65f1
GM
152932011-11-22 Glenn Morris <rgm@gnu.org>
15294
15295 * mail/rmailmm.el (test-rmail-mime-handler)
15296 (test-rmail-mime-bulk-handler)
15297 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15298
f2a0aa3a
JL
152992011-11-21 Juri Linkov <juri@jurta.org>
15300
1154d12e
JB
15301 * calc/calc.el (calc-read-key-sequence):
15302 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 15303
9c34a344
LMI
153042011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15305
15306 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15307 Tell the caller that the next line needs recomputation, even
15308 though it doesn't start a sexp (bug#10094).
15309
f04a3be9
SM
153102011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15311
15312 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15313
7978747f
SM
153142011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15315
f04a3be9
SM
15316 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15317 Use force-same-window.
7978747f 15318
fe7a3057
JB
153192011-11-20 Juanma Barranquero <lekktu@gmail.com>
15320
15321 * descr-text.el (describe-char-unicode-data):
15322 * json.el (json-string-escape):
15323 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15324 (Footnote-unicode, Footnote-style-p):
15325 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15326
24901d61
CY
153272011-11-20 Chong Yidong <cyd@gnu.org>
15328
15329 * window.el (replace-buffer-in-windows): Restore interactive spec.
15330
bac7ff22
SM
153312011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15332
24f3d7b9
SM
15333 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15334
bac7ff22
SM
15335 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15336 (byte-compile-global-not-obsolete-vars): New var.
15337 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15338 Use it.
15339 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15340
cd1181db
JB
153412011-11-20 Juanma Barranquero <lekktu@gmail.com>
15342
15343 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15344 * progmodes/pascal.el (electric-pascal-equal):
15345 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15346 * xml.el (xml-substitute-special): Fix typos.
15347
7fb18e9e
GM
153482011-11-20 Glenn Morris <rgm@gnu.org>
15349
15350 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15351 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15352 Doc fixes.
15353 (rmail-decode-mime-charset): Mark as obsolete.
15354
15355 * mail/rmailsum.el (rmail-message-regexp-p-1):
15356 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15357 Before using mime functions, check they are set. (Bug#10077)
15358
d5a6b3ba
JL
153592011-11-19 Juri Linkov <juri@jurta.org>
15360
15361 * info.el (Info-finder-find-node): Use `package--builtins' instead
15362 of `package-alist'. Use node names formed by the pattern "Keyword "
15363 and the keyword name.
15364
e981b61f
AS
153652011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15366
1d00653d 15367 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 15368
3ffbc301
JL
153692011-11-19 Juri Linkov <juri@jurta.org>
15370
15371 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15372 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15373 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15374 `old-history', `old-history-forward'. Add let-binding
15375 `window-selected'. Remove calls to `kill-buffer',
15376 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15377 before calling `Info-find-node', so `Info-find-node-2' will reread
15378 the Info file. Restore window positions only when `window-selected'
15379 is non-nil.
15380
30c62133
JL
153812011-11-19 Juri Linkov <juri@jurta.org>
15382
15383 * isearch.el (isearch-lazy-highlight-new-loop):
15384 Remove condition `(not isearch-error)'. (Bug#9918)
15385
15386 * misearch.el (multi-isearch-search-fun): Add condition
15387 `(not bound)' to ignore lazy-highlighting search.
15388 Add the search-failed message "end of multi" when the end of
15389 multi-sequence is reached. Uncapitalize the search-failed
15390 message "Repeat for next buffer".
15391
15392 * info.el (Info-search): Add the search-failed message
15393 "end of the manual" when the end of the manual is reached
15394 in Isearch mode.
15395
645ca9cf
JL
153962011-11-19 Juri Linkov <juri@jurta.org>
15397
15398 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15399 Use non-destructive `remove' instead of `delete' because
15400 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15401 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15402
df754f66
JL
154032011-11-19 Juri Linkov <juri@jurta.org>
15404
15405 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15406 to nil instead of binding `search-ring' and `regexp-search-ring'.
15407 (Bug#9185)
15408
0e23d96a
EZ
154092011-11-19 Eli Zaretskii <eliz@gnu.org>
15410
15411 * simple.el (line-move): Force movement by logical lines for any
15412 hscrolled window, not only when auto-hscroll-mode is on.
15413 (line-move-visual): Update doc string to that effect. (Bug#10076)
15414
8a6ccb66
AS
154152011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15416
15417 * language/european.el (macintosh): Define as alias for mac-roman.
15418
49ae5b39
EZ
154192011-11-19 Eli Zaretskii <eliz@gnu.org>
15420
15421 * mail/rmailmm.el (rmail-mime-display-header)
15422 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15423 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15424 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15425 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15426 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15427 of a raw aref.
15428 (rmail-mime-entity-segment): To get past the tagline, move forward
15429 2 more lines, to account for the 2 empty lines that precede and
15430 follow the line with the buttons.
15431 (rmail-mime-update-tagline): Move one more line, to get past the
15432 empty line that follows the buttons in the tagline. (Bug#9520)
15433
c56cad4a
MR
154342011-11-19 Martin Rudalics <rudalics@gmx.at>
15435
15436 * window.el (window-max-delta-1, window-min-delta-1)
15437 (window-min-size-1, window-state-get-1, window-state-put-1)
15438 (window-state-put-2): Use "window--" prefix.
15439
cbe71af3
SM
154402011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15441
2ad52c60
SM
15442 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15443 (smie-warning-count): New var.
15444 (smie-set-prec2tab): Use it.
15445 (smie-bnf->prec2): Improve warnings. Add docstring.
15446 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15447 (smie-bnf--set-class): New function.
15448 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15449 corner case.
15450
6944dbc1
SM
15451 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15452 (compilation-error-properties, compilation-move-to-column):
15453 Handle compilation-first-column while in the target buffer.
15454
c400c4d7
SM
15455 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15456 Don't hardcode point-min==1.
15457
6dbe3e96
SM
15458 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15459 (eshell-rewrite-for-command): Remove workaround.
15460 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15461 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15462 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15463
cbe71af3
SM
15464 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15465
a8e1496d
GM
154662011-11-17 Glenn Morris <rgm@gnu.org>
15467
15468 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15469 Ignore buffer-local generated-autoload-file if it is the same
15470 as the global value. (Bug#10049)
15471
df85d315
JB
154722011-11-17 Juanma Barranquero <lekktu@gmail.com>
15473
15474 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15475 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15476 (reftex-toc-previous-heading, reftex-toc-max-level)
15477 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15478 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15479 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15480 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15481 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15482 (reftex-toc-rename-label, reftex-toc-visit-location)
15483 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15484 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15485 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15486 leaving "*toc*" only for references to the buffer.
15487
a0c2d0ae
MR
154882011-11-17 Martin Rudalics <rudalics@gmx.at>
15489
15490 * window.el (window-resize, delete-window, split-window):
15491 Replace window-splits by window-combination-resize.
1d00653d 15492 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 15493
35c0bac8
GM
154942011-11-17 Glenn Morris <rgm@gnu.org>
15495
15496 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15497 Make bash entry derive from sh entry, not shell entry.
15498
d0c8fc8a
MA
154992011-11-16 Michael Albinus <michael.albinus@gmx.de>
15500
7262a87c
MA
15501 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15502 local file name.
15503
7877f373
JB
155042011-11-16 Juanma Barranquero <lekktu@gmail.com>
15505
15506 * menu-bar.el (menu-bar-file-menu):
15507 * printing.el (pr-ps-utility):
15508 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15509 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15510 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15511 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15512 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15513 (icalendar--convert-cyclic-to-ical)
15514 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15515 (icalendar--convert-ical-to-diary)
15516 (icalendar--convert-recurring-to-diary)
15517 (icalendar--convert-non-recurring-all-day-to-diary)
15518 (icalendar-import-format-sample):
15519 * progmodes/idlw-shell.el (idlwave-shell-mode):
15520 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15521 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15522 (vhdl-ps-print-init): Fix typos.
15523
10649b82
KM
155242011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15525
9d0cfcd6
GM
15526 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15527 FSF and collapse date sequence, obscure author/maintainer email address
15528 better, remove extra version line, track relocation of author's webpage.
10649b82 15529
9d0cfcd6
GM
15530 * progmodes/python.el (python-pdbtrack-input-prompt)
15531 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15532 regular python pdb prompts. Adjustments shamelessly taken exactly as
15533 suggested in EmacsWiki page (tiny change):
15534 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 15535
58179cce
JB
155362011-11-16 Juanma Barranquero <lekktu@gmail.com>
15537
15538 * expand.el (expand-pos, expand-index, expand-point):
15539 Remove redundant info from docstring.
15540 (expand-add-abbrevs): Doc fix.
15541 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15542 (expand-sample-perl-mode-expand-list): Fix typos.
15543
15544 * net/dbus.el (dbus-event-member-name):
15545 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15546 * term/pc-win.el (msdos-create-frame-with-faces):
15547 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15548
b6f67890
MR
155492011-11-16 Martin Rudalics <rudalics@gmx.at>
15550
15551 * window.el (split-window, window-state-get-1)
15552 (window-state-put-1, window-state-put-2): Rename occurrences of
15553 window-nest to window-combination-limit.
1d00653d 15554 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 15555
ce7ddba0
CY
155562011-11-16 Chong Yidong <cyd@gnu.org>
15557
15558 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15559 regexp (Bug#10033).
15560
3ae704f4
SM
155612011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15562
15563 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15564 `completing-read' will remove *Completions* and will preserve
15565 current-buffer for us.
15566 (tmm-add-prompt): Users of *Completions* will always (re)set its
15567 major mode.
15568 (tmm-old-comp-map): Remove.
15569
6ad1cdde
GM
155702011-11-16 Glenn Morris <rgm@gnu.org>
15571
15572 * mail/rmailedit.el: Require rmailmm when compiling.
15573 (rmail-old-mime-state): New declaration.
15574 (rmail-edit-current-message): If editing a mime message,
15575 edit the "raw" message from the mbox buffer.
15576 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15577
d20faa20
GM
155782011-11-15 Glenn Morris <rgm@gnu.org>
15579
15580 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15581 which wasn't being used. Add optional arg to force given state.
15582 (rmail-mime): Add optional arg to force given state.
15583
c7015153
JB
155842011-11-15 Juanma Barranquero <lekktu@gmail.com>
15585
15586 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15587 * frame.el (display-mm-dimensions-alist):
15588 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15589 (outline-move-subtree-down):
15590 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15591 (newsticker--treeview-do-get-node):
15592 * net/quickurl.el (quickurl-list-buffer-name):
15593 * progmodes/dcl-mode.el (dcl-mode):
15594 * progmodes/gdb-mi.el (gdb-mapcar*):
15595 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15596
45261b50
GM
155972011-11-15 Glenn Morris <rgm@gnu.org>
15598
15599 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15600 in a boolean sense, so just make it a boolean, and fix the doc.
15601 (rmail-show-mime-function, rmail-mime-feature)
15602 (rmail-require-mime-maybe): Doc fixes.
15603 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15604
15605 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15606
0d26e0b6
JB
156072011-11-15 Juanma Barranquero <lekktu@gmail.com>
15608
15609 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15610 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15611 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15612 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15613
447f30f6
GM
156142011-11-15 Glenn Morris <rgm@gnu.org>
15615
672b871d
GM
15616 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15617 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15618 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15619 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15620 (rmail-mime, rmail-show-mime): Doc fixes.
15621
f6aa5bb1
GM
15622 * term/ns-win.el (mode-line-frame-identification):
15623 Leave it alone. (Bug#10051)
15624
947cd66b
GM
15625 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15626
447f30f6
GM
15627 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15628 Handle empty buffers. (Bug#9978)
15629
0b381c7e
JB
156302011-11-14 Juanma Barranquero <lekktu@gmail.com>
15631
15632 * international/mule.el (define-charset):
15633 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15634 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15635 * progmodes/verilog-mode.el (verilog-backward-token):
15636 * textmodes/ispell.el (lookup-words):
15637 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15638
71e027ac
GM
156392011-11-14 Glenn Morris <rgm@gnu.org>
15640
56632ce4
GM
15641 * progmodes/executable.el
15642 (executable-make-buffer-file-executable-if-script-p):
15643 Handle file-modes returning nil.
15644
40500957
GM
15645 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15646 message - not necessary, and causes problems. (Bug#9831)
15647
071c2340
GM
15648 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15649
d3cfca60
GM
15650 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15651
71e027ac
GM
15652 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15653 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15654 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15655
89d61221
MR
156562011-11-12 Martin Rudalics <rudalics@gmx.at>
15657
15658 * window.el (window-resize, delete-window): Use window-splits
15659 variable instead of function.
15660 (window-state-get-1, window-state-put-2, window-state-put):
15661 Don't deal with windows' splits status.
15662
98282f6f
GM
156632011-11-12 Glenn Morris <rgm@gnu.org>
15664
15665 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15666 (apropos-documentation): Doc fixes.
15667
40a8bdf6
JB
156682011-11-11 Juanma Barranquero <lekktu@gmail.com>
15669
15670 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15671 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15672
65bd19ff
SM
156732011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15674
15675 * electric.el (electric-indent-post-self-insert-function): Make it
15676 possible for a char to only indent in some circumstances.
15677 (electric-indent-mode): Simplify.
15678
54f9154c
MR
156792011-11-11 Martin Rudalics <rudalics@gmx.at>
15680
15681 * window.el (windows-with-parameter): Remove unused function.
15682 (windows-at-side): Rename to window-at-side-list.
15683 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
15684 (window-side-check, window-size-ignore, window-size-fixed-1)
15685 (window-in-direction-2): Prefix with "window--".
15686 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 15687
68cbc58b
GM
156882011-11-11 Glenn Morris <rgm@gnu.org>
15689
15690 * subr.el (eval-after-load): If FILE is already loaded,
15691 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15692
b2621720
GM
156932011-11-10 Glenn Morris <rgm@gnu.org>
15694
9a4de110
GM
15695 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15696 Call svn via vc-svn-command rather than vc-do-command.
15697 (vc-svn-command): Add --non-interactive. (Bug#9993)
15698 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15699
b2621720
GM
15700 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15701 Add toggle-read-only. (Bug#7292)
15702 * files.el (toggle-read-only): Mention that it should only
15703 be used interactively. (Bug#10006)
15704
1dce7193
SM
157052011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15706
d9ac1a1e
SM
15707 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15708 Adjust regexp for OCaml warnings.
15709
0c325082
SM
15710 * electric.el (electric-pair-post-self-insert-function): Let user
15711 turn it off buffer-locally (bug#9932).
15712
90132c14
SM
15713 * progmodes/python.el (python-beginning-of-statement):
15714 Rewrite (bug#2703).
15715
1dce7193
SM
15716 * progmodes/compile.el: Better handle TABs (bug#9749).
15717 (compilation-internal-error-properties)
15718 (compilation-next-error-function): Obey the target buffer's
15719 compilation-error-screen-columns.
15720
c4e7c63a
JB
157212011-11-09 Juanma Barranquero <lekktu@gmail.com>
15722
15723 * progmodes/meta-mode.el: Remove obsolete comments.
15724 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15725 Fix typos in docstrings.
15726
2cffd681
MR
157272011-11-09 Martin Rudalics <rudalics@gmx.at>
15728
15729 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 15730 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
15731 (window--resizable): New function. Make all callers of
15732 window-resizable call window--resizable instead.
15733 (window-resizable): Rewrite in terms of window--resizable.
15734
0edcba87
GM
157352011-11-08 Glenn Morris <rgm@gnu.org>
15736
15737 * progmodes/delphi.el (delphi-mode-syntax-table):
15738 Let define-derived-mode define a proper syntax table. (Bug#9994)
15739
4b0d61e3
SM
157402011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15741
15742 * window.el: Stay away from defsubst.
15743 (window-list-no-nils): Remove.
15744 (window-state-get-1, window-state-get): Use backquote instead.
15745
cd394be1 157462011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 15747
4b0d61e3 15748 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 15749 Fix incorrect use of default argument in `completing-read'.
15750
e1c2c6f2
MR
157512011-11-08 Martin Rudalics <rudalics@gmx.at>
15752
15753 * window.el (display-buffer-function, special-display-function):
15754 Mention display-buffer-record-window but do not mention
15755 help-setup parameter in doc-strings.
b3f4a882 15756 (window-min-delta): Fix doc-string typo.
e1c2c6f2 15757
105216ed
CY
157582011-11-08 Chong Yidong <cyd@gnu.org>
15759
15760 * window.el (window-total-height, window-total-width): Doc fix.
15761 (window-body-size): Move from C.
15762 (window-body-height, window-body-width): Move to C.
15763
0a9f9ab5
SM
157642011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15765
15766 * window.el: Make special-display like display-buffer-alist (bug#9532).
15767 (display-buffer--special-action): New function, morphed
15768 from display-buffer--special.
15769 (display-buffer): Use it to handle special-display-buffers at higher
15770 priority (just after display-buffer-alist).
15771 (display-buffer-fallback-action, display-buffer--other-frame-action)
15772 (pop-to-buffer-same-window): Remove display-buffer--special.
15773
a769dd15
GM
157742011-11-07 Glenn Morris <rgm@gnu.org>
15775
15776 * calendar/cal-menu.el (cal-menu-set-date-title):
15777 Do nothing if not in a calendar. (Bug#9976)
15778
05a61ee3
SM
157792011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15780
15781 * files.el (find-file): Always use selected-window.
15782
be7f5545
MR
157832011-11-07 Martin Rudalics <rudalics@gmx.at>
15784
15785 * window.el (window-combinations): Make WINDOW argument
15786 mandatory. Rewrite doc-string.
15787 (walk-window-subtree, window-atom-check, window-min-delta)
15788 (window-max-delta, window--resize-this-window)
15789 (window--resize-root-window-vertically, window-tree)
15790 (balance-windows, window-state-put): Rewrite doc-strings as to
15791 not mention the term "subwindow".
15792 (window--resize-subwindows-skip-p): Rename to
15793 window--resize-child-windows-skip-p.
15794 (window--resize-subwindows-normal): Rename to
15795 window--resize-child-windows-normal.
15796 (window--resize-subwindows): Rename to
15797 window--resize-child-windows.
15798 (window-or-subwindow-p): Rename to window--in-subtree-p.
15799
3c6702ef
ML
158002011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15801
15802 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15803 Ensure that mbox format messages end in two newlines (Bug#9974).
15804
49745b39
CY
158052011-11-06 Chong Yidong <cyd@gnu.org>
15806
15807 * window.el (window-combination-p): Function deleted; its
15808 side-effect is not used in any existing code.
15809 (window-combinations, window-combined-p): Call window-*-child
15810 directly.
15811
24300f5f
CY
158122011-11-05 Chong Yidong <cyd@gnu.org>
15813
15814 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
15815 (window-size-ignore, window-state-get): Callers changed.
15816 (window-normalize-window): Rename from window-normalize-any-window.
15817 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 15818 (window-normalize-live-window): Delete.
447f16b8
CY
15819 (window-combination-p, window-combined-p, window-combinations)
15820 (walk-window-subtree, window-atom-root, window-min-size)
15821 (window-sizable, window-sizable-p, window-size-fixed-p)
15822 (window-min-delta, window-max-delta, window-resizable)
15823 (window-resizable-p, window-full-height-p, window-full-width-p)
15824 (window-current-scroll-bars, window-point-1, set-window-point-1)
15825 (window-at-side-p, window-in-direction, window-resize)
15826 (adjust-window-trailing-edge, maximize-window, minimize-window)
15827 (window-deletable-p, delete-window, delete-other-windows)
15828 (record-window-buffer, unrecord-window-buffer)
15829 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15830 (quit-window, split-window, window-state-put)
15831 (set-window-text-height, fit-window-to-buffer)
15832 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 15833
89bd5ee1
EZ
158342011-11-04 Eli Zaretskii <eliz@gnu.org>
15835
53479029
EZ
15836 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15837 rfc2047-decode-string.
15838 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15839 warnings.
15840
89bd5ee1
EZ
15841 * window.el (window-body-height, window-body-width): Mention in
15842 the doc string that the return values are in frame's canonical
15843 units. (Bug#9949)
15844
bd17fdee
AM
158452011-11-03 Alan Mackenzie <acm@muc.de>
15846
15847 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15848 change in cc-engine.el.
15849
acc825c5
SM
158502011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15851
15852 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15853
1885e5b8
MR
158542011-11-02 Martin Rudalics <rudalics@gmx.at>
15855
15856 * window.el (quit-window): Call unrecord-window-buffer after
15857 showing another buffer in the window. (Bug#9937)
acc825c5 15858 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 15859
ebe06da9
JB
158602011-11-02 Juanma Barranquero <lekktu@gmail.com>
15861
15862 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15863 Accept status with more than 9 shelves. (Bug#9935)
15864 Reported by Colin D Bennett <colin@gibibit.com>.
15865
4ee88440
MR
158662011-11-01 Martin Rudalics <rudalics@gmx.at>
15867
15868 * help.el (with-help-window): Don't reference
15869 temp-buffer-show-specifiers in doc-string.
15870
08e1d82c
AS
158712011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15872
15873 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15874 menu-item.
15875
84bd6e9e
VJL
158762011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15877
15878 * whitespace.el: New version 13.2.2.
15879 (whitespace-newline-mode): Disable properly. Reported by Sarah
15880 <EmacsWiki>.
15881
dba0634a
UJ
158822011-10-30 Ulf Jasper <ulf.jasper@web.de>
15883
15884 * net/newst-treeview.el: Remove "Time-stamp".
15885 (newsticker--group-manage-orphan-feeds): Do not call
15886 newsticker--treeview-tree-update.
db22a3c2
JB
15887 (newsticker-treeview-update, newsticker-treeview):
15888 Call newsticker--treeview-tree-update if necessary.
dba0634a 15889
3d8daefe
MR
158902011-10-30 Martin Rudalics <rudalics@gmx.at>
15891
15892 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
15893 (window-iso-combinations): Remove "iso-" infix.
15894 Suggested by Chong Yidong.
3d8daefe
MR
15895 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15896 (window-max-delta-1, window-resize, window--resize-siblings)
15897 (window--resize-this-window, adjust-window-trailing-edge)
15898 (split-window, balance-windows-1)
15899 (shrink-window-if-larger-than-buffer):
15900 * calendar/calendar.el (calendar-generate-window):
db22a3c2 15901 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 15902
1bc4c3ae
SM
159032011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15904
15905 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15906 in place (bug#9907).
15907 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15908 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15909 (eshell-structure-basic-command, eshell-rewrite-while-command)
15910 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15911 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15912 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15913 (eshell-do-pipelines-synchronously, eshell-eval-command):
15914 Use backquotes and prefer setq to set.
15915 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15916 (eshell-macrop): Use functionp.
c1e2f5fa 15917 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 15918
30b65d9c
CY
159192011-10-30 Chong Yidong <cyd@gnu.org>
15920
15921 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15922 instead of set-mark (Bug#9810).
15923
2d197ffb
CY
159242011-10-30 Chong Yidong <cyd@gnu.org>
15925
15926 * window.el (split-window-below, split-window-right): Rename from
15927 split-window-above-each-other and split-window-side-by-side
15928 respectively. All callers changed.
15929 (split-window-sensibly, split-window-sensibly): Use them.
15930 (split-window-keep-point): Doc fix.
15931
15932 * isearch.el: Add isearch-scroll property to split-window-below
15933 and split-window-right.
15934
15935 * follow.el (follow-mode):
15936 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15937 * progmodes/ada-xref.el (ada-gdb-application):
15938 * emulation/vip.el (vip-buffer-in-two-windows):
15939 * image-dired.el (image-dired-dired-with-window-configuration):
15940 * dired-x.el (dired-do-find-marked-files):
15941 * dired.el (dired-pop-to-buffer):
15942 * bs.el (bs--show-with-configuration):
15943 * vc/emerge.el (emerge-setup-windows):
15944 * textmodes/two-column.el (2C-two-columns):
15945 * textmodes/reftex-toc.el (reftex-toc):
15946 * progmodes/gdb-mi.el (gdb-setup-windows):
15947 * progmodes/fortran.el (fortran-window-create):
15948 * net/newst-treeview.el (newsticker--treeview-window-init):
15949 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15950 * emulation/tpu-edt.el (tpu-gold-map):
15951 * emulation/crisp.el (crisp-mode-map):
15952 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15953
38bb2ca8
CY
159542011-10-29 Chong Yidong <cyd@gnu.org>
15955
aa4de341
CY
15956 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15957
e1eb5385
CY
15958 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15959
5d2ece3c
CY
15960 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15961 forged Ispell output (Bug#7904).
15962
38bb2ca8
CY
15963 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15964
d0af9f77
SM
159652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15966
15967 * doc-view.el: Avoid ugly errors about not finding nil.
15968 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15969 (doc-view-dvipdf-program, doc-view-unoconv-program)
15970 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15971 Avoid nil or absolute file name as default value.
15972 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15973
52bedd34
AM
159742011-10-28 Alan Mackenzie <acm@muc.de>
15975
db22a3c2 15976 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 15977
7e43cfa5
AM
159782011-10-28 Alan Mackenzie <acm@muc.de>
15979
15980 Amend the handling of c-beginning/end-of-defun in nested declaration
15981 scopes.
15982
52bedd34
AM
15983 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15984 cc-langs.el. Change it to a defcustom.
7e43cfa5 15985
52bedd34
AM
15986 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15987 cc-vars.el.
7e43cfa5 15988
d0af9f77
SM
15989 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15990 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 15991
52bedd34 15992 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 15993 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
15994 (c-widen-to-enclosing-decl-scope): New function.
15995 (c-while-widening-to-decl-block): New macro.
15996 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15997 outward for defun boundaries, and correspondingly change symbol
15998 `respect-enclosure' to `go-outward'.
15999 (c-declaration-limits): Change algorithm to report only the "innermost"
16000 defun's boundaries.
16001
1a2ce9ee
DD
160022011-10-28 Deniz Dogan <deniz@dogan.se>
16003
16004 * net/rcirc.el (rcirc-mode): Use hard newlines.
16005
bc97a826
AM
160062011-10-28 Alan Mackenzie <acm@muc.de>
16007
16008 Amend to indent and fontify macros "which include their own semicolon"
16009 correctly, using the "virtual semicolon" mechanism.
16010
52bedd34 16011 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 16012
d0af9f77 16013 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 16014 Recode to scan one line at a time rather than having \n and \r
58179cce 16015 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 16016 (c-forward-label): Amend for virtual semicolons.
58179cce 16017 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 16018
52bedd34
AM
16019 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16020 of the new C macros.
bc97a826 16021
52bedd34 16022 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
16023 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16024 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
16025 (c-opt-cpp-macro-define): Make into a full language variable.
16026 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16027 AWK Mode (including \n, \r) removed, no longer needed.
16028
d0af9f77
SM
16029 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16030 Invoke c-make-macro-with-semi-re.
bc97a826 16031
52bedd34
AM
16032 * progmodes/cc-vars.el (c-macro-with-semi-re):
16033 (c-macro-names-with-semicolon): New variables.
58179cce 16034 (c-make-macro-with-semi-re): New function.
bc97a826 16035
7a6c0941
SM
160362011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16037
16038 * vc/log-edit.el: Fill empty field rather than adding new one.
16039 (log-edit-add-field): New function.
16040 (log-edit-insert-changelog): Use it.
16041
b0c4cdcf
ML
160422011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16043
16044 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16045
ee1f1da9
SM
160462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16047
16048 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16049 (gdb--check-interpreter): New function.
16050 (gdb): Use it.
16051
51bc5f8b
GM
160522011-10-27 Glenn Morris <rgm@gnu.org>
16053
416a2c45
GM
16054 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16055 (least-positive-float, least-negative-float)
16056 (least-positive-normalized-float, least-negative-normalized-float)
16057 (float-epsilon, float-negative-epsilon):
16058 Remove unnecessary declarations.
16059
16060 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16061 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16062 (least-positive-float, least-negative-float)
16063 (least-positive-normalized-float, least-negative-normalized-float)
16064 (float-epsilon, float-negative-epsilon): Add doc-strings,
16065 based on those in cl.texi.
16066
51bc5f8b
GM
16067 * files.el (set-visited-file-name): If the major-mode changed,
16068 reload the local variables. (Bug#9796)
16069
15de15c6
CY
160702011-10-27 Chong Yidong <cyd@gnu.org>
16071
16072 * subr.el (change-major-mode-after-body-hook): New hook.
16073 (run-mode-hooks): Run it.
16074
ee1f1da9
SM
16075 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16076 Use change-major-mode-before-body-hook.
15de15c6
CY
16077
16078 * simple.el (fundamental-mode):
16079 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16080 change introducing fundamental-mode-hook.
16081
5430d399
JB
160822011-10-26 Juanma Barranquero <lekktu@gmail.com>
16083
acc825c5 16084 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 16085
ad74a69e
MA
160862011-10-26 Michael Albinus <michael.albinus@gmx.de>
16087
16088 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 16089 tramp.el explicitly. (Bug#7583)
ad74a69e 16090
71d4c2a5
SM
160912011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16092
16093 * progmodes/octave-mod.el:
16094 * progmodes/octave-inf.el: Update maintainer.
16095
b1f6fa26
CY
160962011-10-26 Chong Yidong <cyd@gnu.org>
16097
16098 * subr.el (with-wrapper-hook): Rewrite doc.
16099
3f04efd6
MA
161002011-10-25 Michael Albinus <michael.albinus@gmx.de>
16101
16102 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 16103 filenames "/method:foo:". (Bug#9793)
3f04efd6 16104
410488d3
SM
161052011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16106
16107 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16108 (bug#9865).
16109
c1ebb47e
GM
161102011-10-24 Glenn Morris <rgm@gnu.org>
16111
16112 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16113
7f5c46c7
MA
161142011-10-24 Michael Albinus <michael.albinus@gmx.de>
16115
16116 * notifications.el: Add the requirement of a running D-Bus session
16117 bus to the Commentary.
16118
db2440b6
JL
161192011-10-24 Juri Linkov <juri@jurta.org>
16120
16121 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16122 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16123 (Bug#9364)
16124
feecf435
JL
161252011-10-24 Juri Linkov <juri@jurta.org>
16126
16127 * info.el (Info-following-node-name-re): Add newline to the list
16128 of allowed characters for leading space. (Bug#9824)
16129
a3839de2
SM
161302011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16131
acc825c5
SM
16132 * progmodes/octave-inf.el (inferior-octave-mode-map):
16133 Fix C-c C-h binding.
a3839de2
SM
16134 * progmodes/octave-mod.el (octave-help): Remove.
16135
09388e76
MA
161362011-10-23 Michael Albinus <michael.albinus@gmx.de>
16137
16138 Sync with Tramp 2.2.3.
16139
16140 * net/tramp-cache.el (top): Pacify byte-compiler using
16141 `init-file-user' and `site-run-file'.
16142
16143 * net/trampver.el: Update release number.
16144
86c60681
CY
161452011-10-23 Chong Yidong <cyd@gnu.org>
16146
16147 * files.el (toggle-read-only): Remove obsolete comment about
16148 version control.
16149
16150 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16151 for toggle-read-only. Note that this hasn't called vc-next-action
16152 since 2008-05-02, though it wasn't documented at the time.
16153
a3839de2
SM
16154 * vc/ediff-init.el (ediff-toggle-read-only-function):
16155 Use toggle-read-only.
86c60681 16156
cd5495ff
AM
161572011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16158
16159 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16160 of c-parse-state.
16161
00b77525 16162 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 16163 correct faulty logical expression.
cd5495ff
AM
16164 (c-parse-state-state, c-record-parse-state-state):
16165 (c-replay-parse-state-state): New defvar/defuns.
16166 (c-debug-parse-state): Use new functions.
16167
42ee24ed
MR
161682011-10-22 Martin Rudalics <rudalics@gmx.at>
16169
16170 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 16171 last fix. Use window-in-direction correctly.
42ee24ed 16172
a7dee7e7
CY
161732011-10-21 Chong Yidong <cyd@gnu.org>
16174
16175 * progmodes/idlwave.el (idlwave-mode):
16176 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
16177 require-final-newline; that's done in prog-mode.
16178 Suggested by Stefan Monnier.
a7dee7e7 16179
e07b9a6d
MR
161802011-10-21 Martin Rudalics <rudalics@gmx.at>
16181
16182 * mouse.el (mouse-drag-window-above)
16183 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16184 (mouse-drag-mode-line-1, mouse-drag-header-line)
16185 (mouse-drag-vertical-line-rightward-window): Remove.
16186 (mouse-drag-line): New function.
16187 (mouse-drag-mode-line, mouse-drag-header-line)
16188 (mouse-drag-vertical-line): Call mouse-drag-line.
16189 * window.el (window-at-side-p, windows-at-side): New functions.
16190
7e1361d9
UM
161912011-10-21 Ulrich Mueller <ulm@gentoo.org>
16192
16193 * tar-mode.el (tar-grind-file-mode):
16194 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16195
30fcaf3a
CY
161962011-10-21 Chong Yidong <cyd@gnu.org>
16197
16198 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
16199 * progmodes/vera-mode.el (vera-mode):
16200 Use mode-require-final-newline.
30fcaf3a 16201
516eddb0
GM
162022011-10-20 Glenn Morris <rgm@gnu.org>
16203
db22a3c2 16204 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 16205
10d5f513
CS
162062011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16207
16208 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16209
ac6c8639
CY
162102011-10-20 Chong Yidong <cyd@gnu.org>
16211
16212 * emulation/cua-base.el (cua-mode):
16213 * mail/footnote.el (footnote-mode):
16214 * mail/mailabbrev.el (mail-abbrevs-mode):
16215 * net/xesam.el (xesam-minor-mode):
16216 * progmodes/bug-reference.el (bug-reference-mode):
16217 * progmodes/cap-words.el (capitalized-words-mode):
16218 * progmodes/compile.el (compilation-minor-mode)
16219 (compilation-shell-minor-mode):
16220 * progmodes/gud.el (gud-tooltip-mode):
16221 * progmodes/hideif.el (hide-ifdef-mode):
16222 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16223 * progmodes/subword.el (subword-mode):
16224 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16225 * progmodes/which-func.el (which-function-mode):
16226 * term/tvi970.el (tvi970-set-keypad-mode):
16227 * term/vt100.el (vt100-wide-mode):
16228 * textmodes/flyspell.el (flyspell-mode):
16229 * textmodes/ispell.el (ispell-minor-mode):
16230 * textmodes/nroff-mode.el (nroff-electric-mode):
16231 * textmodes/paragraphs.el (use-hard-newlines):
16232 * textmodes/refill.el (refill-mode):
16233 * textmodes/reftex.el (reftex-mode):
16234 * textmodes/rst.el (rst-minor-mode):
16235 * textmodes/sgml-mode.el (html-autoview-mode)
16236 (sgml-electric-tag-pair-mode):
16237 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16238 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16239 * emulation/crisp.el (crisp-mode):
16240 * emacs-lisp/eldoc.el (eldoc-mode):
16241 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16242 minor mode behavior.
16243
aa42ab43
JL
162442011-10-19 Juri Linkov <juri@jurta.org>
16245
16246 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16247 the list of hard-coded chars with escape-glyph face.
16248
89400f1d
SM
162492011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16250
16251 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16252
305c07f6
MA
162532011-10-19 Michael Albinus <michael.albinus@gmx.de>
16254
16255 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16256 running process.
16257
13754b54
GM
162582011-10-19 Glenn Morris <rgm@gnu.org>
16259
16260 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16261 Ignore ignored files. (Bug#9726)
16262
06e21633
CY
162632011-10-19 Chong Yidong <cyd@gnu.org>
16264
16265 Doc fix for minor modes, stating that an omitted argument enables
16266 the mode unconditionally when called from Lisp.
16267
16268 * abbrev.el (abbrev-mode):
16269 * allout.el (allout-mode):
16270 * autoinsert.el (auto-insert-mode):
16271 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16272 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16273 (global-auto-revert-mode):
16274 * battery.el (display-battery-mode):
16275 * composite.el (global-auto-composition-mode)
16276 (auto-composition-mode):
16277 * delsel.el (delete-selection-mode):
16278 * desktop.el (desktop-save-mode):
16279 * dired-x.el (dired-omit-mode):
16280 * dirtrack.el (dirtrack-mode):
16281 * doc-view.el (doc-view-minor-mode):
16282 * double.el (double-mode):
16283 * electric.el (electric-indent-mode, electric-pair-mode):
16284 * emacs-lock.el (emacs-lock-mode):
16285 * epa-hook.el (auto-encryption-mode):
16286 * follow.el (follow-mode):
16287 * font-core.el (font-lock-mode):
16288 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16289 * help.el (temp-buffer-resize-mode):
16290 * hilit-chg.el (highlight-changes-mode)
16291 (highlight-changes-visible-mode):
16292 * hi-lock.el (hi-lock-mode):
16293 * hl-line.el (hl-line-mode, global-hl-line-mode):
16294 * icomplete.el (icomplete-mode):
16295 * ido.el (ido-everywhere):
16296 * image-file.el (auto-image-file-mode):
16297 * image-mode.el (image-minor-mode):
16298 * iswitchb.el (iswitchb-mode):
16299 * jka-cmpr-hook.el (auto-compression-mode):
16300 * linum.el (linum-mode):
16301 * longlines.el (longlines-mode):
16302 * master.el (master-mode):
16303 * mb-depth.el (minibuffer-depth-indicate-mode):
16304 * menu-bar.el (menu-bar-mode):
16305 * minibuf-eldef.el (minibuffer-electric-default-mode):
16306 * mouse-sel.el (mouse-sel-mode):
16307 * msb.el (msb-mode):
16308 * mwheel.el (mouse-wheel-mode):
16309 * outline.el (outline-minor-mode):
16310 * paren.el (show-paren-mode):
16311 * recentf.el (recentf-mode):
16312 * reveal.el (reveal-mode, global-reveal-mode):
16313 * rfn-eshadow.el (file-name-shadow-mode):
16314 * ruler-mode.el (ruler-mode):
16315 * savehist.el (savehist-mode):
16316 * scroll-all.el (scroll-all-mode):
16317 * scroll-bar.el (scroll-bar-mode):
16318 * server.el (server-mode):
16319 * shell.el (shell-dirtrack-mode):
16320 * simple.el (auto-fill-mode, transient-mark-mode)
16321 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16322 (line-number-mode, column-number-mode, size-indication-mode)
16323 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16324 * strokes.el (strokes-mode):
16325 * time.el (display-time-mode):
16326 * t-mouse.el (gpm-mouse-mode):
16327 * tool-bar.el (tool-bar-mode):
16328 * tooltip.el (tooltip-mode):
16329 * type-break.el (type-break-mode-line-message-mode)
16330 (type-break-query-mode):
16331 * view.el (view-mode):
16332 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16333 (global-whitespace-mode, global-whitespace-newline-mode):
16334 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16335
a3839de2
SM
16336 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16337 Fix autogenerated docstring.
06e21633 16338
5214e501
JL
163392011-10-19 Juri Linkov <juri@jurta.org>
16340
16341 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16342 by checking environment variables "DESKTOP_SESSION" and
16343 "XDG_CURRENT_DESKTOP". (Bug#9779)
16344
195f8db9
JL
163452011-10-19 Juri Linkov <juri@jurta.org>
16346
16347 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16348 (browse-url-chromium-program, browse-url-chromium-arguments):
16349 New defcustoms.
16350 (browse-url-default-browser): Check for `browse-url-chromium' and
16351 call `browse-url-chromium-program'.
16352 (browse-url-chromium): New command. (Bug#9779)
16353
343a34ff
JB
163542011-10-18 Juanma Barranquero <lekktu@gmail.com>
16355
16356 * facemenu.el (list-colors-duplicates): On Windows, detect more
16357 duplicates by assuming that only colors matching "^System" are
16358 special "system colors". (Bug#9722)
16359
6978a151
SM
163602011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16361
16362 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16363 to distinguish the author from the committer.
16364
6a80b297
MA
163652011-10-18 Michael Albinus <michael.albinus@gmx.de>
16366
16367 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16368
b31a5677
JK
163692011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16370
16371 * international/mule.el (sgml-html-meta-auto-coding-function):
16372 Add support for detecting encoding in HTML5 specified only as
16373 <meta charset="UTF-8">. Implementation just makes http-equiv and
16374 content-type parts from HTML4 encoding string optional. (Bug#9716)
16375
80c6d77f
GM
163762011-10-18 Glenn Morris <rgm@gnu.org>
16377
16378 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16379
08b0fee8
CY
163802011-10-18 Chong Yidong <cyd@gnu.org>
16381
16382 * faces.el (cursor): Doc fix.
16383
67e729a5
CY
163842011-10-17 Chong Yidong <cyd@gnu.org>
16385
16386 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16387
343a34ff 163882011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
16389
16390 * dirtrack.el (dirtrack): Support shell buffers with path
16391 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16392
0bc06380
TZ
163932011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16394
16395 * json.el: Bump version to 1.3 and note change in History.
16396 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16397
8b79f3e0
SM
163982011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16399
5a7c536b
SM
16400 * comint.el (comint-insert-input, comint-send-input)
16401 (comint-get-old-input-default, comint-backward-matching-input)
16402 (comint-next-prompt): Use nil instead of `input' for field property of
16403 past user input (bug#114).
16404
96a8a0df
SM
16405 * minibuffer.el (completion--replace): Inherit surrounding properties
16406 (bug#114).
16407 (minibuffer-complete-and-exit): Use it.
16408
8b79f3e0
SM
16409 * comint.el (comint--table-subvert): Quote the all-completions output
16410 (bug#9160).
16411
b8f7ff0d
MR
164122011-10-17 Martin Rudalics <rudalics@gmx.at>
16413
8b79f3e0 16414 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 16415
b8f7ff0d 16416 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 16417 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
16418 entries and separate them from frame entries.
16419
c235b555
GM
164202011-10-15 Glenn Morris <rgm@gnu.org>
16421
16422 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16423 Doc fixes.
16424
6bbfa6e1
CY
164252011-10-15 Chong Yidong <cyd@stupidchicken.com>
16426
8b79f3e0
SM
16427 * net/network-stream.el (network-stream-open-starttls):
16428 Improve detection of failure due to lack of TLS support.
ec5c990d 16429
6bbfa6e1
CY
16430 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16431 putting the input text in front and in bold.
16432
98488977
SM
164332011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16434
3d1337be
SM
16435 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16436
ee0b45e4
SM
16437 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16438 empty buffer.
16439
98488977
SM
16440 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16441 unread-command-events rather than pushing yet-another event.
16442
186f4720
EZ
164432011-10-14 Eli Zaretskii <eliz@gnu.org>
16444
16445 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16446 the explanation of the possible choices. Make the options passed
16447 to completing-read shorter.
16448
8b7a997c
AM
164492011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16450
16451 * textmodes/flyspell.el (flyspell-large-region): Make sure
16452 extended character mode is used if defined (Bug#1339).
16453
12587bbb
EZ
164542011-10-13 Eli Zaretskii <eliz@gnu.org>
16455
16456 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
16457 character info for LRE, LRO, RLE, and RLO characters by appending
16458 an invisible PDF.
12587bbb 16459
bad41229
SM
164602011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16461
16462 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16463 even in case of error; add debug spec; simplify data flow.
16464 (with-timeout-handler): Remove.
16465
28dbc92f
MA
164662011-10-12 Michael Albinus <michael.albinus@gmx.de>
16467
16468 Fix Bug#6019, Bug#9315.
16469
16470 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16471 complete `buffer-file-name', the local file name part could look
16472 remotely (for example on VMS).
16473
16474 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16475 `tramp-run-real-handler'.
16476 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16477 already quoted by '"'.
16478
16479 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16480 Let `file-name-handler-alist' be nil, the local file name part
16481 could look remotely (for example on VMS).
16482
e1b0b23a
SM
164832011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16484
16485 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16486 from here...
16487 (flyspell-post-command-hook): ...to here.
16488
a120bde9
SM
164892011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16490
16491 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16492 if not needed.
16493 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16494 using completion. Protect against "slow" callers.
16495 Remove the "message hack".
16496
7ce7717b
JL
164972011-10-11 Juri Linkov <juri@jurta.org>
16498
16499 * isearch.el (isearch-lazy-highlight-word): New variable.
16500 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16501 Use it. (Bug#9727)
16502
c02ee9d6
GM
165032011-10-11 Glenn Morris <rgm@gnu.org>
16504
16505 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16506 like f90-previous-statement does.
16507
93e616fd 165082011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16509
1f190e73 16510 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
16511 only in interactive use, to avoid error.
16512
af7b6078
SM
165132011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16514
16515 * minibuffer.el (completion-file-name-table): Fix last change,
16516 i.e. ignore normal errors but not the other ones.
16517
0563dae9
MR
165182011-10-10 Martin Rudalics <rudalics@gmx.at>
16519
16520 * window.el (special-display-buffer-names)
16521 (special-display-regexps): Remove some remnants of earlier
16522 changes from doc-strings.
366ca7f3
MR
16523 (quit-windows-on): New function.
16524
16525 * vc/vc.el (vc-revert, vc-rollback):
16526 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16527 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 16528 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 16529
49677495
MR
165302011-10-09 Martin Rudalics <rudalics@gmx.at>
16531
16532 * window.el (frame-auto-hide-function): Add version tag.
16533 (Bug#9699)
16534
56f2d1e1
MA
165352011-10-09 Michael Albinus <michael.albinus@gmx.de>
16536
16537 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16538 condition.
16539
112a6592
LL
165402011-10-09 Leo Liu <sdl.web@gmail.com>
16541
16542 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16543 (Bug#9701)
16544
0812589b
GM
165452011-10-08 Glenn Morris <rgm@gnu.org>
16546
16547 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16548 before the first code statement zero indent. (Bug#9690)
16549
b2b0776e
CY
165502011-10-08 Chong Yidong <cyd@stupidchicken.com>
16551
16552 * simple.el (count-words-region): Always count in the region.
16553 Report the number of lines and characters too.
16554 (count-words): New command, which counts in the buffer if the
16555 region is inactive, as count-words-region used to.
16556 (count-words--message): New function. Handle plurals.
16557 (count-lines-region): Make it an alias for count-words-region.
16558
16559 * bindings.el (esc-map): Replace count-lines-region with
16560 count-words-region.
16561
c557cd6b
MR
165622011-10-08 Martin Rudalics <rudalics@gmx.at>
16563
16564 * window.el (window--delete): Delete dedicated frame
16565 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 16566 (switch-to-buffer): Fix doc-string typo.
c557cd6b 16567
61a57ef4 165682011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16569
3a7d293b 16570 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 16571
c3833279
CY
165722011-10-07 Chong Yidong <cyd@stupidchicken.com>
16573
16574 * bindings.el ([M-left],[M-right]): Bind to left-word and
16575 right-word respectively.
16576
21ce8245
GM
165772011-10-07 Glenn Morris <rgm@gnu.org>
16578
16579 * cus-start.el (debug-on-quit): Fix custom type.
16580
6d823bb2
LMI
165812011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16582
0181e193
LMI
16583 * subr.el (define-key-after): Clarify that the function is not
16584 useful for non-menu keymaps.
16585
6d823bb2
LMI
16586 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16587
8e3459ce 165882011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16589
21ce8245 16590 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 16591 in current minibuffer (Fix bug with recursive minibuffers).
16592
a1c2d21e
CY
165932011-10-06 Chong Yidong <cyd@stupidchicken.com>
16594
16595 * progmodes/gdb-mi.el (gdb): Doc fix.
16596
5a4cf282
MR
165972011-10-05 Martin Rudalics <rudalics@gmx.at>
16598
16599 * window.el (frame-auto-hide-function): New option replacing
16600 frame-auto-delete. Suggested by Stefan Monnier.
16601 (window--delete): Call frame-auto-hide-function instead of
16602 investigating frame-auto-delete.
c96111ea
MR
16603 (window-point-1, set-window-point-1): New functions.
16604 (window-in-direction, record-window-buffer, window-state-get-1)
16605 (display-buffer-record-window): Use window-point-1 instead of
16606 window-point.
16607 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 16608
9854542e
SM
166092011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16610
16611 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16612
8943cfb0
GM
166132011-10-05 Glenn Morris <rgm@gnu.org>
16614
16615 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16616 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16617
647ab967
LL
166182011-10-05 Leo Liu <sdl.web@gmail.com>
16619
16620 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16621 works with buffer object.
16622
3ddfbced
SM
166232011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16624
16625 * mpc.el (mpc-tool-bar-map): Add labels.
16626
bdfa5dd2
GM
166272011-10-04 Glenn Morris <rgm@gnu.org>
16628
16629 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16630
0e2070b5
MR
166312011-10-04 Martin Rudalics <rudalics@gmx.at>
16632
16633 * window.el (window--delete): New function.
16634 (frame-auto-delete): Resuscitate option.
16635 (bury-buffer, replace-buffer-in-windows)
16636 (quit-window): Rewrite using window--delete.
16637 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16638 Pass display-buffer-mark-dedicated to window--display-buffer-2
16639 (Bug#9639).
16640
3dc61a09
SM
166412011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16642
915a9b64
SM
16643 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16644 returns a list (bug#9554). Add remote file name completion.
16645 * comint.el (comint--table-subvert): Curry and get quote&unquote
16646 functions as arguments.
16647 (comint--complete-file-name-data): Adjust call accordingly.
16648 * pcomplete.el (pcomplete--table-subvert): Remove.
16649 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16650
3dc61a09
SM
16651 * minibuffer.el (completion-table-case-fold): Use currying.
16652 (completion--styles-type, completion--cycling-threshold-type):
16653 New constants.
16654 (completion-styles, completion-category-overrides)
16655 (completion-cycle-threshold): Use them.
16656 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16657 completion-table-case-fold.
16658
8ea0a993
SB
166592011-10-03 Stephen Berman <stephen.berman@gmx.net>
16660
16661 * minibuffer.el (completion-category-overrides): Fix type of styles
16662 and add more user friendly tags (bug#9660).
16663
8c24b7f6
SM
166642011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16665
16666 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16667 (mule-input-method-string): New widget.
16668 (default-input-method, language-info-custom-alist): Use it.
16669
428fe61a
SM
166702011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16671
32c1fffd
SM
16672 * pcomplete.el: Require comint.
16673 (pcomplete--common-suffix): Remove.
16674 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16675 (pcomplete--table-subvert): Sync with comint--table-subvert.
16676 (pcomplete--entries): Use comint-completion-file-name-table.
16677 * comint.el (comint-unquote-filename): Simplify.
16678 (comint-completion-file-name-table): New function (bug#9616).
16679 (comint--complete-file-name-data): Use it.
16680
428fe61a
SM
16681 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16682 (pcmpl-gnu-tar-buffer): Remove.
16683 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
16684 around. Make sure pcomplete-suffix-list is only changed temporarily.
16685 Don't look inside the tar's file if it's too large.
428fe61a 16686
04c52e2f
CY
166872011-10-01 Chong Yidong <cyd@stupidchicken.com>
16688
ce3cefcc
CY
16689 * cus-edit.el (custom-mode-map):
16690 * epa.el (epa-key-list-mode-map):
16691 * man.el (Man-mode-map):
16692 * startup.el (splash-screen-keymap):
16693 * simple.el (special-mode-map): Use scroll-up-command and
16694 scroll-down-command.
16695
16696 * progmodes/idlw-help.el (idlwave-help-mode-map):
16697 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16698 * net/newst-plainview.el (newsticker-mode-map):
16699 * emulation/ws-mode.el (wordstar-mode-map):
16700 * emulation/vi.el (vi-com-map):
16701 * calc/calc-graph.el (calc-graph-show-dumb):
16702 * term/sun.el (terminal-init-sun):
16703 * term/ns-win.el (global-map):
16704 * progmodes/grep.el (grep-mode-map):
16705 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16706 * mail/rmail.el (rmail-mode-map):
16707 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16708
04c52e2f
CY
16709 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16710 custom-safe-themes as special.
16711
79adf8c8
JD
167122011-10-01 Julien Danjou <julien@danjou.info>
16713
16714 * notifications.el (notifications-notify): Fix docstring.
16715
63bd50d3
PS
167162011-10-01 Per Starbäck <per@starback.se>
16717
16718 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16719
199e4c7e
MR
167202011-09-30 Martin Rudalics <rudalics@gmx.at>
16721
16722 * startup.el (command-line-1): Fix last fix by inserting
16723 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 16724 (Bug#9605) and (Bug#9636)
199e4c7e 16725
fe5f08dd
EZ
167262011-09-29 Eli Zaretskii <eliz@gnu.org>
16727
16728 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16729 window is hscrolled, move by logical lines. (Bug#9607)
16730 (line-move-visual): Update the doc string to the above effect.
16731
b5516bbd
MR
167322011-09-29 Martin Rudalics <rudalics@gmx.at>
16733
ccee00c0
MR
16734 * window.el (display-buffer-record-window): When WINDOW is the
16735 selected window use `point' instead of `window-point'. (Bug#9626)
16736
b5516bbd
MR
16737 * startup.el (command-line-1): Use insert-before-markers when
16738 inserting initial-scratch-message. (Bug#9605)
ccee00c0 16739
b5516bbd
MR
16740 * help.el (help-window): Remove variable.
16741
52aa0014
GM
167422011-09-29 Glenn Morris <rgm@gnu.org>
16743
16744 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16745
df9a7357
JB
167462011-09-29 Juanma Barranquero <lekktu@gmail.com>
16747
16748 * descr-text.el (describe-char-categories): Accept category
16749 descriptions more than one line long.
16750
a8406c20
SM
167512011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16752
88d9610c
SM
16753 * simple.el (delete-trailing-whitespace): Fix last change.
16754
a5daf810
SM
16755 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16756 Don't confuse "y => 3" as the beginning of a `y' operation.
16757
a8406c20
SM
16758 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16759 object has more than 4 slots (bug#9613).
16760
a239d4e9
JB
167612011-09-28 Juanma Barranquero <lekktu@gmail.com>
16762
16763 * subr.el (with-output-to-temp-buffer):
16764 * net/quickurl.el (quickurl, quickurl-browse-url):
16765 Fix typos in docstrings.
16766
693fbdb6
EZ
167672011-09-27 Eli Zaretskii <eliz@gnu.org>
16768
16769 * minibuffer.el (completion-styles)
16770 (completion-category-overrides): Cross reference each other in doc
16771 strings.
16772
8b457e28
GM
167732011-09-27 Glenn Morris <rgm@gnu.org>
16774
16775 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16776 to split-string. (Bug#9606)
16777
85a16208
LMI
167782011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16779
16780 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16781 (bug#9615).
16782
502f9ebd
CY
167832011-09-27 Chong Yidong <cyd@stupidchicken.com>
16784
16785 * emacs-lisp/package.el (list-packages): Fix echo area message.
16786
7690bdea
LL
167872011-09-27 Leo Liu <sdl.web@gmail.com>
16788
16789 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16790
e2ee6f30
MA
167912011-09-25 Michael Albinus <michael.albinus@gmx.de>
16792
16793 * net/dbus.el (dbus-unregister-object): Don't release services for
16794 registered signals. (Bug#9581)
16795
f3f98342
TZ
167962011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16797
16798 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16799 function that picks between cfengine 2 and 3 support
16800 automatically. Update docs accordingly.
16801
dd7aa8dd
KH
168022011-09-22 Kenichi Handa <handa@m17n.org>
16803
16804 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16805 ZERO.
16806 (indian-itrans-v5-table-for-tamil): New variable.
16807 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16808
3f2b07f8
KM
168092011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16810
16811 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16812 that's true if the current command involved collapsing of text.
16813 It's reset to false at the beginning of the next command.
16814 (allout-post-command-business): Move the cursor to the beginning
16815 of entry if the cursor is hidden and collapsing activity just
16816 happened.
16817
371d6a61
CY
168182011-09-24 Chong Yidong <cyd@stupidchicken.com>
16819
16820 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16821 tracking (Bug#9541).
16822
2ac2721a
UJ
168232011-09-24 Ulf Jasper <ulf.jasper@web.de>
16824
16825 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
16826 (newsticker-show-news): Automatically load html rendering package
16827 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16828 because w3m-fill-column is let-bound" and the error "Symbol's value
16829 as variable is void: w3m-fill-column".
2ac2721a 16830
fac7ae53
MA
168312011-09-24 Michael Albinus <michael.albinus@gmx.de>
16832
16833 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16834 Release services only if they are defined. (Bug#9581)
16835
e08b633b
RS
168362011-09-23 Richard Stallman <rms@gnu.org>
16837
e488d29c
RS
16838 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16839 distinguish start of paragraph from start of its text.
16840
19c38752
RS
16841 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16842
e08b633b
RS
16843 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16844 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16845 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16846
0a39f27e
AS
168472011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16848
16849 * international/mule-diag.el (mule-diag): Insert a newline after
16850 each fontset description.
16851
db4e950d
SM
168522011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16853
16854 * simple.el (delete-trailing-whitespace):
16855 Document last change; simplify.
16856
eca3f3ea
PW
168572011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16858
d68e189a
PW
16859 * simple.el (delete-trailing-whitespace): Also delete
16860 extra newlines at the end of the buffer.
16861
eca3f3ea
PW
16862 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16863 (picture-newline): Use forward-line so as to ignore fields.
16864
01c157cc
SM
168652011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16866
16867 * subr.el (with-wrapper-hook): Fix edebug spec.
16868
022de23e
LMI
168692011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16870
16871 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16872 (bug#4538).
16873
91683089
MA
168742011-09-23 Michael Albinus <michael.albinus@gmx.de>
16875
eca3f3ea
PW
16876 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16877 Fix nasty bug using wrong cached values.
91683089 16878
5bdd6fa4
AM
168792011-09-23 Alan Mackenzie <acm@muc.de>
16880
16881 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16882
97adfb97
CY
168832011-09-23 Chong Yidong <cyd@stupidchicken.com>
16884
16885 * window.el (pop-to-buffer): Ensure right window is selected if we
16886 chose another frame.
16887
d4ef2b50
EZ
168882011-09-22 Eli Zaretskii <eliz@gnu.org>
16889
16890 * simple.el (what-cursor-position): Use get-char-property-change
16891 and next-single-char-property-change, to be able to show display
16892 properties that come from overlays as well as text properties.
16893
72258fe5
CY
168942011-09-22 Chong Yidong <cyd@stupidchicken.com>
16895
16896 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16897
16898 * cmuscheme.el (run-scheme, switch-to-scheme):
16899 * cus-edit.el (customize-group, custom-buffer-create)
16900 (customize-browse):
16901 * info.el (info):
16902 * shell.el (shell):
16903 * mail/sendmail.el (mail):
16904 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16905
8f098516
RS
169062011-09-22 Richard Stallman <rms@gnu.org>
16907
16908 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16909 move back only to line beg, don't move back over blank lines.
16910
e74f1bb6
MA
169112011-09-22 Michael Albinus <michael.albinus@gmx.de>
16912
16913 * files.el (copy-directory): Set directory attributes only in case
16914 they could be retrieved from the source directory. (Bug#9565)
16915
bfeef8b6
DK
169162011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16917
16918 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16919 (hs-find-block-beginning, hs-hide-level-recursive):
16920 Ignore strings as well as comments. (Bug#9502)
16921
7e423bb8
AS
169222011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16923
16924 * progmodes/sql.el (sql-comint-postgres):
16925 Convert port number to a string. (Bug#9566)
16926
b4d72fcf
MR
169272011-09-22 Martin Rudalics <rudalics@gmx.at>
16928
16929 * window.el (quit-window): Undedicate window when switching to
16930 previous buffer. Reported by Thierry Volpiatto
16931 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
16932 (special-display-popup-frame): When popping up a new frame reset
16933 its previous buffers to nil. Simplify code.
b4d72fcf 16934
a7b88dc6
MA
169352011-09-21 Michael Albinus <michael.albinus@gmx.de>
16936
16937 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16938 and process filter, as done also in `shell-command'.
16939
cf4eacfd
MR
169402011-09-21 Martin Rudalics <rudalics@gmx.at>
16941
eca3f3ea 16942 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
16943 Call set-window-start with NOFORCE argument t.
16944 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
16945 (quit-window): Reword doc-string. Handle new format of
16946 quit-restore parameter. Don't delete window if it has a
16947 previous buffer we can show instead of the present one.
16948 (display-buffer-record-window): Rewrite using a new format for
16949 the quit-restore window parameter
16950 (special-display-popup-frame, display-buffer-same-window)
16951 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16952 (display-buffer-pop-up-window, display-buffer-use-some-window):
16953 Adapt symbol passed to display-buffer-record-window.
16954 * help.el (help-window-setup): Handle new format of quit-restore
16955 parameter.
16956
8d28cb95
SM
169572011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16958
94ab793f
SM
16959 * faces.el (face-list): Fix docstring (bug#9564).
16960
8d28cb95
SM
16961 * window.el (display-buffer--action-function-custom-type):
16962 Don't include internal functions in the Custom interface.
16963
3820edeb
JL
169642011-09-20 Juri Linkov <juri@jurta.org>
16965
16966 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16967 (Info-forward-node, Info-backward-node, Info-next-preorder)
16968 (Info-last-preorder): Use it. (Bug#9528)
16969
5147931d
JL
169702011-09-20 Juri Linkov <juri@jurta.org>
16971
16972 * info.el (Info-last-preorder): Visit last menu item only when
16973 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16974
cf499a1a
JD
169752011-09-20 Julien Danjou <julien@danjou.info>
16976
16977 * password-cache.el (password-cache-remove): Remove entries even if the
16978 value is nil, so that password with a nil value (negative caching) is
16979 possible to invalidate.
16980
f84e2fe2
LM
169812011-09-20 Lawrence Mitchell <wence@gmx.li>
16982
16983 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16984 all whitespace around breakpoint. (Bug#9553)
16985 (f90-find-breakpoint): Only break at whitespace inside a comment.
16986
78054a46
SM
169872011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16988
16989 * minibuffer.el (completion-file-name-table): Keep track of errors.
16990 (completion-table-with-predicate): Handle the case where pred1 is nil.
16991 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16992
345083b2
SM
169932011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16994
e24e27be
SM
16995 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16996 (debugger-return-value): Signal an error if the debugging context does
16997 not await any return value.
16998
345083b2
SM
16999 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17000 * image-mode.el (image-toggle-display-text)
17001 (image-toggle-display-image): Stay away from evil `intangible'.
17002
08d355e3
LL
170032011-09-19 Leo Liu <sdl.web@gmail.com>
17004
17005 * replace.el (occur-revert-arguments): Make it permanent-local.
17006 (occur-mode): Don't call font-lock-defontify.
17007
f01da43f
CY
170082011-09-19 Chong Yidong <cyd@stupidchicken.com>
17009
17010 * net/ldap.el (ldap-search-internal): Don't push empty search
17011 result (Bug#9508).
17012
b6072fa6
SM
170132011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17014
17015 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17016
443d6696
MA
170172011-09-19 Michael Albinus <michael.albinus@gmx.de>
17018
17019 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17020 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17021
7cc6e154
JL
170222011-09-18 Juri Linkov <juri@jurta.org>
17023
17024 * buff-menu.el (Buffer-menu-mode-map):
17025 * dired.el (dired-mode-map):
17026 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17027 (lisp-interaction-mode-map):
17028 * emacs-lisp/package.el (package-menu-mode-map):
17029 * epa.el (epa-key-list-mode-map):
17030 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17031 (menu-bar-options-menu):
17032 * outline.el (outline-mode-menu-bar-map):
17033 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17034 * vc/vc-dir.el (vc-dir-menu-map):
17035 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17036 Capitalize non-function content words in menu item strings.
17037
17038 * dired.el (dired-mode-map): Add menu item for
17039 `image-dired-dired-toggle-marked-thumbs'.
17040
80302a81
JL
170412011-09-18 Juri Linkov <juri@jurta.org>
17042
17043 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17044 to `isearch-case-fold-search' and restore its original value
17045 after the `isearch-mode' call.
17046
46c5cf66
JL
170472011-09-18 Juri Linkov <juri@jurta.org>
17048
17049 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17050 because `zgrep' returns 1 for successful matches (bug#9226).
17051
d18b513b
JL
170522011-09-18 Juri Linkov <juri@jurta.org>
17053
17054 * info.el (Info-extract-menu-node-name): Check the second match
17055 for empty string (second test-case of bug#9528).
17056 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17057 intermediate nodes to the history (first test-case of bug#9528).
17058
72753f87
JL
170592011-09-18 Juri Linkov <juri@jurta.org>
17060
17061 * info.el (Info-mode-syntax-table): New variable.
1154d12e 17062 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 17063
c9384295
JL
170642011-09-18 Juri Linkov <juri@jurta.org>
17065
1154d12e
JB
17066 * info.el (Info-file-supports-index-cookies):
17067 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17068 outputs one more line for long file names (bug#4142).
c9384295 17069
d473dce8
CY
170702011-09-18 Chong Yidong <cyd@stupidchicken.com>
17071
17072 * newcomment.el (comment-normalize-vars): If prompting for
17073 comment-start, set comment-start-skip too (Bug#8424).
17074
2176854d
JB
170752011-09-18 Johan Bockgård <bojohan@gnu.org>
17076
17077 * icomplete.el: Fix previous fix of Bug#5849.
17078 (icomplete-mode): Don't set completion-show-inline-help.
17079 (icomplete-minibuffer-setup): Set completion-show-inline-help
17080 locally during icompletion.
17081
3aace4e4
CY
170822011-09-18 Chong Yidong <cyd@stupidchicken.com>
17083
c940224f
CY
17084 * woman.el (woman2-process-escapes): Don't delete unrecognized
17085 escapes (Bug#7843).
17086
3aace4e4
CY
17087 * files.el (inhibit-first-line-modes-regexps): Add image files.
17088 (hack-local-variables-prop-line): Return nil for malformed
17089 prop-lines (Bug#9044).
17090
710dec63
MA
170912011-09-18 Michael Albinus <michael.albinus@gmx.de>
17092
17093 * net/tramp.el (top): Don't require 'shell.
17094 (tramp-methods): Fix docstring.
17095 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
17096 Return complete remote file name. Handle "smb" case.
17097 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
17098 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17099
17100 * net/tramp-compat.el (top): Require 'shell.
17101
17102 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17103 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17104 `tramp-current-host'.
17105 (tramp-get-remote-tmpdir): Remove.
17106
17107 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17108 `tramp-tmpdir' entries.
17109 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17110 (tramp-smb-handle-file-attributes): Ignore errors.
17111 (tramp-smb-wait-for-output): Check also for process end.
17112
5d5ac8ec
LMI
171132011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17114
17115 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17116 when sending QUIT (bug#9312).
17117
8c0f49f0
CY
171182011-09-17 Chong Yidong <cyd@stupidchicken.com>
17119
17120 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17121 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17122 occur-mode-display-occurrence.
17123 (occur-edit-mode): Add usage message.
17124 (occur-cease-edit): New command.
17125 (occur-after-change-function): Use text properties to find the
17126 position of the prefix text.
17127 (occur-engine): Set stickiness of prefix text properties.
17128
8f1383f7
GM
171292011-09-17 Glenn Morris <rgm@gnu.org>
17130
17131 * progmodes/etags.el (complete-tag):
17132 Fix call to completion-in-region. (Bug#9526)
17133
744ba0e3
JL
171342011-09-17 Juri Linkov <juri@jurta.org>
17135
17136 * textmodes/ispell.el (ispell-word): Add to the error message
17137 the word, ispell program name and current dictionary (bug#9121).
17138 (ispell-tex-arg-end): Capitalize "error" in the error message.
17139
d9bbf400
AS
171402011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17141
17142 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17143 check. (Bug#4251)
17144
8da11505
JL
171452011-09-17 Juri Linkov <juri@jurta.org>
17146
17147 * window.el (window-safe-min-height, window-safe-min-width):
17148 Fix typos (followup to bug#9522).
17149
a91adc7e
SJ
171502011-09-17 Sven Joachim <svenjoac@gmx.de>
17151
17152 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17153
064f328a
EZ
171542011-09-16 Eli Zaretskii <eliz@gnu.org>
17155
17156 * simple.el (line-move): If goal-column is set, move by logical
17157 lines, not by display lines. (Bug#971)
17158 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17159 to reflect the above change.
17160
e69df516
SM
171612011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17162
17163 * image.el (imagemagick-register-types): Use regexp-opt.
17164
cbb0f9ab
CY
171652011-09-15 Chong Yidong <cyd@stupidchicken.com>
17166
17167 * window.el (display-buffer-base-action): Rename from
17168 display-buffer-default-action. Make default value empty.
17169 (display-buffer-overriding-action): Convert to defvar.
17170 (display-buffer-fallback-action): New var.
17171
25322144
CY
171722011-09-15 Chong Yidong <cyd@stupidchicken.com>
17173
17174 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17175 declaration.
17176 (package--add-to-archive-contents): If there is a duplicate entry
17177 with an older version, remove it.
17178 (package-menu-mark-delete, package-menu-mark-install)
17179 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
17180 (package-menu-mark-obsolete-for-deletion):
17181 Use package-menu-get-status instead of a regexp search.
25322144
CY
17182 (package-menu-get-status): Use tabulated-list-entry.
17183 (package-menu-mark-upgrades): New command.
d770725a 17184 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
17185 (package-menu-execute): Do installation before deletion.
17186 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17187 instead of checking major-mode.
17188 (package-menu--find-upgrades): New function.
17189
7520339c
LMI
171902011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17191
17192 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17193 passwords in the log buffer.
65a046c4
LMI
17194 (smtpmail-process-filter): Update the process marker so that the
17195 "broken by peer" status message is inserted in the right place.
7520339c 17196
d3c30954
SM
171972011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17198
3fe48822
SM
17199 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17200 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17201 bibtex-completion-at-point-function.
17202 (bibtex-completion-at-point-function): Use them.
17203
1b8b3954
SM
17204 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17205
d3c30954
SM
17206 * mpc.el (mpc-constraints-tag-lookup): New function.
17207 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17208 also to browser "album|playlist".
17209
72779976
JL
172102011-09-14 Juri Linkov <juri@jurta.org>
17211
17212 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17213 (isearch-edit-string): Use length of `isearch-string' when
17214 `isearch-fail-pos' returns nil.
17215 (isearch-message): Remove duplicate code and call
17216 `isearch-fail-pos' with arg `t'.
17217
a0bf2bcd
CY
172182011-09-14 Chong Yidong <cyd@stupidchicken.com>
17219
17bb0a2d
CY
17220 * replace.el (occur-mode-goto-occurrence): Don't force using other
17221 window (Bug#9499).
17222
a0bf2bcd
CY
17223 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17224
f678e0b6
MR
172252011-09-14 Martin Rudalics <rudalics@gmx.at>
17226
17227 * window.el (display-buffer-window): Remove.
17228 (display-buffer-record-window): Use help-setup window parameter
17229 instead of variable display-buffer-window.
17230 (display-buffer-function, special-display-buffer-names)
17231 (special-display-function): Mention help-setup parameter instead
17232 of display-buffer-window in doc-string.
d3c30954
SM
17233 * help.el (help-window-setup): New argument help-window.
17234 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
17235 Reword some messages.
17236 (with-help-window): Pass window used for displaying the buffer
17237 to help-window-setup. Don't set display-buffer-window.
17238
8e39b2e8
GM
172392011-09-13 Glenn Morris <rgm@gnu.org>
17240
17241 * emacs-lisp/debug.el (debugger-make-xrefs):
17242 Preserve point. (Bug#9462)
17243
85e9c04b
CY
172442011-09-13 Chong Yidong <cyd@stupidchicken.com>
17245
17246 * window.el (window-deletable-p): Use next-frame.
17247
1b36ed6a
MR
172482011-09-13 Martin Rudalics <rudalics@gmx.at>
17249
17250 * window.el (window-auto-delete): Remove.
17251 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 17252 dedication and previous buffers.
1b36ed6a
MR
17253 (switch-to-prev-buffer): Don't delete window.
17254 (delete-windows-on): Delete a window's frame if and only if the
17255 window is dedicated.
17256 (replace-buffer-in-windows): Delete buffer's window or frame if
17257 and only if window is dedicated.
17258 (quit-window): Handle quit-restore as before last change.
4d61f28d 17259 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 17260
ef8ef9fb
CY
172612011-09-13 Chong Yidong <cyd@stupidchicken.com>
17262
17263 * window.el (window-deletable-p): Never delete the last frame on a
17264 given terminal.
17265
b2cba41e
GM
172662011-09-13 Glenn Morris <rgm@gnu.org>
17267
17268 * help.el (describe-key-briefly): Copy previous standard-output change.
17269
51553db6 172702011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
17271
17272 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17273
b7556719
GM
172742011-09-13 Glenn Morris <rgm@gnu.org>
17275
17276 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17277 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17278
64b51947
CY
172792011-09-12 Chong Yidong <cyd@stupidchicken.com>
17280
17281 * dired-aux.el (dired-mark-read-string): Don't return default
17282 value on empty input (Bug#9361).
17283 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17284 Omit initial minibuffer contents.
17285 (dired-do-chmod): Signal an error on empty input.
17286 (dired-mark-read-string): Don't return default on empty input.
17287
17288 * files.el (file-modes-symbolic-to-number): Doc fix.
17289
393a301e
SM
172902011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17291
17292 * international/mule-cmds.el (ucs-completions): Remove.
17293 (read-char-by-name): Use complete-with-action instead; add metadata.
17294
fa5660f9
CY
172952011-09-11 Chong Yidong <cyd@stupidchicken.com>
17296
17297 * window.el (display-buffer--action-function-custom-type)
17298 (display-buffer--action-custom-type): New vars.
17299 (display-buffer-alist, display-buffer-default-action)
17300 (display-buffer-overriding-action): Add defcustom types.
17301
4a592f66
CY
17302 * frame.el (delete-other-frames): Doc fix (Bug#276).
17303
73d56dbd
LMI
173042011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17305
17306 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17307
37ac18a3
CY
173082011-09-11 Chong Yidong <cyd@stupidchicken.com>
17309
17310 Change modes that used same-window-* vars to use switch-to-buffer.
17311
17312 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17313 Use switch-to-buffer.
17314
17315 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
17316 (customize-browse, custom-buffer-create-other-window):
17317 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
17318
17319 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17320 (Info-prev, Info-up, Info-speedbar-goto-node)
17321 (info-display-manual): Use switch-to-buffer.
17322 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17323
17324 * mail/sendmail.el (mail): Use switch-to-buffer.
17325 (mail-recover): Use switch-to-buffer-other-window.
17326
17327 * cmuscheme.el (run-scheme, switch-to-scheme):
17328 * ielm.el (ielm):
17329 * shell.el (shell):
17330 * net/rlogin.el (rlogin):
17331 * net/telnet.el (telnet, rsh):
17332 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17333
10195bd6
AS
173342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17335
17336 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17337
b322f63a
LMI
173382011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17339
39d7fed6
LMI
17340 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17341 so don't mention it (bug#9301).
ba5a81f1 17342 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 17343
ee0e9f11
LMI
17344 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17345 match `x', `w32' and `ns', like the manual says (bug#9029).
17346
0b1c89c1 17347 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
17348 (process-kill-buffer-query-function): Mention the buffer name in
17349 the query.
0b1c89c1 17350
77549ea8
LMI
17351 * image-mode.el (image-next-line): The line parameter is mandatory
17352 (bug#9258).
17353
803ef892
LMI
17354 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17355 which can be useful (bug#9301).
17356
12980837
LMI
17357 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17358
91054f8f
LMI
17359 * subr.el (match-string): Mention that the current buffer should
17360 be the same as the search was done in (bug#9282).
17361
b322f63a
LMI
17362 * facemenu.el: Disable the remove-* commands if the mark isn't
17363 active (bug#9162).
17364
3199b96f
CY
173652011-09-10 Chong Yidong <cyd@stupidchicken.com>
17366
17367 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17368 of display-buffer.
17369 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17370
17371 * replace.el (occur-mode-goto-occurrence)
17372 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17373 and display-buffer.
17374
17375 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17376 display-buffer.
17377
17378 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17379 special-display and same-window variables.
17380 (mail-other-window): Use switch-to-buffer-other-window.
17381 (mail-other-frame): USe switch-to-buffer-other-frame.
17382
393a301e
SM
17383 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17384 Use display-buffer-other-frame.
3199b96f
CY
17385 (gdb-display-gdb-buffer): Use pop-to-buffer.
17386
17387 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17388
17389 * progmodes/python.el: Don't set same-window-buffer-names.
17390
17391 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17392
17393 * window.el (display-buffer-alist): Add *Python*.
17394
8319e0bf
CY
173952011-09-10 Chong Yidong <cyd@stupidchicken.com>
17396
17397 * window.el (display-buffer-alist): Add entry for buffers
17398 previously handled same-window-*.
17399 (display-buffer-alist, display-buffer-default-action)
17400 (display-buffer-overriding-action): Mark as risky.
17401 (display-buffer-alist): Document action function changes.
17402 (display-buffer--same-window-action)
17403 (display-buffer--other-frame-action): New variables.
17404 (switch-to-buffer, display-buffer-other-frame): Use them.
17405 (display-buffer): Rename reuse-frame entry to reusable-frames.
17406 (display-buffer-reuse-selected-window): Function deleted.
17407 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17408 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17409 (display-buffer-special): New function.
17410 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17411 display-buffer-reuse-or-pop-window. Split off special-display
17412 part into display-buffer-special.
17413 (display-buffer-use-some-window): Don't perform any special
17414 pop-up-frames handling.
17415 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 17416 (display-buffer--maybe-same-window): Rename from
0d3ff375 17417 display-buffer-maybe-same-window.
8319e0bf 17418
919a69aa
CY
17419 * info.el: Don't set same-window-regexps.
17420 (info-setup): New function.
17421 (info-other-window, info): Call it.
17422
17423 * cus-edit.el: Don't set same-window-regexps.
17424 (customize-group): New argument.
17425 (customize-group-other-window): Use it.
17426 (customize-face, customize-face-other-window): Likewise.
17427 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17428
8319e0bf
CY
17429 * net/rlogin.el:
17430 * net/telnet.el:
17431 * progmodes/gud.el: Don't set same-window-regexps.
17432
17433 * cmuscheme.el:
17434 * ielm.el:
17435 * shell.el:
17436 * mail/sendmail.el:
17437 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17438
25173000
JL
174392011-09-10 Juri Linkov <juri@jurta.org>
17440
17441 * isearch.el (isearch-edit-string): Remove obsolete mention of
17442 `C-w' (`isearch-yank-word-or-char') from docstring.
17443 (isearch-query-replace): Fix typo in docstring (bug#9466).
17444
056e44ef
JL
174452011-09-10 Juri Linkov <juri@jurta.org>
17446
17447 * paren.el (show-paren-function): Don't show escaped parens.
17448 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17449
c3760c17
EZ
174502011-09-10 Eli Zaretskii <eliz@gnu.org>
17451
17452 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17453 (mm-default-file-encoding): Remove autoload forms, they are
17454 replaced with autoload cookies in mml.el and mm-encode.el.
17455 (mail-add-attachment): New command.
17456 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17457 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17458 the doc string.
17459 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17460
fece895e
RT
174612011-09-10 Reuben Thomas <rrt@sc3d.org>
17462
e69df516
SM
17463 * simple.el (count-words-region): Use buffer if there's no region
17464 (bug#9429).
fece895e 17465
5e68ce4a
JL
174662011-09-09 Juri Linkov <juri@jurta.org>
17467
17468 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17469 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17470 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17471
0a6b9622
AM
174722011-09-09 Alan Mackenzie <acm@muc.de>
17473
17474 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17475 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17476
14a29deb
EZ
174772011-09-09 Eli Zaretskii <eliz@gnu.org>
17478
17479 Fix for Savannah bug#9392.
17480 * simple.el (mail-encode-mml): New defvar.
17481
17482 * mail/rmail.el (mail-encode-mml): Add a defvar.
17483 (rmail-enable-mime-composing): Default to t.
17484 (rmail-forward): Use MIME method of forwarding only if both
17485 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17486 Set mail-encode-mml non-nil if the MIME method was used.
17487
17488 * mail/sendmail.el (mml-to-mime): Add autoload form.
17489 (mail-encode-mml): Add a defvar.
17490 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17491 to nil.
17492 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17493 message through mml-to-mime, and reset mail-encode-mml to nil.
17494
28c45130
GM
174952011-09-09 Glenn Morris <rgm@gnu.org>
17496
17497 * woman.el (woman-if-body): When processing an .el block,
17498 do not delete the next .el block as well. (Bug#9447)
69f4b618 17499 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 17500
9b1c252e
MR
175012011-09-08 Martin Rudalics <rudalics@gmx.at>
17502
17503 * window.el (window-deletable-p): Make sure window is live before
17504 invoking window-prev-buffers.
17505
567457e3
LL
175062011-09-08 Leo Liu <sdl.web@gmail.com>
17507
17508 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17509
97f05794
JL
175102011-09-08 Juri Linkov <juri@jurta.org>
17511
17512 * progmodes/compile.el (compilation-environment): Make it
17513 a defcustom (bug#8340).
17514
8b0874b5
MR
175152011-09-08 Martin Rudalics <rudalics@gmx.at>
17516
17517 * window.el (frame-auto-delete): Rename to window-auto-delete.
17518 Make it control auto-deletion of windows and/or frames.
17519 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 17520 for deleting window/frame. (Bug#9419)
8b0874b5
MR
17521 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17522 Rewrite handling of case when window/frame can be deleted.
17523 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 17524 argument t. (Bug#9456)
8b0874b5 17525
4feb6e73
CY
175262011-09-07 Chong Yidong <cyd@stupidchicken.com>
17527
17528 * help-mode.el (help-mode): Restore autoload.
17529
91ab9c13
JL
175302011-09-07 Juri Linkov <juri@jurta.org>
17531
17532 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17533 `compilation-environment'. Set buffer-local
17534 `compilation-environment' to `thisenv' later after (funcall mode).
17535 (Bug#8340)
17536
17537 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17538 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17539 instead of replacing its value. (Bug#8340)
17540
0527e251
JL
175412011-09-07 Juri Linkov <juri@jurta.org>
17542
17543 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17544 based on text properties put by `grep-filter' instead of matching
17545 escape sequences.
17546 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17547 to the value of `grep-error-screen-columns' (bug#9438).
17548
249f792c
JL
175492011-09-07 Juri Linkov <juri@jurta.org>
17550
17551 * simple.el (next-error-highlight, next-error-highlight-no-select):
17552 Doc fix (bug#9432).
17553
ff7271b9
OT
175542011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17555
17556 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17557 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17558
183fc730
LL
175592011-09-07 Leo Liu <sdl.web@gmail.com>
17560
17561 * net/rcirc.el (rcirc-mode): Conditionally initialize
17562 rcirc-input-ring.
17563
77694924
SM
175642011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17565
17566 * emacs-lisp/find-func.el (find-function-C-source): Only set
17567 find-function-C-source-directory after checking that we found a source
17568 file there (bug#9440).
17569
d809b8eb
AM
175702011-09-06 Alan Mackenzie <acm@muc.de>
17571
17572 * isearch.el (isearch-other-meta-char): Wherever a key list is
17573 unread, "unread" the prefix arg, too. This fixes bug #8901.
17574
453de99f
OG
175752011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17576
17577 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17578
90439906
JL
175792011-09-05 Juri Linkov <juri@jurta.org>
17580
17581 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17582
f62bd846
JL
175832011-09-05 Juri Linkov <juri@jurta.org>
17584
17585 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17586 keeping point where processing of grep matches begins, and
17587 continue to delete remaining escape sequences from the same point.
17588 (grep-filter): Make leading zero optional in "0?1;31m" because
17589 git-grep emits "\033[1;31m" escape sequences unlike expected
17590 "\033[01;31m" as GNU Grep does (bug#9408).
17591 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17592
045820ec
JL
175932011-09-05 Juri Linkov <juri@jurta.org>
17594
17595 * subr.el (y-or-n-p): Capitalize "yes".
17596
f5e29b9b
MA
175972011-09-04 Michael Albinus <michael.albinus@gmx.de>
17598
17599 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17600 `tramp-cache-unload-hook' where appropriate.
17601 (tramp-methods): Rename `tramp-remote-sh' to
17602 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17603 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17604
17605 * net/tramp-sh.el (top): Don't require 'shell.
17606 (tramp-methods): Add `tramp-remote-shell' and
17607 `tramp-remote-shell-args' entries.
17608 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17609 (tramp-sh-handle-shell-command): Remove.
17610 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17611 Use `tramp-remote-shell'.
17612
2784c434
CY
176132011-09-03 Chong Yidong <cyd@stupidchicken.com>
17614
393a301e 17615 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
17616 (sendmail-query-once): Save directly to send-mail-function.
17617 Update message-send-mail-function too.
17618
17619 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17620
464cdf56
CS
176212011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17622
17623 * progmodes/python.el (python-mode-map): Use correct function to
17624 start python interpreter from menu-bar (as reported by Geert
17625 Kloosterman).
17626 (inferior-python-mode-map): Fix typo.
393a301e 17627 (python-shell-map): Remove.
464cdf56 17628
d37e5c87
DD
176292011-09-03 Deniz Dogan <deniz@dogan.se>
17630
17631 * net/rcirc.el (rcirc-print): Simplify code for
17632 rcirc-scroll-show-maximum-output. There is no need to walk
17633 through all windows to find the right one.
17634
f3ada0ee
CS
176352011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17636
17637 * help.el (help-return-method): Doc fix.
17638
1f3c99ca
MR
176392011-09-03 Martin Rudalics <rudalics@gmx.at>
17640
17641 * window.el (window-deletable-p): Don't return a non-nil value
17642 when there's a buffer that was shown in the window before.
17643 (Bug#9419)
393a301e
SM
17644 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17645 Set window's previous buffers to nil.
1f3c99ca 17646
a3cf097f
EZ
176472011-09-03 Eli Zaretskii <eliz@gnu.org>
17648
17649 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17650 newline before and after the tag line, so it doesn't interfere
17651 with determining the paragraph direction of bidirectional text.
17652
3d03de90
LL
176532011-09-03 Leo Liu <sdl.web@gmail.com>
17654
17655 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17656
c3313451
CY
176572011-09-02 Chong Yidong <cyd@stupidchicken.com>
17658
393a301e 17659 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
17660 (pop-to-buffer): Change interactive spec. Pass second argument
17661 directly to display-buffer.
17662 (display-buffer): Fix interactive spec. Use functionp to
17663 distinguish between a function and a list of functions.
17664
17665 * abbrev.el (edit-abbrevs):
17666 * arc-mode.el (archive-extract):
17667 * autoinsert.el (auto-insert):
17668 * bookmark.el (bookmark-bmenu-list):
17669 * files.el (find-file):
17670 * view.el (view-buffer):
17671 * progmodes/compile.el (compilation-goto-locus):
17672 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17673
89894cd8
CY
176742011-09-02 Chong Yidong <cyd@stupidchicken.com>
17675
17676 * window.el (display-buffer-alist): Doc fix.
17677 (display-buffer): Add docstring. Don't treat
17678 display-buffer-default specially.
17679 (display-buffer-reuse-selected-window)
17680 (display-buffer-same-window, display-buffer-maybe-same-window)
17681 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17682 (display-buffer-pop-up-window)
17683 (display-buffer-reuse-or-pop-window)
17684 (display-buffer-use-some-window): New functions.
17685 (display-buffer-default-action): Use them.
393a301e 17686 (display-buffer-default): Delete.
89894cd8
CY
17687 (pop-to-buffer-1): Fix choice of actions.
17688
ae0bc9fb
SM
176892011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17690
17691 * minibuffer.el (completion--insert-strings): Don't get confused by
17692 completion entries that end with an LF char.
17693
e9d90883
EZ
176942011-09-01 Eli Zaretskii <eliz@gnu.org>
17695
17696 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17697
437014c8
CY
176982011-09-01 Chong Yidong <cyd@stupidchicken.com>
17699
17700 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
17701 (display-buffer-same-window, display-buffer-other-window):
17702 New functions.
437014c8
CY
17703 (pop-to-buffer-1): New function. Use the above.
17704 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 17705 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
17706
17707 * view.el (view-buffer-other-window, view-buffer-other-frame):
17708 Just use pop-to-buffer.
17709
a5e063d5
TV
177102011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17711
17712 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17713
793d32bb
WH
177142011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17715
17716 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17717
d65e4c15
RS
177182011-08-31 Richard Stallman <rms@gnu.org>
17719
17720 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17721 of the separation of rmail-view-buffer from rmail-buffer.
17722 If you say no to "replace original", the decrypt is in the
17723 view buffer. If you say yes, the decrypt goes into the
17724 rmail buffer also.
17725
f818cd2a
MR
177262011-08-31 Martin Rudalics <rudalics@gmx.at>
17727
17728 * window.el (display-buffer-window): Rewrite doc-string.
17729 (display-buffer-record-window): New function.
17730 (display-buffer-macro-specifiers)
17731 (display-buffer-even-window-sizes, display-buffer-set-height)
17732 (display-buffer-set-width, display-buffer-in-window)
17733 (display-buffer-reuse-window, display-buffer-split-specifiers)
17734 (display-buffer-side-specifiers, display-buffer-split-window-1)
17735 (display-buffer-split-window, display-buffer-split-atom-window)
17736 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17737 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17738 (display-buffer-other-window-means-other-frame)
17739 (display-buffer-normalize-special)
17740 (display-buffer-normalize-default)
17741 (display-buffer-normalize-argument)
17742 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17743 (display-buffer-normalize-specifiers, display-buffer-frame)
17744 (display-buffer-same-window, display-buffer-same-frame)
17745 (display-buffer-other-window)
17746 (display-buffer-same-frame-other-window)
17747 (display-buffer-other-frame, pop-to-buffer-same-window)
17748 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17749 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17750 (switch-to-buffer-same-frame)
17751 (switch-to-buffer-other-window-same-frame)
17752 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17753 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17754 (display-buffer-alist-set): Remove.
17755 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
17756 (special-display-regexps, special-display-function):
17757 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
17758 parameter.
17759 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17760 (special-display-frame-alist, special-display-popup-frame)
17761 (same-window-buffer-names, same-window-regexps, same-window-p)
17762 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17763 (split-window-preferred-function, split-height-threshold)
17764 (split-width-threshold, window-splittable-p)
17765 (split-window-sensibly, window--try-to-split-window)
17766 (window--frame-usable-p, even-window-heights)
17767 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
17768 (window--display-buffer-2, display-buffer-other-frame):
17769 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
17770 (display-buffer-default, display-buffer-assq-regexp): New functions.
17771 (display-buffer-alist): Rewrite doc-string.
17772 (display-buffer-default-action)
17773 (display-buffer-overriding-action): New variables.
17774 (display-buffer, switch-to-buffer): Rewrite.
17775 (pop-to-buffer): Restore Emacs 23 behavior but use
17776 window-normalize-buffer-to-display.
17777 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17778 Restore Emacs 23 behavior but use
17779 window-normalize-buffer-to-switch-to.
17780 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
17781 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17782 Rewrite using Emacs 23 options.
f818cd2a 17783
5bc3b51d
MA
177842011-08-31 Michael Albinus <michael.albinus@gmx.de>
17785
17786 * net/tramp.el (tramp-root-regexp): Remove.
17787 (tramp-completion-file-name-regexp-unified)
17788 (tramp-completion-file-name-regexp-separate)
17789 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 17790 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
17791 (tramp-drop-volume-letter): Simplify definition.
17792 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 17793
b1a4f8e1
SM
177942011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17795
17796 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17797 (bug#9356).
17798
5664fa7b
RT
177992011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17800
b1a4f8e1 17801 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 17802
9a45d6c3
JL
178032011-08-29 Juri Linkov <juri@jurta.org>
17804
17805 * isearch.el (isearch-done): Don't display message "Mark saved"
17806 when arg `edit' is non-nil to prevent its flicker in the echo area.
17807
fb87e0fb
CY
178082011-08-28 Chong Yidong <cyd@stupidchicken.com>
17809
17810 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17811 obsolete packages for deletion.
17812
09ac1c2a
CS
178132011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17814
17815 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 17816 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
17817 view-mode from help-mode.
17818 (help-xref-override-view-map): Remove.
17819 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17820 view-mode is not used anymore.
17821
7a1ff57f
CY
178222011-08-28 Chong Yidong <cyd@stupidchicken.com>
17823
17824 * server.el (server-port): Doc fix.
17825
b9696605
CY
17826 * cus-theme.el (custom-theme-choose-mode): Inherit from
17827 special-mode (Bug#9124).
17828 (custom-theme-choose-mode-map): Add special-mode to parent.
17829
ef8cdf8c
AM
178302011-08-28 Alan Mackenzie <acm@muc.de>
17831
17832 * progmodes/cc-fonts.el
17833 (c-make-font-lock-BO-decl-search-function): New function.
17834 (c-basic-matchers-after - "Fontify the clauses after various
17835 keywords"): Extract the three keyword lists for the 3 erroneous
17836 constructs from the list of four, and use the new function above
17837 in place of an old one.
17838
27de4e20
DD
178392011-08-28 Deniz Dogan <deniz@dogan.se>
17840
17841 * net/rcirc.el (rcirc-insert-prev-input)
17842 (rcirc-insert-next-input): Remove unused argument.
17843
356a3681
SM
178442011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17845
17846 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17847
3fc9b218
AM
178482011-08-27 Alan Mackenzie <acm@muc.de>
17849
17850 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17851 handle function pointer parameters properly.
17852
538a061c
MR
178532011-08-27 Martin Rudalics <rudalics@gmx.at>
17854
17855 * window.el (display-buffer-reuse-window): Fix case where
17856 selected window was reused with non-nil OTHER-WINDOW argument.
17857 (Bug#9381)
17858
35b1c40c
DD
178592011-08-27 Deniz Dogan <deniz@dogan.se>
17860
17861 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17862 oftc's NickServ messages.
17863
2f6a3e79
GM
178642011-08-27 Glenn Morris <rgm@gnu.org>
17865
17866 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17867
7254299e
CY
178682011-08-26 Chong Yidong <cyd@stupidchicken.com>
17869
17870 * emacs-lisp/package.el (package-install): Call package-initialize
17871 if called interactively.
17872
f8ccf167
LL
178732011-08-26 Leo Liu <sdl.web@gmail.com>
17874
17875 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17876
3e8cd5ce
JL
178772011-08-25 Juri Linkov <juri@jurta.org>
17878
17879 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17880 `search-whitespace-regexp' (bug#9364).
17881
93eb7113
JL
178822011-08-25 Juri Linkov <juri@jurta.org>
17883
17884 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17885 `regexp-search-ring' to their global values to protect from
17886 updating by `read-from-minibuffer' (bug#9185).
17887
f65d1611
JL
178882011-08-25 Juri Linkov <juri@jurta.org>
17889
17890 * textmodes/ispell.el (ispell-command-loop): Add newline
17891 at the end of the "Use option `i'..." line.
17892
f1cf7a31
JL
178932011-08-25 Juri Linkov <juri@jurta.org>
17894
17895 * battery.el (display-battery-mode): If `battery-status-function'
17896 or `battery-mode-line-format' is nil, display the message and set
17897 `display-battery-mode' to nil (bug#9363).
17898
0c95fcf7
EZ
178992011-08-25 Eli Zaretskii <eliz@gnu.org>
17900
17901 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17902 bidi-string-mark-left-to-right; they are unnecessary now.
17903
a2ebe600
DD
179042011-08-25 Deniz Dogan <deniz@dogan.se>
17905
17906 * net/quickurl.el: Documentation typo fixes.
17907
e4ed06f1
CY
179082011-08-25 Chong Yidong <cyd@stupidchicken.com>
17909
17910 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17911
e5f1c99e
GM
179122011-08-25 Glenn Morris <rgm@gnu.org>
17913
b2948976
GM
17914 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17915
e5f1c99e
GM
17916 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17917 (smtpmail-via-smtp): Handle nil response from smtp.
17918
f22f4808
JL
179192011-08-24 Juri Linkov <juri@jurta.org>
17920
17921 * proced.el (proced-marked): Inherit from `error' instead of
17922 `font-lock-warning-face'.
17923
17924 * ibuffer.el (ibuffer-marked-face): Change default face from
17925 `font-lock-warning-face' to `warning'.
17926 (ibuffer-deletion-face): Change default face from
17927 `font-lock-type-face' to `error'.
17928
17929 * battery.el (battery-update): Use the face `error' instead of
17930 `font-lock-warning-face' (bug#6117).
17931
6a93965e
JL
179322011-08-24 Juri Linkov <juri@jurta.org>
17933
17934 * faces.el (success): Change face color from "Green3" to
17935 "ForestGreen" on light background (bug#9353).
17936
1ed43b09
CY
179372011-08-24 Chong Yidong <cyd@stupidchicken.com>
17938
5664fa7b
RT
17939 * window.el (quit-window): Rename from quit-restore-window.
17940 Use same arglist as old quit-window.
1ed43b09
CY
17941 (frame-auto-delete): Doc fix.
17942
17943 * view.el (view-mode-exit): Use quit-window.
17944
11dcdbb2
JL
179452011-08-24 Juri Linkov <juri@jurta.org>
17946
17947 * isearch.el (isearch-ring-adjust1): Start visiting previous
17948 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17949 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17950 for empty search string (when the last search string is reused
17951 automatically) to adjust the isearch ring to the last element and
17952 prepare the correct index for further M-p commands (bug#9185).
17953
de62b4df
KH
179542011-08-24 Kenichi Handa <handa@m17n.org>
17955
17956 * international/ucs-normalize.el: If decomposition property of
17957 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17958 nil.
17959 (nfd, nfkd): Likewise.
17960
963b492b
SM
179612011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17962
17963 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17964 from process filters aren't reliably transmitted to the surrounding
17965 accept-process-output.
17966 (mpc-proc-check): New function.
17967 (mpc-proc-sync): Use it (bug#8293)
17968
93b6b5e1
SM
179692011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17970
17971 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17972 Add compatibility functions (bug#9313).
17973
bca633fb
EZ
179742011-08-23 Eli Zaretskii <eliz@gnu.org>
17975
b177498a
EZ
17976 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17977
6df6ae42 17978 * international/uni-bidi.el: Regenerate.
bca633fb 17979
0902a04e
KH
179802011-08-23 Kenichi Handa <handa@m17n.org>
17981
17982 * international/charprop.el:
17983 * international/uni-bidi.el:
17984 * international/uni-category.el:
17985 * international/uni-combining.el:
17986 * international/uni-comment.el:
17987 * international/uni-decimal.el:
17988 * international/uni-decomposition.el:
17989 * international/uni-digit.el:
17990 * international/uni-lowercase.el:
17991 * international/uni-mirrored.el:
17992 * international/uni-name.el:
17993 * international/uni-numeric.el:
17994 * international/uni-old-name.el:
17995 * international/uni-titlecase.el:
17996 * international/uni-uppercase.el: Regenerate.
17997
3bbf23bc
MR
179982011-08-23 Martin Rudalics <rudalics@gmx.at>
17999
18000 * help.el (help-window-setup): Fix message displayed when other
18001 window is reused. (Bug#9341)
18002
b3fd59bd
SM
180032011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18004
1802e444
SM
18005 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18006 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18007
b3fd59bd
SM
18008 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18009 Mark obsolete.
18010 * shell.el (shell-parse-pcomplete-arguments): New function.
18011 (shell-completion-vars): Use it instead (bug#9160).
18012
4eb61348
SM
180132011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18014
867cab74
SM
18015 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18016 strings and comments (bug#9333).
18017
4eb61348
SM
18018 * emacs-lisp/debug.el (debug-arglist): New function.
18019 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18020 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18021
262a1439
JL
180222011-08-22 Juri Linkov <juri@jurta.org>
18023
56ee679c
JL
18024 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18025 Revert regexp that highlights output switches to its old
18026 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18027
262a1439
JL
18028 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18029 to check for empty output (bug#9226).
18030
f13f86fb
CY
180312011-08-22 Chong Yidong <cyd@stupidchicken.com>
18032
18033 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18034 symbol-constituent as the default, as that stops font-lock from
18035 working properly (Bug#8843).
18036
c65c9622
LMI
180372011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18038
18039 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18040 `coding-system-for-*' around the process open call to avoid
18041 auth-source side effects.
e7f2c178 18042 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
18043 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18044 probe hangs.
c65c9622 18045
23a8a5ab
CY
180462011-08-21 Chong Yidong <cyd@stupidchicken.com>
18047
ff98b2dd
CY
18048 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18049
23a8a5ab
CY
18050 * emacs-lisp/find-func.el (find-function-noselect): New arg
18051 lisp-only.
18052
18053 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18054 signal an error for built-in functions (Bug#6664).
18055
f5e3c598
LMI
180562011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18057
18058 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18059 (smtpmail-try-auth-methods): Use it.
18060
a3f2468a
CY
180612011-08-21 Chong Yidong <cyd@stupidchicken.com>
18062
2c34e8da
CY
18063 * font-lock.el (font-lock-fontify-region)
18064 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18065 (font-lock-default-unfontify-buffer)
18066 (font-lock-default-fontify-region)
18067 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18068
b3fd59bd
SM
18069 * progmodes/compile.el (compilation-error-properties):
18070 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
18071 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18072 `ant' regexp.
ee31aabc 18073
a3f2468a
CY
18074 * net/browse-url.el (browse-url-firefox): Don't call
18075 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18076
8e999f70
GM
180772011-08-20 Glenn Morris <rgm@gnu.org>
18078
c21a496a
GM
18079 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18080
59ee0542
GM
18081 * tutorial.el (tutorial--default-keys): Update some default bindings.
18082
8e999f70
GM
18083 * files.el (hack-local-variables): Fully ignore case for "mode:".
18084
e3715033
AM
180852011-08-20 Alan Mackenzie <acm@muc.de>
18086
18087 Resolve invalid use of a regexp in regexp-opt.
18088
4d61f28d
JB
18089 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18090 detection for a java annotation.
e3715033 18091
4d61f28d 18092 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
18093 detection for a java annotation.
18094
4d61f28d
JB
18095 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18096 handling for java.
e3715033
AM
18097 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18098
04ed2e9c
CY
180992011-08-20 Chong Yidong <cyd@stupidchicken.com>
18100
18101 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18102 (Bug#9274).
18103
826cee64
AM
181042011-08-20 Alan Mackenzie <acm@muc.de>
18105
58179cce 18106 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
18107 such a construct. Mainly for when jit-lock etc. starts a chunk
18108 here.
18109
58179cce 18110 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 18111 variable.
58179cce 18112 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
18113 c-make-font-lock-search-function.
18114 (c-make-font-lock-search-function): Use the above function.
18115 (c-make-font-lock-context-search-function): New function.
18116 (c-cpp-matchers): Enhance the preprocessor expression case with
18117 the above function
18118 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18119 which takes an expression.
18120
18121 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18122
13009bd8
MR
181232011-08-20 Martin Rudalics <rudalics@gmx.at>
18124
18125 * window.el (display-buffer-reuse-window)
18126 (display-buffer-pop-up-window): Don't reuse or split a side
18127 window.
18128
9234ff7f
GM
181292011-08-19 Glenn Morris <rgm@gnu.org>
18130
18131 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 18132 Downcase "Mode:". (Bug#9331)
9234ff7f 18133
f635daa1
CY
181342011-08-18 Chong Yidong <cyd@stupidchicken.com>
18135
18136 * international/characters.el: Add L and R categories.
18137
18138 * subr.el (bidi-string-mark-left-to-right): Rename from
18139 string-mark-left-to-right. Use category search.
18140
18141 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18142
bc987f8b
JL
181432011-08-18 Juri Linkov <juri@jurta.org>
18144
18145 * faces.el (error, warning, success): New faces with definitions
18146 copied from old default values of `font-lock-warning-face',
18147 `compilation-warning', `compilation-info' (bug#6117).
18148
18149 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18150
18151 * progmodes/compile.el (compilation-error): Inherit from `error'.
18152 (compilation-warning): Inherit from `warning'.
18153 (compilation-info): Inherit from `success'.
18154
18155 * dired.el (dired-marked): Inherit from `warning'.
18156 (dired-flagged): Inherit from `error'.
18157
57173b96
LMI
181582011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18159
3e79eb87
LMI
18160 * mail/smtpmail.el (auth-source): Require to avoid problems with
18161 binding variables (bug#9298). Also clean up some unused
18162 autoloads.
18163
b3fd59bd
SM
18164 * net/network-stream.el (network-stream-open-starttls):
18165 Support using starttls.el without using gnutls-cli.
57173b96 18166
02b404de
JL
181672011-08-17 Juri Linkov <juri@jurta.org>
18168
18169 * progmodes/grep.el (rgrep): Handle the case when
18170 `grep-find-command' is a cons cell (bug#9278).
18171
8c9177f2
MR
181722011-08-17 Martin Rudalics <rudalics@gmx.at>
18173
18174 * window.el (display-buffer-pop-up-frame): Run frame creation
18175 function with BUFFER current (as special-display-popup-frame
18176 does). Reported by Drew Adams.
18177
3644a0ab
DU
181782011-08-17 Daiki Ueno <ueno@unixuser.org>
18179
18180 * epa-mail.el: Simplify GnuPG group expansion using
18181 epg-expand-group.
18182 (epa-mail-group-alist, epa-mail-group-modtime)
18183 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18184 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18185 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18186 Remove.
18187
5e617bc2 181882011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
18189
18190 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18191
9c4aeabf
AM
181922011-08-16 Alan Mackenzie <acm@muc.de>
18193
18194 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18195 Correct, to avoid the inside of macros.
18196
3a99bf64
RS
181972011-08-16 Richard Stallman <rms@gnu.org>
18198
04963aa8
RS
18199 * epa-mail.el: Handle GnuPG group definitions.
18200 (epa-mail-group-alist, epa-mail-group-modtime)
18201 (epa-mail-gnupg-conf-file): New variables.
18202 (epa-mail-parse-groups, epa-mail-sync-groups)
18203 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18204 (epa-mail-expand-recipients): New functions.
18205 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18206
177549d0
RS
18207 * mail/rmail.el (rmail-epa-decrypt): New command.
18208
fe38beef
RS
18209 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18210 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
18211 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18212 (epa-decrypt-armor-in-region): Make error message clearer.
18213
934eacb9
SM
182142011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18215
18216 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18217 and "a2b" to "ab" for `prefix'.
18218
d024fb4e
CY
182192011-08-14 Chong Yidong <cyd@stupidchicken.com>
18220
18221 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18222 filter groups.
de148fee
CY
18223 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18224 Fourquet (Bug#8804).
d024fb4e 18225
62f1ca49
JB
182262011-08-12 Juanma Barranquero <lekktu@gmail.com>
18227
18228 * startup.el (argi): Declare as global variable (bug#9275).
18229
9ccaaa4b
CY
182302011-08-12 Chong Yidong <cyd@stupidchicken.com>
18231
18232 * subr.el (string-mark-left-to-right): Search the entire string
18233 for RTL script, not just the terminating character. Doc fix.
18234
a3dae87a
SM
182352011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18236
6cd18349
SM
18237 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18238 New function.
18239 (js--regexp-literal, js-syntax-propertize-function): Remove.
18240 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18241 (js-mode-map): Don't rebind electric keys.
18242 (js-insert-and-indent): Remove.
18243 (js-mode): Setup electric-layout and electric-indent instead.
18244
a3dae87a
SM
18245 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18246
9d5cb631
DU
182472011-08-12 Daiki Ueno <ueno@unixuser.org>
18248
18249 * epa.el (epa-progress-callback-function): Fix the logic of
18250 displaying progress.
18251 * epa-file.el (epa-file-insert-file-contents): Make progress
18252 display more user-friendly.
18253 (epa-file-write-region): Ditto.
18254
3e26a4a2
CY
182552011-08-10 Chong Yidong <cyd@stupidchicken.com>
18256
18257 * subr.el (string-mark-left-to-right): New function.
18258
18259 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18260 Use string-mark-left-to-right.
18261 (list-buffers-noselect): Caller changed.
18262
a3dae87a
SM
18263 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18264 Use string-mark-left-to-right.
3e26a4a2
CY
18265 (tabulated-list-print): Recenter after moving point.
18266
ac8cf6e6
JL
182672011-08-10 Juri Linkov <juri@jurta.org>
18268
18269 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18270 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18271 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18272
8d96c9a4
CY
182732011-08-09 Chong Yidong <cyd@stupidchicken.com>
18274
18275 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18276 (Bug#7554).
18277
7be1c708 182782011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
18279
18280 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18281 character. (Bug#6594)
18282
37e11a63
CY
182832011-08-08 Chong Yidong <cyd@stupidchicken.com>
18284
839dde57
CY
18285 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18286 (image-dired--with-db-file): New macro.
18287 (image-dired-write-tags, image-dired-remove-tag)
18288 (image-dired-create-gallery-lists, image-dired-write-comments)
18289 (image-dired-get-comment, image-dired-mark-tagged-files)
18290 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18291 (image-dired-gallery-generate): Use insert-file-contents.
18292
37e11a63
CY
18293 * time.el (display-time-world-list, display-time-world-display):
18294 * time-stamp.el (time-stamp-string):
18295 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18296 set-time-zone-rule (Bug#7337).
18297
0b4946c4
DU
182982011-08-08 Daiki Ueno <ueno@unixuser.org>
18299
18300 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18301 (epg-error-to-string, epg-errors-to-string): New function.
18302 (epg-wait-for-completion): Reverse errors list.
18303 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18304 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18305 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18306 (epg-sign-keys, epg-generate-key-from-file)
18307 (epg-generate-key-from-string): Format errors by using
18308 epg-errors-to-string (bug#9255).
18309 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18310
75bfc667
JL
183112011-08-07 Juri Linkov <juri@jurta.org>
18312
18313 * faces.el (list-faces-display): Remove extra angle bracket
18314 from `help-mode-map'.
18315
18316 * info.el (Info-history-toc-nodes): Doc fix.
18317
18318 * longlines.el (longlines-mode): Doc fix.
18319
673e08bb
SM
183202011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18321
4640dd88
SM
18322 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18323 of statements and in a few more cases (bug#9183).
18324
673e08bb
SM
18325 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18326 New functions.
18327 (cl-transform-lambda): Use them (bug#9239).
18328
89b3f019
MR
183292011-08-05 Martin Rudalics <rudalics@gmx.at>
18330
18331 * window.el (display-buffer-same-window)
18332 (display-buffer-same-frame, display-buffer-other-window)
18333 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18334 (pop-to-buffer-other-window)
18335 (pop-to-buffer-same-frame-other-window)
18336 (pop-to-buffer-other-frame): Make them defuns.
18337 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18338
640c8776
SM
183392011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18340
18341 * subr.el (make-composed-keymap): Move from C. Change calling
18342 convention, and improve docstring to bring attention to a subtle point.
18343 * minibuffer.el (completing-read-default): Adjust accordingly.
18344
63648a95
MA
183452011-08-03 Michael Albinus <michael.albinus@gmx.de>
18346
18347 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18348 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18349
18350 * net/trampver.el: Update release number.
18351
b796c9b7
SM
183522011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18353
18354 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18355 "in" (bug#9190).
18356
2239d7d5
LMI
183572011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18358
e07dd7c3
LMI
18359 * mail/sendmail.el (sendmail-query-once): Restore the current
18360 buffer after querying (bug#9074).
18361
0e6a2bd7
LMI
18362 * dired.el (dired-flagged): Use different faces for marked and
18363 flagged files (bug#6117).
18364
ce887515
LMI
18365 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18366 (bug#4433).
18367
92f2affc
LMI
18368 * ido.el (ido-mode): Switch off the message if called
18369 non-interactively.
18370
57d5aff0
LMI
18371 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18372 before 587, since it appears that that's more likely to work for
18373 more people.
18374
98cd6c18 18375 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 18376 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
18377 exist.
18378
b96dec83
LMI
18379 * info.el: Remove the `Info-beginning-of-buffer' function
18380 (bug#8325).
18381
b796c9b7
SM
18382 * net/network-stream.el (network-stream-open-starttls):
18383 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 18384
d90e2ea0
MR
183852011-08-01 Martin Rudalics <rudalics@gmx.at>
18386
18387 * window.el (display-buffer-in-window): Don't set dedicated status
18388 of window here (Bug#9215).
18389 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18390 (display-buffer-pop-up-side-window)
b796c9b7 18391 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 18392
cca09170
SM
183932011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18394
18395 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18396 before binding generated-autoload-file.
18397
027b979c
DD
183982011-08-01 Deniz Dogan <deniz@dogan.se>
18399
18400 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18401
3c7ee4f3
MA
184022011-07-30 Michael Albinus <michael.albinus@gmx.de>
18403
18404 Sync with Tramp 2.2.2.
18405
18406 * net/trampver.el: Update release number.
18407
2cc8e51a
JL
184082011-07-30 Juri Linkov <juri@jurta.org>
18409
18410 * dired-aux.el (dired-touch-initial): Remove function.
18411 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18412 current time, and `default' to the last modification time of the
18413 current marked file (bug#6887).
18414
a514d856
JM
184152011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18416
18417 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 18418 numeric argument to read-number (bug#9163).
a514d856 18419
8a7eddd7
MA
184202011-07-27 Michael Albinus <michael.albinus@gmx.de>
18421
18422 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18423 connection process, it could be nil.
18424
1ddd96f5
LL
184252011-07-27 Leo Liu <sdl.web@gmail.com>
18426
18427 Simplify url handling in rcirc-mode.
18428
18429 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18430 (rcirc-browse-url-at-mouse): Remove.
18431 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18432
b248a85d
AM
184332011-07-26 Alan Mackenzie <acm@muc.de>
18434
18435 Fontify bitfield declarations properly.
18436
18437 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18438 (c-symbol-chars): Now exported as a lang variable.
18439 (c-not-primitive-type-keywords): New lang variable.
18440
18441 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18442 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 18443 parsed as a bitfield declaration.
b248a85d 18444
b796c9b7
SM
18445 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18446 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
18447 (c-punctuation-in): New function.
18448 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18449 declarations properly.
18450
68575ab0
UJ
184512011-07-26 Ulf Jasper <ulf.jasper@web.de>
18452
18453 * calendar/icalendar.el (icalendar--all-events): Take care of
18454 multiple vcalendars in a single file.
b796c9b7 18455 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 18456
0f0a88b9
DD
184572011-07-25 Deniz Dogan <deniz@dogan.se>
18458
18459 * image.el (insert-image): Clarifying docstring.
18460
0b3f36df
MA
184612011-07-24 Michael Albinus <michael.albinus@gmx.de>
18462
18463 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18464 `tramp-send-command-and-check' if there is no error.
18465 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18466
a9901f61
AM
184672011-07-22 Alan Mackenzie <acm@muc.de>
18468
18469 Prevent cc-langs.elc being loaded at run time.
18470
18471 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18472 cc-langs.
18473
4d61f28d 18474 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
18475 "(require 'cc-langs)". Quote a form so it will evaluate at
18476 (cc-mode's) compilation time.
18477
11d074b2
MA
184782011-07-22 Michael Albinus <michael.albinus@gmx.de>
18479
18480 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18481 loading. (Bug#9114)
18482
938b94c8
MR
184832011-07-21 Martin Rudalics <rudalics@gmx.at>
18484
18485 * window.el (display-buffer-pop-up-window)
18486 (display-buffer-pop-up-side-window)
18487 (display-buffer-in-side-window): Call display-buffer-set-height
18488 and display-buffer-set-width after setting the new window's
b796c9b7 18489 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 18490
bfa4f190
SS
184912011-07-20 Sam Steingold <sds@gnu.org>
18492
18493 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18494 (etags-tags-included-tables): Call `convert-standard-filename' on
18495 the file names contained in TAGS so that windows Emacs can handle
18496 TAGS files created by cygwin ctags.
18497
8ca42262
LMI
184982011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18499
18500 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18501 which apparently didn't work.
18502
5db2afd2 185032011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 18504
5db2afd2
RW
18505 * proced.el (proced-send-signal): For *Marked Processes* buffer
18506 put point at beginning of buffer.
18507
92e15d10
SB
185082011-07-19 Stephen Berman <stephen.berman@gmx.net>
18509
18510 * proced.el (proced-format): Make header lines align with the text
18511 (bug#1779).
18512
1bfd59e5
LMI
185132011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18514
18515 * view.el (view-buffer): Allow running in `special' modes if we're
18516 visiting a file (bug#8615).
18517
f5aae37c
MR
185182011-07-19 Martin Rudalics <rudalics@gmx.at>
18519
18520 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
18521 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18522 New functions.
f5aae37c
MR
18523 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18524 more accurately.
18525
bf2c1571
AM
185262011-07-18 Alan Mackenzie <acm@muc.de>
18527
18528 Fontify declarators properly when, e.g., a jit-lock chunk begins
18529 inside a declaration.
18530
18531 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18532
b796c9b7
SM
18533 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18534 New function.
bf2c1571
AM
18535 (c-complex-decl-matchers): Insert reference to
18536 c-font-lock-enclosing-decls.
18537
18538 * progmodes/cc-engine.el (c-backward-single-comment):
18539 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18540 to nil around calls to (forward-comment -1).
18541
4e190b80
LMI
185422011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18543
12dc863d
LMI
18544 * image.el (put-image): Doc typo fix.
18545
a762e966
LMI
18546 * progmodes/etags.el (tags-search): Doc typo fix.
18547
4e190b80
LMI
18548 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18549 password if we get errors 550 to 554.
18550
f019fb21
LMI
185512011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18552
b796c9b7 18553 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 18554
81746738
LMI
18555 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18556 indentation character (bug#6380).
18557
3ee3a1b5
LMI
18558 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18559
c82f64de
LMI
18560 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18561 to clarify what the problem is (bug#4291).
18562
f019fb21
LMI
18563 * simple.el (current-kill): Clarify what
18564 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
18565 (auto-fill-mode): Document `auto-fill-function' in relation to
18566 `auto-fill-mode' (bug#2470).
f019fb21 18567
0794775d
LM
185682011-07-16 Lawrence Mitchell <wence@gmx.li>
18569
18570 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18571 method if slot is read-only (bug#9035).
18572
be39b8cc
MR
185732011-07-16 Martin Rudalics <rudalics@gmx.at>
18574
b796c9b7 18575 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 18576 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
18577 selected before, see discussion of (Bug#8615), (Bug#6954).
18578 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 18579
6ccf7859
GM
185802011-07-15 Glenn Morris <rgm@gnu.org>
18581
18582 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 18583 Respect help-form.
6ccf7859 18584
87e86684
LM
185852011-07-09 Lawrence Mitchell <wence@gmx.li>
18586
18587 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18588 (gnutls-negotiate): Use it.
18589
d6066239
LMI
185902011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18591
b796c9b7
SM
18592 * net/gnutls.el (gnutls-negotiate):
18593 Upcase `gnutls-algorithm-priority'.
d6066239 18594
bd23ebc0
GM
185952011-07-15 Glenn Morris <rgm@gnu.org>
18596
c65bca65
GM
18597 * jka-compr.el (jka-compr-verbose): Move from here...
18598 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18599 Add missing :version tag.
18600 * info.el: No need to require jka-compr when compiling.
bd23ebc0 18601
478615cc
LMI
186022011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18603
7b41decb
LMI
18604 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18605 (gnutls-negotiate): Use it.
18606
dbc44fcd
LMI
18607 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18608
06789f97
LMI
18609 * info.el (Info-beginning-of-buffer): New command.
18610 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18611 announcing `b' as the key (bug#8325).
ab896c37 18612 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 18613
c39da690
LMI
18614 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18615
3aa5f34b
LMI
18616 * international/mule-cmds.el
18617 (describe-specified-language-support): Make the error message
18618 clearer (bug#8905).
18619
4bf0979f
LMI
18620 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18621
478615cc
LMI
18622 * isearch.el (isearch-barrier): Add a doc string, since it's
18623 mentioned in a function doc string (bug#8678).
18624
75c68aa1
MR
186252011-07-15 Martin Rudalics <rudalics@gmx.at>
18626
18627 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18628 buffer argument (Bug#9083) and self-identifying label argument.
18629
a7c33da2
GM
186302011-07-15 Glenn Morris <rgm@gnu.org>
18631
18632 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18633
2f5c6024
LMI
186342011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18635
18636 * man.el (Man-fontify-manpage): Fix message when formatting the
18637 man page (bug#7929).
18638
0bb23927 186392011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
18640
18641 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18642 argument LRM; if non-nil, append an invisible LRM character to the
18643 buffer name.
18644 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18645 last argument non-nil, when formatting buffer names.
0bb23927
EZ
18646 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18647 paragraph direction.
cce4b0a7 18648
621ef9ab
LMI
186492011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18650
d1583c48
LMI
18651 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18652 the man page name (bug#7929).
18653
6a57fb5f
LMI
18654 * image.el (put-image): Mention the `put-image' overlay property
18655 (bug#7834).
18656
d7956b14
LMI
18657 * scroll-bar.el (set-scroll-bar-mode): Mention that
18658 `scroll-bar-mode' lists the values (bug#7772).
18659
5b2d4a66
LMI
18660 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18661 command (bug#7729).
18662
7509a874
LMI
18663 * rect.el (apply-on-rectangle): Return the point after the last
18664 operation.
18665 (string-rectangle): Go to the point after the last operation
18666 (bug#7522).
18667
4fe74b19
LMI
18668 * printing.el (pr-toggle-region): Clarify the documentation
18669 slightly (bug#7493).
18670
b796c9b7
SM
18671 * time.el (display-time-update):
18672 Allow `display-time-mail-function' to return nil (bug#7158).
18673 Fix suggested by Detlev Zundel.
ab283561 18674
fc233c9d
LMI
18675 * vc/diff.el (diff): Clarify the order the file names are read
18676 (bug#7111).
18677
43f5740b
LMI
18678 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18679 the doc string (bug#7015).
18680
f2182a76
LMI
18681 * font-lock.el (font-lock-maximum-decoration): Mention what
18682 numeric levels mean (bug#6935).
18683
621ef9ab
LMI
18684 * startup.el (initial-buffer-choice): Don't mention the `none'
18685 selection, which is against policy.
18686
adc47434
MR
186872011-07-14 Martin Rudalics <rudalics@gmx.at>
18688
b796c9b7
SM
18689 * window.el (display-buffer-normalize-special):
18690 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 18691
7e5bfb8f
EZ
186922011-07-14 Eli Zaretskii <eliz@gnu.org>
18693
18694 * subr.el (version<, version<=, version=): Mention "-CVS" and
18695 "-12345" alpha version numbers.
18696
27fa387a
CY
186972011-07-14 Chong Yidong <cyd@stupidchicken.com>
18698
18699 * bindings.el: Add advertised binding for set-mark-command
18700 (Bug#5772).
18701
8bdfa064
CY
187022011-07-14 Chong Yidong <cyd@stupidchicken.com>
18703
18704 * bindings.el (mode-line-other-buffer):
18705 * bookmark.el (bookmark-bmenu-2-window):
18706 * bs.el (bs-cycle-next, bs-cycle-previous):
18707 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18708 switch-to-buffer.
18709
18710 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 18711 Delete.
8bdfa064 18712
5eba16a3
JB
187132011-07-14 Juanma Barranquero <lekktu@gmail.com>
18714
18715 * follow.el (follow-debug-message, follow-redisplay):
18716 * jka-cmpr-hook.el (with-auto-compression-mode):
18717 Fix typos in docstrings.
18718
15853710
LMI
187192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18720
a28e4607
LMI
18721 * subr.el (with-silent-modifications): Clarify somewhat what the
18722 macro inhibits (bug#6525).
18723
15853710
LMI
18724 * simple.el (eval-expression): Note what it does if called
18725 interactively (bug#6495).
18726
bee0fcef
CY
187272011-07-13 Chong Yidong <cyd@stupidchicken.com>
18728
b796c9b7
SM
18729 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18730 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
18731
18732 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18733 Remove switch-to-buffer.
18734
58274504
LMI
187352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18736
bd2fcc8d
LMI
18737 * files.el (make-directory): Clarify that an error will be raised
18738 if there's an error (bug#6397).
18739
0f04b32c
LMI
18740 * startup.el (initial-buffer-choice): Add `none' as a choice
18741 (bug#6234).
18742
465c5fc8
LMI
18743 * subr.el (add-hook): Clarify section about buffer-local hooks
18744 (bug#6218).
18745
58274504
LMI
18746 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18747
bead9a43
JB
187482011-07-13 Juanma Barranquero <lekktu@gmail.com>
18749
18750 * tabify.el (untabify): Preserve the current column so that point
18751 doesn't move (bug#6032).
18752
3af98a7b
LMI
187532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18754
b796c9b7
SM
18755 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18756 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 18757
6240145a
GM
187582011-07-13 Glenn Morris <rgm@gnu.org>
18759
18760 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18761 (dired-insert-directory): Give a message the first time
18762 if ls is found not to support --dired.
18763
1d8c2ccc
LMI
187642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18765
18766 * simple.el (toggle-truncate-lines): Clarify what is toggled
18767 (bug#5580). Text by Drew Adams.
18768
5fc4038e
CY
187692011-07-13 Chong Yidong <cyd@stupidchicken.com>
18770
18771 * simple.el (blink-matching-open): Make the error message from the
18772 last change less verbose.
18773
bf6012e5
DN
187742011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18775
18776 * font-lock.el (font-lock-comment-face): Use the high contrast
18777 "yellow" color for font-lock-comment-face on low color terminals
18778 using a dark background color (bug#4221).
18779
343c3b5a
LMI
187802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18781
7e9505c5
LMI
18782 * dired.el (dired-insert-set-properties): Make the doc string
18783 reflect what it does now (bug#5325).
18784
c26fdcf5
LMI
18785 * simple.el (blink-matching-open): Say that we were unable to find
18786 the match within the limit, if we're limited (bug#5122).
18787
bb388cc5
LMI
18788 * international/mule-cmds.el (prefer-coding-system): Add an
18789 example (bug#4869).
18790
343c3b5a
LMI
18791 * progmodes/etags.el (tags-search): Document `file-list-form'
18792 (bug#4731).
18793
2a517d45
LM
187942011-07-13 Lawrence Mitchell <wence@gmx.li>
18795
18796 * net/browse-url.el (browse-url-default-browser)
18797 (browse-url-browser-function): Make the default browser choice a
18798 bit more logical (bug#4300). Also clean up the doc string.
18799
b6c78ef2
JB
188002011-07-13 Juanma Barranquero <lekktu@gmail.com>
18801
18802 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18803 binary endings (bug#4440).
18804
1c4dd947
LMI
188052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18806
a2014063
LMI
18807 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18808 which can be pretty annoying (bug#8971).
18809
9c9c2d88
LMI
18810 * jka-compr.el (jka-compr-verbose): New variable, and use
18811 throughout (bug#8971).
18812
1c4dd947
LMI
18813 * info.el (Info-find-file): Fall back on the installation
18814 directory if we can't find the info node anywhere else.
18815
a1c9f41b
SO
188162011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18817
18818 * vc/vc.el (vc-revert-file):
18819 Don't set file time-stamp in the past. (Bug#5181)
18820
536f3d36
LMI
188212011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18822
7152b011
LMI
18823 * files.el (after-find-file): Give a better error message when
18824 trying to find a symlink that points to a file that doesn't exist
18825 (bug#4398).
18826
536f3d36
LMI
18827 * progmodes/cc-vars.el: Remove (probably) misleading comment
18828 (bug#4396).
18829
460c0fba
JB
188302011-07-12 Johan Bockgård <bojohan@gnu.org>
18831
18832 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18833
7a6bda45
CY
188342011-07-12 Chong Yidong <cyd@stupidchicken.com>
18835
18836 * mouse-sel.el: Hack restoring functionality, while keeping
18837 compatibility with 2010-07-03 changes to mouse selection.
18838 (mouse-sel-primary-overlay): New var.
18839 (mouse-sel-selection-alist): Use it.
18840 (mouse-sel-mode): Doc fix; remove points that are default features
18841 of mouse.el.
18842
c79598ef
JB
188432011-07-12 Johan Bockgård <bojohan@gnu.org>
18844
18845 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18846 Fix previous fix (bug#2490).
18847
ff8be6ef
RW
188482011-07-12 Roland Winkler <winkler@gnu.org>
18849
b796c9b7
SM
18850 * textmodes/bibtex.el (bibtex-initialize):
18851 Use pop-to-buffer-same-window.
ff8be6ef
RW
18852 (bibtex-search-entries): Fix interactive call.
18853
296ba3ee
LMI
188542011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18855
f5242a02 18856 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
18857 Fontise bytecomp Error lines more correctly (bug#2490).
18858 Fix suggested by Johan Bockgård.
f5242a02 18859
296ba3ee
LMI
18860 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18861
18862 * dired-x.el (dired-guess-default): Use `delete-dups'.
18863
f69fd0d2
CY
188642011-07-12 Chong Yidong <cyd@stupidchicken.com>
18865
18866 * dired.el (dired-mark-prompt):
18867 * dired-aux.el (dired-read-shell-command): Doc fix.
18868
eab5dc07
LMI
188692011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18870
b796c9b7
SM
18871 * mail/sendmail.el (sendmail-query-once):
18872 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
18873 emacs -Q.
18874
18875 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18876
eab5dc07
LMI
18877 * cus-edit.el (custom-file): Take an optional no-error variable.
18878 (customize-save-variable): Set the variable, and give a warning if
18879 running under "emacs -q".
18880
a1e65d42
JB
188812011-07-11 Juanma Barranquero <lekktu@gmail.com>
18882
18883 * loadhist.el (unload-feature-special-hooks):
18884 Add `auto-coding-functions', `fill-nobreak-predicate' and
18885 `find-directory-functions' (bug#5327).
18886
1d52da10
LMI
188872011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18888
be958f1d
LMI
18889 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18890
5bedb26c
LMI
18891 * cus-edit.el (custom-guess-name-alist): -alist variables should
18892 use the `alist' type (bug#3120). Suggested by Drew Adams.
18893
1d52da10
LMI
18894 * printing.el: Add documentation to all the `pr-toggle-' commands.
18895
cd394be1 188962011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
18897
18898 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18899 backends where it makes sense (bug#2623).
18900
dcc88d8a
LMI
189012011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18902
c3de9feb
LMI
18903 * dired-x.el (dired-guess-default): Remove duplicate shell command
18904 entries (bug#2028).
8a93078b 18905 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 18906 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 18907
dcc88d8a
LMI
18908 * subr.el (remove-duplicates): New conveniency function.
18909
505e3645
LMI
189102011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18911
18912 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18913 (bug#1526).
18914
189152011-07-10 Martin Rudalics <rudalics@gmx.at>
18916
18917 * window.el (display-buffer-normalize-default): Don't invert
18918 meaning of even-window-heights. Reported by Eli Zaretskii
18919 <eliz@gnu.org>.
18920
455e4fa1
BR
189212011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18922
18923 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18924
8e0bc3e9
CY
189252011-07-10 Chong Yidong <cyd@stupidchicken.com>
18926
18927 * window.el (display-buffer): Fix arguments to
18928 display-buffer-reuse-window in last change.
18929
fa7c3228
CY
18930 * faces.el (link): Use a less saturated blue on light backgrounds.
18931
18932 * startup.el (fancy-startup-text, fancy-about-text)
18933 (fancy-startup-tail): Use font-lock faces, for background safety.
18934
c0a7f300
BN
189352011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18936
b796c9b7
SM
18937 * emulation/viper-cmd.el (viper-change-state-to-vi):
18938 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 18939
4dc2a129
MR
189402011-07-09 Martin Rudalics <rudalics@gmx.at>
18941
18942 * window.el (display-buffer-default-specifiers): Remove.
18943 (display-buffer-macro-specifiers): Remove default specifiers.
18944 (display-buffer-alist): Default to nil.
b796c9b7 18945 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
18946 (display-buffer-pop-up-window): Allow splitting internal
18947 windows. Check whether a live window was created.
18948 (display-buffer-other-window-means-other-frame)
18949 (display-buffer-normalize-arguments): Rename to
18950 display-buffer-normalize-argument and rewrite. Set the
18951 other-window specifier.
18952 (display-buffer-normalize-special): New function.
18953 (display-buffer-normalize-options): Rename to
18954 display-buffer-normalize-default and rewrite.
18955 (display-buffer-normalize-options-inhibit): Remove.
18956 (display-buffer-normalize-specifiers): Rewrite.
18957 (display-buffer): Process other-window specifier and call
18958 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18959 more faithfully.
b796c9b7 18960 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 18961 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
18962 (display-buffer-in-window, display-buffer-alist-set):
18963 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
18964 <tassilo@member.fsf.org>.
18965
2d43b8c9
LL
189662011-07-09 Leo Liu <sdl.web@gmail.com>
18967
18968 * register.el (insert-register): Restore accidental change on
18969 2011-06-26. (Bug#9028)
18970
7f9b7c53
GM
189712011-07-09 Glenn Morris <rgm@gnu.org>
18972
18973 * subr.el (remq): Handle the empty list. (Bug#9024)
18974
f042cfd8
AS
189752011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18976
18977 * mail/sendmail.el (send-mail-function): No longer delay custom
18978 initialization.
18979 * custom.el (custom-initialize-delay): Doc fix.
18980
856b2f11
SM
189812011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18982
18983 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18984
afae1d68
MA
189852011-07-08 Michael Albinus <michael.albinus@gmx.de>
18986
18987 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18988 human-friendly prompt.
18989
0757af94
SM
189902011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18991
18992 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18993 provided by a particular plugin.
18994
d760b731
LMI
189952011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18996
18997 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18998 save customizations (with "emacs -Q"), just set the variable
18999 instead of erroring out.
19000
19001 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19002
cd79ce90
JL
190032011-07-08 Juri Linkov <juri@jurta.org>
19004
19005 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19006 (archive-zip-update-case): Use 7z if found by `executable-find'.
19007 The order of searching the available programs is the same as in
19008 `archive-zip-extract' (bug#8968).
19009
14cc04aa
CY
190102011-07-07 Chong Yidong <cyd@stupidchicken.com>
19011
19012 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19013 (menu-bar-options-menu): Tweak descriptions.
19014
0a1848ec
LMI
190152011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19016
19017 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19018 menu items into verb phrases (bug#1421). Also refill to fit under
19019 80 columns.
19020
f5bd0689
CY
190212011-07-07 Chong Yidong <cyd@stupidchicken.com>
19022
538e85c6
CY
19023 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19024 (Info-read-node-name): Doc fix (Bug#1084).
19025
f5bd0689
CY
19026 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19027 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19028 (end-of-sexp, beginning-of-sexp)
19029 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19030 (forward-symbol, forward-same-syntax, word-at-point)
19031 (sentence-at-point): Doc fix (Bug#1144).
19032
56ec5115
LMI
190332011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19034
f3f8e37f
LMI
19035 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19036 should cover it (bug#1281).
19037
0757af94 19038 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 19039
e9fce1ac 19040 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
19041 negotiation fails, then possibly try again with a non-encrypted
19042 connection (bug#9017).
19043
56ec5115
LMI
19044 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19045 be used.
19046
c2f9aec8
RS
190472011-07-07 Richard Stallman <rms@gnu.org>
19048
19049 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19050 property, and handle its changed format.
19051 Look for the correct line number.
19052 Use file's line contents (but not past first =) to find
19053 correct line in message.
19054
ef7b981d 190552011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
19056
19057 * international/characters.el (build-unicode-category-table):
19058 Delete it.
0757af94 19059 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 19060
0757af94 19061 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
19062 to src/chartab.c.
19063 (get-char-code-property): Call unicode-property-table-internal to
19064 load a file. Call get-unicode-property-internal where necessary.
19065 (put-char-code-property): Call unicode-property-table-internal to
19066 load a file. Call put-unicode-property-internal where necessary.
19067 put-unicode-property-internal where necessary.
0757af94
SM
19068 (char-code-property-description):
19069 Call unicode-property-table-internal to load a file.
c805dec0
KH
19070
19071 * international/charprop.el:
19072 * international/uni-bidi.el:
19073 * international/uni-category.el:
19074 * international/uni-combining.el:
19075 * international/uni-comment.el:
19076 * international/uni-decimal.el:
19077 * international/uni-decomposition.el:
19078 * international/uni-digit.el:
19079 * international/uni-lowercase.el:
19080 * international/uni-mirrored.el:
19081 * international/uni-name.el:
19082 * international/uni-numeric.el:
19083 * international/uni-old-name.el:
19084 * international/uni-titlecase.el:
19085 * international/uni-uppercase.el: Regenerate.
19086
19087 * loadup.el: Load international/charprop.el before
19088 international/characters.
19089
e14b388a
CY
190902011-07-07 Chong Yidong <cyd@stupidchicken.com>
19091
19092 * window.el (next-buffer, previous-buffer): Signal an error if
19093 called from a minibuffer window.
19094
19095 * bindings.el: Revert 2011-07-04 change.
19096
354cf0ba
RS
190972011-07-06 Richard Stallman <rms@gnu.org>
19098
19099 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19100 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19101 Treat markers like ints.
19102 (rmail-mime-entity): Doc fix.
19103
a48868a7
LMI
191042011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19105
4906cd3d
LMI
19106 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19107 defcustom again for backwards compatibility.
19108
e0457abe
LMI
19109 * simple.el (shell-command-on-region): Fill.
19110
d67f7e1f
LMI
19111 * dired-aux.el (dired-kill-line): Add a doc string.
19112
fe204702
LMI
19113 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19114 to "\\sw\\|\\s_" (bug#358).
19115
a48868a7
LMI
19116 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19117 (dired-unmark-backward): Ditto.
19118 (dired-flag-backup-files): Ditto.
19119
19120 * dired-x.el (dired-mark-sexp): Ditto.
19121
aa8a705c
RS
191222011-07-06 Richard Stallman <rms@gnu.org>
19123
19124 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19125 (rmail-mime-entity): New arg TRUNCATED.
19126 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19127 New functions.
19128 (rmail-mime-save): Warn if entity is truncated.
19129 (rmail-mime-toggle-hidden): Likewise, for showing.
19130 (rmail-mime-process-multipart): Record when an entity is truncated.
19131
a9a936b9
RS
19132 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19133 if ENTITY is a string.
19134
1f2b92cb
LMI
191352011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19136
f4f73198 19137 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
19138 of faces when `M-C-x'-ing their definitions (bug#8378).
19139 Also clean up the code slightly.
f4f73198 19140
12b16734 19141 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 19142 because that makes the colors go away.
12b16734 19143
f0691d22
LMI
19144 * mail/sendmail.el (send-mail-function): Change the default to
19145 `sendmail-query-once'.
9e87df06 19146 (sendmail-query-once): Add an autoload cookie.
f0691d22 19147
1f2b92cb
LMI
19148 * net/network-stream.el (network-stream-open-starttls): Try using
19149 a plain connection even if the server offered STARTTLS, and we
19150 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19151 capability. This should make smtpmail.el work in slightly more
19152 configurations.
19153
1cdd2a1b
MA
191542011-07-06 Michael Albinus <michael.albinus@gmx.de>
19155
19156 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19157 New defun.
19158 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19159
fbcc67e2
MM
191602011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19161
19162 * progmodes/sql.el: Version 3.0
0757af94 19163 (sql-product-alist): Add product :completion-object,
fbcc67e2 19164 :completion-column, and :statement attributes.
0757af94 19165 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 19166 (sql-mode-syntax-table): Mark all punctuation.
0757af94 19167 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
19168 ansi keywords.
19169 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 19170 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
19171 (sql-oracle-show-reserved-words): New function for development.
19172 (sql-product-font-lock): Simplify for source code buffers.
19173 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19174 New functions.
19175 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
19176 (sql-mode-map): Add statement movement functions.
19177 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19178 New variable.
fbcc67e2
MM
19179 (sql-statement-regexp, sql-beginning-of-statement)
19180 (sql-end-of-statement, sql-signum): New functions.
0757af94 19181 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
19182 (sql-show-sqli-buffer): Bug fix.
19183 (sql-interactive-mode): Store connection data as buffer local.
0757af94 19184 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
19185 with sql-interactive-mode.
19186 (sql-save-connection): Save buffer local settings.
0757af94 19187 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
19188 (sql-product-interactive): Bug fix.
19189 (sql-preoutput-hold): New variable.
19190 (sql-interactive-remove-continuation-prompt): Bug fixes.
19191 (sql-debug-redirect): New variable.
19192 (sql-str-literal): New function.
19193 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 19194 Redesign.
fbcc67e2
MM
19195 (sql-oracle-save-settings, sql-oracle-restore-settings)
19196 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19197 (sql-completion-object, sql-completion-column)
19198 (sql-completion-sqlbuf): New variables.
19199 (sql-build-completions-1, sql-build-completions)
19200 (sql-try-completion): New functions.
19201 (sql-read-table-name): Use them.
19202 (sql-contains-names): New buffer local variable.
19203 (sql-list-all, sql-list-table): Use it.
19204 (sql-oracle-completion-types): New variable.
19205 (sql-oracle-completion-object, sql-sqlite-completion-object)
19206 (sql-postgres-completion-object): New functions.
19207
d4eaeab1
GM
192082011-07-06 Glenn Morris <rgm@gnu.org>
19209
19210 * window.el (pop-to-buffer): Doc fix.
19211
322b7dab 192122011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
19213
19214 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19215
322b7dab 192162011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 19217
322b7dab 19218 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 19219
322b7dab 19220 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 19221
605dd5bf
CY
192222011-07-05 Chong Yidong <cyd@stupidchicken.com>
19223
19224 * button.el (button): Inherit from link face. Suggested by Dan
19225 Nicolaescu.
19226
7dbfa719
SM
192272011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19228
3db614b0
SM
19229 * progmodes/gdb-mi.el: Fit in 80 columns.
19230 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19231 switch-to-buffer.
19232
7dbfa719
SM
19233 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19234 if imenu is simply not configured (bug#8941).
19235
919d884a
KM
192362011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19237
19238 * allout.el (allout-post-undo-hook): New allout outline-change
19239 event hook to signal undo activity.
19240 (allout-post-command-business): Run allout-post-undo-hook if an
19241 undo just occurred.
7dbfa719
SM
19242 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19243 * allout-widgets.el (allout-widgets-after-undo-function):
19244 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
19245 in the vicinity of an undo.
19246 (allout-widgets-mode): Include allout-widgets-after-undo-function
19247 on the new allout-post-undo-hook.
19248
450a0f09
SM
192492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19250
19251 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19252 Let define-derived-mode define it.
19253 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19254 cycles of abbrev-table inheritance (bug#8998).
19255
2de69e00
RW
192562011-07-05 Roland Winkler <winkler@gnu.org>
19257
19258 * textmodes/bibtex.el: Add support for biblatex.
19259 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19260 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19261 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19262 (bibtex-entry-alist, bibtex-field-alist): New variables.
19263 (bibtex-entry-field-alist): Obsolete alias for
19264 bibtex-BibTeX-entry-alist.
19265 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19266 (bibtex-set-dialect): New command.
19267 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
19268 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19269 Bind via bibtex-set-dialect.
2de69e00
RW
19270 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19271 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19272 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19273 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19274 Define via bibtex-set-dialect.
450a0f09
SM
19275 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19276 Obey bibtex-no-opt-remove-re.
2de69e00
RW
19277 (bibtex-vec-push, bibtex-vec-incr): New functions.
19278 (bibtex-format-entry, bibtex-field-list)
19279 (bibtex-print-help-message, bibtex-validate)
19280 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19281
2dcdbdd9
SM
192822011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19283
19284 * progmodes/compile.el (compilation-goto-locus):
19285 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19286 * bs.el (bs-cycle-next, bs-cycle-previous):
19287 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19288 * bindings.el (mode-line-other-buffer):
19289 * autoinsert.el (auto-insert):
19290 * arc-mode.el (archive-extract):
19291 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19292
b27640fe
JB
192932011-07-05 Juanma Barranquero <lekktu@gmail.com>
19294
19295 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19296 Fix check of `emacs-lock-unlockable-modes'.
19297 Coerce true values of `emacs-lock--try-unlocking' to t.
19298
53bbe3ad
JB
192992011-07-05 Juanma Barranquero <lekktu@gmail.com>
19300
19301 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19302 * emacs-lock.el: New file.
19303
1d3cdbc7
JD
193042011-07-05 Julien Danjou <julien@danjou.info>
19305
19306 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19307 than `boundp' to check if face is set.
19308
9173deec
JB
193092011-07-05 Juanma Barranquero <lekktu@gmail.com>
19310
19311 * register.el (registerv-make):
19312 * window.el (window-min-height): Fix typos in docstrings.
19313
869795d6
JD
193142011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19315
9173deec 19316 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
19317 Update doc string.
19318
b768cdcd
JB
193192011-07-04 Juanma Barranquero <lekktu@gmail.com>
19320
19321 * server.el (server-execute): Catch quit and call
19322 `server-return-error' to pass the error back to emacsclient and
19323 close the connection (bug#8942).
19324
13aa217b
KM
193252011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19326
19327 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19328 insecure exception for current topic. Also note that auto-saves
19329 are handled differently.
19330
5d3385a0 19331 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
19332 State variables for tracking auto-save inhibition situation.
19333
19334 (allout-write-contents-hook-handler): Rename from
19335 'allout-write-file-hook-handler', and describe how it depends on
19336 write-contents-functions sensitivity to non-nil value to prevent
19337 file write.
19338
19339 (allout-auto-save-hook-handler): Remove. auto-save does not check
19340 this in individual buffers, only in the starting buffer, so this
19341 is not the right way for us to inhibit auto-save in a buffer
19342 according to its condition.
19343
19344 (allout-mode): Use new allout-write-contents-hook-handler, and
19345 only with write-contents-functions. Remove auto-save provisions -
19346 they're implemented elsewhere.
19347
19348 (allout-before-change-handler): If undo is in progress, note that
19349 for attention of allout-post-command-business.
19350
19351 (allout-post-command-business): If the command we're following was
19352 an undo, check for change in the status of encrypted items and
19353 adjust auto-save inhibitions accordingly.
19354
19355 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19356 according to whether there are or aren't any plain-text topics
19357 pending encryption.
19358
2dcdbdd9 19359 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
19360 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19361 if there are plain-text topics pending encryption.
13aa217b
KM
19362
19363 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19364 buffer-saved-size and some allout state to not inhibit auto-saves
19365 if there are no longer any plain-text topics pending encryption.
19366
0757af94
SM
19367 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19368 No longer provide for exemption of the current topic.
13aa217b 19369
ac89b32c
JL
193702011-07-04 Juri Linkov <juri@jurta.org>
19371
19372 Add 7z operations to delete and save changed members (bug#8968).
19373 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19374 New defcustoms.
19375 (archive-7z-write-file-member): New function.
19376 (archive-7z-summarize): Fix the number of dashes in the
19377 listing output.
19378
8fa39615
SM
193792011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19380
19381 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19382 (bug#8958).
19383
2f11b3f1
CY
193842011-07-04 Chong Yidong <cyd@stupidchicken.com>
19385
d66fef2b
CY
19386 * bindings.el: Ignore next-buffer and previous-buffer in
19387 minibuffer-local-map.
19388
2f11b3f1
CY
19389 * font-lock.el (font-lock-builtin-face): Change light background
19390 color to dark slate blue (Bug#6693).
19391
f932a347
WD
193922011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19393
19394 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19395
c8af70e1
SM
193962011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19397
19398 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19399 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19400 Add switch-to-buffer.
19401
f158badc
LMI
194022011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19403
19404 * isearch.el (isearch-search-fun-function): Clarify further the
19405 meaning of the function returned.
19406
6d95bd46
MA
194072011-07-04 Michael Albinus <michael.albinus@gmx.de>
19408
19409 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19410
19411 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19412 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19413 Use it.
19414 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19415 `tramp-default-remote-path' does not exist.
19416 (tramp-send-command-and-read): New optional argument NOERROR.
19417 (tramp-open-connection-setup-interactive-shell)
19418 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19419 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19420 (tramp-process-sentinel): Flush also process' connection property.
19421 (tramp-sh-handle-start-file-process): Do not set process
19422 sentinel. It is done now ...
19423 (tramp-maybe-open-connection): ... here. (Bug#8929)
19424
909e6b67
MK
194252011-07-04 MON KEY <monkey@sandpframing.com>
19426
19427 * play/animate.el (animate-string): Doc fixes and allow changing
19428 the buffer name (bug#5417).
19429
194302011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19431
c8af70e1 19432 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 19433
f34755dc
PE
194342011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19435
396cec72
PE
19436 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19437 This is simpler and helps future-proof the code.
19438 (timer-until): Use time-subtract and float-time.
08235028 19439 (timer--time-less-p): Use time-less-p.
f34755dc 19440
56e6cc31
JB
194412011-07-04 Juanma Barranquero <lekktu@gmail.com>
19442
3abb79e5
JB
19443 * type-break.el (timep): Use the value of `float-time' to avoid a
19444 byte-compiler warning.
19445
56e6cc31
JB
19446 * server.el (server-eval-and-print): Return any result, even nil.
19447
7b9430b4
PE
194482011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19449
19450 * type-break.el: Accept time formats that the builtins accept.
19451 (timep, type-break-time-difference): Accept any format that
19452 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19453 This is simpler and helps future-proof the code.
19454 (type-break-time-difference): Round rather than ignoring
19455 subseconds components.
19456
3034e9e7
LMI
194572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19458
19459 * info.el (Info-apropos-matches): Make non-interactive, since it
19460 doesn't seem to do anything useful as a command (bug#8829).
19461
1485f4c0
CY
194622011-07-03 Chong Yidong <cyd@stupidchicken.com>
19463
19464 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 19465 Move from faces.el.
1485f4c0
CY
19466 (frame-default-terminal-background): New function.
19467
19468 * custom.el (custom-push-theme): Don't record faces in `changed'
19469 theme; this doesn't work correctly for per-frame face settings.
19470 (disable-theme): Use face-set-after-frame-default to reset faces.
19471 (custom--frame-color-default): New function.
19472
9fa3dd45
LMI
194732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19474
c8af70e1 19475 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
19476 (bug#8769).
19477
6cbbc20c
KR
194782011-03-29 Kevin Ryde <user42@zip.com.au>
19479
19480 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19481 `perl-Test2' extend to match possible "fail #N" rep count
19482 (bug#8377).
19483
c7f98048
LMI
194842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19485
65676592
LMI
19486 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19487 `smtpmail-via-smtp' now returns the error instead of nil.
19488
c7f98048
LMI
19489 * isearch.el (isearch-search-fun-function): Clarify the doc string
19490 (bug#8101).
19491
56e6cc31 194922011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
19493
19494 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19495 unnecessary spaces (bug#8987).
19496
2b216704
LMI
194972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19498
19499 * net/network-stream.el (open-network-stream): Use the
19500 :end-of-capability command thoughout.
19501
195022011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19503
19504 * net/network-stream.el (open-network-stream): Add the
19505 :end-of-capability command parameter, used by pop3.el.
19506
36adf6ce
LMI
195072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19508
1ca0da0e
LMI
19509 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19510
fc00f69c
LMI
19511 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19512 for list)" (bug#6475).
19513
28fd8759 19514 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 19515 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
19516 an error (bug#6297).
19517
0dd8b6da
LMI
19518 * man.el (Man-reference-regexp): Allow matching possible
19519 word-wrapped references (bug#6289).
19520
ce1438d6
LMI
19521 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19522 for consistency with the other vc buffers (bug#6197).
19523 (vc-checkin): Ditto.
19524
19525 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19526
36adf6ce
LMI
19527 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19528
e83cc1f7
LMI
195292011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19530
8a20ca4c
LMI
19531 * custom.el (defcustom): Clarify that :set is only used in the
19532 Customize user interface (bug#6089).
19533
83319045
LMI
19534 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19535 associated with a file, refuse to run instead of erroring out
19536 (bug#6084).
19537
a8392169
LMI
19538 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19539 the doc string, since it appears that using `fill-column' always
19540 controls the width (bug#7845).
19541
e83cc1f7
LMI
19542 * simple.el (shell-command-on-region): Say where the error output
19543 went if `shell-command-default-error-buffer' is set (bug#6857).
19544
e47ca23b
KM
195452011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19546
19547 * allout.el (allout-yank-processing): Adjust cursor position for
19548 backwards-deleted space.
19549
19550 (allout-rebullet-heading): Register changes with
19551 allout-exposure-changed-hook, so the modified topic is properly
19552 decorated.
19553
5cf56143
LMI
195542011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19555
08549772
LMI
19556 * minibuffer.el (completion-in-region): Document PREDICATE
19557 (bug#7136).
19558
48e96771
LMI
19559 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19560 of keyword/argument pairs (bug#6904).
19561
c8af70e1
SM
19562 * replace.el (multi-occur):
19563 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 19564
e17d05e2
LMI
195652011-07-02 Drew Adams <drew.adams@oracle.com>
19566
19567 * dired.el (dired-mark-if): Make the message about whether it's
19568 marking or unmarking clearer (bug#8523).
19569
063b0e45
LMI
195702011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19571
19572 * disp-table.el (display-table-print-array): New function.
19573 (describe-display-table): Use it to print the vectors more pretty
19574 (Bug#8859).
19575
28545e04
MR
195762011-07-02 Martin Rudalics <rudalics@gmx.at>
19577
19578 * window.el (window-state-get-1): Don't assign clone numbers.
19579 Add clone-of item to list of window parameters.
19580 (window-state-put-2): Don't process clone numbers.
19581 (display-buffer-alist): Fix doc-string.
19582
3349e122
SM
195832011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19584
19585 * subr.el (remq): Don't allocate if it's not needed.
19586 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19587 (keymap--merge-bindings): New functions.
19588 (keymap-canonicalize): Use them to refine the canonicalization.
19589 * minibuffer.el (minibuffer-local-completion-map)
19590 (minibuffer-local-must-match-map): Move initialization from C.
19591 (minibuffer-local-filename-completion-map): Move initialization from C;
19592 don't inherit from anything here.
19593 (minibuffer-local-filename-must-match-map): Make obsolete.
19594 (completing-read-default): Use make-composed-keymap to combine
19595 minibuffer-local-filename-completion-map with either
19596 minibuffer-local-must-match-map or
19597 minibuffer-local-filename-completion-map.
19598
d224ac83
GM
195992011-07-01 Glenn Morris <rgm@gnu.org>
19600
3de63bf8
GM
19601 * type-break.el (type-break-time-sum): Use dolist.
19602
d224ac83
GM
19603 * textmodes/flyspell.el (flyspell-word-search-backward):
19604 Replace CL function.
19605
1a1e3f32
SM
196062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19607
fe3f64d5
SM
19608 * mouse.el (mouse--strip-first-event): New function.
19609 (function-key-map): Use it to map fringe clicks to normal clicks
19610 by default.
19611
eb604e34
SM
19612 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19613 (vc-bzr-revision-completion-table): Add support for annotate and date.
19614
1a1e3f32
SM
19615 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19616 inherit from parent.
19617
5bd35902
LMI
196182011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19619
ace6c69c 19620 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 19621 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 19622
191e2bed
LMI
19623 * dired.el (dired-mode): Fix up the doc string as suggested by
19624 Drew Adams (bug#8817).
19625
5bd35902
LMI
19626 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19627 cookie, since the manual says that it should be possible to add
19628 this function to `find-file-hook' (bug#8709).
19629
eee8207a
TZ
196302011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19631
19632 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19633 here. Noted Ted Zlatanov as the maintainer.
19634 (cfengine-common-settings, cfengine-common-syntax): New functions
19635 to set up common things between `cfengine-mode' and
19636 `cfengine3-mode'.
19637 (cfengine3-mode): New mode.
19638 (cfengine3-defuns cfengine3-defuns-regex
19639 (cfengine3-class-selector-regex cfengine3-category-regex)
19640 (cfengine3-vartypes cfengine3-font-lock-keywords)
19641 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 19642 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 19643
36b148cf
MA
196442011-07-01 Michael Albinus <michael.albinus@gmx.de>
19645
19646 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19647
19648 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19649
0bf4ba9a
MR
196502011-07-01 Martin Rudalics <rudalics@gmx.at>
19651
19652 * window.el (same-window-buffer-names, same-window-regexps)
19653 (same-window-p, special-display-frame-alist)
19654 (special-display-popup-frame, special-display-function)
19655 (special-display-buffer-names, special-display-regexps)
19656 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19657 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19658 (split-window-preferred-function, split-height-threshold)
19659 (split-width-threshold, even-window-heights)
19660 (display-buffer-mark-dedicated, window-splittable-p)
19661 (split-window-sensibly, window-safely-shrinkable-p):
19662 Un-obsolete.
19663 (display-buffer): Don't spread args with function specifier
19664 because special-display-popup-frame won't like it.
19665
35837f51
PE
196662011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19667
d0672f86
PE
19668 Time-stamp simplifications and fixes.
19669 These improve accuracy slightly, and future-proof the code
19670 against some potential changes to current-time format.
19671
b9444d97
PE
19672 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19673 by using time-since and float-time.
19674
0ef923dc
PE
19675 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19676 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19677 + NNN microseconds".
19678
2f81380d
PE
19679 * type-break.el (type-break-time-sum): Rewrite using time-add.
19680
845b5c3e
PE
19681 * play/hanoi.el (hanoi-current-time-float): Remove.
19682 All uses replaced by float-time.
19683
ee6f1be0
PE
19684 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19685 This yields a more-accurate answer.
19686 (rng-time-to-float): Remove; no longer needed.
19687
fe955043
PE
19688 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19689
5777162a
PE
19690 * calendar/timeclock.el (timeclock-seconds-to-time):
19691 Defalias to seconds-to-time, since they're the same thing.
19692
3103f8b6 19693 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 19694 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
19695 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19696
0e61a35f
SM
196972011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19698
19699 * window.el (bury-buffer): Don't iconify the only frame.
19700 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19701 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19702
ddd63a1e
CY
197032011-07-01 Chong Yidong <cyd@stupidchicken.com>
19704
0e61a35f
SM
19705 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19706 Add mouse-yank-primary.
ddd63a1e 19707
055f4923
TZ
197082011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19709
19710 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19711
6a2fb145
SM
197122011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19713
19714 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19715 (find-library-name): Use it to find relative load names when provided
19716 absolute file name (bug#8803).
19717
fd4983f2
LMI
197182011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19719
887d14ad
LMI
19720 * textmodes/flyspell.el (flyspell-word): Consider words that
19721 differ only in case as potential doublons (bug#5687).
19722
c53dc7fc
LMI
19723 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19724 Remove two rather uninteresting debugging-like messages to make
19725 debbugs.el more silent.
19726
fd4983f2
LMI
19727 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19728 a password-like phrase.
19729
7a71b18d 197302011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
19731
19732 * progmodes/cc-guess.el: New file.
19733
6a2fb145 19734 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
19735
19736 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19737 derived from `c-basic-common-init'.
19738
19739 * progmodes/cc-mode.el (top-level): Require cc-guess.
19740 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19741
1fa280a3
LM
197422011-06-30 Lawrence Mitchell <wence@gmx.li>
19743
19744 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19745
e6597158
AM
197462011-06-30 Alan Mackenzie <acm@muc.de>
19747
1fa280a3
LM
19748 * progmodes/cc-engine.el (c-guess-continued-construct):
19749 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
19750 lock is disabled. Name this case as "CASE G".
19751
68ba37fb
KM
197522011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19753
19754 * allout.el (allout-yank-processing): Fix injection of extra space
19755 between bullet and non-whitespace character in first topic when
19756 pasting, ensuring that the actual spacing in the pasted topic
19757 following the bullet char is preserved. This extra space was
19758 causing pasted encrypted topics to get a decrypted status even
19759 when the content was actually still encrypted. Now the decryption
19760 status from before the paste is preserved.
19761
19762 (allout-flag-region): Set all allout overlays so they evaporate
19763 when reduced to zero length (evanescent), to prevent overlay
19764 leakage.
19765
887a0b34
GM
197662011-06-30 Glenn Morris <rgm@gnu.org>
19767
94b9acce
GM
19768 * w32-fns.el (w32-charset-info-alist): Declare.
19769
1d9b46d4
GM
19770 * find-dired.el (find-grep-options): Simplify.
19771
cc232200
GM
19772 * term/ns-win.el (ns-set-resource): Declare.
19773
28e77c46
GM
19774 * ses.el (row, col): Declare dynamic variables honestly.
19775
887a0b34
GM
19776 * textmodes/reftex-parse.el (index-tags): Declare.
19777
658d8eb8
CY
197782011-06-30 Chong Yidong <cyd@stupidchicken.com>
19779
19780 * cus-edit.el (customize-push-and-save): New function.
19781
19782 * files.el (hack-local-variables-confirm): Use it.
19783
1fa280a3
LM
19784 * custom.el (load-theme): New arg NO-CONFIRM.
19785 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
19786 (custom-enabled-themes): Doc fix.
19787
19788 * cus-theme.el (customize-create-theme)
19789 (custom-theme-merge-theme): Callers to load-theme changed.
19790
bb617717
LMI
197912011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19792
d61bdd5d
LMI
19793 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19794 short URLs have at least one dot in them (bug #7614).
19795
bb617717
LMI
19796 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19797 nil, because using a pty is apparently too slow (bug #895).
19798
2f31f37a
LMI
197992011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19800
19801 * mail/sendmail.el (sendmail-query-once): New function.
19802 (sendmail-query-once-function): New variable.
19803
3076b24e
GM
198042011-06-29 Glenn Morris <rgm@gnu.org>
19805
faf2a174
GM
19806 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19807
3076b24e
GM
19808 * ses.el (top-level): Require cl when compiling.
19809 (ses-set-localvars): Fix error statement.
19810 Call it at compile time to silence a storm of warnings.
19811
5386012d
MR
198122011-06-29 Martin Rudalics <rudalics@gmx.at>
19813
19814 * window.el (normalize-live-buffer): Rename to
19815 window-normalize-buffer.
19816 (normalize-live-frame): Rename to window-normalize-frame.
19817 (normalize-any-window): Rename to window-normalize-any-window.
19818 (normalize-live-window): Rename to window-normalize-live-window.
19819 (make-window-atom): Rename to window-make-atom.
19820 (window-resize-reset): Rename to window--resize-reset.
19821 (window-resize-reset-1): Rename to window--resize-reset-1.
19822 (resize-mini-window): Rename to window--resize-mini-window.
19823 (resize-subwindows-skip-p): Rename to
19824 window--resize-subwindows-skip-p.
19825 (resize-subwindows-normal): Rename to
19826 window--resize-subwindows-normal.
19827 (resize-subwindows): Rename to window--resize-subwindows.
19828 (resize-other-windows): Rename to window--resize-siblings.
19829 (resize-this-window): Rename to window--resize-this-window.
19830 (resize-root-window): Rename to window--resize-root-window.
19831 (resize-root-window-vertically): Rename to
19832 window--resize-root-window-vertically.
19833 (normalize-buffer-to-display): Rename to
19834 window-normalize-buffer-to-display.
19835 (normalize-buffer-to-switch-to): Rename to
19836 window-normalize-buffer-to-switch-to.
19837 Correspondingly update all callers of the functions listed
19838 above.
19839 (display-buffer-alist, display-buffer-normalize-arguments)
19840 (display-buffer-normalize-options, display-buffer)
19841 (display-buffer-alist-set): Use "function" instead of
19842 "fun-with-args".
19843
1176868d
CY
198442011-06-28 Chong Yidong <cyd@stupidchicken.com>
19845
19846 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19847 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19848 debbugs.gnu.org. Mention acknowledgment email.
19849
20a7a65f
LMI
198502011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19851
19852 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19853 buffer multibyteness, since it shouldn't matter.
19854
5f45cca5
MR
198552011-06-28 Martin Rudalics <rudalics@gmx.at>
19856
19857 * window.el (display-buffer-in-side-window): Handle dedicated
19858 windows as in display-buffer-reuse-window.
19859 (display-buffer-normalize-alist): Use value of override
19860 specifier.
19861 (display-buffer-normalize-specifiers): Use value of
19862 other-window-means-other-frame specifier.
19863 (display-buffer-alist): Rewrite some texts in widgets.
19864 (display-buffer): Spread arguments when calling function
19865 specified by fun-with-args.
19866
ad85fe1f
DD
198672011-06-28 Deniz Dogan <deniz@dogan.se>
19868
1fa280a3
LM
19869 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19870 Unnest `let'.
da68c4c8 19871
ad85fe1f
DD
19872 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19873 selectors (Bug#5732).
ec49bd31 19874 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 19875
a08cc025
JA
198762011-06-27 Jari Aalto <jari.aalto@cante.net>
19877
19878 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19879 (eshell-ls-date-format): New defcustom.
19880 (eshell-ls-file): Use it.
19881
e2b551c5
SM
198822011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19883
19884 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19885
8982b231
KY
198862011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19887
19888 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19889 (ange-ftp-make-tmp-name): New arg.
19890 (ange-ftp-file-local-copy): Use it.
19891
36c9fa27
J
198922011-06-27 Jambunathan K <kjambunathan@gmail.com>
19893
19894 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19895 no-conversion (Bug#8870).
19896
d68443dc
MR
198972011-06-27 Martin Rudalics <rudalics@gmx.at>
19898
19899 * window.el (window-right, window-left, window-child)
19900 (window-child-count, window-last-child)
19901 (window-iso-combination-p, walk-window-tree-1)
19902 (window-atom-check-1, window-tree-1, delete-window)
19903 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19904 new naming conventions - window-vchild, window-hchild,
19905 window-next and window-prev are now called window-top-child,
19906 window-left-child, window-next-sibling and window-prev-sibling
19907 respectively.
d615d6d2
MR
19908 (resize-window-reset): Rename to window-resize-reset.
19909 (resize-window-reset-1): Rename to window-resize-reset-1.
19910 (resize-window): Rename to window-resize.
19911 (window-min-height, window-min-width)
19912 (resize-mini-window, resize-this-window, resize-root-window)
19913 (resize-root-window-vertically, adjust-window-trailing-edge)
19914 (enlarge-window, shrink-window, maximize-window)
19915 (minimize-window, delete-window, quit-restore-window)
19916 (split-window, balance-windows, balance-windows-area-adjust)
19917 (balance-windows-area, window-state-put-2)
19918 (display-buffer-even-window-sizes, display-buffer-set-height)
19919 (display-buffer-set-width, set-window-text-height)
19920 (fit-window-to-buffer): Rename all "resize-window" prefixed
19921 calls to use the "window-resize" prefix convention.
19922 (display-buffer-alist): Fix symbol for label specifier.
19923 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19924 corresponding specifier.
19925 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 19926
b6458526
VB
199272011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19928
19929 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19930 convention.
19931 (ses-call-printer): Does not pass an empty string to formatter when the
19932 cell is empty to keep from barking printer Calc math-format-value.
19933
d31fd9ac
RS
199342011-06-27 Richard Stallman <rms@gnu.org>
19935
43d5bf84
RS
19936 * battery.el (battery-mode-line-limit): New variable.
19937 (battery-update): Handle it.
19938
d31fd9ac
RS
19939 * mail/rmailmm.el (rmail-mime-process-multipart):
19940 Handle truncated messages.
19941
819a6054
GM
199422011-06-27 Glenn Morris <rgm@gnu.org>
19943
19944 * progmodes/flymake.el (flymake-err-line-patterns):
19945 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19946
cedc73f2
VB
199472011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19948
819a6054 19949 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
19950 (ses--clean-!, ses--clean-_): New functions.
19951 (ses-range): Add configurability of readout order, and conversion
19952 to Calc vector.
19953
5e5d49b6
VB
19954 * ses.el (ses-repair-cell-reference-all): New function.
19955 (ses-cell-symbol): Set macro as safe, so that it can be used in
19956 formulas.
19957
56e6cc31 19958 * ses.el: Update cycle detection algorithm.
90ca8b49 19959 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 19960 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
19961 (ses-set-localvars): New function.
19962 (ses-make-cell): Add property-list as a cell element.
19963 (ses-cell-property-get-fun, ses-cell-property-get)
19964 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
19965 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19966 New functions.
90ca8b49
VB
19967 (ses-cell-property-set, ses-cell-property-pop)
19968 (ses-cell-property-get-handle): New macro.
19969 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19970 New aliases, used for code readability.
19971 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19972 cycle detection.
19973 (ses-self-reference-early-detection): New defcustom.
fac916bf 19974 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
19975 (ses-mode): Use ses-set-localvars.
19976 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19977 before lauching the update processing.
19978 (ses-initialize-Dijkstra-attempt): New function.
19979 (ses-recalculate-cell): Update for cycle detection based on
19980 Dijkstra algorithm.
19981
2bb63e81
VB
19982 * ses.el: Fix commenting and indenting convention.
19983
c9d29fb8
SM
199842011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19985
19986 * bs.el (bs-cycle-next): Complete last change.
19987
d8e4b68b
JB
199882011-06-27 Drew Adams <drew.adams@oracle.com>
19989
19990 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19991
40098786
LMI
199922011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19993
c9d29fb8
SM
19994 * net/network-stream.el (network-stream-open-starttls):
19995 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
19996 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19997
40098786
LMI
19998 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19999 to binary to possibly avoid line encoding issues on Windows (among
20000 other things).
20001
468d09d4
LMI
200022011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20003
20004 * net/network-stream.el (open-network-stream): Return an :error
20005 saying what the problem was, if possible.
20006
20007 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20008 server.
20009
20010 * net/network-stream.el (network-stream-open-starttls): If we
20011 wanted to use STARTTLS, and the server offered it, but we weren't
20012 able to because we had no STARTTLS support, then close the connection.
20013 (open-network-stream): Return an :error element, if present.
20014
16f07dd7
CY
200152011-06-26 Chong Yidong <cyd@stupidchicken.com>
20016
88821ca0
CY
20017 * hl-line.el (hl-line-sticky-flag): Doc fix.
20018 (global-hl-line-sticky-flag): New option (Bug#8323).
20019 (global-hl-line-highlight): Obey it.
20020
16f07dd7
CY
20021 * vc/vc.el (vc-revert-show-diff): Default to t.
20022
6b5ccddf
KM
200232011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20024
c9d29fb8
SM
20025 * allout-widgets.el (allout-widgets-post-command-business):
20026 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
20027 undecorated when an isearch is continued past, and isearch
20028 automatically collapses them. This leads to "widget leaks", where
20029 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
20030 hidden widgets can slow down cursor travel, substantially.
20031 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
20032 so we're doing without this nicety.
20033
20034 (allout-widgets-tally-string): Don't try to do a hash-table-count
20035 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20036 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20037 *Messages* when allout-widgets-maintain-tally is t.
20038
355f2e07
MR
200392011-06-26 Martin Rudalics <rudalics@gmx.at>
20040
20041 * window.el (display-buffer-normalize-argument): Rename to
20042 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
20043 LABEL argument. Respect special-display-function when popping up
20044 a new frame. Fix code searching for a window showing the buffer
20045 on another frame.
c9d29fb8
SM
20046 (display-buffer-normalize-specifiers):
20047 Call display-buffer-normalize-arguments.
355f2e07
MR
20048 (display-buffer-in-window): Don't undedicate the window if its
20049 buffer remains the same.
20050 Reported by Drew Adams <drew.adams@oracle.com>.
20051 (display-buffer-alist): Add choice for same-window macro
20052 specfier.
20053 (display-buffer): Mention special meaning of LABEL argument in
20054 doc-string. Fix quoting. Don't pop up a new frame even as
20055 fallback.
20056
7ca8fc42
JB
200572011-06-26 Juanma Barranquero <lekktu@gmail.com>
20058
20059 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20060 avoid deleting the current window in some cases (bug#8911).
20061
bc312254
AS
200622011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20063
20064 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20065 (Bug#8934)
20066
2db18f3f
LMI
200672011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20068
c9d29fb8
SM
20069 * net/network-stream.el (network-stream-open-starttls):
20070 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
20071 (network-stream-open-tls): Ditto.
20072
6302e0d3
LL
200732011-06-26 Leo Liu <sdl.web@gmail.com>
20074
20075 * register.el (registerv): New struct.
20076 (registerv-make): New function.
c9d29fb8
SM
20077 (jump-to-register, describe-register-1, insert-register):
20078 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
20079 struct. (Bug#8415)
20080
5fdd4046
CY
200812011-06-26 Chong Yidong <cyd@stupidchicken.com>
20082
2afef60a
CY
20083 * vc/vc.el (vc-revert-show-diff): New defcustom.
20084 (vc-diff-internal): New arg specifying diff buffer.
20085 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20086 reuse an existing *vc-diff* buffer (Bug#8927).
20087
5fdd4046
CY
20088 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20089
e93db24a
GM
200902011-06-26 Glenn Morris <rgm@gnu.org>
20091
20092 * progmodes/f90.el (f90-critical-indent): New option.
20093 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20094 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20095 (f90-mode): Doc fix.
20096 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20097 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20098 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20099 (f90-match-end): Handle block, critical.
20100
eefff499
GM
201012011-06-25 Glenn Morris <rgm@gnu.org>
20102
f6ba4cc9
GM
20103 * calendar/diary-lib.el (diary-included-files): Doc fix.
20104 (diary-include-files): New function, extracted from
20105 diary-include-other-diary-files and diary-mark-included-diary-files.
20106 (diary-include-other-diary-files, diary-mark-included-diary-files):
20107 Just call diary-include-files.
20108 (diary-mark-entries): Reset diary-included-files on first call.
20109
16712304
GM
20110 * calendar/diary-lib.el (diary-mark-entries)
20111 (diary-mark-included-diary-files):
20112 Visit included diary-files in temp buffers.
20113
5d8e0d43
GM
20114 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20115 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20116 (f90-start-block-re, f90-imenu-generic-expression)
20117 (f90-looking-at-program-block-start, f90-no-block-limit):
20118 Add support for submodules.
20119
ccf7a5d5
GM
20120 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20121 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 20122
11fdef7d 201232011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
20124
20125 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20126 buffer-file-type before setting its value, to avoid disastrous
eefff499 20127 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 20128
74f53697
JB
201292011-06-25 Juanma Barranquero <lekktu@gmail.com>
20130
20131 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20132
20133 * ses.el (ses-unload-function):
20134 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20135
20136 * proced.el (proced-unload-function):
20137 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20138
18a4ce5e
AR
201392011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20140
20141 * server.el (server-create-window-system-frame): Add parameters arg.
20142 (server-process-filter): Doc fix. Handle frame-parameters.
20143
519d22cc
JB
201442011-06-25 Juanma Barranquero <lekktu@gmail.com>
20145
20146 Fix bug#8730, bug#8781.
20147
20148 * loadhist.el (unload--set-major-mode): New function.
20149 (unload-feature): Use it.
20150
20151 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20152 (python-unload-function): New function.
20153
c206f5b0
SM
201542011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20155
20156 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20157
f9ad64f3
GS
201582011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20159
20160 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20161 the candidates list.
20162
7d0da90e
JB
201632011-06-24 Juanma Barranquero <lekktu@gmail.com>
20164
20165 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20166
14b4e83d
RS
201672011-06-23 Richard Stallman <rms@gnu.org>
20168
20169 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20170 (rmail-variables): Set next-error-move-function.
20171 (rmail-what-message): Take argument POS.
20172 (rmail-next-error-move): New function.
20173
273d2baf
SM
201742011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20175
20176 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20177 messages for adjacent non-terminals.
20178
56c2cc9a
RS
201792011-06-23 Richard Stallman <rms@gnu.org>
20180
20181 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 20182 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
20183 (rmail-start-mail): Don't specify use of rmail-mail-return;
20184 that's done by mail-bury now.
20185 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 20186
d59eb518
MA
201872011-06-23 Michael Albinus <michael.albinus@gmx.de>
20188
20189 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20190 SIZE is a number.
20191
02cfc6d6
MR
201922011-06-23 Martin Rudalics <rudalics@gmx.at>
20193
20194 * window.el (get-lru-window, get-mru-window)
20195 (get-largest-window): Never return a minibuffer window.
20196 (display-buffer-pop-up-window): Fix a bug that could lead to
20197 reusing the minibuffer window.
20198 (display-buffer): Pass original specifier argument to
20199 display-buffer-function instead of the normalized one.
20200 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20201
4e323265
LL
202022011-06-22 Leo Liu <sdl.web@gmail.com>
20203
20204 * minibuffer.el (completing-read-function)
1f9f395d 20205 (completing-read-default): Move from minibuf.c.
4e323265 20206
7a70468f
RS
202072011-06-22 Richard Stallman <rms@gnu.org>
20208
50718fc2
RS
20209 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20210 to Rmail even if not started by a special Rmail command.
20211
7a70468f
RS
20212 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20213 Copy the buffer currently showing just one message.
20214
297dde5a
RW
202152011-06-22 Roland Winkler <winkler@gnu.org>
20216
20217 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20218 (bibtex-clean-entry): First delete the old key so that a
20219 customized algorithm for generating the new key does not get
20220 confused by the old key.
20221 (bibtex-url): Obey regexp of first step.
20222 (bibtex-search-entries): Do not use add-to-list with local
20223 list-var.
20224
97bb1093
LMI
202252011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20226
20227 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20228 stored a user name, then query for the password first, instead of
20229 waiting for SMTP to give an error message and the trying again.
20230
1c0f1a19
JD
202312011-06-22 Lawrence Mitchell <wence@gmx.li>
20232
20233 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20234 BUFFER in call-process.
20235
396f7c9d
LMI
202362011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20237
20238 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20239 QUIT twice.
ddb7ffee
LMI
20240 (smtpmail-try-auth-methods): Require user name and password from
20241 auth-source.
396f7c9d 20242
8998d1b3
MR
202432011-06-22 Martin Rudalics <rudalics@gmx.at>
20244
20245 * window.el (display-buffer-default-specifiers)
20246 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20247 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 20248 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
20249
20250 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20251 (special-display-frame-alist, special-display-popup-frame):
20252 Remove duplicate declarations. These are now in window.el.
20253
4ea31e07
LMI
202542011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20255
c9d29fb8
SM
20256 * mail/smtpmail.el (smtpmail-via-smtp):
20257 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
20258 server supports it. SMTP servers that support STARTTLS commonly
20259 require it.
20260
20261 * net/network-stream.el (network-stream-open-starttls): Support
20262 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 20263 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 20264
95f41d9a
LMI
20265 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20266 upgrades with `open-network-stream', and rely solely on
20267 auth-source for all credentials. Big changes throughout the file,
20268 but in particular:
c9d29fb8
SM
20269 (smtpmail-auth-credentials): Remove.
20270 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
20271 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20272 MAIL FROM, too.
95f41d9a 20273
c9d29fb8
SM
20274 * net/network-stream.el (network-stream-open-starttls):
20275 Provide support for client certificates both for external and built-in
4ea31e07
LMI
20276 STARTTLS.
20277 (auth-source): Require.
20278 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
20279 (network-stream-certificate): Change cert-cert to cert and
20280 cert-key to key.
4ea31e07 20281
065ec2c7
MA
202822011-06-21 Michael Albinus <michael.albinus@gmx.de>
20283
20284 * net/tramp-cache.el (top): Don't load the persistency file when
20285 "emacs -Q" has been called.
20286
cd93b359
DR
202872011-06-21 Tim Harper <timcharper@gmail.com>
20288
d8e4b68b
JB
20289 * term/ns-win.el (ns-initialize-window-system):
20290 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
20291 resource to NO as it is not yet supported by the NS port.
20292
ae9c0411
JB
202932011-06-21 Juanma Barranquero <lekktu@gmail.com>
20294
20295 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20296 (list-dynamic-libraries): ...not here.
20297
7f3f739f
LL
202982011-06-21 Leo Liu <sdl.web@gmail.com>
20299
20300 * subr.el (sha1): Implement sha1 using secure-hash.
20301
327c8fb1
MR
203022011-06-21 Martin Rudalics <rudalics@gmx.at>
20303
20304 * window.el (display-buffer-alist): In default value do not
20305 enforce searching a window on any but the selected frame.
20306 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20307 (display-buffer-select-window): Remove function.
20308 (display-buffer-in-window): When a window on another frame gets
20309 reused, do not select it any more but just raise its frame if
20310 necessary (Bug#8851) and (Bug#8856).
20311 (display-buffer-normalize-options): Handle pop-up-frames related
20312 options more faithfully.
20313 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20314 window if it is on another frame.
c9d29fb8
SM
20315 (display-buffer-alist, display-buffer-default-specifiers):
20316 Don't make new frame unsplittable by default.
9e9de014
MR
20317 (display-buffer-normalize-argument): Fix doc-string typo and use
20318 'same-frame-other-window instead of 'other-window when associating
20319 with display-buffer-macro-specifiers.
327c8fb1 20320
7cf3f556
VB
203212011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20322
20323 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20324 New functions.
20325 (5x5-mode-map, 5x5-mode-menu): Bind them.
20326 (5x5-draw-grid): Tweak the solver's rendering.
20327
60a406cf
SM
203282011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20329
20330 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20331 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20332
d8e4b68b 203332011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
20334
20335 * menu-bar.el: Use function variable instead of switch-to-buffer.
20336 (menu-bar-select-buffer-function): New variable.
60a406cf 20337 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 20338
478d6f95
SM
203392011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20340
20341 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20342 variable's status.
20343
ca530739
JD
203442011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20345
20346 * x-dnd.el (x-dnd-version-from-flags)
20347 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20348 and long as number (Bug#8899).
20349 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20350
bcd70d97
SM
203512011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20352
60a406cf 20353 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
20354 (completion-try-completion, completion-all-completions): Compute the
20355 metadata argument if it's missing; make it optional (bug#8795).
20356
60a406cf 20357 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
20358 (widget-complete): Use new :completion-function property.
20359 (widget-completions-at-point): New function.
20360 (default): Use :completion-function instead of :complete.
60a406cf
SM
20361 (widget-default-completions): Rename from widget-default-complete;
20362 Rewrite.
bcd70d97
SM
20363 (widget-string-complete, widget-file-complete, widget-color-complete):
20364 Remove functions.
20365 (file, symbol, function, variable, coding-system, color):
20366 * international/mule-cmds.el (default-input-method, charset)
20367 (language-info-custom-alist):
20368 * cus-edit.el (face): Use new property :completions.
20369
20370 * progmodes/pascal.el (pascal-completions-at-point): New function.
20371 (pascal-mode): Use it.
20372 (pascal-mode-map): Use completion-at-point.
20373 (pascal-toggle-completions): Make obsolete.
20374 (pascal-complete-word, pascal-show-completions):
20375 * progmodes/octave-mod.el (octave-complete-symbol):
20376 Redefine as obsolete alias.
20377 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20378 Signal absence of completion info for old Octave,
20379 (inferior-octave-complete): Redefine as obsolete alias.
20380 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20381 (meta-completions-at-point): Rename from meta-complete-symbol and
20382 adapt it for use on completion-at-point-functions.
20383 (meta-common-mode): Use it.
20384 (meta-looking-at-backward, meta-match-buffer): Remove.
20385 (meta-complete-symbol): Redefine as obsolete alias.
20386 (meta-common-mode-map): Use completion-at-point.
20387 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20388 (makefile-mode-map): Use completion-at-point.
20389 (makefile-completions-at-point): Rename from makefile-complete and
20390 adapt it for use on completion-at-point-functions.
20391 (makefile-mode): Use it.
20392 (makefile-complete): Redefine as obsolete alias.
20393
aebf69c8
DD
203942011-06-20 Deniz Dogan <deniz@dogan.se>
20395
20396 * net/rcirc.el: Delete trailing whitespaces once and for all.
20397
bfbbb27d
DC
203982011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20399
20400 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20401
d264a46b
CY
204022011-06-19 Chong Yidong <cyd@stupidchicken.com>
20403
4ca009e5
CY
20404 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20405
d264a46b
CY
20406 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20407
fbf5b3ce
MR
204082011-06-19 Martin Rudalics <rudalics@gmx.at>
20409
20410 * window.el (display-buffer-other-window-means-other-frame):
20411 Call display-buffer-normalize-alist.
20412 (display-buffer-normalize-specifiers-1): Rename to
20413 display-buffer-normalize-argument. New argument other-frame.
20414 Rewrite.
20415 (display-buffer-normalize-specifiers-2): Rename to
20416 display-buffer-normalize-options.
20417 (display-buffer-normalize-alist-1): New function.
20418 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
20419 display-buffer-normalize-alist.
20420 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
20421 (display-buffer-normalize-options-inhibit): New variable.
20422 (display-buffer-normalize-specifiers): Rewrite calling
20423 display-buffer-normalize-alist,
20424 display-buffer-normalize-argument, and
20425 display-buffer-normalize-options. Don't call the latter if
20426 display-buffer-normalize-options-inhibit is non-nil.
20427 (frame-auto-delete): New option.
20428 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
20429 (window-list-no-nils, window-state-ignored-parameters)
20430 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
20431 (window-state-put-1, window-state-put-2, window-state-put):
20432 New functions.
9a028c23
MR
20433 (display-buffer-normalize-options): Move special-display-p group
20434 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 20435
6d10d800
CY
204362011-06-18 Chong Yidong <cyd@stupidchicken.com>
20437
6420d28b
CY
20438 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20439 groups (Bug#8776).
20440 (rx-submatch-n): New function.
20441 (rx): Document it.
20442
ddb8b596
CY
20443 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20444 (Bug#8768).
20445
20446 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20447
77080289
CY
20448 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20449
61dfb316
CY
20450 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20451 anytime existing face settings are present (Bug#8889).
20452
6d10d800
CY
20453 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20454 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20455 Remove unused argument.
20456
be3fb2b8
MR
204572011-06-18 Martin Rudalics <rudalics@gmx.at>
20458
bcd70d97
SM
20459 * window.el (display-buffer-default-specifiers):
20460 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
20461 pop-up-window-min-width, and another reuse-window specifier
20462 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
20463 (display-buffer-normalize-specifiers-2):
20464 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
20465 pop-up-windows is unset. Add a reuse-window specifier for the
20466 case popping up a new window fails.
20467 (special-display-popup-frame): Remove double quoting.
28dec25a 20468 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 20469
1c6d8c76
SM
204702011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20471
20472 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20473 according to comint-completion-addsuffix.
20474
20475 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20476 (pcomplete-suffix-list): Mark as obsolete.
20477 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20478 pcomplete-seen in the closure.
20479 (pcomplete-comint-setup): Setup completion-at-point as well.
20480 (pcomplete--entries): New function.
20481 (pcomplete--env-regexp): New var.
20482 (pcomplete-entries): Rewrite to work with partial-completion and
20483 without relying on pcomplete-suffix-list.
20484 (pcomplete-pare-list): Remove, unused.
20485
25aef8b8
MR
204862011-06-17 Martin Rudalics <rudalics@gmx.at>
20487
20488 * window.el (display-buffer-alist): Set pop-up-window-min-height
20489 and pop-up-window-min-width in default value. Reported by
20490 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20491 other-window-means-other-frame.
20492 (display-buffer-macro-specifiers): Comment out entry for
20493 other-window specifier.
20494 (display-buffer-other-window-means-other-frame): New function.
20495 (display-buffer-normalize-specifiers-1): New arguments
20496 buffer-name and label. Treat other-window case specially.
20497 (display-buffer-normalize-specifiers-2): Treat other-window case
20498 specially.
20499 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
20500 (display-buffer-normalize-specifiers):
20501 Call display-buffer-normalize-specifiers-3.
25aef8b8 20502
dbad4f69
MR
205032011-06-17 Martin Rudalics <rudalics@gmx.at>
20504
20505 * window.el (same-window-p): Fix two typos introduced when
20506 adding with-no-warnings.
d1067961
MR
20507 (display-buffer-normalize-specifiers-1): Don't check
20508 pop-up-frames for 'unset initialization.
20509 (display-buffer-normalize-specifiers-2): Major rewrite using
20510 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20511 (pop-up-frames, display-buffer-reuse-frames)
20512 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20513 Suggested by David Engster <deng@randomsample.de>.
20514 (even-window-heights): Initialize to 'unset.
20515 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
20516 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20517 other window case.
dbad4f69 20518
9b9c9e3a
MR
205192011-06-16 Martin Rudalics <rudalics@gmx.at>
20520
bcd70d97
SM
20521 * window.el (display-buffer-normalize-specifiers-1):
20522 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 20523 second argument of display-buffer (Bug#8865).
981d5c09
MR
20524 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20525 (switch-to-buffer-other-window-same-frame)
20526 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20527 Adams (Bug#8875).
9c2755e9
MR
20528 (display-buffer): Don't check noninteractive when calling
20529 display-buffer-pop-up-frame.
20530 (display-buffer-pop-up-frame): Never pop up a frame in
20531 noninteractive mode (Bug#8857).
67222e1d
MR
20532 (enlarge-window, shrink-window): Don't report an error when the
20533 window can't be resized as requested (Bug#8862).
9b9c9e3a 20534
2b75be67
SM
205352011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20536
9ffdd3ba
SM
20537 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20538
cb581a67
SM
20539 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20540
2b75be67
SM
20541 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20542
8c0e3589
AM
205432011-06-15 Alan Mackenzie <acm@muc.de>
20544
cb581a67
SM
20545 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20546 for declarators, disable knr checking to speed up for normal files.
20547 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 20548
b96e6cde
LMI
205492011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20550
4bba86e6
LMI
20551 * net/network-stream.el (open-network-stream): Add the keyword
20552 :always-query-capabilities for the case where you want to force a
20553 `plain' network connection, but the protocol still requires the
20554 capabilitiy command (i.e., SMTP and EHLO).
20555
2b75be67 20556 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
20557 consistency with other `-live-p' functions.
20558
efdcdbf8
SM
205592011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20560
20561 * window.el (same-window-buffer-names, same-window-regexps)
20562 (special-display-frame-alist, special-display-popup-frame)
20563 (special-display-function, special-display-buffer-names)
20564 (special-display-regexps, pop-up-frame-alist)
20565 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20566 (pop-up-windows, split-window-preferred-function)
20567 (split-height-threshold, split-width-threshold, even-window-heights)
20568 (display-buffer-mark-dedicated): Don't encourage the use of
20569 display-buffer-alist from Elisp code.
20570
c5cde042
DN
205712011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20572
20573 * progmodes/python.el (python-mode): Derive from prog-mode.
20574 * progmodes/ps-mode.el (ps-mode):
20575 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 20576 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
20577 * progmodes/ld-script.el (ld-script-mode): Likewise.
20578
baa1c9ab
MR
205792011-06-15 Martin Rudalics <rudalics@gmx.at>
20580
20581 * window.el (display-buffer-alist): Trim default value to avoid
20582 popping up a new frame (Bug#8857) or reusing an arbitrary window
20583 on another frame.
20584 (display-buffer): Do not fall back on popping up a new frame in
20585 batch mode (Bug#8857).
20586
c5dd5a51
CY
205872011-06-14 Chong Yidong <cyd@stupidchicken.com>
20588
20589 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20590 (custom-theme-summary): New function.
20591 (customize-themes): Use it.
20592
d647b7c4
GM
205932011-06-13 Glenn Morris <rgm@gnu.org>
20594
20595 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20596
9481c002
MR
205972011-06-13 Martin Rudalics <rudalics@gmx.at>
20598
357f93d2
MR
20599 * help.el (help-window): Remove variable.
20600 (help-window-point-marker, temp-buffer-max-height)
20601 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20602 (help-print-return-message): Don't set help-window.
20603 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20604 (help-window-setup-finish): Remove.
20605 (help-window-display-message, help-window-setup)
20606 (with-help-window): Major rewrite based on new
20607 display-buffer-window variable.
20608
20609 * help-mode.el (help-mode-finish): Remove help-window related
20610 code.
20611
20612 * view.el (view-exits-all-viewing-windows): Remove reference to
20613 view-return-to-alist in doc-string.
20614 (view-return-to-alist): Make obsolete.
20615 (view-buffer): Call pop-to-buffer-same-window and remove
20616 undo-window code.
20617 (view-buffer-other-window): Call pop-to-buffer-other-window and
20618 simplify code. Ignore second argument.
20619 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20620 simplify code. Ignore second argument.
20621 (view-return-to-alist-update): Make obsolete.
20622 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20623 Rewrite using quit-restore window parameters.
2b75be67
SM
20624 (view-mode-exit): Rename second argument to EXIT-ONLY.
20625 Rewrite using quit-restore-window.
357f93d2
MR
20626 (View-exit, View-exit-and-edit, View-leave, View-quit)
20627 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20628 appropriate arguments.
20629 (view-end-message): Use quit-restore window parameter.
20630
9481c002
MR
20631 * window.el (display-buffer-function): Rewrite doc-string.
20632 (display-buffer-window, display-buffer-alist): New variables.
20633 (display-buffer-split-specifiers)
20634 (display-buffer-side-specifiers)
20635 (display-buffer-macro-specifiers): New constants.
20636 (display-buffer-even-window-sizes, display-buffer-set-height)
20637 (display-buffer-set-width, display-buffer-select-window)
20638 (display-buffer-in-window, display-buffer-reuse-window)
20639 (display-buffer-split-window-1, display-buffer-split-window)
20640 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20641 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20642 (display-buffer-in-side-window, normalize-buffer-to-display)
20643 (display-buffer-normalize-specifiers-1)
20644 (display-buffer-normalize-specifiers-2)
2b75be67
SM
20645 (display-buffer-normalize-specifiers, display-buffer-frame):
20646 New functions.
9481c002
MR
20647 (display-buffer): Major rewrite.
20648 (display-buffer-other-window, display-buffer-other-frame)
20649 (pop-to-buffer, switch-to-buffer-other-window)
20650 (switch-to-buffer-other-frame): Rewrite.
20651 (display-buffer-same-window, display-buffer-same-frame)
20652 (display-buffer-same-frame-other-window)
20653 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20654 (pop-to-buffer-other-window)
20655 (pop-to-buffer-same-frame-other-window)
20656 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20657 (switch-to-buffer-other-window-same-frame): New functions.
20658 (same-window-p, special-display-p): Rewrite disabling warnings.
20659 Make obsolete.
20660 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20661 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20662 Make obsolete
20663 (same-window-buffer-names, same-window-regexps)
20664 (special-display-frame-alist, special-display-popup-frame)
20665 (special-display-function, special-display-buffer-names)
20666 (special-display-regexps, pop-up-frame-alist)
20667 (pop-up-frame-function, split-window-preferred-function)
20668 (split-height-threshold, split-width-threshold)
20669 (even-window-heights): Make obsolete.
20670
9db51aca
GM
206712011-06-12 Glenn Morris <rgm@gnu.org>
20672
20673 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 20674 Misc simplifications.
9db51aca 20675
39cffb44
MR
206762011-06-12 Martin Rudalics <rudalics@gmx.at>
20677
20678 * window.el (window-safely-shrinkable-p): Restore function which
20679 was inadvertently removed in change from 2011-06-11. Declare as
20680 obsolete.
20681
2b75be67
SM
20682 * calendar/calendar.el (calendar-generate-window):
20683 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
20684 window-safely-shrinkable-p.
20685
a8955be7
GM
206862011-06-12 Glenn Morris <rgm@gnu.org>
20687
20688 * progmodes/fortran.el (fortran-mode-syntax-table):
20689 * progmodes/f90.el (f90-mode-syntax-table):
20690 Set % to punctuation. (Bug#8820)
20691 (f90-find-tag-default): Remove, no longer needed.
20692
f0d4059d
DC
206932011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20694
20695 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20696
1100a63c
CY
206972011-06-11 Chong Yidong <cyd@stupidchicken.com>
20698
20699 * image.el (image-animated-p): Return animation delay in seconds.
20700 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20701 (image-animate-timeout): Remove DELAY argument. Don't assume
20702 every subimage has the same delay; get it from image-animated-p.
20703 (image-animate): Caller changed.
20704
def722bf
MA
207052011-06-11 Michael Albinus <michael.albinus@gmx.de>
20706
20707 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20708 to ignored backtrace functions.
20709
0a2bb1a9
GM
207102011-06-11 Glenn Morris <rgm@gnu.org>
20711
20712 * calendar/appt.el (appt-disp-window-function): Doc fix.
20713 (appt-check): Handle overlapping appointments. (Bug#8337)
20714
6198ccd0
MR
207152011-06-11 Martin Rudalics <rudalics@gmx.at>
20716
20717 * window.el (window-tree-1, window-tree): New functions, moving
20718 the latter to window.el.
20719 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20720 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20721 (bw-refresh-edges): Remove.
20722 (balance-windows-1, balance-windows-2): New functions.
20723 (balance-windows): Rewrite in terms of window tree functions,
20724 balance-windows-1 and balance-windows-2.
20725 (bw-adjust-window): Remove.
20726 (balance-windows-area-adjust): New function with functionality of
20727 bw-adjust-window but using resize-window.
2b75be67
SM
20728 (set-window-text-height): Rewrite doc-string.
20729 Use normalize-live-window and resize-window.
20730 (enlarge-window-horizontally, shrink-window-horizontally):
20731 Rename argument to DELTA.
6198ccd0
MR
20732 (window-buffer-height): New function.
20733 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20734 Rewrite using new window resize routines.
2b75be67
SM
20735 (kill-buffer-and-window, mouse-autoselect-window-select):
20736 Use ignore-errors instead of condition-case.
6198ccd0
MR
20737 (quit-window): Call delete-frame instead of delete-windows-on
20738 for the only buffer on frame.
20739
9397e56f
MR
207402011-06-10 Martin Rudalics <rudalics@gmx.at>
20741
20742 * loadup.el (top-level): Load window before files for the sake
20743 of replace-buffer-in-windows.
20744
20745 * files.el (read-buffer-to-switch)
20746 (switch-to-buffer-other-window)
2b75be67
SM
20747 (switch-to-buffer-other-frame, display-buffer-other-frame):
20748 Move to window.el.
9397e56f
MR
20749
20750 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20751 (previous-buffer): Move to window.el.
20752
20753 * bindings.el (unbury-buffer): Move to window.el.
20754
20755 * window.el (delete-other-windows-vertically): Move after
20756 definition of delete-other-windows.
20757 (other-window, delete-windows-on, replace-buffer-in-windows):
20758 Move here from window.c.
20759 (record-window-buffer, unrecord-window-buffer)
20760 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20761 (switch-to-next-buffer): New functions.
20762 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20763 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
20764 (previous-buffer): Move here from simple.el.
20765 Call switch-to-prev-buffer.
9397e56f
MR
20766 (bury-buffer): Move here from buffer.c. Switch to previous
20767 buffer when window cannot be deleted.
20768 (unbury-buffer): Move here from bindings.el.
20769 (ctl-x-map): Move binding for other-window from window.c to
20770 here.
20771 (read-buffer-to-switch, switch-to-buffer-other-window)
20772 (switch-to-buffer-other-frame): Move here from files.el.
20773 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
20774 (switch-to-buffer): Move here from buffer.c.
20775 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 20776
562dd5e9
MR
207772011-06-10 Martin Rudalics <rudalics@gmx.at>
20778
20779 * window.el (window-min-height, window-min-width): Move here
20780 from window.c. Add defcustoms and rewrite doc-strings.
20781 (resize-mini-window, resize-window): New functions.
20782 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20783 Move here from window.c.
20784 (maximize-window, minimize-window): New functions.
20785 (delete-window, delete-other-windows, split-window): Move here
20786 from window.c.
20787 (window-split-min-size): New function.
20788 (split-window-keep-point): Mention split-window-above-each-other
20789 instead of split-window-vertically.
2b75be67 20790 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
20791 Rename split-window-vertically to split-window-above-each-other
20792 and provide defalias for old definition.
20793 (split-window-side-by-side, split-window-horizontally):
20794 Rename split-window-horizontally to split-window-side-by-side
20795 and provide defalias for the old definition.
562dd5e9
MR
20796 (ctl-x-map): Move bindings for delete-window,
20797 delete-other-windows and enlarge-window here from window.c.
20798 Replace bindings for split-window-vertically and
20799 split-window-horizontally by bindings for
20800 split-window-above-each-other and split-window-side-by-side.
20801
20802 * cus-start.el (all): Remove entries for window-min-height and
20803 window-min-width. Add entries for window-splits and
20804 window-nest.
20805
f0da764a
GM
208062011-06-09 Glenn Morris <rgm@gnu.org>
20807
80675c21
GM
20808 * calendar/appt.el (appt-mode-line): New function.
20809 (appt-check, appt-disp-window): Use it.
20810
f0da764a
GM
20811 * files.el (hack-one-local-variable-eval-safep):
20812 Allow minor-modes with explicit +/-1 arguments.
20813
59f623b7
TZ
208142011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20815
20816 * term/xterm.el (xterm): Add defgroup.
20817 (xterm-extra-capabilities): Add defcustom to supply known xterm
20818 capabilities, skip querying them, or query them (default).
20819 (terminal-init-xterm): Use it.
20820 (terminal-init-xterm-modify-other-keys): New function to set up
20821 modifyOtherKeys support to simplify `terminal-init-xterm'.
20822
9aab8e0d
MR
208232011-06-09 Martin Rudalics <rudalics@gmx.at>
20824
20825 * window.el (resize-window-reset, resize-window-reset-1)
20826 (resize-subwindows-skip-p, resize-subwindows-normal)
20827 (resize-subwindows, resize-other-windows, resize-this-window)
20828 (resize-root-window, resize-root-window-vertically)
20829 (window-deletable-p, window-or-subwindow-p)
20830 (frame-root-window-p): New functions.
20831
e8b08aee
GM
208322011-06-09 Glenn Morris <rgm@gnu.org>
20833
20834 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20835 (ange-ftp-get-files): Use it.
20836
254c37a5
AK
208372011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20838
20839 * mail/sendmail.el (mail-recover-1, mail-recover):
20840 * files.el (recover-file, recover-session):
20841 Handle dired-listing-switches not being just a single short option.
20842
35d7dbd3
GM
208432011-06-09 Glenn Morris <rgm@gnu.org>
20844
20845 * calendar/appt.el (appt-display-message, appt-disp-window):
20846 Handle lists of appointments.
20847
387522b2
MR
208482011-06-08 Martin Rudalics <rudalics@gmx.at>
20849
2b75be67
SM
20850 * window.el (one-window-p): Move down in code.
20851 Rewrite doc-string.
20852 (window-current-scroll-bars): Rewrite doc-string.
20853 Normalize live window argument.
387522b2
MR
20854 (walk-windows, get-window-with-predicate, count-windows):
20855 Rewrite doc-string. Use window-list-1.
20856 (window-in-direction-2, window-in-direction, get-mru-window):
20857 New functions.
20858
d8e4b68b 208592011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
20860
20861 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20862 Doc fix (Bug#8713).
20863
208642011-06-08 Chong Yidong <cyd@stupidchicken.com>
20865
20866 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20867
208682011-06-08 Juanma Barranquero <lekktu@gmail.com>
20869
20870 * loadhist.el (unload-feature-special-hooks):
20871 Add `comint-output-filter-functions'.
20872
0de12c52
IK
208732011-06-08 Ivan Kanis <gnu@kanis.fr>
20874
20875 * calendar/appt.el (appt-check): Move some initializations into the let.
20876
f3d1777e
MR
208772011-06-08 Martin Rudalics <rudalics@gmx.at>
20878
20879 * window.el (window-height): Defalias to window-total-height.
20880 (window-width): Defalias to window-body-width.
20881
18af70d0
CY
208822011-06-07 Chong Yidong <cyd@stupidchicken.com>
20883
20884 * image-mode.el (image-toggle-animation): New command.
20885 (image-mode-map): Bind it to RET.
20886 (image-mode): Update message.
20887 (image-toggle-display-image): Avoid a spurious cache flush.
20888 (image-transform-rotation): Doc fix.
20889 (image-transform-properties): Return quickly in the normal case.
20890 (image-animate-loop): Rename from image-animate-max-time.
20891
2b75be67 20892 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
20893 (create-animated-image): Remove unnecessary function.
20894 (image-animate): Rename from image-animate-start. New arg.
2b75be67 20895 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
20896 (image-animate-timer): Use car-safe.
20897 (image-animate-timeout): Rename argument.
20898
190b47e6
MR
208992011-06-07 Martin Rudalics <rudalics@gmx.at>
20900
20901 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
20902 window.c. Rename first argument to ALL-FRAMES.
20903 Rephrase doc-strings.
20904 (get-buffer-window-list): Rewrite using window-list-1.
20905 Rephrase doc-string.
a1511caf
MR
20906 (window-safe-min-height, window-safe-min-width): New constants.
20907 (window-size-ignore, window-min-size, window-min-size-1)
20908 (window-sizable, window-sizable-p, window-size-fixed-1)
20909 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20910 (window-max-delta-1, window-max-delta, window-resizable)
20911 (window-resizable-p, window-total-height, window-total-width)
20912 (window-body-width): New functions.
20913 (window-full-height-p, window-full-width-p): Rewrite using
20914 window-total-size.
20915 (window-body-height): Rewrite using window-body-size.
190b47e6 20916
85cc1f11
MR
209172011-06-06 Martin Rudalics <rudalics@gmx.at>
20918
20919 * window.el (window-right, window-left, window-child)
20920 (window-child-count, window-last-child, window-any-p)
20921 (normalize-live-buffer, normalize-live-frame)
20922 (normalize-any-window, normalize-live-window)
20923 (window-iso-combination-p, window-iso-combined-p)
20924 (window-iso-combinations)
20925 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20926 (windows-with-parameter, window-with-parameter)
20927 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
20928 (window-atom-check, window-side-check, window-check):
20929 New functions.
85cc1f11
MR
20930 (ignore-window-parameters, window-sides, window-sides-vertical)
20931 (window-sides-slots): New variables.
20932 (window-size-fixed): Move down in code. Minor doc-string fix.
20933
e7156492
AS
209342011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20935
20936 * comint.el (comint-dynamic-complete-as-filename)
20937 (comint-dynamic-complete-filename): Correctly call
20938 completion-in-region.
20939
7e821d0d
DD
209402011-06-05 Deniz Dogan <deniz@dogan.se>
20941
20942 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20943 in last change.
20944
ac09b8a1
DD
209452011-06-05 Deniz Dogan <deniz@dogan.se>
20946
20947 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20948 (rcirc): Use it to prompt for encryption.
20949
34699b85
RW
209502011-06-05 Roland Winkler <winkler@gnu.org>
20951
20952 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20953 (bibtex-search-entries): New command bound to C-c C-a.
20954 (bibtex-display-entries): New function.
20955
004dedd3
RW
209562011-06-05 Roland Winkler <winkler@gnu.org>
20957
20958 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20959 (bibtex-insert-kill): After yanking insert newline if necessary.
20960 (bibtex-initialize): Call bibtex-string-files-init only once.
20961 (bibtex-mode): Do not call easy-menu-add.
20962 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20963 (bibtex-yank): Set arg properly if nil.
20964
022fe7ce
RW
209652011-06-05 Roland Winkler <winkler@gnu.org>
20966
2b75be67
SM
20967 * textmodes/bibtex.el (bibtex-search-entry-globally):
20968 New variable.
022fe7ce
RW
20969 (bibtex-search-entry): Use it.
20970
b7c3692a
RW
209712011-06-05 Roland Winkler <winkler@gnu.org>
20972
20973 * textmodes/bibtex.el (bibtex-entry-format): New option
20974 sort-fields.
20975 (bibtex-format-entry, bibtex-reformat): Honor this option.
20976 (bibtex-parse-entry): Return fields in proper order.
20977
8eda563d
JB
209782011-06-05 Juanma Barranquero <lekktu@gmail.com>
20979
20980 * doc-view.el (doc-view-remove-if): Move computation of result out
20981 of `dolist' to silence misleading lexical-binding warning.
20982
7dbe3dbc
CY
209832011-06-04 Chong Yidong <cyd@stupidchicken.com>
20984
20985 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20986 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20987
0c33dd17
MA
209882011-06-04 Michael Albinus <michael.albinus@gmx.de>
20989
20990 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20991 "SunOS 5.10".
20992
f8f91c2b
MA
209932011-06-04 Michael Albinus <michael.albinus@gmx.de>
20994
20995 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20996 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20997 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20998 (tramp-parse-putty):
20999 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21000 (tramp-completion-function-alist-ssh)
21001 (tramp-completion-function-alist-telnet)
21002 (tramp-completion-function-alist-su)
21003 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21004 cookie.
21005
21006 * net/tramp-ftp.el:
21007 * net/tramp-sh.el:
21008 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21009 load "tramp.el" `tramp-set-completion-function'.
21010
e17d9003
SM
210112011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21012
21013 * shell.el: Require and use pcomplete.
21014 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21015 (shell-completion-vars): Set pcomplete-default-completion-function.
21016
6c4cab03
DD
210172011-06-04 Deniz Dogan <deniz@dogan.se>
21018
21019 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21020 `memq' (Bug#8799).
21021
ea9fafe0
SM
210222011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21023
21024 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21025
b3e945d3
JB
210262011-06-02 Juanma Barranquero <lekktu@gmail.com>
21027
21028 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21029 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21030 * vc/log-view.el (log-view-beginning-of-defun):
21031 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21032 (smerge-refine-forward, smerge-refine-chopup-region):
21033 Silence warning for unused `dotimes' counter variables.
21034
7d520089
SM
210352011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21036
21037 * net/tramp.el (tramp-with-progress-reporter): Rename from
21038 with-progress-reporter. Use `declare'.
21039 * net/tramp-smb.el:
21040 * net/tramp-sh.el:
21041 * net/tramp-gvfs.el: Update all uses.
21042
a1c2400f
JB
210432011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21044
21045 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21046 buffer isn't killed before making it current.
21047
2403c841
SM
210482011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21049
21050 Silence various byte-compiler warnings.
21051 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21052 `access-type' and new obsolescence format.
21053 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21054 new format.
21055 (byte-compile-check-variable): New `access-type' argument.
21056 Only warn if the access-type is obsolete.
21057 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21058 (byte-compile-variable-set): Adjust callers.
21059 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21060 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21061 setting it as obsolete.
21062 * simple.el (minibuffer-completing-symbol):
21063 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21064 access as obsolete.
21065 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21066 obsolete yet.
21067 * international/quail.el (quail-mouse-choose-completion): Remove unused
21068 code referring to obsolete var.
21069 (quail-choose-completion-string): Remove.
21070 * server.el (server-clients-with, server-kill-buffer-query-function)
21071 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21072 * proced.el (proced-send-signal):
21073 * emacs-lisp/lisp.el (lisp-complete-symbol):
21074 Replace completion-annotate-function with completion-extra-properties.
21075
2462470b
SM
210762011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21077
fb5b2591
SM
21078 * simple.el (goto-line): Use read-number.
21079 (overriding-map-is-bound): Remove.
21080 (saved-overriding-map): Change default.
21081 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21082 Take the map as argument.
21083 (universal-argument, negative-argument, digit-argument): Use it.
21084 (restore-overriding-map): Adjust.
21085 (do-auto-fill): Use fill-forward-paragraph.
21086 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21087
fd6fa53f
SM
21088 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21089 (minibuffer-inactive-mode): New major mode.
21090 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21091 the *Messages* buffer" hack.
21092 (mouse-popup-menubar): Don't burp if the event is a normal key.
21093
2462470b
SM
21094 Miscellaneous tweaks.
21095 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21096 lexical scoping as in subr.el's dolist and dotimes.
21097 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21098 Silence compiler warning.
21099 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21100 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21101 * international/ccl.el (ccl-compile): Trivial simplification.
21102 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21103 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21104 `printflag' argument.
21105 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21106 Purecopy the whole obsolescence data.
21107
108bf785
LL
211082011-06-01 Leo Liu <sdl.web@gmail.com>
21109
21110 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21111 improve doc-string as suggested by Marco Pessotto
21112 <melmothx@gmail.com>.
21113 (rcirc-print): Fix last change.
21114
30a23501
SM
211152011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21116
21117 * minibuffer.el (complete-with-action): Return nil for the metadata and
21118 boundaries of non-functional tables.
21119 (completion-table-dynamic): Return nil for the metadata.
21120 (completion-table-with-terminator): Add default case, using
21121 complete-with-action.
21122 (completion--metadata): New function.
21123 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21124 to try and avoid pathological performance problems.
21125 (completion--embedded-envvar-table): Return `category' metadata.
21126
bcd54f83
LMI
211272011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21128
21129 * subr.el (process-alive-p): New tiny convenience function.
21130
e227544d
SM
211312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21132
21133 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21134 content but also its previous major mode.
21135
e8296fdc
HE
211362011-05-31 Helmut Eller <eller.helmut@gmail.com>
21137
4d61f28d 21138 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
21139 *Backtrace* buffer when we exit with C-M-c.
21140
620c53a6
SM
211412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21142
21143 * minibuffer.el: Add metadata method to completion tables.
21144 (completion-category-overrides): New defcustom.
21145 (completion-metadata, completion--field-metadata)
21146 (completion-metadata-get, completion--styles)
21147 (completion--cycle-threshold): New functions.
21148 (completion-try-completion, completion-all-completions):
21149 Add `metadata' argument to choose completion-styles.
21150 (completion--do-completion): Use metadata to choose cycling.
21151 (completion-all-sorted-completions): Use metadata for sorting.
21152 Remove :completion-cycle-penalty which is not needed any more.
21153 (completion--try-word-completion): Add `metadata' argument.
21154 (minibuffer-completion-help): Check metadata for annotation function
21155 and sorting.
21156 (completion-file-name-table): Return `category' metadata.
21157 (minibuffer-completing-file-name): Make obsolete.
21158 * simple.el (minibuffer-completing-symbol): Make obsolete.
21159 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21160 completion-try-completion.
21161
1257e755
SM
211622011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21163
21164 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21165
3767e706
LL
211662011-05-30 Leo Liu <sdl.web@gmail.com>
21167
21168 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
21169 (rcirc-print): Decode all incoming messages (bug#8744).
21170 (rcirc-decode-coding-system): Allow value nil for automatic coding
21171 system detection.
3767e706 21172
d1a5d56a
GM
211732011-06-01 Glenn Morris <rgm@gnu.org>
21174
21175 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21176
e8cbec34
CY
211772011-05-29 Chong Yidong <cyd@stupidchicken.com>
21178
21179 * image.el (image-animate-max-time): Allow nil and t values.
21180 Default to nil.
21181 (create-animated-image): Doc fix.
21182 (image-animate-start): Remove second arg; just use
21183 image-animate-max-time.
21184 (image-animate-timeout): Doc fix. Args changed.
21185
21186 * image-mode.el (image-toggle-display-image): Ensure that the
21187 image spec passed to the animate timer is the same object as in
58179cce 21188 the buffer's display property (Bug#6981).
e8cbec34
CY
21189 (image-transform-properties): Doc fix.
21190
21191 * image.el (image-animate-max-time): Default to nil.
21192
159daf87
MR
211932011-05-29 Martin Rudalics <rudalics@gmx.at>
21194
21195 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21196 entire buffer list (Bug#8184).
21197
d66c4c7c
CY
211982011-05-29 Chong Yidong <cyd@stupidchicken.com>
21199
21200 * image.el (imagemagick-types-inhibit)
21201 (imagemagick-register-types): Doc fix.
21202
80aec780
DD
212032011-05-29 Deniz Dogan <deniz@dogan.se>
21204
21205 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21206 default.
21207
1dd3c2d9
CY
212082011-05-29 Chong Yidong <cyd@stupidchicken.com>
21209
21210 * select.el: Don't perform clipboard-manager saving in hooks;
21211 leave the hooks empty.
21212
60e56523
LL
212132011-05-28 Leo Liu <sdl.web@gmail.com>
21214
21215 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21216 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21217 (occur-edit-mode): New major mode (Bug#8463).
21218 (occur-after-change-function): New function.
21219 (occur-engine): Give Occur tags a read-only property.
21220
2b1e1a22
KR
212212011-05-28 Kevin Ryde <user42@zip.com.au>
21222
21223 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21224
5d344e88
CY
212252011-05-28 Chong Yidong <cyd@stupidchicken.com>
21226
8e6ca83d
CY
21227 * bindings.el (help-echo): Make the initial non-indicator dash
21228 empty on graphical terminals (Bug#7295).
21229
5d344e88
CY
21230 * files.el (auto-mode-alist): Move config rule after the
21231 in-stripping one (Bug#8547).
21232
bfbbace7
CY
21233 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21234
fbeba6e2
CY
21235 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21236 setting (Bug#8740).
21237
60ed8c72
AA
212382011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21239
4ac619f0
AA
21240 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21241 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21242 (Bug#8539).
60ed8c72 21243
23db196e
CY
212442011-05-28 Chong Yidong <cyd@stupidchicken.com>
21245
21246 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21247
5012f24c
DK
212482011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21249
21250 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21251 (hs-hide-block-at-point, hs-find-block-beginning)
21252 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21253 (Bug#8279).
21254
6a639b16
GM
212552011-05-28 Glenn Morris <rgm@gnu.org>
21256
21257 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21258
d43eaf2c
CY
212592011-05-28 Chong Yidong <cyd@stupidchicken.com>
21260
5199bde1
CY
21261 * help-fns.el (describe-function-1): If the function is a derived
21262 major mode, print the parent mode.
21263
d43eaf2c
CY
21264 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21265 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21266
423428a8
SM
212672011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21268
0ff8e1ba 21269 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 21270 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
21271 * progmodes/etags.el (tags-completion-at-point-function):
21272 * info-look.el (info-lookup-completions-at-point): Mark as
21273 non-exclusive.
21274 (info-complete): Adjust accordingly.
21275
423428a8
SM
21276 * info-look.el: Convert to lexical-binding and completion-at-point.
21277 (info-lookup-completions-at-point): New function.
21278 (info-complete): Use it and completion-in-region.
21279
b74aa22b
DA
212802011-05-28 Drew Adams <drew.adams@oracle.com>
21281
21282 * isearch.el: Let M-e start with point at the first mismatched char.
21283 (isearch-fail-pos): New function.
21284 (isearch-edit-string): Use it.
21285
66e2e71d
DK
212862011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21287
21288 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21289
b1890b0f 212902011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
21291
21292 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21293 traversal functions for avl-trees.
21294 (avl-tree--stack): New struct.
21295 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21296 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
21297 (avl-tree--do-enter): Add optional `updatefun' arg.
21298 Change return value.
eb95d01d 21299 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
21300 (avl-tree--do-delete): Add `test' and `nilflag' args.
21301 Change return value.
eb95d01d
TC
21302 (avl-tree-member): Add optional `nilflag'
21303 (avl-tree-member-p): New function.
21304 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21305 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21306 (avl-tree-stack-empty-p): New functions.
21307
3769ddcf
TC
21308 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21309 avl-tree--del-balance1 and make it work both ways.
21310 (avl-tree--del-balance2): Remove.
21311 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21312 make it work both ways.
21313 (avl-tree--enter-balance2): Remove.
21314 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21315 New macros.
21316 (avl-tree--mapc, avl-tree-map): Add direction argument.
21317
eb95d01d 213182011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
21319
21320 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21321
a9f737ee
CY
213222011-05-27 Chong Yidong <cyd@stupidchicken.com>
21323
21324 * select.el: Support clipboard managers with built-in function
21325 x-clipboard-manager-save, via delete-frame-functions and
21326 kill-emacs-hook.
21327 (xselect-convert-to-targets): Add MULTIPLE target to list.
21328 (xselect-convert-to-save-targets): New function.
21329
c92a1e54
KH
213302011-05-27 Kenichi Handa <handa@m17n.org>
21331
21332 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21333 let-binding rfc2047-encode-encoded-words to nil.
21334
e145f188
GM
213352011-05-27 Glenn Morris <rgm@gnu.org>
21336
5ec8a862
GM
21337 * mail/emacsbug.el: Don't require url-util.
21338
4b29d9fb
GM
21339 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21340
e145f188
GM
21341 * files.el (set-auto-mode):
21342 Also respect mode: entries at the end of the file. (Bug#8586)
21343
7d15102b
GM
213442011-05-26 Glenn Morris <rgm@gnu.org>
21345
98f593b8
GM
21346 * files.el (hack-local-variables-prop-line, hack-local-variables):
21347 Downcase mode names, as seems to be traditional.
27b48e63 21348 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 21349
7d15102b
GM
21350 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21351 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21352
51d5b4ec
JD
213532011-05-25 Julien Danjou <julien@danjou.info>
21354
21355 * textmodes/rst.el (rst-define-level-faces): Do not define face
21356 symbol if it is already defined.
21357
91513f63
VB
213582011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21359
21360 * play/5x5.el (5x5-new-game, 5x5-randomize):
21361 Reset 5x5-solver-output to nil when a new grid is cast.
21362 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21363 these debugging traces, as defmacro breaks the compiled code.
21364
4d90d6d0
DK
213652011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21366
21367 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21368
e1b90ef6
LL
213692011-05-24 Leo Liu <sdl.web@gmail.com>
21370
21371 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21372 (vc-bzr-sha1): Adapt.
21373
d8e4b68b 21374 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
21375
21376 * bindings.el: Provide sha1 feature.
21377
db0406bb 213782011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
21379
21380 * mail/sendmail.el: Require `rfc2047'.
21381 (mail-insert-from-field): Do not perform RFC2047 encoding.
21382 (mail-encode-header): New function.
21383 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
21384 buffer to the return value of select-message-coding-system.
21385 Call mail-encode-header.
b8d747b9
KH
21386
21387 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21388
db0406bb 213892011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 21390
4d90d6d0
DK
21391 * mail/supercite.el (sc-default-cite-frame):
21392 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 21393
eb8a5e9b
GM
213942011-05-24 Glenn Morris <rgm@gnu.org>
21395
f8630703
GM
21396 * progmodes/python.el (brm-menu): Declare.
21397
8831bbed
GM
21398 * emulation/viper.el (viper-set-hooks): Declare.
21399
eb8a5e9b
GM
21400 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21401 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21402 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21403 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21404 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21405 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21406
a2a25d24
SM
214072011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21408
21409 Add an :exit-function for completion-at-point.
21410
21411 * minibuffer.el (completion--done): New fun.
21412 (completion--do-completion): Use it. New arg `expect-exact'.
21413 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21414 since completion--do-completion does it for us now.
21415 (minibuffer-force-complete): Use completion--done and
21416 completion--replace. Handle sole-completion case with more care.
21417 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21418 (completion-extra-properties): New var.
21419 (completion-annotate-function): Make obsolete.
21420 (minibuffer-completion-help): Adjust accordingly.
21421 Use completion-list-insert-choice-function.
21422 (completion-at-point, completion-help-at-point):
21423 Bind completion-extra-properties.
21424 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21425 * simple.el (completion-list-insert-choice-function): New var.
21426 (completion-setup-function): Preserve it.
21427 (choose-completion): Pay attention to it, shuffle the code a bit.
21428 (choose-completion-string): New arg `insert-function'.
21429
21430 * textmodes/bibtex.el: Convert to lexical binding.
21431 (bibtex-mode-map): Use completion-at-point.
21432 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21433 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21434 (bibtex-complete): Define as obsolete alias.
21435 (bibtex-complete-internal): Remove.
21436 (bibtex-format-entry): Remove unused sub-group in regexp.
21437 * shell.el (shell--command-completion-data)
21438 (shell-environment-variable-completion):
21439 * pcomplete.el (pcomplete-completions-at-point):
21440 * comint.el (comint--complete-file-name-data): Use :exit-function
21441 instead of completion-table-with-terminator so it also works for
21442 choose-completion.
21443
e44e373d
SM
214442011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21445
4f91a816
SM
21446 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21447
782fc819
SM
21448 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21449 (bug#8710).
21450
e44e373d
SM
21451 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21452
381987c3
KM
214532011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21454
21455 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21456 customization variable and implement: If non-nil, auto-fill will
21457 be inhibited while on topic's header line.
21458
b776bc70
VB
214592011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21460
21461 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 21462 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
21463 always have a solution in grid size = 5 cases.
21464 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21465 (5x5-solver-output, 5x5-log-buffer): New vars.
21466 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21467 Make these variables buffer local to achieve 5x5 multi-session-ness.
21468 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21469 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21470 (5x5-solve-suggest): New funs.
21471 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21472 randomize a grid so that we ensure that there is always a solution.
21473 (5x5-make-random-grid): Allow other movement than flipping.
21474
7de88b6e
KR
214752011-05-23 Kevin Ryde <user42@zip.com.au>
21476
21477 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 21478 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
21479 advice and passes PREDICATE.
21480
b1ef1257
SM
214812011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21482
bbca48fe
SM
21483 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21484 byte-compile-lambda if it's actually a lambda.
21485
b1ef1257
SM
21486 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21487 Fix function quoting. Use backquote better.
21488
92a9cc65
YS
214892011-05-22 Yuanle Song <sylecn@gmail.com>
21490
21491 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21492 matching (Bug#8516).
21493
fe93f41a 214942011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
21495
21496 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21497 different face (Bug#8178).
21498
d5b44c93
CY
214992011-05-22 Chong Yidong <cyd@stupidchicken.com>
21500
21501 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21502 defface (Bug#8144).
21503
79106a44
SM
215042011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21505
9c848d8a
SM
21506 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21507 funcall as well (bug#8712). Warn when performing those conversions.
21508 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21509
79106a44
SM
21510 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21511
88dfa756
GM
215122011-05-22 Glenn Morris <rgm@gnu.org>
21513
21514 * files.el (hack-local-variables-prop-line): Small simplifications.
21515 (hack-local-variables, hack-local-variables-prop-line):
21516 If MODE-ONLY, return the mode, rather than just `t'.
21517
b7cf2c79
SM
215182011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21519
21520 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21521
3f1a8558
GM
215222011-05-21 Glenn Morris <rgm@gnu.org>
21523
7e4ccca3
GM
21524 * files.el (hack-local-variables-prop-line, hack-local-variables):
21525 If only interested in the mode, don't bother doing the other stuff.
21526
637d46ca
GM
21527 * image-mode.el (image-after-revert-hook):
21528 Redraw all frames on which the image is visible. (Bug#8567)
21529
973d955b
GM
21530 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21531
3f1a8558
GM
21532 * wid-edit.el (widget-checklist-match-inline):
21533 Fix 2011-04-19 change. (Bug#8649)
21534
96479927
SM
215352011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21536
1dcf791f
SM
21537 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21538 Also allow singlespace after single-letter capitals followed by a dot.
21539
96479927
SM
21540 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21541 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21542
35fd0881
N
215432011-05-20 Nix <nix@esperi.org.uk>
21544
21545 * files.el (basic-save-buffer-2):
21546 Fix handling of break-hardlink-on-save with non-existent files.
21547
82745640
DD
215482011-05-19 Deniz Dogan <deniz@dogan.se>
21549
21550 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 21551 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 21552
4a720484
GM
215532011-05-19 Glenn Morris <rgm@gnu.org>
21554
d1f21341
GM
21555 * progmodes/f90.el (f90-type-def-re):
21556 Handle "type, bind(c)". (Bug#8691)
21557
4a720484
GM
21558 * emacs-lisp/autoload.el (batch-update-autoloads):
21559 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21560
2fb0a219
MA
215612011-05-18 Michael Albinus <michael.albinus@gmx.de>
21562
21563 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21564 property for the correct connection in case of multihops.
21565
e565dd37
GM
215662011-05-18 Glenn Morris <rgm@gnu.org>
21567
c2571358 21568 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
21569 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21570
e565dd37
GM
21571 Rationalize calendar handling of day and month abbrev-arrays.
21572 * calendar/calendar.el (calendar-customized-p): New function.
21573 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21574 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21575 Add :set function.
21576 (calendar-abbrev-length, calendar-day-abbrev-array)
21577 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21578 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21579 Elements may no longer be nil.
21580 (calendar-day-name, calendar-month-name):
21581 Update for changed nature of abbrev arrays.
21582 * calendar/diary-lib.el (diary-name-pattern):
21583 Update for changed nature of abbrev arrays.
21584 (diary-mark-entries-1): Update calendar-make-alist calls.
21585 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21586 * calendar/cal-html.el (cal-html-day-abbrev-array):
21587 Simply inherit from calendar-day-abbrev-array.
21588
1d99a745
SM
215892011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21590
21591 * progmodes/grep.el (grep-mode): Disable default
21592 compilation-directory-matcher setting (bug#8684).
21593
7c1d9aa0
MA
215942011-05-17 Michael Albinus <michael.albinus@gmx.de>
21595
21596 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21597 instead of "head" and "tail". There were problems with SunOS 5.9,
21598 and it performs better.
21599
3952e9d8
GM
216002011-05-17 Glenn Morris <rgm@gnu.org>
21601
2dd12e7f
GM
21602 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21603
e4157b9c
GM
21604 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21605 Replace obsolete function.
21606
8e249bbd
GM
21607 * shell.el (pcomplete-parse-arguments-function): Declare.
21608
3952e9d8
GM
21609 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21610 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21611 (appt-check): Doc fixes.
21612 (appt-disp-window-function, appt-delete-window-function):
21613 Remove needless special case in custom :type.
21614 (appt-display-count): Default to 0, not nil.
21615 (appt-check): Reset appt-display-count to 0, not nil.
21616
c71a0d48 216172011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 21618
c71a0d48
GM
21619 * progmodes/python.el (python-font-lock-keywords):
21620 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 21621
31d55be9
SM
216222011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21623
21624 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21625
3bfacb2f
KR
216262011-05-16 Kevin Ryde <user42@zip.com.au>
21627
21628 * info-look.el (makefile-automake-mode): New setups, looking in
21629 automake manual, then makefile-mode.
21630 (makefile-mode): Remove automake manual, have it just in
21631 makefile-automake-mode since there's various things different or
21632 not relevant to plain make.
21633 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21634 believe a hypothetical automake-mode would go to makefile-mode,
21635 not the other way around.
21636
c8e83751
CY
216372011-05-15 Chong Yidong <cyd@stupidchicken.com>
21638
5e9e35cd
CY
21639 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21640 hunk-end tags (Bug#8672).
21641
c8e83751
CY
21642 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21643 vc-annotate-show-diff-revision-at-line (Bug#8671).
21644
50b23e5a
GM
216452011-05-14 Glenn Morris <rgm@gnu.org>
21646
7210a739
GM
21647 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21648 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
21649 (change-log-font-lock-keywords): Also handle multiple author lines
21650 with leading tabs. (Bug#8644)
7210a739 21651
4691905a
GM
21652 * calendar/appt.el (appt-check): Rename some local variables.
21653 Some simplification/reordering.
21654
50b23e5a
GM
21655 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21656 (feedmail-sendmail-f-doesnt-sell-me-out)
21657 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21658 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21659 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
21660 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21661 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
21662 (feedmail-binmail-gnulinuxish-template):
21663 Rename from feedmail-binmail-linuxish-template.
21664 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21665 Use insert-buffer-substring.
21666
215cda7c
BC
216672011-05-14 Bill Carpenter <bill@carpenter.org>
21668
21669 * mail/feedmail.el (feedmail-patch-level): Increase.
21670 (feedmail-debug): New custom group.
21671 (feedmail-confirm-outgoing-timeout)
21672 (feedmail-sendmail-f-doesnt-sell-me-out)
21673 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21674 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21675 (feedmail-sender-line, feedmail-from-line)
21676 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 21677 (feedmail-spray-this-address)
215cda7c
BC
21678 (feedmail-spray-address-fiddle-plex-list)
21679 (feedmail-queue-use-send-time-for-date)
21680 (feedmail-queue-use-send-time-for-message-id)
21681 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21682 (feedmail-buffer-eating-function):
21683 Doc fixes.
21684 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21685 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21686 (feedmail-message-action-scroll-down): New functions.
21687 (feedmail-queue-directory, feedmail-queue-draft-directory):
21688 Use expand-file-name.
21689 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21690 Remove C-v help entry.
21691 (feedmail-queue-buffer-file-name): New variable.
21692 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21693 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21694 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21695 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21696 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21697 (feedmail-message-action-toggle-spray)
21698 (feedmail-run-the-queue-no-prompts)
21699 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21700 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21701 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21702 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21703 (feedmail-envelope-deducer, feedmail-fiddle-from)
21704 (feedmail-fiddle-sender, feedmail-default-date-generator)
21705 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21706 (feedmail-fiddle-spray-address)
21707 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21708 (feedmail-fiddle-list-of-fiddle-plexes)
21709 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21710 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21711 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21712 Change default. Doc fix.
21713 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21714 (feedmail-binmail-linuxish-template): New constant.
21715 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21716 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21717 (feedmail-send-it): Add debug call.
21718 Use feedmail-queue-buffer-file-name, and
21719 feedmail-send-it-immediately-wrapper.
21720 (feedmail-message-action-send): Add debug call.
21721 Use feedmail-send-it-immediately-wrapper.
21722 (feedmail-queue-express-to-queue): Add debug call.
21723 Run feedmail-queue-express-hook.
21724 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21725 (feedmail-message-action-help-blat):
21726 Rename from feedmail-queue-send-edit-prompt-help-first.
21727 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21728 Check line-endings. Handle errors better.
21729 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21730 Doc fix. Add debug call.
21731 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21732 Use feedmail-queue-send-edit-prompt-inner.
21733 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21734 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21735 from feedmail-queue-send-edit-prompt.
21736 (feedmail-queue-send-edit-prompt-help)
21737 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21738 (feedmail-tidy-up-slug): Add debug call.
21739 Respect feedmail-queue-slug-suspect-regexp.
21740 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21741 (feedmail-dump-message-to-queue): Add debug call.
21742 Expand queue-directory.
21743 (feedmail-dump-message-to-queue): Change message slightly.
21744 Use feedmail-say-chatter.
21745 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21746 (feedmail-send-it-immediately-wrapper): New function.
21747 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21748 Insert empty string rather than newline. Handle full-frame case.
21749 Use catch/throw. Use feedmail-say-chatter.
21750 (feedmail-fiddle-from): Try mail-host-address.
21751 (feedmail-default-message-id-generator): Doc fix.
21752 Bind system-time-locale. Handle missing end.
21753 (feedmail-fiddle-x-mailer): Add debug call.
21754 Handle feedmail-x-mailer-line being nil.
21755 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21756 Add debug call. Use buffer-substring-no-properties.
21757 (feedmail-say-debug, feedmail-say-chatter): New functions.
21758 (feedmail-find-eoh): Give an explicit error.
21759
42c7e61e
UJ
217602011-05-13 Ulf Jasper <ulf.jasper@web.de>
21761
c2571358 21762 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 21763 family from helvetica to sans.
c2571358 21764 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21765 etc/images/newsticker.
21766
c2571358 21767 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
21768 family from helvetica to sans.
21769
21770 * net/newst-plainview.el (newsticker-new-item-face)
21771 (newsticker-old-item-face, newsticker-immortal-item-face)
21772 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 21773 (newsticker-statistics-face): Change default family from
42c7e61e 21774 helvetica to sans.
c2571358 21775 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21776 etc/images/newsticker.
21777
5d3385a0
JB
21778 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21779 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
21780 auto-marking.
21781
8497a297
DV
217822011-05-13 Didier Verna <didier@xemacs.org>
21783
21784 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
21785 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21786 TODO entries.
8497a297
DV
21787 (lisp-lambda-list-keyword-parameter-indentation)
21788 (lisp-lambda-list-keyword-parameter-alignment)
21789 (lisp-lambda-list-keyword-alignment): New customizable user options.
21790 (lisp-indent-defun-method): Improve docstring.
21791 (extended-loop-p): Fix comment.
21792 (lisp-indent-lambda-list-keywords-regexp): New variable.
21793 (lisp-indent-lambda-list): New function.
21794 (lisp-indent-259): Use it.
21795 (lisp-indent-defmethod): Support for more than one
21796 method qualifier and properly indent methods lambda-lists.
21797 (defgeneric): Provide a missing common-lisp-indent-function property.
21798
f278f87f
SM
217992011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21800
21801 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21802 bounds for the empty string (bug#8667).
21803
5233edd7
GM
218042011-05-13 Glenn Morris <rgm@gnu.org>
21805
5237a44f
GM
21806 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21807
8340026c 21808 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 21809 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 21810
5233edd7 21811 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 21812 (appt-time-msg-list): Doc fix.
a5464014 21813 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 21814
92d10796
AS
218152011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21816
21817 * progmodes/ld-script.el (ld-script-keywords)
21818 (ld-script-builtins): Update keywords list.
21819
914a0ae1
SM
218202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21821
c89be45f
SM
21822 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21823
914a0ae1
SM
21824 * shell.el (shell-completion-vars): New function.
21825 (shell-mode):
21826 * simple.el (read-shell-command): Use it.
21827 (blink-matching-open): No need for " [...]" in minibuffer-message.
21828
98dc3df3
GM
218292011-05-12 Glenn Morris <rgm@gnu.org>
21830
21831 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21832 (appt-check): Simplify.
21833
d2fc7e3d 218342011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 21835
4d61f28d 21836 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
21837 literal "/dev/null".
21838
d2fc7e3d 218392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
21840
21841 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21842 Fix typo.
21843
d2fc7e3d 218442011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 21845
3f254caa
SM
21846 * progmodes/which-func.el (which-function):
21847 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
21848 which might not be defined (Bug#8260).
21849
d45885f7
GM
218502011-05-12 Glenn Morris <rgm@gnu.org>
21851
21852 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21853 Let byte-compile-initial-macro-environment always take precedence.
21854
488086f4
SM
218552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21856
21857 * net/rcirc.el: Add support for SSL/TLS connections.
21858 (rcirc-server-alist): New field `encryption'.
21859 (rcirc): Check `encryption' settings.
21860 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21861 Merge make-local-variable into `set'.
21862 (rcirc--connection-open-p): New function.
21863 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21864 the process is not a network process (e.g. running gnutls-cli).
21865 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21866 Make rcirc-(en|de)code-coding-system local here.
21867 (rcirc-mode): Merge make-local-variable into `set'.
21868 (rcirc-parent-buffer): Make permanent buffer-local.
21869 (rcirc-multiline-minor-mode): Don't do it here.
21870 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21871 there's no server buffer.
21872
7d3b9d44
GM
218732011-05-11 Glenn Morris <rgm@gnu.org>
21874
f64049c6
GM
21875 * newcomment.el (comment-kill): Prefix "unused" local.
21876
93c9df73
GM
21877 * term/w32console.el (get-screen-color): Declare.
21878
7d3b9d44
GM
21879 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21880 Handle symbol elements of byte-compile-initial-macro-environment.
21881
9e2dd53f
LL
218822011-05-10 Leo Liu <sdl.web@gmail.com>
21883
488086f4
SM
21884 * bookmark.el (bookmark-bmenu-mode-map):
21885 Bind bookmark-bmenu-search to `/'.
8b340240 21886
9e2dd53f 21887 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
21888 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21889 (Footnote-unicode): New function.
21890 (footnote-style-alist): Add unicode style to the list.
21891 (footnote-style): Doc fix.
9e2dd53f 21892
79b70037
GM
218932011-05-10 Jim Meyering <meyering@redhat.com>
21894
21895 Fix doubled-word typos.
21896 * international/quail.el (quail-insert-kbd-layout): and and -> and
21897 * kermit.el: and and -> and
21898 * net/ldap.el (ldap-search-internal): to to -> to
21899 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21900 * progmodes/js.el (js-mode): and and -> and
21901 * textmodes/artist.el (artist-move-to-xy): at at -> at
21902 (artist-draw-region-trim-line-endings): if if -> if
21903 And Safetyc -> Safety.
21904 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21905
b8f82dc1 219062011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 21907 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
21908
21909 * files.el (hack-one-local-variable-eval-safep):
21910 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21911
4f99f44b
GM
219122011-05-10 Glenn Morris <rgm@gnu.org>
21913
21914 * calendar/diary-lib.el (diary-list-entries-hook)
21915 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21916 (diary-nongregorian-marking-hook, diary-list-entries)
21917 (diary-include-other-diary-files, diary-mark-entries)
21918 (diary-mark-included-diary-files): Doc fixes.
21919
84f29e6b
JB
219202011-05-09 Juanma Barranquero <lekktu@gmail.com>
21921
21922 * misc.el: Require tabulated-list.el during compilation.
21923
9bedd73a
CY
219242011-05-09 Chong Yidong <cyd@stupidchicken.com>
21925
488086f4
SM
21926 * progmodes/compile.el (compilation-start):
21927 Run compilation-filter-hook for the async case too.
9bedd73a
CY
21928 (compilation-filter-hook): Doc fix.
21929
797c735c
DD
219302011-05-09 Deniz Dogan <deniz@dogan.se>
21931
21932 * wdired.el: Remove outdated installation comment. Fix usage
21933 comment.
21934
5f4b1dfe
JB
219352011-05-09 Juanma Barranquero <lekktu@gmail.com>
21936
21937 * misc.el: Implement new command `list-dynamic-libraries'.
21938 (list-dynamic-libraries--loaded-only-p): New variable.
21939 (list-dynamic-libraries--refresh): New function.
21940 (list-dynamic-libraries): New command.
21941
4c44026c
CY
219422011-05-09 Chong Yidong <cyd@stupidchicken.com>
21943
488086f4
SM
21944 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21945 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
21946 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21947 higher priority to avoid clobbering by gnu.
21948
027f966d
CY
219492011-05-08 Chong Yidong <cyd@stupidchicken.com>
21950
21951 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21952 if the face has existing theme settings (Bug#8454).
21953
085f5d7d
CY
219542011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21955
488086f4
SM
21956 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21957 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 21958
2a86a00c
RS
21959 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21960 special file names `.' and `..' (Bug#8259).
21961
d9c54a06
CY
219622011-05-08 Chong Yidong <cyd@stupidchicken.com>
21963
488086f4
SM
21964 * progmodes/grep.el (grep-mode-font-lock-keywords):
21965 Remove buffer-changing entries.
d9c54a06
CY
21966 (grep-filter): New function.
21967 (grep-mode): Add it to compilation-filter-hook.
21968
21969 * progmodes/compile.el (compilation-filter-hook)
21970 (compilation-filter-start): New defvars.
21971 (compilation-filter): Call compilation-filter-hook prior to
21972 updating the process mark.
21973
c4662635
SM
219742011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21975
21976 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21977
b0512a1d
EZ
219782011-05-07 Eli Zaretskii <eliz@gnu.org>
21979
605c9376
EZ
21980 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21981 mailclient-send-it even if window-system is nil. (Bug#8595)
21982
c4662635
SM
21983 * term/w32console.el (terminal-init-w32console):
21984 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
21985 background-mode. (Bug#8597)
21986
d1dc2cc2
SM
219872011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21988
21989 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21990 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21991 New functions.
21992 (defgeneric, eieio--defmethod): Use them.
21993 (eieio-defgeneric): Remove.
21994 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21995
915d1300
GM
219962011-05-07 Glenn Morris <rgm@gnu.org>
21997
a3961c3e
GM
21998 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21999 Use let rather than let*.
22000 (timeclock-find-discrep): Remove unused local.
22001
314347b9
GM
22002 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22003
915d1300
GM
22004 * calendar/appt.el (appt-time-msg-list): Doc fix.
22005
275b59b0
NF
220062011-05-06 Noah Friedman <friedman@splode.com>
22007
22008 * apropos.el (apropos-print-doc): Only use
22009 emacs-lisp-docstring-fill-column when it is bound to an integer,
22010 per that variable's documentation.
22011
6c19f744
SM
220122011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22013
22014 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 22015 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 22016
60f884b2
GM
220172011-05-06 Glenn Morris <rgm@gnu.org>
22018
5006e634
GM
22019 * calendar/appt.el (appt-message-warning-time): Doc fix.
22020 (appt-warning-time-regexp): New option.
22021 (appt-make-list): Respect appt-message-warning-time.
22022
548d0a63
GM
22023 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22024 New options.
22025 (diary-add-to-list): Strip comments from the displayed string.
22026 (diary-mode): Set comment-start and comment-end.
22027
60f884b2
GM
22028 * vc/diff-mode.el (smerge-refine-subst): Declare.
22029 (diff-refine-hunk): Don't require smerge-mode when compiling.
22030
989681bb
JB
220312011-05-06 Juanma Barranquero <lekktu@gmail.com>
22032
22033 * simple.el (list-processes): Return nil as the docstring says.
22034
a6bc05e1
MA
220352011-05-05 Michael Albinus <michael.albinus@gmx.de>
22036
22037 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22038 to "".
22039 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22040 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22041 determining of binary transfer. (Bug#7383)
22042
23c22e9a
MA
220432011-05-05 Michael Albinus <michael.albinus@gmx.de>
22044
c4662635
SM
22045 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22046 Fix port computation bug. (Bug#8618)
23c22e9a 22047
0bff894f
GM
220482011-05-05 Glenn Morris <rgm@gnu.org>
22049
b8296902
GM
22050 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22051
1f522ce8
GM
22052 * simple.el (shell-dynamic-complete-functions)
22053 (comint-dynamic-complete-functions): Declare.
22054
cf5bee67
GM
22055 * net/network-stream.el (gnutls-negotiate):
22056 * simple.el (tabulated-list-print): Fix declarations.
22057
22058 * progmodes/gud.el (syntax-symbol, syntax-point):
22059 Remove unnecessary and incorrect declarations.
22060
0bff894f 22061 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 22062 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 22063
9869b3ae
SM
220642011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22065
22066 Fix earlier half-done eieio-defmethod change (bug#8338).
22067 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22068 Streamline and change calling convention.
22069 (defmethod): Adjust accordingly and simplify.
22070 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22071 new eieio--defmethod.
22072 (slot-boundp): Minor CSE simplification.
22073
9c1d5ac5
MZ
220742011-05-05 Milan Zamazal <pdm@zamazal.org>
22075
22076 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22077 (glasses-make-readable): Use glasses-separate-capital-groups.
22078
455c834e
JB
220792011-05-05 Juanma Barranquero <lekktu@gmail.com>
22080
22081 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22082 (warning-series): Doc fix.
22083 (display-warning): Don't try to create the buffer if we just found it.
22084
9ed7c8cb
CY
220852011-05-04 Chong Yidong <cyd@stupidchicken.com>
22086
22087 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22088 (autoload-find-generated-file): New function.
22089 (generate-file-autoloads): Bind generated-autoload-file to
22090 buffer-file-name.
9869b3ae
SM
22091 (update-file-autoloads, update-directory-autoloads):
22092 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
22093 output file (Bug#7989).
22094 (batch-update-autoloads): Doc fix.
22095
0898ca10
JB
220962011-05-04 Juanma Barranquero <lekktu@gmail.com>
22097
22098 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22099
31dfb76c
GM
221002011-05-04 Glenn Morris <rgm@gnu.org>
22101
f330b642
GM
22102 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22103 function, so it follows changes in calendar-date-style.
22104 (diary-fancy-date-matcher): New function.
22105 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22106 (diary-fancy-font-lock-fontify-region-function):
22107 Use diary-fancy-date-pattern as a function.
22108
31dfb76c
GM
22109 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22110 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22111
48e79d6a
TZ
221122011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22113
22114 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22115 instead of positional arguments. Allow :keylist and :crlfiles
22116 arguments.
22117 (open-gnutls-stream): Call it.
22118
22119 * net/network-stream.el (network-stream-open-starttls): Adjust to
22120 call `gnutls-negotiate' with :process and :hostname arguments.
22121
dd5a5ee0
SM
221222011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22123
ef80fc09
SM
22124 * minibuffer.el (completion--message): New function.
22125 (completion--do-completion, minibuffer-complete)
22126 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22127 (completion--do-completion): Don't ignore completion-auto-help when in
22128 icomplete-mode.
22129
dd5a5ee0
SM
22130 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22131 internal encoding (e.g. tibetan zero is not whitespace).
22132 (global-whitespace-mode): Prefer save-current-buffer.
22133 (whitespace-trailing-regexp): Remove useless save-match-data.
22134 (whitespace-empty-at-bob-regexp): Minor simplification.
22135
b7d22a83
CY
221362011-05-03 Chong Yidong <cyd@stupidchicken.com>
22137
22138 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22139
5192af46
AM
221402011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22141
22142 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 22143 Use `concat' to create string for insertion.
5192af46 22144
5767d190
SM
221452011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22146
22147 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22148 Avoid open-line which runs post-self-insert-hook.
22149 (bibtex-fill-entry): Remove unused `end' var.
22150
bf242939
AM
221512011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22152
5767d190
SM
22153 * textmodes/ispell.el (ispell-add-per-file-word-list):
22154 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 22155
25666126
LL
221562011-05-03 Leo Liu <sdl.web@gmail.com>
22157
22158 * isearch.el (isearch-yank-pop): New command.
5767d190 22159 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
22160 (isearch-forward): Mention it.
22161
52d3c2d0
SM
221622011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22163
1bcace58
SM
22164 * simple.el (minibuffer-complete-shell-command): Remove.
22165 (minibuffer-local-shell-command-map): Use completion-at-point.
22166 (read-shell-command): Setup completion vars here instead.
22167 (read-expression-map): Bind TAB to symbol completion.
22168
52d3c2d0
SM
22169 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22170 error directly rather via storing it into `results'.
22171
35813471
LL
221722011-05-02 Leo Liu <sdl.web@gmail.com>
22173
22174 * vc/diff.el: Fix description.
22175
e793a940
LMI
221762011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22177
22178 * server.el (server-eval-at): New function.
22179
8de66e05
LMI
221802011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22181
22182 * net/network-stream.el (open-network-stream): Take a :nowait
22183 parameter and pass it on to `make-network-process'.
22184 (network-stream-open-plain): Ditto.
22185
dcb79f20
AS
221862011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22187
22188 * faces.el (face-spec-set-match-display): Don't match toolkit
22189 options on terminal frames.
22190
14a7fbd8
SM
221912011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22192
7eabc1be
SM
22193 * progmodes/pascal.el: Use lexical binding.
22194 (pascal-mode-map): Remove author preferences.
22195
14a7fbd8
SM
22196 * pcomplete.el (pcomplete-std-complete): Don't abuse
22197 completion-at-point.
22198
50f84510
JB
221992011-04-28 Juanma Barranquero <lekktu@gmail.com>
22200
6e087a44
JB
22201 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22202 removing code that has been dead since 1991 or so.
22203
50f84510
JB
22204 * startup.el (command-line): When warning about "_emacs", use a
22205 delayed warning to allow the user to filter it out.
22206
0ba690bd
DD
222072011-04-28 Deniz Dogan <deniz@dogan.se>
22208
22209 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22210 user has not joined.
22211
08abfaad
SM
222122011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22213
22214 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22215 aren't any completions at point.
22216
638f053a
JB
222172011-04-28 Juanma Barranquero <lekktu@gmail.com>
22218
22219 * subr.el (display-delayed-warnings): New function.
22220 (delayed-warnings-hook): New variable.
22221
8fff8daa
SM
222222011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22223
08abfaad
SM
22224 * minibuffer.el (completion-at-point, completion-help-at-point):
22225 Don't presume that a given completion-at-point-function will always
22226 use the same calling convention.
22227
8fff8daa
SM
22228 * pcomplete.el (pcomplete-completions-at-point):
22229 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22230 pcomplete-seen is non-nil.
22231 (pcomplete-comint-setup): Also recognize the new comint/shell
22232 completion functions.
22233 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22234 pcomplete-seen is non-nil.
22235
841a1577 222362011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 22237
841a1577 22238 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 22239 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 22240 the first character in the entry. This allows for code to add its
211ec907
UJ
22241 own uid to the entry.
22242 (icalendar--convert-float-to-ical): Add export of
22243 `diary-float'-entries save for those with the optional DAY
22244 argument.
22245
2a782793
DC
222462011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22247
22248 * subr.el (shell-quote-argument): Use alternate escaping strategy
22249 when we spot a variable reference in a string.
22250
0438ce91
DC
222512011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22252
22253 * cus-start.el (all): Define customization for debug-on-event.
22254
841a1577 222552011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
22256
22257 * subr.el (shell-quote-argument): Escape correctly under Windows.
22258
d090ed6c
SM
222592011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22260
22261 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22262
bfd31217
MA
222632011-04-25 Michael Albinus <michael.albinus@gmx.de>
22264
d090ed6c
SM
22265 * net/tramp.el (tramp-process-actions): Add POS argument.
22266 Delete region between POS and (pos).
bfd31217 22267
d090ed6c
SM
22268 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22269 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
22270 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22271
22272 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22273 position in `tramp-process-actions' call.
22274
22275 * net/trampver.el: Update release number.
22276
e92f3bd3
SM
222772011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22278
850256b5
SM
22279 * custom.el (defcustom): Obey lexical-binding.
22280
e92f3bd3
SM
22281 Fix octave-inf completion problems reported by Alexander Klimov.
22282 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22283 Inherit from octave-mode-syntax-table.
22284 (inferior-octave-mode): Set info-lookup-mode.
22285 (inferior-octave-completion-at-point): New function.
22286 (inferior-octave-complete): Use it and completion-in-region.
22287 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22288 comint-filename-completion.
22289 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22290 symbol elements which shouldn't be word elements.
22291 (octave-font-lock-keywords, octave-beginning-of-defun)
22292 (octave-function-header-regexp): Adjust regexps accordingly.
22293 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22294
cd22b309
JB
222952011-04-25 Juanma Barranquero <lekktu@gmail.com>
22296
22297 * net/gnutls.el (gnutls-errorp): Declare before first use.
22298
8b492194
TZ
222992011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22300
22301 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22302 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 22303 default trustfile exists before going to use it. Add missing
5a5fa834 22304 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
22305 Reported by Claudio Bley <claudio.bley@gmail.com>.
22306 (open-gnutls-stream): Add usage example.
22307
22308 * net/network-stream.el (network-stream-open-starttls): Give host
22309 parameter to `gnutls-negotiate'.
22310 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 22311 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 22312
841a1577 223132011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 22314
cd22b309
JB
22315 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22316 Use correct match group (bug#8438).
05842630 22317
3ba7869c
CY
223182011-04-24 Chong Yidong <cyd@stupidchicken.com>
22319
512e3ae1
CY
22320 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22321 (package-menu--generate): New arg specifying packages to show.
22322 (package-menu-refresh, package-menu-execute, list-packages):
22323 Callers changed.
22324 (package-show-package-list): New function, replacing deleted
22325 package--list-packages (renamed because it is non-internal).
22326
22327 * finder.el (finder-list-matches): Use package-show-package-list
22328 instead of deleted package--list-packages.
22329
e92f3bd3
SM
22330 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22331 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
22332 (vc-annotate-mode-map): Bind it to RET.
22333
7031be6d
UR
223342011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22335
22336 * progmodes/etags.el (next-file): Don't use set-buffer to change
22337 buffers (Bug#8478).
22338
4ef177aa
CY
223392011-04-24 Chong Yidong <cyd@stupidchicken.com>
22340
c8d173eb
CY
22341 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22342
4ef177aa
CY
22343 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22344 (apropos-accumulator): Doc fix.
22345 (apropos-function, apropos-macro, apropos-command)
22346 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22347 (apropos-plist): Add face property.
22348 (apropos-symbols-internal): Fix indentation.
22349 (apropos-print): Simplify help, and recognize apropos-multi-type.
22350 (apropos-print-doc): Use button-type-get to extract the button's
22351 face property. Fill docstring (Bug#8352).
22352
4ffd0d6b 223532011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
22354
22355 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22356
c6c32125 22357 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 22358 (mpuz-mode-map): Use mapc.
c6c32125
JB
22359 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22360 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22361 Fix typos in docstrings.
22362
58d468b4
JB
22363 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22364 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22365
6470c3c6
JB
22366 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22367
4ffd0d6b 223682011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
22369
22370 * minibuffer.el (completion--do-completion): Avoid the "Next char
22371 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22372
3ad8bad0
CY
22373 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22374 mouse-2 into unread-command-events, it is interpreted correctly.
22375
71d73c9c 22376 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 22377 (image-toggle-display): Doc fix.
71d73c9c 22378
841a1577 223792011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 22380
4ffd0d6b
GM
22381 * textmodes/page.el (what-page): Use line-number-at-pos to
22382 calculate line number (Bug#6825).
6e1dbaa9 22383
c2fb1b60
JB
223842011-04-22 Juanma Barranquero <lekktu@gmail.com>
22385
22386 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22387 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22388 Pass argument NO-DEFAULT to `find-tag-interactive'.
22389
e02f48d7
JB
223902011-04-22 Juanma Barranquero <lekktu@gmail.com>
22391
22392 Lexical-binding cleanup.
22393
22394 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22395 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22396 * progmodes/ada-prj.el (ada-prj-initialize-values)
22397 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22398 (ada-prj-show-value):
22399 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22400 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22401 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22402 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22403 * progmodes/bug-reference.el (bug-reference-push-button):
22404 * progmodes/fortran.el (fortran-line-length):
22405 * progmodes/glasses.el (glasses-change):
22406 * progmodes/octave-mod.el (octave-fill-paragraph):
22407 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22408 (python-pdbtrack-grub-for-buffer, python-sentinel):
22409 * progmodes/sql.el (sql-save-connection):
22410 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22411 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22412 Mark unused parameters.
22413
22414 * progmodes/compile.el (compilation--flush-directory-cache)
22415 (compilation--flush-parse, compile-internal): Mark unused parameters.
22416 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22417 (compilation-next-error-function): Remove unused variable `timestamp'.
22418
22419 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22420 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22421
22422 * progmodes/dcl-mode.el (dcl-end-of-command):
22423 Remove unused variable `start'.
22424 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22425 (dcl-option-value-basic, dcl-option-value-offset)
22426 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22427 Mark unused parameters.
22428 (dcl-save-local-variable): Remove unused variable `val'.
22429 (mode): Declare.
22430
22431 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22432 Mark unused parameters.
22433 (delphi-ignore-changes): Move before first use.
22434 (delphi-charset-token-at): Remove unused variable `start'.
22435 (delphi-else-start): Remove unused variable `if-count'.
22436 (delphi-comment-block-start, delphi-comment-block-end):
22437 Remove unused variable `kind'.
22438 (delphi-indent-line): Remove unused variable `new-point'.
22439
22440 * progmodes/ebrowse.el (ebrowse-files-list)
22441 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22442 Mark unused parameters. Don't quote `lambda'.
22443 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22444 Don't quote `lambda'.
22445 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22446 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22447 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22448 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22449 Use `ignore-errors'.
22450 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22451 (ebrowse-view/find-file-and-search-pattern)
22452 (ebrowse-view/find-member-declaration/definition):
22453 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22454 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22455 Rename parameter PREFIX-ARG to PREFIX.
22456 (ebrowse-tags-read-name): Remove unused variables `start' and
22457 `member-info'.
22458 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22459 to `tags-file'.
22460
22461 * progmodes/etags.el (local-find-tag-hook): Declare.
22462 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22463 Mark unused parameters.
22464
22465 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22466 (executable-interpret): Mark unused parameter.
22467
22468 * progmodes/flymake.el (flymake-process-sentinel)
22469 (flymake-after-change-function)
22470 (flymake-create-temp-with-folder-structure)
22471 (flymake-get-include-dirs-dot): Mark unused parameters.
22472 (flymake-safe-delete-directory): Remove unused variable `err'.
22473
22474 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22475 (speedbar-timer-fn, speedbar-line-text)
22476 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22477 (speedbar-center-buffer-smartly): Declare functions.
22478 (gdb-find-watch-expression): Remove unused variable `array'.
22479 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22480 (gdb-starting): Mark unused parameters.
22481 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22482 (gdb-table-string): Remove unused variable `res'.
22483 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22484 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22485 (gdb-display-buffer): Remove unused variable `cur-size'.
22486
22487 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22488 allow lexical-binding compilation.
22489 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22490 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22491 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22492 Mark unused parameters.
22493 (gud-gdb-marker-filter): Remove unused variable `match'.
22494 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22495 lambda expressions and funcall them, instead of using `fset'.
22496
22497 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22498 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22499
22500 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22501 variable `header-beg'; use `let'.
22502
22503 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22504 `restart', `last-sexp' and `at-do'.
22505
22506 * progmodes/js.el (js--debug): Mark unused parameter.
22507 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22508 (js--splice-into-items): Remove unused variable `item'.
22509 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22510
22511 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22512 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22513 (makefile-complete): Remove unused variable `try'.
22514 (makefile-fill-paragraph, makefile-match-function-end):
22515 Mark unused parameters.
22516
22517 * progmodes/octave-inf.el (inferior-octave-complete):
22518 Remove unused variable `proc'.
22519 (inferior-octave-output-digest): Mark unused parameter.
22520
22521 * progmodes/perl-mode.el (perl-calculate-indent):
22522 Remove unused variable `err'.
22523
22524 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22525 (prolog-indent-line): Mark unused parameters.
22526 (prolog-indent-line): Remove unused variable `beg'.
22527
22528 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22529 (reporter-dont-compact-list): Declare.
22530
22531 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22532 Remove unused variable `char'.
22533 (sh-debug): Mark unused parameter.
22534 (sh-get-indent-info): Remove unused variable `start'.
22535 (sh-calculate-indent): Remove unused variable `var'.
22536
22537 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22538 (simula-electric-keyword): Remove unused variable `null'.
22539 (simula-search-backward, simula-search-forward): Remove unused
22540 variables `begin' and `end'.
22541
22542 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22543 Remove unused variable `pos'.
22544 (vera-electric-tab, vera-comment-uncomment-region):
22545 Mark unused parameters.
22546 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22547
7ede3b65
CY
225482011-04-22 Chong Yidong <cyd@stupidchicken.com>
22549
22550 * emacs-lisp/package.el (package--builtins, package-alist)
22551 (package-load-descriptor, package-built-in-p, package-activate)
22552 (define-package, package-installed-p)
22553 (package-compute-transaction, package-buffer-info)
22554 (package--push): Doc fix. Distinguish more clearly between
22555 version strings and version lists.
22556
121656e9
JB
225572011-04-21 Juanma Barranquero <lekktu@gmail.com>
22558
22559 Lexical-binding cleanup.
22560
22561 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22562 (5x5-make-mutate-best):
22563 * play/fortune.el (fortune-in-buffer):
22564 * play/gomoku.el (gomoku-init-display):
22565 * play/solitaire.el (solitaire, solitaire-do-check):
22566 * play/tetris.el (tetris-default-update-speed-function):
22567 Mark unused parameters.
22568
22569 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22570 (bubbles--shift): Remove unused variable `char-org'.
22571 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22572 (bubbles--show-images): Remove unused variable `char'.
22573
22574 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22575 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22576 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22577 (decipher-analyze-buffer): Use ?\s.
22578 (decipher-make-checkpoint): Remove unused variable `mapping'.
22579
22580 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22581
22582 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22583 Remove unused variable `result'; use `let'.
22584
22585 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22586 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22587 (gametree-children-shown-p, gametree-compute-reduced-score):
22588 Use `ignore-errors'.
22589
22590 * play/handwrite.el (ps-lpr-switches): Declare.
22591 (handwrite): Remove unused variables `pmin' and `lastp'.
22592
22593 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22594
22595 * play/landmark.el (landmark-init-display)
22596 (landmark-update-naught-weights): Mark unused parameters.
22597 (landmark-y): Remove unused variable `noise'. Simplify.
22598 (landmark-human-plays): Remove unused variable `score'.
22599
22600 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22601 (mpuz-try-proposal): Remove unused variable `game'.
22602
22603 * play/zone.el (life-patterns): Declare.
22604
80f499c7
JB
226052011-04-20 Juanma Barranquero <lekktu@gmail.com>
22606
22607 * vc/vc.el (ediff-vc-internal): Declare function.
22608
024ff170
SM
226092011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22610
c0a193ea
SM
22611 * shell.el: Use lexical-binding and std completion UI.
22612 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22613 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22614 comint-preoutput-filter-functions rather than on
22615 comint-output-filter-functions.
22616 (shell-command-completion, shell--command-completion-data)
22617 (shell-filename-completion, shell-environment-variable-completion)
22618 (shell-c-a-p-replace-by-expanded-directory): New functions.
22619 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22620 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22621 (shell-dynamic-complete-environment-variable): Use them.
22622 (shell-dynamic-complete-as-environment-variable)
22623 (shell-dynamic-complete-as-command): Remove.
22624 (shell-match-partial-variable): Match past point.
22625 * comint.el: Clean up use of completion-at-point-functions.
22626 (comint-completion-at-point): New function.
22627 (comint-mode): Use it completion-at-point-functions.
22628 (comint-dynamic-complete): Make it obsolete.
22629 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22630 (comint-c-a-p-replace-by-expanded-history): New function.
22631 (comint-dynamic-complete-functions)
22632 (comint-replace-by-expanded-history): Use it.
22633 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22634 termination strings. Try harder to avoid second try-completion.
22635 (completion-in-region-mode-map): Disable bindings that don't work yet.
22636
2dbaa080
SM
22637 * comint.el: Use lexical-binding. Require CL.
22638 (comint-dynamic-complete-functions): Use comint-filename-completion.
22639 (comint-completion-addsuffix): Tweak custom type.
22640 (comint-filename-completion, comint--common-suffix)
22641 (comint--common-quoted-suffix, comint--table-subvert)
22642 (comint--complete-file-name-data): New functions.
22643 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22644 (comint-dynamic-list-filename-completions): Use them.
22645 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 22646
2dbaa080
SM
22647 * minibuffer.el (completion-in-region-mode):
22648 Keep completion-in-region-mode--predicate global.
22649 (completion-in-region--postch):
22650 Assume completion-in-region-mode--predicate is not null.
22651
c79a6f38
SM
22652 * progmodes/flymake.el (flymake-start-syntax-check-process):
22653 Obey `dir'. Simplify.
22654
024ff170
SM
22655 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22656 we're in VC after all.
22657
1c6c854e
CS
226582011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22659
22660 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 22661 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
22662 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22663
bed7f140
SM
226642011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22665
332e62ab
SM
22666 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22667 add sanity check.
22668
bed7f140
SM
22669 * obsolete/erc-hecomplete.el: Make obsolete.
22670 * obsolete/: Standardize obsolescence info in the header.
22671
f195c582
GM
226722011-04-20 Glenn Morris <rgm@gnu.org>
22673
22674 * calendar/solar.el (solar-horizontal-coordinates):
22675 Use the longitude argument rather than `calendar-longitude'.
22676 (solar-date-next-longitude): Remove unused locals.
22677
cb79b8c0
VJL
226782011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22679
22680 * whitespace.el: New version 13.2.1.
22681
226822011-04-20 felix <EmacsWiki> (tiny change)
22683
d8e4b68b 22684 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
22685 switching between major modes on a file.
22686
602ea69d
SM
226872011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22688
22689 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22690 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22691 multi-line comments as well.
22692
06b60517
JB
226932011-04-19 Juanma Barranquero <lekktu@gmail.com>
22694
22695 Lexical-binding cleanup.
22696
22697 * arc-mode.el (archive-mode-revert):
22698 * cmuscheme.el (scheme-interactively-start-process):
22699 * custom.el (custom-initialize-delay):
22700 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22701 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22702 * emacs-lock.el (emacs-lock-clear-sentinel):
22703 * ezimage.el (defezimage):
22704 * follow.el (follow-avoid-tail-recenter):
22705 * fringe.el (set-fringe-mode-1):
22706 * generic-x.el (bat-generic-mode-compile):
22707 * help-mode.el (help-info-variable, help-do-xref)
22708 (help-mode-revert-buffer):
22709 * help.el (view-emacs-todo):
22710 * iswitchb.el (iswitchb-completion-help):
22711 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22712 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22713 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22714 * locate.el (locate-update):
22715 * longlines.el (longlines-encode-region)
22716 (longlines-after-change-function):
22717 * outline.el (outline-isearch-open-invisible):
22718 * ps-def.el (declare-function, charset-dimension, char-width)
22719 (encode-char):
22720 * ps-mule.el (ps-mule-plot-string):
22721 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22722 (recentf-edit-list-select, recentf-edit-list-validate)
22723 (recentf-open-files-action):
22724 * rect.el (delete-whitespace-rectangle-line)
22725 (rectangle-number-line-callback):
22726 * register.el (window-configuration-to-register)
22727 (frame-configuration-to-register):
22728 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22729 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22730 (xselect-convert-to-targets, xselect-convert-to-delete)
22731 (xselect-convert-to-filename, xselect-convert-to-charpos)
22732 (xselect-convert-to-lineno, xselect-convert-to-colno)
22733 (xselect-convert-to-os, xselect-convert-to-host)
22734 (xselect-convert-to-user, xselect-convert-to-class)
22735 (xselect-convert-to-name, xselect-convert-to-integer)
22736 (xselect-convert-to-atom, xselect-convert-to-identity):
22737 * subr.el (declare, ignore, process-kill-without-query)
22738 (text-clone-maintain):
22739 * terminal.el (te-get-char, te-tic-sentinel):
22740 * tool-bar.el (tool-bar-make-keymap):
22741 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22742 * type-break.el (type-break-mode, type-break-noninteractive-query):
22743 * view.el (View-back-to-mark):
22744 * wid-browse.el (widget-browse-action, widget-browse-widget)
22745 (widget-browse-widgets, widget-browse-sexp):
22746 * widget.el (define-widget-keywords):
22747 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22748 Mark unused parameters.
22749
22750 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22751 (align-areas): Remove unused variable `look'.
22752 (align-region): Remove unused variables `real-end' and `pos-list'.
22753
22754 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22755
22756 * bindings.el (mode-line-modified, mode-line-remote):
22757 Mark unused parameters.
22758 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22759
22760 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22761 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22762
22763 * comint.el (comint-history-isearch-pop-state)
22764 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22765 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22766 (comint-substitute-in-file-name): Doc fix.
22767
22768 * completion.el (cmpl-statistics-block): Mark unused parameter.
22769 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22770 (save-completions-to-file, load-completions-from-file):
22771 Remove unused local variable `e'.
22772
22773 * composite.el (compose-chars): Remove unused variable `len'.
22774 (lgstring-insert-glyph): Remove unused variable `g'.
22775 (compose-glyph-string): Remove unused variables `ascent',
22776 `descent', `lbearing' and `rbearing'.
22777 (compose-glyph-string-relative): Remove unused variables
22778 `lbearing', `rbearing' and `wadjust'.
22779 (compose-gstring-for-graphic): Remove unused variables `header',
22780 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22781 (compose-gstring-for-terminal): Remove unused variables `header'
22782 and `nchars'. Use `let', not `let*'.
22783
22784 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22785 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22786 (Custom-buffer-done, custom-buffer-create-internal)
22787 (custom-browse-visibility-action, custom-browse-group-tag-action)
22788 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22789 (widget-magic-mouse-down-action, custom-toggle-parent)
22790 (custom-add-parent-links, custom-toggle-hide-variable)
22791 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22792 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22793 (custom-face-menu-create, custom-variable-menu-create, get)
22794 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22795 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22796 (customize-apropos): Remove unused variable `tests'.
22797 (custom-group-value-create): Remove unused variable `hidden-p'.
22798 (sort-fold-case): Declare.
22799
22800 * cus-theme.el (custom-reset-standard-faces-list)
22801 (custom-reset-standard-variables-list): Declare.
22802 (customize-create-theme, custom-theme-revert, custom-theme-write)
22803 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22804 Mark unused parameters.
22805
22806 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22807
22808 * delim-col.el (delimit-columns-max): Move defvar before first use.
22809
22810 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 22811 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
22812
22813 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22814 (auto-insert): Declare.
22815 (desktop-restore-file-buffer): Rename desktop-* parameters;
22816 mark unused ones.
22817 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22818 (desktop-buffer): Rename desktop-* parameters.
22819
22820 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22821 (dframe-reposition-frame-xemacs, dframe-help-echo)
22822 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22823 Mark unused parameters.
22824
22825 * dired-aux.el (backup-extract-version-start, overwrite-query)
22826 (overwrite-backup-query, rename-regexp-query)
22827 (rename-non-directory-query): Declare.
22828 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22829 (dired-add-entry): Remove unused variable `orig-file-name'.
22830 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22831 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22832 `dired-copy-preserve-time' directly.
22833 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22834 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22835
22836 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22837 (dired-virtual-revert, dired-make-relative-symlink):
22838 Mark unused parameters.
22839 (manual-program): Declare.
22840 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22841 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22842 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22843
22844 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22845
22846 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22847
22848 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22849 Declare.
22850
22851 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22852
22853 * electric.el (Electric-command-loop): Rename parameter
22854 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22855
22856 * expand.el (expand-in-literal): Remove unused variable `here'.
22857
22858 * facemenu.el (facemenu-add-new-color):
22859 Remove unused variable `docstring'.
22860
22861 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22862 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22863 (face-attr-construct): Mark unused parameter. Doc fix.
22864 (read-color): Remove unused variable `hex-string'.
22865
22866 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22867 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22868 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22869 (display-buffer-other-frame): Remove unused variable `old-window'.
22870 (kill-buffer-hook): Declare.
22871 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22872 Mark unused parameters.
22873 (after-find-file): Pass 1 to `auto-save-mode', not t.
22874
22875 * files-x.el (auto-insert): Declare.
22876 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22877
22878 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 22879 variable `buf'. Mark unused parameter.
06b60517
JB
22880 (find-lisp-insert-directory): Mark unused parameter.
22881
22882 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22883 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22884 (format-common-tail): Remove, unused.
22885 (format-deannotate-region): Remove unused variable `loc'.
22886 (format-annotate-region): Remove unused variable `p'.
22887 (format-annotate-single-property-change): Remove unused variables
22888 `default' and `tail'.
22889
22890 * forms.el (read-file-filter): Declare.
22891 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22892
22893 * frame.el (frame-creation-function-alist): Mark unused parameter.
22894 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22895
22896 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22897 Remove unused parameters.
22898 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22899 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22900
22901 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22902 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22903 (hfy-prepare-tag-map): Mark unused parameters.
22904 (htmlfontify-buffer): Use `called-interactively-p'.
22905
22906 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22907 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22908 (ibuffer-do-occur): Mark unused parameters.
22909 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22910 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22911
22912 * ibuffer.el: Don't quote `lambda'.
22913 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22914 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22915 Mark unused parameters.
22916
22917 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22918 (ido-completing-read): Mark unused parameters.
22919 (ido-copy-current-word): Mark unused parameters;
22920 remove unused variable `name'.
22921 (ido-sort-merged-list): Remove unused parameter `dirs'.
22922
22923 * ielm.el (ielm-input-sender): Mark unused parameter.
22924 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22925 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22926 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22927 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22928 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22929
22930 * image-dired.el (image-dired-display-thumbs): Remove unused
22931 variables `curr-file' and `count'.
22932 (image-dired-remove-tag): Remove unused variable `start'.
22933 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22934 variable `curr-file'
22935 (image-dired-rotate-original): Remove unused variable `temp-file'.
22936 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22937 Remove unused variable `file'.
22938 (image-dired-gallery-generate): Remove unused variable `curr'.
22939 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22940
22941 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22942
22943 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22944
22945 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22946
22947 * isearch.el (minibuffer-history-symbol): Declare.
22948 (isearch-edit-string): Remove unused variable `err'.
22949 (isearch-message-prefix, isearch-message-suffix):
22950 Mark unused parameters.
22951
22952 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22953
22954 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22955
22956 * makesum.el (double-column): Remove unused variable `cnt'.
22957
22958 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22959 (ido-ignore-item-temp-list): Declare.
22960
22961 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22962 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22963 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22964 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22965 `mouse-col-delta'.
22966
22967 * mouse-sel.el (mouse-extend-internal):
22968 Remove unused variable `orig-window-frame'.
22969
22970 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22971 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22972 Move declarations before first use.
22973 (pcomplete-opt): Mark unused parameters; doc fix.
22974
22975 * proced.el (proced-revert): Mark unused parameter.
22976 (proced-send-signal): Remove unused variable `err'.
22977
22978 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22979 Rename parameter PREFIX-ARG to ARG.
22980 (ps-basic-plot-string, ps-basic-plot-whitespace):
22981 Mark unused parameters.
22982
22983 * replace.el (replace-count): Define.
22984 (occur-revert-function): Mark unused parameters.
22985 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22986 (isearch-case-fold-search, isearch-string): Declare.
22987 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22988 bind `case-fold-search'. Remove unused variables `beg' and `end',
22989 and simplify.
22990 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22991 COUNT and bind `replace-count'.
22992 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22993 to COUNT.
22994
22995 * savehist.el (print-readably, print-string-length): Declare.
22996
22997 * shadowfile.el (shadow-expand-cluster-in-file-name):
22998 Remove unused variable `cluster'.
22999 (shadow-copy-file): Remove unused variable `i'.
23000 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23001 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23002 (shadow-define-literal-group, shadow-define-regexp-group)
23003 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23004
23005 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23006 (shell): Use `called-interactively-p'.
23007 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23008
23009 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23010 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23011 (delete-backward-char): Remove unused variable `ocol'.
23012 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23013 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23014 (event-apply-hyper-modifier, event-apply-shift-modifier)
23015 (event-apply-control-modifier, event-apply-meta-modifier):
23016 Mark unused parameters.
23017 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23018 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23019
23020 * speedbar.el (speedbar-ignored-directory-expressions)
23021 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23022 (speedbar-find-file, speedbar-dir-follow)
23023 (speedbar-directory-buttons-follow, speedbar-tag-find)
23024 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23025 (speedbar-buffers-line-directory, speedbar-buffer-click):
23026 Mark unused parameters.
23027 (speedbar-tag-file): Remove unused variable `mode'.
23028 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23029
23030 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23031
23032 * talk.el (talk): Remove unused variable `display'.
23033
23034 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23035 (tar-write-region-annotate): Mark unused parameter.
23036
23037 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23038 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23039 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23040 warning by another.
23041
23042 * time-stamp.el (time-stamp-string-preprocess):
23043 Remove unused variable `require-padding'.
23044
23045 * tree-widget.el (widget-glyph-enable): Declare.
23046 (tree-widget-action): Mark unused parameter.
23047
23048 * w32-fns.el (x-get-selection): Mark unused parameter.
23049 (autoload-make-program, generated-autoload-file): Declare.
23050
23051 * wdired.el (wdired-revert): Mark unused parameters.
23052 (wdired-xcase-word): Remove unused variable `err'.
23053
23054 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23055 (whitespace-help-scroll): Remove unused variable `data-help'.
23056
23057 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23058 (widget-image-insert, widget-after-change, default)
23059 (widget-default-format-handler, widget-default-notify)
23060 (widget-default-prompt-value, widget-info-link-action)
23061 (widget-url-link-action, widget-function-link-action)
23062 (widget-variable-link-action, widget-file-link-action)
23063 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23064 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23065 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23066 (widget-insert-button-action, widget-delete-button-action, visibility)
23067 (widget-documentation-link-action, widget-documentation-string-action)
23068 (widget-const-prompt-value, widget-regexp-match, symbol)
23069 (widget-coding-system-prompt-value)
23070 (widget-key-sequence-value-to-external, sexp)
23071 (widget-sexp-value-to-internal, character, vector, cons)
23072 (widget-choice-prompt-value, widget-boolean-prompt-value)
23073 (widget-color--choose-action): Mark unused parameters.
23074 (widget-item-match-inline, widget-choice-match-inline)
23075 (widget-checklist-match, widget-checklist-match-inline)
23076 (widget-group-match): Rename parameter VALUES to VALS.
23077 (widget-field-value-set): Remove unused variable `size'.
23078 (widget-color-action): Remove unused variables `value' and `start'.
23079
23080 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 23081 variable `dir'. Doc fix.
06b60517
JB
23082 (windmove-find-other-window): Don't pass it.
23083
23084 * window.el (count-windows): Mark unused parameter.
23085 (bw-adjust-window): Remove unused variable `err'.
23086
23087 * woman.el (woman-file-name): Remove unused variable `default'.
23088 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23089 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23090 (global-font-lock-mode): Declare.
23091 (woman-decode-region): Mark unused parameter.
23092 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23093
23094 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23095 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23096 (x-dnd-handle-moz-url): Remove unused variable `title'.
23097 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23098
23099 * xml.el (xml-parse-tag, xml-parse-attlist):
23100 Remove unused variable `pos'.
23101
bc4f7f3d
GM
231022011-04-19 Glenn Morris <rgm@gnu.org>
23103
23104 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23105 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23106 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23107 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23108 * calendar/cal-html.el (cal-html-insert-minical):
23109 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23110 (calendar-mark-date-pattern):
23111 Prefix "unused" locals.
23112
23113 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23114 optional argument `style'.
23115
23116 * calendar/appt.el (appt-make-list):
23117 * calendar/cal-china.el (calendar-chinese-date-string):
23118 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23119 (diary-hebrew-yahrzeit):
23120 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23121 * calendar/calendar.el (calendar-generate-window):
23122 * calendar/time-date.el (time-to-days):
23123 Remove unused local variables.
23124
16a43933
CY
231252011-04-18 Chong Yidong <cyd@stupidchicken.com>
23126
23127 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23128 glyphless-char-display table.
23129 (tabulated-list-glyphless-char-display): New var.
23130
7eed1860
SS
231312011-04-18 Sam Steingold <sds@gnu.org>
23132
23133 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23134 to acknowledgments.
23135
4d2d1ccd
GM
231362011-04-17 Glenn Morris <rgm@gnu.org>
23137
23138 * calendar/diary-lib.el (diary-sexp-entry):
23139 * calendar/holidays.el (holiday-sexp):
23140 Set debug-on-error rather than the removed stack-trace-on-error.
23141
239da61d
GM
231422011-04-16 Glenn Morris <rgm@gnu.org>
23143
23144 * progmodes/f90.el: Use lexical-binding.
23145 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23146
8b05752a
SM
231472011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23148
daca8ba5
SM
23149 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23150 (mail-mode): Setup mailalias completion here instead.
23151 * mail/mailalias.el: Use lexical-binding.
23152 (pattern, mailalias-done): Declare dynamic.
23153 (mail-completion-at-point-function): New function, from mail-complete.
23154 (mail-complete): Use it.
23155 (mail-completion-expand): New function.
23156 (mail-get-names): Use it.
23157 (mail-directory, mail-directory-process, mail-directory-stream):
23158 Don't use `pattern' for lexically bound arg.
23159
6f542485
SM
23160 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23161
037e7c3f
SM
23162 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23163 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23164 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23165
8b05752a
SM
23166 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23167 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23168 (byte-interactive-p): Define them again, for use when inlining
23169 old code.
23170
49093f60
JB
231712011-04-15 Juanma Barranquero <lekktu@gmail.com>
23172
23173 * loadup.el: Use `string-to-number', not `string-to-int'.
23174
b5b8e7de
SM
231752011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23176
23177 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23178 gud-gdb-complete-command.
23179 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23180 (gud-gdb-completion-at-point): New function.
23181 (gud-gdb-completions): Remove.
23182
f42efeb5
MA
231832011-04-14 Michael Albinus <michael.albinus@gmx.de>
23184
49093f60
JB
23185 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23186 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23187 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23188 whether `executable-find' is bound.
f42efeb5
MA
23189
23190 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23191
e240cc21
SM
231922011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23193
23194 * minibuffer.el (completion-in-region-mode-predicate)
23195 (completion-in-region-mode--predicate): New vars.
23196 (completion-in-region, completion-in-region--postch)
23197 (completion-in-region-mode): Use them.
23198 (completion--capf-wrapper): Also return the hook function.
23199 (completion-at-point, completion-help-at-point):
23200 Adjust and provide a predicate.
c2bd2ab0
SM
23201
23202 Preserve arg names for advice of subr and lexical functions (bug#8457).
23203 * help-fns.el (help-function-arglist): Consolidate the subr and
23204 new-byte-code cases. Add argument `preserve-names' to extract names
23205 from the docstring when needed.
23206 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23207 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23208 (ad-arglist): Use help-function-arglist's new arg.
23209 (ad-definition-type): Use cond.
23210
c183f693
JB
232112011-04-13 Juanma Barranquero <lekktu@gmail.com>
23212
06641a47
JB
23213 * autorevert.el (auto-revert-handler):
23214 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23215 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23216 Don't quote lambda.
23217
c183f693
JB
23218 * image-mode.el (image-transform-set-scale):
23219 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23220
1e3b6001
G
232212011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23222
23223 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 23224 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
23225 Upgrades via gnutls-cli are too slow to be done opportunistically.
23226
2d6af8dd
JB
232272011-04-12 Juanma Barranquero <lekktu@gmail.com>
23228
23229 * dframe.el (dframe-current-frame): Remove spurious quote.
23230
c0749a51
GM
232312011-04-12 Glenn Morris <rgm@gnu.org>
23232
088d0d61
GM
23233 * calendar/cal-tex.el (cal-tex-end-document):
23234 Try to automatically use latin1 input if needed.
23235
c0749a51
GM
23236 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23237 Don't try to cons a mark onto an empty element.
23238
5c90fde0
LL
232392011-04-11 Leo Liu <sdl.web@gmail.com>
23240
23241 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23242 buffers.
23243 (ido-kill-buffer-at-head): Support killing virtual buffers.
23244
369e974d
CY
232452011-04-10 Chong Yidong <cyd@stupidchicken.com>
23246
23247 * minibuffer.el (completion-show-inline-help): New var.
23248 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
23249 (minibuffer-force-complete, minibuffer-complete-word):
23250 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
23251
23252 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23253 to avoid interference from inline help (Bug#5849).
23254
37f1c930
LL
232552011-04-10 Leo Liu <sdl.web@gmail.com>
23256
099c39a4
JB
23257 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23258 Fix typo.
37f1c930 23259
a32d4040
CY
232602011-04-09 Chong Yidong <cyd@stupidchicken.com>
23261
23262 * image-mode.el (image-toggle-display-image): Signal an error if
23263 not in Image mode.
23264 (image-transform-mode, image-transform-resize)
23265 (image-transform-set-rotation): Doc fix.
daca8ba5 23266 (image-transform-set-resize): Delete.
a32d4040
CY
23267 (image-transform-set-scale, image-transform-fit-to-height)
23268 (image-transform-fit-to-width): Handle image-toggle-display-image
23269 and image-transform-resize directly.
23270
099c39a4 232712011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
23272
23273 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
23274 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23275 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
23276 (doc-view-mode-map): Add bindings for the new functions.
23277
099c39a4 232782011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 23279
4d61f28d 23280 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
23281 Fix typo in docstring.
23282
3726838a
EZ
232832011-04-08 Eli Zaretskii <eliz@gnu.org>
23284
04f33f1e
EZ
23285 * files.el (file-size-human-readable): Produce one digit after
23286 decimal, like "ls -lh" does.
23287
23288 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23289 the file size representation.
23290
3726838a
EZ
23291 * simple.el (list-processes): If async subprocesses are not
23292 available, error out with a clear error message.
23293
cbb59342
CY
232942011-04-08 Chong Yidong <cyd@stupidchicken.com>
23295
23296 * help.el (help-form-show): New function, to be called from C.
23297 Put help-form output in a buffer named differently than *Help*.
23298
e3971c44
EZ
232992011-04-08 Eli Zaretskii <eliz@gnu.org>
23300
23301 * files.el (file-size-human-readable): New function.
23302
23303 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23304 computing the representation inline. Don't require `cl'.
23305
12544bbe
GM
233062011-04-08 Glenn Morris <rgm@gnu.org>
23307
a1de6c6a
GM
23308 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23309
3c4671f4
GM
23310 * net/browse-url.el (browse-url-firefox):
23311 Test system-type, not system-configuration.
23312
b605679c
GM
23313 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23314 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23315 Use log-edit-empty-buffer-p. (Bug#7598)
23316
56442f0c
GM
23317 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23318 (rlogin-mode-map): Initialize in the defvar.
23319 (rlogin): Use ignore-errors.
23320
12544bbe
GM
23321 * replace.el (occur-mode-map): Some fixes for menu items.
23322
eb237b0f
AH
233232011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23324
23325 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23326
7d668f2c
CY
233272011-04-06 Chong Yidong <cyd@stupidchicken.com>
23328
e67a13ab
CY
23329 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23330 issuing unused warnings.
23331
23332 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23333 macro directly.
23334
7d668f2c
CY
23335 * simple.el: Lisp reimplement of list-processes. Based on an
23336 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23337 (process-menu-mode): New major mode.
23338 (list-processes--refresh, list-processes):
23339 (process-menu-visit-buffer): New functions.
23340
23341 * files.el (save-buffers-kill-emacs): Don't assume any return
23342 value of list-processes, which is undocumented anyway.
23343
a83ec3c9
CY
233442011-04-06 Chong Yidong <cyd@stupidchicken.com>
23345
23346 * emacs-lisp/tabulated-list.el: New file.
23347
e91a96fe
CY
23348 * emacs-lisp/package.el: Use Tabulated List mode.
23349 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23350 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23351 table format using Tabulated List mode variables.
23352 (package--push): New macro, replacing package-list-maybe-add.
23353 (package-menu--generate): Use package--push. Renamed from
23354 package--generate-package-list.
23355 (package-menu-refresh, list-packages): Use it.
daca8ba5 23356 (package-menu--print-info): Rename from package-print-package.
e91a96fe 23357 Return insertion data instead of inserting it directly.
099c39a4
JB
23358 (package-menu-describe-package, package-menu-execute):
23359 Use tabulated-list-get-id.
e91a96fe
CY
23360 (package-menu-mark-delete, package-menu-mark-install)
23361 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
23362 (package-menu-mark-obsolete-for-deletion):
23363 Use tabulated-list-put-tag.
e91a96fe
CY
23364 (package--list-packages, package-menu-revert)
23365 (package-menu-get-package, package-menu-get-version)
23366 (package-menu-sort-by-column): Functions deleted.
23367 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23368 (package-menu--status-predicate, package-menu--version-predicate)
23369 (package-menu--name-predicate)
23370 (package-menu--description-predicate): Handle arguments in the
23371 Tabulated List format.
23372 (package-list-packages-no-fetch): Call list-packages.
23373
3e214b50
JB
233742011-04-06 Juanma Barranquero <lekktu@gmail.com>
23375
23376 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 23377 (after-find-file): Don't bind it.
3e214b50
JB
23378 (revert-buffer-in-progress-p): New variable.
23379 (revert-buffer): Bind it.
23380 Pass nil for `after-find-file-from-revert-buffer'.
23381
23382 * saveplace.el (save-place-find-file-hook): Use new variable
23383 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23384
3f0f1700
GM
233852011-04-06 Glenn Morris <rgm@gnu.org>
23386
c0274801
GM
23387 * Makefile.in (AUTOGEN_VCS): New variable.
23388 (autoloads): Use $AUTOGEN_VCS.
23389
3f0f1700
GM
23390 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23391 * calendar/calendar.el (calendar-mode-map):
23392 Check for toolkit scroll bars. (Bug#8305)
23393
41ea9e48
CY
233942011-04-05 Chong Yidong <cyd@stupidchicken.com>
23395
23396 * minibuffer.el (completion-in-region--postch)
23397 (completion-in-region-mode): Remove unnecessary messages.
23398
6194c800
JB
233992011-04-05 Juanma Barranquero <lekktu@gmail.com>
23400
33256f14
JB
23401 * font-lock.el (font-lock-refresh-defaults):
23402 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23403 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23404
6194c800
JB
23405 * info.el (Info-directory-list, Info-read-node-name-2)
23406 (Info-split-parameter-string): Doc fixes.
23407 (Info-virtual-nodes): Reflow docstring.
23408 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23409 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23410 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23411 Fix typos in docstrings.
23412 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23413 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23414 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23415 (Info-restore-desktop-buffer): Mark unused parameters.
23416 (Info-directory-find-file, Info-directory-find-node)
23417 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23418 (Info-virtual-index-find-node, Info-apropos-find-file)
23419 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 23420 Mark unused parameters; fix typos in docstrings.
6194c800
JB
23421 (Info-virtual-index): Remove unused local variable `nodename'.
23422
b87a8200 234232011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 23424
b87a8200
DD
23425 * net/rcirc.el: Update my e-mail address.
23426 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 23427
3b2ff876
CY
234282011-04-05 Chong Yidong <cyd@stupidchicken.com>
23429
23430 * startup.el (command-line): Save the cursor's theme-face
23431 directly, instead of using face-override-spec.
23432
23433 * custom.el (load-theme): Minor optimization in assigning faces.
23434
8d17e7ca
JB
234352011-04-04 Juanma Barranquero <lekktu@gmail.com>
23436
23437 * help-fns.el (describe-variable): Complete all variables having
23438 documentation, including keywords.
23439 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23440
2fbc1934
JB
234412011-04-04 Juanma Barranquero <lekktu@gmail.com>
23442
23443 Convert to lexical-binding.
23444
23445 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23446 (bs--get-marked-string, bs--get-modified-string)
23447 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23448 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23449 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23450
23451 * ehelp.el (electric-help-execute-extended)
23452 (electric-help-ctrl-x-prefix):
23453 * hexl.el (hexl-revert-buffer-function):
23454 * linum.el (linum-after-change, linum-after-scroll):
23455 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23456
23457 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23458
74f50695
DU
234592011-04-04 Daiki Ueno <ueno@unixuser.org>
23460
23461 * epa-dired.el:
23462 * epa-mail.el:
23463 * epa-hook.el:
23464 * epa-file.el:
23465 * epa.el:
23466 * epg.el: Use lexical binding.
23467
c11325f7
CY
234682011-04-03 Chong Yidong <cyd@stupidchicken.com>
23469
0d9e9a12
CY
23470 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23471
c11325f7 23472 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
23473 dictionary case for flyspell-mark-duplications-exceptions.
23474 Use regexp matching for languages.
c11325f7
CY
23475 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23476 default dictionary (Bug#7926).
23477
da91b5f2
CY
234782011-04-02 Chong Yidong <cyd@stupidchicken.com>
23479
099c39a4
JB
23480 * emacs-lisp/package.el (package--with-work-buffer):
23481 Recognize https URLs.
da91b5f2 23482
099c39a4
JB
23483 * net/network-stream.el: Move from gnus/proto-stream.el.
23484 Change prefix to network-stream throughout.
da91b5f2
CY
23485 (open-protocol-stream): Merge into open-network-stream, leaving
23486 open-protocol-stream as an alias. Handle nil BUFFER args.
23487
23488 * subr.el (open-network-stream): Move to net/network-stream.el.
23489
afa8e9f6
GM
234902011-04-02 Glenn Morris <rgm@gnu.org>
23491
1d2e369d
GM
23492 * find-dired.el (find-exec-terminator): New option.
23493 (find-ls-option): Test for -ls support.
23494 (find-ls-subdir-switches): Test for -b in find-ls-option.
23495 (find-dired, find-grep-dired): Doc fixes.
23496 (find-dired): Use find-exec-terminator.
23497
8abb7da8 23498 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
23499 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23500 (find-name-arg): Remove purecopy.
8abb7da8 23501
f3ca7378
GM
23502 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23503 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23504 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23505 accordingly. Don't add the null-device if not needed.
23506
afa8e9f6
GM
23507 * files.el (save-some-buffers): Doc fix.
23508
35eae264
EZ
235092011-04-02 Eli Zaretskii <eliz@gnu.org>
23510
23511 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23512
26b51db5
JB
235132011-04-01 Juanma Barranquero <lekktu@gmail.com>
23514
23515 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23516 Use `dolist' rather than `mapcar'.
23517
7200d79c
SM
235182011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23519
03408648 23520 Add lexical binding.
7200d79c 23521
03408648
SM
23522 * subr.el (apply-partially): Use new closures rather than CL.
23523 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23524 (dolist, dotimes): Use slightly different expansion for lexical code.
23525 (functionp): Move to C.
23526 (letrec): New macro.
23527 (with-wrapper-hook): Use it and apply-partially instead of CL.
23528 (eval-after-load): Preserve lexical-binding.
23529 (save-window-excursion, with-output-to-temp-buffer): Turn them
23530 into macros.
7200d79c 23531
03408648
SM
23532 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23533
23534 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23535 than the arglist.
23536 (help-add-fundoc-usage): Don't add `Not documented'.
23537 (help-function-arglist): Handle closures, subroutines, and new
23538 byte-code-functions.
23539 (help-make-usage): Remove leading underscores.
23540 (describe-function-1): Handle closures.
23541 (describe-variable): Use special-variable-p for completion.
23542
23543 * files.el (lexical-binding): Declare safe.
f488fb65 23544
03408648
SM
23545 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23546 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23547 (pcase): Add `let' pattern.
23548 Change memoization so it actually works.
23549 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23550 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23551 <let>: New case.
f488fb65 23552
03408648
SM
23553 * emacs-lisp/macroexp.el: Use lexical binding.
23554 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23555 Don't convert ' to #' without checking that it's indeed quoting
23556 a lambda.
23557
23558 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 23559 Use eval-sexp-add-defvars.
03408648
SM
23560 (eval-sexp-add-defvars): New fun.
23561
23562 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23563
23564 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23565 Don't autoload.
23566 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23567 than the internal `byte-compile-lambda'.
23568 (defmethod): Don't hide code under quotes.
23569 (eieio-defmethod): New `code' argument.
23570
23571 * emacs-lisp/eieio-comp.el: Remove.
23572
23573 * emacs-lisp/edebug.el (edebug-eval-defun)
23574 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23575 (edebug-toggle): Avoid `eval'.
23576
23577 * emacs-lisp/disass.el (disassemble-internal): Handle new
23578 `closure' objects.
23579 (disassemble-1): Handle new byte codes.
23580
23581 * emacs-lisp/cl.el (pushnew): Silence warning.
23582
23583 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23584 (cl-byte-compile-throw): Remove.
23585 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23586
23587 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23588 closures.
23589
23590 * emacs-lisp/cconv.el: New file.
23591
23592 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23593 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23594 (byte-compile-initial-macro-environment):
23595 Handle declare-function here.
23596 (byte-compile--lexical-environment): New var.
23597 (byte-stack-ref, byte-stack-set, byte-discardN)
23598 (byte-discardN-preserve-tos): New lap codes.
23599 (byte-interactive-p): Don't use any more.
23600 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23601 New macros.
23602 (byte-compile-lapcode): Use them and handle new lap codes.
23603 (byte-compile-obsolete): Remove.
23604 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23605 (byte-compile-arglist-warn): Check late def of inlinable funs.
23606 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23607 since they should have been expanded by now.
23608 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23609 (byte-compile-from-buffer): Remove unused second arg.
23610 (byte-compile-preprocess): New function.
23611 (byte-compile-toplevel-file-form): New function to distinguish
23612 file-form calls from outside from file-form calls from hunk-handlers.
23613 (byte-compile-file-form): Simplify.
23614 (byte-compile-file-form-defsubst): Remove.
23615 (byte-compile-file-form-defmumble): Simplify now that
23616 byte-compile-lambda always returns a byte-code-function.
23617 (byte-compile): Preprocess.
23618 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23619 Remove, not used any more.
23620 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23621 (byte-compile-make-args-desc): New funs.
23622 (byte-compile-lambda): Handle lexical functions. Always return
23623 a byte-code-function.
23624 (byte-compile-reserved-constants): New var, to make up room for
23625 closed-over variables.
23626 (byte-compile-constants-vector): Obey it.
23627 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23628 (byte-compile-macroexpand-declare-function): New function.
23629 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23630 byte-code-functions.
23631 (byte-compile-form): Check obsolescence here.
23632 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23633 (byte-compile-variable-ref): Remove.
23634 (byte-compile-dynamic-variable-op): New fun.
23635 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23636 (byte-compile-variable-set): New funs.
23637 (byte-compile-discard): Add 2 args.
23638 (byte-compile-stack-ref, byte-compile-stack-set)
23639 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23640 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23641 macroexpand-all instead.
23642 (byte-compile-quote-form): Remove.
23643 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23644 (byte-compile-bind, byte-compile-unbind): New funs.
23645 (byte-compile-let): Handle let* and lexical binding.
23646 (byte-compile-let*): Remove.
23647 (byte-compile-catch, byte-compile-unwind-protect)
23648 (byte-compile-track-mouse, byte-compile-condition-case):
23649 Handle a new :fun-body form, used for lexical scoping.
23650 (byte-compile-save-window-excursion)
23651 (byte-compile-with-output-to-temp-buffer): Remove.
23652 (byte-compile-defun): Simplify.
23653 (byte-compile-stack-adjustment): New fun.
23654 (byte-compile-out): Use it.
23655 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23656
23657 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23658 handler any more.
23659
23660 * emacs-lisp/byte-opt.el: Use lexical binding.
23661 (byte-inline-lapcode): Remove (to bytecomp).
23662 (byte-compile-inline-expand): Pay attention to inlining to/from
23663 lexically bound code.
23664 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23665 any more.
23666 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23667 any more and don't call compiler-macros.
23668 (byte-compile-splice-in-already-compiled-code): Remove.
23669 (byte-code): Don't inline any more.
23670 (disassemble-offset): Receive `bytes' as argument rather than via
23671 dynamic scoping.
23672 (byte-compile-tag-number): Declare before first use.
23673 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23674 `return' even if make-spliceable.
23675 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23676 obsolete interactive-p.
23677 (byte-optimize-lapcode): Optimize new lap-codes.
23678 Don't trip up on new form of `byte-constant' lap code.
23679
23680 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23681
23682 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23683
23684 * custom.el (custom-initialize-default, custom-declare-variable):
23685 Use `defvar'.
23686
23687 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23688 New variables.
23689 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23690 (COMPILE_FIRST): Add macroexp and cconv.
23691 * makefile.w32-in: Mirror changes in Makefile.in.
23692
23693 * vc/cvs-status.el:
23694 * vc/diff-mode.el:
23695 * vc/log-edit.el:
23696 * vc/log-view.el:
23697 * vc/smerge-mode.el:
23698 * textmodes/bibtex-style.el:
090bd7cb 23699 * textmodes/css-mode.el:
03408648
SM
23700 * startup.el:
23701 * uniquify.el:
da91b5f2
CY
23702 * minibuffer.el:
23703 * newcomment.el:
23704 * reveal.el:
23705 * server.el:
23706 * mpc.el:
23707 * emacs-lisp/smie.el:
23708 * doc-view.el:
23709 * dired.el:
03408648
SM
23710 * abbrev.el: Use lexical binding.
23711
0f0c1f27
EZ
237122011-04-01 Eli Zaretskii <eliz@gnu.org>
23713
23714 * info.el (info-display-manual): New function.
23715
c82b2579
SM
237162011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23717
23718 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23719
221ddf68
TH
237202011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23721
23722 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 23723 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 23724
cba6e77e
GM
237252011-03-31 Glenn Morris <rgm@gnu.org>
23726
e040639f
GM
23727 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23728
cba6e77e
GM
23729 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23730
6d0f1c9e
CS
237312011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23732
23733 * progmodes/python.el (python-default-interpreter)
23734 (python-python-command-args, python-jython-command-args)
23735 (python-which-shell, python-which-args, python-which-bufname)
23736 (python-file-queue, python-comint-output-filter-function)
23737 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23738 variables and functions.
23739
3e2d70fd
SM
237402011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23741
23742 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23743 (completion-in-region-mode): New minor mode.
23744 (completion-in-region): Use it.
23745 (completion-in-region--data, completion-in-region-mode-map): New vars.
23746 (completion-in-region--postch): New function.
23747 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23748 New vars.
23749 (completion--capf-wrapper): New function.
23750 (completion-at-point): Use it to track well-behavedness of
23751 hook functions.
23752 (completion-help-at-point): New command.
23753
f3e4086c
JM
237542011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23755
23756 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23757 syntax class to search for whitespace on a single line
23758 (Message-ID: <4D938140.4030905@redhat.com>).
23759
eb7ffc14
LL
237602011-03-30 Leo Liu <sdl.web@gmail.com>
23761
23762 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23763 New commands.
23764 (edit-abbrevs-map): Bind them here.
23765 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23766
d806ab68
KM
237672011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23768
23769 * allout.el (allout-hide-by-annotation, allout-flag-region):
23770 Reduce possibility of overlay leakage by making them volatile.
23771
23772 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23773 hash is not shared between buffers. Mode initialization is
23774 responsible for giving it a useful starting value.
23775 (allout-item-span): Reduce possibility of overlay leakage by
23776 making them volatile.
23777 (allout-widgets-count-buttons-in-region): Add diagnostic function
23778 for tracking down button overlay leaks.
23779
ea622834
LL
237802011-03-29 Leo Liu <sdl.web@gmail.com>
23781
23782 * ido.el (ido-read-internal): Use the default history var
23783 minibuffer-history if no HISTORY is specified.
23784
b62f8267
G
237852011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23786
03408648
SM
23787 * net/imap.el (imap-shell-open, imap-process-connection-type):
23788 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
23789 Kerberos, SSL, other subprocesses.
23790
947b6566
LL
237912011-03-28 Leo Liu <sdl.web@gmail.com>
23792
23793 * abbrev.el (abbrev-table-empty-p): New function.
23794 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23795 nonempty ones. (Bug#5937)
23796
5ffb62aa
JD
237972011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23798
23799 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23800
7a097943
LL
238012011-03-27 Leo Liu <sdl.web@gmail.com>
23802
23803 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23804 for foreground and background colors.
23805 (ansi-color-make-color-map): Adapt.
23806
c5b40130
LL
238072011-03-25 Leo Liu <sdl.web@gmail.com>
23808
1f48f7d2
LL
23809 * midnight.el (midnight-time-float): Remove. Note it calculates
23810 the microsecond component incorrectly and seconds-to-time does the
23811 same job.
625897ec 23812 Remove redundant (require 'timer).
1f48f7d2 23813
c5b40130
LL
23814 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23815 (ido-completions): Remove unused arguments. (Bug#8329)
23816
d86d2721
SM
238172011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23818
23819 * minibuffer.el (completion--flush-all-sorted-completions):
23820 Remove itself from hook.
23821 (completion-at-point): Let the functions perform the completion
23822 immediately and return nil or t.
23823 * comint.el (comint-dynamic-complete-functions): Now identical to
23824 completion-at-point-functions.
23825 (comint-dynamic-list-input-ring): Remove unused var `index'.
23826 (comint--match-partial-filename, comint--unquote&expand-filename):
23827 New funs, split from comint-match-partial-filename.
23828 (comint-dynamic-complete): Use completion-at-point.
23829 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23830
e8974c48
DA
238312011-03-24 Drew Adams <drew.adams@oracle.com>
23832
23833 * thingatpt.el: Support `defun'.
23834
def71b5e
LL
238352011-03-23 Leo Liu <sdl.web@gmail.com>
23836
cb5af48e
LL
23837 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23838
def71b5e
LL
23839 * help-mode.el (help-mode-finish): Tweak regexp.
23840
927c53e7
GM
238412011-03-23 Glenn Morris <rgm@gnu.org>
23842
18d05bed
GM
23843 * eshell/esh-opt.el (eshell-eval-using-options):
23844 Do not bind unused local variable `eshell-option-stub'.
23845
927c53e7
GM
23846 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23847
9d0da923
JB
238482011-03-22 Juanma Barranquero <lekktu@gmail.com>
23849
23850 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23851 keymap variable in `with-no-warnings' to avoid a warning when the
23852 keymap has been already `defconst'ed.
23853
4b978a67
LL
238542011-03-22 Leo Liu <sdl.web@gmail.com>
23855
23856 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23857 encode all chars in abbrevs; otherwise use emacs-mule or
23858 utf-8-emacs. (Bug#8308)
23859
5fd62452
JB
238602011-03-22 Juanma Barranquero <lekktu@gmail.com>
23861
0b1596c6
JB
23862 * simple.el (backward-delete-char-untabify):
23863 Avoid warning about using `delete-backward-char'.
23864
5fd62452
JB
23865 * image.el (image-type-file-name-regexps): Make it variable.
23866 `imagemagick-register-types' modifies it, and the user may want
23867 to add new extensions for known image types.
23868 (imagemagick-register-types): Throw error if not using ImageMagick.
23869
0b4e93f1
LL
238702011-03-22 Leo Liu <sdl.web@gmail.com>
23871
23872 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23873 located before rcirc-prompt-end-marker.
23874 (rcirc-complete): Error if point is not after rcirc prompt.
23875 Handle the case when table is nil.
9882e214 23876 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 23877
fccee4ab
CY
238782011-03-22 Chong Yidong <cyd@stupidchicken.com>
23879
23880 * custom.el (custom--inhibit-theme-enable): Make it affect only
23881 custom-theme-set-variables and custom-theme-set-faces.
23882 (provide-theme): Ignore custom--inhibit-theme-enable.
23883 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23884 (custom-enabling-themes): Delete variable.
d86d2721
SM
23885 (enable-theme): Accept only loaded themes as arguments.
23886 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
23887 (custom-enabled-themes): Forbid themes from setting this.
23888 Eliminate use of custom-enabling-themes.
23889 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 23890
af896da6
LL
238912011-03-21 Leo Liu <sdl.web@gmail.com>
23892
23893 * ido.el (ido-read-internal): Add ido-selected to history instead
23894 of user input.
23895
78f64af0
SM
238962011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23897
23898 * subr.el (deferred-action-list, deferred-action-function):
23899 Mark obsolete.
23900
b16ac1ec
LL
239012011-03-21 Leo Liu <sdl.web@gmail.com>
23902
810f7698
LL
23903 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23904 change on 2011-02-13 (bug#8309).
23905
b16ac1ec
LL
23906 * minibuffer.el (read-file-name-function): Change default value.
23907 (read-file-name--defaults): Rename from read-file-name-defaults.
23908 (read-file-name-default): Rename from read-file-name.
23909 (read-file-name): Call read-file-name-function.
23910
4e05e67e
GM
239112011-03-21 Glenn Morris <rgm@gnu.org>
23912
23913 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23914 Doc fixes.
23915
4359915b
CY
239162011-03-21 Chong Yidong <cyd@stupidchicken.com>
23917
23918 * cus-theme.el: Add missing provide statement.
23919 (customize-create-theme): Extract theme value correctly.
23920 (custom-theme-visit-theme): Autoload.
23921 (customize-create-theme): Prompt before inserting default faces.
23922
1fe275ee
JB
239232011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23924
23925 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23926 units and musical notes.
23927
cd394be1 239282011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
23929
23930 * ido.el (ido-read-internal): Use completing-read-default.
23931 (ido-completing-read): Fix compatibility with completing-read.
23932
7d476bde
CO
239332011-03-20 Christian Ohler <ohler@gnu.org>
23934
23935 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23936 (ert-delete-all-tests): Use `called-interactively-p' rather than
23937 `interactive-p'.
23938 (ert--make-xrefs-region): Respect END.
23939
fe0fb33e
CY
239402011-03-19 Chong Yidong <cyd@stupidchicken.com>
23941
ff854b0b
CY
23942 * dired-aux.el (dired-create-directory): Signal an error if the
23943 directory already exists (Bug#8246).
23944
fe0fb33e
CY
23945 * facemenu.el (list-colors-display): Call list-faces-display
23946 inside with-help-window.
23947 (list-colors-print): Use display property to align the final
23948 column, instead of checking window-width.
23949
576bce32
EZ
239502011-03-19 Eli Zaretskii <eliz@gnu.org>
23951
4d61f28d 23952 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
23953 windows-nt systems.
23954 (emerge-protect-metachars): Quote correctly for ms-dos and
23955 windows-nt systems.
23956
89c41d68 239572011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
23958
23959 * info.el (info-initialize): Replace all uses of `:' with
23960 path-separator for compatibility with non-Unix systems.
23961 Cache quoting of path-separator. (Bug#8258)
23962
b14e3e21 239632011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
23964
23965 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23966 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23967 (mouse-avoidance-mode): Fix typos in docstrings.
23968
4525ce3e
CY
239692011-03-19 Chong Yidong <cyd@stupidchicken.com>
23970
23971 * startup.el (package-subdirectory-regexp): Move from package.el.
23972 Omit \\` and \\', and let callers add them.
23973
23974 * emacs-lisp/package.el (package-strip-version)
23975 (package-load-all-descriptors): Add \\` and \\' to
23976 package-subdirectory-regexp before using it.
23977 (package-untar-buffer): New arg DIR; ensure that file untars only
23978 into this expected directory. Remove superfluous delete-region.
23979 (package-unpack): Caller changed.
23980 (package-tar-file-info): Use package-subdirectory-regexp.
23981
a904a09a 239822011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 23983
a904a09a
SM
23984 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23985 diff-mode-shared-map (bug#8284).
23986 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
23987
239882011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23989
23990 * calendar/time-date.el (format-seconds): Use assoc instead of
23991 assoc-string, since assoc-string doesn't exist in XEmacs.
23992
171fc304
JB
239932011-03-17 Juanma Barranquero <lekktu@gmail.com>
23994
23995 * custom.el (custom-known-themes): Reflow docstring.
23996 (custom-theme-load-path): Fix typo in docstring.
23997 (load-theme): Fix typo in error message.
23998 (custom-available-themes, custom-variable-theme-value):
23999 Use `let', not `let*'.
24000
d71990a1
JB
240012011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24002
24003 * calc/README: Mention inclusion of musical notes.
24004
24005 * calc/calc-units.el (calc-lu-quant): Rename from
24006 `calc-logunits-quantity'.
24007 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24008 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24009 (calc-db): Rename from `calc-dblevel'.
24010 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24011 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24012 (calc-np): Rename from `calc-nplevel'.
24013 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24014 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24015 (calc-lu-plus): Rename from `calc-logunits-add'.
24016 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24017 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24018 (calc-lu-minus): Rename from `calc-logunits-sub'.
24019 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24020 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24021 (calc-lu-times): Rename from `calc-logunits-mul'.
24022 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24023 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24024 (calc-lu-divide): Rename from `calc-logunits-div'.
24025 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24026 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24027
24028 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24029 functions being autoloaded.
24030
24031 * calc/calc.el (calc-lu-power-reference): Rename from
24032 `calc-logunits-power-reference'.
24033 (calc-lu-field-reference): Rename from
24034 `calc-logunits-field-reference'.
24035
7a71b18d
GM
24036 * calc/calc-help.el (calc-l-prefix-help):
24037 Mention musical note functions.
d71990a1 24038
40c2934b
SM
240392011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24040
24041 * minibuffer.el (completion-all-sorted-completions):
24042 Use :completion-cycle-penalty text property if present.
24043
b0911414
KM
240442011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24045
24046 * allout.el (allout-yank-processing): Adjust for new rebulleting
24047 regime so bullet being yanked is used without prompting the user
24048 for a choice.
24049
8a05b668
JB
240502011-03-16 Juanma Barranquero <lekktu@gmail.com>
24051
24052 * startup.el (command-line): Warn the user that _emacs is deprecated.
24053
5ba5fb81
JB
240542011-03-16 Juanma Barranquero <lekktu@gmail.com>
24055
24056 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24057 (delphi-verbose, delphi-comment-face, delphi-string-face)
24058 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24059 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24060 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24061 (delphi-new-comment-line, delphi-font-lock-defaults)
24062 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24063 Fix typos in docstrings.
24064
2dab465b
KM
240652011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24066
5ba5fb81 24067 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
24068 Invert the roles of character and string values for INSTEAD, so a
24069 string is used for the more common case of a defaulting prompt.
24070
0adf5618
SM
240712011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24072
24073 * progmodes/ruby-mode.el (ruby-backward-sexp):
24074 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24075 * play/gamegrid.el (gamegrid-make-face):
24076 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24077 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24078 * notifications.el (notifications-notify):
24079 * net/xesam.el (xesam-search-engines):
24080 * net/quickurl.el (quickurl-list-insert):
24081 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24082
d72700e5
CY
240832011-03-15 Chong Yidong <cyd@stupidchicken.com>
24084
24085 * startup.el (command-line): Update package subdirectory regexp.
24086
49c5410a
SM
240872011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24088
c6eee9aa
SM
24089 * allout.el (allout-abbreviate-flattened-numbering)
24090 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24091
49c5410a
SM
24092 * subr.el (read-char-choice): Only show the cursor after the prompt,
24093 not after the answer.
24094
047b2bb9
KR
240952011-03-15 Kevin Ryde <user42@zip.com.au>
24096
24097 * help-fns.el (variable-at-point): Skip leading quotes, if any
24098 (bug#8253).
24099
0a57d256
SM
241002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24101
24102 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24103 warning message.
24104
77c992bc
MA
241052011-03-14 Michael Albinus <michael.albinus@gmx.de>
24106
24107 * shell.el (shell): When called interactively, offer to change the
24108 shell file name on remote hosts.
24109
eebc475d
TZ
241102011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24111
24112 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24113 integration for LDAP parameters. The host, base, user or binddn,
24114 and secret tokens can be specified in a netrc file, for instance.
24115 This is optional because an `auth-source' parameter must be
24116 specified in the search attributes.
24117
9d05d1ba
JB
241182011-03-13 Juanma Barranquero <lekktu@gmail.com>
24119
24120 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24121
09d9db2c
GM
241222011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24123
24124 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24125 into declaration. Remove redundant and harmful binding.
24126
241272011-03-12 Eli Zaretskii <eliz@gnu.org>
24128
24129 * files.el (file-ownership-preserved-p): Pass `integer' as an
24130 explicit 2nd argument to `file-attributes'. If the file's owner
24131 is the Administrators group on Windows, and the current user is
24132 Administrator, consider that a match.
24133
24134 * server.el (server-ensure-safe-dir): Consider server directory
24135 safe on MS-Windows if its owner is the Administrators group while
24136 the current Emacs user is Administrator. Use `=' to compare
24137 numerical UIDs, since they could be integers or floats.
24138
219bd536
JB
241392011-03-12 Juanma Barranquero <lekktu@gmail.com>
24140
24141 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24142
f3afd36b
MA
241432011-03-12 Michael Albinus <michael.albinus@gmx.de>
24144
24145 Sync with Tramp 2.2.1.
24146
24147 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24148
24149 * net/trampver.el: Update release number.
24150
3aaaa6f1
SM
241512011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24152
94642599
SM
24153 * progmodes/compile.el (compilation--previous-directory): Fix up
24154 various nil/dead-marker mismatches (bug#8014).
24155 (compilation-directory-properties, compilation-error-properties):
24156 Don't call it at a position past the one we're about to change.
24157
3aaaa6f1
SM
24158 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24159 Disable obsolescence warnings in the file that declares it.
24160
14239447
KM
241612011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24162
099c39a4
JB
24163 * allout-widgets.el (allout-widgets-tally):
24164 Initialize allout-widgets-tally as a hash table rather than nil to
24165 prevent mode-line redisplay warnings. Also, clarify the module
24166 description and fix a comment typo.
14239447 24167
135e287c
JB
241682011-03-11 Juanma Barranquero <lekktu@gmail.com>
24169
24170 * help-fns.el (describe-variable): Don't complete keywords.
24171 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24172
ffbf300e
CY
241732011-03-10 Chong Yidong <cyd@stupidchicken.com>
24174
ba08b241
CY
24175 * emacs-lisp/package.el (package-version-join): Impose a standard
24176 string representation for pre/alpha/beta version lists.
24177 (package-unpack-single): Standardize the directory name by passing
24178 it through package-version-join.
24179 (package-strip-rcs-id): Accept any version string that does not
24180 signal an error in version-to-list.
ffbf300e 24181
f346fd6b
MA
241822011-03-10 Michael Albinus <michael.albinus@gmx.de>
24183
24184 * simple.el (delete-trailing-whitespace): Return nil for the
24185 benefit of `write-file-functions'.
24186
ccb55d27
GM
241872011-03-10 Glenn Morris <rgm@gnu.org>
24188
5ceaac0c
GM
24189 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24190
02da65ff
GM
24191 * vc/vc-git.el (vc-git-program): New option.
24192 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24193 (vc-git--call): Use it.
24194
b2f603cc
GM
24195 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24196
5772caab
GM
24197 * cus-edit.el (Custom-newline): If no button at point, look
24198 for a subgroup button at start-of-line. (Bug#2298)
24199
ccb55d27
GM
24200 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24201
ec6ecaed
JD
242022011-03-10 Julien Danjou <julien@danjou.info>
24203
24204 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24205 `cursor-type' is nil.
24206
9d5aa01d
JB
242072011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24208
24209 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24210
b6a5875b
KM
242112011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24212
7a71b18d 24213 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
24214 preserves the existing header prefix, rebulleting it if necessary,
24215 rather than replacing it. This is necessary for proper operation
24216 of cooperative addons like allout-widgets.
1154d12e
JB
24217 (allout-make-topic-prefix, allout-rebullet-heading):
24218 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24219 value as alternate bullet to be used, instead of prompting the user
24220 for a bullet character.
b6a5875b 24221
ee545c35
MA
242222011-03-09 Michael Albinus <michael.albinus@gmx.de>
24223
d86d2721
SM
24224 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24225 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
24226 `tramp-default-port'.
24227
c47971d7
DD
242282011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24229
24230 * net/rcirc.el (rcirc-handler-001): Remove useless
24231 with-rcirc-process-buffer.
24232 (rcirc-check-auth-status): Swap arguments to string-match.
24233
13522cb4
GM
242342011-03-09 Glenn Morris <rgm@gnu.org>
24235
0be6f4f1
GM
24236 * shell.el (shell-mode):
24237 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24238
13522cb4
GM
24239 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24240 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24241
515de2e3
CY
242422011-03-08 Chong Yidong <cyd@stupidchicken.com>
24243
24244 * emacs-lisp/package.el (package-refresh-contents)
24245 (package-menu-execute): Use condition-case-no-debug.
24246
b511b994
MA
242472011-03-08 Michael Albinus <michael.albinus@gmx.de>
24248
24249 * simple.el (shell-command-to-string): Use `process-file'.
24250
24251 * emacs-lisp/package.el (package-tar-file-info): Handle also
24252 remote files.
24253
d86d2721
SM
24254 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24255 Use `equal' for upload base check.
b511b994 24256
25bbfb31
AM
242572011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24258
24259 * textmodes/texinfo.el (texinfo-environments):
24260 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24261
be996521
GM
242622011-03-08 Glenn Morris <rgm@gnu.org>
24263
e9c8529f
GM
24264 * cus-start.el (cursor-in-non-selected-windows):
24265 Fix :set quoting oddness. (Bug#8192)
24266
be996521
GM
24267 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24268 in some setf expressions. (Bug#2159)
24269
2bb5649e
CY
242702011-03-08 Chong Yidong <cyd@stupidchicken.com>
24271
24272 * custom.el (custom-available-themes): Return themes in
24273 alphabetical order.
24274
33383987 24275See ChangeLog.15 for earlier changes.
e3d51b27
MR
24276
24277;; Local Variables:
24278;; coding: utf-8
e3d51b27
MR
24279;; End:
24280
ab422c4d 24281 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
24282
24283 This file is part of GNU Emacs.
24284
24285 GNU Emacs is free software: you can redistribute it and/or modify
24286 it under the terms of the GNU General Public License as published by
24287 the Free Software Foundation, either version 3 of the License, or
24288 (at your option) any later version.
24289
24290 GNU Emacs is distributed in the hope that it will be useful,
24291 but WITHOUT ANY WARRANTY; without even the implied warranty of
24292 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24293 GNU General Public License for more details.
24294
24295 You should have received a copy of the GNU General Public License
24296 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.