* lisp/help-macro.el (three-step-help): Revert 2012-09-29 change.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
05e153a6
GM
12012-10-03 Glenn Morris <rgm@gnu.org>
2
3 * help-macro.el (three-step-help):
4 Revert 2012-09-29 change. (Bug#12567)
5
2e566ecb
MR
62012-10-03 Martin Rudalics <rudalics@gmx.at>
7
96ef9ccd
MR
8 * menu-bar.el (kill-this-buffer): Don't do anything when
9 `menu-frame' is not alive or visible (Bug#8184).
10
2e566ecb
MR
11 * emacs-lisp/debug.el (debug): When quitting the debugger window
12 restore current buffer (Bug#12502).
13
a96e1cb7
CY
142012-10-02 Chong Yidong <cyd@gnu.org>
15
16 * progmodes/hideif.el (hif-lookup, hif-defined): Handle
17 semantic-c-takeover-hideif.
18
b3ecad33
PE
192012-10-02 Paul Eggert <eggert@cs.ucla.edu>
20
21 Change sampling interval units from ms to ns.
22 * profiler.el (profiler-sampling-interval): Change units
23 from ms to ns, multiplying the default by 1000000 so that
24 it remains 1 ms.
25 (profiler-report-cpu-line-format): Give enough room for
26 the maximum counters on 64-bit hosts.
27 (profiler-report-render-calltree-1): Call them "CPU samples",
28 not "Time (ms)", since they are not milliseconds now (and
29 never really were).
30
8cb51b66 312012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a
SDJ
32
33 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result): Fix
34 querying BBDB for entries without a last name (Bug#11580).
35
fd795bf4
CY
362012-10-02 Chong Yidong <cyd@gnu.org>
37
38 * emacs-lisp/eieio.el: Restore Version header.
39
fe0a74f9
SM
402012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
41
6be9197e
SM
42 * vc/diff-mode.el (diff--auto-refine-data): New var.
43 (diff-hunk): Use it to delay refinement.
44 (diff-mode): Remove overlays when we turn off font-lock.
45
18486139
SM
46 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
47 (table-initialize-table-fixed-width-mode)
48 (table-set-table-fixed-width-mode): Remove functions.
49 (table-command-list): Move initialization into declaration.
50 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
51 (table-with-cache-buffer): Use `declare'.
52 (table-span-cell): Simplify via CSE.
53 (table-fixed-width-mode): Use define-minor-mode.
54 (table-call-interactively, table-funcall, table-apply): Remove.
55 (table-function): New function, to replace them.
56
d83ef976
SM
57 * bookmark.el (bookmark-search-pattern): Remove var.
58 (bookmark-read-search-input): Remove function.
59 (bookmark-bmenu-search): Reimplement using a minibuffer.
60
cd386662
SM
61 * faces.el (modeline): Remove obsolete face name.
62
fe0a74f9
SM
63 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
64 and give a non-nil default value.
65 (add-change-log-entry): Simplify accordingly.
66
9f7b98f8
DG
672012-10-01 Dmitry Gutov <dgutov@yandex.ru>
68
69 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
70 (vc-git-log-edit-toggle-amend): New function.
71 (vc-git-log-edit-toggle-signoff): New function.
72 (vc-git-log-edit-mode): New major mode.
73 (vc-git-log-edit-mode-map): Keymap for it.
74 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
75
76 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
77 header names.
78 (log-edit-toggle-header): New function.
79 (log-edit-extract-headers): Accept function values in HEADERS alist.
80
62a81506
CY
812012-10-01 David Engster <deng@randomsample.de>
82
83 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
84 from symbol property and change message to be more consistent with
85 Emacs proper.
86 (eieio-describe-generic): Add filename for each implementation.
87 Fix indices for generic and normal methods.
88 (eieio-method-def, eieio-class-def): New buttons.
89 (eieio-help-find-method-definition)
90 (eieio-help-find-class-definition): New functions.
91 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
92 class, constructor and method definitions.
93
94 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
95 information in symbol property.
96 (scoped-class): Remove.
97 (eieio-slot-name-index, call-next-method): Check if it is bound.
98
992012-10-01 Leo P. White <lpw25@cam.ac.uk>
100
101 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
102 (eieio-custom-mode): New major mode.
103 (eieio-customize-object): Use it.
104
1052012-10-01 Eric Ludlam <zappo@gnu.org>
106
107 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
108 specifying the expected class, and whether subclassing is allowed.
109 (eieio-persistent-convert-list-to-object):
110 (eieio-persistent-validate/fix-slot-value)
111 (eieio-persistent-slot-type-is-class-p): New functions.
112 (eieio-named::slot-missing): Doc fix.
113
114 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
115 Stop using unused publd variable.
116
117 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
118 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
119 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
120 (eieio-speedbar-handle-click): Do not specify a class for the
121 method. Fixes method invocation order problems with EDE.
122
375e49d4
SM
1232012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
124
125 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
126 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
127
16ce6ccd
KF
1282012-10-01 Karl Fogel <kfogel@red-bean.com>
129
130 * bookmark.el (bookmark-version-control): Give tags in the
131 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
132 (bookmark-write-file): Bind `print-circle' to `t' to allow
133 circular custom bookmark types. (Bug#12503)
16ce6ccd 134
19e54a4d
PE
1352012-10-01 Paul Eggert <eggert@cs.ucla.edu>
136
86ec63ba
PE
137 Revert the FOLLOW-SYMLINKS change for file-attributes.
138 * files.el (remote-file-name-inhibit-cache, after-find-file):
139 * time.el (display-time-file-nonempty-p): Undo last change.
140
19e54a4d
PE
141 * profiler.el (profiler-sampling-interval): Change default back to 1.
142 See Stefan Monnier in
143 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
144
0478776b
FEG
1452012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
146
147 Shell output catching a la gud-gdb.
148 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
149 (python-shell-fetch-lines-string, python-shell-fetched-lines):
150 New Vars.
0478776b
FEG
151 (python-shell-fetch-lines-filter): New function.
152 (python-shell-send-string-no-output): Use them.
153
c22bac2c
TM
1542012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
155
156 * profiler.el (profiler-sampling-interval): Rename from
157 profiler-sample-interval.
158 (profiler-sampling-interval): Default to 10.
159 (profiler-find-profile): New command (was profiler-find-log).
160 (profiler-find-profile-other-window): New command.
161 (profiler-find-profile-other-frame): New command.
162 (profiler-profile): Introduce API-level data structure.
163
e7a2937b
PE
1642012-09-30 Paul Eggert <eggert@cs.ucla.edu>
165
166 file-attributes has a new optional arg FOLLOW-SYMLINKS.
167 * files.el (remote-file-name-inhibit-cache):
168 * time.el (display-time-file-nonempty-p): Use it.
169 * files.el (after-find-file): Don't chase links before calling
170 file-exists-p, as file-exists-p already does the right thing.
171
4f595e15
RA
1722012-09-30 Ralf Angeli <angeli@caeruleus.net>
173
174 Merge from standalone RefTeX repository.
175
176 The following ChangeLog entries are shortened versions of the
177 original ones with file paths adapted. A not so strongly edited
178 version of the original ChangeLog can be found in the commit log.
179
180 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
181 (reftex-arg-cite): Use `reftex-cite-key-separator'.
182 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
183
184 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
185 that entries with whitespace at various places are found.
186 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
187 Include @String definitions in the resulting bib file. Add header
188 and footer defined in `reftex-create-bibtex-header' and
189 `reftex-create-bibtex-footer'.
190 (reftex-do-citation): Make it possible again to insert
191 non-existent entries. Save match data when asking for optional
192 arguments. Return all keys, not just the first one.
193 (reftex-all-used-citation-keys): Fix regexp to correctly extract
194 all citations in the same line.
195 (reftex-parse-bibtex-entry): Accept additional optional argument
196 `raw' and keep quotes or braces if it is non-nil. Match fields
197 containing hyphens besides word constituents.
198 (reftex-get-string-refs): New function.
199 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
200 and ask if it should be reread in case it did.
201 (reftex-pop-to-bibtex-entry)
202 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
203 entries with spaces or tabs in front of arguments.
204 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
205 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
206 Match entries containing numbers and symbol constituents.
207 (reftex-do-citation, reftex-figure-out-cite-format):
208 Use `reftex-cite-key-separator'.
4f595e15
RA
209
210 * textmodes/reftex-dcr.el: Move provide statement to end of file.
211 (reftex-mouse-view-crossref): Explain why point is set.
212
213 * textmodes/reftex-global.el: Whitespace changes.
214
215 * textmodes/reftex-index.el: Move provide statement to end of
216 file.
217 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
218 (reftex-index-visit-phrases-buffer): Set marker when visiting
219 buffer. This allows for returning from the phrases file to the
220 file one was just editing instead of the file where the last
221 phrases was added from.
222 (reftex-index-phrases-syntax-table): New variable. Give ?\"
223 punctuation syntax as it usually is not used as string quote in
224 TeX-related modes and may occur unmatched. The change also
225 prevents fontification of quoted content.
226 (reftex-index-phrases-mode): Use it.
227
375e49d4
SM
228 * textmodes/reftex-parse.el (reftex-parse-from-file):
229 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
230 (reftex-parse-from-file): Use beginning of match instead of end as
231 bound.
232
233 * textmodes/reftex-ref.el: Adapt creation of
234 `reftex-<package>-<macro>' functions to new structure of
235 `reftex-ref-style-alist'.
375e49d4
SM
236 (reftex-reference): Use `reftex-ref-style-list' function.
237 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
238 reference macro if `reftex-ref-macro-prompt' is non-nil.
239 (reftex-reference): Pass refstyle to `reftex-format-special'.
240 Determine reference macro by looking at
375e49d4
SM
241 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
242 Use only one special format function.
4f595e15
RA
243 (reftex-varioref-vref, reftex-fancyref-fref)
244 (reftex-fancyref-Fref): Remove definitions. The functions are now
245 generated from `reftex-ref-style-alist'.
246 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
247 Remove.
248 (reftex-format-special): New function.
249
250 * textmodes/reftex-sel.el
251 (reftex-select-cycle-ref-style-internal): Adapt to new structure
252 of `reftex-ref-style-alist'. Remove code for testing macro type.
253 (reftex-select-toggle-varioref)
254 (reftex-select-toggle-fancyref): Remove.
255 (reftex-select-cycle-ref-style-internal)
256 (reftex-select-cycle-ref-style-forward)
257 (reftex-select-cycle-ref-style-backward): New functions.
258 (reftex-select-label-map): Use `v' and `V' for general cycling
259 through reference styles. Add `p' for switching between number
260 and page reference types.
261
375e49d4
SM
262 * textmodes/reftex-toc.el (reftex-re-enlarge):
263 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
264 the horizontal version throws an error even if the parameter is 0.
265
266 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
267 (reftex-plug-into-AUCTeX): Doc fix.
268 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
269 string. Adapt to new name.
270 (reftex-ref-style-alist): Change structure so that it is not
271 possible to use multiple different package names within a style.
375e49d4
SM
272 Remove the symbols for symbols for macro type distinction.
273 Add characters for macro selection.
4f595e15
RA
274 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
275 (reftex-create-bibtex-footer): New variables.
276 (reftex-format-ref-function): Mention third argument of special
277 format function.
375e49d4
SM
278 (reftex-ref-style-alist, reftex-ref-style-default-list):
279 New variables.
4f595e15
RA
280 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
281 to new implementation. Mark as obsolete. Add compatibility code
282 for honoring the variable values in case they are set.
375e49d4
SM
283 (reftex-cite-format-builtin, reftex-bibliography-commands):
284 Add support for ConTeXt.
285 (reftex-format-ref-function, reftex-format-cite-function):
286 Fix custom type.
4f595e15
RA
287 (reftex-cite-key-separator): New variable.
288
289 * textmodes/reftex.el (reftex-syntax-table-for-bib)
290 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
291 `reftex-syntax-table' because parens have to retain their paren
292 syntax in order for parsing of BibTeX entries like @book(...) to
293 work.
294 (reftex-in-comment): Do not error out if `comment-start-skip' is
295 not set. Deal correctly with escaped comment characters.
375e49d4
SM
296 (reftex-tie-multifile-symbols): Add doc string.
297 Initialize `reftex-ref-style-list'.
4f595e15
RA
298 (reftex-untie-multifile-symbols): Add doc string.
299 (reftex-add-index-macros): Doc fix.
300 (reftex-ref-style-activate, reftex-ref-style-toggle)
301 (reftex-ref-style-list): New functions.
302 (reftex-mode-menu): Use them. Adapt to new structure of
303 `reftex-ref-style-alist'.
304 (reftex-select-with-char): Kill the RefTeX Select buffer when
305 done.
306 (reftex-remove-if): New function.
307 (reftex-erase-all-selection-and-index-buffers)
308 (reftex-mode-menu): Reference styles are now computed from
309 `reftex-ref-style-alist'. Fix typo.
310 (reftex-report-bug): New function.
311 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
312 algorithms with O(n log n). Introduce optional argument SORT (not
313 yet used).
314
440ba395
FEG
3152012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
316
317 Enhancements for triple-quote string syntax.
375e49d4
SM
318 * progmodes/python.el (python-syntax-propertize-function):
319 Match both quote cases in one regexp.
440ba395
FEG
320 (python-syntax-stringify): Handle matches properly.
321
4c478e6b
JL
3222012-09-30 Juri Linkov <juri@jurta.org>
323
324 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
325 to nil around the call to `add-text-properties' to prevent
326 directory time modification by lock_file. (Bug#2295)
327 * tar-mode.el (tar-summarize-buffer): Idem.
328
d80d54b2
JL
3292012-09-30 Juri Linkov <juri@jurta.org>
330
331 * facemenu.el (list-colors-sort): Add option "Luminance".
332 (list-colors-sort-key): Implement it.
333
334 * vc/diff-mode.el (diff-refine-removed):
335 * vc/ediff-init.el (ediff-fine-diff-A):
336 * vc/smerge-mode.el (smerge-refined-removed):
337 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
338
d7e642cc
JD
3392012-09-30 Jan Djärv <jan.h.d@swipnet.se>
340
341 * term/ns-win.el (x-file-dialog): New function.
342
ee41332b
JB
3432012-09-30 Juanma Barranquero <lekktu@gmail.com>
344
345 * ido.el (ido-max-directory-size): Default to nil; the current
346 default is small for POSIX systems, and impractical on Windows 7
347 now that lstat returns directory sizes for NTFS.
348
5938d519
MR
3492012-09-30 Martin Rudalics <rudalics@gmx.at>
350
351 In buffer display functions handle window-height/window-width
352 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
353 * window.el (window--display-buffer): New argument ALIST.
354 Obey window-height and window-width alist entries.
355 (window--try-to-split-window): New argument ALIST.
356 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
357 changed and window-combination-limit equals `window-size'.
358 (display-buffer-in-atom-window)
359 (display-buffer-in-major-side-window)
360 (display-buffer-in-side-window, display-buffer-same-window)
361 (display-buffer-reuse-window, display-buffer-pop-up-frame)
362 (display-buffer-pop-up-window, display-buffer-below-selected)
363 (display-buffer-at-bottom, display-buffer-in-previous-window)
364 (display-buffer-use-some-window): Adjust all callers of
365 window--display-buffer and window--try-to-split-window.
366 (fit-frame-to-buffer): New option.
367 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
368 is non-nil.
369 (display-buffer-in-major-side-window): Evaluate window-height /
370 window-width alist entries.
371
372 * help.el (temp-buffer-resize-frames)
373 (temp-buffer-resize-regexps): Remove options.
374 (temp-buffer-resize-mode): Adjust doc-string.
375 (resize-temp-buffer-window): Don't consult
376 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
377 temp-buffer-resize-frames.
378
375e49d4
SM
379 * dired.el (dired-mark-pop-up):
380 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
381 entry.
382
c4c0c2df
CY
3832012-09-30 Chong Yidong <cyd@gnu.org>
384
48de8b12
CY
385 * server.el (server-host): Document the security implications.
386 (server-auth-key): Doc fix.
387
388 * startup.el (initial-buffer-choice): Doc fix.
389
390 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
391
a97dc380
CY
392 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
393 restriction change.
394
d39d3c8e
CY
395 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
396
c4c0c2df
CY
397 * help-fns.el (help-fns--obsolete): Fix last change.
398
98a5e33b
SM
3992012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
400
34cf6f39
SM
401 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
402 (minor-mode-map-alist): Remove redundant code.
403
e01c13fe
SM
404 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
405 visited in a buffer.
406 (cvs-insert-visited-file): New function.
407 (find-file-hook): Use it.
408
409 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
410
02661b3a
SM
411 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
412 chose face.
413 (log-edit-empty-buffer-p): Don't require a space after a header.
414
43711d4b
SM
415 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
416
38a30d64
SM
417 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
418
4ffb41a9
SM
419 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
420 a proper minor-mode.
421
98a5e33b
SM
422 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
423
de82e29b
GM
4242012-09-29 Glenn Morris <rgm@gnu.org>
425
5cc2e639
GM
426 * winner.el (winner-mode): Remove variable (let define-minor-mode
427 handle it).
428 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
429 Doc fixes.
430 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
431 (winner-mode): Use define-minor-mode.
432
7bd302eb
GM
433 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
434 the full definition in loaddefs, rather than duplicating it.
435
2923922f 436 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 437
0e3e4156
GM
438 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
439 (inferior-lisp-program, inferior-lisp-load-command)
440 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 441 No need to autoload defcustoms.
0e3e4156 442
de82e29b
GM
443 * hippie-exp.el (hippie-expand-try-functions-list)
444 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
445 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
446 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 447 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
448 * progmodes/vhdl-mode.el (vhdl-line-expand):
449 Explicitly load hippie-exp, so it does not get autoloaded
450 while hippie-expand-try-functions-list is let-bound.
451
e60b51ab
GM
4522012-09-28 Glenn Morris <rgm@gnu.org>
453
277f0cfa
GM
454 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
455
e60b51ab
GM
456 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
457 Only "cl.el" counts as cl these days.
458
53baf48a
JL
4592012-09-28 Juri Linkov <juri@jurta.org>
460
461 Display archive errors in the echo area instead of inserting
462 to the file buffer.
463
464 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
465 to STDERR-TEST that can be a regexp matching a successful output.
466 Create a temporary file and redirect stderr to it. Search for
467 STDERR-TEST in the stderr output and display it in the echo area
468 if no match is found.
469 (archive-extract-by-file): New function like
470 `archive-extract-by-stdout' but extracting archives to files
471 and looking for successful matches in stdout. Function body is
472 mostly copied from `archive-rar-extract'.
473 (archive-rar-extract): Use `archive-extract-by-file'.
474 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
475
9c1228c3
LL
4762012-09-28 Leo Liu <sdl.web@gmail.com>
477
375e49d4
SM
478 * pcomplete.el (pcomplete-show-completions):
479 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 480
9c1228c3
LL
481 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
482
7f457c06
SM
4832012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
484
3df749b0
SM
485 * type-break.el: Use lexical-binding.
486 (type-break-mode): Use define-minor-mode.
487
7f457c06
SM
488 * emacs-lisp/pcase.el (pcase--mark-used): New.
489 (pcase--u1): Use it (bug#12512).
490
491 * custom.el (load-theme): Set buffer-file-name so the load is recorded
492 in load-history with the right file name.
493
c00ebc98
TH
4942012-09-28 Tassilo Horn <tsdh@gnu.org>
495
496 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
497 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
498 (doc-view-get-bounding-box): Make bounding box slicing work for
499 ODF and DVI documents.
500
96fb7170
GM
5012012-09-28 Glenn Morris <rgm@gnu.org>
502
503 * type-break.el (type-break-mode, type-break-interval)
504 (type-break-good-rest-interval, type-break-keystroke-threshold):
505 No need to autoload.
506 (type-break-good-rest-interval, type-break-keystroke-threshold):
507 Add :set-after.
508
5bc93c67
CY
5092012-09-28 Chong Yidong <cyd@gnu.org>
510
511 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
512 Add :version tag.
513
9cad61d6
SM
5142012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
515
e28e67b3 516 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 517
daee954c
GM
5182012-09-27 Glenn Morris <rgm@gnu.org>
519
a88324d4
GM
520 * faces.el (x-display-name): Declare (for without-x builds).
521
8e5064e5
GM
522 * linum.el (linum-format): Don't autoload it. Improve :type.
523
cc1783c2
GM
524 * progmodes/tcl.el: Don't require outline when compiling.
525 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
526 * textmodes/sgml-mode.el: Don't require outline when compiling.
527 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
528
48c339f2
GM
529 * term.el (term-ansi-reset):
530 Try setting term-ansi-face-already-done to nil. (Bug#11785)
531
daee954c
GM
532 * vc/vc.el (vc-next-action): Only gripe about committing read-only
533 files for RCS and SCCS. (Bug#9781)
534
b7f42161
CY
5352012-09-27 Chong Yidong <cyd@gnu.org>
536
537 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
538 change; value should be t.
539
a2e770db
SM
5402012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
541
83600dc8
SM
542 * image-mode.el: Use lexical-binding.
543 (image-mode-winprops): Use t to stand for the window of
544 a buffer that's not displayed.
545 * doc-view.el (doc-view-new-window-function): Handle the new
546 t in winprops.
547 (doc-view-enlarge): Make it a real nop if the size is not changed.
548 (doc-view-display): Handle the case where the buffer is not (yet?)
549 displayed in any window.
550 (doc-view-saved-settings): New var.
551 (doc-view-mode): Use it.
552 (doc-view-fallback-mode): Set it.
553
a2e770db
SM
554 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
555 Set lexical-binding.
556 (minibuffer-eldef-shorten-default): New var.
557 (minibuffer-default-in-prompt-regexps): Use it for new default.
558 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
559
e3b60857
JB
5602012-09-26 Juanma Barranquero <lekktu@gmail.com>
561
562 * international/uni-bidi.el:
563 * international/uni-category.el:
564 * international/uni-name.el:
565 * international/uni-numeric.el: Regenerate.
566
3a880af4
SM
5672012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
568 Stefan Monnier <monnier@iro.umontreal.ca>
569
570 * profiler.el: New file.
571
07b1a5fb
SM
5722012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
573
574 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
575 (testcover-reinstrument): Simplify with CSE.
576
42019c2e
JB
5772012-09-26 Juanma Barranquero <lekktu@gmail.com>
578
579 * window.el (temp-buffer-window-setup): Fix typo in docstring.
580
179f044b
WS
5812012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
582
583 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
584 (verilog-auto-input, verilog-auto-insert-lisp)
585 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
586 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
587 (verilog-auto-unused, verilog-auto-wire)
588 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
589 newline. Reported by Andrew Jones.
590 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
591 Reported by Brad Dobbie.
07b1a5fb
SM
592 (verilog-batch-delete-trailing-whitespace):
593 Create verilog-batch-delete-trailing-whitespace.
594 Reported by Brad Dobbie.
179f044b
WS
595 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
596 parameters from another module. Reported by Dan Katz.
597 (verilog-auto, verilog-auto-assign-modport)
598 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
599 AUTOINOUTMODPORT for UVM interface module shell generation.
600 Reported by Brad Dobbie.
601 (verilog-auto-inst-interfaced-ports): Make default nil, as more
602 standard behavior.
603 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
604 Reported by Matt Martin.
605
9c52dd5a
MR
6062012-09-25 Martin Rudalics <rudalics@gmx.at>
607
608 * window.el (window--resize-child-windows): When resizing child
609 windows proportionally, process them in reverse order to
610 preserve the "when splitting a window the new one gets the odd
611 line" behavior.
612 (window--resize-root-window-vertically): When resizing the
613 minibuffer window try to affect only windows at the bottom of the
614 frame. (Bug#12419)
615
863666eb
CY
6162012-09-25 Chong Yidong <cyd@gnu.org>
617
618 * subr.el (declare): Doc fix.
619
620 * help-fns.el (help-fns--obsolete): Handle macros properly.
621
59f7af81
CY
6222012-09-25 Chong Yidong <cyd@gnu.org>
623
624 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
625 this function obsolete.
626
627 * calendar/cal-x.el (calendar-two-frame-setup)
628 (calendar-only-one-frame-setup, calendar-one-frame-setup):
629 * calendar/calendar.el (american-calendar, european-calendar)
630 (calendar-for-loop):
631 * comint.el (comint-dynamic-simple-complete)
632 (comint-dynamic-complete-as-filename, comint-unquote-filename):
633 * desktop.el (desktop-load-default):
634 * dired-x.el (dired-omit-here-always)
635 (dired-hack-local-variables, dired-default-directory):
636 * emacs-lisp/derived.el (derived-mode-class):
637 * emacs-lisp/timer.el (timer-set-time-with-usecs):
638 * emacs-lock.el (toggle-emacs-lock):
639 * epa.el (epa-display-verify-result):
640 * epg.el (epg-sign-keys, epg-start-sign-keys)
641 (epg-passphrase-callback-function):
642 * eshell/esh-util.el (eshell-for):
643 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
644 (eshell-add-to-window-buffer-names):
645 * files.el (locate-file-completion):
646 * imenu.el (imenu-example--create-c-index)
647 (imenu-example--create-lisp-index)
648 (imenu-example--lisp-extract-index-name)
649 (imenu-example--name-and-position):
650 * international/mule-cmds.el (princ-list):
651 * international/mule-diag.el (decode-codepage-char):
652 * international/mule-util.el (detect-coding-with-priority):
653 * iswitchb.el (iswitchb-read-buffer):
654 * mail/mailalias.el (mail-complete):
655 * mail/sendmail.el (mail-sent-via):
656 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
657 (mouse-major-mode-menu):
658 * password-cache.el (password-read-and-add):
659 * pcomplete.el (pcomplete-parse-comint-arguments):
660 * progmodes/sh-script.el (sh-maybe-here-document):
661 * replace.el (query-replace-regexp-eval):
662 * savehist.el (savehist-load):
663 * simple.el (choose-completion-delete-max-match):
664 * term.el (term-dynamic-simple-complete):
665 * vc/ediff-init.el (ediff-check-version):
666 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
667 * vc/vc.el (vc-diff-switches-list):
668 * view.el (view-return-to-alist-update): Likewise.
669
670 * subr.el (eval-next-after-load, makehash, insert-string)
671 (assoc-ignore-representation, assoc-ignore-case): Use declare to
672 mark obsolete.
673 (mode-line-inverse-video): Variable deleted.
674
675 * international/mule-util.el (string-to-sequence): Remove.
676
677 * calendar/calendar.el (calendar-version):
678 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
679 (icalendar-convert-diary-to-ical):
680 * cus-edit.el (custom-mode):
681 * ansi-color.el (ansi-color-unfontify-region):
682 * international/latin1-disp.el (latin1-char-displayable-p):
683 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
684 * progmodes/which-func.el (which-func-update-1):
685 Use define-obsolete-function-alias.
59f7af81
CY
686
687 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
688 * net/newst-treeview.el (newsticker-groups-filename):
689 Fix incorrect obsolescence declaration.
59f7af81
CY
690
691 * allout.el (allout-passphrase-hint-string): Likewise.
692 (allout-init): Use a declare form to mark obsolete.
693
694 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
695 this applies to functions.
696
697 * iswitchb.el (iswitchb-read-buffer): Move code of
698 iswitchb-define-mode-map here, and delete that obsolete function.
699
700 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
701 font-lock-reference-face.
702
cca96c97
GM
7032012-09-25 Glenn Morris <rgm@gnu.org>
704
b06eeda8
GM
705 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
706 Doc fixes.
707
cca96c97
GM
708 * eshell/em-term.el (eshell-term-name):
709 Default to term-term-name. (Bug#12485)
710
dc4f818b
FEG
7112012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
712
cca96c97
GM
713 * progmodes/python.el (python-shell-send-buffer): Better handling
714 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 715
289c24bd
GM
7162012-09-24 Glenn Morris <rgm@gnu.org>
717
718 * eshell/esh-cmd.el (eshell-find-alias-function):
719 Tighten up file-name regexp. (Bug#12499)
720
8fb8b88f
FEG
7212012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
722
723 Enhancements for triple-quote string syntax.
724 * progmodes/python.el (python-quote-syntax): Remove.
725 (python-syntax-propertize-function): New value.
07b1a5fb
SM
726 (python-syntax-count-quotes, python-syntax-stringify):
727 New functions.
8fb8b88f 728
6c27f0f8
CY
7292012-09-24 Chong Yidong <cyd@gnu.org>
730
a5f2b6ec
CY
731 * mail/supercite.el (sc-version): Remove obsolete function.
732 (sc-describe): Don't mark as obsolete, since it is bound.
733 (sc-submit-bug-report): Remove.
734
735 * vc/log-edit.el (cvs-changelog-full-paragraphs)
736 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
737 (log-edit-require-final-newline)
738 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
739
740 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
741 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
742 * vc/vc.el (vc-checkout-carefully): Likewise.
743
744 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
745 (emerge-version): Remove.
746
747 * progmodes/compile.el (compile-internal): Remove.
748 (compilation-parse-errors-function): Fix typo.
749
750 * international/mule.el (set-char-table-default): Remove.
751 (set-coding-priority, make-coding-system, generic-char-p)
752 (charset-list, charset-bytes, charset-id): Use declare to mark
753 functions as obsolete.
754
755 * vc/pcvs-defs.el (cvs-buffer-name-alist)
756 (cvs-invert-ignore-marks): Remove references to obsolete vars.
757 * vc/vc-hooks.el (vc-default-registered): Don't use
758 vc-master-templates.
759
07b1a5fb
SM
760 * font-lock.el (font-lock-reference-face):
761 Use define-obsolete-variable-alias.
6c27f0f8
CY
762
763 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
764 * calendar/calendar.el (calendar-font-lock-keywords):
765 * calendar/diary-lib.el (diary-font-lock-keywords)
766 (diary-fancy-font-lock-keywords):
767 * textmodes/reftex-sel.el (reftex-insert-docstruct):
768 * textmodes/reftex-index.el (reftex-insert-index):
769 * textmodes/reftex-cite.el (reftex-format-bib-entry):
770 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
771 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
772 * progmodes/prolog.el (prolog-font-lock-keywords):
773 * progmodes/idlwave.el (idlwave-idl-keywords):
774 * progmodes/ada-mode.el (ada-font-lock-keywords):
775 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
776
bcc0adbf
GM
7772012-09-24 Glenn Morris <rgm@gnu.org>
778
779 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
780
095bb823
FEG
7812012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
782
783 * progmodes/python.el (python-indent-line): More consistent cursor
784 movement behavior.
785
70efc5c9
SM
7862012-09-23 Stefan Merten <smerten@oekonux.de>
787
788 * textmodes/rst.el: Fix compiler warning.
789
2f438239
RW
7902012-09-23 Roland Winkler <winkler@gnu.org>
791
07b1a5fb
SM
792 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
793 Transcribe also LaTeX hyphenation.
2f438239
RW
794 (bibtex-reformat): Bug fix. Do not quote twice the elements of
795 bibtex-reformat-previous-options.
796
936ad041
RW
7972012-09-23 Roland Winkler <winkler@gnu.org>
798
799 * proced.el (proced-renice-command): New variable.
800 (proced-marked-processes): New function.
801 (proced-with-processes-buffer): New macro.
802 (proced-send-signal): Use them.
803 (proced-renice): New command bound to r.
804
6fab0274
RW
8052012-09-23 Roland Winkler <winkler@gnu.org>
806
807 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
808 ibuffer-saved-filter-groups has one element, shortcut the call of
809 completing-read. (Bug#12331)
810
9a930676
CY
8112012-09-23 Chong Yidong <cyd@gnu.org>
812
813 * bindings.el (mode-line-toggle-read-only):
814 * bs.el (bs-toggle-readonly):
815 * buff-menu.el (Buffer-menu-toggle-read-only):
816 * dired.el (dired-toggle-read-only):
817 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
818
d07ff9db
CY
8192012-09-23 Chong Yidong <cyd@gnu.org>
820
821 * image.el (image-type-available-p): Adapt to init-image-library
822 argument changes.
823
51c4474e
JL
8242012-09-22 Juri Linkov <juri@jurta.org>
825
826 * dired.el (dired-mode-map): Add [remap read-only-mode] for
827 `dired-toggle-read-only'. (Bug#12462)
828
43bf5e8e
MR
8292012-09-22 Martin Rudalics <rudalics@gmx.at>
830
831 * subr.el (temp-output-buffer-show): New function.
832 (with-output-to-temp-buffer): Call temp-output-buffer-show
833 instead of internal-temp-output-buffer-show.
834
c88b867f
CY
8352012-09-22 Chong Yidong <cyd@gnu.org>
836
3df47cd5
CY
837 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
838 (Bug#12462).
839
c88b867f
CY
840 * repeat.el (repeat): Doc fix (Bug#12348).
841
842 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
843 (Bug#10909).
844
845 * simple.el (shell-command-on-region): Doc fix.
3171e303 846 (read-only-mode): Doc fix.
c88b867f 847
df9685f3
EZ
8482012-09-22 Eli Zaretskii <eliz@gnu.org>
849
850 * emacs-lisp/timer.el (run-with-idle-timer)
851 (timer-activate-when-idle): Warn against reinvoking an idle timer
852 from within its own timer action. (Bug#12447)
853
8e17c9ba
MR
8542012-09-22 Martin Rudalics <rudalics@gmx.at>
855
856 * cus-start.el (window-combination-limit): Add new optional
857 values.
858 * window.el (temp-buffer-window-show)
859 (window--try-to-split-window): Handle new values of
860 window-combination-limit (Bug#1806).
861 (split-window): Test window-combination-limit for t instead of
862 non-nil.
863 (display-buffer-at-bottom): New buffer display action function.
864 * help.el (temp-buffer-resize-regexps): New option.
865 (temp-buffer-resize-mode): Rewrite doc-string.
866 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 867 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 868
48a24920
SM
8692012-09-22 Stefan Merten <smerten@oekonux.de>
870
70efc5c9 871 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
872 (rst-official-version)
873 (rst-package-emacs-version-alist): Sync with official version
874 V1.4.0.
875 (rst-faces-defaults, rst-set-level-default)
876 (rst-level-face-max, rst-level-face-base-color)
877 (rst-level-face-base-light, rst-level-face-format-light)
878 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
879 (rst-adornment-faces-alist): Match new setup.
880 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
881 (rst-level-5, rst-level-6): New faces.
882
82f8cd94
CY
8832012-09-22 Chong Yidong <cyd@gnu.org>
884
885 * simple.el (undo): Handle indirect buffers (Bug#8207).
886
acfa068f 8872012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
888
889 IDO: Disable match re-ordering for buffer switching.
2bc9406c 890 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
891 (ido-set-matches-1): Use it. (Bug#2042)
892
acfa068f 8932012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
894
895 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
896 Fix 2011-05-17 change. (Bug#12418)
897
acfa068f 8982012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
899
900 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
901
acfa068f 9022012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
903
904 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
905 Be more robust about locating simple.el.
906
acfa068f 9072012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
908
909 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
910
acfa068f
CY
9112012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
912
913 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
914
41a97e6f
JL
9152012-09-20 Juri Linkov <juri@jurta.org>
916
eb2deaff
JL
917 * replace.el (query-replace-read-from): Use `read-regexp' instead
918 of `read-from-minibuffer' when `regexp-flag' is non-nil.
919 (occur-read-primary-args): Use `read-regexp' instead of
920 `read-string'.
921 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
922 `read-from-minibuffer'.
923 * isearch.el (isearch-occur): Use `read-regexp' instead of
924 `read-string'.
925 * dired.el (dired-read-regexp): Use `read-regexp' instead of
926 `read-from-minibuffer'.
927 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
928 of `read-string'. (Bug#7567)
929
5825610b
JL
930 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
931 and allow accepting a list of strings prepended to a list of
932 standard default values. Doc fix. (Bug#12321)
933
eebbf404
JL
934 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
935
41a97e6f
JL
936 * replace.el (read-regexp): Don't add ": " when PROMPT already
937 ends with a colon and space. (Bug#12321)
938
c9e452d3
TH
9392012-09-20 Tassilo Horn <tsdh@gnu.org>
940
941 * doc-view.el (doc-view-display): Better fix for the cl-assertion
942 error.
943
ee97deee
SM
9442012-09-20 Stefan Merten <smerten@oekonux.de>
945
70efc5c9 946 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
947 Fixes feature request bug#11711.
948 (rst-mode): Create `imenu-create-index-function'.
949 (rst-get-stripped-line): Delete after refactoring.
950 (rst-section-tree, rst-section-tree-rec)
951 (rst-section-tree-point): Refactor and document properly.
952 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
953 (rst-imenu-convert-cell, rst-imenu-create-index):
954 New function.
ee97deee 955
f490dab9
SM
9562012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
957
95b9712e
SM
958 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
959 (macroexp--expand-all): Use it.
960 (macroexp--funcall-and-return): Remove by folding it into its sole
961 caller (macroexp--warn-and-return).
962 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
963 Use macroexp--obsolete-warning.
964
f490dab9
SM
965 * calc/calc.el: Fix last change by removing the whole chunk, since it
966 was only needed back when Calc was not bundled.
967
96e8d411
MR
9682012-09-20 Martin Rudalics <rudalics@gmx.at>
969
970 * emacs-lisp/debug.el (debug): Restore assignment to
971 debugger-old-buffer removed on 2012-09-08.
972
0876a82d
JL
9732012-09-20 Juri Linkov <juri@jurta.org>
974
975 * dired-aux.el (dired-diff): Remove (require 'diff) since
976 `diff-latest-backup-file' is now autoloaded.
977
9f7c28f0
CY
9782012-09-20 Chong Yidong <cyd@gnu.org>
979
980 * vc/diff.el (diff-latest-backup-file): Autoload.
981
7a04bee9
SM
9822012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
983
e6f0a80d
SM
984 * calc/calc.el: Remove redundant autoload shape check.
985 (sel-mode): Don't defvar.
986 (calc-get-stack-element): Add `sel-mode' arg instead.
987 (calc-top, calc-top-list): Pass it this additional argument.
988 * calc/calc-store.el (calc-store-map):
989 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
990 (calc-map-equation, calc-outer-product, calc-inner-product):
991 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
992
7a04bee9
SM
993 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
994
12734222
JL
9952012-09-19 Juri Linkov <juri@jurta.org>
996
997 * dired-aux.el (dired-diff): Add (require 'diff) because
998 `diff-latest-backup-file' is not autoloaded.
999 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1000 of `dired-get-filename' to t to not report error when there is
1001 no default file on the current line.
1002
46624b4f
SM
10032012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1004
ce97595b
SM
1005 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1006 macroexp--eval-if-compile.
1007 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1008 (macroexp--expand-all): Use them (bug#12371).
1009
46624b4f
SM
1010 * doc-view.el (doc-view-guess-paper-size)
1011 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1012
db8a5a18
TH
10132012-09-19 Tassilo Horn <tsdh@gnu.org>
1014
1015 New feature: set optimal slice from BoundingBox information.
1016 * doc-view.el (doc-view-mode-map): Add keybinding.
1017 (doc-view-menu): Add menu entry.
1018 (doc-view-set-slice): Adapt docstring.
1019 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1020 (doc-view-scale-bounding-box)
1021 (doc-view-set-slice-from-bounding-box): New functions.
1022 (doc-view-paper-sizes): New defvar.
1023
69f6644c
GM
10242012-09-19 Glenn Morris <rgm@gnu.org>
1025
35f5b19d
GM
1026 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1027 (byte-compile-log-warning): Autoload. (Bug#12371)
1028
69f6644c
GM
1029 * calendar/calendar.el (calendar-american-month-header)
1030 (calendar-european-month-header, calendar-iso-month-header)
1031 (calendar-month-header): New options.
1032 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1033 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1034
e543ae91
JD
10352012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1036
1037 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1038
2fd5e67d
JL
10392012-09-18 Juri Linkov <juri@jurta.org>
1040
1041 * dired-aux.el (dired-diff): Restore original functionality of
1042 getting the default value, but keep new feature of using the
1043 latest existing backup file (`diff-latest-backup-file').
1044
42917e79
JL
10452012-09-18 Juri Linkov <juri@jurta.org>
1046
1047 * dired.el (dired-mark): If the region is active in Transient Mark
1048 mode, mark all files in the active region. Doc fix.
1049 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1050 Doc fix. (Bug#10624)
1051
20f70ede
JL
10522012-09-18 Juri Linkov <juri@jurta.org>
1053
1054 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1055 attributes for M-n are pulled from the file at point.
1056 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1057 Suggested by Drew Adams. (Bug#10624)
1058
32fb8162
DG
10592012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1060
1061 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1062 whitespace after "end".
1063 (ruby-do-end-to-brace): Collapse block to one line if it fits
1064 within fill-column.
1065
37ab5092
MR
10662012-09-18 Martin Rudalics <rudalics@gmx.at>
1067
1068 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1069 value.
1070 (debug): Don't remove debugger window when debugger is expected
1071 to be back.
1072
ed1f0bd3
CY
10732012-09-18 Chong Yidong <cyd@gnu.org>
1074
1075 * custom.el (defface): Doc fix.
1076
1077 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1078
a11035b8
MB
10792012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1080
1081 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1082 to initialize query-on-exit; then test that instead (bug#12288).
1083
64f6a736
SM
10842012-09-17 Stefan Merten <smerten@oekonux.de>
1085
70efc5c9 1086 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1087 (rst-defcustom-testcover, rst-testcover-add-compose)
1088 (rst-testcover-add-1value): New functions.
1089 (rst-portable-mark-active-p): Replace by `use-region-p'.
1090 (rst-update-section, rst-classify-adornment)
1091 (rst-find-title-line): Mark `1value' forms.
1092 (rst-classify-adornment): Remove superfluous form.
1093 (rst-update-section, rst-get-adornments-around)
1094 (rst-adornment-complete-p, rst-get-next-adornment)
1095 (rst-adjust, rst-promote-region)
1096 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1097 (rst-find-pfx-in-region, rst-section-tree-rec)
1098 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1099 (rst-toc-node, rst-toc, rst-forward-section)
1100 (rst-iterate-leftmost-paragraphs)
1101 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1102 (rst-bullet-list-region)
1103 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1104 (rst-compile-find-conf, rst-compile)
1105 (rst-repeat-last-character): Fix style.
1106
580bd868
CY
11072012-09-17 Chong Yidong <cyd@gnu.org>
1108
1109 * comint.el (comint--complete-file-name-data): Don't add a space
1110 if the status is `sole'; that adds a gratuitous space in the
1111 completion-cycling case (Bug#12092).
1112
1113 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1114
69de3ec6
RS
11152012-09-17 Richard Stallman <rms@gnu.org>
1116
0dee970c
RS
1117 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1118 only in the mime-shown mode, not in raw mode.
1119 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1120 mime processing. (Bug#12305)
0dee970c 1121
6b250df6
GM
1122 * mail/rmail.el (rmail-retry-failure):
1123 Turn off mime processing first. (Bug#12037)
acb1c47b 1124
69de3ec6
RS
1125 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1126
d079ee5f
CY
11272012-09-17 Chong Yidong <cyd@gnu.org>
1128
1129 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1130 (shell-dynamic-complete-functions): Convert to defcustom.
1131 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1132
865fe16f
CY
1133 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1134 * comint.el (comint-prompt-read-only):
1135 * custom.el (defcustom):
1136 * hi-lock.el (hi-lock-mode):
1137 * ibuffer.el (ibuffer-formats):
1138 * ielm.el (ielm-prompt-read-only):
1139 * novice.el (disable-command):
1140 * saveplace.el (toggle-save-place):
1141 * speedbar.el (speedbar-supported-extension-expressions):
1142 * startup.el (auto-save-list-file-prefix, init-file-user)
1143 (after-init-hook, inhibit-startup-echo-area-message):
1144 * strokes.el (strokes-help):
1145 * time-stamp.el (time-stamp):
1146 * calendar/calendar.el (calendar, diary-file):
1147 * calendar/diary-lib.el (diary-mail-entries, diary)
1148 (diary-list-entries-hook):
1149 * calendar/holidays.el (holidays, calendar-holidays):
1150 * calendar/lunar.el (lunar-phases):
1151 * calendar/solar.el (sunrise-sunset):
1152 * emulation/edt.el (edt-load-keys):
1153 * emulation/viper.el (viper-mode):
1154 * eshell/em-alias.el (eshell-command-aliases-list):
1155 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1156 * international/ogonek.el (ogonek-information):
1157 * net/tramp-cmds.el (tramp-bug):
1158 * net/quickurl.el (quickurl-reread-hook-postfix):
1159 * play/decipher.el (decipher-font-lock-keywords):
1160 * progmodes/cc-styles.el (c-set-style):
1161 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1162 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1163 * progmodes/octave-mod.el (octave-mode):
1164 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1165 * progmodes/verilog-mode.el (verilog-read-defines):
1166 * textmodes/two-column.el (2C-mode): Likewise.
1167
48093eb9
KY
11682012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1169
1170 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1171 that holds many addresses.
1172
c584eaf9
CY
11732012-09-16 Chong Yidong <cyd@gnu.org>
1174
40d70ecb
CY
1175 * align.el (align-areas): Call the indication function with
1176 positions instead of markers for arguments (Bug#12343).
1177
1667e065
CY
1178 * files.el (parse-colon-path): Use split-string (Bug#12351).
1179
fdc2806d 1180 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1181 (display-buffer-function): Mark as obsolete.
fdc2806d 1182
f1be615c 1183 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1184 values similar to font-lock-keywords (Bug#12136).
1185 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1186 (compilation-error-regexp-alist): Doc fix.
1187
f40a9709
GM
11882012-09-15 Glenn Morris <rgm@gnu.org>
1189
72aa16e1
GM
1190 * version.el (emacs-bzr-version-bzr): New function.
1191 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1192
82375160
GM
1193 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1194 checkouts, check the parent dirstate matches the branch.
1195 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1196 empty string.
1197
f40a9709
GM
1198 * version.el (emacs-bzr-version): Doc fix.
1199 (emacs-bzr-version-dirstate): New function.
1200 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1201 is local try and check that it matches the branch. If not, just
1202 use dirstate information. (Bug#12441)
1203
cb26b7f5
JL
12042012-09-14 Juri Linkov <juri@jurta.org>
1205
1206 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1207 (Bug#12399)
1208
2de39f08
SM
12092012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1210
0fb3cb7c
SM
1211 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1212
2de39f08
SM
1213 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1214 Remove obsolete byte-compiler hack that tried to silence some warnings.
1215 (edebug-submit-bug-report): Remove.
1216 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1217 Remove aliases, use the un-prefixed name instead.
1218 (edebug-pop-to-buffer): Consider other frames.
1219 (edebug-original-read):: Make it more obvious that it's always defined.
1220 (edebug--make-form-data-entry, edebug--form-data-name)
1221 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1222 single-dashed name, and implement with cl-defstruct.
1223 (edebug-set-form-data-entry): Use the standard accessors.
1224 (edebug-make-top-form-data-entry): Use push.
1225 (edebug-no-match): Drop useless `funcall'.
1226 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1227 to functions.
1228 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1229 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1230 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1231 (easy-menu-define, with-custom-print): Remove redundant specs.
1232 (edebug-outside-overriding-local-map)
1233 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1234 (edebug--display): Bind unread-command-events directly to nil rather
1235 than binding it to unread-command-events and later setting it to nil.
1236 (edebug--display): Kill edebug-eval-buffer here...
1237 (edebug--recursive-edit): ...rather than here.
1238 Bind standard-output and standard-input.
1239 (edebug-eval): Check cl-macroexpand-all is fboundp.
1240 (edebug-temp-display-freq-count): Fix last change.
1241
1242 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1243 * subr.el (noreturn, 1value): Add `debug' spec.
1244 * emacs-lisp/advice.el: Require cl-lib.
1245 (ad-copy-tree): Remove, use copy-tree instead.
1246 (ad-dolist): Remove use dolist or cl-dolist instead.
1247 (ad-do-return): Remove, use cl-return instead.
1248 (defadvice): Add `debug' spec.
1249
5b68b333
JL
12502012-09-13 Juri Linkov <juri@jurta.org>
1251
1252 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1253 (Bug#12399)
1254
b9800ec4
GM
12552012-09-13 Glenn Morris <rgm@gnu.org>
1256
6a2e6868
GM
1257 * calc/calc.el (math-compose-expr):
1258 * calc/calc-ext.el (math-compose-expr):
1259 * progmodes/cc-defs.el (cl-macroexpand-all):
1260 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1261 (cl-macroexpand-all): Update declarations.
1262
b9800ec4
GM
1263 * vc/vc.el: No need to require ediff.
1264 (ediff-load-version-control): Declare.
1265 (ediff-vc-internal): Fix declaration.
1266 (vc-version-ediff): Require ediff.
1267
c18e885b
PE
12682012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1269
1270 Use a more backwards-compatible timer format (Bug#12430).
1271 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1272 being right after USECS, as that better supports old code that
1273 inadvisedly looked directly at the timer vector.
1274
d607d303
KH
12752012-09-13 Kenichi Handa <handa@gnu.org>
1276
1277 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1278 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1279 `coding-priority' property of these language environment.
1280
72eac303
PE
12812012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1282
1283 Fix glitches caused by addition of psec to timers (Bug#12430).
1284 * image.el (image-animate-timer):
1285 * time.el (display-time-world-timer):
1286 Use timer--function and timer--args rather than raw access to
1287 timer vector.
1288
2168fe4f
GM
12892012-09-13 Glenn Morris <rgm@gnu.org>
1290
1291 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1292 If not compiling a file, try using load-file-name.
1293
bd8d6108
SM
12942012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1295
c0c54fbd
SM
1296 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1297 Fix last change.
1298 (edebug-update-eval-list): Use `push'.
1299
bd8d6108
SM
1300 * emacs-lisp/edebug.el: Use lexical-binding.
1301 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1302 Mark unused args with underscore.
1303 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1304 (edebug-form-data): Use defvar-local.
1305 (edebug-make-before-and-after-form, edebug-make-after-form):
1306 Use backquote.
1307 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1308 Not dynamically scoped any more.
1309 (edebug--enter-trace): Add arguments `function' and `args'.
1310 Rename from edebug-enter-trace.
1311 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1312 (edebug--update-coverage): Add `after-index' and `value' args.
1313 Rename from edebug-update-coverage.
1314 (edebug-slow-after): Call it accordingly.
1315 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1316 edebug-recursive-edit.
1317 (edebug--display): Call it accordingly. Add args `value',
1318 `offset-index', and `arg-mode'. Rename from edebug-display.
1319 (edebug-debugger, edebug): Call it accordingly.
1320 (edebug-eval-display-list): Use dolist.
1321
a9f9d9de
JL
13222012-09-12 Juri Linkov <juri@jurta.org>
1323
1324 * info.el (Info-search): Don't check for isearch-mode and
1325 isearch-regexp before let-binding search-spaces-regexp to
1326 Info-search-whitespace-regexp.
1327 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1328 search-whitespace-regexp if isearch-lax-whitespace or
1329 isearch-regexp-lax-whitespace is non-nil.
1330 (Info-mode): Don't set local variable search-whitespace-regexp.
1331 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1332
bfeae2cf
SM
13332012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1334
1335 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1336 (debugger-env-macro): Remove support for unread-command-char.
1337
1338 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1339 the temporary map re-appearing on emulation-mode-map-alists.
1340
1341 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1342 since 22.1.
1343
1344 * ehelp.el (with-electric-help): Accept functions in
1345 electric-help-form-to-execute.
1346 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1347 And replace unread-command-char -> unread-command-events.
1348
fbbcaf1b
MA
13492012-09-12 Michael Albinus <michael.albinus@gmx.de>
1350
1351 Sync with Tramp 2.2.6.
1352
1353 * net/tramp.el (tramp-accept-process-output): Don't use
1354 JUST-THIS-ONE in the XEmacs case.
1355
1356 * net/trampver.el: Update release number.
1357
4dece104
MR
13582012-09-12 Martin Rudalics <rudalics@gmx.at>
1359
bfeae2cf
SM
1360 * emacs-lisp/debug.el (debugger-previous-window-height):
1361 New variable.
4dece104
MR
1362 (debug): When debugger-jumping-flag is non-nil try to restore
1363 height of debugger window. (Bug#8789)
1364
45b82ad0
SM
13652012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1366
60c49c0f
SM
1367 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1368 overriding-local-map and pre/post-command-hook here.
1369 (edebug-recursive-edit): Do it here instead (bug#12345).
1370 (edebug-outside-unread-command-char): Remove all uses of
1371 unread-command-char.
1372
45b82ad0
SM
1373 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1374 inhibit-debugger is bound instead.
1375
baa26ea0
BG
13762012-09-11 Bastien Guerry <bzg@gnu.org>
1377
1378 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1379 (Bug#12346)
baa26ea0 1380
04e8abfa
BG
13812012-09-11 Bastien Guerry <bzg@gnu.org>
1382
96d03571 1383 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1384 (Bug#12347)
96d03571
BG
1385
13862012-09-11 Bastien Guerry <bzg@gnu.org>
1387
fc0c31f8 1388 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1389
04e082b0
MM
13902012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1391
1392 * progmodes/sql.el: Version 3.1
1393 (sql-db2-escape-newlines): New variable.
1394 (sql-escape-newlines-filter): Use it.
1395
399a361b
JB
13962012-09-10 Juanma Barranquero <lekktu@gmail.com>
1397
1398 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1399
0780c517
DN
14002012-09-10 Dan Nicolaescu <dann@gnu.org>
1401
45b82ad0
SM
1402 * vc/diff-mode.el (diff-mode-menu):
1403 Bind diff-remove-trailing-whitespace.
0780c517 1404
9b851e25
SM
14052012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1406
1407 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1408 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1409 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1410 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1411 (eval-defun-2): Remove bogus interactive spec.
1412 (lisp-indent-line): Remove redundant whole-exp code, now done in
1413 indent-according-to-mode.
1414 (save-match-data): Remove redundant indent data.
1415
1416 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1417 Use `declare'.
1418
3231d532
JL
14192012-09-09 Juri Linkov <juri@jurta.org>
1420
1421 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1422 (replace-lax-whitespace, query-replace-regexp)
1423 (query-replace-regexp-eval, replace-regexp): Doc fix.
1424 (perform-replace, replace-highlight): Let-bind
1425 isearch-lax-whitespace to replace-lax-whitespace and
1426 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1427
1428 * isearch.el (isearch-query-replace): Let-bind
1429 replace-lax-whitespace to isearch-lax-whitespace and
1430 replace-regexp-lax-whitespace to
1431 isearch-regexp-lax-whitespace. (Bug#10885)
1432
70fe8236
SM
14332012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1436
8ed43f15
AM
14372012-09-09 Alan Mackenzie <acm@muc.de>
1438
70fe8236
SM
1439 * progmodes/cc-engine.el (c-state-cache-init):
1440 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1441 (c-record-parse-state-state):
1442 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1443
bfabf70a
AS
14442012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1445
1446 * register.el (register-separator): Rename from
1447 separator-register. All uses changed. Doc fix.
1448 (register): Fix version.
1449
011474aa
CY
14502012-09-09 Chong Yidong <cyd@gnu.org>
1451
1452 * replace.el (query-replace-map): Bind four new symbols for
1453 requesting window scrolling.
1454
1455 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1456 query-replace-map (Bug#8948).
1457
1458 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1459
1460 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1461 since they are now in query-replace-map.
1462
1463 * window.el (scroll-other-window-down): Make the arg optional.
1464
a8b7cd8d
CY
14652012-09-09 Chong Yidong <cyd@gnu.org>
1466
1467 * files.el (hack-local-variables-confirm): Use quit-window to kill
1468 the *Local Variables* buffer.
1469
c3268831
DG
14702012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1471
1472 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1473 not just expect to be at its beginning. Adjust callees.
1474 Succeed when do-end block has no space before the pipe character.
1475 (ruby-brace-to-do-end): When the original block is one-liner,
1476 convert to multiline. Reindent the result.
1477
0979429b
J
14782012-09-08 Jambunathan K <kjambunathan@gmail.com>
1479
1480 * register.el (register): New group.
1481 (register-separator): New user option.
1482 (increment-register): Route it to `append-to-register', if
1483 register contains text. Implication is that `C-x r +' can now be
1484 used for appending to a text register (bug#12217).
1485 (append-to-register, prepend-to-register): Add separator based on
1486 `register-separator.
1487
ace2989a
AM
14882012-09-08 Alan Mackenzie <acm@muc.de>
1489
1490 AWK Mode: make auto-newline work when there's "==" in the pattern.
1491 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1492 correctly.
0979429b
J
1493 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1494 Test more rigorously for "=" token.
ace2989a 1495
616c6c36
DG
14962012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1497
0979429b
J
1498 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1499 Only fail when reached LIMIT.
616c6c36 1500
35d98877
CY
15012012-09-08 Chong Yidong <cyd@gnu.org>
1502
1503 * dired.el (dired-mode-map): Don't bind M-=.
1504
1505 * dired-aux.el (dired-diff): Use backup file as default.
1506
1715f2db
DA
15072012-09-08 Drew Adams <drew.adams@oracle.com>
1508
1509 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1510
6dcef6ec
CY
15112012-09-08 Chong Yidong <cyd@gnu.org>
1512
1513 * subr.el (syntax-after, syntax-class): Doc fix.
1514
fa2bcf43
MR
15152012-09-08 Martin Rudalics <rudalics@gmx.at>
1516
1517 * window.el (display-buffer-in-previous-window): New buffer
1518 display action function.
1519
1520 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1521 (debugger-previous-window): New variable.
1522 (debug): Rewrite using display-buffer-in-previous-window,
1523 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1524
daac280a
SM
15252012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1526
1527 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1528
9dd40b00
MM
15292012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1530
daac280a
SM
1531 * progmodes/python.el (python-shell-send-string):
1532 When default-directory is remote, create temp file on remote
9dd40b00
MM
1533 filesystem.
1534 (python-shell-send-file): When file is remote, pass local view of
1535 file paths to remote Python interpreter. (Bug#12340)
1536
145823ec
CY
15372012-09-07 Chong Yidong <cyd@gnu.org>
1538
cee2e90d
CY
1539 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1540
0d7eb2ea
CY
1541 * files.el (after-find-file): Don't fail on a read-only buffer if
1542 require-final-newline is `visit' or `visit-save' (Bug#11156).
1543
145823ec
CY
1544 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1545
daac280a
SM
1546 * userlock.el (ask-user-about-supersession-threat):
1547 Use read-char-choice (Bug#12093).
145823ec 1548
74c582e6
CY
15492012-09-07 Chong Yidong <cyd@gnu.org>
1550
e5c2edf7
CY
1551 * subr.el (buffer-narrowed-p): New function.
1552
1553 * ses.el (ses-widen):
1554 * simple.el (count-words--buffer-message):
1555 * net/browse-url.el (browse-url-of-buffer): Use it
1556
1557 * simple.el (count-words-region): Don't signal an error if there
1558 is a non-nil prefix arg and the mark is not set.
c640e87d 1559
74c582e6
CY
1560 * help.el (describe-key-briefly): Allow the message to be seen
1561 when invoked from the minibuffer (Bug#7014).
1562
d81ceaaf
DG
15632012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1564
1565 * progmodes/ruby-mode.el (ruby-end-of-defun)
1566 (ruby-beginning-of-defun): Simplify, allow indentation before
1567 block beginning and end keywords.
8f06acce
DG
1568 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1569 (ruby-end-of-defun): Expect that the point is at the beginning of
1570 the defun.
d81ceaaf 1571
d458ef98
SM
15722012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1575 (bug#12367).
1576 (cl--make-usage-args): Strip _ from argument names.
1577
20367d28
RS
15782012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1579
1580 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1581 obsolete alias speedbar-key-map.
1582 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1583 (vhdl-index-menu-init): Don't use obsolete variable
1584 font-lock-maximum-size.
1585
3424a4f6
CY
15862012-09-06 Chong Yidong <cyd@gnu.org>
1587
1588 * frame.el (window-system-version): Mark as obsolete.
1589
fcbfbdea
CY
1590 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1591 of obsolete variable speedbar-key-map.
1592
826b3235
JL
15932012-09-06 Juri Linkov <juri@jurta.org>
1594
1595 * replace.el (replace-lax-whitespace): New defcustom.
1596 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1597 (replace-string, replace-regexp): Mention it in docstrings.
1598 (perform-replace, replace-highlight): Let-bind
1599 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1600 to the values of replace-lax-whitespace and regexp-flag.
1601 Don't let-bind search-whitespace-regexp. (Bug#10885)
1602
1603 * isearch.el (isearch-query-replace): Let-bind
1604 replace-lax-whitespace instead of let-binding
1605 replace-search-function and replace-re-search-function.
1606 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1607 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1608 (isearch-toggle-symbol): Set isearch-regexp to nil
1609 in isearch-word mode (like in isearch-toggle-word).
1610
1ec5e41d
JL
16112012-09-06 Juri Linkov <juri@jurta.org>
1612
1613 * replace.el (replace-search-function)
1614 (replace-re-search-function): Set default values to nil.
1615 (perform-replace): Let-bind isearch-related variables based on
1616 replace-related values, call `isearch-search-fun' and let-bind
1617 the result to `search-function'. Remove code that sets
1618 `search-function' and `search-string' separately for
1619 `delimited-flag'.
1620 (replace-highlight): Add new argument `delimited-flag' and
1621 rename other arguments to the names used in `perform-replace'.
1622 Let-bind `isearch-word' to the argument `delimited-flag'.
1623 (Bug#10885, bug#10887)
1624
0ba2d4b6
DG
16252012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1626
1627 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1628 ruby-beginning-of-indent, simplify, allow all keywords to have
1629 indentation before them.
1630 (ruby-beginning-of-indent): Adjust for above. Search until the
1631 found point is not inside a string or comment.
1632 (ruby-font-lock-keywords): Allow symbols to start with "@"
1633 character, give them higher priority than variables.
1634 (ruby-syntax-propertize-function)
1635 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1636 matchers. Expression expansions are not comments when inside a
1637 string, and there comment syntax status is irrelevant.
1638 (ruby-match-expression-expansion): New function. Check that
1639 expression expansion is inside a string, and it's not escaped.
1640 (ruby-font-lock-keywords): Use it.
1641
ef654460
MR
16422012-09-05 Martin Rudalics <rudalics@gmx.at>
1643
1644 * help.el (temp-buffer-max-height): New default value.
1645 (temp-buffer-resize-frames): New option.
1646 (resize-temp-buffer-window): Optionally resize frame.
1647
1648 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1649 (fit-frame-to-buffer): New function.
1650
7e570fbf 16512012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1652
1653 * emulation/cua-rect.el (cua--init-rectangles):
1654 * textmodes/picture.el (picture-mode-map):
1655 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1656 like forward-char and backward-char. (Bug#12317)
1657
7e570fbf 16582012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1659
1660 * progmodes/flymake.el (flymake-warning-re): New variable.
1661 (flymake-parse-line): Use it.
1662
7e570fbf 16632012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1664
1665 * calendar/holidays.el (holiday-christian-holidays):
1666 Rename an entry. (Bug#12289)
1667
7e570fbf 16682012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1669
1670 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1671 (bug#12222).
1672
972debf2
SM
16732012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * loadup.el: Load macroexp. Remove hack.
1676 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1677 (macroexp--expand-all): Use it to get better warnings.
1678 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1679 (internal-macroexpand-for-load): New functions.
1680 (macroexp--pending-eager-loads): New var.
1681 (emacs-startup-hook): New hack to replace one in loadup.el.
1682 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1683 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1684 (cl-psetf): Simplify.
1685 (cl-defstruct): Add indent rule.
1686
8ce192e3
LI
16872012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1688
1689 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1690 over `user-mail-address' for the SMTP MAIL FROM envelope.
1691 (smtpmail-via-smtp): Ditto.
1692
6578b4d8
DG
16932012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1694
1695 * progmodes/ruby-mode.el: Clean up keybindings.
1696 (ruby-mode-map): Don't bind ruby-electric-brace,
1697 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1698 backward-kill-word, reindent-then-newline-and-indent.
1699 (ruby-mark-defun): Remove.
1700 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1701 (ruby-mode): Set local beginning-of-defun-function and
1702 end-of-defun-function values.
1703
c5e28e39
MR
17042012-09-03 Martin Rudalics <rudalics@gmx.at>
1705
1706 * window.el (temp-buffer-window-setup-hook)
1707 (temp-buffer-window-show-hook): New hooks.
1708 (temp-buffer-window-setup, temp-buffer-window-show)
1709 (with-temp-buffer-window): New functions.
972debf2
SM
1710 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1711 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1712
1713 * help.el (temp-buffer-resize-mode): Fix doc-string.
1714 (resize-temp-buffer-window): New optional argument WINDOW.
1715
1716 * files.el (recover-file, save-buffers-kill-emacs):
1717 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1718
73406194
MA
17192012-09-02 Michael Albinus <michael.albinus@gmx.de>
1720
1721 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1722 remote definition of `default-directory', ensure we can connect.
1723
63dd1c6f
JL
17242012-09-02 Juri Linkov <juri@jurta.org>
1725
1726 Toggle whitespace matching mode with M-s SPC.
1727 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1728
1729 * isearch.el (search-whitespace-regexp): Doc fix.
1730 Remove cons cell customization.
1731 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1732 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1733 New variables.
1734 (isearch-forward, isearch-forward-regexp): Doc fix.
1735 (isearch-toggle-lax-whitespace): New command.
1736 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1737 (re-search-forward-lax-whitespace)
1738 (re-search-backward-lax-whitespace): New functions.
1739 (isearch-whitespace-regexp): Remove function.
1740 (isearch-query-replace): Let-bind replace-search-function and
1741 replace-re-search-function.
1742 (isearch-occur): Let-bind search-spaces-regexp according to the
1743 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1744 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1745 condition for C-q SPC.
1746 (isearch-search-fun-default): Use new functions mentioned above.
1747 (isearch-search-forward, isearch-search-backward): Remove functions.
1748 (isearch-search): Don't let-bind search-spaces-regexp.
1749 (isearch-lazy-highlight-space-regexp): Remove variable.
1750 (isearch-lazy-highlight-lax-whitespace)
1751 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1752 (isearch-lazy-highlight-new-loop): Use them.
1753 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1754
af7dda05
CY
17552012-09-02 Chong Yidong <cyd@gnu.org>
1756
1757 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1758
d67d3afd
GM
17592012-09-02 Glenn Morris <rgm@gnu.org>
1760
1761 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1762
69678719
GM
17632012-09-01 Glenn Morris <rgm@gnu.org>
1764
1765 * term.el: Tidy up menu definitions.
1766 (term-mode-map): Use easymenu for In/Out, Complete menus.
1767 (term-pager-break-map): Initialize in the defvar.
1768 (term-terminal-menu, term-signals-menu): Define with easymenu.
1769 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1770 (term-pager-menu): New, extracted from term-process-pager.
1771 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1772 (term-update-mode-line): Propertize line/char and page items.
1773 (term-process-pager): Move keymap initialization elsewhere.
1774
78dd6ab1
MR
17752012-09-01 Martin Rudalics <rudalics@gmx.at>
1776
1777 * window.el (switch-to-prev-buffer): Handle additional values of
1778 BURY-OR-KILL argument. Don't switch in minibuffer window.
1779 (switch-to-next-buffer): Don't switch in minibuffer window.
1780 (quit-restore-window): New function based on quit-window.
1781 Handle additional values of former KILL argument.
1782 (quit-window): Call quit-restore-window with appropriate
1783 interpretation of KILL argument.
1784 (display-buffer-below-selected): New buffer display action
1785 function.
1786
3d10e134
SM
17872012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * minibuffer.el (completion-at-point-functions): Complete docstring
1790 (bug#12254).
1791
0e23ef9d
PE
17922012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1793
1794 Better seed support for (random).
1795 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1796 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1797 * play/mpuz.el, play/tetris.el, play/zone.el:
1798 * calc/calc-comb.el (math-init-random-base):
1799 * play/blackbox.el (bb-init-board):
1800 * play/life.el (life):
1801 * server.el (server-use-tcp):
1802 * type-break.el (type-break):
1803 Remove unnecessary call to (random t).
1804 * net/sasl.el (sasl-unique-id-function):
1805 Change (random t) to (random), now that the latter is more random.
1806 * play/life.el (life-initialized): Remove no-longer-needed var.
1807
862382df
MR
18082012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1809
1810 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1811 Consider frame's buffer predicate when choosing the buffer.
1812 (Bug#12081)
1813
262a66e1
RS
18142012-08-30 Richard Stallman <rms@gnu.org>
1815
1816 * simple.el (special-mode-map): Delete binding for `z'.
1817
f17e1d00
AS
18182012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1819
1820 * progmodes/compile.el (compilation-always-kill): Doc fix.
1821
24777832
CY
18222012-08-30 Chong Yidong <cyd@gnu.org>
1823
1824 * window.el (display-buffer-reuse-frames): Make the obsolescence
1825 message more informative.
1826
69ba1f04
GM
18272012-08-30 Glenn Morris <rgm@gnu.org>
1828
1829 * paren.el (show-paren-delay):
1830 Add a :set function. Doc fix. (Bug#12297)
1831
f0019ede
MB
18322012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1833
1834 * progmodes/compile.el (compilation-always-kill): New var.
1835 (compilation-start): Use it.
1836
35e62fc9
SM
18372012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1838
af070a1c
SM
1839 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1840 * files.el (read-only-mode): Move to simple.el.
1841
35e62fc9
SM
1842 * files.el (read-only-mode): New minor mode.
1843 (toggle-read-only): Use it and mark obsolete.
1844 (find-file--read-only):
1845 * vc/vc.el (vc-next-action, vc-checkout):
1846 * vc/vc-cvs.el (vc-cvs-checkout):
1847 * obsolete/vc-mcvs.el (vc-mcvs-update):
1848 * ffap.el (ffap--toggle-read-only): Update callers.
1849
c2c43c23
MA
18502012-08-29 Michael Albinus <michael.albinus@gmx.de>
1851
1852 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1853 remote shell scripts.
1854 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1855
1856 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1857 "/usr/local/sbin".
1858
9fba804b
SM
18592012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1860
1861 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1862
eada0861 18632012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1864
806f0cc7
LL
1865 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1866 completion-at-point. (Bug#12220)
1867
3bb213b9
LL
1868 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1869
22ab32ef
LL
1870 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1871
eada0861 18722012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1873
19c17fc1
CY
1874 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1875 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1876
eada0861 18772012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1878
1879 * progmodes/hideif.el (hif-compress-define-list):
1880 Fix typo. (Bug#11951)
1881
eada0861 18822012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1883
1884 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1885 buffer local setting.
1886
27d6c5a8
LL
1887 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1888 rcirc-encode-coding-system.
1889
eada0861 18902012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1891
1892 * net/rcirc.el (rcirc-split-message): New function.
1893 (rcirc-send-message): Use it. (Bug#12051)
1894
d44688e4
JL
18952012-08-28 Juri Linkov <juri@jurta.org>
1896
1897 * info.el (Info-fontify-node): Hide empty lines at the end of
1898 the node. (Bug#12272)
1899
34f10d41
MR
19002012-08-27 Drew Adams <drew.adams@oracle.com>
1901
1902 * dired.el (dired-pop-to-buffer): Make window start at beginning
1903 of buffer (Bug#12281).
1904
77f1f99c
CY
19052012-08-26 Chong Yidong <cyd@gnu.org>
1906
1907 * window.el (special-display-regexps, special-display-frame-alist)
1908 (special-display-buffer-names, special-display-function)
1909 (display-buffer-reuse-frames): Mark as obsolete.
1910
1911 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1912
1913 * help.el (help-print-return-message): Don't treat
1914 display-buffer-reuse-frames specially.
1915
d97af5a0
CY
19162012-08-26 Chong Yidong <cyd@gnu.org>
1917
9fba804b
SM
1918 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1919 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1920 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1921 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1922 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1923 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1924 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1925 the functions directly with gdb-display-buffer-other-frame-action.
1926 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1927 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1928 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1929 (gdb-display-registers-buffer): Define directly.
1930 (def-gdb-display-buffer): Macro deleted.
1931 (gdb-display-buffer): Remove second and third args, callers don't
1932 use them. Defer to the default display-buffer behavior, apart
1933 from making windows dedicated.
1934 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1935
1936 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1937
1938 * window.el (display-buffer-pop-up-frame): Handle a
1939 pop-up-frame-parameters alist entry.
1940 (display-buffer): Document it.
1941
dd7ffad6
CY
19422012-08-26 Chong Yidong <cyd@gnu.org>
1943
1944 * isearch.el (search-whitespace-regexp): Make string and nil
1945 values apply to both ordinary and regexp search. Allow a cons
1946 cell value to distinguish between the two.
1947 (isearch-whitespace-regexp, isearch-search-forward)
1948 (isearch-search-backward): New functions.
1949 (isearch-occur, isearch-search-fun-default, isearch-search)
1950 (isearch-lazy-highlight-new-loop): Use them.
1951 (isearch-forward, isearch-forward-regexp): Doc fix.
1952
4c47bd1e
CY
19532012-08-26 Chong Yidong <cyd@gnu.org>
1954
1955 * faces.el (help-argument-name): Always inherit from italic
1956 (Bug#12213).
1957
9aba119d
MR
19582012-08-25 Martin Rudalics <rudalics@gmx.at>
1959
1960 * window.el (window--even-window-heights): Even heights when
1961 WINDOW and the selected window form a vertical combination.
1962 (display-buffer-use-some-window): Provide that window used gets
1963 sized back by quit-window. (Bug#11880) and (Bug#12091)
1964
ca5256ad
PE
19652012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1966
1967 Fix file time stamp problem with bzr and CVS (Bug#12001).
1968 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1969 in the file's time stamp, since the version control system loses
1970 that information.
1971
d1c0d176
JL
19722012-08-22 Juri Linkov <juri@jurta.org>
1973
1974 * info.el (Info-fontify-node): Hide the suffix of the
1975 Info file name in the header line. (Bug#12187)
1976
141562ff
GM
19772012-08-22 Glenn Morris <rgm@gnu.org>
1978
1979 * calendar/cal-tex.el (cal-tex-weekly-common):
1980 Restore leading blank page.
1981
61a48e19 19822012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1983
1984 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1985 the region under `shift-select-mode'. (Bug#12231)
1986
19872012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1988
1989 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1990 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1991 gives details on why the space is never needed.
1992
ea95074e
MR
19932012-08-22 Martin Rudalics <rudalics@gmx.at>
1994
9fba804b
SM
1995 * window.el (walk-window-tree, window-with-parameter):
1996 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1997 should run on the minibuffer window.
1998 (window-at-side-list): Don't operate on minibuffer window.
1999 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2000 (window--size-ignore): Rename to window--size-ignore-p.
2001 Update callers.
caceae25
MR
2002 (display-buffer-in-atom-window, window--major-non-side-window)
2003 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2004 (delete-side-window, display-buffer-in-side-window):
2005 New functions.
caceae25
MR
2006 (window--side-check, window-deletable-p, delete-window)
2007 (delete-other-windows, split-window): Handle side windows and
2008 atomic windows appropriately.
2009 (window--display-buffer): Call display-buffer-record-window also
2010 when the window buffer did not change.
ea95074e 2011
80a51fa0
CS
20122012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2013
2014 * help-fns.el (help-fns--key-bindings):
2015 Abbreviate non-symbol remap targets. (Bug#12174)
2016
fbb6300b
MR
20172012-08-22 Martin Rudalics <rudalics@gmx.at>
2018
2019 * dired.el (dired-mark-remembered): Don't clobber point.
2020 (Bug#11795)
2021
2b2c0794
GM
20222012-08-22 Glenn Morris <rgm@gnu.org>
2023
2024 * progmodes/bug-reference.el (bug-reference): New custom group.
2025 (bug-reference-bug-regexp): Make it a defcustom.
2026
37219830
DU
20272012-08-22 Daiki Ueno <ueno@unixuser.org>
2028
2029 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2030 (js-paren-indent-offset, js-square-indent-offset)
2031 (js-curly-indent-offset): Add :safe (Bug#12257).
2032
94e0e559
EC
20332012-08-22 Edward O'Connor <hober0@gmail.com>
2034
2035 * json.el (json-key-format): Add error properties.
2036 (json-encode-key): New function.
2037 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2038 Use json-encode-key.
2039
da485f5e
GM
20402012-08-22 Glenn Morris <rgm@gnu.org>
2041
2042 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2043 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2044 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2045 Update for above change.
2046
c6cc78b8
AS
20472012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2048
2049 * cus-face.el (custom-face-attributes): Fix customize type for the
2050 :underline attribute. (Bug#11805)
2051
5481664a
MR
20522012-08-21 Martin Rudalics <rudalics@gmx.at>
2053
2054 * window.el (window-point-1, set-window-point-1): Remove.
2055 (window-in-direction, record-window-buffer)
2056 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2057 (window--state-get-1, display-buffer-record-window):
2058 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2059 window-point and set-window-point respectively.
2060
6d74698e
GM
20612012-08-21 Glenn Morris <rgm@gnu.org>
2062
b7fa2691
GM
2063 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2064 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2065 Use it.
2066
52f56d5a
GM
2067 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2068 (cal-tex-shortday): New function.
2069 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2070 (cal-tex-cursor-filofax-daily): Use the above.
2071
9f1ee09e
GM
2072 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2073 New functions.
2074 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2075 (cal-tex-cursor-filofax-week): Use them.
2076
79858159
GM
2077 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2078 New constants.
2079 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2080 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2081
d346b2b4
GM
2082 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2083 (cal-tex-end-document): Don't rely on buffer name.
2084
b2403709
GM
2085 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2086 Use cal-tex-vspace.
2087 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2088 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2089 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2090 Use cal-tex-arg.
b2403709 2091
1cebb5c0
GM
2092 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2093 (cal-tex-cursor-week, cal-tex-cursor-week2)
2094 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2095 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2096 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2097 (cal-tex-insert-preamble, cal-tex-b-document)
2098 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2099 Improve cal-tex-cmd usage.
2100
c68cd5d4
GM
2101 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2102 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2103 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2104 (cal-tex-weekly-paper): New function.
2105 (cal-tex-cursor-week, cal-tex-cursor-week2)
2106 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2107 (cal-tex-cursor-day): Use it.
2108
9dca4801
GM
2109 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2110 (cal-tex-cursor-filofax-week): Remove leading blank page.
2111
1941e134
GM
2112 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2113 Add autoload cookie. For now at least, don't use color, since
2114 no other cal-tex function does.
2115
6d74698e
GM
2116 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2117 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2118 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2119
64cde199
JL
21202012-08-21 Juri Linkov <juri@jurta.org>
2121
2122 * info.el (Info-file-attributes): New variable.
2123 (info-insert-file-contents): Add file attributes to
2124 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2125 `Info-toc-nodes' when previous modtime of the Info file is less
2126 than new modtime.
2127 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2128 of info.el. (Bug#12230)
2129
32757648
GM
21302012-08-20 Glenn Morris <rgm@gnu.org>
2131
2132 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2133 * calendar/holidays.el (calendar-holiday-list):
2134 Report errors with display-warning rather than beep'n'sleep.
2135
a32fbbcf
MA
21362012-08-20 Michael Albinus <michael.albinus@gmx.de>
2137
2138 * net/tramp.el (tramp-accept-process-output): Accept only output
2139 from PROC. Otherwise, process filters and sentinels might be
2140 confused. (Bug#12145)
2141
a05731a0
CY
21422012-08-20 Chong Yidong <cyd@gnu.org>
2143
2144 * descr-text.el (describe-text-properties-1): Use overlays-in to
2145 report on empty overlays (Bug#3322).
2146
36e8d1eb
GM
21472012-08-20 Glenn Morris <rgm@gnu.org>
2148
3d300447
GM
2149 * mail/rmailout.el (rmail-output-read-file-name):
2150 Trap and report errors in rmail-output-file-alist elements.
2151
36e8d1eb
GM
2152 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2153 since most non-font-lock faces are not also variables).
2154
b96e5814
ER
21552012-08-20 Edward Reingold <reingold@iit.edu>
2156
2157 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2158 New function. (Bug12160)
2159
7cef3569
GM
21602012-08-19 Glenn Morris <rgm@gnu.org>
2161
2162 * mail/rmailout.el (rmail-output-read-file-name):
2163 Fix previous change (when the alist is nil or does not match).
2164
17975d7f
CY
21652012-08-19 Chong Yidong <cyd@gnu.org>
2166
2167 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2168 (Bug#12228).
2169
2170b1bd
CY
21702012-08-18 Chong Yidong <cyd@gnu.org>
2171
2172 * simple.el (yank-handled-properties): New defcustom.
2173 (yank-excluded-properties): Add font-lock-face and category.
2174 (yank): Doc fix.
2175
9fba804b
SM
2176 * subr.el (remove-yank-excluded-properties):
2177 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2178 and category is now done this way, instead of being hard-coded.
2179 (insert-for-yank-1): Remove font-lock-face handling.
2180 (yank-handle-font-lock-face-property)
2181 (yank-handle-category-property): New function.
2182
ee218151
GM
21832012-08-17 Glenn Morris <rgm@gnu.org>
2184
2185 * mail/rmailout.el (rmail-output-read-file-name):
2186 Check rmail-output-file-alist against the full message body
2187 in the correct rmail buffer. (Bug#12214)
2188
4a6bc3fd
MA
21892012-08-17 Michael Albinus <michael.albinus@gmx.de>
2190
9fba804b
SM
2191 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2192 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2193
383dcbf9
CY
21942012-08-17 Chong Yidong <cyd@gnu.org>
2195
2196 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2197 font spec, set the font directly (Bug#3228).
2198
998c4a6a
MR
21992012-08-17 Martin Rudalics <rudalics@gmx.at>
2200
2201 * window.el (delete-window): Fix last fix.
2202
52162052
MR
22032012-08-16 Martin Rudalics <rudalics@gmx.at>
2204
2205 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2206 (window-child, window-child-count, window-last-child)
2207 (window-normalize-window, window-combined-p)
2208 (window-combinations, window-atom-root, window-min-size)
2209 (window-sizable, window-sizable-p, window-size-fixed-p)
2210 (window-min-delta, window-max-delta, window--resizable)
2211 (window--resizable-p, window-resizable, window-total-size)
2212 (window-full-height-p, window-full-width-p, window-body-size)
2213 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2214 (minimize-window, window-deletable-p, delete-window)
2215 (delete-other-windows, set-window-buffer-start-and-point)
2216 (next-buffer, previous-buffer, split-window, balance-windows-2)
2217 (set-window-text-height, window-buffer-height)
2218 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2219 (truncated-partial-width-window-p): Minor code adjustments.
2220 In doc-strings state whether the argument window has to denote a
85c2386b 2221 live, valid or any window.
52162052 2222
1c308380
PS
22232012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2224
2225 * progmodes/subword.el (subword-forward-function)
2226 (subword-backward-function, subword-forward-regexp)
2227 (subword-backward-regexp): New variables.
2228 (subword-forward, subword-forward-internal, subword-backward-internal):
2229 Use new variables, eg so that different "word" definitions
2230 can be easily used. (Bug#11411)
2231
94c9ece1
SM
22322012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2233
2234 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2235 for composite selectors.
2236 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2237 operation just because we can't find a previous revision.
2238
f2045622
CY
22392012-08-15 Chong Yidong <cyd@gnu.org>
2240
2241 * frame.el (set-frame-font): Accept font objects.
2242
582db660
SM
22432012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2244
2245 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2246
2f29c200
WJ
22472012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2248
456e62c2
WJ
2249 * man.el (Man-overstrike-face, Man-underline-face)
2250 (Man-reverse-face): Remove variables.
2251 (Man-overstrike, Man-underline, Man-reverse): New faces.
2252 (Man-fontify-manpage): Use them instead of the variables.
2253 (Man-cleanup-manpage): Comment change.
2254 (Man-ansi-color-map): New variable.
2255 (Man-fontify-manpage): Use it.
2256 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2257
2f29c200
WJ
2258 Implement ANSI SGR parameters 22-27 (bug#12146).
2259 * ansi-color.el (ansi-colors): Doc fix.
2260 (ansi-color-context, ansi-color-context-region): Doc fix.
2261 (ansi-color--find-face): New function.
2262 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2263 Rename the local variable `face' to `codes' since it is now a list of
2264 ansi codes. Doc fix.
2265 (ansi-color-get-face): Remove.
2266 (ansi-color-parse-sequence): New function, derived from
2267 ansi-color-get-face.
2268 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2269 codes 22-27.
2270
b4f5e9df
SM
22712012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2272
2273 * subr.el (read-passwd): Allow use from a minibuffer.
2274
ba025fbd
EZ
22752012-08-14 Eli Zaretskii <eliz@gnu.org>
2276
2277 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2278 inside comments and strings as identifiers.
2279
2280 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2281 expression to evaluate. This allows to evaluate expressions with
2282 embedded whitespace.
2283 (gud-tooltip-tips): Add a blank before the newline in the
2284 message-box text, for the benefit of message-box emulation on
2285 MS-Windows.
2286
2287 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2288 messages from GDB, pop them up in a tooltip to give feedback to
2289 user.
b4f5e9df
SM
2290 (gdb-tooltip-print-1): Quote the expression to evaluate.
2291 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2292 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2293 if the TTY name is nil or empty (which happens when communicating
2294 with the inferior via pipes, e.g. on MS-Windows).
2295 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2296 don't send that to the GUD buffer.
2297
c548f821
GM
22982012-08-14 Glenn Morris <rgm@gnu.org>
2299
2300 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2301 Optimize away setq-default with no args, as for setq. (Bug#12195)
2302
55802e4a
CY
23032012-08-14 Chong Yidong <cyd@gnu.org>
2304
4abcdac8
CY
2305 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2306
55802e4a
CY
2307 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2308 (Bug#12085).
2309
3c3cda1a
GM
23102012-08-14 Glenn Morris <rgm@gnu.org>
2311
2312 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2313
e1873bd0
MA
23142012-08-14 Michael Albinus <michael.albinus@gmx.de>
2315
2316 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2317 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2318 Use cached shell name.
2319
925411b4
FEG
23202012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2321
2322 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2323 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2324
e636fafe
DG
23252012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2326
2327 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2328 (ruby-percent-literal-beg-re): New constant.
2329 (ruby-syntax-general-delimiters-goto-beg): Rename to
2330 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2331 (ruby-syntax-propertize-general-delimiters): Rename to
2332 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2333 popular term. Adjust comments everywhere.
2334 (ruby-syntax-propertize-percent-literal): Only propertize when not
2335 inside a simple string or comment. When the literal is unclosed,
2336 leave the text after it unpropertized.
f063063a
DG
2337 (ruby-syntax-methods-before-regexp): New constant.
2338 (ruby-syntax-propertize-function): Use it to recognize regexps.
2339 Don't look at the text after regexp, just use the whitelist.
e636fafe 2340
e5b19827
AS
23412012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2342
2343 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2344 non-nil always load the compiled file if it exists. (Bug#12197)
2345
a9f6f311
CY
23462012-08-14 Chong Yidong <cyd@gnu.org>
2347
2348 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2349 (hi-lock-set-pattern): When deciding whether to use font lock or
2350 overlays, look at font-lock-mode instead of font-lock-fontified
2351 (Bug#12168).
2352 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2353 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2354
7d806b1e
DU
23552012-08-14 Daiki Ueno <ueno@unixuser.org>
2356
2357 * subr.el (internal--after-with-selected-window): Fix typo
2358 (Bug#12193).
2359
5beed586
FEG
23602012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2361
2362 Use `completion-table-dynamic' for completion functions.
2363 * progmodes/python.el
2364 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2365 (python-shell-completion--get-completions):
2366 Remove functions.
5beed586
FEG
2367 (python-shell-completion-complete-at-point): New function.
2368 (python-completion-complete-at-point): Use it.
2369
92cb3b04
J
23702012-08-13 Jambunathan K <kjambunathan@gmail.com>
2371
2372 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2373 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2374
89660017
SM
23752012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2376
3c98c962
SM
2377 * subr.el (function-get): Refine `autoload' arg so it can also
2378 autoload functions for gv.el (bug#12191).
2379 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2380 autoloads macros.
2381
aa7c6dbe
SM
2382 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2383 Prefer pcase-let over destructuring-bind.
2384 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2385 Also, remove whitespace as we go, rather than after accumulating the
2386 various places.
2387
89660017
SM
2388 * subr.el (internal--before-with-selected-window)
2389 (internal--after-with-selected-window): Fix typo seleted->selected.
2390 (with-selected-window): Adjust callers.
2391 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2392
31cd32c9
BG
23932012-08-13 Bastien Guerry <bzg@gnu.org>
2394
0fcd3d9f 2395 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2396 enhancement. (Bug#12172)
2397
1b15d8ad
AS
23982012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2399
31e54db0
AS
2400 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2401 type 1-6.
2402 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2403 extended headers.
2404
1b15d8ad
AS
2405 * files.el (hack-local-variables-filter): Remove useless eval.
2406
35cb9c06
MR
24072012-08-13 Martin Rudalics <rudalics@gmx.at>
2408
2409 * subr.el (with-selected-window): Fix last change.
2410
1439443b
SM
24112012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * subr.el (internal--before-with-seleted-window)
2414 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2415 (with-selected-window): Use them, to replace dependency on
2416 tty-top-frame.
1439443b 2417
0d9e2599
NN
24182012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2419
2420 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2421 binding for `newline'.
2422 (ruby-move-to-block): When moving backward, stop at block opening,
2423 not indentation.
2424 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2425 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2426 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2427 `ruby-toggle-block'.
2428
ba10c48c
SM
24292012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * ibuffer.el (ibuffer-do-toggle-read-only):
2432 * dired.el (dired-toggle-read-only):
2433 * buff-menu.el (Buffer-menu-toggle-read-only):
2434 * bindings.el (mode-line-toggle-read-only):
2435 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2436
9229c658
AS
24372012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2438
2439 * descr-text.el (describe-char): Put the overlays over the
2440 "displayed as" character.
2441
0fd09128
JB
24422012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2443
2444 * calc/calc-units.el (math-default-units-table): Give an
2445 initial value.
2446 (math-put-default-units): Add options to put composite units and
2447 unit systems in the default units table.
2448 (calc-convert-units): Send composite units to
2449 `math-put-default-units' when appropriate.
2450
9ff9402d 24512012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2452
fbb5e336
GM
2453 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2454
7aacaf15
GM
2455 * tutorial.el (help-with-tutorial):
2456 * emacs-lisp/copyright.el (copyright-update-directory):
2457 * emacs-lisp/autoload.el (autoload-find-generated-file)
2458 (autoload-find-file): Disable local eval: (for insurance).
2459
f40b9f10
GM
2460 * files.el (hack-local-variables-filter): If an eval: form is not
2461 known to be safe, and enable-local-variables is :safe, then ignore
2462 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2463 This is CVE-2012-3479.
f40b9f10 2464
daa9f1a6
SM
24652012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2467 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2468 (rx-form): Simplify.
2469
9cd80478
DG
24702012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2471
0d9e2599
NN
2472 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2473 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2474 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2475 (ruby-syntax-propertize-function): Adjust for changes in
2476 `ruby-syntax-propertize-heredoc'.
2477
24782012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2479
9cd80478
DG
2480 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2481 binding (use `M-;' instead).
9cd80478 2482 (ruby-singleton-class-p): New function.
0d9e2599 2483 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2484
d301b413
SM
24852012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2486
2487 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2488
1530c98e
CY
24892012-08-10 Chong Yidong <cyd@gnu.org>
2490
2491 * progmodes/python.el (python-shell-get-process-name): Don't mess
2492 with same-window-buffer-names.
2493
2494 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2495 (eshell-remove-from-window-buffer-names): Make obsolete.
2496 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2497 (eshell): Just use pop-to-buffer-same-window instead.
2498
e1293765
CY
24992012-08-10 Chong Yidong <cyd@gnu.org>
2500
2501 * bindings.el: Bind M-= back to count-words-region.
2502
2503 * simple.el (count-words-region): Accept a prefix arg for acting
2504 on the entire buffer.
2505 (count-words--buffer-message): New helper function.
2506
e1894109
SM
25072012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2508
2509 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2510 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2511 (event-start, event-end): Use posn-at-point to return a more
2512 informative posn.
2513 (posnp): New function.
2514 * mouse.el (popup-menu-normalize-position): Use it.
2515
c69f56a2
MY
25162012-08-10 Masatake YAMATO <yamato@redhat.com>
2517
2518 * mouse.el (popup-menu-normalize-position): New function.
2519 (popup-menu): Use `popup-menu-normalize-position' to normalize
2520 the form for POSITION argument.
2521
2522 * term/x-win.el (x-menu-bar-open):
2523 Use the value returend from (posn-at-point) as position
2524 passed to `popup-menu'.
2525
31673780
JB
25262012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2527
2528 * calc/calccomp.el (math-compose-expr): Add extra argument
2529 indicating that parentheses should be put around products in
2530 denominators. Give multiplication precedence over division during
2531 composition.
2532
dab7711b
CY
25332012-08-09 Chong Yidong <cyd@gnu.org>
2534
dee4ef93
CY
2535 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2536 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2537 (Man-untabify-command, manual-program): Convert to defcustom
2538 (Bug#10429).
2539
73e2bbc5
CY
2540 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2541
3e861c8a
CY
2542 * descr-text.el (describe-char): Don't insert extra newlines
2543 (Bug#10127).
2544
a9f5a649
CY
2545 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2546 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2547
dab7711b
CY
2548 * align.el (align-region): Delete temporary markers (Bug#10047).
2549 Plus some code cleanups.
2550
e0cc4efa
FEG
25512012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2552
2553 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2554 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2555 (python-shell-internal-last-output): Use make-local-variable
2556 instead of make-variable-buffer-local.
2557
489af14f
FEG
25582012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2559
2560 * progmodes/python.el: Enhancements to forward-sexp.
2561 (python-nav-forward-sexp): Rename from
2562 python-nav-forward-sexp-function.
c69f56a2
MY
2563 (python-nav--forward-sexp, python-nav--backward-sexp):
2564 New functions.
489af14f 2565
0fc50303
JB
25662012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2567
2568 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2569 modes and simplification modes.
2570
5d65606a
SM
25712012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2572
2573 * delsel.el (delete-selection-pre-hook): Don't propagate the
2574 file-supersession signals (bug#12161).
2575
4250fdf5
SM
25762012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2579 (cl-map-extents): Add compatibility aliases (bug#12135).
2580
d9f9b465
MA
25812012-08-08 Michael Albinus <michael.albinus@gmx.de>
2582
2583 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2584 tests by `ignore-error'.
2585 (tramp-find-shell): Open also a new shell, when cache is already
2586 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2587
ce0fcefa
JL
25882012-08-08 Juri Linkov <juri@jurta.org>
2589
2590 * bookmark.el: Add `defaults' property to the bookmark record.
2591 (bookmark-current-buffer): Doc fix.
2592 (bookmark-make-record): Add `defaults' property with default values
2593 to the bookmark record.
2594 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2595 with `bookmark-insert-current-bookmark'.
2596 (bookmark-set): Get `defaults' property from the bookmark record
2597 and use it in `read-from-minibuffer'.
2598 (bookmark-insert-current-bookmark): Remove function.
2599
2600 * info.el (Info-bookmark-make-record): Add `defaults' property
2601 with values of canonical Info node name, the current Info file
2602 name and the current Info node name. (Bug#12107)
2603
53fa8652
JL
26042012-08-08 Juri Linkov <juri@jurta.org>
2605
2606 * files.el (basic-save-buffer): Use `buffer-name' as the default
2607 of `read-file-name' when buffer is not visiting a file (bug#12128).
2608
242c0a95
JL
26092012-08-08 Juri Linkov <juri@jurta.org>
2610
2611 * info.el (Info-isearch-search): Doc fix.
2612 (Info-search): Change search-failed message from "initial node" to
2613 "end of node" (bug#12078).
2614 (Info-isearch-search): Change `isearch-string-state' to
2615 `isearch--state-string'.
2616
32ac3a6b
GM
26172012-08-08 Glenn Morris <rgm@gnu.org>
2618
2619 * language/persian.el: Remove file.
f8c1afd5 2620 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2621 * loadup.el: Remove language/persian.
2622
2c2d9c9c
OF
26232012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2624
2625 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2626
2d79ec42
FEG
26272012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2628
2629 * progmodes/python.el Fixed defsubst warning.
2630 (python-syntax-context) Rename from python-info-ppss-context.
2631 (python-syntax-context-type): Rename from
2632 python-info-ppss-context-type.
2633 (python-syntax-comment-or-string-p): Rename from
2634 python-info-ppss-comment-or-string-p.
2635
2bd255dd
JB
26362012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2637
2638 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2639
c395097f
AS
26402012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2641
6125983e
AS
2642 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2643 a defcustom that is quoted with backquote.
2644
4250fdf5
SM
2645 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2646 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2647 (math-do-arg-check, math-define-function-body): Use backquote forms.
2648 * calc/calc-ext.el (math-defcache): Likewise.
2649 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2650 * allout.el (allout-new-exposure): Likewise.
2651 * calc/calcalg2.el (math-tracing-integral): Likewise.
2652 * info.el (Info-last-menu-item): Likewise.
2653 * emulation/vip.el (vip-loop): Likewise.
2654 * textmodes/artist.el (artist-funcall): Likewise.
2655 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2656 Construct menu-item directly.
2657
4250fdf5
SM
2658 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2659 Don't declare.
c395097f 2660
5fb50dd3
CY
26612012-08-07 Chong Yidong <cyd@gnu.org>
2662
2663 * simple.el (deactivate-mark): Preserve text properties when
2664 saving the primary selection (Bug#8384).
2665
54eea618
KR
26662012-08-07 Kevin Ryde <user42@zip.com.au>
2667
2668 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2669 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2670 and continue processing (Bug#12110).
2671
638eaeb9
SM
26722012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2675 syntax-propertize-function (bug#10095).
2676
ea376861
SM
26772012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2678
f91b35be
SM
2679 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2680 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2681 describe-function-1.
2682 (describe-function-1): Use them. Move compiler macro after sig.
2683 (help-fns--compiler-macro): Use function-get. Assume we're already in
2684 standard-output. Adjust layout to new call order.
2685
ea376861
SM
2686 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2687 re-binding a symbol that has a symbol-macro (bug#12119).
2688
d5be7bd0
MB
26892012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2690
2691 * language/persian.el: New file. (Bug#11812)
2692 * loadup.el: Add language/persian.el.
2693
90749b53
CY
26942012-08-06 Chong Yidong <cyd@gnu.org>
2695
2696 * window.el (window--maybe-raise-frame): New function.
2697 (window--display-buffer): Split off from here.
2698 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2699 (display-buffer-pop-up-window, display-buffer-use-some-window):
2700 Obey an inhibit-switch-frame action alist entry.
2701 (display-buffer): Update doc.
2702
2703 * replace.el (occur-after-change-function): Avoid losing focus by
2704 using the inhibit-switch-frame display parameter (Bug#12139).
2705
ba7b0154
FEG
27062012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2707
2708 Make internal shell process buffer names start with space.
2709 * progmodes/python.el (python-shell-make-comint): Add optional
2710 argument INTERNAL.
2711 (run-python-internal): Use it.
2712 (python-shell-internal-get-or-create-process): Check for new
2713 internal buffer names.
2714
5eaeacb5
GM
27152012-08-06 Glenn Morris <rgm@gnu.org>
2716
e296d94b 2717 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2718 Do less getting and setting of environment variables.
2719
b7ccbdc2
CY
27202012-08-05 Chong Yidong <cyd@gnu.org>
2721
777fe95e
CY
2722 * proced.el (proced): Add substitution string to docstring to
2723 trigger autoloading of the proced library on C-h f (Bug#1768).
2724
4250fdf5
SM
2725 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2726 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2727
2728 * imenu.el (imenu-generic-expression): Move documentation here
2729 from imenu--generic-function.
2730 (imenu--generic-function): Refer to imenu-generic-expression.
2731
9e3b7800 27322012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
2733
2734 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2735 indentation declaration.
2736 (viper-loop): Add indentation declaration (Bug#7025).
2737
e5d9c0d1
CY
27382012-08-05 Chong Yidong <cyd@gnu.org>
2739
f0422feb
CY
2740 * help-fns.el (describe-variable): Add hyperlink for
2741 directory-local variables files. Improve buffer-local and
2742 permanent-local reporting; suggested by MON KEY (Bug#6644).
2743
2744 * help-mode.el (help-dir-local-var-def): New button type.
2745
e5d9c0d1
CY
2746 * files.el (kill-buffer-hook): Provide a defvar.
2747
a4f2deaa
GM
27482012-08-05 Glenn Morris <rgm@gnu.org>
2749
2750 * eshell/esh-ext.el (eshell/addpath):
2751 Also update eshell-path-env. (Bug#12013)
2752
a9dd5754
CY
27532012-08-05 Chong Yidong <cyd@gnu.org>
2754
a4f2deaa 2755 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2756
d014c740
CY
2757 * fringe.el (fringe-styles): Add docstring.
2758 (fringe--check-mode): New function.
2759 (set-fringe-mode, set-fringe-style): Use it.
2760 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2761
a9dd5754
CY
2762 * files.el (set-auto-mode): Fix invalid setq call.
2763
7c2dc8bd
SM
27642012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * isearch.el: Misc simplification; use defstruct.
2767 (isearch-mode-map): Dense maps now work like sparse ones.
2768 (isearch--state): New defstruct.
2769 (isearch-string-state, isearch-message-state, isearch-point-state)
2770 (isearch-success-state, isearch-forward-state)
2771 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2772 (isearch-wrapped-state, isearch-barrier-state)
2773 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2774 replaced by defstruct's accessors.
2775 (isearch--set-state): Rename from isearch-top-state and change
2776 calling convention.
2777 (isearch-push-state): Use new isearch--get-state.
2778 (isearch-toggle-word): Disable regexp when enabling word.
2779 (isearch-message-prefix): Remove unused arg _c-q-hack.
2780 (isearch-message-suffix): Remove unused arg _ellipsis.
2781
7fcc0070
AS
27822012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2783
2784 * simple.el (list-processes--refresh): For a server use :host or
2785 :local as the address.
97ad0769 2786 (list-processes): Doc fix.
7fcc0070 2787
a11035b8 27882012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2789
2790 * lisp/mpc.el: Support password in host argument.
2791 (mpc--proc-connect): Parse and use new password element.
2792 Set mpc-proc variable instead of returning process.
2793 (mpc-proc): Adjust accordingly.
2794
6dad7178
EZ
27952012-08-03 Eli Zaretskii <eliz@gnu.org>
2796
18949c2f
EZ
2797 * whitespace.el (whitespace-display-mappings): Use Unicode
2798 codepoints, instead of emacs-mule codepoints. See
2799 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2800 for the details.
2801
6dad7178
EZ
2802 * files.el (file-truename): Don't skip symlink-chasing part on
2803 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2804 Windows into the loop that recursively chases symlinks.
2805 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2806 MS-DOS.
2807
385b0198
CY
28082012-08-03 Chong Yidong <cyd@gnu.org>
2809
6200f3c4
CY
2810 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2811
385b0198
CY
2812 * sort.el (sort-regexp-fields): Doc fix.
2813
b9e74744
TH
28142012-08-03 Tassilo Horn <tsdh@gnu.org>
2815
2816 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2817 labels regex position point at the expected place.
2818
41013cb4
MK
28192012-08-03 MON KEY <monkey@sandpframing.com>
2820
2821 * net/imap.el (imap-interactive-login, imap-authenticate)
2822 (imap-mailbox-lsub, imap-mailbox-list)
2823 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2824 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2825 (imap-parse-response): Doc fix.
2826
0ffee616
JT
28272012-08-03 João Távora <joaotavora@gmail.com>
2828
2829 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2830 if sexp scanning does not move point (Bug#5734).
2831
cfcc9cc8
TH
28322012-08-02 Tassilo Horn <tsdh@gnu.org>
2833
2834 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2835 Add listings, minted, and ctable packages.
2836 (reftex-label-alist-builtin): Move listings, minted, and ctable
2837 entries before LaTeX.
a01bbb84 2838 (reftex-label-alist): Docfix.
cfcc9cc8 2839
66ec2442
BG
28402012-08-02 Bastien Guerry <bzg@gnu.org>
2841
2842 * replace.el (occur): Fix docstring (bug#12122).
2843
837b365b
GM
28442012-08-02 Glenn Morris <rgm@gnu.org>
2845
2846 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2847
e098de97
PE
28482012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2849
2850 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2851 * international/mule-cmds.el: Create
2852 inactivate-current-input-method-function as an obsolete alias for
2853 deactivate-current-input-method-function. See Katsumi Yamaoka in
2854 <http://bugs.gnu.org/10150#46>.
2855
a0f95636
JB
28562012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2857
2858 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2859 of nested `if's.
2860
0d26d7c4
GM
28612012-08-01 Glenn Morris <rgm@gnu.org>
2862
2863 * progmodes/autoconf.el (autoconf-definition-regexp):
2864 Add AH_TEMPLATE, adjust submatch numbering.
2865 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2866 (autoconf-current-defun-function): Update for above change.
2867 (autoconf-current-defun-function): First skip to end of current word.
2868
b686ba06
RS
28692012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2870
2871 * calendar/cal-html.el (cal-html-insert-agenda-days):
2872 Fix typo. (Bug#12018)
2873
0d49da68
FEG
28742012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2875
2876 Shell processes: enhancements to startup and CEDET compatibility.
2877 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2878 (python-shell-make-comint): accept-process-output at startup.
2879 (run-python-internal): Set inferior-python-mode-hook to nil.
2880 (python-shell-internal-get-or-create-process): call sit-for.
2881 (python-preoutput-result): Add obsolete alias.
2882 (python-shell-internal-send-string): Use it.
2883 (python-shell-send-setup-code): Remove call to
2884 accept-process-output.
2885
f1a71c6e
AS
28862012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2887
2888 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2889 (Bug#12108)
2890
d2605269
JB
28912012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2892
2893 * calc-mode.el (calc-basic-simplification-mode): Rename from
2894 `calc-limited-simplification-mode'.
2895 (calc-alg-simplification-mode): New function.
fc0c31f8 2896 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2897
d2605269
JB
2898 * calc.el (calc-set-mode-line): Adjust mode line display for
2899 basic simplification mode.
2900
2901 * calc-help.el (calc-m-prefix-help): Update help message.
2902
2903 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2904 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2905
a3827a43
BG
29062012-07-31 Bastien Guerry <bzg@gnu.org>
2907
2908 * man.el (man): Fix comment. (bug#12101)
2909
502e3f89
MR
29102012-07-31 Martin Rudalics <rudalics@gmx.at>
2911
2912 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2913 Don't return a non-nil value when no suitable buffer was found.
2914
d7714961
FEG
29152012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2916
2917 * progmodes/python.el (run-python-internal): Disable font lock for
2918 internal shells.
2919
1f45e27e
SM
29202012-07-30 Stefan Merten <smerten@oekonux.de>
2921
70efc5c9 2922 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2923 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2924 (rst-official-version, rst-official-cvs-rev)
2925 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2926 (rst-mode-map): New key binding.
2927
0aee6912
PE
29282012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2929
2930 Update .PHONY listings in makefiles.
2931 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2932 autoloads, update-subdirs, updates, bzr-update, update-authors,
2933 compile-onefile, compile-calc, backup-compiled-files,
2934 compile-after-backup, compile-one-process, mh-autoloads,
2935 bootstrap-clean, distclean, maintainer-clean.
2936
9052f9f0
JB
29372012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2938
1823ac5a
JB
2939 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2940 (calc-set-mode-line): Don't display "AlgSimp ".
2941
2942 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2943 (calc-lim-simplify-mode): New function.
2944 (calc-set-simplify-mode): Default to 'alg.
2945 (calc-default-simplify-mode): Make algebraic simplifications
2946 the default.
2947
2948 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2949 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2950
8d7c7eed 2951 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2952 indicate new simplification modes.
2953
1823ac5a
JB
2954 * calc/README: Mention new default simplification mode.
2955
9052f9f0
JB
2956 * calc/calc.el (math-normalize-error): New variable.
2957 (math-normalize): Set `math-normalize-error' to t
2958 when there's an error.
2959
2960 * calc/calc-alg.el (math-simplify): Don't simplify when
2961 `math-normalize' returns an error.
2962
20ba0cb4
EZ
29632012-07-29 Eli Zaretskii <eliz@gnu.org>
2964
2965 * international/mule-cmds.el (set-locale-environment): Revert last
2966 change, since display-graphic-p returns nil when this function is
2967 called during startup. Instead...
2968
2969 * term/w32console.el (terminal-init-w32console): ...setup the
2970 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2971
a5dcc929
JL
29722012-07-29 Juri Linkov <juri@jurta.org>
2973
2974 * simple.el (goto-line): Don't display default line number in the
2975 prompt because it should be displayed by `read-number' (bug#9952).
2976 Add the current line number to the defaults of `goto-line' to
2977 allow its easier modification by users with `M-n' (bug#9201).
2978
2979 * subr.el (read-number): Support multiple default values like in
2980 other minibuffer reading functions. Replace `read' with
2981 `string-to-number' for consistency with `number-to-string'.
2982
72b255c7
PE
29832012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2984
2985 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2986 * emulation/viper-init.el (viper-deactivate-input-method-action):
2987 Rename from viper-inactivate-input-method-action.
2988 (viper-deactivate-input-method):
2989 Rename from viper-inactivate-input-method.
2990 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2991 * international/mule-cmds.el (deactivate-input-method):
2992 Rename from inactivate-input-method.
2993 Also run input-method-deactivate-hook.
2994 (deactivate-current-input-method-function):
2995 Rename from inactivate-current-input-method-function.
2996 (input-method-deactivate-hook): New hook.
2997 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2998 (inactivate-input-method): Mark obsolete.
2999
72b255c7
PE
3000 * international/quail.el (quail-activate):
3001 Also run quail-deactivate-hook.
3002 (quail-deactivate): Rename from quail-inactivate.
3003 * international/robin.el (robin-activate):
3004 Also run robin-deactivate-hook.
3005 (robin-deactivate): Rename from robin-inactivate.
3006
2549c068
CY
30072012-07-29 Chong Yidong <cyd@gnu.org>
3008
3009 * simple.el (indicate-copied-region): New function.
3010 (kill-ring-save): Split off from here.
3011
3012 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3013 (kill-rectangle): Set deactivate-mark to t on read-only error.
3014
3015 * register.el (copy-to-register, copy-rectangle-to-register):
3016 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3017 (append-to-register, prepend-to-register): Call indicate-copied-region.
3018
30192012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3020
3021 * simple.el (async-shell-command-buffer): New defcustom.
3022 (shell-command): Use it. (Bug#4719)
3023
01bd1b0d
EZ
30242012-07-28 Eli Zaretskii <eliz@gnu.org>
3025
3026 * international/mule-cmds.el (set-locale-environment): In a
3027 console session on MS-Windows, set up keyboard and terminal
3028 encoding from the OEM codepage, not the ANSI codepage.
3029 (Bug#12055)
3030
a55739d3
CY
30312012-07-28 Chong Yidong <cyd@gnu.org>
3032
3033 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3034 gdb-get-location.
3035
0e1a094f 30362012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3037
3038 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3039 the alist (bug#12029).
3040
20329d73
EZ
30412012-07-28 Eli Zaretskii <eliz@gnu.org>
3042
3043 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3044 (compile-always, compile-first)
3045 ($(lisp)/calendar/cal-loaddefs.el)
3046 ($(lisp)/calendar/diary-loaddefs.el)
3047 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3048 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3049 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3050 instead of on update-subdirs.
3051 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3052
345a2258
CY
30532012-07-28 Chong Yidong <cyd@gnu.org>
3054
1eee6341
CY
3055 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3056 directory if vc-deduce-backend returns nil (Bug#7350).
3057
345a2258
CY
3058 * simple.el (delete-trailing-lines): New option.
3059 (delete-trailing-whitespace): Obey it (Bug#11879).
3060
049a0936
DE
30612012-07-28 David Engster <deng@randomsample.de>
3062
3063 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3064 Explanation of new 'symbol-qnames feature in doc-strings.
3065 (xml-maybe-do-ns): Return expanded names as plain symbols if
3066 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3067 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3068
aa81af71
FEG
30692012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3070
3071 Consistent completion in inferior python with emacs -nw.
3072 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3073 binding in inferior-python-mode-map with "\t".
3074 (python-shell-completion-complete-at-point)
3075 (python-completion-complete-at-point): Remove interactive spec.
3076
e827b1eb
JB
30772012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3078
3079 * calc/calccomp.el (math-compose-expr): Undo previous change.
3080
a90dfb95
FEG
30812012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3082
4250fdf5 3083 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3084 run-python.
3085 (python-shell-make-comint): Fix pop-to-buffer call.
3086 (run-python): Autoload. New arg SHOW.
3087 (python-shell-get-or-create-process): Do not pop python process
3088 buffer.
3089
32770973 30902012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3091
3092 * notifications.el (notifications-on-action-signal)
3093 (notifications-on-closed-signal): Use also the bus address for the map.
3094 (notifications-notify, notifications-close-notification)
fc0c31f8 3095 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3096
86332df2
TH
30972012-07-27 Tassilo Horn <tsdh@gnu.org>
3098
4250fdf5
SM
3099 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3100 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3101 ctable macro.
3102 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3103 labels written in keyvals syntax.
3104
ca1302a4
JB
31052012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3106
3107 * calc/calccomp.el (math-compose-expr): Use parentheses when
3108 there is a product in the denominator of a fraction.
3109
f8b91036
EZ
31102012-07-26 Eli Zaretskii <eliz@gnu.org>
3111
3112 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3113 ($(lisp)/calendar/diary-loaddefs.el)
3114 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3115 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3116 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3117 rewritten while the autoload files are built at the same time,
3118 which needs to load subdirs.el.
3119
c8e5a42c
MR
31202012-07-26 Martin Rudalics <rudalics@gmx.at>
3121
3122 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3123 (mouse-drag-line): Don't exit tracking when a switch-frame or
3124 switch-window event occurs (Bug#12006).
3125
670d85ea
SM
31262012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3127
3128 * mouse.el (popup-menu): Fix last change.
3129
7abaf5cc
SM
31302012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3131
3132 Autoload from Lisp with more care. Follow aliases when looking for
3133 function properties.
3134 * subr.el (autoloadp): New function.
3135 (symbol-file): Use it.
3136 (function-get): New function.
3137 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3138 autoload-do-load.
3139 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3140 (lisp-indent-function):
3141 * emacs-lisp/gv.el (gv-get):
3142 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3143 * emacs-lisp/byte-opt.el (byte-optimize-form):
3144 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3145 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3146 Use function-get.
3147 * emacs-lisp/cl.el: Don't propagate function properties any more.
3148
3149 * speedbar.el (speedbar-add-localized-speedbar-support):
3150 * emacs-lisp/disass.el (disassemble-internal):
3151 * desktop.el (desktop-load-file):
3152 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3153 (describe-function-1):
3154 * emacs-lisp/find-func.el (find-function-noselect):
3155 * emacs-lisp/elp.el (elp-instrument-function):
3156 * emacs-lisp/advice.el (ad-has-proper-definition):
3157 * apropos.el (apropos-safe-documentation, apropos-macrop):
3158 * emacs-lisp/debug.el (debug-on-entry):
3159 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3160 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3161 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3162
b1364986
AA
31632012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3164
3165 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3166 function, not an obsolete variable (Bug#12046).
3167
67ada220
AS
31682012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3169
3170 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3171
f08088e3
CS
31722012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3173
3174 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3175 window only if it is still live (Bug#12034).
3176
8137e7b3
MR
31772012-07-25 Martin Rudalics <rudalics@gmx.at>
3178
3179 * subr.el (redirect-frame-focus): Add advertised calling
3180 convention (Bug#12030).
3181
09ae5da1
PE
31822012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3183
3184 Prefer typical American spelling for "acknowledgment".
3185 * vc/add-log.el (change-log-acknowledgment): Rename from
3186 change-log-acknowledgement, with an alias for the old name.
3187
3cc5a3a8
JB
31882012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3189
3190 * calc-alg.el (math-simplify-divide): Don't cross multiply
3191 in an equation when the lhs is a variable.
3192
b7af7f62
JD
31932012-07-24 Julien Danjou <julien@danjou.info>
3194
3195 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3196 Remove, unused.
3197
ec1b09b1
EZ
31982012-07-23 Eli Zaretskii <eliz@gnu.org>
3199
3200 * startup.el (command-line): Don't display an empty user name in
3201 the error message about non-existent home directory, when
3202 init-file-user was set to an empty string. See
3203 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3204 for the details and context.
3205
b525fd8a
VB
32062012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3207
3208 * ses.el (ses-cell-formula-aset): New macro.
3209 (ses-cell-references-aset): New macro.
3210 (ses-cell-p): New function.
3211 (ses-rename-cell): Do no longer rely on complex operations like
3212 ses-cell-set-formula or ses-set-cell to change the cell and handle
3213 the undo at the same time, but rather use lower level new macros
3214 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3215 the undo directly. Refresh the mode line.
b525fd8a 3216
2c73e345
LL
32172012-07-21 Leo Liu <sdl.web@gmail.com>
3218
670d85ea
SM
3219 * progmodes/cc-cmds.el (c-defun-name):
3220 Use match-string-no-properties instead for consistency.
2c73e345 3221
542dfbde
LL
32222012-07-20 Leo Liu <sdl.web@gmail.com>
3223
3646bcd6
LL
3224 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3225 (Bug#7879)
3226
542dfbde
LL
3227 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3228
25721031
CY
32292012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3232 * progmodes/bug-reference.el, misearch.el: Provide themselves
3233 (bug#11915).
3234
3235 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3236 of narrowed buffer (bug#11966).
3237
316e68a7
VB
32382012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3239
3240 * ses.el (ses-rename-cell): Set new name also in reference list of
3241 cells of which the renamed cell depends.
3242
bbf0e7d9
MY
32432012-07-20 Masatake YAMATO <yamato@redhat.com>
3244
3245 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3246 to check whether menu-bar is shown or not. If not shown,
3247 show the menu-bar as a popup menu instead of using tmm.
3248 * mouse.el (popup-menu): Accept `point' as `position' argument.
3249
c28662a8
DG
32502012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3251
3252 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3253 up inside string symbol literal (bug#11923).
3254
87ab808f
EZ
32552012-07-20 Eli Zaretskii <eliz@gnu.org>
3256
3257 * startup.el (fancy-startup-text): Read the whole tutorial, not
3258 just its first 256 bytes. Prevents gibberish in display of the
3259 tutorial title.
3260
89dea803
DA
32612012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3262
3263 Drop idle buffer compaction due to an absence of the
3264 proved efficiency.
3265 * compact.el: Remove.
3266
8a4e6db8
SS
32672012-07-19 Sam Steingold <sds@gnu.org>
3268
3269 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3270 vc-bzr-pull & vc-bzr-merge-branch.
3271 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3272 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3273 for consistency with compilation-error-regexp-alist.
3274 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3275 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3276 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3277 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3278
5db81e33
SM
32792012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * emacs-lisp/chart.el: Use lexical-binding.
3282 (chart-emacs-storage): Don't hardcode the list of entries.
3283
5b835e1d
DA
32842012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3285
3286 Next round of tweaks caused by Fgarbage_collect changes.
3287 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3288
9cd47b72
DA
32892012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3290
3291 Compact buffers when idle.
3292 * compact.el: New file.
3293
1d6fc0df
SM
32942012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3295
3296 * subr.el (eventp): Presume that if it looks vaguely like an event,
3297 it's an event (bug#10190).
3298
1d29cc7d
FEG
32992012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3300
3301 Enhancements to ppss related code (thanks Stefan).
3302 * progmodes/python.el (python-indent-context)
3303 (python-indent-calculate-indentation, python-indent-dedent-line)
3304 (python-indent-electric-colon, python-nav-forward-block)
3305 (python-mode-abbrev-table)
1d6fc0df 3306 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3307 for ppss context.
3308 (python-info-continuation-line-p): Cleanup.
3309 (python-info-ppss-context): Do not catch 'quote.
3310 (python-info-ppss-context-type)
3311 (python-info-ppss-comment-or-string-p): Simplify.
3312
d583cbe6
FEG
33132012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3314
3315 * progmodes/python.el: Enhancements to eldoc support.
3316 (python-info-current-symbol): New function.
3317 (python-eldoc-at-point): Use python-info-current-symbol.
3318 (python-info-current-defun): Fix cornercase on first defun scan.
3319 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3320 and signal error when no inferior python process is available.
3321
eceb6feb
DG
33222012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3323
3324 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3325 assume it's always t.
3326 (vc-git-registered): Remove caching, the function is only called
3327 once.
3328 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3329
4c8ff0fe
CY
33302012-07-18 Chong Yidong <cyd@gnu.org>
3331
19fb7186
CY
3332 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3333
9587c688
CY
3334 * simple.el (count-words): Report on narrowing (Bug#9959).
3335
0fe776a1
CY
3336 * bindings.el: Bind M-= to count-words.
3337
4c8ff0fe
CY
3338 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3339
7f5331cc
MY
33402012-07-18 Masatake YAMATO <yamato@redhat.com>
3341
3342 * progmodes/sh-script.el (sh-imenu-generic-expression):
3343 Capture a function with `function' keyword and without parentheses
3344 like "function FOO" (bug#11856).
3345
2dc2a609
TH
33462012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3347
3348 * window.el (split-window-sensibly): Make WINDOW argument
3349 optional.
3350
439f7677
CY
33512012-07-18 Chong Yidong <cyd@gnu.org>
3352
9aeb25a6
CY
3353 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3354
439f7677
CY
3355 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3356 and make C-x 8 RET exit isearch (Bug#11439).
3357
3358 * international/iso-transl.el: Move isearch-mode-map key
3359 definitions to isearch.el.
3360
12999ea8
SM
33612012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3362
3363 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3364 (eieio-defclass): Use gv-define-setter when possible.
3365
3ab6e069
DA
33662012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3367
3368 Reflect recent changes in Fgarbage_collect.
3369 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3370 reflect new format of data returned by Fgarbage_collect.
3371
0a60bc10
FEG
33722012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3373
3374 New utility functions + python-info-ppss-context fix (Bug#11910).
3375 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3376 (python-info-ppss-comment-or-string-p): New functions.
3377 (python-info-ppss-context): Small fix for string check.
3378
6dafa0d5
JL
33792012-07-17 Juri Linkov <juri@jurta.org>
3380
3381 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3382 (dired-do-async-shell-command): Don't add `*' at the end of the
3383 command (Bug#11815).
3384 (dired-do-shell-command): Doc fix.
3385 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3386 Join the individual commands using either "&" or ";" as the
3387 separator depending on the values of these trailing characters.
3388 At the end re-add the trailing "&". (Bug#10598)
3389
3390 * simple.el (async-shell-command): Sync the interactive spec with
3391 `shell-command'. Doc fix.
3392 (shell-command): Doc fix.
3393
b19dd9d1
JL
33942012-07-17 Juri Linkov <juri@jurta.org>
3395
3396 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3397
bcdc27d7 33982012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3399
bcdc27d7 3400 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3401 * progmodes/python.el (python-nav-beginning-of-statement):
3402 Rename from python-nav-statement-start.
bcdc27d7
FEG
3403 (python-nav-end-of-statement): Rename from
3404 python-nav-statement-end.
3405 (python-nav-beginning-of-block): Rename from
3406 python-nav-block-start.
3407 (python-nav-end-of-block): Rename from python-nav-block-end.
3408
191da00e
FEG
34092012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3410
7f5331cc
MY
3411 * progmodes/python.el (python-shell-send-string-no-output):
3412 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3413 future interactions (Bug#11868).
3414
4dc7c8d5 34152012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3416
88ecaf8f
SM
3417 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3418
ef501ef0
SM
3419 * emacs-lisp/elint.el (elint-find-args-in-code):
3420 Use help-function-arglist, so as to handle lexical byte-code.
3421
aa7aaf8f
SM
3422 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3423 change (bug#11826).
3424
45fd731c
SM
34252012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3426
2143fa32
SM
3427 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3428 Avoid spuriously marking the buffer as modified because of c-is-sws.
3429
efc26dbe
SM
3430 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3431 as not-a-comment (bug#11946).
3432
f5695c9a
SM
3433 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3434 for uninterned vars.
3435
3436 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3437 Use read-event since we don't really want to read chars but bytes.
3438
45fd731c
SM
3439 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3440 $$..$$ but also $..$ using regexps (bug#11953).
3441 Use tex-verbatim for \url and \path.
3442 (tex-font-lock-keywords): Define as defconst like the others.
3443 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3444
ddfc8813
RK
34452012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3446
3447 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3448 alias for insert-char.
3449
758e556a
FEG
34502012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3451
3452 * progmodes/python.el: Simplified imenu implementation.
3453 (python-nav-jump-to-defun): Remove command.
3454 (python-mode-map): Use `imenu' instead.
3455 (python-nav-list-defun-positions-cache)
3456 (python-imenu-include-defun-type, python-imenu-make-tree)
3457 (python-imenu-subtree-root-label, python-imenu-index-alist):
3458 Remove vars.
3459 (python-nav-list-defun-positions, python-nav-read-defun)
3460 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3461 (python-imenu-make-tree, python-imenu-create-index):
3462 Remove functions.
758e556a
FEG
3463 (python-mode): Update to interact with imenu by setting
3464 `imenu-extract-index-name-function' only.
3465
032d23ab
FEG
34662012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3467
3468 * progmodes/python.el: Enhancements to navigation commands.
3469 (python-nav-backward-sentence)
3470 (python-nav-forward-sentence): Remove.
3471 (python-nav-backward-statement, python-nav-forward-statement)
3472 (python-nav-statement-start, python-nav-statement-end)
3473 (python-nav-backward-block, python-nav-forward-block)
3474 (python-nav-block-start, python-nav-block-end)
3475 (python-nav-forward-sexp-function)
3476 (python-info-current-line-comment-p)
3477 (python-info-current-line-empty-p): New functions.
3478 (python-indent-context): Use `python-nav-statement-start'.
3479
01795a1b
MA
34802012-07-16 Michael Albinus <michael.albinus@gmx.de>
3481
9328d9aa
MA
3482 * eshell/em-ls.el (eshell/ls): Use `apply'.
3483
3484 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3485 multi-hops, instead of Tramp internals.
3486
01795a1b
MA
3487 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3488
3489 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3490 when F1 and F2 are located on different hosts.
3491
63408057
CY
34922012-07-14 Chong Yidong <cyd@gnu.org>
3493
3494 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3495 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3496 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3497 (xterm-mouse--read-event-sequence-1000)
3498 (xterm-mouse--read-event-sequence-1006): New functions. For old
3499 mouse protocol, handle M-mouse-X events correctly.
3500 (xterm-mouse-event): New arg specifying mouse protocol.
3501 (turn-on-xterm-mouse-tracking-on-terminal)
3502 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3503 sequence to toggle extended coordinates on newer XTerms.
3504 This appears to be harmless on terminals which do not support this.
63408057 3505
cd276f6e
LL
35062012-07-14 Leo Liu <sdl.web@gmail.com>
3507
28ca98ac
LL
3508 Add fringe bitmap indicators for flymake. (Bug#11253)
3509 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3510 (flymake-make-overlay): New arg BITMAP.
3511 (flymake-error-bitmap, flymake-warning-bitmap)
3512 (flymake-fringe-indicator-position): New user variables.
3513
cd276f6e
LL
3514 * fringe.el: New bitmap exclamation-mark.
3515
04408072
JD
35162012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3517
3518 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3519 also (Bug#7879).
3520
b5cf7fc4
CY
35212012-07-14 Chong Yidong <cyd@gnu.org>
3522
3523 * electric.el (electric-pair-post-self-insert-function): Fix pair
3524 insertion in empty-region case (Bug#11520).
3525
be755c79
RT
35262012-07-14 Chong Yidong <cyd@gnu.org>
3527
45fd731c
SM
3528 * bindings.el: Consolidate ctl-x-r-map bindings.
3529 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3530
3531 * rect.el, register.el: Move bindings to bindings.el.
3532
35332012-07-14 Reuben Thomas <rrt@sc3d.org>
3534
3535 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3536
7f5b3198
AS
35372012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3538
3539 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3540
97662200
JB
35412012-07-13 Juanma Barranquero <lekktu@gmail.com>
3542
80185fed
JB
3543 * bindings.el (top): Use `mapc' instead of `mapcar'.
3544
97662200
JB
3545 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3546
2bb1ae55
MA
35472012-07-13 Michael Albinus <michael.albinus@gmx.de>
3548
3549 * progmodes/sql.el (sql-comint): Suppress the check for program on
3550 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3551 (Bug#11908)
3552
dea31bd3
CY
35532012-07-13 Chong Yidong <cyd@gnu.org>
3554
3555 * bindings.el: Assign a non-nil permanent-local property to
3556 per-buffer variables which lack a default value (Bug#11930).
3557
3558 * help-fns.el (describe-variable): In the "automatically becomes
3559 local" notice, take note of permanent-local variables.
3560
b68b3337
CY
35612012-07-13 Chong Yidong <cyd@gnu.org>
3562
3563 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3564 to allow printing the message when called from Lisp.
3565
3566 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3567 Remove toggle-read-only.
3568
3569 * bs.el (bs-toggle-readonly):
45fd731c
SM
3570 * buff-menu.el (Buffer-menu-toggle-read-only):
3571 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3572
3573 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3574 Remove with-no-warnings around toggle-read-only.
3575 (ffap-read-only, ffap-read-only-other-window)
3576 (ffap-read-only-other-frame): Callers changed.
3577
3578 * help-mode.el: Don't require view package.
3579 (help-mode-finish): Set buffer-read-only instead of calling
3580 toggle-read-only.
3581
3582 * bindings.el (mode-line-toggle-read-only):
3583 * dired.el (dired-toggle-read-only):
3584 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3585 with non-nil second arg.
3586
3587 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3588 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3589 directly.
3590
56bc1586
EZ
35912012-07-12 Eli Zaretskii <eliz@gnu.org>
3592
3593 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3594 not incf.
3595
a464a6c7
SM
35962012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3597
3598 More CL cleanups and reduction of use of cl.el.
3599 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3600 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3601 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3602 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3603 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3604 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3605 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3606 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3607 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3608 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3609 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3610 * eshell/em-cmpl.el, eshell/em-banner.el:
3611 * calendar/parse-time.el: Use cl-lib.
3612 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3613 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3614 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3615 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3616 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3617 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3618 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3619 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3620 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3621 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3622 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3623 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3624 `lambda' rather than with `quote'.
3625 (eshell-do-opt): Adjust accordingly.
3626 (eshell-process-option): Simplify.
3627 * eshell/esh-var.el:
3628 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3629 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3630 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3631 to `pcase--dontcare'.
3632 * emacs-lisp/cl.el (labels): Mark obsolete.
3633 (cl--letf, letf): Move to cl-lib.
3634 (cl--letf*, letf*): Remove.
3635 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3636 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3637 (cl-progv): Rewrite.
3638 (cl--letf, cl-letf): Move from cl.el.
3639 (cl-letf*): New macro.
3640 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3641
7ad4afe1
MA
36422012-07-11 Michael Albinus <michael.albinus@gmx.de>
3643
3644 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3645
9af57756
CY
36462012-07-11 Chong Yidong <cyd@gnu.org>
3647
3648 * vc/log-edit.el (log-edit-vc-backend): New variable.
3649 (log-edit): Doc fix.
3650
3651 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3652 argument of log-edit to set up all local variables.
3653 (vc-start-logentry): New optional arg specifying VC backend.
3654
3655 * vc/vc.el (vc-checkin): Use it.
3656 (vc-deduce-fileset): Handle Log Edit buffers.
3657 (vc-diff): Make first argument optional too.
3658
3659 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3660
8477cc7a
MA
36612012-07-10 Michael Albinus <michael.albinus@gmx.de>
3662
3663 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3664 command, just in case. The function is not needed anymore.
3665 (eshell-external-command): Do not call `eshell-remote-command'.
3666
19faa8e8
SM
36672012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3668
f58e0fd5
SM
3669 Reduce use of (require 'cl).
3670 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3671 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3672 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3673 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3674 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3675 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3676 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3677 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3678 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3679 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3680 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3681 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3682 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3683 (byte-compile-unfold-bcf, byte-compile-check-variable):
3684 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3685 (byte-compile-nilconstp):
3686 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3687 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3688
2519d43a
SM
3689 * emacs-lisp/gv.el (cond): Make it a valid place.
3690 (if): Simplify slightly.
3691
19faa8e8
SM
3692 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3693 (pcase--self-quoting-p): New function.
3694 (pcase--u1): Use it.
3695
c4907a5e
GM
36962012-07-10 Glenn Morris <rgm@gnu.org>
3697
3698 * emacs-lisp/authors.el (authors-fixed-entries):
3699 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3700
c4444d16
PE
37012012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3702
3703 Rename configure.in to configure.ac (Bug#11603).
3704 * emacs-lisp/authors.el (authors-canonical-file-name):
3705 * progmodes/autoconf.el (autoconf-mode):
3706 Prefer configure.ac to configure.in.
3707
d75be97d
CY
37082012-07-08 Chong Yidong <cyd@gnu.org>
3709
01ac65bd
CY
3710 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3711 Implement the mouse-1-click-follows-link handling properly.
3712
3713 * info.el (Info-link-keymap): Use follow-link mechanism for
3714 header-line links (Bug#374).
3715
d75be97d
CY
3716 * simple.el (deactivate-mark): Do not set the primary selection
3717 if another program has acquired it (Bug#11772).
3718
87a92845 37192012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3720
3721 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3722 (woman-decode-region): Replace escaped-escapes without destroying
3723 bold or underline (Bug#11552).
87a92845 3724 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3725
621b9d6c
CY
37262012-07-07 Chong Yidong <cyd@gnu.org>
3727
3728 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3729 (interprogram-cut-function, interprogram-paste-function):
3730 Mention that we typically mean the clipboard.
621b9d6c 3731
133a11fc
GM
37322012-07-06 Glenn Morris <rgm@gnu.org>
3733
0d27a45e
GM
3734 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3735
133a11fc
GM
3736 * files.el (toggle-read-only): Restrict message to interactive use.
3737
07b151f1
MA
37382012-07-06 Michael Albinus <michael.albinus@gmx.de>
3739
3740 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3741
3742 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3743
211b896b
GM
37442012-07-06 Glenn Morris <rgm@gnu.org>
3745
50394322
GM
3746 * Makefile.in (compile-one-process): Rename from "recompile".
3747
211b896b
GM
3748 * Makefile.in (bzr-update): "compile" is the same as "recompile
3749 autoloads", but parallelizable, so use that instead.
3750
4737eec9
DG
37512012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3752
3753 * window.el (quit-window): Always restore window height when
8137e7b3 3754 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3755
226c3633 37562012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3757
3758 * simple.el (kill-whole-line): Doc tweak.
3759
226c3633 37602012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3761
3762 * files.el (file-relative-name): Compare file names
3763 case-insensitively if on MS-Windows or MS-DOS, or if
3764 read-file-name-completion-ignore-case is non-nil. Don't use
3765 case-fold-search for this purpose. (Bug#11827)
3766
4dc7c8d5
SM
37672012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3768
3769 * calendar/cal-dst.el (calendar-current-time-zone):
3770 Return calendar-current-time-zone-cache if non-nil.
3771
37722012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 37732012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3774
19faa8e8
SM
3775 * calendar/cal-dst.el (calendar-current-time-zone):
3776 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3777
60198fc9
GM
37782012-07-06 Glenn Morris <rgm@gnu.org>
3779
3780 * Makefile.in (cvs-update): Remove old alias.
3781
957b3189
MA
37822012-07-05 Michael Albinus <michael.albinus@gmx.de>
3783
3784 Sync with Tramp 2.2.6-pre.
3785
3786 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3787 compatible declaration.
3788
19faa8e8
SM
3789 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3790 Protect `list-load-path-shadows' call.
957b3189
MA
3791
3792 * net/tramp-compat.el (top): Require packages, which aren't
3793 autoloaded anymore for XEmacs. Protect call of
3794 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3795 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3796 it hurts at least for SXEmacs.
3797 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3798 standard-value for `temporary-file-directory'.
3799
3800 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3801 Redirect stderr to /dev/null.
3802 (tramp-sh-handle-write-region): uid and gid can be floats.
3803 Reported by Russell Sim <russell.sim@gmail.com>.
3804 (tramp-sh-handle-vc-registered): Hide errors.
3805 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3806 and `start-file-process'.
3807 (tramp-maybe-open-connection): Check also whether `non-essential'
3808 is bound.
3809
566df3fc
CY
38102012-07-04 Chong Yidong <cyd@gnu.org>
3811
3812 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3813 (xml-parse-tag): Likewise, and avoid changing entity tables.
3814 (xml-syntax-table): Define from scratch, making sure not to give
3815 x2000 and other Unicode spaces whitespace syntax, since those are
3816 not spaces in XML.
3817 (xml-parse-fragment): Delete unused function.
3818 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3819 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3820 (xml-entity-ref, xml-pe-reference-re)
3821 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3822 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3823 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3824 (xml-entity-value-re): Use syntax references in regexps where
3825 possible; no need to define inside a let-binding.
3826 (xml-parse-dtd): Use xml-pe-reference-re.
3827 (xml-entity-or-char-ref-re): New defconst.
3828 (xml-parse-string, xml-substitute-special): Use it.
3829
30eabd7a
SM
38302012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3831
0781098a
SM
3832 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3833 (find-file--read-only): New function.
3834 (find-file-read-only, find-file-read-only-other-window)
3835 (find-file-read-only-other-frame): Use it.
3836 (insert-file-contents-literally): Don't `fset'.
3837 (get-free-disk-space): Use locate-dominating-file.
3838
b5771c0d
SM
3839 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3840 function is already compiled.
3841
30eabd7a
SM
3842 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3843
b4886f6e
MA
38442012-07-03 Michael Albinus <michael.albinus@gmx.de>
3845
3846 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3847 files on the same host.
3848
b9d82339
AS
38492012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3850
3851 * help-fns.el (describe-function-1): Only call
3852 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3853
a76e6535
CY
38542012-07-03 Chong Yidong <cyd@gnu.org>
3855
3856 * xml.el: Protect parser against XML bombs.
3857 (xml-entity-expansion-limit): New variable.
3858 (xml-parse-string, xml-substitute-special): Use it.
3859 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3860
b544fef2
GM
38612012-07-03 Glenn Morris <rgm@gnu.org>
3862
3863 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3864 Allow linking to specific messages in debbugs reports (eg 123#5).
3865
a7aef6f5
CY
38662012-07-02 Chong Yidong <cyd@gnu.org>
3867
3868 * xml.el: Fix entity and character reference expansion, allowing
3869 them to expand into markup as per XML spec.
3870 (xml-default-ns): New variable.
3871 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3872 (xml-parse-region): Make first two arguments optional.
3873 Discard text properties.
3874 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3875 All callers changed.
a7aef6f5
CY
3876 (xml-parse-tag): Call xml-parse-tag-1. For backward
3877 compatibility, this function should not modify buffer contents.
3878 (xml-parse-tag-1): Fix opening-tag regexp.
3879 (xml-parse-string): Rewrite, handling entity and character
3880 references properly.
3881 (xml--entity-replacement-text): Signal an error if a parameter
3882 entity is undefined.
3883
3df31c9f
SM
38842012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3885
2b5208f1
SM
3886 * comint.el (comint-output-filter): Filter out repeated prompts.
3887
3df31c9f
SM
3888 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3889 and file-name-absolute-p.
3890 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3891 internal calls.
3892
e3ac1281
PE
38932012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3894
3895 Spelling fixes.
3896 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3897 Rename from byte-compile--refiy-function. All uses changed.
3898
fbf2e7ad
CY
38992012-07-01 Chong Yidong <cyd@gnu.org>
3900
3901 * xml.el (xml--parse-buffer): New function. Move most of
3902 xml-parse-region here.
3903 (xml-parse-region): Copy region into a temporary buffer, since
3904 parameter entity substitution requires changing buffer contents.
3905 Use xml--parse-buffer.
3906 (xml-parse-file): Use xml--parse-buffer.
3907 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3908 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3909
9bf0aa15
GM
39102012-06-30 Glenn Morris <rgm@gnu.org>
3911
bbce2853
GM
3912 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3913
9bf0aa15
GM
3914 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3915 Remove outdated and unnecessary dbus declarations.
3916
0d23c240
EZ
39172012-06-30 Eli Zaretskii <eliz@gnu.org>
3918
3919 * emacs-lisp/timer.el (timer-until): Subtract results of
3920 float-time, instead of taking float-time of the result of
3921 time-subtract, since float-time signals an error for negative time
3922 arguments.
3923
b3218de1
CY
39242012-06-30 Chong Yidong <cyd@gnu.org>
3925
3926 * xml.el (xml-*-re): Convert defvars into defconsts, and
3927 eval-and-compile them so eval-and-compile works on derivatives.
3928 (xml--entity-replacement-text): Use eval-and-comple.
3929
a40c87a0
MA
39302012-06-30 Michael Albinus <michael.albinus@gmx.de>
3931
3932 * vc/vc-git.el (vc-git-registered): Use cache property
3933 `git-registered'.
3934 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3935 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3936 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3937
ac87de97
DG
39382012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3939
3940 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3941 removed (likely outside Emacs). (Bug#11757)
ac87de97 3942
ac10fe06
SM
39432012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3df31c9f 3945 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3946
7f3fbd5d
CY
39472012-06-30 Chong Yidong <cyd@gnu.org>
3948
3949 * xml.el: Implement XML parameter entities.
3950 (xml-parameter-entity-alist): New variable.
3951 (xml-parse-region, xml-parse-fragment): Preserve previous values
3952 of xml-entity-alist and xml-parameter-entity-alist, so that
3953 repeated calls on different documents do not change them.
3954 (xml-parse-tag): Fix doctype regexp.
3955 (xml--entity-replacement-text): New function.
3956 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3957 properly requires url retrieval which is unimplemented.
3958 (xml-escape-string): Doc fix.
3959
3cfbebba
SM
39602012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3961
3962 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3963
2af3565e
DA
39642012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3965
3966 * fringe.el (fringe-mode): Doc fix.
3967
929df0e7
MA
39682012-06-29 Michael Albinus <michael.albinus@gmx.de>
3969
3970 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3971 is non-nil.
3972 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3973 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3974
c8d3a25c 39752012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3976
c8d3a25c
GM
3977 * calendar/cal-dst.el (calendar-current-time-zone):
3978 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3979
c8d3a25c 39802012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3981
3982 * progmodes/which-func.el (which-func-format):
3983 Add mouse-face. (Bug#11698)
3984
c8d3a25c
GM
39852012-06-29 Leo Liu <sdl.web@gmail.com>
3986
3987 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3988
39892012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3990
3991 * minibuffer.el (minibuffer-confirm-exit-commands):
3992 Add completion-at-point (bug#11725).
3993
39942012-06-29 Glenn Morris <rgm@gnu.org>
3995
3996 * progmodes/f90.el (f90-font-lock-keywords-2):
3997 Add some preprocessor elements. (Bug#10499)
3998
39992012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4002 Use syntax-propertize (bug#11739).
4003
2badeec4
JB
40042012-06-28 Juanma Barranquero <lekktu@gmail.com>
4005
4006 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4007
ae4969c2
JD
40082012-06-28 Julien Danjou <julien@danjou.info>
4009
4010 * term.el (term-handle-colors-array): Use a set of new faces to
4011 color the terminal. Also uses :inverse-video property.
4012 (term-default-fg-color): Set to nil by default, deprecate in favor
4013 of `term-face'.
4014 (term-default-bg-color): Set to nil by default, deprecate in favor
4015 of `term-face'.
4016 (term-current-face): Use `term-face' by default.
4017 (term-bold-attribute): Variable deleted.
4018
1c9bd870
GM
40192012-06-28 Glenn Morris <rgm@gnu.org>
4020
4021 * simple.el (completion-list-mode-finish):
4022 Don't use toggle-read-only. (Since completion-list-mode has
4023 a special mode-class, it wasn't doing anything extra anyway.)
4024
c207708c
SM
40252012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 Make inlining of other-mode interpreted functions work (bug#11799).
4028 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4029 (byte-compile): Use it to fix compilation of lexical-binding closures.
4030 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4031 function, if needed.
4032
3fd56834
SM
40332012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4034
04901786
SM
4035 * help-mode.el (help-make-xrefs): Don't just withstand
4036 cyclic-variable-indirection but any error in documentation-property.
4037
1ec4b7b2
SM
4038 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4039 memory use.
4040 * bindings.el (bindings--define-key): New function.
4041 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4042 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4043 * bindings.el: Use it to purecopy define-key bindings.
4044
e309e2a5
SM
4045 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4046
d5c6faf9
SM
4047 * emacs-lisp/cl.el (flet): Mark obsolete.
4048 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4049 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4050 * progmodes/js.el (js-c-fill-paragraph):
4051 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4052 (ebrowse-switch-member-buffer-to-derived-class):
4053 * play/5x5.el (5x5-solver): Use cl-flet.
4054
6e9590e2
SM
4055 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4056 (cl--symbol-function): New macro.
4057 (cl--letf, cl--letf*): Use it.
4058
3fd56834
SM
4059 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4060 Strip "toggle-" if any.
4061
35ff222c
GM
40622012-06-27 Glenn Morris <rgm@gnu.org>
4063
1ba6038a
GM
4064 * info.el (Info-default-directory-list): Move here from paths.el.
4065 * paths.el: Remove file, which is now empty.
4066 * loadup.el: No longer load "paths".
4067
0ea0e51b
GM
4068 * custom.el (custom-initialize-delay): Doc fix.
4069
35ff222c
GM
4070 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4071 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4072 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4073 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4074 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4075 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4076 * eshell/eshell.el (eshell-defgroup): Remove alias.
4077
c89926a5
CY
40782012-06-27 Chong Yidong <cyd@gnu.org>
4079
4080 * help.el (help-enable-auto-load): New variable.
4081
4082 * help-fns.el (help-fns--autoloaded-p): New function.
4083 (describe-function-1): Refer to a function as "autoloaded" if it
4084 was autoloaded at any time in the past. Perform autoloading if
4085 help-enable-auto-load is non-nil.
4086
cc06e7e7
EZ
40872012-06-26 Eli Zaretskii <eliz@gnu.org>
4088
4089 * makefile.w32-in (compile, compile-always): Depend on
4090 update-subdirs, not on subdirs.el. Otherwise, several different
4091 sub-targets of 'bootstrap' running in parallel could
4092 simultaneously write to subdirs.el, producing a garbled file.
4093
d2c32364
SS
40942012-06-26 Sam Steingold <sds@gnu.org>
4095
4096 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4097 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4098 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4099 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4100 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4101 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4102 * textmodes/tex-mode.el: Use it.
4103 Did not touch cedet and org because they are maintained elsewhere.
4104
5cf983b2
MR
41052012-06-26 Martin Rudalics <rudalics@gmx.at>
4106
4107 * calendar/calendar.el (calendar-exit): Don't try to delete or
4108 iconify last frame. See:
4109 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4110
8c4f2952
JD
41112012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4112
4113 * server.el (server-process-filter): Remember dir in the
4114 process's `server-client-directory' properties.
4115
772b2e2c
CY
41162012-06-24 Chong Yidong <cyd@gnu.org>
4117
4118 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4119 non-tag text.
4120
711b11e1
JB
41212012-06-23 Juanma Barranquero <lekktu@gmail.com>
4122
4123 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4124
dc5d230c
SM
41252012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * help-fns.el (describe-variable): Don't croak when doc is not found.
4128 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4129 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4130 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4131 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4132 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4133 ((lambda ..) ..).
4134 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4135
136e1c1d
CY
41362012-06-23 Chong Yidong <cyd@gnu.org>
4137
e8c1cabf
CY
4138 * info.el (Info-mouse-follow-link): Accept symbol values of
4139 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4140 (Info-fontify-node): Use Info-link-keymap for all navigation
4141 buttons, with link-args property to perform the desired action.
4142 (Info-link-keymap): Doc fix.
4143 (Info-next-link-keymap, Info-prev-link-keymap)
4144 (Info-up-link-keymap): Delete now-unused keymaps.
4145
0e9e6c6a
CY
41462012-06-23 Chong Yidong <cyd@gnu.org>
4147
05e89fea
CY
4148 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4149
0e9e6c6a
CY
4150 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4151 system abbrevs.
4152
4153 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4154
e33c6771
SM
41552012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4156
b68581e2
SM
4157 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4158 (bug#11719).
4159
e33c6771
SM
4160 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4161 the requote function doesn't work properly (bug#11714).
4162
7117e105
GM
41632012-06-23 Glenn Morris <rgm@gnu.org>
4164
4165 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4166
36cec983
SM
41672012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4168
4169 Further GV/CL cleanups.
4170 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4171 gv-expander.
4172 (gv--defun-declaration): New function.
4173 (defun-declarations-alist): Use it.
4174 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4175 (gv-place): Autoload.
4176 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4177 original definition of dotimes and dolist.
4178 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4179 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4180 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4181 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4182 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4183 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4184 to the function's definition.
4185 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4186 * window.el:
4187 * files.el:
4188 * faces.el:
4189 * env.el: Don't use CL.
4190
d35af63c
PE
41912012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4192
4193 Support higher-resolution time stamps (Bug#9000).
4194
4195 * calendar/time-date.el (with-decoded-time-value): New arg
4196 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4197 (encode-time-value): New optional arg PICO. New type 3.
4198 (time-to-seconds) [!float-time]: Support the new picoseconds
4199 component if it's used.
4200 (seconds-to-time, time-subtract, time-add):
4201 Support ps-resolution time stamps as well.
4202
4203 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4204 (timerp): Timer vectors now have length 9, not 8.
4205 (timer--time): Support new-style (4-part) time stamps.
4206 (timer-next-integral-multiple-of-time): Time stamps now have
4207 picosecond resolution, so take a bit more care about rounding.
4208 (timer-relative-time, timer-inc-time): New optional arg psecs.
4209 (timer-set-time-with-usecs): Set psecs to 0.
4210 (timer--activate): Check psecs component, too.
4211
4212 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4213
ac77b21a
SM
42142012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4215
f143bfe3
SM
4216 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4217 Move the non-essential binding to the post/pre-command-hook where it is
4218 more obviously correct.
4219
ac77b21a
SM
4220 * subr.el (read-passwd): Don't use a history at all.
4221 * savehist.el (savehist-save): Remove password saved accidentally
4222 because of the above bug.
4223
76386c5a
BG
42242012-06-22 Bastien Guerry <bzg@gnu.org>
4225
4226 * files.el (toggle-read-only): Display a message telling whether
4227 the buffer is read-only or not (bug#11726).
4228
2ee3d7f0
SM
42292012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * emacs-lisp/gv.el: New file.
4232 * subr.el (push, pop): Extend to generalized variables.
4233 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4234 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4235 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4236 gv-define-simple-setter, and gv-define-expander.
4237 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4238 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4239 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4240 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4241 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4242 gv-letplace.
4243 (cl-defstruct): Don't define setf-method any more.
4244 * emacs-lisp/cl.el (flet): Don't autoload.
4245 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4246 (define-setf-expander, defsetf, define-modify-macro)
4247 (cl-struct-setf-expander): Move from cl-lib.el.
4248 * emacs-lisp/syntax.el:
4249 * emacs-lisp/ewoc.el:
4250 * emacs-lisp/smie.el:
4251 * emacs-lisp/cconv.el:
4252 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4253 (timer--time): Use gv-define-simple-setter.
4254 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4255 to avoid coding-system problems in subr.el. Adjust all users.
4256 (macroexp--maxsize, macroexp-small-p): New functions.
4257 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4258 * scroll-bar.el (scroll-bar-mode):
4259 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4260 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4261 * winner.el (winner-configuration, winner-make-point-alist)
4262 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4263 * files.el (locate-file-completion-table): Avoid list*.
4264
c5695d1d
CY
42652012-06-22 Chong Yidong <cyd@gnu.org>
4266
4267 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4268 (dired-create-files): Doc fix (Bug#11329).
4269 (dired-do-copy): Doc fix (Bug#11334).
4270 (dired-mark-read-string): Doc fix (Bug#11553).
4271
2ee3d7f0
SM
4272 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4273 Doc fix (Bug#11326).
c5695d1d
CY
4274 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4275 (dired-dwim-target): Doc fix.
4276
4277 * wdired.el (wdired-mode): Doc fix.
4278
89b5595a
GM
42792012-06-22 Glenn Morris <rgm@gnu.org>
4280
575db3f1
GM
4281 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4282 (pcmpl-rpm-cache-stamp-file): New constant.
4283 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4284 (pcmpl-rpm-packages): Optionally cache list of packages.
4285
a4c8dd51
GM
4286 * pcmpl-rpm.el (pcmpl-rpm): New group.
4287 (pcmpl-rpm-query-options): New option.
4288 (pcmpl-rpm-packages): No need to inline it.
4289 Use pcmpl-rpm-query-options.
4290
89b5595a
GM
4291 * calendar/calendar.el (calendar-in-read-only-buffer):
4292 Avoid some needless mode changes.
4293
e76f0800
CY
42942012-06-21 Chong Yidong <cyd@gnu.org>
4295
4296 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4297 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4298 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4299
297a8f1d
CY
43002012-06-20 Chong Yidong <cyd@gnu.org>
4301
4302 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4303
d34c18b1
DR
43042012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4305
4306 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4307 (bug#11201).
4308
32f7f28e
CY
43092012-06-20 Chong Yidong <cyd@gnu.org>
4310
4311 * term.el (term-window-width): Handle the case of a missing right
4312 fringe (Bug#8837).
4313 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4314 (term-mode): Use define-derived-mode. Minor cleanups.
4315 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4316 (term-move-columns, term-insert-char, term-emulate-terminal)
4317 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4318
493c6688
MA
43192012-06-20 Michael Albinus <michael.albinus@gmx.de>
4320
d34c18b1
DR
4321 * net/ange-ftp.el (ange-ftp-get-passwd):
4322 Bind `enable-recursive-minibuffers'.
493c6688
MA
4323 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4324
3f06ecf4
DR
43252012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4326
4327 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4328
68f12411
GM
43292012-06-19 Glenn Morris <rgm@gnu.org>
4330
4331 * progmodes/python.el (python-mode): Derive from prog-mode.
4332
b3820318
KG
43332012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4334
4335 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4336 (edt-user-menu-bar-update-buffers): New functions.
4337 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4338
c6bf3022
CY
43392012-06-19 Chong Yidong <cyd@gnu.org>
4340
4341 * subr.el (with-selected-window): Preserve the selected window's
4342 terminal's top-frame (Bug#4702).
4343
4344 * window.el (save-selected-window): Likewise.
4345
25f09295
SM
43462012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * progmodes/python.el (python-rx-constituents): Move backquote.
4349 (python-skeleton-define, python-define-auxiliary-skeleton):
4350 Use `declare'.
4351
6b11952a
MA
43522012-06-18 Michael Albinus <michael.albinus@gmx.de>
4353
4354 * minibuffer.el (read-file-name-default): Revert the patch from
4355 2012-06-17.
4356
ee4b1330
SM
43572012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4358
4359 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4360 (pcase--u1, pcase--q1): Don't use apply-partially.
4361
35647f79
GM
43622012-06-18 Glenn Morris <rgm@gnu.org>
4363
4364 * progmodes/python.el (python-proc, python-buffer)
4365 (python-send-receive, python-send-string): Fix obsolete versions.
4366
24b0cff0
MR
43672012-06-18 Martin Rudalics <rudalics@gmx.at>
4368
4369 * window.el (special-display-p): Completely remove stringp
4370 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4371
29855149
MA
43722012-06-17 Michael Albinus <michael.albinus@gmx.de>
4373
4374 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4375
4376 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4377
4378 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4379 * net/tramp-sh.el (tramp-maybe-open-connection):
4380 Throw if `non-essential' is non-nil.
4381
07463363
MR
43822012-06-17 Martin Rudalics <rudalics@gmx.at>
4383
4384 * window.el (special-display-p): Signal an error if BUFFER-NAME
4385 is not a string (Bug#11713).
4386
48d1354e
PE
43872012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4388
4389 * progmodes/python.el (python-info-beginning-of-backslash):
4390 Rename from python-info-beginning-of-backlash, as a spelling fix.
4391
eb4a8a9a
CY
43922012-06-17 Chong Yidong <cyd@gnu.org>
4393
4394 * term.el (term-emulate-terminal): If term-check-size is called,
4395 move point to the process mark without resetting point (Bug#4635).
4396
ddfbf826 43972012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4398
4399 * international/mule-cmds.el (mule-menu-keymap)
4400 (set-language-environment, set-locale-environment): Doc tweaks.
4401
9b0e3eba
AA
44022012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4403
4404 * cus-face.el (custom-face-attributes): Add wave-style underline
4405 attribute.
4406 * faces.el (set-face-attribute): Update docstring to describe
4407 wave-style underline attribute.
4408
771e3eae
CY
44092012-06-16 Chong Yidong <cyd@gnu.org>
4410
4411 * term/xterm.el (terminal-init-xterm): Discard input before
4412 querying background mode (Bug#10959).
4413
7ae2ea10
SM
44142012-06-16 Stefan Merten <smerten@oekonux.de>
4415
4416 * textmodes/rst.el: Added and corrected some comments.
4417 (rst-re-alist-def): Improve symbol syntax.
4418 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4419 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4420 (rst-official-version, rst-official-cvs-rev): Update version
4421 information.
7ae2ea10 4422
b6974efa
JB
44232012-06-15 Juanma Barranquero <lekktu@gmail.com>
4424
4425 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4426 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4427
8826d473
GM
44282012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4429
4430 * progmodes/python.el: New python.el merge.
4431 (python-guess-indent): Obsolete var.
4432 (python-indent-guess-indent-offset): New defcustom.
4433 (python-indent): Obsolete var.
4434 (python-indent-offset): New defcustom.
4435 (python-python-command, python-jython-command): Delete var.
4436 (python-shell-interpreter): New defcustom.
4437 (python-pdbtrack-do-tracking-p): Delete var.
4438 (python-pdbtrack-activate): New defcustom.
4439 (python-use-skeletons): Obsolete var.
4440 (python-skeleton-autoinsert): New defcustom.
4441 (inferior-python-filter-regexp, python-continuation-offset)
4442 (python-honour-comment-indentation, python-indent-string-contents)
4443 (python-jython-packages, python-mode-hook)
4444 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4445 (python-shell-prompt-alist)
4446 (python-source-modes): Delete defcustoms.
4447 (python-check-buffer-name, python-eldoc-setup-code)
4448 (python-eldoc-string-code, python-ffap-setup-code)
4449 (python-ffap-string-code, python-fill-comment-function)
4450 (python-fill-decorator-function, python-fill-paren-function)
4451 (python-fill-string-function, python-imenu-include-defun-type)
4452 (python-imenu-make-tree, python-imenu-subtree-root-label)
4453 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4454 (python-shell-compilation-regexp-alist)
4455 (python-shell-completion-module-string-code)
4456 (python-shell-completion-pdb-string-code)
4457 (python-shell-completion-setup-code)
4458 (python-shell-completion-string-code)
4459 (python-shell-enable-font-lock, python-shell-exec-path)
4460 (python-shell-extra-pythonpaths)
4461 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4462 (python-shell-process-environment)
4463 (python-shell-prompt-block-regexp)
4464 (python-shell-prompt-output-regexp)
4465 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4466 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4467 (python-shell-virtualenv-path): New defcustoms.
4468 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4469 (inferior-python-mode-syntax-table, python--prompt-regexp)
4470 (python-buffer, python-command python-python-command)
4471 (python-default-template, python-imports, python-indent-index)
4472 (python-indent-list, python-indent-list-length)
4473 (python-mode-running, python-pdbtrack-is-tracking-p)
4474 (python-preoutput-continuation, python-preoutput-leftover)
4475 (python-preoutput-result, python-preoutput-skip-next-prompt)
4476 (python-prev-dir/file, python-recursing)
4477 (python-saved-check-command, python-version-checked)
4478 (python-which-func-length-limit)
4479 (view-return-to-alist): Delete vars.
4480 (python-check-custom-command, python-dotty-syntax-table)
4481 (python-imenu-index-alist, python-indent-current-level)
4482 (python-indent-dedenters, python-indent-levels)
4483 (python-nav-beginning-of-defun-regexp)
4484 (python-nav-list-defun-positions-cache)
4485 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4486 (python-shell-internal-buffer)
4487 (python-skeleton-available): New vars.
4488 (def-python-skeleton): Delete macro.
4489 (python-skeleton-define): New macro.
4490 (python-define-auxiliary-skeleton, python-rx): New macros.
4491 (python-insert-class): Delete command.
4492 (python-skeleton-class): New command.
4493 (python-insert-def): Delete command.
4494 (python-skeleton-def): New command.
4495 (python-insert-for): Delete command.
4496 (python-skeleton-for): New command.
4497 (python-insert-if): Delete command.
4498 (python-skeleton-if): New command.
4499 (python-insert-try/except, python-insert-try/finally): Delete commands.
4500 (python-skeleton-try): New command.
4501 (python-insert-while): Delete command.
4502 (python-skeleton-while): New command.
4503 (python-backspace): Delete command.
4504 (python-indent-dedent-line-backspace): New command.
4505 (python-electric-colon): Delete command.
4506 (python-indent-electric-colon): New command.
4507 (python-guess-indent): Delete command.
4508 (python-indent-guess-indent-offset): New command.
4509 (python-shift-left): Delete command.
4510 (python-indent-shift-left): New command.
4511 (python-shift-right): Delete command.
4512 (python-indent-shift-right): New command.
4513 (python-find-function): Delete command.
4514 (python-nav-jump-to-defun): New command.
4515 (python-next-statement): Delete command.
4516 (python-nav-forward-sentence): New command.
4517 (python-previous-statement): Delete command.
4518 (python-nav-backward-sentence): New command.
4519 (python-fill-paragraph): Delete command.
4520 (python-fill-paragraph-function): New command.
4521 (python-send-buffer): Delete command.
4522 (python-shell-send-buffer): New command.
4523 (python-send-defun): Delete command.
4524 (python-shell-send-defun): New command.
4525 (python-send-region, python-send-region-and-go): Delete commands.
4526 (python-shell-send-region)
4527 (python-shell-switch-to-shell): New commands.
4528 (python-send-string): Delete command.
4529 (python-shell-send-string): New command.
4530 (python-switch-to-python): Delete command.
4531 (python-shell-switch-to-shell): New command.
4532 (python-describe-symbol): Delete command.
4533 (python-eldoc-at-point): New command.
4534 (python--set-prompt-regexp, python-args-to-list)
4535 (python-after-info-look, python-check-version)
4536 (python-check-comint-prompt, python-find-imports)
4537 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4538 (python-unload-function, python-expand-template)
4539 (python-maybe-jython, python-preoutput-filter)
4540 (python-pdbtrack-get-source-buffer)
4541 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4542 (python-pdbtrack-toggle-stack-tracking)
4543 (python-pdbtrack-track-stack-file, python-initial-text)
4544 (python-first-word, python-comment-line-p, python-send-command)
4545 (python-setup-brm, python-sentinel, python-set-proc)
4546 (python-skip-out, python-input-filter, python-outdent-p)
4547 (python-outline-level, python-backslash-continuation-line-p)
4548 (python-end-of-block, python-end-of-statement, python-mark-block)
4549 (python-beginning-of-block, python-beginning-of-statement)
4550 (python-blank-line-p, python-beginning-of-string)
4551 (python-open-block-statement-p): Delete functions.
4552 (python-indent-line, python-indent-line-1): Delete functions.
4553 (python-indent-line): New function.
4554 (python-indentation-levels): Delete function.
4555 (python-indent-calculate-levels): New function.
4556 (python-proc): Delete function.
4557 (python-shell-get-process): New function.
4558 (python-send-receive): Delete function.
4559 (python-shell-send-string-no-output): New function.
4560 (python-module-path): Delete function.
4561 (python-ffap-module-path): New function.
4562 (python-completion-at-point)
4563 (python-symbol-completions): Delete functions.
4564 (python-completion-complete-at-point): New function.
4565 (python-load-file): Delete function.
4566 (python-shell-send-file): New function.
4567 (python-calculate-indentation): Delete function.
4568 (python-indent-calculate-indentation): New function.
4569 (python-skip-comments/blanks): Delete function.
4570 (python-util-forward-comment): New function.
4571 (python-continuation-line-p): Delete function.
4572 (python-info-continuation-line-p): New function.
4573 (python-which-func, python-current-defun): Delete function.
4574 (python-info-current-defun): New function.
4575 (python-beginning-of-defun): Delete function.
4576 (python-nav-beginning-of-defun): New function.
4577 (python-close-block-statement-p)
4578 (python-block-end-p): Delete function.
4579 (python-info-closing-block): New function.
4580 (python-comint-output-filter-function)
4581 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4582 (python-fill-comment, python-fill-decorator, python-fill-paren)
4583 (python-fill-string, python-imenu-make-element-tree)
4584 (python-imenu-make-tree, python-imenu-tree-assoc)
4585 (python-indent-context, python-indent-dedent-line)
4586 (python-indent-line-function)
4587 (python-indent-post-self-insert-function)
4588 (python-indent-toggle-levels)
4589 (python-info-assignment-continuation-line-p)
4590 (python-info-beginning-of-backlash)
4591 (python-info-block-continuation-line-p)
4592 (python-info-closing-block-message)
4593 (python-info-line-ends-backslash-p)
4594 (python-info-looking-at-beginning-of-defun)
4595 (python-info-ppss-context, python-info-ppss-context-type)
4596 (python-nav-list-defun-positions, python-nav-read-defun)
4597 (python-nav-sentence-end, python-nav-sentence-start)
4598 (python-pdbtrack-comint-output-filter-function)
4599 (python-pdbtrack-set-tracked-buffer)
4600 (python-shell-calculate-exec-path)
4601 (python-shell-calculate-process-environment)
4602 (python-shell-completion--do-completion-at-point)
4603 (python-shell-completion--get-completions)
4604 (python-shell-completion-complete-at-point)
4605 (python-shell-completion-complete-or-indent)
4606 (python-shell-get-or-create-process)
4607 (python-shell-get-process-name)
4608 (python-shell-internal-get-or-create-process)
4609 (python-shell-internal-get-process-name)
4610 (python-shell-internal-send-string, python-shell-make-comint)
4611 (python-shell-parse-command, python-shell-send-setup-code)
4612 (python-skeleton-add-menu-items)
4613 (python-util-clone-local-variables, python-util-position)
4614 (run-python-internal, python-indentation-levels)
4615 (python-nav-beginning-of-defun)
4616 (python-completion-complete-at-point): New functions.
4617 (run-python): Change arguments. New API requirements.
4618
4302f5ba
SM
46192012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4620
f38ea36d
SM
4621 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4622 (bug#11649).
4623
4624 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4625 (macroexp--expand-all): Use it.
4626
4302f5ba
SM
4627 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4628 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4629 Use `cl-function' instead.
4630
33377562
JB
46312012-06-14 Juanma Barranquero <lekktu@gmail.com>
4632
4633 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4634 Suggested by Stefan Monnier while discussing bug#11657.
4635
54c5ba1a
SS
46362012-06-14 Sam Steingold <sds@gnu.org>
4637
4638 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4639
f9f1b1fe
AS
46402012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4641
4642 * play/doctor.el (doctor-doc): Remove parameter and use
4643 doctor-sent instead of sent.
4644 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4645
a81068ba
SM
46462012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4647
5a315f9c
SM
4648 * files.el: Require cl-lib.
4649 (file-name-non-special): Replace case -> cl-case.
4650
4651 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4652
a81068ba
SM
4653 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4654 mapping from #' to function*.
4655
8cca9703
CY
46562012-06-13 Chong Yidong <cyd@gnu.org>
4657
4658 * mouse.el (mouse-drag-track): Do not set the mark if the user
4659 releases the mouse without selecting anything (Bug#11588).
4660
a12ac9d7
SM
46612012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4662
ccf1dc18
SM
4663 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4664 as well (bug#11646).
4665
ef62b23d
SM
4666 * loadup.el: Count byte-code functions as well.
4667
c4c8444a
SM
4668 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4669 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4670
a12ac9d7
SM
4671 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4672 (bug#11649). Add cl-defun and cl-defmacro.
4673
87e6e64f
DA
46742012-06-13 Drew Adams <drew.adams@oracle.com>
4675
4676 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4677 Fix last change.
4678
682cefaf
MA
46792012-06-13 Michael Albinus <michael.albinus@gmx.de>
4680
4681 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4682 Otherwise, it blocks in batch mode.
4683
773e1f08
JB
46842012-06-13 Juanma Barranquero <lekktu@gmail.com>
4685
4686 * help-mode.el (bookmark-make-record-default): Declare.
4687
60057926
CY
46882012-06-13 Chong Yidong <cyd@gnu.org>
4689
4690 * emacs-lisp/package.el (list-packages): Compute a list of
4691 packages that are newly-available since the last list-packages
4692 invocation.
4693 (package-menu--new-package-list): New var.
4694 (package-menu--generate, package-menu--print-info)
4695 (package-menu--status-predicate, package-menu-mark-install):
4696 Handle new status label "new".
4697
ad4d226c
SM
46982012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4699
4700 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4701 conversion to backquotes.
4702
f1a4e679
CY
47032012-06-12 Chong Yidong <cyd@gnu.org>
4704
4705 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4706 Rename from gud-inhibit-global-bindings.
4707
4708 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4709
4710 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4711 hook from nxml-glyph-set-hook.
4712
4713 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4714 declaration.
4715
4716 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4717
4718 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4719 Convert to defcustom.
4720
0c9e42b5
DA
47212012-06-12 Drew Adams <drew.adams@oracle.com>
4722
4723 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4724 New functions.
4725 (help-mode): Use them.
4726
09e06855
GM
47272012-06-11 Glenn Morris <rgm@gnu.org>
4728
4729 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4730 Use preprocessor face for directives.
4731 (fortran-directive-re): Doc fix.
4732
71adb94b
SM
47332012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4734
2eb87922
SM
4735 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4736 conversion to backquotes (bug#11652).
4737
71adb94b
SM
4738 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4739 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4740 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4741 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4742 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4743 (cl-ninth, cl-tenth): Mark them as inlinable.
4744 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4745 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4746 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4747 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4748 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4749 (cl-list*, cl-adjoin): Don't put an autoload manually.
4750 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4751 (cl--compiler-macro-list*): Add autoload cookie.
4752 (cl--compiler-macro-cXXr): New function.
2eb87922 4753
71adb94b
SM
4754 * help-fns.el (help-fns--compiler-macro): New function extracted from
4755 describe-function-1; follow aliases and use `compiler-macro' property.
4756 (describe-function-1): Use it.
4757
a6674402
CY
47582012-06-11 Chong Yidong <cyd@gnu.org>
4759
4760 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4761 is uninstalled, if imagemagick is installed.
4762
bb3faf5b
SM
47632012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4764
4765 * emacs-lisp/cl-lib.el: Use lexical-binding.
4766 (cl-map-extents, cl-maclisp-member): Remove.
4767 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4768 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4769 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4770 * emacs-lisp/cl-extra.el: Use lexical-binding.
4771 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4772 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4773 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4774 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4775 * emacs-lisp/cl-seq.el: Use lexical-binding.
4776 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4777 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4778 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4779 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4780 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4781 CL's internals.
4782
2fe4b125
MA
47832012-06-11 Michael Albinus <michael.albinus@gmx.de>
4784
4785 Sync with Tramp 2.2.6-pre.
4786
4787 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4788 `print-length' and `print-level' to nil, in order to avoid
4789 truncation. Reported by Christopher Schmidt
4790 <christopher@ristopher.com>.
4791
4792 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4793
4794 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4795 New defmacro.
4796 (tramp-compat-copy-directory): Add optional argument
4797 COPY-CONTENTS. It is not handled yet.
4798
4799 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4800 (tramp-ftp-file-name-p): Simplify.
4801
4802 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4803 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4804 connection vector.
4805
4806 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4807 (tramp-methods): Do not use `tramp-password-end-of-line'.
4808 (tramp-completion-function-alist-putty): Handle UNIX case.
4809 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4810 (tramp-do-file-attributes-with-stat)
4811 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4812 gid as real numbers. They could run out of integer range on cygwin.
4813 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4814 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4815 (tramp-open-connection-setup-interactive-shell):
4816 Use `tramp-cleanup'. Move check for busyboxes ...
4817 (tramp-find-shell): ... here. Simplify implementation.
4818 Set "remote-shell" property also for alternative shells.
4819 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4820 If failing, a regular file would be written otherwise.
4821 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4822 (tramp-find-inline-encoding): Cache the coding commands in the
4823 process cache. Apply test command on the remote side, if defined.
4824 (tramp-find-inline-compress): Cache the compress commands in the
4825 process cache.
4826 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4827 when requested. Handle hops.
4828 (tramp-current-connection): New defvar.
87e6e64f
DA
4829 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4830 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4831 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4832 (tramp-get-inline-compress, tramp-get-inline-coding):
4833 Read connection properties from the process cache.
2fe4b125
MA
4834
4835 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4836 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4837 New defconsts.
2fe4b125
MA
4838 (tramp-smb-prompt): Extend for powershell prompt.
4839 (tramp-smb-file-name-handler-alist): Add handlers for
4840 `process-file', `shell-command' and `start-file-process'.
4841 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4842 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4843 (tramp-smb-file-name-p): Simplify.
4844 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4845 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4846 (tramp-smb-shell-quote-argument): New defuns.
4847 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4848 Implement using "tar". By this, time-stamps are preserved.
4849 (tramp-smb-handle-copy-file): Handle also the case of directories.
4850 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4851 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4852 Use `tramp-get-connection-buffer').
2fe4b125
MA
4853 (tramp-smb-handle-rename-file): Use "rename", when source and
4854 target are on the same share.
87e6e64f
DA
4855 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4856 Use `tramp-smb-server-version'.
2fe4b125
MA
4857 (tramp-smb-wait-for-output): Remove prompt.
4858
4859 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4860 (tramp-methods, tramp-rsh-end-of-line):
4861 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4862 (tramp-save-ad-hoc-proxies): New defcustom.
4863 (tramp-completion-function-alist): Adapt docstring.
4864 (tramp-default-password-end-of-line): Remove defcustom.
4865 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4866 (tramp-user-regexp, tramp-file-name-regexp-unified)
4867 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4868 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4869 (tramp-remote-file-name-spec-regexp): New defconst.
4870 (tramp-file-name-structure): Extend structure for hops.
4871 (tramp-get-method-parameter): Move up.
4872 (tramp-file-name-p, tramp-dissect-file-name)
4873 (with-parsed-tramp-file-name): Handle hops.
4874 (tramp-file-name-hop): New defun.
4875 (tramp-make-tramp-file-name): New optional arg HOP.
4876 (tramp-message-show-progress-reporter-message): New defvar.
4877 (tramp-with-progress-reporter): Use it. We cannot use
4878 `tramp-message-show-message' here, because this suppresses also
4879 error buffers.
4880 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4881 `tramp-message-show-message' is nil.
4882 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4883 (tramp-cleanup): New defun.
4884 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4885 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4886 an error unchanged.
4887 (tramp-completion-handle-file-name-all-completions): Handle hops.
4888 Fix an error when called from ido.
4889 (tramp-completion-dissect-file-name): Use better local variable
4890 name. Add hop to the vector.
4891 (tramp-handle-insert-file-contents): Use progress-reporter for the
4892 whole scenario.
4893 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4894 to `t'.
4895 (tramp-check-for-regexp): Simplify search.
4896 (tramp-enter-password): Remove it. Move implementation ...
4897 (tramp-action-password): ... here.
4898 (tramp-mode-string-to-int, tramp-local-host-p)
4899 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4900 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4901 Set tramp-autoload cookie.
2fe4b125
MA
4902
4903 * net/trampver.el: Update release number.
4904
49052012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4906 Michael Albinus <michael.albinus@gmx.de>
4907
4908 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4909 (tramp-parse-group, tramp-parse-file)
4910 (tramp-parse-shostkeys-sknownhosts): New defuns.
4911 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4912 (tramp-parse-shosts-group, tramp-parse-sconfig)
4913 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4914 (tramp-parse-sknownhosts, tramp-parse-hosts)
4915 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4916 Use them.
4917 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4918 (tramp-parse-putty-group): Don't narrow.
4919 (tramp-parse-putty): Make a loop.
4920 (tramp-file-name-handler): Catch the `suppress' signal.
4921
72834e10
CY
49222012-06-11 Chong Yidong <cyd@gnu.org>
4923
4924 * image.el (imagemagick-register-types): Put the ImageMagick entry
4925 at the end of image-type-file-name-regexps.
4926
a4712e11
JB
49272012-06-11 Johan Bockgård <bojohan@gnu.org>
4928
4929 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4930 (pcase, pcase-let*, pcase-dolist): Use them.
4931
82ad98e3
SM
49322012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4933
4934 * emacs-lisp/pcase.el (pcase--let*): New function.
4935 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4936 (pcase--expand): Use macroexp-let².
4937
f80efb86
SM
49382012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4941 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4942 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4943 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4944 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4945 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4946
31ca4639 49472012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4948
31ca4639
CY
4949 * mail/rmail.el (rmail-yank-current-message): Leave point at
4950 correct position. (Bug#11660)
94f0aa34 4951
31ca4639 49522012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4953
31ca4639 4954 * allout-widgets.el: Fix code header.
9e1b8ec4 4955
31ca4639 49562012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4957
f80efb86
SM
4958 * cus-edit.el (customize-changed-options-previous-release):
4959 Bump to 24.1.
31ca4639 4960
642b6d30
AS
49612012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4962
4963 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4964
4f5d2ba1
CY
49652012-06-09 Chong Yidong <cyd@gnu.org>
4966
4967 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4968
e75852fd
MR
49692012-06-09 Martin Rudalics <rudalics@gmx.at>
4970
4971 * window.el (special-display-popup-frame): Don't use
4972 window--display-buffer (Bug#11651).
4973
1e48e282
EZ
49742012-06-09 Eli Zaretskii <eliz@gnu.org>
4975
8a26b487
EZ
4976 Fix parallel builds: make sure loaddefs.el is not being written
4977 while Lisp files are compiled.
4978 (compile): Don't depend on 'mh-autoloads'.
4979 (compile-CMD, compile-SH): Depend on 'autoloads'.
4980 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4981
1e48e282
EZ
4982 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4983
6175e34b
CY
49842012-06-09 Chong Yidong <cyd@gnu.org>
4985
4986 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4987 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4988 Doc fixes (Bug#11225).
4989
d9857e53
SM
49902012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4991
4992 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4993 a function if there's a clear indication that it has a compiler-macro.
4994 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4995 (macro-declarations-alist): Add arglist to declaration functions.
4996 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4997 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4998 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4999 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5000 Also add autoload to find the compiler macro.
5001 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5002 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5003 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5004 (cl--compiler-macro-get): New functions, replacing calls to
5005 cl-define-compiler-macro.
5006 (cl-typep) [compiler-macro]: Use macroexp-let².
5007
f81298f8 50082012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5009
5010 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5011 string properly, fixes Bug#11473.
5012
4b56d0fe
CY
50132012-06-08 Chong Yidong <cyd@gnu.org>
5014
5015 * faces.el (set-face-attribute): Doc fix.
5016 (modify-face): Don't use :bold and :italic.
5017 (error, warning, success): Tweak definitions.
5018
5019 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5020 (custom-modified, custom-set, custom-changed, custom-themed)
5021 (custom-saved, custom-button, custom-button-mouse)
5022 (custom-button-pressed, custom-state, custom-comment-tag)
5023 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5024 (custom-group-subtitle): Use new-style face specs.
5025 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5026 (custom-set-face, custom-changed-face, custom-saved-face)
5027 (custom-button-face, custom-button-pressed-face)
5028 (custom-documentation-face, custom-state-face)
5029 (custom-comment-face, custom-comment-tag-face)
5030 (custom-variable-tag-face, custom-variable-button-face)
5031 (custom-face-tag-face, custom-group-tag-face-1)
5032 (custom-group-tag-face): Remove obsolete face alias.
5033
5034 * epa.el (epa-validity-high, epa-validity-medium)
5035 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5036 (epa-field-name, epa-field-body):
5037 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5038 (font-lock-keyword-face, font-lock-builtin-face)
5039 (font-lock-function-name-face, font-lock-variable-name-face)
5040 (font-lock-type-face, font-lock-constant-face):
5041 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5042 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5043 * speedbar.el (speedbar-button-face, speedbar-file-face)
5044 (speedbar-directory-face, speedbar-tag-face)
5045 (speedbar-selected-face, speedbar-highlight-face)
5046 (speedbar-separator-face):
5047 * whitespace.el (whitespace-newline, whitespace-space)
5048 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5049 (whitespace-line, whitespace-space-before-tab)
5050 (whitespace-space-after-tab, whitespace-indentation)
5051 (whitespace-empty):
5052 * emulation/cua-base.el (cua-global-mark):
5053 * eshell/em-prompt.el (eshell-prompt):
5054 * net/newst-plainview.el (newsticker-new-item-face)
5055 (newsticker-old-item-face, newsticker-immortal-item-face)
5056 (newsticker-obsolete-item-face, newsticker-date-face)
5057 (newsticker-statistics-face, newsticker-default-face):
5058 * net/newst-reader.el (newsticker-feed-face)
5059 (newsticker-extra-face, newsticker-enclosure-face):
5060 * net/newst-treeview.el (newsticker-treeview-face)
5061 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5062 (newsticker-treeview-immortal-face)
5063 (newsticker-treeview-obsolete-face)
5064 (newsticker-treeview-selection-face):
5065 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5066 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5067 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5068 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5069 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5070 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5071 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5072 (mpuz-text):
5073 * progmodes/vera-mode.el (vera-font-lock-number)
5074 (vera-font-lock-function, vera-font-lock-interface):
5075 * textmodes/table.el (table-cell): Use new-style face specs, and
5076 don't use the old :bold and :italic attributes.
5077
5078 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5079 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5080 (ebrowse-member-class, ebrowse-progress): Likewise.
5081 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5082 (ebrowse-file-name-face, ebrowse-default-face)
5083 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5084 (ebrowse-progress-face): Remove obsolete faces.
5085
5086 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5087 Inherit from error and warning faces respectively.
5088
5089 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5090 Likewise.
f80efb86
SM
5091 (flyspell-incorrect-face, flyspell-duplicate-face):
5092 Remove obsolete aliases.
4b56d0fe 5093
03310646
MA
50942012-06-08 Michael Albinus <michael.albinus@gmx.de>
5095
5096 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5097 Avoid infloop.
5098
513749ee
SM
50992012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5100
5101 * startup.el (argv, argi): Make lexically scoped.
5102 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5103 * emacs-lisp/cl-macs.el: Use lexical-binding.
5104 Rename cl-bind-* to cl--bind-*.
5105 * files.el: Don't require `cl' since it doesn't use it.
5106 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5107
595ef4ad
JB
51082012-06-08 Juanma Barranquero <lekktu@gmail.com>
5109
5110 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5111 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5112 instead of calling external sort utility.
5113 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5114
e9f66fcb
EZ
51152012-06-08 Eli Zaretskii <eliz@gnu.org>
5116
5117 * descr-text.el (describe-char): Mention how to insert the
5118 character, if the current input method doesn't support it.
5119 See the discussion in this thread for the details:
5120 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5121
3d10db47
SS
51222012-06-08 Sam Steingold <sds@gnu.org>
5123
5124 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5125 XF86Back to previous-buffer.
5126 (minibuffer-local-map): Bind them to next-history-element and
5127 previous-history-element respectively.
5128 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5129 help-go-back respectively.
5130 * info.el (Info-mode-map): Bind them to Info-history-forward and
5131 Info-history-back respectively.
5132 These are the keys next to Up on the ThinkPad keyboard.
5133
de7e2b36
SM
51342012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5135
5136 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5137 * emacs-lisp/cl-macs.el: Provide itself.
5138 (cl--labels-convert-cache): New var.
5139 (cl--labels-convert): New function.
5140 (cl-flet, cl-labels): New implementation with new semantics, relying on
5141 lexical-binding.
5142 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5143 (cl-closure-vars, cl--function-convert-cache)
5144 (cl--function-convert): Move from cl-macs.el.
5145 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5146 rename by removing the "cl-" prefix.
5147 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5148
6fa6c4ae
SM
51492012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5152 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5153 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5154 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5155 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5156 (cl-hash-table-count): Add old compatibility aliases.
5157
5158 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5159 Use macroexpand-all-environment instead.
5160 (cl--old-macroexpand): New var.
5161 (cl--sm-macroexpand): New function.
5162 (cl-symbol-macrolet): Use it during macro expansion.
5163 (cl--function-convert-cache): New var.
5164 (cl--function-convert): New function, extracted from
5165 cl-macroexpand-all.
5166 (cl-lexical-let): Use it.
5167
5168 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5169 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5170 (cl-member): Remove old alias.
5171
5172 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5173 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5174 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5175 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5176 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5177 (cl-macroexpand-cmacs): Remove var.
5178 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5179 Use macroexpand-all instead.
5180
4dd1c416
SM
51812012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5182
5183 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5184 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5185 (macroexp-copyable-p): New functions and macros.
5186 * emacs-lisp/edebug.el (edebug-unwrap):
5187 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5188 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5189 (pcase--let*): Remove.
5190 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5191 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5192 macroexp-const-p instead.
5193 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5194
5195 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5196 instead of "cl-" for internal definitions. Use macroexp-const-p.
5197 (cl-old-bc-file-form): Remove var.
5198 (cl-const-exprs-p): Remove fun.
5199 (cl-labels, cl-macrolet): Use backquote.
5200 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5201 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5202 (cl-define-setf-expander): Rename from cl-define-setf-method.
5203 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5204
5205 * international/mule-cmds.el: Don't require CL.
5206 (view-hello-file): Don't use `letf'.
5207
ed8bd4d7
SM
52082012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5209
7287f2f3
SM
5210 * tmm.el (tmm-prompt): Use string-prefix-p.
5211 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5212 (tmm-add-prompt): Use minibuffer-completion-help.
5213 (tmm-delete-map): Remove.
5214
ed8bd4d7
SM
5215 * subr.el (kbd): Make it its own function.
5216
7b4cdbf4
SM
52172012-06-07 Stefan Merten <smerten@oekonux.de>
5218
5219 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5220 Silence compiler warnings. Fix versions.
ed8bd4d7 5221 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5222 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5223 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5224 (rst-package-emacs-version-alist): Correct Emacs version to
5225 represent major merge with upstream.
ed8bd4d7 5226 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5227
2b48d721
GM
52282012-06-06 Glenn Morris <rgm@gnu.org>
5229
5230 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5231 Only print environment variables if set.
5232
fa779ab0
SM
52332012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5236 (macroexp--cons): Rename from maybe-cons.
5237 (macroexp--accumulate): Rename from macroexp-accumulate.
5238 (macroexp--all-forms): Rename from macroexpand-all-forms.
5239 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5240 (macroexp--expand-all): Rename from macroexpand-all-1.
5241
628299e0
SS
52422012-06-06 Sam Steingold <sds@gnu.org>
5243
5244 * calendar/calendar.el (calendar-in-read-only-buffer):
5245 Call `special-mode' to enable the standard read-only keybindings.
5246
b7bb5838
SM
52472012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5248
5249 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5250 with "loading" messages (bug#11635).
5251
dfb308ba
MA
52522012-06-06 Michael Albinus <michael.albinus@gmx.de>
5253
5254 * files.el (enable-remote-dir-locals): New option.
5255 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5256
0372ee92
MA
5257 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5258 Ensure, that the temp directory is local.
5259
5260 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5261 `temporary-file-directory'.
5262
eed0bb91
MA
5263 * progmodes/python.el (python-send-region): Ensure, that the
5264 temporary file is created also in the remote case.
5265
7a58f64d
GM
52662012-06-06 Glenn Morris <rgm@gnu.org>
5267
f7dd4e98
GM
5268 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5269 (vc-rcs-update-changelog): Use it.
5270
090bd7cb 5271 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5272
7a58f64d
GM
5273 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5274 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5275 (vc-sccs-diff): Replace use of the external vcdiff script.
5276
daed4003
GM
52772012-06-05 Glenn Morris <rgm@gnu.org>
5278
5279 * ledit.el: Move to obsolete/.
5280
48c455c7
SS
52812012-06-05 Sam Steingold <sds@gnu.org>
5282
ed9265fc 5283 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5284 patch (Bug#11140).
5285
57a7d507
SM
52862012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5287
090bd7cb 5288 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5289
53aacf21
SM
5290 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5291 compiler-macro expansion.
5292
57a7d507
SM
5293 Add native compiler-macro support.
5294 * emacs-lisp/macroexp.el (macroexpand-all-1):
5295 Support compiler-macros directly. Properly follow aliases and apply
5296 the compiler macros more thoroughly.
5297 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5298 macroexpand now properly follows aliases.
5299 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5300 (cl-compiler-macroexpand): Use new prop.
5301 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5302
5303 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5304
51a5f9d8
MR
53052012-06-05 Martin Rudalics <rudalics@gmx.at>
5306
5307 * window.el (get-lru-window, get-mru-window, get-largest-window):
5308 New argument NOT-SELECTED to avoid picking the selected window.
5309 (window--display-buffer-1, window--display-buffer-2): Replace by
5310 new function window--display-buffer
5311 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5312 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5313 Use window--display-buffer.
51a5f9d8
MR
5314 (display-buffer-use-some-window): Remove temporary dedication
5315 hack by calling get-lru-window and get-largest-window with
5316 NOT-SELECTED argument non-nil. Call window--display-buffer.
5317
08f9f738
GM
53182012-06-05 Glenn Morris <rgm@gnu.org>
5319
5320 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5321 Replace external vcdiff script.
5322
e364a2b7
SM
53232012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5324
5325 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5326
041df390
CY
53272012-06-04 Chong Yidong <cyd@gnu.org>
5328
e364a2b7
SM
5329 * image.el (imagemagick-types-inhibit): Revert last change.
5330 Add INFO and M.
47b36b94 5331 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5332
7c1898a7
SM
53332012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5334
5335 * emacs-lisp/cl-lib.el: Rename from cl.el.
5336 * emacs-lisp/cl.el: New compatibility file.
5337 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5338 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5339 to obey the "cl-" prefix.
5340 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5341
0c3461de
GM
53422012-06-03 Glenn Morris <rgm@gnu.org>
5343
1e266c88
GM
5344 * emacs-lisp/authors.el (authors-aliases): Addition.
5345
0c3461de
GM
5346 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5347 Fix :version.
5348
d8a52e15
SM
53492012-06-03 Stefan Merten <smerten@oekonux.de>
5350
5351 * textmodes/rst.el: Add comments.
5352 (rst-transition, rst-adornment): New faces.
5353 (rst-adornment-faces-alist): Make default safe to reevaluate.
5354 Fixes
5355 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5356 Improve customization tags.
5357 (rst-define-level-faces): Clarify meaning.
5358
5205d6f6
CY
53592012-06-03 Chong Yidong <cyd@gnu.org>
5360
5361 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5362 (compilation-mode-line-run, compilation-mode-line-exit):
5363 New faces.
5205d6f6
CY
5364 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5365
757ee657
JD
53662012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5367
7c1898a7
SM
5368 * progmodes/which-func.el (which-func-update-ediff-windows):
5369 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5370
5f2c76c6
CY
53712012-06-03 Chong Yidong <cyd@gnu.org>
5372
5373 * bindings.el: Remove explicit help text from format-mode-line.
5374 It is now supplied by mode-line-default-help-echo.
5375 (mode-line-front-space, mode-line-end-spaces)
5376 (mode-line-misc-info): New variables.
5377 (mode-line-modes, mode-line-position): Move the default value to
5378 the variable definition.
5379 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5380 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5381 (mode-line-modified-help-echo): New functions.
5382 (mode-line-mule-info, mode-line-modified): Use them.
5383 (mode-line-eol-desc, propertized-buffer-identification):
5384 Consistency fixes for help text.
cbe46e5f
CY
5385 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5386 set-buffer-file-coding-system (Bug#289).
5387 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5388
f2d6a3df
SM
53892012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * simple.el (execute-extended-command): Set real-this-command
5392 (bug#11506).
5393
37269466
CY
53942012-06-02 Chong Yidong <cyd@gnu.org>
5395
5396 Remove incorrect uses of "modeline" in comments, docstrings, and
5397 function/variable names (Bug#10329).
5398
5399 * cus-edit.el (mode-line):
5400 * dframe.el (dframe-mouse-hscroll):
5401 * emacs-lisp/re-builder.el:
5402 * emacs-lisp/easy-mmode.el (define-minor-mode):
5403 * frame.el (set-frame-name):
5404 * help.el (lookup-minor-mode-from-indicator):
5405 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5406 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5407 (c-toggle-hungry-state):
5408 * progmodes/antlr-mode.el (antlr-language-alist):
5409 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5410 * progmodes/vhdl-mode.el (vhdl-mode):
5411 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5412 * term/ns-win.el (ns-face-at-pos):
5413 * term/sup-mouse.el (sup-mouse-report):
5414 * textmodes/flyspell.el (flyspell-mode-line-string):
5415 * textmodes/ispell.el (ispell-highlight-face):
5416 * textmodes/reftex-global.el:
5417 * vc/vc-arch.el (vc-arch-mode-line-string):
5418 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5419 * vc/vc-git.el (vc-git-mode-line-string):
5420 * vc/vc-hooks.el (vc-display-status)
5421 (vc-default-mode-line-string):
5422 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5423
5424 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5425
5426 * dired.el (dired-sort-set-mode-line): Rename from
5427 dired-sort-set-modeline. All callers changed.
5428
5429 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5430 eshell-status-in-modeline.
5431
5432 * foldout.el (foldout-mode-line-string): Rename from
5433 foldout-modeline-string. All callers changed.
5434 (foldout-update-mode-line): Rename from foldout-update-modeline.
5435
5436 * subr.el (redraw-modeline): Make into obsolete alias.
5437
5438 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5439 timeclock-modeline-display. Make old name an alias.
5440 (timeclock-update-mode-line): Likewise. All callers changed.
5441 (timeclock-mode-line-display): No need to check before using
5442 add-hook.
5443 (timeclock-relative, timeclock-day-over-hook)
5444 (timeclock-use-elapsed, timeclock-mode-string)
5445 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5446
5447 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5448 crisp-mode-modeline-string.
5449
5450 * play/solitaire.el (solitaire-build-mode-line): Rename from
5451 solitaire-build-modeline. All callers changed.
5452
5453 * play/zone.el (zone-hiding-mode-line): Rename from
5454 zone-hiding-modeline. All callers changed.
5455 (zone): Remove unusued `modeline-hidden-level' property.
5456
5457 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5458 xscheme-modeline-initialize. All callers changed.
5459
5460 * strokes.el (strokes-lighter): Rename from
5461 strokes-modeline-string.
5462
5463 * textmodes/sgml-mode.el (html-face-tag-alist)
5464 (html-tag-face-alist): Use mode-line face instead of obsolete
5465 alias modeline.
5466
42152ee4
SM
54672012-06-02 Stefan Merten <smerten@oekonux.de>
5468
5469 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5470 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5471
95f520b5
CY
54722012-06-02 Chong Yidong <cyd@gnu.org>
5473
5474 * image.el (imagemagick-enabled-types): Rename from
5475 imagemagick-types-enable. Add many more types.
5476 (imagemagick-types-inhibit): Change default to nil.
5477 (imagemagick-filter-types): Caller changed.
5478
4a5f187a
SM
54792012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5480
03fef3e6
SM
5481 * emacs-lisp/cl-macs.el: Use backquotes.
5482 (cl-transform-function-property): Use eval-and-compile rather than
5483 abusing `require'.
5484 (defstruct): Use declare-function instead of with-no-warnings.
5485
4a5f187a
SM
5486 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5487 (byte-compile-output-docform): Re-add the print-circle bindings.
5488 (byte-compile-fix-header): Use #$ just because it's shorter.
5489 (byte-compile-output-file-form): Remove defun/defmacro.
5490
bd56924f
MR
54912012-06-01 Martin Rudalics <rudalics@gmx.at>
5492
5493 * simple.el (choose-completion): Remove now obsolete binding for
5494 owindow.
5495
046e38ce
MA
54962012-06-01 Michael Albinus <michael.albinus@gmx.de>
5497
5498 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5499 in order to avoid "Stack overflow in regexp matcher".
5500
32d72c2f
GM
55012012-05-31 Glenn Morris <rgm@gnu.org>
5502
5503 * image.el: For clarity, call imagemagick-register-types at
5504 top-level, rather than relying on a custom :initialize.
5505 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5506 (imagemagick-filter-types): New function. (Bug#7406)
5507 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5508 If disabling support, remove elements altogether rather
5509 than using an impossible regexp.
5510 (imagemagick-types-inhibit): Give it the default init function.
5511
dd41169b
SM
55122012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5513
4a5f187a
SM
5514 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5515 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5516
efc00ab1 55172012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5518
5519 * desktop.el (desktop-read): Clear previous and next buffers for
5520 all windows and bury *Messages* buffer (bug#11556).
5521
500fcedc
SM
55222012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5523
5524 Add `declare' for `defun'. Align `defmacro's with it.
5525 * emacs-lisp/easy-mmode.el (define-minor-mode)
5526 (define-globalized-minor-mode): Don't autoload the var definitions.
5527 * emacs-lisp/byte-run.el: Use lexical-binding.
5528 (defun-declarations-alist, macro-declarations-alist): New vars.
5529 (defmacro, defun): Use them.
5530 (make-obsolete, define-obsolete-function-alias)
5531 (make-obsolete-variable, define-obsolete-variable-alias):
5532 Use `declare'.
5533 (macro-declaration-function): Mark obsolete.
5534 * emacs-lisp/autoload.el: Use lexical-binding.
5535 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5536
6e8a1786
AM
55372012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5538
5539 * textmodes/ispell.el (ispell-with-no-warnings):
5540 Define as a macro.
500fcedc
SM
5541 (ispell-kill-ispell, ispell-change-dictionary):
5542 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5543 `interactive-p'.
5544
61b108cc
SM
55452012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5546
5547 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5548 (macro-declaration-function): Move var from C code.
5549 (macro-declaration-function): Define function with defalias.
5550 * emacs-lisp/macroexp.el (macroexpand-all-1):
5551 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5552 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5553 defun/defmacro any more.
5554 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5555 Provide fallback for unknown arglist.
5556 (byte-compile-arglist-warn): Change calling convention.
5557 (byte-compile-output-file-form): Move print-vars binding.
5558 (byte-compile-output-docform): Simplify accordingly.
5559 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5560 (byte-compile-defmacro-declaration): Remove.
5561 (byte-compile-file-form-defmumble): Generalize to defalias.
5562 (byte-compile-output-as-comment): Return byte-positions.
5563 Simplify callers accordingly.
5564 (byte-compile-lambda): Use `assert'.
5565 (byte-compile-defun, byte-compile-defmacro): Remove.
5566 (byte-compile-file-form-defalias):
5567 Use byte-compile-file-form-defmumble.
5568 (byte-compile-defalias-warn): Remove.
5569
6d3f7c2f
SM
55702012-05-29 Stefan Merten <smerten@oekonux.de>
5571
5572 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5573 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5574
5575 (rst-mode-abbrev-table): Merge definition.
5576 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5577 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5578
6dbaa1c7
UJ
55792012-05-29 Ulf Jasper <ulf.jasper@web.de>
5580
5581 * calendar/icalendar.el
5582 (icalendar-export-region): Export UID properly.
5583
d209e2fb 55842012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5585 * calendar/icalendar.el (icalendar-import-format):
5586 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5587 (icalendar-import-format-uid): New.
5588 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5589 Export UID.
5590
6876a58d
SM
55912012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5594 different alternative patterns.
5595 (pcase-codegen): Be more careful to preserve identity.
5596 (pcase--u1): Don't forget to mark vars as used.
5597
5598 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5599 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5600 (byte-compile-from-buffer): ...rather than here.
5601
5602 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5603 functions from byte-compile-function-environment.
5604
46b7967e
TN
56052012-05-29 Troels Nielsen <bn.troels@gmail.com>
5606
5607 * window.el (window-deletable-p): Avoid deleting the root window
5608 of a frame with an active minibuffer.
5609
69d565e2
MR
56102012-05-29 Martin Rudalics <rudalics@gmx.at>
5611
5612 * simple.el (choose-completion): Use quit-window (Bug#11567).
5613
a149fa51
CY
56142012-05-29 Chong Yidong <cyd@gnu.org>
5615
5616 * whitespace.el (whitespace-cleanup): Fix usage of
5617 whitespace-empty-at-bob-regexp (Bug#11492).
5618
2b311310
AH
56192012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5620
5621 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5622 revert (Bug#11488).
5623
b9cb2387
JL
56242012-05-29 Juri Linkov <juri@jurta.org>
5625
5626 * isearch.el (isearch-mode-map): Bind `M-s _' to
5627 `isearch-toggle-symbol'. Bind `M-s c' to
5628 `isearch-toggle-case-fold'.
5629 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5630 (isearch-forward): Add `M-s _' to the docstring.
5631 (isearch-forward-symbol, isearch-toggle-case-fold)
5632 (isearch-symbol-regexp): New functions. (Bug#11381)
5633
d5e61c1c
JL
56342012-05-29 Juri Linkov <juri@jurta.org>
5635
5636 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5637 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5638 a function, call it to get the regexp.
5639 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5640 property `isearch-message-prefix' instead of the string "word ".
5641 (isearch-search-fun-default): For the case of `isearch-word',
5642 return a lambda that calls re-search-forward/re-search-backward
5643 with a regexp returned by `word-search-regexp' or by the function
5644 in `isearch-word'.
5645
8cbd80f7
JL
56462012-05-29 Juri Linkov <juri@jurta.org>
5647
5648 * isearch.el (isearch-search-fun-default): New function.
5649 (isearch-search-fun): Move default part to the new function
5650 `isearch-search-fun-default'.
5651 (isearch-search-fun-function): Set the default value to
5652 `isearch-search-fun-default'. (Bug#11381)
5653
5654 * comint.el (comint-history-isearch-end):
5655 Use `isearch-search-fun-default'.
5656 (comint-history-isearch-search): Use `isearch-search-fun-default'
5657 and remove spacial case for `isearch-word'.
5658 (comint-history-isearch-wrap): Remove spacial case for
5659 `isearch-word'.
5660
5661 * hexl.el (hexl-isearch-search-function):
5662 Use `isearch-search-fun-default'.
5663
5664 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5665 Use `word-search-regexp' for `isearch-word'.
5666
5667 * misearch.el (multi-isearch-search-fun):
5668 Use `isearch-search-fun-default'.
5669
5670 * simple.el (minibuffer-history-isearch-search):
5671 Use `isearch-search-fun-default' and remove spacial case for
5672 `isearch-word'.
5673 (minibuffer-history-isearch-wrap): Remove spacial case for
5674 `isearch-word'.
5675
5676 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5677 Remove spacial case for `isearch-word'.
5678 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5679
85c8c5b6
AM
56802012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5681
5682 Decrease XEmacs incompatibilities.
5683 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5684 Use `string-match'.
5685 (flyspell-delete-region-overlays): Use alternative definition for
5686 XEmacs.
5687 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5688 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5689 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5690 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5691 `define-obsolete-face-alias' under XEmacs, but old method.
5692
5693 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5694 `with-no-warnings' definition or Emacs alias.
5695 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5696 (ispell-word): Do not use `region-p' if XEmacs.
5697
8cab9efc
AM
56982012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5699
5700 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5701 Check for `ispell-dictionary-base-alist' instead of full
5702 `ispell-dictionary-alist'.
5703 (ispell-init-process): Show spellchecker when starting new Ispell
5704 process.
5705
fda91268
RZ
57062012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5707
5708 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5709 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5710
694ea8e3
JB
57112012-05-27 Juanma Barranquero <lekktu@gmail.com>
5712
5713 * version.el (motif-version-string, gtk-version-string)
5714 (ns-version-string): Declare.
5715
e4d4f539
JL
57162012-05-27 Juri Linkov <juri@jurta.org>
5717
5718 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5719 after the `eval-defun-1' specialcaseing
5720 like in `edebug-eval-defun' (bug#10181).
5721
5722 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5723 like in `eval-defun-1'.
5724
33017faf 57252012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5726
fda91268
RZ
5727 * mail/sendmail.el (mail-yank-region):
5728 Recognize rmail-yank-current-message in addition to insert-buffer.
5729 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5730 a *mail* buffer created through rmail-start-mail with sendmail as
5731 mail-user-agent.
5732
33017faf
GM
57332012-05-27 Chong Yidong <cyd@gnu.org>
5734
5735 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5736 Default to 256 (Bug#11267).
5737
5738 * help.el (describe-mode): Doc fix.
5739
04188bb9
GM
57402012-05-26 Glenn Morris <rgm@gnu.org>
5741
38264cc9
GM
5742 * w32-fns.el (w32-init-info): Remove.
5743 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5744
eb7afdad
GM
5745 * info.el (info-initialize): For self-contained NS builds, put the
5746 included info/ directory at the front. (Bug#2791)
5747
04188bb9
GM
5748 * paths.el (Info-default-directory-list): Make it a defcustom,
5749 mainly so that we can use custom-initialize-delay.
5750
a179e3f7
SM
57512012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5752
43416392
SM
5753 * subr.el (buffer-has-markers-at): Mark obsolete.
5754
a179e3f7 5755 * subr.el (lambda): Use declare.
43416392 5756
a179e3f7
SM
5757 * emacs-lisp/lisp-mode.el (lambda):
5758 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5759
34a008d9
AH
57602012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5761
5762 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5763
0a3b289f
GM
57642012-05-26 Glenn Morris <rgm@gnu.org>
5765
5766 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5767
758c81e8
GM
57682012-05-25 Glenn Morris <rgm@gnu.org>
5769
f9f334f0
GM
5770 * paths.el: Remove no-byte-compile.
5771 * loadup.el: No need to load paths.el uncompiled.
5772
87eb79c2
GM
5773 * image.el (imagemagick-types-inhibit): Doc fix.
5774
758c81e8
GM
5775 * version.el: Remove no-byte-compile and associated formatting.
5776 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5777 is ancient code from when there was an "inc-vers.el".
5778
e7e85dc0
SM
57792012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5780
5781 * progmodes/gdb-mi.el: Minor style changes.
5782 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5783 Turn into minor modes.
5784 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5785 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5786 (gdb-shell): Remove unneeded let-binding.
5787 (gdb-get-many-fields): Eliminate O(n²) behavior.
5788
f31237a4
EZ
57892012-05-25 Eli Zaretskii <eliz@gnu.org>
5790
5791 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5792 platforms that don't link in fontset.c.
5793
bc1b21bb
JL
57942012-05-25 Juri Linkov <juri@jurta.org>
5795
5796 Use the same diff color scheme as in modern VCSes (bug#10181).
5797
5798 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5799 to avoid confusion with `diff-added' that now uses green colors.
5800 (diff-removed): Use shades of red.
5801 (diff-added): Use shades of green.
5802 (diff-changed): Leave just the yellow color.
5803 (diff-use-changed-face): New variable.
5804 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5805 how to highlight context diff changes.
5806 (diff-refine-change): Use shades of yellow.
5807 (diff-refine-removed): New face that uses shades of red.
5808 (diff-refine-added): New face that uses shades of green.
5809 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5810 `diff-refine-removed' in the call to `smerge-refine-subst'
5811 depending on the value of `diff-use-changed-face'.
5812
5813 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5814 (smerge-other): Use shades of green.
5815 (smerge-base): Use shades of yellow.
5816 (smerge-refined-change): Empty face.
5817 (smerge-refined-removed): New face that uses shades of red.
5818 (smerge-refined-added): New face that uses shades of green.
5819 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5820 args `props-r' and `props-a', and use them. Doc fix.
5821 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5822 on its value use different faces `smerge-refined-change',
5823 `smerge-refined-removed', `smerge-refined-added' in the call to
5824 `smerge-refine-subst'.
5825
5826 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5827 Add face condition `min-colors 88' with shades of red.
5828 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5829 `min-colors 88' with shades of green.
5830 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5831 `min-colors 88' with shades of yellow.
5832
6df9112c
GM
58332012-05-24 Glenn Morris <rgm@gnu.org>
5834
ead5edc0
GM
5835 * paths.el (prune-directory-list, remote-shell-program): Move to...
5836 * files.el (prune-directory-list, remote-shell-program): ...here.
5837 For the latter, delay initialization, prefer ssh, just search PATH.
5838
f18b81e6
GM
5839 * paths.el (term-file-prefix): Move to faces.el (the only user).
5840 * faces.el (term-file-prefix): Move here, make it a defcustom.
5841
ee2f89a6
GM
5842 * paths.el (news-directory, news-path, news-inews-program):
5843 Move to gnus/nnspool.el.
61a583ca 5844
f8815e4c
GM
5845 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5846
c8f3b42c
GM
5847 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5848 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5849 Make the latter a defcustom, with a delayed initialization.
5850
6df9112c
GM
5851 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5852 These were deleted from Gnus itself late 2010.
5853
5dadff36
JB
58542012-05-22 Juanma Barranquero <lekktu@gmail.com>
5855
9e1701c6
JB
5856 * progmodes/which-func.el (which-func-ff-hook):
5857 Check against user-error, not error.
5858
bd7239f5 5859 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5860 cl-specs.el, which no longer exists.
5861
3290526d
GM
58622012-05-22 Glenn Morris <rgm@gnu.org>
5863
5864 * info.el (info-emacs-bug): New command.
5865 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5866 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5867
ff0c3cfb
GM
58682012-05-21 Glenn Morris <rgm@gnu.org>
5869
5870 * makefile.w32-in (update-subdirs-SH):
5871 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5872
5814f126
SM
58732012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5874
a52c0aa0
SM
5875 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5876
5814f126
SM
5877 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5878 Simplify Maven regexp, and make sure the file can't start with a space
5879 (bug#11517).
5880
b847032c
GM
58812012-05-21 Glenn Morris <rgm@gnu.org>
5882
5883 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5884 Scrap superfluous subshells.
5885
3858bfe7
SM
58862012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5889 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5890
d14b0029
JB
58912012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5892
5893 * calc/calc.el (calc-ensure-consistent-units): New variable.
5894
a52c0aa0
SM
5895 * calc/calc-units.el (math-consistent-units-p)
5896 (math-check-unit-consistency): New functions.
5897 (calc-quick-units, calc-convert-units):
5898 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5899 is non-nil.
d14b0029
JB
5900 (calc-extract-units): Fix typo.
5901
60c4db3a
SM
59022012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5903
77f3b62e
SM
5904 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5905
60c4db3a
SM
5906 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5907 (flyspell-default-deplacement-commands): Don't spell check after
5908 repeated window/frame switches (e.g. triggered by mouse-movement).
5909 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5910 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5911 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5912 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5913 Remove unused vars.
5914 (flyspell-get-casechars, flyspell-get-not-casechars):
5915 Simplify; Don't bother removing a ] just to add it back.
5916 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5917
d209e2fb 59182012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5919
5920 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5921 New functions.
bd7239f5 5922 (math-function-table): Add support for more C functions.
b1a10716 5923
3f1b25b5
AM
59242012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5925
090bd7cb
JB
5926 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5927 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5928 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5929
b581bb5c
SM
59302012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5931
5932 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5933 their respective macro declarations.
5934 * skeleton.el (define-skeleton):
5935 * progmodes/compile.el (define-compilation-mode):
5936 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5937 (define-ibuffer-filter):
5938 * emacs-lisp/generic.el (define-generic-mode):
5939 * emacs-lisp/easy-mmode.el (define-minor-mode)
5940 (define-globalized-minor-mode):
5941 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5942 * emacs-lisp/byte-run.el (defsubst):
5943 * custom.el (deftheme): Add doc-string metadata.
5944
70b8ef8f
SM
59452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5946
5947 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5948
b1198e17
SM
59492012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5950
9abdc45d
SM
5951 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5952
b1198e17
SM
5953 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5954 * emacs-lisp/cl-macs.el: Idem.
5955 * emacs-lisp/cl-specs.el: Remove.
5956
4735906a
SM
59572012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 Minor renaming of internal CL functions and variables.
5960 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5961 (cl--position): Rename from cl-position.
5962 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5963 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5964 (cl--random-state): Rename from *random-state*.
5965
ac348012
SM
59662012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5969 parens around the arg list (bug#11499).
5970
a0a79cde
JL
59712012-05-17 Juri Linkov <juri@jurta.org>
5972
5973 * isearch.el (word-search-regexp, word-search-backward)
5974 (word-search-forward, word-search-backward-lax)
5975 (word-search-forward-lax): Move functions from search.c
5976 (bug#10145, bug#11381).
5977
65034a51
AM
59782012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5979
090bd7cb
JB
5980 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5981 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5982 Delay for otherchars as for normal word components.
65034a51 5983
1a72a195
SM
59842012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5985
5986 * minibuffer.el (completion--sifn-requote): Fix last change.
5987 (minibuffer-local-must-match-filename-map):
5988 Move define-obsolete-variable-alias before its var.
5989
fdb058c2
SM
59902012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5991
c41045e6
SM
5992 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5993
036dfb8b
SM
5994 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5995 behavior.
5996 (completion--string-equal-p): New function.
5997 (completion--twq-all): Use it to get better assertion failure data.
5998
2473256d
SM
5999 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6000 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6001 (shell--requote-argument): New functions.
6002 (shell-completion-vars): Use them.
6003 (shell--parse-pcomplete-arguments): Rename from
6004 shell-parse-pcomplete-arguments.
6005 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6006 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6007 Obey comint-file-name-quote-list.
6008
fdb058c2
SM
6009 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6010 (smie-indent-keyword): Use it.
6011
51fa99f1
SM
60122012-05-14 Stefan Merten <smerten@oekonux.de>
6013
6014 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6015
e18afed7 60162012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6017
6018 * net/rlogin.el (rlogin-mode-map): Fix last change.
6019
e18afed7 60202012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6021
6022 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6023 the following \r\n using a single `process-send-string', since the
6024 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6025 with two `process-send-string's (Bug#11444).
8633b1f4 6026
e18afed7 60272012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6028
fdb058c2
SM
6029 * shell.el (shell-parse-pcomplete-arguments):
6030 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6031
2d21d7f6
WJ
60322012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6033
e18afed7 6034 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6035 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6036 (image-transform-width, image-transform-fit-width): New functions.
6037 (image-transform-properties): Use them.
6038 (image-transform-check-size): New function.
6039 (image-toggle-display-image): Use it (for testing).
6040 (image-transform-set-rotation): Reduce angle mod 360.
6041 Delete obsolete comment.
6042
7102e6d0
WJ
60432012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6044
6045 * image-mode.el: Fix scaling (bug#11399).
6046 (image-transform-resize): Doc fix.
6047 (image-transform-properties): Default scale is 1 and height should
6048 be an integer.
6049
06bc5e6e
SM
60502012-05-13 Johan Bockgård <bojohan@gnu.org>
6051
6052 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6053 than hard-coding `car', to fix misbehavior when moving forward.
6054
0ae03b6a
CY
60552012-05-13 Chong Yidong <cyd@gnu.org>
6056
6057 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6058 (tabulated-list-entries, tabulated-list-padding)
6059 (tabulated-list-sort-key): Make permanent-local.
6060
6061 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6062 (electric-buffer-list): Put electric buffer menu
6063 command descriptions in this docstring, instead of the docstring
6064 of electric-buffer-menu-mode. Code cleanups.
6065 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6066 Electric-buffer-menu-mode.
6067 (electric-buffer-update-highlight): Minor code cleanup.
6068
205a7391
MA
60692012-05-13 Michael Albinus <michael.albinus@gmx.de>
6070
6071 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6072 (Bug#11447)
6073
e5bd0a28
SM
60742012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6076 Move define-obsolete-variable-alias before the var's definition.
6077 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6078 * tooltip.el (tooltip-hook):
6079 * textmodes/reftex-toc.el (reftex-toc-map):
6080 * textmodes/reftex-sel.el (reftex-select-label-map)
6081 (reftex-select-bib-map):
6082 * textmodes/reftex-index.el (reftex-index-map)
6083 (reftex-index-phrases-map):
6084 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6085 * progmodes/meta-mode.el (meta-mode-map):
6086 * novice.el (disabled-command-hook):
6087 * loadhist.el (unload-hook-features-list):
6088 * frame.el (blink-cursor):
6089 * files.el (find-file-not-found-hooks, write-file-hooks)
6090 (write-contents-hooks):
6091 * emulation/tpu-edt.el (GOLD-map):
6092 * emacs-lock.el (emacs-lock-from-exiting):
6093 * emacs-lisp/generic.el (generic-font-lock-defaults):
6094 * emacs-lisp/chart.el (chart-map):
6095 * dos-fns.el (register-name-alist):
6096 * dired-x.el (dired-omit-files-p):
6097 * desktop.el (desktop-enable):
6098 * cus-edit.el (custom-mode-hook):
6099 * buff-menu.el (buffer-menu-mode-hook):
6100 * bookmark.el (bookmark-read-annotation-text-func)
6101 (bookmark-exit-hooks):
6102 * allout.el (allout-mode-deactivate-hook)
6103 (allout-exposure-change-hook, allout-structure-added-hook)
6104 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6105 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6106 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6107 comes before the corresponding variable's definition.
6108
ac59c2f6
CY
61092012-05-12 Chong Yidong <cyd@gnu.org>
6110
6111 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6112 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6113 (Buffer-menu-mode-map): Bind it.
6114 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6115
dee6c9a3
SM
61162012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6117
2171cea5
SM
6118 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6119 (prolog-upper-case-string, prolog-lower-case-string)
6120 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6121 (prolog-use-smie, prolog-smie-grammar): New vars.
6122 (prolog-smie-forward-token, prolog-smie-backward-token)
6123 (prolog-smie-rules): New funs.
6124 (prolog-comment-indent): Remove.
6125 (prolog-mode-variables): Use default comment indentation instead.
6126 Setup SMIE.
6127 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6128 (prolog-mode): Don't call them any more.
6129 (prolog-electric-colon, prolog-electric-dash)
6130 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6131
aa0382bd
SM
6132 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6133
dbacb4bd
SM
6134 * minibuffer.el (completion--twq-all): Again, allow case differences.
6135
13bdd94c
SM
6136 * term.el: Move keymap initialization code to be more idiomatic.
6137 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6138 (term-terminal-menu): Move initialization into declaration.
6139 (term-escape-char): Let the user set it in her .emacs.
6140
ff46c759
SM
6141 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6142 Provide SMIE-based indentation (not enabled by default yet).
6143 (sh-mode-map): Don't bind electric keys.
6144 Use electric-pair-mode instead of skeleton-pair.
6145 (sh-assignment-regexp): Fit within 80 columns.
6146 (sh-indent-supported): Specify actual shell name instead of boolean.
6147 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6148 (sh-maybe-here-document): Use it. Make obsolete.
6149 (sh-electric-here-document-mode) New minor mode.
6150 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6151 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6152 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6153 (sh-smie-rc-grammar, sh-use-smie): New vars.
6154 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6155 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6156 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6157 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6158 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6159 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6160 (sh-set-shell): Use smie-setup if requested.
6161
dee6c9a3
SM
6162 * term.el (term-set-escape-char): Properly set term-escape-char.
6163 See http://stackoverflow.com/questions/10524656.
6164
9f9aa044
CY
61652012-05-10 Chong Yidong <cyd@gnu.org>
6166
6167 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6168 Use url-generic-parse-url, and handle host names and Windows
6169 filenames properly.
6170 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6171 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6172 URL schemes to work on.
6173 (ffap--toggle-read-only): New function.
6174 (ffap-read-only, ffap-read-only-other-window)
6175 (ffap-read-only-other-frame): Use it.
6176 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6177 necessary for ffap-url-unwrap-remote.
6178
836d29b3
DA
61792012-05-10 Dave Abrahams <dave@boostpro.com>
6180
6181 * cus-start.el (create-lockfiles): Add it.
6182
00fd78ed
CY
61832012-05-09 Chong Yidong <cyd@gnu.org>
6184
6185 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6186 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6187
666b903b 61882012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6189
6190 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6191
666b903b 61922012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6193
6194 * ansi-color.el (ansi-color-process-output): Check for validity of
6195 comint-last-output-start before using it. This avoids a bad
6196 interaction with gdb-mi's input/output buffer.
6197
666b903b 61982012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6199
6200 * files.el (dir-locals-read-from-file):
6201 Mention dir-locals in any error message.
6202
666b903b 62032012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6204
6205 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6206 package (Bug#11410).
6207
f677562b
CY
6208 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6209 variables into description.
6210
666b903b 62112012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6212
6213 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6214 shell-delimiter-argument-list (bug#11348).
6215 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6216
b499d8d0
JB
62172012-05-09 Juanma Barranquero <lekktu@gmail.com>
6218
8f6b6da8
JB
6219 * textmodes/rst.el: Silence byte-compiler warnings.
6220 (rst-re-alist, rst-reset-section-caches): Move around.
6221 (rst-re): Use `characterp', not `char-valid-p'.
6222 (font-lock-beg, font-lock-end): Declare.
6223
4824146a
JB
6224 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6225 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6226
b499d8d0
JB
6227 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6228
ad89bb83
GM
62292012-05-08 Glenn Morris <rgm@gnu.org>
6230
6231 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6232
8bba5a75
SM
62332012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6234
49ed9c8e
SM
6235 * vc/log-edit.el: Add GNU coding standards highlighting.
6236 (log-edit-font-lock-gnu-style)
6237 (log-edit-font-lock-gnu-keywords): New vars.
6238 (log-edit-font-lock-keywords): New fun.
6239 (log-edit-mode): Don't fold case in font-lock.
6240 (log-edit-font-lock-keywords): Do not assume case-folding.
6241
07d00b56
SM
6242 * imenu.el: Misc cleanup. Make docstrings out of comments.
6243 Use lexical-binding.
6244 (imenu--index-alist, imenu--last-menubar-index-alist)
6245 (imenu-menubar-modified-tick): Use defvar-local.
6246 (imenu--split-menu): Remove unused var.
6247 (imenu--cleanup-seen): Declare as global.
6248 (imenu--cleanup): Use dolist.
6249
8bba5a75
SM
6250 * subr.el (defvar-local): Add debug spec and doc-string position.
6251
5075bdb5
GM
62522012-05-08 Glenn Morris <rgm@gnu.org>
6253
090bd7cb 6254 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6255 * language/english.el, language/georgian.el, language/greek.el:
6256 * language/japanese.el, language/khmer.el, language/korean.el:
6257 * language/lao.el, language/misc-lang.el, language/romanian.el:
6258 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6259 * language/thai.el, language/utf-8-lang.el:
6260 Remove no-byte-compile setting.
6261
5075bdb5
GM
6262 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6263
06f679a7
AH
62642012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6265
6266 * progmodes/make-mode.el (makefile-browse):
6267 Remove unnecessary interactive. (Bug#11324)
6268
03794570
GM
62692012-05-07 Glenn Morris <rgm@gnu.org>
6270
af8630f4
GM
6271 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6272
03794570
GM
6273 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6274
f0809a9d
SM
62752012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6276
28be5ce7
SM
6277 * loadup.el: Preload newcomment.el.
6278 * newcomment.el: Move autoload-only code to toplevel.
6279
f0809a9d
SM
6280 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6281 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6282 Handle new :right-align column property.
6283 (tabulated-list-print-col): Idem, plus use `display' text-property to
6284 try and preserve alignment for variable pitch fonts.
6285
1241b724
CY
62862012-05-07 Chong Yidong <cyd@gnu.org>
6287
6288 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6289 (tabulated-list-use-header-line): New var.
6290 (tabulated-list-init-header): Use it.
6291 (tabulated-list-print-fake-header): New function.
6292 (tabulated-list-print): Use it.
6293 (tabulated-list-sort-button-map): Add non-header-line commands.
6294 (tabulated-list-init-header): Add column name property to basic
6295 labels as well.
6296 (tabulated-list-col-sort): Handle non-header-line button case.
6297 (tabulated-list--sort-by-column-name): Fix a corner case.
6298
f0809a9d
SM
6299 * buff-menu.el (list-buffers--refresh):
6300 Handle Buffer-menu-use-header-line.
1241b724 6301
e5f9458f
CY
63022012-05-06 Chong Yidong <cyd@gnu.org>
6303
6304 * buff-menu.el: Convert to Tabulated List mode.
6305 (Buffer-menu-buffer+size-width): Make obsolete.
6306 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6307 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6308 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6309 documentation into docstring of buffer-menu.
6310 (Buffer-menu-toggle-files-only): Add an informative message.
6311 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6312 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6313 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6314 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6315 (Buffer-menu-execute, Buffer-menu-select)
6316 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6317 (Buffer-menu-bury): Use Tabulated List machinery.
6318 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6319 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6320 Delete.
e5f9458f
CY
6321 (list-buffers--refresh): New function.
6322 (list-buffers-noselect): Use it.
6323 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6324 (Buffer-menu--pretty-file-name): New helper functions.
6325
6326 * loadup.el: Preload tabulated-list.
6327
6328 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6329 tabulated-list-sort-column.
6330 (tabulated-list-init-header): Add the initial aligning space even
6331 if tabulated-list-padding is zero.
6332
e129292c
CS
63332012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6334
6335 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6336 whose cdr is not a cons cell correctly (bug#11038).
6337
6632d361
CY
63382012-05-06 Chong Yidong <cyd@gnu.org>
6339
e129292c
CS
6340 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6341 Accept additional plist in column descriptors.
6632d361
CY
6342 (tabulated-list-init-header): Obey it.
6343 (tabulated-list-get-entry): New function.
6344 (tabulated-list-put-tag): Use it. Use string-width instead of
6345 length.
6346 (tabulated-list--column-number): New function.
6347 (tabulated-list-print): Use it.
e129292c
CS
6348 (tabulated-list-print-col): New function.
6349 Set `tabulated-list-column-name' property on each column's text.
6632d361 6350 (tabulated-list-print-entry): Use it.
e129292c
CS
6351 (tabulated-list-delete-entry, tabulated-list-set-col):
6352 New functions.
6632d361
CY
6353 (tabulated-list-sort-column): New command (Bug#11337).
6354
3cc99f68
CY
6355 * buff-menu.el (list-buffers): Move C-x C-b binding from
6356 buff-menu.el to bindings.el.
6357
6358 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6359 :advertised-binding feature.
6360
52b61776
TN
63612012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6362
6363 * progmodes/compile.el (compilation-internal-error-properties):
6364 Calculate start position correctly when end-col is set but
6365 end-line is not (Bug#11382).
6366
ebfe2597
WJ
63672012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6368
6369 * man.el (Man-unindent): Use text-property-default-nonsticky to
6370 prevent untabify from inheriting face properties (Bug#11408).
6371
6d3f7c2f
SM
63722012-05-05 Stefan Merten <smerten@oekonux.de>
6373
6374 * textmodes/rst.el: Major merge with upstream development up to
6375 Docutils SVN r7399 / rst.el V1.2.1.
6376
6377 Clarify maintainership and authors.
6378
6379 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6380 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6381 (rst-official-version, rst-official-cvs-rev, rst-version)
6382 (rst-package-emacs-version-alist): New functions and variables
6383 for version information.
6384
6385 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6386 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6387 (rst-mode-syntax-table, rst-mode): New and corrected functions
6388 and variables representing reStructuredText features.
6389
6390 (rst-re): New function for reStructuredText regexes. Use in
6391 many places.
6392
6393 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6394 (rst-mode-map): Rebind keys.
6395
6396 (rst-mode-lazy, rst-font-lock-keywords)
6397 (rst-font-lock-extend-region)
6398 (rst-font-lock-extend-region-internal)
6399 (rst-font-lock-extend-region-extend)
6400 (rst-font-lock-find-unindented-line-limit)
6401 (rst-font-lock-find-unindented-line-match)
6402 (rst-adornment-level, rst-font-lock-adornment-level)
6403 (rst-font-lock-adornment-match)
6404 (rst-font-lock-handle-adornment-pre-match-form)
6405 (rst-font-lock-handle-adornment-matcher): Major revision of
6406 font-locking. Integrate with other code. Use `jit-lock-mode'.
6407
6408 (rst-preferred-adornments, rst-adjust-hook)
6409 (rst-new-adornment-down, rst-preferred-bullets)
6410 (rst-preferred-bullets, rst-indent, rst-indent-width)
6411 (rst-indent-field, rst-indent-literal-normal)
6412 (rst-indent-literal-minimized, rst-indent-comment): Change,
6413 extend and improve customization.
6414
6415 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6416 (rst-normalize-cursor-position, rst-get-decoration)
6417 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6418 (rst-rstrip, rst-toc-insert-find-delete-contents)
6419 (rst-shift-fill-region, rst-compute-bullet-tabs)
6420 (rst-debug-print-tabs, rst-debug-mark-found)
6421 (rst-shift-region-guts, rst-shift-region-right)
6422 (rst-shift-region-left, rst-use-char-classes)
6423 (rst-font-lock-keywords-function)
6424 (rst-font-lock-indentation-point)
6425 (rst-font-lock-find-unindented-line-begin)
6426 (rst-font-lock-find-unindented-line-end)
6427 (rst-font-lock-find-unindented-line)
6428 (rst-font-lock-adornment-point, rst-font-lock-level)
6429 (rst-adornment-level-alist): Remove functions and variables.
6430
6431 (rst-compare-adornments, rst-get-adornment-match)
6432 (rst-suggest-new-adornment, rst-get-adornments-around)
6433 (rst-adornment-complete-p, rst-get-next-adornment)
6434 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6435 (rst-straighten-adornments): Standardize function names to
6436 use "adornment" instead of "decoration". Correct callers.
6437 Similar standardizing in many places.
6438
6439 (rst-update-section, rst-adjust, rst-promote-region)
6440 (rst-enumerate-region, rst-bullet-list-region)
6441 (rst-repeat-last-character): Correct use of `interactive'.
6442
6443 (rst-classify-adornment, rst-find-all-adornments)
6444 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6445 (rst-find-leftmost-column, rst-repeat-last-character):
6446 Refactor functions.
6447
6448 (rst-find-title-line, rst-reset-section-caches)
6449 (rst-get-adornments-around, rst-adjust-adornment-work)
6450 (rst-arabic-to-roman, rst-roman-to-arabic)
6451 (rst-insert-list-pos, rst-insert-list-new-item)
6452 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6453 New functions.
6454
6455 (rst-all-sections, rst-section-hierarchy)
6456 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6457 New variables.
6458
6459 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6460 configuration instead of only buffer. Change where necessary.
6461
6462 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6463 (rst-shift-region, rst-adaptive-fill): New functions for
6464 indentation and filling.
6465
6466 (rst-comment-line-break, rst-comment-indent)
6467 (rst-comment-insert-comment, rst-comment-region)
6468 (rst-uncomment-region): New functions for handling comments.
6469
6470 (rst-compile): Quote shell arguments.
6471
6472 (rst-compile-pdf-preview, rst-compile-slides-preview):
6473 Delete temporary files after use.
6474
a43f98b3
GM
64752012-05-05 Glenn Morris <rgm@gnu.org>
6476
48176e8b
GM
6477 * calendar/cal-html.el: Optionally include holidays in the output.
6478 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6479 (cal-html-holidays): New option.
6480 (cal-html-css-default): Add holiday entry.
6481 (holiday-in-range): Autoload it.
6482 (cal-html-htmlify-entry): Add optional class argument.
6483 (cal-html-htmlify-list): Add optional holidays argument.
6484 (cal-html-insert-agenda-days): Include holidays in the output.
6485 (cal-html-one-month): Maybe include holidays.
6486
a43f98b3
GM
6487 * calendar/holidays.el (holiday-in-range):
6488 Move here from cal-tex-list-holidays.
6489 * calendar/cal-tex.el (cal-tex-list-holidays):
6490 Make it an obsolete alias for holiday-in-range. Update all callers.
6491
fef9d149 64922012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6493
6494 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6495 Nextstep.
6496
248da2f4
RW
64972012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6498
6499 * files.el (file-auto-mode-skip): New var.
6500 (set-auto-mode-1): Use it.
6501
f95e9344
SM
65022012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6503
df96ab1e
SM
6504 * repeat.el: Use lexical-binding.
6505 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6506 (repeat-undo-count): Remove.
6507 (repeat):
6508 * progmodes/octave-mod.el (octave-abbrev-start):
6509 * progmodes/f90.el (f90-abbrev-start):
6510 * face-remap.el (text-scale-adjust):
6511 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6512
5342bb06
SM
6513 * emacs-lisp/pcase.el (pcase--let*): New function.
6514 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6515 a bit more.
6516 (pcase--split-pred): Be more clever about ruling out overlap between
6517 a predicate and some constant pattern.
6518 (pcase--q1): Use `null' instead of (eq foo nil).
6519
f95e9344
SM
6520 * subr.el (setq-local, defvar-local): New macros.
6521 (kbd): Redefine as an alias.
6522 (with-selected-window): Leave unrelated frames alone.
6523 (set-temporary-overlay-map): New function.
6524
71873e2b
SM
65252012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6526
6527 * subr.el (user-error): New function.
6528 * window.el (switch-to-buffer):
6529 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6530 (smerge-match-conflict):
6531 * simple.el (previous-matching-history-element)
6532 (next-matching-history-element, goto-history-element, undo-more)
6533 (undo-start):
6534 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6535 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6536 (next-file, tags-loop-scan, list-tags, complete-tag):
6537 * progmodes/compile.el (compilation-loop):
6538 * mouse.el (mouse-minibuffer-check):
6539 * man.el (Man-bgproc-sentinel, Man-goto-page):
6540 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6541 (Info-history-forward, Info-follow-reference, Info-menu)
6542 (Info-extract-menu-item, Info-extract-menu-counting)
6543 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6544 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6545 (Info-next-reference, Info-prev-reference, Info-index)
6546 (Info-index-next, Info-follow-nearest-node)
6547 (Info-copy-current-node-name):
6548 * imenu.el (imenu--make-index-alist)
6549 (imenu-default-create-index-function, imenu-add-to-menubar):
6550 * files.el (basic-save-buffer, recover-file):
6551 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6552 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6553 (checkdoc-message-text, checkdoc-defun):
6554 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6555 * cus-edit.el (customize-changed-options, customize-rogue)
6556 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6557 (custom-variable-mark-to-reset-standard)
6558 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6559 (custom-file):
6560 * completion.el (check-completion-length):
6561 * comint.el (comint-search-arg)
6562 (comint-previous-matching-input-string-position)
6563 (comint-previous-matching-input)
6564 (comint-replace-by-expanded-history-before-point, comint-send-input)
6565 (comint-copy-old-input, comint-backward-matching-input)
6566 (comint-goto-process-mark, comint-set-process-mark):
6567 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6568 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6569
8a61ee22
SM
65702012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6571
66408d1e
SM
6572 * dabbrev.el (dabbrev--ignore-case-p): New function.
6573 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6574 Use it.
6575
8a61ee22
SM
6576 * files.el (automount-dir-prefix): Mark as obsolete.
6577
3c74813a
GM
65782012-05-04 Glenn Morris <rgm@gnu.org>
6579
6580 * patcomp.el, play/bruce.el: Move to obsolete/.
6581
0bfcf5c5
PE
65822012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6583
6584 Fix minor Y10k bugs.
6585 * arc-mode.el (archive-unixdate):
6586 * autoinsert.el (auto-insert-alist):
6587 * calc/calc-forms.el (math-this-year):
6588 * emacs-lisp/copyright.el (copyright-current-year)
6589 (copyright-update-year, copyright):
6590 * tar-mode.el (tar-clip-time-string):
6591 * time.el (display-time-update):
6592 Don't assume years have 4 digits.
6593
78f3273a
CY
65942012-05-04 Chong Yidong <cyd@gnu.org>
6595
6596 * dos-w32.el (file-name-buffer-file-type-alist)
6597 (direct-print-region-use-command-dot-com):
6598 * ffap.el (ffap-menu-regexp):
6599 * find-file.el (ff-special-constructs):
6600 * follow.el (follow-debug):
6601 * forms.el (forms--debug):
6602 * iswitchb.el (iswitchb-all-frames):
6603 * ido.el (ido-all-frames):
6604 * emacs-lisp/timer.el (timer-max-repeats):
6605 * mail/feedmail.el (feedmail-mail-send-hook)
6606 (feedmail-mail-send-hook-queued):
6607 * mail/footnote.el (footnote-signature-separator):
6608 * mail/mailabbrev.el (mail-alias-separator-string)
6609 (mail-abbrev-mode-regexp):
6610 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6611 * progmodes/idlwave.el (idlwave-libinfo-file)
6612 (idlwave-default-completion-case-is-down)
6613 (idlwave-library-routines): Convert defvars to defcustoms.
6614
6615 * mail/rmail.el (rmail-decode-mime-charset):
6616 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6617 (idlwave-shell-fix-inserted-breaks)
6618 (idlwave-shell-activate-alt-keybindings)
6619 (idlwave-shell-use-breakpoint-glyph):
6620 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6621
f7ae6719
SM
66222012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6625
47086495
WS
66262012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6627
6628 * progmodes/verilog-mode.el (font-lock-keywords):
6629 Fix mis-highligting auto. Reported by Craig Barner.
6630 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6631 defines from global name space. Reported by Dan Dever.
47086495
WS
6632 (verilog-auto-reset, verilog-auto-reset-widths)
6633 (verilog-auto-tieoff): Support using unbased numbers for
6634 AUTORESET and AUTOTIEOFF.
6635 (verilog-submit-bug-report): Update variable list.
6636 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6637 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6638 (verilog-auto-template-lint): Fix hash error when linting modules
6639 with no used templates.
6640 (verilog-warn, verilog-warn-error)
6641 (verilog-warn-fatal): When non-interactive report multiple
6642 warnings before exiting. Suggested by Brad Dobbie.
6643 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6644 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6645 to report unused template errors. Reported by Brad Dobbie.
6646 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6647 nets, bug438. Reported by Vns Blore.
47086495
WS
6648 (verilog-auto-inout-module, verilog-auto-reg)
6649 (verilog-read-decls, verilog-read-sub-decls-sig)
6650 (verilog-signals-edit-wire-reg, verilog-signals-with):
6651 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6652 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6653 "reg" for backwards compatibility presuming Verilog 2001.
6654 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6655 (verilog-preprocess): Fix replication of preprocess output.
6656 Reported by Brad Dobbie.
6657 (verilog-auto-inst-interfaced-ports):
6658 Create verilog-auto-inst-interfaced-ports, bug429.
6659 Reported by Julian Gorfajn.
6660 (verilog-after-save-font-hook)
6661 (verilog-before-save-font-hook): New variable.
6662 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6663 (verilog-save-font-mods): Wrap disabling fontification, reported
6664 by David Rogoff.
6665 (verilog-do-indent, verilog-pretty-declarations-auto)
6666 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6667 Reported by Pierre-David Pfister.
6668 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6669 of class declarations, bug292. Reported by Kevin Heilman.
6670 (verilog-read-decls): Fix 'parameter type' not appearing in
6671 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6672 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6673 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6674 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6675 Reported by David Kravitz.
6676
66772012-05-03 Michael McNamara <mac@mail.brushroad.com>
6678
6679 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6680 assignment with tests in ifs and for loops.
6681 (verilog-extended-complete-re, verilog-complete-reg): Change so
6682 that DPI inport functions don't look like fuction declarations.
6683 (verilog-pretty-expr): Don't line up assignment
6684 operations to the test and increment in if and for loops
6685 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6686 that DPI inport functions don't look like fuction declarations.
47086495 6687
2e51d4b5
KH
66882012-05-03 Kenichi Handa <handa@m17n.org>
6689
6690 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6691 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6692 (Bug#11282).
6693
2bd785a2
SM
66942012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6695
6696 * emacs-lisp/bytecomp.el
6697 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6698 since cconv.el might have introduced :fun-body, internal-make-closure,
6699 and friends for bytecomp to handle (bug#11391).
6700 * custom.el (defcustom): Avoid ((λ ..) ..).
6701
99d27583
SM
67022012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6703
6704 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6705
55a71479
JB
67062012-05-02 Juanma Barranquero <lekktu@gmail.com>
6707
6708 * notifications.el (dbus-debug):
6709 * term/linux.el (gpm-mouse-enable):
6710 * term/screen.el (xterm-register-default-colors): Declare.
6711
7b97c764
CY
67122012-05-02 Chong Yidong <cyd@gnu.org>
6713
2bc356d7
CY
6714 * cus-start.el (gc-cons-percentage, exec-suffixes)
6715 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6716 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6717 (make-cursor-line-fully-visible, void-text-area-pointer)
6718 (font-list-limit): Add customization data.
6719
7b97c764
CY
6720 * allout.el (allout-exposure-change-functions)
6721 (allout-structure-added-functions)
6722 (allout-structure-deleted-functions)
6723 (allout-structure-shifted-functions): Rename abnormal hooks from
6724 *-hook, and convert to defcustoms.
5d3385a0
JB
6725 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6726 Convert to defcustoms.
7b97c764
CY
6727 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6728
6729 * allout-widgets.el: Hook callers changed.
6730
90207a15 67312012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6732
6733 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6734 the yanked message in preference to the default value of
6735 buffer-file-coding-system.
6736
90207a15 67372012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6738
5d3385a0
JB
6739 * window.el (display-buffer--action-function-custom-type):
6740 Fix entry.
d9558cad 6741
90207a15 67422012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6743
6744 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6745
d80ac57b
GM
67462012-05-01 Glenn Morris <rgm@gnu.org>
6747
976f7668
GM
6748 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6749
beb83b5a
GM
6750 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6751
d80ac57b
GM
6752 * cus-edit.el (custom-variable-documentation): Simplify with format.
6753
b593d6a9 67542012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6755 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6756
6757 * simple.el (suggest-key-bindings, execute-extended-command):
6758 Move from keyboard.c.
6759
782fbf2a
CY
67602012-05-01 Chong Yidong <cyd@gnu.org>
6761
6762 * follow.el: Eliminate advice.
6763 (set-process-filter, process-filter, sit-for): Advice deleted.
6764 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6765 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6766 Vars deleted.
782fbf2a
CY
6767 (follow-auto): Use a :set function.
6768 (follow-mode): Rewritten. Don't advise process filters.
6769 (follow-switch-to-current-buffer-all, follow-scroll-up)
6770 (follow-scroll-down): Assume follow-mode is bound.
6771 (follow-comint-scroll-to-bottom)
6772 (follow-align-compilation-windows): New functions.
6773 (follow--window-sorter): New function.
6774 (follow-all-followers): Use it to explicitly sort windows by their
6775 positions; don't make assumptions about next-window order.
6776 (follow-windows-start-end, follow-delete-other-windows-and-split)
6777 (follow-calc-win-start): Doc fix.
6778 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6779 vertical-motion unnecessarily.
6780 (follow-adjust-window): New function.
6781 (follow-post-command-hook): Use it.
6782 (follow-call-set-process-filter, follow-call-process-filter)
6783 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6784 (follow-stop-intercept-process-output, follow-generic-filter):
6785 Functions deleted.
6786 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6787 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6788 New functions, replacing advice on scroll-bar-* commands.
87233a14 6789 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6790
6791 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6792 (comint-postoutput-scroll-to-bottom): Use it.
6793 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6794
290af740
GM
67952012-05-01 Glenn Morris <rgm@gnu.org>
6796
6797 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6798 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6799 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6800 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6801 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6802 Remove no-byte-compile setting.
6803
6eac8dc9
SM
68042012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6807 all-completions code to not return a number in the last cdr.
6808
9cc7819c
LL
68092012-04-30 Leo Liu <sdl.web@gmail.com>
6810
6811 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6812 read-only error.
6813
c93b886f
CY
68142012-04-29 Chong Yidong <cyd@gnu.org>
6815
6816 * follow.el (follow-calc-win-end): Rewrite to handle partial
6817 screen lines correctly (Bug#8390).
6818 (follow-avoid-tail-recenter): Minor cleanup.
6819
8b6c19f4
SM
68202012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6821
6822 Avoid the obsolete `assoc' package.
6823 * speedbar.el (speedbar-refresh): Avoid adelete.
6824 (speedbar-file-lists): Simplify and avoid aput.
6825 * man.el (Man--sections, Man--refpages): New vars, replacing
6826 Man-sections-alist and Man-refpages-alist.
6827 (Man-build-section-alist, Man-build-references-alist):
6828 Use them; avoid aput.
6829 (Man--last-section, Man--last-refpage): New vars.
6830 (Man-follow-manual-reference): Use them.
6831 Use the `default' arg of completing-read.
6832 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6833
c5bb7569
CY
68342012-04-27 Chong Yidong <cyd@gnu.org>
6835
d1d2e2e8
CY
6836 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6837
15cd8efd
CY
6838 * startup.el (x-apply-session-resources): New function.
6839
6840 * term/ns-win.el (ns-initialize-window-system):
6841 * term/w32-win.el (w32-initialize-window-system):
6842 * term/x-win.el (x-initialize-window-system): Use it to properly
6843 set menu-bar-mode and other vars from X resources, even if the
6844 initial frame is not a window-system frame (Bug#2299).
6845
c5bb7569
CY
6846 * subr.el (read-key): Avoid running filter function when setting
6847 up temporary tool bar entries (Bug#9922).
6848
a8e7d6d7 68492012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6850
6851 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6852 (Bug#11344)
6853
a8e7d6d7 68542012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6855
6856 * select.el (xselect--encode-string): New function, split from
6857 xselect-convert-to-string.
6858 (xselect-convert-to-string): Use it.
6859 (xselect-convert-to-filename, xselect-convert-to-os)
6860 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6861 returned strings are properly encoded (Bug#11315).
6862
a8e7d6d7 68632012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6864
6865 * simple.el (delete-active-region): Move to killing custom group.
6866
a8e7d6d7 68672012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6868
6869 * progmodes/which-func.el (which-func-current): Quote %
6870 characters for mode-line processing.
6871
578c1d4b 68722012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6873
6874 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6875 reaching eob (Bug#11286).
6876
a8e7d6d7 68772012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6878
6879 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6880 (gdb): Make it buffer-local and init to zero.
6881 (gdb-control-commands-regexp): New variable.
6882 (gdb-send): Don't wrap in "-interpreter-exec console" if
6883 gdb-control-level is positive. Increment gdb-control-level
6884 whenever the command matches gdb-control-commands-regexp, and
6885 decrement it each time the command is "end". (Bug#11279)
6886
a8e7d6d7 68872012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6888
6889 * window.el (adjust-window-trailing-edge, enlarge-window)
6890 (shrink-window, window-resize):
6891 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6892 windows (Bug#11276).
6893
b3608390
CY
68942012-04-27 Chong Yidong <cyd@gnu.org>
6895
6896 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6897 fix "missing prefix" warning. All callers changed.
b3608390 6898
797e6e88
SM
68992012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * emacs-lisp/assoc.el: Move to obsolete/.
6902
e95a67dc
SM
69032012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6904
657c21e4 6905 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6906
6907 * term/ns-win.el (ns-define-service):
6908 * progmodes/pascal.el (pascal-goto-defun):
6909 * progmodes/js.el (js--read-tab):
6910 * progmodes/etags.el (tags-lazy-completion-table):
6911 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6912 * emacs-lisp/ewoc.el (ewoc--wrap):
6913 * emacs-lisp/assoc.el (aput, adelete, amake):
6914 * doc-view.el (doc-view-convert-current-doc):
6915 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6916
cb3e7ae0
CY
69172012-04-26 Chong Yidong <cyd@gnu.org>
6918
dce04f7f
CY
6919 * image.el (image-type-from-buffer): Only return supported image
6920 type (Bug#9045).
6921
cb3e7ae0
CY
6922 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6923 value, for symmetry with diff-end-of-hunk.
6924 (diff-split-hunk, diff-find-source-location)
6925 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6926 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6927 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6928 compute the relevant hunk or file properly (Bug#6005).
6929 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6930
0d42eb3e
SM
69312012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * vc/vc-mtn.el:
6934 * vc/vc-hg.el:
6935 * vc/vc-git.el:
6936 * vc/vc-dir.el:
6937 * vc/vc-cvs.el:
6938 * vc/vc-bzr.el:
6939 * vc/vc-arch.el:
6940 * vc/vc.el: Replace lexical-let by lexical-binding.
6941 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6942 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6943 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6944
f08ae1c9
CY
69452012-04-26 Chong Yidong <cyd@gnu.org>
6946
8b71081d
CY
6947 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6948 (diff-mode-shared-map): Bind it to / and [remap undo].
6949
f08ae1c9
CY
6950 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6951 (ediff-window-setup-function): Use it as the default, to set up
6952 windows based on whether the current frame is graphical (Bug#2138).
6953 (ediff-choose-window-setup-function-automatically): Make obsolete.
6954
6955 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6956
ef24141c
SM
69572012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6958
cc356a5d
SM
6959 * ffap.el: Remove old code for obsolete package.
6960 (ffap-complete-as-file-p): Remove.
6961
b4ff4f1f
SM
6962 Use completion-table-with-quoting for comint and pcomplete.
6963 * comint.el (comint--unquote&requote-argument)
6964 (comint--unquote-argument, comint--requote-argument): New functions.
6965 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6966 (comint-quote-filename): Use regexp-opt-charset.
6967 (comint--common-suffix, comint--common-quoted-suffix)
6968 (comint--table-subvert): Remove.
6969 (comint-unquote-function, comint-requote-function): New vars.
6970 (comint--complete-file-name-data): Use them with
6971 completion-table-with-quoting.
6972 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6973 * pcomplete.el (pcomplete-arg-quote-list)
6974 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6975 (pcomplete-unquote-argument-function): Default to non-nil.
6976 (pcomplete-unquote-argument): Simplify.
6977 (pcomplete--common-quoted-suffix): Remove.
6978 (pcomplete-requote-argument-function): New var.
6979 (pcomplete--common-suffix): New function.
6980 (pcomplete-completions-at-point): Use completion-table-with-quoting
6981 and completion-table-subvert.
6982
79c4eeb4
SM
6983 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6984 (minibuffer--double-dollars): Preserve properties.
6985 (completion--sifn-requote): New function.
6986 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6987
ef24141c
SM
6988 * minibuffer.el: Add support for completion of quoted/escaped data.
6989 (completion-table-with-quoting, completion-table-subvert): New funs.
6990 (completion--twq-try, completion--twq-all): New functions.
6991 (completion--nth-completion): New function.
6992 (completion-try-completion, completion-all-completions): Use it.
6993
784e7d6e
LL
69942012-04-25 Leo Liu <sdl.web@gmail.com>
6995
dd2ac746
SM
6996 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6997 Use compilation-message if available to find real filename.
784e7d6e 6998
07875ee7
CY
69992012-04-25 Chong Yidong <cyd@gnu.org>
7000
7001 * vc/diff-mode.el (diff-setup-whitespace): New function.
7002 (diff-mode): Use it.
7003
7004 * vc/diff.el (diff-sentinel):
7005 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7006 Whitespace mode variables based on diff style (Bug#8612).
7007
5055880d
LL
70082012-04-25 Leo Liu <sdl.web@gmail.com>
7009
daf75653
LL
7010 * progmodes/python.el (python-send-region): Add suffix .py to the
7011 temp file.
7012
5055880d
LL
7013 * files.el (auto-mode-alist): Use javascript-mode instead.
7014
db9b177b
AH
70152012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7016
ef24141c 7017 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7018
090bd7cb 7019 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7020 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7021 references, see Bug#9.
ef24141c 7022 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7023 when receiving a fault reply.
ef24141c 7024 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7025
090bd7cb 7026 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7027 (soap-inspect-simple-type): New function.
db9b177b 7028
090bd7cb 7029 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7030 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7031 (soap-decode-basic-type, soap-encode-basic-type):
7032 support unsignedInt and double basic types.
db9b177b 7033 (soap-resolve-references-for-simple-type)
ef24141c
SM
7034 (soap-parse-simple-type, soap-encode-simple-type): New function.
7035 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7036
090bd7cb 7037 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7038 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7039 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7040 the local name of "soapenc:Array".
7041 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7042 decoding integer, byte and anyURI xsd types.
7043
1fc6097b
CY
70442012-04-25 Chong Yidong <cyd@gnu.org>
7045
7046 * cus-edit.el (custom-buffer-create-internal): Update header text.
7047
afc6df87
EZ
70482012-04-25 Eli Zaretskii <eliz@gnu.org>
7049
7050 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7051 settings on 'system-type', not on 'window-system'. On MS-Windows,
7052 set interactive-mode on in GDB.
7053
dfbd787f
SM
70542012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7057 (ruby-syntax-propertize-regexp): Remove.
7058 (ruby-syntax-propertize-function): Split regexp into chunks.
7059 Match following code directly.
7060
85222d44
DG
70612012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7062
51a8ea2a
DG
7063 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7064 (ruby-syntax-propertize-regexp): New function.
7065 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7066 by a special keyword.
7067
85222d44
DG
7068 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7069 (ruby-syntax-general-delimiters-goto-beg)
7070 (ruby-syntax-propertize-general-delimiters): New functions.
7071 (ruby-syntax-propertize-function): Use them to handle GDL.
7072 (ruby-font-lock-keywords): Move old handling of GDL...
7073 (ruby-font-lock-syntactic-keywords): .. to here.
7074 (ruby-calculate-indent): Adjust indentation for GDL.
7075
b613912b
MA
70762012-04-24 Michael Albinus <michael.albinus@gmx.de>
7077
b5380639
MA
7078 * notifications.el (top): Remove unneeded declarations.
7079 (notifications-specification-version): Change to "1.2".
e43042fe 7080 (notifications-interface, notifications-notify-method)
b613912b
MA
7081 (notifications-close-notification-method): Fix docstring.
7082 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7083 (notifications-notify): Add :action-items, :resident and
7084 :transient hints. Change "image_data" to "image-data" and
7085 "image_path" to "image-path".
b613912b
MA
7086 (notifications-get-capabilities): New defun.
7087
257440aa
LL
70882012-04-24 Leo Liu <sdl.web@gmail.com>
7089
7090 * progmodes/python.el: Move hideshow setup to the end.
7091
b1bac16e
MR
70922012-04-24 Martin Rudalics <rudalics@gmx.at>
7093
7094 * window.el (handle-select-window): Clear echo area since this is
7095 no more done by read_char (Bug#11304).
7096
d81bd059
SM
70972012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7100 and `/ M' to filter-derived-mode.
7101 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7102 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7103 (ibuffer-mark-by-mode): Use default rather than initial-input.
7104 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7105
c4cf6d91
IA
71062012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7107
7108 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7109 (ibuffer-filter-by-derived-mode): New filter.
7110 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7111
7511ded8
CY
71122012-04-23 Andreas Politz <politza@fh-trier.de>
7113
7114 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7115
775c916b
CY
71162012-04-23 Chong Yidong <cyd@gnu.org>
7117
7118 * cus-edit.el (customize-apropos, customize-apropos-options):
7119 Disable matching of non-option variables (Bug#11176).
7120 (customize-option, customize-option-other-window)
7121 (customize-changed-options): Doc fix.
7122 (customize-apropos-options, customize-apropos-faces)
7123 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7124
7125 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7126 Fix word list splitting (Bug#11132).
46c71e23
CY
7127 (apropos-symbol, apropos-keybinding, apropos-label)
7128 (apropos-property, apropos-function-button)
7129 (apropos-variable-button, apropos-misc-button): New faces.
7130 (apropos-symbol-face, apropos-keybinding-face)
7131 (apropos-label-face, apropos-property-face, apropos-match-face):
7132 Variables removed (Bug#8396).
7133 (apropos-library-button, apropos-format-plist, apropos-print)
7134 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7135
2df41f9c
MA
71362012-04-23 Michael Albinus <michael.albinus@gmx.de>
7137
7138 * net/xesam.el (xesam-mode-map): Use let-bound map in
7139 initialization. (Bug#11292)
7140
da00640a
AM
71412012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7142
7143 Preserve ispell session localwords when switching back to
7144 original buffer.
7145
090bd7cb
JB
7146 * textmodes/ispell.el (ispell-buffer-session-localwords):
7147 New buffer-local variable to hold buffer session localwords.
ed9265fc 7148 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7149 localwords.
7150 (ispell-command-loop, ispell-change-dictionary)
7151 (ispell-buffer-local-words): Preserve session localwords when
7152 needed.
7153
090bd7cb
JB
7154 * textmodes/flyspell.el (flyspell-process-localwords)
7155 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7156
f621ccf5
AM
71572012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7158
090bd7cb
JB
7159 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7160 using obsolete `translation-table-for-input'.
ef24141c
SM
7161 (ispell-word, ispell-process-line, ispell-complete-word):
7162 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7163
c2d1019e
CY
71642012-04-22 Chong Yidong <cyd@gnu.org>
7165
7166 * cus-edit.el (custom-variable-menu)
7167 (custom-variable-reset-saved, custom-face-menu)
7168 (custom-face-reset-saved): If there is no saved value, make the
7169 "reset-saved" operation bring back the default (Bug#9509).
7170 (custom-face-state): Properly detect themed faces.
7171
eeddc531
CY
7172 * faces.el (face-spec-set): Stop supporting deprecated form of
7173 third arg.
7174
dcbf5805
MA
71752012-04-22 Michael Albinus <michael.albinus@gmx.de>
7176
7177 Move functions from C to Lisp. Make non-blocking method calls
7178 the default. Implement further D-Bus standard interfaces.
7179
ef24141c
SM
7180 * net/dbus.el (dbus-message-internal): Declare function.
7181 Remove unneeded function declarations.
dcbf5805
MA
7182 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7183 (dbus-message-type-method-return, dbus-message-type-error)
7184 (dbus-message-type-signal): Declare variables. Remove local
7185 definitions.
7186 (dbus-interface-dbus, dbus-interface-peer)
7187 (dbus-interface-introspectable, dbus-interface-properties)
7188 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7189 Adapt docstring.
7190 (dbus-interface-objectmanager): New defconst.
7191 (dbus-call-method, dbus-call-method-asynchronously)
7192 (dbus-send-signal, dbus-method-return-internal)
7193 (dbus-method-error-internal, dbus-register-service)
7194 (dbus-register-signal, dbus-register-method): New defuns, moved
7195 from dbusbind.c
7196 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7197 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7198 New defuns.
dcbf5805
MA
7199 (dbus-call-method-non-blocking): Make it an obsolete function.
7200 (dbus-unregister-object, dbus-unregister-service)
7201 (dbus-handle-event, dbus-register-property)
7202 (dbus-property-handler): Obey the new structure of
7203 `bus-registered-objects'.
7204 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7205 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7206 Use `dbus-call-method'.
7207
cf20dee0
CY
72082012-04-22 Chong Yidong <cyd@gnu.org>
7209
7210 * cus-edit.el (custom-commands, custom-reset-menu)
7211 (Custom-reset-standard): Tweak labels.
7212 (custom-reset-button-menu): Change default to t.
7213 (custom-buffer-create-internal): For the custom-reset-button-menu
7214 case, put the revert button first.
7215 (custom-group-subtitle): New face.
7216 (custom-group-value-create): Align docstring to a specific column.
7217
7218 * wid-edit.el (widget-documentation-link-add): Don't handle
7219 indentation in this function.
7220 (widget-documentation-string-indent-to): New function.
7221 (widget-documentation-string-value-create): Use it.
7222
7223 * autorevert.el (auto-revert):
7224 * epg-config.el (epg):
7225 * ibuffer.el (ibuffer):
7226 * mpc.el (mpc):
7227 * ses.el (ses):
7228 * eshell/eshell.el (eshell):
7229 * net/ange-ftp.el (ange-ftp):
7230 * progmodes/ebnf2ps.el (postscript):
7231 * progmodes/flymake.el (flymake):
7232 * progmodes/prolog.el (prolog):
7233 * progmodes/verilog-mode.el (verilog-mode):
7234 * progmodes/which-func.el (which-func):
7235 * term/xterm.el (xterm):
7236 * textmodes/picture.el (picture):
7237 * textmodes/tildify.el (tildify):
7238 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7239 customization buffers.
7240
583e23bd
AM
72412012-04-22 Alan Mackenzie <acm@muc.de>
7242
7243 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7244 Adding a ) can hide the resulting (..) from searches. Fix it.
7245 Bound the backward search to the position of the existing (.
7246
7dd51bf1
JB
72472012-04-21 Juanma Barranquero <lekktu@gmail.com>
7248
7249 * progmodes/verilog-mode.el (verilog-mode): Check whether
7250 which-func-modes is t before adding verilog-mode.
7251 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7252
d64a438f
LL
72532012-04-21 Leo Liu <sdl.web@gmail.com>
7254
7dd51bf1 7255 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7256
081e8d65
MV
72572012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7258
7259 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7260 filling of the last column of a table (Bug#5635).
7261 (woman-find-next-control-line): New arg, specifying an additional
7262 regexp component for the control line.
7263 (woman2-roff-buffer): Use it.
7264 (woman-break-table): New function.
7265 (woman2-TS): Use it.
7266
72672012-04-21 Chong Yidong <cyd@gnu.org>
7268
7269 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7270 (woman-horizontal-escapes, woman-negative-vertical-space)
7271 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7272 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7273
ed571ccb
SM
72742012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7275
7276 * minibuffer.el (completion-file-name-table): Complete user names.
7277
39773899
LL
72782012-04-20 Leo Liu <sdl.web@gmail.com>
7279
7280 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7281 and pcase-let*.
7282
de6ff46d
CY
72832012-04-20 Chong Yidong <cyd@gnu.org>
7284
7285 * server.el (server-execute): Respect initial-buffer-choice if it
7286 is a string and there are no files to open (Bug#2825).
7287 (server-create-window-system-frame, server-create-tty-frame):
7288 Don't switch buffers here.
2d0e8e61
CY
7289 (server-process-filter): Only try to open a window system frame if
7290 compiled with graphical support (Bug#8314).
de6ff46d 7291
54071013
DN
72922012-04-20 Dan Nicolaescu <dann@gnu.org>
7293
7294 * battery.el (battery-echo-area-format): Display remaining time
7295 for sysfs backend too (Bug#11269).
7296 (battery-linux-sysfs): Fix conditional for the charge.
7297
f30d612a
CY
72982012-04-20 Chong Yidong <cyd@gnu.org>
7299
c07a4c0b 7300 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7301 (gdb-inferior-io--init-proc): New function.
7302 (gdb-init-1): Use it.
7303 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7304 responsible for allocating a new pty and hooking it to gdb when
7305 the old pty gets an EIO due to process exit.
7306 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7307 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7308 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7309
2116e93c
EZ
73102012-04-20 Eli Zaretskii <eliz@gnu.org>
7311
7312 * window.el (window-min-size, window-sizable, window-min-delta)
7313 (window-max-delta, window--resizable, window-resizable)
7314 (window-total-size, window-full-height-p, window-full-width-p)
7315 (window-in-direction, window--resize-mini-window, window-resize)
7316 (window--resize-child-windows-normal)
7317 (window--resize-child-windows, window--resize-siblings)
7318 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7319 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7320
c07a4c0b 73212012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7322
ef24141c
SM
7323 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7324 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7325 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7326 pty process (Bug#11273).
7327 (gdb-update): New arg to suppress talking to the gdb process.
7328 (gdb-done-or-error): Use it.
7329 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7330 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7331 sentinel not being called.
7332
7333 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7334
d02766ab
CY
7335 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7336
c07a4c0b 73372012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7338
7339 * net/network-stream.el (open-network-stream): Doc fix.
7340
c07a4c0b 73412012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7342
7343 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7344
c07a4c0b 73452012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7346
7347 Ensure searching for keywords is case sensitive.
7348
7349 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7350 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7351 (c-defun-name, c-mark-function, c-cpp-define-name)
7352 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7353 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7354
ef24141c
SM
7355 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7356 Bind case-fold-search to nil.
f0f6bc35 7357
c07a4c0b 73582012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7359
7360 * mail/sendmail.el (mail-bury): Call return action with the right
7361 Rmail buffer (Bug#11242).
7362
9a864fa2
CY
7363 * server.el (server-process-filter): Handle corner case where both
7364 tty and nowait options are present (Bug#11102).
7365
539aa513
EZ
73662012-04-20 Eli Zaretskii <eliz@gnu.org>
7367
7368 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7369 (top level): Put into the executable the ident-style '$Id:' tag on
7370 windows-nt as well.
539aa513 7371
cfc7d5da
SM
73722012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7373
7374 * electric.el (electric-indent-post-self-insert-function): Check that
7375 electric-indent-mode is enabled in current buffer.
7376
5b01685c
JB
73772012-04-19 Juanma Barranquero <lekktu@gmail.com>
7378
7379 * imenu.el (imenu-progress-message): Restore; it is "used" in
7380 erc/erc-imenu.el and net/snmp-mode.el.
7381
4d6769e1
JB
73822012-04-19 Juanma Barranquero <lekktu@gmail.com>
7383
7384 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7385 (mouse-avoidance-nudge-mouse): Remove unused binding.
7386
7387 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7388
7389 * descr-text.el (describe-char):
7390 * progmodes/python.el (python-describe-symbol):
7391 Don't call `toggle-read-only', set `buffer-read-only'.
7392
7393 * imenu.el (imenu-default-goto-function): Mark unused args.
7394 (imenu-progress-message): Remove obsolete macro; all callers changed.
7395
7396 * subr.el (keymap-canonicalize): Remove unused binding.
7397 (read-passwd): Mark unused arg.
7398
7399 * tutorial.el (tutorial--display-changes): Remove unused binding.
7400 (tutorial--save-tutorial-to): Remove unused variable.
7401
7402 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7403 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7404 (package-generate-autoloads, package-menu--generate)
7405 (package-menu--find-upgrades): Remove unused bindings.
7406
7407 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7408 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7409 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7410 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7411 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7412 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7413 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7414 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7415 (cua-delete-char-rectangle): Mark unused args.
7416 (cua-align-rectangle): Remove unused binding.
7417
7418 * mail/rmail.el (compilation--message->loc)
7419 (epa--find-coding-system-for-mime-charset): Declare.
7420
7421 * net/dbus.el (dbus-register-service): Declare.
7422 (dbus-name-owner-changed-handler): Remove unused binding.
7423
7424 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7425 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7426 (nxml-scan-backward-within): Mark unused arg.
7427 (nxml-dynamic-markup-word): Remove unused binding.
7428
7429 * mouse.el (mouse-menu-major-mode-map):
7430 * emacs-lisp/authors.el (authors-scan-change-log)
7431 (authors-add-to-author-list):
7432 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7433 * emacs-lisp/smie.el (smie-auto-fill):
7434 * mail/sendmail.el (mail-bury):
7435 * mail/unrmail.el (unrmail):
7436 * net/tls.el (open-tls-stream):
7437 * textmodes/picture.el (picture-mouse-set-point):
7438 Remove unused bindings.
7439
8c8fc5df
MA
74402012-04-19 Michael Albinus <michael.albinus@gmx.de>
7441
7442 * net/tramp.el (tramp-action-password): Let-bind
7443 `enable-recursive-minibuffers' to t.
7444
a77b0ac9
SS
74452012-04-18 Sam Steingold <sds@gnu.org>
7446
7447 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7448 instead of 'string to accommodate values like [f11].
7449 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7450 * progmodes/gdb-mi.el: Likewise.
7451
12a106a9
LL
74522012-04-18 Leo Liu <sdl.web@gmail.com>
7453
7454 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7455 current buffer.
7456 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7457 LOCAL is nil.
7458
bc6494ef
CY
74592012-04-18 Chong Yidong <cyd@gnu.org>
7460
7461 * simple.el (line-move): Use forward-line if in batch mode
7462 (Bug#11053).
7463
c09c46b2
CS
74642012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7465
7466 * files.el (after-find-file): Do not try to add a final newline if
7467 the buffer is read-only (Bug#11156).
7468
5f6530ea
RS
74692012-04-17 Richard Stallman <rms@gnu.org>
7470
7471 * mail/rmail.el (rmail-start-mail):
7472 Pass (rmail-mail-return...) for the return-action.
7473 Pass (rmail-yank-current-message...) for the yank-action.
7474 (rmail-yank-current-message): New function.
7475 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7476 (rmail-reply): Likewise.
7477 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7478
7479 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7480 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7481 buffer, not newbuf.
7482
197b6f3c
JB
74832012-04-17 Juanma Barranquero <lekktu@gmail.com>
7484
7485 * server.el (server-ensure-safe-dir): Simplify.
7486
2311d8e5 74872012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7488
2311d8e5
GM
7489 * emacs-lisp/smie.el: Provide smarter auto-filling.
7490 (smie-auto-fill): New function.
7491 (smie-setup): Use it.
98fb480e 7492
2311d8e5
GM
7493 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7494
74952012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7496
7497 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7498 (comment-indent): Use it.
7499
2311d8e5 75002012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7501
7502 * ses.el: The overall change is to add cell renaming, that is
7503 setting fancy names for cell symbols other than name matching
7504 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7505 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7506 (ses-create-cell-variable): New defun.
2311d8e5 7507 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7508 (ses-relocate-formula): Relocate formulas only for cells the
7509 symbols of which are not renamed, i.e. symbols whose names do not
7510 match regexp "\\`[A-Z]+[0-9]+\\'".
7511 (ses-relocate-all): Relocate values only for cells the symbols of
7512 which are not renamed.
7513 (ses-load): Create cells variables as the (ses-cell ...) are read,
7514 in order to check row col consistency with cell symbol name only
7515 for cells that are not renamed.
7516 (ses-replace-name-in-formula): New defun.
7517 (ses-rename-cell): New defun.
4bdf2ad2 7518
fc72b15c
PO
75192012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7520
7521 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7522 New option (bug#11118).
7523 (perl-calculate-indent): Respect it.
7524
12e10e61
GM
75252012-04-17 Glenn Morris <rgm@gnu.org>
7526
7527 * dired-aux.el (dired-mark-read-string): Doc fix.
7528
30009afd
DA
75292012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7530
7531 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7532 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7533
41f03f4d
GM
75342012-04-17 Glenn Morris <rgm@gnu.org>
7535
7536 * mouse.el (mouse-drag-track):
7537 * speedbar.el (speedbar-frame-mode):
7538 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7539
f45f90f3
LL
75402012-04-16 Leo Liu <sdl.web@gmail.com>
7541
7542 * progmodes/python.el: Trivial cleanup.
7543
94ee8db5
GM
75442012-04-16 Glenn Morris <rgm@gnu.org>
7545
121b8917
GM
7546 * vc/vc.el (vc-string-prefix-p):
7547 * vc/pcvs-util.el (cvs-string-prefix-p):
7548 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7549 * mpc.el (mpc-string-prefix-p):
7550 Make all of these into obsolete aliases for string-prefix-p.
7551 Update callers.
7552 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7553
1197ecfa
GM
7554 * textmodes/two-column.el: Move custom options to the start.
7555 (frame-width): Remove compat definition.
7556 (2C-associate-buffer, 2C-dissociate):
7557 Use with-current-buffer rather than save-excursion.
7558 (2C-dissociate): Force a mode-line update.
7559 (2C-autoscroll): Use ignore-errors.
7560
099e7202
GM
7561 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7562 Autoload trivia.
7563
bf350d6a
GM
7564 * emacs-lisp/cl-extra.el (*random-state*):
7565 Remove unnecessary declaration.
7566
0e829eab
GM
7567 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7568
e3ad7552
GM
7569 * play/cookie1.el (cookie-snarf):
7570 Give an explicit error if input file cannot be read.
7571
68892d27
GM
7572 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7573
20f0c46d
GM
7574 * progmodes/perl-mode.el (c-macro-expand):
7575 Remove unnecessary autoload (it is in loaddefs.el).
7576
5a0978ce
GM
7577 * textmodes/picture.el (picture-desired-column)
7578 (picture-update-desired-column): Convert comments to doc-strings.
7579 (picture-substitute): Remove function.
7580 (picture-mode-map): Initialize in the defvar.
7581
6b955486
GM
7582 * woman.el: Remove eval-after-load for tar-mode.
7583 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7584 (woman-tar-extract-file): Autoload it.
7585
94ee8db5
GM
7586 * frame.el (automatic-hscrolling): Make this alias obsolete.
7587
177eca34
AM
75882012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7589
090bd7cb 7590 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7591 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7592 (ispell-dictionary-base-alist): Revert to original XEmacs
7593 friendly version for default. [:alpha:] will be added in
090bd7cb 7594 `ispell-set-spellchecker-params' if needed.
177eca34 7595
c505aaeb
CY
75962012-04-16 Chong Yidong <cyd@gnu.org>
7597
b19dd9d1 7598 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7599 (imagemagick-register-types): Use it.
7600 (imagemagick-types-inhibit): Add :set function. Allow new value
7601 of t to inhibit all types.
7602
7603 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7604 so we can preload it.
7605
7606 * loadup.el (fboundp): Preload regexp-opt, needed by
7607 imagemagick-register-types.
7608
60efac0f
CY
76092012-04-15 Chong Yidong <cyd@gnu.org>
7610
7611 * frame.el (scrolling): Remove nearly unused customization group.
7612
7613 * scroll-all.el (scroll-all-mode): Move to windows group.
7614
5dd1713e
CY
76152012-04-15 Chong Yidong <cyd@gnu.org>
7616
7617 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7618
e6fd457e
CY
76192012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7620
7621 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7622 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7623
e153c136
GM
76242012-04-15 Glenn Morris <rgm@gnu.org>
7625
7626 * simple.el (process-file-side-effects): Doc fix.
7627
e6fd457e 76282012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7629
7630 * international/mule-cmds.el (set-language-environment): Doc fix.
7631
3603c3b1
JB
76322012-04-14 Juanma Barranquero <lekktu@gmail.com>
7633
7634 * server.el (server-auth-key, server-generate-key): Doc fixes.
7635 (server-get-auth-key): Doc fix. Use `string-match-p'.
7636 (server-start): Reflow docstring.
7637
e6de100c
LI
76382012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7639
7640 * server.el (server-generate-key): `called-interactively-p'
7641 requires a parameter.
7642
29734c21
MN
76432012-04-14 Michal Nazarewicz <mina86@mina86.com>
7644
7645 * server.el (server-auth-key): New variable.
75f1671a 7646 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7647 (server-start): Use the new variable and functions to allow
7648 setting a permanent server key (bug#9423).
7649
d65c9521
LL
76502012-04-14 Leo Liu <sdl.web@gmail.com>
7651
7652 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7653
5ae255c7
PE
76542012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7655
7656 Spelling fixes.
7657 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7658 Emacs uses American spelling.
7659
d5e6342e
JB
76602012-04-14 Juanma Barranquero <lekktu@gmail.com>
7661
7662 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7663 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7664 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7665 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7666
ab036cd7
SM
76672012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7668
7669 * progmodes/which-func.el (which-func-modes): Change default.
7670
35dc09a1 76712012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7672
7673 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7674 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7675
35dc09a1 76762012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7677
7678 * custom.el (custom-theme-set-variables): Doc fix.
7679
35dc09a1 76802012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7681
7682 * international/mule.el (set-auto-coding-for-load): Doc fix.
7683
35dc09a1 76842012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7685
35dc09a1
GM
7686 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7687 imenu work again for Objective C Mode. Correct the *-index values,
7688 these having been disturbed by a previous change in 2011-08.
57f845ee 7689
0de3da9f
AM
7690 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7691 Correct two search limits.
7692
35dc09a1 76932012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7694
7695 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7696
35dc09a1 76972012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7698
7699 * international/characters.el: Fix sorting.
7700
35dc09a1 77012012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7702
7703 * international/characters.el: Add more missing Latin case pairs.
7704
35dc09a1 77052012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7706
7707 * files.el (dir-locals-set-class-variables): Doc fix.
7708
35dc09a1 77092012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7710
3f1b5bf8
EZ
7711 * international/characters.el: Add set-case-syntax-pair call for
7712 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7713 counterpart. (Bug#11209)
7714
9f847f41
EZ
7715 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7716
35dc09a1 77172012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7718
7719 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7720
35dc09a1 77212012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7722
35dc09a1
GM
7723 * textmodes/ispell.el (ispell-dictionary-base-alist):
7724 Add data for Hebrew.
e2627d21 7725
35dc09a1 77262012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7727
35dc09a1
GM
7728 * net/rcirc.el (rcirc-cmd-quit):
7729 Revert 2012-03-18 change (Bug#11192).
5c14e333 7730
35dc09a1 77312012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7732
7733 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7734
35dc09a1 77352012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7736
4517fe3a
SM
7737 * minibuffer.el (completion-in-region-mode-map):
7738 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7739
b472a594
VD
77402012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7741
7742 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7743
09b95ce3
MY
77442012-04-13 Masatake YAMATO <yamato@redhat.com>
7745
7746 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7747 to allow `C-M-f' and `C-M-b' to move to the nearest path
7748 separator (bug#9511).
7749
4b63a9ca
LI
77502012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7751
7752 * avoid.el: Require cl when compiling. And also move the
7753 `provide' to the end.
7754
7b55b8bf
TV
77552012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7756
7757 * avoid.el (mouse-avoidance-banish-position): New variable.
7758 (mouse-avoidance-banish-destination): Use it (bug#10165).
7759
adedaa1f
LL
77602012-04-13 Leo Liu <sdl.web@gmail.com>
7761
7762 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7763
70e74021
KB
77642012-04-13 Ken Brown <kbrown@cornell.edu>
7765
7766 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7767 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7768 (browse-url-filename-alist): For the same reason, don't modify
7769 file:// URLs on Cygwin.
7770
e75e89ba
SM
77712012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7772
7773 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7774 the region on shift if the binding is already shifted (bug#11221).
7775
82f289a4
GM
77762012-04-12 Glenn Morris <rgm@gnu.org>
7777
7778 * mail/mailpost.el: Move to obsolete/.
7779
d333dc4c
DA
77802012-04-12 Drew Adams <drew.adams@oracle.com>
7781
7782 * imenu.el (imenu--generic-function): Ignore invisible definitions
7783 (bug#10123).
7784
0d15b5ba
VD
77852012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7786
7787 * hexl.el (hexl-bits): New variable.
7788 (hexl-options): Mention the variable in the doc string.
75f1671a 7789 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7790 (hexl-mode): Mention the new variable.
75f1671a
JB
7791 (hexl-mode, hexl-current-address, hexl-current-address):
7792 Use the displen.
0d15b5ba
VD
7793 (hexl-ascii-start-column): New function.
7794 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7795 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7796
64a440db
AM
77972012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7798
7799 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7800 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7801 the encoding, as expected by hunspell.
7802
6decb6c2
SM
78032012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7804
7805 * battery.el (battery--linux-sysfs-regexp): New const.
7806 (battery-status-function): Use it. Remove yeeloong special case.
7807 (battery-yeeloong-sysfs): Remove.
7808 (battery-echo-area-format): Remove yeeloong special case.
7809
088be6fb
SM
78102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7811
6622e416
SM
7812 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7813 Reported by Noah Friedman.
7814
088be6fb
SM
7815 * subr.el (read-passwd): Use read-string.
7816
b49f886e
LMI
78172012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7818
7819 * vcursor.el (vcursor-move): Increase the priority of the overlay
7820 (bug#9663).
7821
a63067fc
DD
78222012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7823
7824 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7825 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7826
ac3cf14a
WS
78272012-04-11 William Stevenson <yhvh2000@gmail.com>
7828
7829 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7830 define-minor-mode (bug#10760).
7831
c4fc691b 78322012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7833
4d6769e1 7834 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7835 that directories matching `grep-find-ignored-files' won't be
7836 pruned (bug#10351).
7837
af23e2e5
CY
78382012-04-11 Chong Yidong <cyd@gnu.org>
7839
7840 * startup.el (command-line): Remove support for long-obsolete
7841 variable font-lock-face-attributes.
7842
ab7ce8c1
GM
78432012-04-11 Glenn Morris <rgm@gnu.org>
7844
7845 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7846
de8c03dc
SM
78472012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 * window.el (window--state-get-1): Obey window-point-insertion-type.
7850
050cc68b
LB
78512012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7852
7853 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7854 to previous function when point is on the first character of a
75f1671a 7855 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7856
a38c310c
GM
78572012-04-11 Glenn Morris <rgm@gnu.org>
7858
effed0c2
GM
7859 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7860 not just file-errors.
7861
a38c310c
GM
7862 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7863 (vc-bzr-sha1): Use internal sha1.
7864
0221e323
SM
78652012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7866
7867 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7868
43956923
SG
78692012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7870
7871 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7872 that start in the middle of the line (bug#10496).
7873
6a8c9eaf
DN
78742012-04-10 Dan Nicolaescu <dann@gnu.org>
7875
7876 * battery.el (battery-linux-proc-acpi): Only one battery is
7877 discharged at a time, but that seems to confuse battery.el when
7878 computing `rate-type' for the battery not being discharged
7879 (bug#10332).
7880
1930bf5d
SM
78812012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7882
2a718f6f
SM
7883 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7884
599430d0
SM
7885 * international/quail.el: Use dolist and simplify.
7886 (quail-define-package, quail-update-keyboard-layout)
7887 (quail-define-rules): Use dolist.
7888 (quail-insert-kbd-layout, quail-get-translation): CSE.
7889
a2754b6c
SM
7890 * tmm.el: Use dolist, remove left over hook.
7891 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7892 Use dolist.
7893 (calendar-load-hook): Don't mess with it.
7894
1930bf5d
SM
7895 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7896 Use derived-mode-p. Run the diff asynchronously.
7897
9f67961c
LMI
78982012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7899
7900 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7901
2a8ce227
JB
79022012-04-10 Juanma Barranquero <lekktu@gmail.com>
7903
7904 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7905 (list-dynamic-libraries--loaded): New function.
7906 (list-dynamic-libraries--refresh): Use it.
7907
8f33b5f8
NW
79082012-04-10 Nathan Weizenbaum <nweiz@google.com>
7909
1930bf5d
SM
7910 * progmodes/python.el (python-fill-paragraph):
7911 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7912 disabled (bug#7018).
7913
b12f0439
L
79142012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7915
1930bf5d 7916 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7917 DOS/MS Windows for the Baltic languages. There are still plenty
7918 of texts written in this encoding/codepage (bug#6519).
b12f0439 7919
57c3bd01
GM
79202012-04-10 Glenn Morris <rgm@gnu.org>
7921
7922 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7923 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7924
6c3eab30
FA
79252012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7926
1930bf5d 7927 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7928 next-line "n" and previous-line "p" in order to make recentf more
7929 consistent with ibuffer, dired or org-mode (bug#9387).
7930
24d78a88
LMI
79312012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7932
bc72b5d9
LMI
7933 * image.el (put-image): Return the overlay created instead of the
7934 optional input string (bug#7834). Note that this may break code
7935 that is (for some reason or other) depending on `put-image'
7936 returning the string.
7937
bd2dba5a
LMI
7938 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7939
74beb59f
LMI
7940 * simple.el (zap-to-char): Allow zapping using input methods
7941 (bug#1580).
7942
24d78a88
LMI
7943 * textmodes/fill.el (fill-region): Leave point and mark where they
7944 were before filling (bug#5399).
7945
263f20cd
GM
79462012-04-09 Glenn Morris <rgm@gnu.org>
7947
7948 * version.el (emacs-bzr-get-version):
7949 Handle lightweight checkouts of local branches.
7950
58d1f797
AS
79512012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7952
263f20cd 7953 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7954
b4d3bc10
CY
79552012-04-09 Chong Yidong <cyd@gnu.org>
7956
7957 * custom.el (custom-variable-p): Return nil for non-symbol
7958 arguments instead of signaling an error.
7959 (user-variable-p): Obsolete alias for custom-variable-p.
7960
7961 * apropos.el (apropos-variable):
7962 * files-x.el (read-file-local-variable):
7963 * simple.el (set-variable):
7964 * woman.el (woman-mini-help):
7965 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7966
fd06db5d
GM
79672012-04-09 Glenn Morris <rgm@gnu.org>
7968
e5fcdb5e
GM
7969 * startup.el (normal-top-level): Don't look for leim-list.el
7970 in places where it will not be found. (Bug#910)
7971
fd06db5d
GM
7972 * international/mule-cmds.el (set-default-coding-systems):
7973 * files.el (normal-mode):
7974 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7975 This function was removed with ucs-tables.el in 2008.
7976
b39bb7e1
EZ
79772012-04-08 Eli Zaretskii <eliz@gnu.org>
7978
7979 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7980 ispell-encoding8-command to "-i", without a trailing space.
7981 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7982 separate command-line arguments, to specify the encoding, since
7983 that's how hunspell expects it.
7984
5c5b8e23
GM
79852012-04-08 Glenn Morris <rgm@gnu.org>
7986
7987 * loadup.el: Load bindings before cus-start.
7988 This reduces somewhat the number of "rogue" settings in emacs -Q.
7989
a1ed8b05
GM
79902012-04-07 Glenn Morris <rgm@gnu.org>
7991
7992 * version.el (emacs-bzr-get-version): New function.
dfae128a 7993 (emacs-bzr-version): New variable.
a1ed8b05
GM
7994 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7995 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7996
b142f158
EZ
79972012-04-07 Eli Zaretskii <eliz@gnu.org>
7998
dfae128a
GM
7999 * international/uni-bidi.el, international/uni-category.el:
8000 * international/uni-combining.el, international/uni-decimal.el:
8001 * international/uni-decomposition.el, international/uni-digit.el:
8002 * international/uni-lowercase.el, international/uni-mirrored.el:
8003 * international/uni-name.el, international/uni-numeric.el:
8004 * international/uni-titlecase.el, international/uni-uppercase.el:
8005 Update for Unicode 6.1.
b142f158 8006
9078ead6
EZ
80072012-04-07 Eli Zaretskii <eliz@gnu.org>
8008
8009 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8010
f23d2c7d
LMI
80112012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8012
8013 * window.el (shrink-window): Mention the `window-min-height'
8014 variable in the doc string.
8015
0a0a3573
BG
80162012-04-05 Bastien Guerry <bzg@altern.org>
8017
8018 * color.el (color-lighten-name): Fix typo.
8019
e5248ac9
SM
80202012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8021
8022 * server.el (server--on-display-p): New function.
8023 (server--on-display-p): Use it.
8024
b4243e22
GV
80252012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8026
8027 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8028 (bug#11145).
8029
305d9f44
SM
80302012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8031
8032 * comint.el (comint--common-quoted-suffix): Check string boundary
8033 before comparing (bug#11158).
8034 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8035
3d439cd1
CY
80362012-04-04 Chong Yidong <cyd@gnu.org>
8037
321cc491
CY
8038 * minibuffer.el (completion-extra-properties): Doc fix.
8039
3d439cd1
CY
8040 * subr.el (delayed-warnings-hook): Doc fix.
8041
2d562c0f
DU
80422012-04-04 Daiki Ueno <ueno@unixuser.org>
8043
8044 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8045 selection (Bug#11159).
8046 (epa-insert-keys): Inform that the default public key will be
8047 exported if no key is selected.
8048
4443f204
RS
80492012-04-04 Richard Stallman <rms@gnu.org>
8050
8051 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8052
529c06b6
CY
80532012-04-03 Chong Yidong <cyd@gnu.org>
8054
8055 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8056 mail-insert-file, not its obsolete alias mail-attach-file.
8057
66b907dc
MA
80582012-04-03 Michael Albinus <michael.albinus@gmx.de>
8059
8060 * notifications.el (notifications-notify): Fix docstring.
8061
c0ea195d
GM
80622012-04-02 Glenn Morris <rgm@gnu.org>
8063
8064 * emacs-lisp/authors.el (authors-aliases): Another addition.
8065
5ca64e00
MA
80662012-04-02 Michael Albinus <michael.albinus@gmx.de>
8067
8068 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8069 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8070 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8071
42ee526b
CY
80722012-04-01 Chong Yidong <cyd@gnu.org>
8073
8074 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8075 Handle root directory properly.
8076 (copy-directory): Caller changed.
8077
8078 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8079 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8080
0b021094
GM
80812012-03-31 Glenn Morris <rgm@gnu.org>
8082
40f86458
GM
8083 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8084
7019c177
GM
8085 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8086
a1daddd6
GM
8087 * calendar/calendar.el (calendar-window-list)
8088 (calendar-hide-window): Restore. (Bug#11140)
8089 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8090
0b021094
GM
8091 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8092
40311efc
TV
80932012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8094
8095 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8096 Check if file is a symlink (Bug#10489).
8097
8098 * files.el (copy-directory): Likewise.
8099
5319014e
CY
81002012-03-30 Chong Yidong <cyd@gnu.org>
8101
8102 * image.el (imagemagick-types-inhibit)
8103 (imagemagick-register-types): Doc fix.
8104
935d1290
AM
81052012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8106
090bd7cb 8107 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8108 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8109 and treats ~word as ordinary words in pipe mode.
935d1290 8110
61c6e8fd
GM
81112012-03-30 Glenn Morris <rgm@gnu.org>
8112
8113 * tutorial.el (help-with-tutorial): Ensure local variables don't
8114 happen to make the buffer read-only. (Bug#11127)
8115
81fdff00
SM
81162012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8119 (perl-calculate-indent): Return `noindent' in strings.
8120
6e7a6ec0
SS
81212012-03-28 Sam Steingold <sds@gnu.org>
8122
8123 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8124 instead of the broken adhockery which does not prevent calendar
8125 buffers from being displayed at random after exit.
8126 (calendar-window-list, calendar-hide-window): Remove the broken
8127 adhockery.
8128
fee88ca0
GM
81292012-03-28 Glenn Morris <rgm@gnu.org>
8130
8131 * replace.el (query-replace-map): Doc fix.
8132
38de3354
AS
81332012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8134
8135 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8136 contents. (Bug#11109)
8137
b973155e
SM
81382012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8139
8140 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8141 (bug#11077).
8142 (avl-tree--check, avl-tree--check-node): New funs.
8143
dcb6e7b3
MR
81442012-03-27 Martin Rudalics <rudalics@gmx.at>
8145
8146 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8147 (switch-to-prev-buffer, switch-to-next-buffer):
8148 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8149 showing a buffer already is done on the same frame.
8150
b4fa35fa
GM
81512012-03-27 Glenn Morris <rgm@gnu.org>
8152
8153 * startup.el (mail-host-address): Doc fix.
8154
f9210e18
SM
81552012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8158 than 197 variables.
8159
c0bf7753
AF
81602012-03-26 Ami Fischman <ami@fischman.org>
8161
8162 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8163
33da7b16
GM
81642012-03-26 Glenn Morris <rgm@gnu.org>
8165
02243d9d
GM
8166 * files.el (save-buffers-kill-emacs): Doc fix.
8167
33da7b16
GM
8168 * startup.el (normal-top-level, command-line, command-line-1):
8169 Give them doc strings.
8170
e5a69fd0
EZ
81712012-03-25 Eli Zaretskii <eliz@gnu.org>
8172
8173 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8174 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8175
9a69676a
CY
81762012-03-25 Chong Yidong <cyd@gnu.org>
8177
4125cb8b
CY
8178 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8179 theme if it was previously enabled before (Bug#11031).
8180
dd470960
CY
8181 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8182 spec with custom-face-get-current-spec if its :shown-value is not
8183 determined yet (Bug#9337).
4125cb8b 8184 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8185
9a69676a
CY
8186 * button.el (button-at): Minor addition to docstring.
8187
6e7e90fa
SL
81882012-03-24 Simon Leinen <simon.leinen@gmail.com>
8189
8190 * vc/vc.el (vc-merge): Fix a prompt.
8191
f06e2758
CY
81922012-03-24 Chong Yidong <cyd@gnu.org>
8193
8194 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8195 point (Bug#9623).
8196
6e7e90fa
SL
8197 * button.el (button-at): Minor addition to docstring.
8198
b9d0879b
SM
81992012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8200
8201 * newcomment.el (comment-choose-indent): No space after BOL.
8202
e71cebb3
SS
82032012-03-22 Sam Steingold <sds@gnu.org>
8204
8205 * window.el (switch-to-prev-buffer): Revert last patch because the
8206 bug turned out to be an advertised feature (Elisp manual 28.14).
8207
335aff35
GM
82082012-03-22 Glenn Morris <rgm@gnu.org>
8209
8210 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8211 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8212
c676576a
LMI
82132012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8214
8215 * net/network-stream.el (network-stream-open-starttls): Make error
8216 message under Windows be less misleading.
8217
126f3d39
LW
82182012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8219
8220 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8221 understands (bug#9942).
8222
64fee311
CY
82232012-03-22 Chong Yidong <cyd@gnu.org>
8224
8225 * simple.el (end-of-visible-line): Handle return value of
8226 next-single-property-change properly (Bug#9371).
8227
a640d29a
KH
82282012-03-22 Kenichi Handa <handa@m17n.org>
8229
8230 * international/quail.el (quail-insert-kbd-layout): Fix previous
8231 change. To avoid unwanted bidi reordering, use
8232 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8233
39675016
DG
82342012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8235
8236 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8237 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8238 (ruby-beginning-of-indent): Be more careful with the difference
8239 between word-boundary and symbol boundary.
8240 (ruby-mode-syntax-table): Make : a symbol constituent.
8241
0a6934fc 82422012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8243
3d008e4f
SM
8244 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8245
0a6934fc
SM
82462012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8247
af67c9d7
SM
8248 * progmodes/etags.el (tags-completion-at-point-function):
8249 Improve last fix.
8250
1acad97c
SM
8251 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8252
e298b5da
SS
82532012-03-21 Sam Steingold <sds@gnu.org>
8254
8255 * progmodes/etags.el (tags-completion-at-point-function):
8256 Avoid the error when point is inside the pattern.
8257
91d82a70
JY
82582012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8259
8260 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8261 line (Bug#10855).
8262
69188b79
CY
82632012-03-21 Drew Adams <drew.adams@oracle.com>
8264
8265 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8266
99fc91fe
AK
82672012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8268
8269 * ido.el (ido-set-current-directory, ido-read-internal)
8270 (ido-choose-completion-string, ido-completion-help): Handle nil
8271 value of ido-completion-buffer (Bug#11008).
8272
087bbb4c
SS
82732012-03-21 Sam Steingold <sds@gnu.org>
8274
8275 * window.el (switch-to-prev-buffer): Do not switch to a visible
8276 window previous buffer, just like with the frame previous buffers.
8277
fb5b8aca
CY
82782012-03-21 Chong Yidong <cyd@gnu.org>
8279
8280 * faces.el (make-face, make-empty-face, copy-face):
8281 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8282 Doc fixes.
8283
dc9924b8
SM
82842012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8287 (widget-complete): Remove broken use of it.
8288
f0bcceb9
CY
82892012-03-20 Chong Yidong <cyd@gnu.org>
8290
dc9924b8
SM
8291 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8292 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8293 characters.
8294
ee52ebf3
TH
82952012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8296
8297 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8298 to draw rectangles, not squares. (Regression introduced by revno
8299 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8300
4c5779ab
CY
83012012-03-18 Chong Yidong <cyd@gnu.org>
8302
8303 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8304 it is not yet defined (for temacs).
8305
15360934
LL
83062012-03-18 Leo Liu <sdl.web@gmail.com>
8307
dc9924b8 8308 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 8309
d9a8eb66
EZ
83102012-03-17 Eli Zaretskii <eliz@gnu.org>
8311
8312 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8313 (ispell-choices-win-default-height, ispell-silently-savep)
8314 (ispell-dictionary-alist, ispell-encoding8-command)
8315 (ispell-check-version, ispell-aspell-find-dictionary)
8316 (ispell-valid-dictionary-list, ispell-words-keyword)
8317 (ispell-get-word, ispell-internal-change-dictionary)
8318 (ispell-region, ispell-skip-region-list)
8319 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8320 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8321 (ispell-message-text-end, ispell-message)
8322 (ispell-buffer-local-parsing): Doc fix.
8323
f02ff80d
J
83242012-03-13 Jambunathan K <kjambunathan@gmail.com>
8325
8326 * htmlfontify.el: Add support for code block fontification for ODT
8327 export (Bug #9914).
8328 (hfy-optimisations): Define new option
8329 `body-text-only'
8330 (hfy-fontify-buffer): Honor above setting.
8331 (hfy-begin-span, hfy-end-span): New routines factored out form
8332 `hfy-fontify-buffer'.
8333 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8334 that permit insertion of custom tags.
8335 (hfy-fontify-buffer): Use above handlers.
8336 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8337 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8338 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8339 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8340 bind a special variable `hfy-user-sheet-assoc'.
8341 (htmlfontify-string): New defun.
8342 (hfy-compile-face-map): Make sure that the last char in the
8343 buffer is correctly fontified.
8344 (hfy-face-resolve-face): Whitespace only change.
8345
9ac7a13f
EZ
83462012-03-17 Eli Zaretskii <eliz@gnu.org>
8347
8348 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8349 message more clear.
8350
e2b5bdd7
LL
83512012-03-16 Leo Liu <sdl.web@gmail.com>
8352
8353 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8354
2e492df3
AM
83552012-03-16 Alan Mackenzie <acm@muc.de>
8356
8357 Further optimise the handling of large macros.
8358
8359 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8360 limit to a call of `c-literal-limits'.
8361 (c-determine-+ve-limit): New function.
dc9924b8
SM
8362 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8363 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8364 In CASE 5B, restrict a search limit to 500.
8365 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8366
8367 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8368 Restrict macro bounds to +-500 from after-change's BEG END.
8369
50e94f0c
LL
83702012-03-16 Leo Liu <sdl.web@gmail.com>
8371
8372 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8373
6f09f6ed
AH
83742012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8375
8376 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8377 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8378
c7e73d51
GM
83792012-03-16 Glenn Morris <rgm@gnu.org>
8380
da986230
GM
8381 * view.el (view-buffer, view-buffer-other-window)
8382 (view-buffer-other-frame): Doc fixes re special mode-class.
8383
0835f01e
GM
8384 * subr.el (eval-after-load): If named feature is provided not from
8385 a file, run after-load forms. (Bug#10946)
8386
c7e73d51
GM
8387 * calendar/calendar.el (calendar-insert-at-column):
8388 Handle non-unit-width characters a bit better. (Bug#10978)
8389
3f2eafd1
CY
83902012-03-15 Chong Yidong <cyd@gnu.org>
8391
8392 * emacs-lisp/ring.el (ring-extend): New function.
8393 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8394
8395 * comint.el (comint-read-input-ring)
8396 (comint-add-to-input-history): Grow comint-input-ring lazily.
8397
103af3fe
SM
83982012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8399
663b1677
SM
8400 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8401 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8402
103af3fe
SM
8403 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8404 (imenu-add-to-menubar): Don't add a redundant index.
8405 (imenu-update-menubar): Handle a dynamically composed keymap.
8406
899cb7cb
KY
84072012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8408
8409 * mail/sendmail.el (mail-encode-header):
8410 Bind rfc2047-encode-encoded-words to nil.
8411
3809f91d
GM
84122012-03-13 Glenn Morris <rgm@gnu.org>
8413
8414 * calendar/calendar.el (calendar-string-spread):
8415 Handle non-unit-width characters a bit better. (Bug#10978)
8416
9e345a01
LL
84172012-03-13 Leo Liu <sdl.web@gmail.com>
8418
8419 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8420 directory and file as argument (Bug#10822).
8421
4a07df36
KS
84222012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8423
8424 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8425 For dynamically generated code, follow $PC.
8426 (gdb-disassembly-handler-custom): Handle no function name case.
8427
4aaa9356
TL
84282012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8429
8430 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8431 * emulation/ws-mode.el (ws-query-replace):
8432 * sort.el (sort-regexp-fields):
8433 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8434
225979da
SM
84352012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8436
8437 * dabbrev.el: Fix cycle completion order (bug#10963).
8438 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8439 (dabbrev-completion): Don't use an obarray; provide
8440 a cycle-sort-function.
8441
e2f1fdab
LL
84422012-03-12 Leo Liu <sdl.web@gmail.com>
8443
dc9924b8 8444 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8445 (kill-do-not-save-duplicates): Doc fix.
8446
b19490ed
SM
84472012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8448
8449 * dabbrev.el: Fix cycle completion (bug#10963).
8450 Use lexical binding and wrap to 80 columns.
8451 (dabbrev-completion): Delay computing the list of completions.
8452
4b05d722
KH
84532012-03-12 Kenichi Handa <handa@m17n.org>
8454
8455 * international/quail.el (quail-insert-kbd-layout): Surround each
8456 row by LRO and PDF instead of inserting many LRMs. Pad the left
8457 and right of each non-spacing marks. Insert invisible space
8458 between lower and upper characters to prevent composition.
8459
dbbc2e69
SM
84602012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8461
8462 * minibuffer.el (minibuffer-complete): Don't get confused when the
8463 function is run twice via different commands (bug#10958).
8464 (complete-with-action): Fix docstring.
8465
292112ed
CY
84662012-03-12 Chong Yidong <cyd@gnu.org>
8467
5d1ac394
CY
8468 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8469 (nxml-completion-at-point-function): New function.
8470 (nxml-mode): Use it.
8471 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8472
292112ed
CY
8473 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8474 Load generated autoloads file before byte compiling (Bug#10970).
8475 (package--make-autoloads-and-compile): New helper fun.
8476
4098f8f7
CS
84772012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8478
8479 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8480
8f754691
MA
84812012-03-11 Michael Albinus <michael.albinus@gmx.de>
8482
8483 * autorevert.el (auto-revert-handler): Ensure, that
8484 file-readable-p is applied only for local files or in
8485 auto-revert-tail-mode.
8486
e29ab36b
AS
84872012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8488
dbbc2e69
SM
8489 * server.el (server-eval-at): Handle non-tcp connections.
8490 Decode result string.
ad0bf5b6 8491
e29ab36b
AS
8492 * server.el (server-msg-size): New constant.
8493 (server-reply-print): New function.
8494 (server-eval-and-print): Use it.
8495 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8496 Handle -print-nonl.
8497
de5939ba
CS
84982012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8499
8500 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8501 (Bug#10987).
8502
0c93eabf
CY
85032012-03-11 Chong Yidong <cyd@gnu.org>
8504
397a688f
CY
8505 * simple.el (goto-line): Doc fix (Bug#9938).
8506
2cc775f9
CY
8507 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8508
0c93eabf
CY
8509 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8510 when finished (Bug#10963).
8511
c491fa41
MR
85122012-03-11 Martin Rudalics <rudalics@gmx.at>
8513
8514 * window.el (split-window-below): Fix bug in case where
8515 split-window-keep-point is nil (Bug#10971).
8516
300e8fa5
JL
85172012-03-11 Juri Linkov <juri@jurta.org>
8518
8519 * replace.el (replace-highlight): Set isearch-word to nil
8520 unconditionally. (Bug#10887)
8521
dbf6c5a1
EZ
85222012-03-10 Eli Zaretskii <eliz@gnu.org>
8523
8524 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8525 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8526 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8527 (mairix-widget-create-query): Add usage information about mairix
8528 search forms: negating words, searching for substrings, etc.
8529
b9e501de
JP
85302012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8531
8532 * international/fontset.el (font-encoding-alist): Add an entry for
8533 ksx1001 (Bug#5667).
8534
92795c91
RS
85352012-03-10 Richard Stallman <rms@gnu.org>
8536
1694e6c1
RS
8537 * mail/sendmail.el (mail-encode-header):
8538 Set rfc2047-encode-encoded-words.
8539
607e8555
RS
8540 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8541
de3bc99a
RS
8542 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8543 view buffer means not swapped.
8544 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8545 (rmail-write-region-annotate): Error if real text has disappeared.
8546
92795c91
RS
8547 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8548
699bd04e
CY
85492012-03-10 Chong Yidong <cyd@gnu.org>
8550
8551 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8552 * emulation/cua-base.el (cua--init-keymaps):
8553 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8554
570a1714
MR
85552012-03-10 Martin Rudalics <rudalics@gmx.at>
8556
dbbc2e69
SM
8557 * speedbar.el (speedbar-unhighlight-one-tag-line):
8558 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8559
82dcf4e4
CY
85602012-03-10 Chong Yidong <cyd@gnu.org>
8561
7a2c7ca7
CY
8562 * minibuffer.el (completion-in-region, completion-help-at-point):
8563 Give the completion field overlay a high priority (Bug#6830).
8564
82dcf4e4
CY
8565 * dired.el (dired-goto-file): Recognize absolute file name
8566 listings (Bug#7126).
8567 (dired-goto-file-1): New helper function.
8568 (dired-toggle-read-only): Inhibit warnings.
8569
052e28ac
MA
85702012-03-09 Michael Albinus <michael.albinus@gmx.de>
8571
75f1671a 8572 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8573 there are no properties.
8574
95d5e396
LL
85752012-03-09 Leo Liu <sdl.web@gmail.com>
8576
8577 * savehist.el (savehist-printable): Stricter check for string
8578 value (Bug#10937).
8579
3f018d6d
EZ
85802012-03-09 Eli Zaretskii <eliz@gnu.org>
8581
dbbc2e69
SM
8582 * mail/smtpmail.el (smtpmail-send-it):
8583 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8584 valid mbox format.
8585
f7fd3d79
GM
85862012-03-09 Glenn Morris <rgm@gnu.org>
8587
8588 * files.el (dir-locals-find-file):
8589 Don't check result is regular, readable.
8590 (dir-locals-read-from-file): Demote errors.
8591
6ff6e72f
EZ
85922012-03-08 Eli Zaretskii <eliz@gnu.org>
8593
dbbc2e69
SM
8594 * international/quail.el (quail-insert-kbd-layout):
8595 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8596 layout cell, to prevent their reordering by bidi display engine.
8597 For details, see the discussion in
8598 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8599
9cec7834
AM
86002012-03-08 Alan Mackenzie <acm@muc.de>
8601
8602 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8603 the starting position; make it extend the marked region when
8604 invoked repeatedly - all under appropriate circumstances.
8605 Fixes bugs #5525, #10906.
8606
9a40b8d4
GM
86072012-03-08 Glenn Morris <rgm@gnu.org>
8608
8609 * files.el (locate-dominating-file, dir-locals-find-file):
8610 Undo 2012-03-06 change.
8611
7a08ed35
EZ
86122012-03-07 Eli Zaretskii <eliz@gnu.org>
8613
dbbc2e69
SM
8614 * international/quail.el (quail-help):
8615 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8616 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8617 for the reason.
8618
5aca4f71 86192012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8620
8621 Avoid superfluous registering of signals. (Bug#10807)
8622
8623 * notifications.el (notifications-on-action-object)
8624 (notifications-on-close-object): New defvars.
8625 (notifications-on-action-signal, notifications-on-closed-signal):
8626 Unregister the signal if not needed any longer.
8627 (notifications-notify): Register `notifications-action-signal' or
8628 `notifications-closed-signal', if :on-action or :on-close has been
8629 passed as argument.
8630
78e8b10a
CY
86312012-03-07 Chong Yidong <cyd@gnu.org>
8632
8633 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8634 non-X platforms.
8635
69481eb8
GM
86362012-03-06 Glenn Morris <rgm@gnu.org>
8637
8638 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8639 (x-disown-selection-internal, x-get-selection-internal):
8640 Doc fix (add arglist signatures). (Bug#10783)
8641
133b8e11
KS
86422012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8643
8644 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8645 Handle breakpoints with no "type".
8646
99a83064
GM
86472012-03-06 Glenn Morris <rgm@gnu.org>
8648
8649 * files.el (locate-dominating-file): Add optional predicate argument.
8650 (dir-locals-find-file): Make use of above change.
8651
17798e78
TTN
86522012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8653
8654 * info.el (Info-insert-dir): Also try "dir.gz".
8655
eb182446
GM
86562012-03-06 Glenn Morris <rgm@gnu.org>
8657
8f2114ee
GM
8658 * files.el (dir-locals-find-file):
8659 Ignore non-readable or non-regular files. (Bug#10928)
8660
eb182446
GM
8661 * files.el (locate-dominating-file): Doc fix.
8662
24679323
AS
86632012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8664
8665 * calendar/calendar.el (calendar-set-mode-line):
8666 `getenv' returns a string. (Bug#10951)
8667
01d972a9
LL
86682012-03-05 Leo Liu <sdl.web@gmail.com>
8669
109aa8a9
LL
8670 * simple.el (backward-delete-char-untabify): Constrain point to
8671 field (Bug#10939).
8672
01d972a9
LL
8673 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8674
10607bea
CY
86752012-03-05 Chong Yidong <cyd@gnu.org>
8676
8677 * simple.el (count-words): If called from Lisp, return the word
8678 count, for symmetry with `count-lines'. Arglist changed.
8679 (count-words--message): Args changed. Consolidate counting code
8680 from count-words and count-words-region.
8681 (count-words-region): Caller changed.
8682 (count-lines-region): Make it an obsolete alias.
8683
5dd11cfe
TH
86842012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8685
8686 * saveplace.el (save-place-to-alist)
8687 (save-place-ignore-files-regexp): Allow value nil to disable this
8688 feature.
8689
c349f4e6
CY
86902012-03-04 Chong Yidong <cyd@gnu.org>
8691
8692 * faces.el (face-spec-reset-face): For the default face, reset the
8693 attributes to default values (Bug#10748).
8694
e627be4c
LMI
86952012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8696
8697 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8698 previous patch: Check `message-send-mail-function', and not the
8699 default function (bug#10897).
8700
ebeabff4
MA
87012012-03-04 Michael Albinus <michael.albinus@gmx.de>
8702
a41a6cf4
MA
8703 * notifications.el (notifications-on-action-signal)
8704 (notifications-on-closed-signal): Check for unique service name of
8705 incoming event. Fix error in removing entry.
ebeabff4 8706 (top): Register for signals with wildcard service name.
a41a6cf4 8707 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8708
c1ca42b4
CY
87092012-03-04 Chong Yidong <cyd@gnu.org>
8710
dc9924b8 8711 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8712
ea16568d
GM
87132012-03-04 Glenn Morris <rgm@gnu.org>
8714
8715 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8716 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8717 (expand-abbrev, define-abbrev-table): Doc fixes.
8718
fbae4637
LMI
87192012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8720
8721 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8722 `message-default-send-mail-function' and not `send-mail-function'
8723 when doing the prompting for `sendmail-query-once' before sending
8724 in Message buffers (bug#10897).
8725
a1e7225c
LMI
8726 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8727 This is inconsistent with all the other stream functions, which leave
8728 the setting up to the higher levels (if so wanted) (bug#10931).
8729
56d093a9
AM
87302012-03-02 Alan Mackenzie <acm@muc.de>
8731
8732 Depessimize the handling of very large macros.
8733
8734 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8735 (c-macro-cache-syntactic): New variables to implement a one
8736 element macro cache.
8737 (c-invalidate-macro-cache): New function.
8738 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8739 Adapt to use the new cache.
8740 (c-state-safe-place): Use better the cache of safe positions.
8741 (c-state-semi-nonlit-pos-cache)
8742 (c-state-semi-nonlit-pos-cache-limit):
8743 New variables for...
8744 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8745 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8746 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8747 Use c-state-semi-safe-place.
56d093a9 8748
dbbc2e69
SM
8749 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8750 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8751
817e5c3d
MA
87522012-03-02 Michael Albinus <michael.albinus@gmx.de>
8753
dbbc2e69
SM
8754 * jka-compr.el (jka-compr-call-process):
8755 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8756 not remote.
8757
a032a702
MA
87582012-03-01 Michael Albinus <michael.albinus@gmx.de>
8759
8760 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8761 access of FILE2, if FILE1 does not exist.
8762
99a54f21
MA
8763 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8764 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8765
8766 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8767 Add "PAGER=" to `process-environment'.
8768
f6561e1f
MM
87692012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8770
8771 * progmodes/sql.el: Bug fix
8772 (sql-get-login-ext): Save login values in globals.
8773 (sql-get-login): Use new version of `sql-get-login-ext'.
8774 (sql-interactive-mode): Set global `sql-connection' to nil.
8775 (sql-connect): Set global values for connection.
8776 (sql-product-interactive): Save global values as buffer local.
8777
2d44d9cc
LL
87782012-02-29 Leo Liu <sdl.web@gmail.com>
8779
8780 * abbrev.el (define-abbrevs): Reset sys to nil.
8781
96b49301 87822012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8783
bf7f9bc5
JB
8784 * files.el (file-equal-p): Rename from `files-equal-p'.
8785 Return nil when one or both files don't exist.
96b49301 8786 (file-subdir-of-p): Now only top directory must exists,
8787 return nil if it doesn't.
bf7f9bc5
JB
8788 (copy-directory): No need to test with `file-subdir-of-p' after
8789 creating dir.
8790 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8791 to `file-equal-p'.
96b49301 8792
44e97401
GM
87932012-02-28 Glenn Morris <rgm@gnu.org>
8794
8795 * shell.el (shell-mode):
8796 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8797 * play/landmark.el (landmark-font-lock-face-O):
8798 * play/handwrite.el (handwrite):
8799 * play/gomoku.el (gomoku-O):
8800 * net/browse-url.el (browse-url-browser-display):
8801 * international/mule.el (define-charset):
8802 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8803 * filesets.el (filesets-find-file-delay):
8804 * eshell/em-xtra.el (eshell-xtra):
8805 * eshell/em-unix.el (eshell-grep):
8806 * emulation/viper.el (viper-mode):
8807 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8808 * emacs-lisp/easymenu.el (easy-menu-define):
8809 * calendar/timeclock.el (timeclock-use-display-time):
8810 * bs.el (bs-mode):
8811 * bookmark.el (bookmark-save-flag):
8812 Doc fix (standardize possessive apostrophe usage).
8813
c98c6276
CY
88142012-02-27 Chong Yidong <cyd@gnu.org>
8815
bf7f9bc5
JB
8816 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8817 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8818
c98c6276
CY
8819 * font-lock.el (font-lock-specified-p): Rename from
8820 font-lock-spec-present. Callers changed.
8821
9c62cd04 88222012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8823
bf7f9bc5
JB
8824 * emacs-lisp/package.el (package-compute-transaction):
8825 Handle holding a package version to t in package-load-list.
8ac9e529 8826
530739c9
MA
88272012-02-26 Michael Albinus <michael.albinus@gmx.de>
8828
8829 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8830 (tramp-get-inode, tramp-get-device): Use cached values.
8831
487915d7
AM
88322012-02-26 Alan Mackenzie <acm@muc.de>
8833
8834 Check there is a font-lock specification before doing initial
8835 fontification.
8836
8837 * font-core.el (font-lock-mode): Move the conditional from
8838 :after-hook to font-lock-initial-fontify.
8839 (font-lock-default-function): Move the check for a specification
8840 to font-lock-spec-present.
8841
dc9924b8 8842 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8843 (font-lock-spec-present): New function.
8844
4fd96557
JB
88452012-02-26 Jim Blandy <jimb@red-bean.com>
8846
8847 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8848 (gdb-send): Apply it to the operand of the '-interpreter-exec
8849 console' command, so that we can pass arguments with (say) quotes
8850 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8851
9a4888c0
CY
88522012-02-26 Chong Yidong <cyd@gnu.org>
8853
07498861
CY
8854 * help-fns.el (describe-function-1): Clarify description of
8855 remapping (Bug#10844).
8856
9a4888c0
CY
8857 * files.el (files-equal-p): Doc fix.
8858 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8859 and quit the loop once a mismatch is found.
8860
ea8fb88d
JB
88612012-02-25 Juanma Barranquero <lekktu@gmail.com>
8862
8863 * bs.el (bs--show-with-configuration): Don't throw an error
8864 if the window cannot be split; otherwise, subsequent calls to
8865 bs-show fail, restoring a stale window config. (Bug#10882)
8866
525795c1
JD
88672012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8868
8869 * term/ns-win.el (global-map): Bind ns-drag-file to
8870 ns-find-file (Bug#5855, Bug#10050).
8871
f008086f
AS
88722012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8873
8874 * calendar/parse-time.el (parse-time-string): Allow extractor to
8875 return nil.
8876
a3fcfa99
MA
88772012-02-25 Michael Albinus <michael.albinus@gmx.de>
8878
91027d08
JB
8879 * net/tramp.el (tramp-file-name-for-operation):
8880 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8881
8882 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8883 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8884 Add COPY-CONTENTS argument.
a3fcfa99 8885
67b0de11
CY
88862012-02-25 Chong Yidong <cyd@gnu.org>
8887
8888 Add custom groups for VC backends, for consistency with vc-bzr.
8889
8890 * vc/vc-arch.el (vc-arch):
8891 * vc/vc-cvs.el (vc-cvs):
8892 * vc/vc-git.el (vc-git):
8893 * vc/vc-hg.el (vc-hg):
8894 * vc/vc-mtn.el (vc-mtn):
8895 * vc/vc-rcs.el (vc-rcs):
8896 * vc/vc-sccs.el (vc-sccs):
8897 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8898 All relevant defcustoms reassigned.
8899
3c9dfce6
CY
89002012-02-25 Chong Yidong <cyd@gnu.org>
8901
1339bf43
CY
8902 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8903
3c9dfce6
CY
8904 * term/x-win.el (x-initialize-window-system): Reduce default for
8905 x-selection-timeout to 5 seconds (Bug#8869).
8906
25b2e303 89072012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8908
ec70a47d
GM
8909 * files.el (files-equal-p, file-subdir-of-p): New functions.
8910 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8911 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8912 * dired-aux.el (dired-copy-file-recursive): Same.
8913 (dired-create-files): Modify destination when source is equal to
8914 dest when copying files.
53a46cd0 8915 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8916
914260cd
MA
89172012-02-24 Michael Albinus <michael.albinus@gmx.de>
8918
8919 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8920 (Bug#10874)
8921
2cb228f7
AM
89222012-02-23 Alan Mackenzie <acm@muc.de>
8923
8924 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8925 parameter "after-hook:" to allow the expansion to run code after
8926 the execution of the mode hooks.
8927
8928 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8929 from font-lock-mode-internal.
2cb228f7 8930
91027d08 8931 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8932 :after-hook.
8933
8f0fde21
SM
89342012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8935
3e88618b
SM
8936 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8937 (completion--cache-all-sorted-completions): New function.
8938 (completion-all-sorted-completions): Use it.
8939 (completion--do-completion, minibuffer-force-complete):
8940 Use it to re-instate the flush hook.
8941
8f0fde21
SM
8942 * icomplete.el (icomplete-completions): Replace last fix with a better
8943 one (bug#10850).
8944
8e911f6f
DG
89452012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8946
8947 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8948 when it might call us back infinitely (bug#10797).
8949
49fe4321
GM
89502012-02-23 Glenn Morris <rgm@gnu.org>
8951
8952 * minibuffer.el (completion-category-overrides): Doc fix.
8953
b291b572
SM
89542012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8955
8956 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8957 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8958
31a9ef2e
GM
89592012-02-23 Glenn Morris <rgm@gnu.org>
8960
5e6e6794 8961 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8962 (authors-obsolete-files-regexps, authors-ignored-files)
8963 (authors-ambiguous-files, authors-renamed-files-alist):
8964 Add more entries.
8965
0bd1e074
JL
89662012-02-23 Juri Linkov <juri@jurta.org>
8967
8968 * isearch.el (isearch-occur): Sync interactive spec with occur's
8969 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8970
b617673c
JL
8971 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8972
19e9789e
JL
89732012-02-22 Juri Linkov <juri@jurta.org>
8974
8975 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8976 (ucs-insert): Doc fix. Check for hex digits in the string.
8977 Don't display `nil' in the error message. (Bug#10857)
8978
f41ce09d
AM
89792012-02-22 Alan Mackenzie <acm@muc.de>
8980
7a71b18d 8981 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8982
ac2eceee
GM
89832012-02-22 Glenn Morris <rgm@gnu.org>
8984
8985 * ffap.el (ffap-c-path):
8986 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8987
abd1f678
CY
89882012-02-22 Chong Yidong <cyd@gnu.org>
8989
8990 * custom.el (load-theme): Doc fix.
8991
f25aef2e
GM
89922012-02-22 Glenn Morris <rgm@gnu.org>
8993
8994 * dired-x.el (dired-guess-shell-alist-default):
8995 Remove escape sequences from nroff output. (Bug#172)
8996
5f8dc2ca
GM
89972012-02-21 Glenn Morris <rgm@gnu.org>
8998
6ff86ec4
GM
8999 * vc/emerge.el (emerge-defvar-local):
9000 Set `permanent-local' property rather than unused `preserved'.
9001
be3223a3 9002 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9003 (picture-mode-map): Use it. (Bug#10860)
9004 (picture-mode): Doc fix.
9005
3fe58f4f
JB
90062012-02-21 Juanma Barranquero <lekktu@gmail.com>
9007
9008 * newcomment.el (uncomment-region-default): Remove unused binding.
9009
f9a998c3
GM
90102012-02-21 Glenn Morris <rgm@gnu.org>
9011
9012 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9013 (picture-self-insert, picture-tab-chars): Doc fix.
9014 (picture-mode-map): Fix C-a, C-e.
9015
c6029348
GM
90162012-02-20 Glenn Morris <rgm@gnu.org>
9017
9018 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9019
ab1ce9d7
LL
90202012-02-20 Leo Liu <sdl.web@gmail.com>
9021
9022 * icomplete.el (icomplete-completions): Check FROM arg before
9023 passing to substring (Bug#10850).
9024
0fd40f89
CY
90252012-02-19 Chong Yidong <cyd@gnu.org>
9026
9027 * comint.el: Require ansi-color.
9028 (comint-output-filter-functions): Add ansi-color-process-output.
9029
9030 * ansi-color.el: Don't set comint-output-filter-functions; it is
9031 now in the initial value defined in comint.el.
9032 (ansi-color-apply-face-function): New variable.
9033 (ansi-color-apply-on-region): Use it.
9034 (ansi-color-apply-overlay-face): New function.
9035
9036 * shell.el (shell): No need to require ansi-color.
9037 (shell-mode): Use ansi-color-apply-face-function to highlight
9038 color escapes using font-lock-face property (Bug#10835).
9039
20af2394
CY
90402012-02-19 Chong Yidong <cyd@gnu.org>
9041
9042 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9043 mode-line formats (Bug#10839).
9044
e23a3fbe
GM
90452012-02-18 Glenn Morris <rgm@gnu.org>
9046
b474519e
GM
9047 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9048
9049 * mail/undigest.el (unforward-rmail-message): Doc fix.
9050
e23a3fbe
GM
9051 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9052
57939ff4
EZ
90532012-02-18 Eli Zaretskii <eliz@gnu.org>
9054
9055 * international/characters.el (script-list): Sync with the latest
9056 Unicode Character Database.
9057
0c23686e
AS
90582012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9059
9060 * international/titdic-cnv.el: Remove duplicate coding tag.
9061 * language/cham.el: Likewise.
9062 * language/tai-viet.el: Likewise.
9063
6818b449
GM
90642012-02-18 Glenn Morris <rgm@gnu.org>
9065
9066 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9067 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9068 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9069 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9070 * calendar/holidays.el (holiday-bahai-holidays)
9071 (calendar-holidays, list-holidays):
9072 Use utf-8 Bahá'í in doc-strings, menus, etc.
9073
0311a3fc
TH
90742012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9075
9076 * saveplace.el (save-place-ignore-files-regexp): New variable
9077 allowing for excluding files from saving their location of point.
9078 The default value matches the temporary commit message editing
9079 files from Git, SVN, Bazaar, and Mercurial.
9080 (save-place-to-alist): Use it.
9081
d209e2fb 90822012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9083 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9084
9085 * newcomment.el (uncomment-region-default): Don't leave extra space
9086 when an arg is provided (bug#8150).
9087
ee0ce425
TZ
90882012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9089
eb864a71 9090 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9091
95ddf442
GM
90922012-02-17 Glenn Morris <rgm@gnu.org>
9093
9094 * net/socks.el: Require network-stream. (Bug#10599)
9095
48dd1e39 90962012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9097
9098 * international/charprop.el:
9099 * international/uni-name.el:
9100 * international/uni-old-name.el:
9101 * international/uni-comment.el: Regenerate.
9102
d68cd087
GM
91032012-02-16 Glenn Morris <rgm@gnu.org>
9104
9105 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9106 Interactively in calendar buffer, give an error if not on a date.
9107
13932042
GM
91082012-02-15 Glenn Morris <rgm@gnu.org>
9109
9110 * shell.el (shell-delimiter-argument-list):
9111 Revert 2011-02-17 change. (Bug#8027)
9112
c3a70e2b
CY
91132012-02-15 Chong Yidong <cyd@gnu.org>
9114
60236b0d
CY
9115 * minibuffer.el (completion-at-point-functions): Doc fix.
9116
c3a70e2b
CY
9117 * custom.el (defcustom): Doc fix; note use of defvar.
9118
9f26dc24
GM
91192012-02-15 Glenn Morris <rgm@gnu.org>
9120
9121 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9122 Doc fixes.
9123
6546b134
GM
91242012-02-14 Glenn Morris <rgm@gnu.org>
9125
9126 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9127
d29b2b4c
LI
91282012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9129
9130 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9131 way the ports list is computed.
835bdcba
LI
9132 (smtpmail-query-smtp-server): Prompt the user for a port number if
9133 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9134
08dcdbc9
TZ
91352012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9136
9137 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9138
2605051a
GM
91392012-02-13 Glenn Morris <rgm@gnu.org>
9140
9141 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9142
7ee99f32
TZ
91432012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9144
9145 * net/gnutls.el (gnutls-trustfiles): New variable.
9146 (gnutls-negotiate): Use it.
9147
5f0af64f
LI
91482012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9149
9150 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9151 does its stuff if Gnus is running.
9152
c14fcc95
AM
91532012-02-13 Alan Mackenzie <acm@muc.de>
9154
9155 Fix a loop in c-set-fl-decl-start.
9156
7a71b18d 9157 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9158 c-backward-syntactic-ws actually moves backwards.
9159
142b4d90
LL
91602012-02-13 Leo Liu <sdl.web@gmail.com>
9161
9162 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9163 beginning so that all \C-o chars are removed.
9164
fa9958a6
TZ
91652012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9166
dc9924b8 9167 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9168
0bc5886a
AM
91692012-02-12 Alan Mackenzie <acm@muc.de>
9170
9171 Fix infinite loop with long macros.
4d6769e1 9172 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9173
d4bd55e7
CY
91742012-02-12 Chong Yidong <cyd@gnu.org>
9175
9176 * window.el (display-buffer): Doc fix (Bug#10785).
9177
66f3fe22
GM
91782012-02-12 Glenn Morris <rgm@gnu.org>
9179
bd7da63e
GM
9180 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9181 (x-disown-selection-internal, x-get-selection-internal):
9182 Sync docs with the xselect.c versions.
9183
66f3fe22
GM
9184 * allout-widgets.el: Add missing license notice.
9185
3e0d2fa7
GM
91862012-02-11 Glenn Morris <rgm@gnu.org>
9187
cfecdf09
GM
9188 * select.el (x-get-selection-internal, x-own-selection-internal)
9189 (x-disown-selection-internal):
9190 * x-dnd.el (x-get-selection-internal): Update declarations.
9191
6d216d7f
GM
9192 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9193
2bed3f04
GM
9194 * window.el (window-sides-slots):
9195 * tool-bar.el (tool-bar-position):
9196 * term/xterm.el (xterm-extra-capabilities):
9197 * ses.el (ses-self-reference-early-detection):
9198 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9199 (verilog-auto-wire-type)
9200 (verilog-auto-delete-trailing-whitespace)
9201 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9202 (verilog-auto-tieoff-declaration):
9203 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9204 (sql-oracle-statement-starters, sql-oracle-scan-on):
9205 * progmodes/prolog.el (prolog-align-comments-flag)
9206 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9207 (prolog-left-indent-regexp, prolog-paren-indent-p)
9208 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9209 (prolog-types, prolog-mode-specificators)
9210 (prolog-determinism-specificators, prolog-directives)
9211 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9212 (prolog-electric-dot-flag)
9213 (prolog-electric-dot-full-predicate-template)
9214 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9215 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9216 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9217 (prolog-program-switches, prolog-prompt-regexp)
9218 (prolog-debug-on-string, prolog-debug-off-string)
9219 (prolog-trace-on-string, prolog-trace-off-string)
9220 (prolog-zip-on-string, prolog-zip-off-string)
9221 (prolog-use-standard-consult-compile-method-flag)
9222 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9223 (prolog-imenu-max-lines, prolog-info-predicate-index)
9224 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9225 (prolog-char-quote-workaround):
9226 * progmodes/cc-vars.el (c-defun-tactic):
9227 * net/tramp.el (tramp-encoding-command-interactive)
9228 (tramp-local-end-of-line):
9229 * net/soap-client.el (soap-client):
9230 * net/netrc.el (netrc-file):
9231 * net/gnutls.el (gnutls):
9232 * minibuffer.el (completion-category-overrides)
9233 (completion-cycle-threshold)
9234 (completion-pcm-complete-word-inserts-delimiters):
9235 * man.el (Man-name-local-regexp):
9236 * mail/feedmail.el (feedmail-display-full-frame):
9237 * international/characters.el (glyphless-char-display-control):
9238 * eshell/em-ls.el (eshell-ls-date-format):
9239 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9240 (lisp-lambda-list-keyword-parameter-indentation)
9241 (lisp-lambda-list-keyword-parameter-alignment):
9242 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9243 * dired-x.el (dired-omit-verbose):
9244 * cus-theme.el (custom-theme-allow-multiple-selections):
9245 * calc/calc.el (calc-highlight-selections-with-faces)
9246 (calc-lu-field-reference, calc-lu-power-reference)
9247 (calc-note-threshold):
9248 * battery.el (battery-mode-line-limit):
9249 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9250 (archive-7z-update):
9251 * allout.el (allout-prefixed-keybindings)
9252 (allout-unprefixed-keybindings)
9253 (allout-inhibit-auto-fill-on-headline)
9254 (allout-flattened-numbering-abbreviation):
9255 * allout-widgets.el (allout-widgets-auto-activation)
9256 (allout-widgets-icons-dark-subdir)
9257 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9258 (allout-widgets-theme-dark-background)
9259 (allout-widgets-theme-light-background)
9260 (allout-widgets-item-image-properties-emacs)
9261 (allout-widgets-item-image-properties-xemacs)
9262 (allout-widgets-run-unit-tests-on-load)
9263 (allout-widgets-time-decoration-activity)
9264 (allout-widgets-hook-error-post-time)
9265 (allout-widgets-track-decoration):
9266 Add missing :version tags to new defcustoms and defgroups.
9267
5fec1b8e
GM
9268 * progmodes/sql.el (sql-ansi-statement-starters)
9269 (sql-oracle-statement-starters): Add custom type.
9270
3e0d2fa7
GM
9271 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9272 (prolog-system-version): Give it a type.
9273
90b671e2
EZ
92742012-02-11 Eli Zaretskii <eliz@gnu.org>
9275
9276 * term/pc-win.el (x-select-text, x-selection-owner-p)
9277 (x-own-selection-internal, x-disown-selection-internal)
9278 (x-get-selection-internal): Sync doc strings and argument lists
9279 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9280
5eac0c02
LL
92812012-02-11 Leo Liu <sdl.web@gmail.com>
9282
9283 * progmodes/python.el (python-end-of-statement): Fix infinite
9284 loop. (Bug#10788)
9285
f82cb659
GM
92862012-02-10 Glenn Morris <rgm@gnu.org>
9287
9288 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9289 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9290
cc26d239
LI
92912012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9292
9293 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9294 about SMTP before checking the From header.
9295
91027d08 9296 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9297 into own function for reuse by emacsbug.el.
9298
1be3ca5a
LL
92992012-02-10 Leo Liu <sdl.web@gmail.com>
9300
9301 * subr.el (condition-case-unless-debug): Rename from
9302 condition-case-no-debug. All callers changed.
9303 (with-demoted-errors): Fix caller.
9304
9305 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9306 * nxml/rng-valid.el (rng-do-some-validation):
9307 * emacs-lisp/package.el (package-refresh-contents)
9308 (package-menu-execute):
9309 * desktop.el (desktop-create-buffer):
91027d08 9310 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9311
b011fbfe
GM
93122012-02-10 Glenn Morris <rgm@gnu.org>
9313
b2096d72
GM
9314 * textmodes/bibtex.el:
9315 Add missing :version tags for new/changed defcustoms.
9316
b011fbfe
GM
9317 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9318
4c7e65bf
LI
93192012-02-09 Lars Ingebrigtsen <larsi@rusty>
9320
9321 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9322 (smtpmail-via-smtp): Use it, or fall back on the From address.
9323 (smtpmail-send-it): Ditto.
9324
f3934f6f
SM
93252012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9326
9327 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9328 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9329 (byte-compile-tmp-var): New const.
9330 (byte-compile-defvar): Use it to minimize .elc size.
9331 Just use `defvar' rather than simulate it (bug#10761).
9332
a075a2c5
GM
93332012-02-09 Glenn Morris <rgm@gnu.org>
9334
cf3aa21b
GM
9335 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9336
354998cd
GM
9337 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9338 Add :version tags.
9339
dc9924b8
SM
9340 * progmodes/compile.el (compilation-error-screen-columns)
9341 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9342
dab3703d
GM
9343 * vc/log-view.el (log-view-toggle-entry-display):
9344 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9345
3f88cd72
GM
9346 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9347 (report-emacs-bug-can-use-xdg-email):
9348 (report-emacs-bug-insert-to-mailer): Doc fixes.
9349 (report-emacs-bug): Message fix.
9350
d95b247d
GM
9351 * net/browse-url.el (browse-url-can-use-xdg-open)
9352 (browse-url-xdg-open): Doc fixes.
9353
a075a2c5
GM
9354 * electric.el (electric-indent-mode, electric-pair-mode)
9355 (electric-layout-rules, electric-layout-mode): Doc fixes.
9356 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9357
ffb6157e
MR
93582012-02-08 Martin Rudalics <rudalics@gmx.at>
9359
9360 * server.el (server-unselect-display): Don't inadvertently kill
9361 the current buffer. (Bug#10729)
9362
e1ac4066
GM
93632012-02-08 Glenn Morris <rgm@gnu.org>
9364
34e8a2da
GM
9365 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9366 (sql-list-table): Doc fixes.
9367
b4ac6e8c
GM
9368 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9369 Comment out (does nothing).
9370
e1ac4066
GM
9371 * completion.el (dynamic-completion-mode):
9372 * dirtrack.el (dirtrack-debug-mode):
9373 * electric.el (electric-layout-mode):
9374 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9375 * face-remap.el (text-scale-mode, buffer-face-mode):
9376 * iimage.el (iimage-mode):
9377 * image-mode.el (image-transform-mode):
9378 * minibuffer.el (completion-in-region-mode):
9379 * scroll-lock.el (scroll-lock-mode):
9380 * simple.el (next-error-follow-minor-mode):
9381 * tar-mode.el (tar-subfile-mode):
9382 * tooltip.el (tooltip-mode):
9383 * vcursor.el (vcursor-use-vcursor-map):
9384 * wid-browse.el (widget-minor-mode):
9385 * emulation/tpu-edt.el (tpu-edt-mode):
9386 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9387 * international/iso-ascii.el (iso-ascii-mode):
9388 * language/thai-util.el (thai-word-mode):
9389 * mail/supercite.el (sc-minor-mode):
9390 * net/goto-addr.el (goto-address-mode):
9391 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9392 * progmodes/cwarn.el (cwarn-mode):
9393 * progmodes/flymake.el (flymake-mode):
9394 * progmodes/glasses.el (glasses-mode):
9395 * progmodes/hideshow.el (hs-minor-mode):
9396 * progmodes/pascal.el (pascal-outline-mode):
9397 * textmodes/enriched.el (enriched-mode):
9398 * vc/smerge-mode.el (smerge-mode):
9399 Doc fixes (minor mode argument).
9400
5e0d957f
EZ
94012012-02-07 Eli Zaretskii <eliz@gnu.org>
9402
9403 * ls-lisp.el (ls-lisp-sanitize): New function.
9404 (ls-lisp-insert-directory): Use it to fix or remove any elements
9405 in file-alist with missing attributes. (Bug#4673)
9406
98d7371e
AM
94072012-02-07 Alan Mackenzie <acm@muc.de>
9408
9409 Fix spurious recognition of c-in-knr-argdecl.
9410
9411 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9412 putative K&R region.
9413
667ced3a
AM
94142012-02-07 Alan Mackenzie <acm@muc.de>
9415
eb864a71
LM
9416 * progmodes/cc-engine.el (c-forward-objc-directive):
9417 Prevent looping in "#pragma mark @implementation".
667ced3a 9418
5b77774d
MA
94192012-02-07 Michael Albinus <michael.albinus@gmx.de>
9420
9421 * notifications.el (notifications-on-closed-signal): Make `reason'
9422 optional. (Bug#10744)
9423
af008560
GM
94242012-02-07 Glenn Morris <rgm@gnu.org>
9425
60d47423
GM
9426 * emacs-lisp/easy-mmode.el (define-minor-mode):
9427 Doc fixes for the macro and the mode it defines.
9428
dd605cc4
GM
9429 * image.el (imagemagick-types-inhibit): Doc fix.
9430
af008560
GM
9431 * cus-start.el (imagemagick-render-type): Add it.
9432
5cc59a37
LI
94332012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9434
4d6769e1
JB
9435 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9436 Set the default at load time, too, so that `font-lock-fontify-buffer'
9437 can be called without setting up the entire mode first. This fixes
9438 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9439
9a6dd747
CY
94402012-02-06 Chong Yidong <cyd@gnu.org>
9441
2d16b285
CY
9442 * simple.el (list-processes--refresh): Delete exited processes
9443 (Bug#8094).
9444
171e9b6e
CY
9445 * comint.el (comint-next-prompt): next-single-char-property-change
9446 and prev-single-char-property-change never return nil (Bug#8657).
9447
9a6dd747
CY
9448 * custom.el (defcustom): Doc fix (Bug#9711).
9449
aa4589a7
CY
94502012-02-05 Chong Yidong <cyd@gnu.org>
9451
5c2a252f
CY
9452 * cus-edit.el (custom-variable-reset-backup): Quote the value
9453 before storing it in the customized-value property (Bug#6712).
4aab9006 9454 (custom-display): Add a customization type tag.
983b9602 9455 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9456
aa4589a7
CY
9457 * wid-edit.el (widget-field-value-get): New optional arg to
9458 suppress trailing whitespace truncation.
9459 (character): Use it (Bug#2689).
9460
1ff980ae
AS
94612012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9462
9463 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9464 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9465
03988c98
CY
94662012-02-05 Chong Yidong <cyd@gnu.org>
9467
eeb6cc88
CY
9468 * cus-edit.el (custom-variable-value-create): For mismatched
9469 types, show the current value (Bug#7600).
9470
03988c98
CY
9471 * custom.el (defcustom): Doc fix.
9472
f8cdeef0
GM
94732012-02-05 Glenn Morris <rgm@gnu.org>
9474
9475 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9476
0696d255
JB
94772012-02-05 Juanma Barranquero <lekktu@gmail.com>
9478
9479 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9480 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9481 (pp-last-sexp): Use `looking-at-p'.
9482
34c99998
GM
94832012-02-04 Glenn Morris <rgm@gnu.org>
9484
8f05da42
GM
9485 * files.el (revert-buffer):
9486 Doc fix (mention revert-buffer-in-progress-p).
9487
f160676e
GM
9488 * emacs-lisp/ert-x.el (ert-simulate-command):
9489 Check deferred-action-list (which is obsolete) is bound.
9490
c7291ad9
GM
9491 * subr.el (with-wrapper-hook): Doc fixes.
9492
34c99998
GM
9493 * simple.el (filter-buffer-substring-functions)
9494 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9495
6283a7d3
LL
94962012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9497
9498 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9499 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9500
e96e3013
LL
95012012-02-04 Leo Liu <sdl.web@gmail.com>
9502
9503 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9504
8ded50f2
GM
95052012-02-04 Glenn Morris <rgm@gnu.org>
9506
82ff1d13
GM
9507 * image.el (image-extension-data): Add obsolete alias.
9508
987a0a16
GM
9509 * isearch.el (isearch-update): Doc fix.
9510
ea32ef46
GM
9511 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9512
8ded50f2
GM
9513 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9514
eea14f31
GM
95152012-02-03 Glenn Morris <rgm@gnu.org>
9516
9517 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9518 (image-animate-timeout): Doc fix.
9519
9520 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9521
12f381b7
GM
95222012-02-02 Glenn Morris <rgm@gnu.org>
9523
953cebf5
GM
9524 * server.el (server-auth-dir): Doc fix.
9525 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9526
12f381b7
GM
9527 * subr.el (run-mode-hooks): Doc fix.
9528
953a8c3b
JL
95292012-02-02 Juri Linkov <juri@jurta.org>
9530
9531 * image-mode.el (image-toggle-display-image): Remove tautological
9532 `major-mode' from the `derived-mode-p' test.
9533
c5d3843c
KH
95342012-02-02 Kenichi Handa <handa@m17n.org>
9535
9f6e692e 9536 * composite.el (compose-region): Cancel previous change.
c5d3843c 9537
159462d4 95382012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9539
9540 * composite.el (compose-region, compose-string): Signal error for
9541 a null string component (Bug#6988).
9542
9f562668
CY
95432012-02-01 Chong Yidong <cyd@gnu.org>
9544
e2cef717
CY
9545 * view.el (view-buffer-other-window, view-buffer-other-frame):
9546 Handle special modes like view-buffer (Bug#10650).
9547 (view-buffer): Simplify.
9548
9f562668
CY
9549 * frame.el (set-frame-font): Tweak meaning of third argument.
9550
9f6e692e
JB
9551 * dynamic-setting.el (font-setting-change-default-font):
9552 Use set-frame-font (Bug#9982).
9f562668 9553
781acb9f
GM
95542012-02-01 Glenn Morris <rgm@gnu.org>
9555
6035be52
GM
9556 * progmodes/compile.el (compilation-internal-error-properties):
9557 Respect compilation-first-column in the "*compilation*" buffer.
9558
781acb9f
GM
9559 * emacs-lisp/easy-mmode.el (define-minor-mode):
9560 Relax :variable's test for a named function.
9561
abbceb00
AM
95622012-01-31 Alan Mackenzie <acm@muc.de>
9563
9564 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9565 off by one error.
9566
fce3fdeb
CY
95672012-01-31 Chong Yidong <cyd@gnu.org>
9568
9569 * frame.el (set-frame-font): New arg ALL-FRAMES.
9570
9571 * menu-bar.el (menu-set-font): Use set-frame-font.
9572
9573 * faces.el (face-spec-reset-face): Don't apply unspecified
9574 attribute values to the default face.
9575
47893581
JB
95762012-01-31 Juanma Barranquero <lekktu@gmail.com>
9577
9578 * progmodes/cwarn.el (cwarn): Remove dead link.
9579 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9580 Remove * from defcustom docstrings.
9581 (turn-on-cwarn-mode): Make obsolete.
9582 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9583 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9584
e58e988a
GM
95852012-01-31 Glenn Morris <rgm@gnu.org>
9586
60dc2671 9587 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9588 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9589 Allow named functions to be used as the cdr of :variable.
e58e988a 9590
7a3f511d
GM
95912012-01-30 Glenn Morris <rgm@gnu.org>
9592
9593 * emacs-lisp/authors.el (authors-fixed-entries):
9594 Remove reference to deleted file rnewspost.el.
9595
cb882333
JB
95962012-01-29 Juanma Barranquero <lekktu@gmail.com>
9597
9598 * window.el (window-with-parameter): Remove unused variable `windows'.
9599 (window--side-check): Remove unused variable `code'.
9600 (window--resize-siblings): Remove unused variable `first'.
9601 (adjust-window-trailing-edge): Remove unused variable `failed'.
9602 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9603 Use `let', not `let*'.
9604 (balance-windows-2): Remove unused variable `found'.
9605 (window--state-put-2): Remove unused variable `splits'.
9606 (window-state-put): Remove unused variable `selected'.
9607 (same-window-p): Use `string-match-p'.
9608 (display-buffer-assq-regexp): Remove unused variable `value'.
9609 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9610 Mark argument ALIST as ignored.
9611 (pop-to-buffer): Remove unused variable `old-window'.
9612
907201af
EZ
96132012-01-29 Eli Zaretskii <eliz@gnu.org>
9614
9615 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9616 and .lzma compressed files.
9617
ea162670
CY
96182012-01-29 Chong Yidong <cyd@gnu.org>
9619
5b95ee8a
CY
9620 * frame.el (window-system-default-frame-alist): Doc fix.
9621
ea162670
CY
9622 * dynamic-setting.el (font-setting-change-default-font): Don't
9623 change the default face if SET-FONT argument is non-nil (Bug#9982).
9624
d6e6f4b1
SB
96252012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9626
9627 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9628
0f29fa41 96292012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9630
9631 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9632 breakpoints in files outside current directory (Bug#6098).
9633
db174434
CY
96342012-01-29 Chong Yidong <cyd@gnu.org>
9635
6b25e4e2
SE
9636 * progmodes/python.el: Require ansi-color at top-level.
9637
6df6ae42
JB
9638 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9639 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9640 (lisp-mode-abbrev-table): Add doc.
9641 (lisp-mode-variables): Don't set local-abbrev-table.
9642 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9643
e70ee681
RW
96442012-01-28 Roland Winkler <winkler@gnu.org>
9645
9646 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9647
ace88aa2
RW
96482012-01-28 Roland Winkler <winkler@gnu.org>
9649
9650 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9651 (bibtex-set-dialect): Use it. Either set global values of
9652 dialect-dependent variables or bind these variables buffer-locally
9653 (Bug#10254).
9654 (bibtex-mode): Call bibtex-set-dialect via
9655 hack-local-variables-hook.
eb864a71
LM
9656 (bibtex-dialect): Update docstring.
9657 Add safe-local-variable predicate.
ace88aa2
RW
9658 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9659 bibtex-set-dialect.
9660 (bibtex-mode-map): Define menu for each dialect.
9661 (bibtex-entry): Fix docstring.
9662
93376c5b
CY
96632012-01-28 Chong Yidong <cyd@gnu.org>
9664
9665 * eshell/esh-arg.el (eshell-quote-argument): New function.
9666
9667 * eshell/esh-ext.el (eshell-invoke-batch-file):
9668 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9669 first arg to eshell-parse-command (Bug#10523).
9670
4372494f
DA
96712012-01-28 Drew Adams <drew.adams@oracle.com>
9672
9673 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9674 `default-directory' is non-nil.
9675
4d4ec1f8
EZ
96762012-01-28 Eli Zaretskii <eliz@gnu.org>
9677
9678 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9679 line that displays system-configuration-options. (Bug#9924)
9680
7c188927
DA
96812012-01-28 Drew Adams <drew.adams@oracle.com>
9682
9683 * descr-text.el (describe-char): Show information about POS, in
9684 addition to information about the character at POS. Improve and
9685 update the doc string. Change "code point" to "code point in
9686 charset", to avoid confusion with the character's Unicode code
9687 point shown above that. (Bug#10129)
9688
e0da685a
EZ
96892012-01-28 Eli Zaretskii <eliz@gnu.org>
9690
9691 * descr-text.el (describe-char): Show the raw character, not only
9692 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9693 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9694 for the reasons.
9695
70550acf
PH
96962012-01-28 Phil Hagelberg <phil@hagelb.org>
9697
eb864a71
LM
9698 * emacs-lisp/package.el (package-install):
9699 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9700
0ce8e868
CY
97012012-01-28 Chong Yidong <cyd@gnu.org>
9702
cb882333
JB
9703 * emacs-lisp/package.el (package-maybe-load-descriptor):
9704 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9705 (package-maybe-load-descriptor): Use it.
9706 (package-download-transaction): Fully load required packages
9707 inside the loop, so that `require' calls work (Bug#10593).
9708 (package-install): No need to call package-initialize now.
9709
2e7f3bea
CY
97102012-01-28 Chong Yidong <cyd@gnu.org>
9711
6e9bad14
CY
9712 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9713
f823b8ca
CY
9714 * tooltip.el (tooltip-mode): Doc fix.
9715 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9716
2680c309
CY
9717 * frame.el (set-cursor-color): Doc fix (Bug#352).
9718
d7a9e63b
CY
9719 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9720 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9721
2e7f3bea
CY
9722 * cus-edit.el (custom-buffer-create-internal): Fix search button
9723 action (Bug#10542).
2ae01800 9724 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9725
fc4f7a23
EW
97262012-01-27 Eduard Wiebe <usenet@pusto.de>
9727
9728 * dired.el (dired-mark-files-regexp):
9729 Include any subdirectory components. (Bug#10445)
9730
7dd37071
ML
97312012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9732
9733 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9734 Handle [host]:port syntax. (Bug#10533)
9735
a268160b
AH
97362012-01-27 Alex Harsanyi <harsanyi@mac.com>
9737
9738 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9739
e43273ef
GM
97402012-01-26 Glenn Morris <rgm@gnu.org>
9741
9742 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9743 * term.el (term-raw-escape-map): Use Control-X-prefix.
9744 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9745
1edf595d
MR
97462012-01-25 Martin Rudalics <rudalics@gmx.at>
9747
9748 * window.el (window-state-get, window--state-get-1): Don't deal
9749 with fixed-sizeness of windows. Simplify code.
9750
fa8eafef
JC
97512012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9752
6df6ae42
JB
9753 * window.el (window--state-get-1, window--state-put-2):
9754 Don't save and restore the mark.
fa8eafef 9755
0b21c100
CY
97562012-01-25 Chong Yidong <cyd@gnu.org>
9757
9758 * custom.el (custom-variable-p): Doc fix.
9759
5ae1a6c8
GM
97602012-01-25 Glenn Morris <rgm@gnu.org>
9761
40047858
GM
9762 * dired.el (dired-goto-file): Handle some of the more common
9763 characters that `ls -b' escapes. (Bug#10596)
9764
5ddce96c
GM
9765 * progmodes/compile.el (compilation-next-error-function):
9766 Respect compilation-first-column in the "*compilation*" buffer.
9767 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9768
5ae1a6c8
GM
9769 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9770
b559f1a9
GM
97712012-01-24 Glenn Morris <rgm@gnu.org>
9772
9773 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9774
6725d21a
JD
97752012-01-24 Julien Danjou <julien@danjou.info>
9776
9777 * color.el (color-rgb-to-hsl): Fix value computing.
9778 (color-hue-to-rgb): New function.
9779 (color-hsl-to-rgb): New function.
9780 (color-clamp, color-saturate-hsl, color-saturate-name)
9781 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9782 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9783
70df4bbe
GM
97842012-01-24 Glenn Morris <rgm@gnu.org>
9785
9786 * vc/vc-rcs.el (vc-rcs-create-tag):
9787 * vc/vc-sccs.el (vc-sccs-create-tag):
9788 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9789
802a2ae2
ML
97902012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9791
9792 * eshell/esh-util.el (eshell-read-hosts-file):
9793 Skip comment lines. (Bug#10549)
9794
d7128bb1
ML
9795 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9796
d1a5c3b4
JB
97972012-01-23 Juanma Barranquero <lekktu@gmail.com>
9798
2724d9c7
JB
9799 * subr.el (display-delayed-warnings): Doc fix.
9800 (collapse-delayed-warnings): New function to collapse identical
9801 adjacent warnings.
9802 (delayed-warnings-hook): Add it.
d1a5c3b4 9803
a5509865
MA
98042012-01-22 Michael Albinus <michael.albinus@gmx.de>
9805
9806 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9807
a5509865
MA
9808 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9809 (tramp-default-user-alist): Don't add "pscp".
9810 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9811 property "login-as", if set. (Bug#10530)
9812
cc6d5805
MA
98132012-01-21 Michael Albinus <michael.albinus@gmx.de>
9814
9815 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9816 "plink1" and "psftp". (Bug#10530)
9817
98182012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9819
9820 * international/mule-cmds.el (prefer-coding-system): Show a
9821 warning message if the default value of file-name-coding-system
9822 was not changed.
9823
f0960428
JC
98242012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9825
cb882333
JB
9826 * windmove.el (windmove-reference-loc):
9827 Fix windmove-reference-loc miscalculation.
f0960428 9828
dd6f2a63
JB
98292012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9830
9831 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9832 default unit.
9833
7b447e9b
GM
98342012-01-21 Glenn Morris <rgm@gnu.org>
9835
117a9ea1
GM
9836 * international/mule.el (auto-coding-alist): Add .tbz.
9837
7b447e9b
GM
9838 * files.el (local-enable-local-variables): Doc fix.
9839 (inhibit-local-variables-regexps): Rename from
9840 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9841 Doc fix. Add some extensions from auto-coding-alist.
9842 (inhibit-local-variables-suffixes):
9843 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9844 (inhibit-local-variables-p):
9845 New function, extracted from set-auto-mode-1.
9846 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9847 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9848 (hack-local-variables): Doc fix. Make the mode-only case
9849 respect enable-local-variables and friends.
9850 Respect inhibit-local-variables-regexps for file-locals, but
9851 not for directory-locals.
9852 (set-visited-file-name):
9853 Take account of inhibit-local-variables-regexps.
9854 Whether it applies may change as the file name is changed.
9855 * jka-cmpr-hook.el (jka-compr-install):
9856 * jka-compr.el (jka-compr-uninstall):
9857 Update for inhibit-first-line-modes-suffixes name change.
9858
dd6e3cdd
MR
98592012-01-20 Martin Rudalics <rudalics@gmx.at>
9860
9861 * help-macro.el (make-help-screen): Temporarily restore original
9862 binding for minor-mode-map-alist (Bug#10454).
9863
0d0deb38
JD
98642012-01-19 Julien Danjou <julien@danjou.info>
9865
9866 * color.el (color-name-to-rgb): Use the white color to find the max
9867 color component value and return correctly computed values.
9868 (color-name-to-rgb): Add missing float conversion for max value.
9869
34a02f46
MR
98702012-01-19 Martin Rudalics <rudalics@gmx.at>
9871
9872 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9873 special state value for window-persistent-parameters.
9874 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9875 (window--state-put-2): Reset all window parameters to nil before
9876 assigning values of persistent parameters.
9877
606c44c4
AM
98782012-01-18 Alan Mackenzie <acm@muc.de>
9879
9880 Eliminate sluggishness and hangs in fontification of "semicolon
9881 deserts".
9882
cb882333
JB
9883 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9884 Change value 10000 -> 3000.
606c44c4
AM
9885 (c-state-safe-place): Reformulate so it doesn't stack up an
9886 infinite number of wrong entries in c-state-nonlit-pos-cache.
9887 (c-determine-limit-get-base, c-determine-limit): New functions to
9888 determine backward search limits disregarding literals.
9889 (c-find-decl-spots): Amend commenting.
9890 (c-cheap-inside-bracelist-p): New function which detects "={".
9891
9892 * progmodes/cc-fonts.el
9893 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9894 backward search.
9895 (c-font-lock-declarations): Fix an occurrence of point being
9896 undefined. Check additionally for point being in a bracelist or
9897 near a macro invocation without a semicolon so as to avoid a
9898 fruitless time consuming search for a declarator. Give a more
9899 precise search limit for declarators using the new
9900 c-determine-limit.
9901
f3860cea
GM
99022012-01-18 Glenn Morris <rgm@gnu.org>
9903
9904 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9905 (set-auto-mode): Doc fixes.
9906
1db03b16
GM
99072012-01-17 Glenn Morris <rgm@gnu.org>
9908
0e6038be
GM
9909 * isearch.el (search-nonincremental-instead): Fix doc typo.
9910
1db03b16
GM
9911 * dired.el (dired-insert-directory): Handle newlines in directory name.
9912 (dired-build-subdir-alist): Unescape newlines in directory name.
9913
4cb0aa75
MA
99142012-01-17 Michael Albinus <michael.albinus@gmx.de>
9915
9916 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9917 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9918 (tramp-action-terminal): Use it. (Bug#10530)
9919
1d00653d
SM
99202012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9921
9922 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9923
6a6ee00d
MR
99242012-01-16 Martin Rudalics <rudalics@gmx.at>
9925
9926 * window.el (window-state-ignored-parameters): Remove variable.
9927 (window--state-get-1): Rename argument MARKERS to IGNORE.
9928 Handle persistent window parameters. Make copy of clone-of
9929 parameter only if requested. (Bug#10348)
9930 (window--state-put-2): Install a window parameter only if it has
9931 a non-nil value or an existing parameter shall be overwritten.
9932
97912def
MA
99332012-01-15 Michael Albinus <michael.albinus@gmx.de>
9934
9935 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9936
688070a5
EZ
99372012-01-14 Eli Zaretskii <eliz@gnu.org>
9938
9939 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9940 don't pass the (nil) value of `upnode' to string-match.
9941
301afadc
CY
99422012-01-14 Chong Yidong <cyd@gnu.org>
9943
9944 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9945 Fix values recognized by the cursorBlink resource.
301afadc 9946
9e5788aa
PE
99472012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9948
9949 * epg.el (epg--make-temp-file): Avoid permission race condition
9950 when running on old Emacs versions (bug#10403).
9951
3cdb7f5a
GM
99522012-01-14 Glenn Morris <rgm@gnu.org>
9953
9954 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9955
8c82b1b4
AM
99562012-01-13 Alan Mackenzie <acm@muc.de>
9957
9958 Fix filling for when filladapt mode is enabled.
9959
9960 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9961 c-mask-paragraph, pass in `fill-paragraph' rather than
9962 `fill-region-as-paragraph'. (This is a reversion of a previous
9963 change.)
eb864a71
LM
9964 * progmodes/cc-mode.el (c-basic-common-init):
9965 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9966
e517eda4
GM
99672012-01-13 Glenn Morris <rgm@gnu.org>
9968
1498536e
GM
9969 * dired.el (dired-switches-escape-p): New function.
9970 (dired-insert-directory): Use dired-switches-escape-p.
9971 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9972
e517eda4
GM
9973 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9974
328f984d
GM
99752012-01-12 Glenn Morris <rgm@gnu.org>
9976
9977 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9978 changes in adaptive-fill-regexp. (Bug#10276)
9979
2cc769a8
AM
99802012-01-11 Alan Mackenzie <acm@muc.de>
9981
9982 Fix Emacs bug #10463 - put `widen's around the critical spots.
9983
1d00653d 9984 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9985 widen around each invocation of c-state-pp-to-literal. Remove an
9986 unused let variable.
9987
e52c37fa
GM
99882012-01-11 Glenn Morris <rgm@gnu.org>
9989
9990 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9991 Doc fix.
e52c37fa 9992
96f8741e
CY
99932012-01-10 Chong Yidong <cyd@gnu.org>
9994
1d00653d
SM
9995 * net/network-stream.el (network-stream-open-starttls):
9996 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9997 response to the capability command.
9998
b09a806e
GM
99992012-01-10 Glenn Morris <rgm@gnu.org>
10000
10001 * mail/unrmail.el (unrmail): Tweak previous change.
10002
7655cb66
CY
100032012-01-09 Chong Yidong <cyd@gnu.org>
10004
10005 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10006
9d5a8f0b
AM
100072012-01-08 Alan Mackenzie <acm@muc.de>
10008
10009 Optimise font locking in long enum definitions.
10010
10011 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10012 arm to a cond form to handle enums.
10013 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10014 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10015
9a0115ab 100162012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10017
10018 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10019 (Bug#10401)
6bb72cbd 10020
f186bb95
LMI
100212012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10022
29232a68
LMI
10023 * faces.el (set-face-attribute): Clarify the meaning of the nil
10024 frame (bug#10294).
10025
4e5d086d
LMI
10026 * subr.el (with-selected-frame): Mention that the selected frame
10027 is restored (bug#9980).
10028
8e66aebe
LMI
10029 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10030 (bug#9759).
10031
cd394be1 10032 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10033 (password-read): Don't autoload unused function.
10034
adf4e762
JB
100352012-01-07 Juanma Barranquero <lekktu@gmail.com>
10036
10037 * progmodes/which-func.el (which-func-mode): Turn into a
10038 non-interactive function and mark as obsolete (bug#10428).
10039
89bd9ccd
CY
100402012-01-06 Chong Yidong <cyd@gnu.org>
10041
10042 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10043 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10044 functions, along with 1 and -1.
10045
4afee9d5
EZ
100462012-01-06 Eli Zaretskii <eliz@gnu.org>
10047
10048 * time.el (display-time-load-average)
10049 (display-time-default-load-average): Doc fixes. See the thread
10050 starting at
10051 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10052 for the details.
10053
536aea70
GM
100542012-01-06 Glenn Morris <rgm@gnu.org>
10055
665ae865
GM
10056 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10057 has no messages. (Bug#10377)
10058
c869783d
GM
10059 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10060 than Info-edit. (Bug#10385)
10061
2bb4227e
GM
10062 * time.el (display-time-load-average, display-time-next-load-average):
10063 Doc fixes.
10064
7d5944b9
GM
10065 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10066 local setting of buffer-read-only to the input buffer. (Bug#10419)
10067
536aea70
GM
10068 * calendar/calendar.el (calendar-mode):
10069 Locally set scroll-margin to 0. (Bug#10379)
10070
7dccca16
UM
100712012-01-06 Ulrich Mueller <ulm@gentoo.org>
10072
10073 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10074
afbb7930
GM
100752012-01-05 Glenn Morris <rgm@gnu.org>
10076
10077 * eshell/em-unix.el (diff-no-select): Autoload it.
10078 (eshell/diff): Use diff-no-select. (Bug#10420)
10079
04482335
CY
100802012-01-05 Chong Yidong <cyd@gnu.org>
10081
7baca3bc
CY
10082 * shell.el (shell-dynamic-complete-functions): Revert last change.
10083 (shell-command-completion-function): New function.
10084 (shell-completion-vars): Use it to implement
10085 shell-completion-execonly (Bug#10417).
10086
04482335
CY
10087 * custom.el (enable-theme): Don't set custom-safe-themes.
10088
1d00653d
SM
10089 * cus-theme.el (custom-theme-merge-theme):
10090 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10091
bb5aa5d6
MM
100922012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10093
10094 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10095 first prompt in `sql-interacive-mode'.
10096 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10097 keywords.
6df6ae42 10098 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10099 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10100 context of original buffer. Invoke `sql-login-hook'.
10101
a7183d7c
EZ
101022012-01-04 Eli Zaretskii <eliz@gnu.org>
10103
10104 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10105 letters in cite-prefix.
10106
a1eacd1e
LMI
101072012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10108
10109 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10110
787cdb34
CY
101112012-01-03 Chong Yidong <cyd@gnu.org>
10112
1d00653d
SM
10113 * shell.el (shell-dynamic-complete-functions):
10114 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10115 comint-filename-completion first (Bug#10417).
10116
30710442
RS
101172012-01-02 Richard Stallman <rms@gnu.org>
10118
10119 * battery.el (battery-status-function):
10120 Detect when to use battery-yeeloong-sysfs.
10121 (battery-echo-area-format): Add string for Yeeloong.
10122 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10123 (battery-yeeloong-sysfs): New function.
10124
f75bfc33
CY
101252012-01-02 Chong Yidong <cyd@gnu.org>
10126
10127 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10128 (dirtrack): Merge code for handling relative filenames in prompt
10129 from shell-dir-cookie-watcher.
10130 (dirtrack-debug-message): New arg to avoid excess format calls.
10131
10132 * shell.el (shell-dir-cookie-re): Variable deleted.
10133 (shell-dir-cookie-watcher): Function deleted.
10134 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10135 with dirtrack-mode.
10136
651e947e
EZ
101372012-01-01 Eli Zaretskii <eliz@gnu.org>
10138
1d00653d
SM
10139 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10140 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10141 libgnutls-26.dll.
10142
94d4c7dc
AS
101432011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10144
10145 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10146
8d43f3cd
EZ
101472011-12-31 Eli Zaretskii <eliz@gnu.org>
10148
10149 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10150 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10151
98c8795a
MA
101522011-12-29 Michael Albinus <michael.albinus@gmx.de>
10153
10154 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10155 also for alternative shells.
10156 (tramp-open-connection-setup-interactive-shell): Check, whether
10157 the shell is a busybox.
10158 (tramp-send-command): Don't suppress multiple prompts for
10159 busyboxes, it hurts.
10160
51281b32
CY
101612011-12-28 Chong Yidong <cyd@gnu.org>
10162
10163 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10164 (gdb-get-source-file): Move mode line update to
10165 gdb-get-source-file (Bug#10087).
10166
2170cb53
CY
101672011-12-25 Chong Yidong <cyd@gnu.org>
10168
10169 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10170 gud-gdb-marker-filter without taking it as an argument.
10171 (gud-gdb-run-command-fetch-lines): Caller changed.
10172 (gud-gdb-completion-function): New variable.
10173 (gud-gdb-completion-at-point): Use it.
10174 (gud-gdb-completions-1): Split from gud-gdb-completions.
10175
10176 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10177 function as separate arguments.
10178 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10179 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10180 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10181 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10182 (gdb-stopped, def-gdb-auto-update-trigger)
10183 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10184 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10185 Callers changed.
2170cb53
CY
10186 (gud-gdbmi-completions): New function.
10187 (gdb): Use it for generating the completion table.
10188
be8b11bb
AM
101892011-12-24 Alan Mackenzie <acm@muc.de>
10190
10191 Introduce a mechanism to widen the region used in context font
1d00653d 10192 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10193
1d00653d
SM
10194 * progmodes/cc-langs.el (c-before-font-lock-functions):
10195 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10196 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10197 functions to be run just before context (etc.) font locking.
10198
10199 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10200 New, functionality extracted from
be8b11bb 10201 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10202 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10203 (c-after-change): Set c-in-after-change-fontification.
10204 (c-set-fl-decl-start): Rejig its interface, so it can be called
10205 from both after-change and context fontifying.
b81d40f0
JB
10206 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10207 New functions.
10208 (c-standard-font-lock-fontify-region-function): New variable.
10209 (c-font-lock-fontify-region): New function.
be8b11bb 10210
341cf6ac
JL
102112011-12-24 Juri Linkov <juri@jurta.org>
10212
10213 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10214 (Bug#10348)
10215
bffcee0a
MA
102162011-12-23 Michael Albinus <michael.albinus@gmx.de>
10217
10218 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10219 existence of source file. (Bug#10325)
10220
cb5e207c
AM
102212011-12-23 Alan Mackenzie <acm@muc.de>
10222
10223 Fix unstable fontification inside templates.
10224
b81d40f0
JB
10225 * progmodes/cc-langs.el (c-before-font-lock-functions):
10226 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10227 additionally has c-set-fl-decl-start. The other languages (apart
10228 from AWK) have that as a single entry.
10229
b81d40f0
JB
10230 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10231 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10232 c-set-fl-decl-start.
10233
b81d40f0
JB
10234 * progmodes/cc-mode.el (c-common-init, c-after-change):
10235 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10236 (c-set-fl-decl-start): New function, extracted from
10237 c-font-lock-enclosing-decls and enhanced.
10238
60ff536c
JB
102392011-12-23 Juanma Barranquero <lekktu@gmail.com>
10240
10241 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10242
1c4757d6
JL
102432011-12-22 Juri Linkov <juri@jurta.org>
10244
10245 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10246
d031f2c7
CY
102472011-12-22 Chong Yidong <cyd@gnu.org>
10248
10249 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10250
bace743a
DA
102512011-12-21 Drew Adams <drew.adams@oracle.com>
10252
10253 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10254
728a1f2b
JC
102552011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10256
10257 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10258
0d373f73
TZ
102592011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10260
fec0aaa4
TZ
10261 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10262 highlighting and support. Fix up comments for capitalization.
10263 (cfengine-mode-debug): New var.
10264 (cfengine3-mode): Change the modeline indicator to "CFE3".
10265 (cfengine3-font-lock-keywords): Improve defun highlighting.
10266 (cfengine2-actions): Rename from `cfengine-actions'.
10267 (cfengine2-font-lock-keywords): Rename from
10268 `cfengine-font-lock-keywords'.
10269 (cfengine2-imenu-expression): Rename from
10270 `cfengine-imenu-expression'.
10271 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10272 (cfengine2-beginning-of-defun): Rename from
10273 `cfengine-beginning-of-defun'.
10274 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10275 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10276 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10277 modeline indicator to "CFE2".
10278 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10279 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10280
bc86f573
CY
102812011-12-21 Chong Yidong <cyd@gnu.org>
10282
10283 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10284 filename argument.
10285
d45ba96b
MR
102862011-12-20 Martin Rudalics <rudalics@gmx.at>
10287
10288 * window.el (window-normalize-buffer-to-display): Remove.
10289 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10290
a6198c90
CY
102912011-12-19 Chong Yidong <cyd@gnu.org>
10292
10293 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10294 Don't signal an error in a predicate function; return non-nil.
10295 (vc-dir-mark-file): Move the error here.
10296 (vc-dir-mark-unmark): If acting on the region, keep going if one
10297 of the entries cannot be marked/unmarked.
10298 (vc-dir-mark-all-files): If current entry is a directory, mark
10299 only child files, as documented.
10300
34c5fb55
VB
103012011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10302
10303 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10304 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10305 addition.
10306
c803b2b7
JD
103072011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10308
10309 * term/ns-win.el (ns-get-selection-internal)
10310 (ns-store-selection-internal): Declare.
1154d12e
JB
10311 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10312 Declare as obsolete.
10313 (ns-get-pasteboard, ns-paste-secondary):
10314 Use ns-get-selection-internal.
41e9b956 10315 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10316 Use ns-store-selection-internal.
c803b2b7 10317
9cff91f8 103182011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10319
10320 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10321 (vc-deduce-fileset): Doc fix.
99a289d9 10322
f16c898a
AS
103232011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10324
10325 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10326
763237c4
SS
103272011-12-13 Sam Steingold <sds@gnu.org>
10328
10329 * man.el (Man-getpage-in-background): When running under a
10330 window-system, ignore $MANWIDTH and $COLUMNS.
10331
5fc1c122
KH
103322011-12-15 Kenichi Handa <handa@m17n.org>
10333
10334 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10335 (setup-ethiopic-environment-internal): Comment out key-binding for
10336 ethio-toggle-punctuation.
10337
13d49cbb
AM
103382011-12-13 Alan Mackenzie <acm@muc.de>
10339
898169a2
AM
10340 Add the switch statement to AWK Mode.
10341
7a71b18d 10342 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10343 "default" to the keywords regexp.
10344
7a71b18d 10345 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10346 expression as the rest.
1d00653d
SM
10347 (c-nonlabel-token-key): Allow string literals for AWK.
10348 Refactor for the other modes.
898169a2 10349
13d49cbb 10350 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10351 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10352 routines. Limit backward searching in c-font-lock-enclosing.decl.
10353
10354 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10355 pp-state and literal type in addition to the limits.
1d00653d 10356 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10357 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10358 (c-slow-in-literal, c-fast-in-literal): Remove.
10359 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10360
10361 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10362 being in a literal. Add a limit for backward searching.
10363
10364 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10365 c-slow-in-literal.
10366
15e0efc7
SM
103672011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10368
10369 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10370
454592a6
MR
103712011-12-13 Martin Rudalics <rudalics@gmx.at>
10372
10373 * window.el (delete-other-windows): Use correct frame in call to
10374 window-with-parameter.
10375
87393f26
DP
103762011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10377
10378 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10379 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10380 (makefile-gmake-statements, makefile-makepp-statements):
10381 Use it and add new makepp keywords.
10382 (makefile-makepp-font-lock-keywords): Add new patterns.
10383 (makefile-match-function-end): Match new [...] and [[...]].
10384
11636b22
JB
103852011-12-11 Juanma Barranquero <lekktu@gmail.com>
10386
10387 * ses.el (ses-call-printer-return, ses-cell-property-get)
10388 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10389 (ses-create-cell-variable, ses-reset-header-string)
10390 (ses-cell-set-formula, ses-repair-cell-reference-all)
10391 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10392 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10393 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10394 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10395 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10396 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10397 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10398 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10399 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10400 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10401 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10402 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10403
cf018193
VB
104042011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10405
10406 * ses.el: The overall change is to add cell renaming, that is
10407 setting fancy names for cell symbols other than name matching
10408 "\\`[A-Z]+[0-9]+\\'" regexp .
10409 (ses-create-cell-variable): New defun.
10410 (ses-relocate-formula): Relocate formulas only for cells the
10411 symbols of which are not renamed, i.e. symbols whose names do not
10412 match regexp "\\`[A-Z]+[0-9]+\\'".
10413 (ses-relocate-all): Relocate values only for cells the symbols of
10414 which are not renamed.
10415 (ses-load): Create cells variables as the (ses-cell ...) are read,
10416 in order to check row col consistency with cell symbol name only
10417 for cells that are not renamed.
10418 (ses-replace-name-in-formula): New defun.
10419 (ses-rename-cell): New defun.
10420
ee957461
CY
104212011-12-11 Chong Yidong <cyd@gnu.org>
10422
10423 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10424 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10425
9a9e9ef0
MR
104262011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10427
10428 * window.el (other-window): Fix docstring.
10429
92a8eba5
EZ
104302011-12-10 Eli Zaretskii <eliz@gnu.org>
10431
10432 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10433 `from' or `to' address before taking its substring.
10434 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10435 encoded name is chopped in the middle of the encoded string, and
10436 thus displayed encoded.
10437
e152e577
JB
104382011-12-10 Juanma Barranquero <lekktu@gmail.com>
10439
10440 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10441
e5d84bfe
EZ
104422011-12-10 Eli Zaretskii <eliz@gnu.org>
10443
10444 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10445 to use texinfo-update-node and commands that call it if the
10446 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10447 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10448 (texinfo-all-menus-update, texinfo-master-menu)
10449 (texinfo-update-node, texinfo-every-node-update)
10450 (texinfo-multiple-files-update): Doc fix. Warn against updating
10451 all the @node lines.
10452 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10453 argument is numeric. Explain better in the doc string what the
10454 function really does.
10455 (texinfo-insert-master-menu-list): Improve the error message
10456 displayed if there's no menu in the Top node.
10457 (Bug#2975) See also this thread:
e5d84bfe
EZ
10458 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10459
1d84e9bb
MG
104602011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10461
10462 * speedbar.el (speedbar-supported-extension-expressions):
10463 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10464
382c953b
JB
104652011-12-09 Juanma Barranquero <lekktu@gmail.com>
10466
10467 * printing.el (pr-mode-alist):
10468 * simple.el (filter-buffer-substring-functions)
10469 (completion-list-insert-choice-function):
10470 * window.el (window-with-parameter, window-atom-root)
10471 (window-sides-slots, window-size-fixed, window-min-delta)
10472 (window-max-delta, window--resize-mini-window)
10473 (window--resize-child-windows-normal, window-tree)
10474 (delete-other-windows, quit-window, split-window)
10475 (display-buffer-record-window, special-display-buffer-names)
10476 (special-display-regexps, special-display-popup-frame)
10477 (same-window-p, split-window-sensibly)
10478 (display-buffer-overriding-action, display-buffer-alist)
10479 (display-buffer-base-action, display-buffer, switch-to-buffer)
10480 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10481 (fit-window-to-buffer, recenter-positions)
10482 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10483 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10484 and remove unneeded backslashes in docstrings.
10485
39c9faef
SM
104862011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10487
98449af8
SM
10488 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10489
39c9faef
SM
10490 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10491 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10492 end in ".mk".
10493 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10494 when reading the makefile (bug#10116).
10495
86ed9fdc
SM
104962011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10497
10498 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10499 (bug#10116).
10500
5580f89d
GM
105012011-12-06 Glenn Morris <rgm@gnu.org>
10502
10503 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10504
28d3917c
CY
105052011-12-06 Chong Yidong <cyd@gnu.org>
10506
10507 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10508
a98edce9
JB
105092011-12-06 Juanma Barranquero <lekktu@gmail.com>
10510
10511 * textmodes/table.el (table-shorten-cell): Fix typo.
10512
e65adfac
CG
105132011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10514
10515 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10516
71cc0b74
EZ
105172011-12-05 Eli Zaretskii <eliz@gnu.org>
10518
10519 * descr-text.el (describe-char): Fix display of strong
10520 right-to-left characters and directional embeddings and overrides.
10521
10522 * simple.el (what-cursor-position): Fix display of codepoints of
10523 strong right-to-left characters.
10524
315bc30d
CY
105252011-12-05 Chong Yidong <cyd@gnu.org>
10526
10527 * faces.el (read-color): Doc fix.
10528
58a70b94
GM
105292011-12-05 Glenn Morris <rgm@gnu.org>
10530
10531 * align.el (align--set-marker): Add doc-string.
10532 Don't try to move something that is not a marker. (Bug#10216)
10533
5158face
GM
105342011-12-04 Glenn Morris <rgm@gnu.org>
10535
10536 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10537 overly zealous deletion of trailing whitespace.
10538
520fca41
JB
105392011-12-04 Juanma Barranquero <lekktu@gmail.com>
10540
10541 * server.el (server-delete-client): On Windows, do not try to delete
10542 the only terminal.
10543 (server-process-filter): On Windows, treat requests for a tty frame as
10544 if they were for a GUI frame if the running server is in GUI mode.
10545
5e605a2e
GM
105462011-12-03 Glenn Morris <rgm@gnu.org>
10547
10548 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10549
5c3fe83f
SM
105502011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10551
6f5e57e7
SM
10552 * electric.el: Streamline electric-indent's hook.
10553 (electric-indent-chars): Revert to simple list.
10554 (electric-indent-functions): New var.
10555 (electric-indent-post-self-insert-function): Use it.
10556
5c3fe83f
SM
10557 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10558 there's no inferior buffer (bug#10196).
10559 (prolog-consult-compile): Don't use toggle-read-only.
10560
6bdac736
MA
105612011-12-02 Michael Albinus <michael.albinus@gmx.de>
10562
10563 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10564 interrupt. (Bug#10187)
10565
6131ba7f
SM
105662011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10567
99c79fee
SM
10568 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10569 (bug#9160).
10570
6131ba7f
SM
10571 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10572 (bug#10191).
10573
cb0a02ea
JL
105742011-12-02 Juri Linkov <juri@jurta.org>
10575
10576 * info.el (Info-search): Display "end of manual" when Isearch
10577 reaches the end of single-file Info manual. (Bug#9918)
10578
66e0570c
EZ
105792011-12-02 Eli Zaretskii <eliz@gnu.org>
10580
10581 * isearch.el (isearch-message-prefix): Run the input method part
10582 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10583
02b16839
JL
105842011-12-02 Juri Linkov <juri@jurta.org>
10585
10586 * isearch.el (isearch-occur): Use `word-search-regexp' for
10587 `isearch-word'.
10588 (isearch-search-and-update): Add condition for `isearch-word' and
10589 call `word-search-regexp'. (Bug#10145)
10590
0b950688
GM
105912011-12-01 Glenn Morris <rgm@gnu.org>
10592
10593 * eshell/em-hist.el (eshell-hist-initialize):
10594 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10595 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10596
9505c3c7
SM
105972011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10600
1bbe96b2 106012011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10602
a1beca85
SM
10603 * progmodes/verilog-mode.el (verilog-pretty-expr):
10604 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10605 verilog, such as += *= and the like.
10606 (verilog-assignment-operator-re): Regular expression to find the
10607 assigment operator in a verilog assignment.
10608 (verilog-assignment-operation-re): Regular expression to find an
10609 assignment statement for pretty-expr.
10610 (verilog-in-attribute-p): Query returns true if point is in an
10611 attribute context; used to skip these for expression line up from
10612 pretty-expr.
10613 (verilog-in-parameter-p): Query returns true if point is in an
10614 parameter definition context; used to skip these for expression
10615 line up from pretty-expr.
10616 (verilog-in-parenthesis-p): Query returns true if point is in a
10617 parenthetical expression, specifically ( ) but not [ ] or { };
10618 used by pretty-expr.
10619 (verilog-just-one-space): If there is no space, don't add one.
10620 (verilog-get-lineup-indent-2): Specifically skip just attribute
10621 contexts for expression lineup, rather than skipping all
10622 parenthetical expressions.
10623 (verilog-calculate-indent): Fix comment, and fix indent.
10624 (verilog-do-indent): Indent declarations in lists (suggested by
10625 Joachim Lechner).
10626 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10627 skeleton items.
10628 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10629 by Alain Mellan).
10630
1bbe96b2 106312011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10632
10633 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10634 parameters with embedded comments. Reported by Ray Stevens.
10635 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10636 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10637 Reported by Tim Holt.
10638 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10639 instantiated by upper module causing wrong expansion until AUTOed a
10640 second time. Reported by K C Buckenmaier.
10641 (verilog-diff-auto): Fix showing .* as a difference when
10642 `verilog-auto-star-save' off. Reported by Dan Dever.
10643 (verilog-auto-reset, verilog-read-always-signals)
10644 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10645 temporary signals in reset list if
10646 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10647 style to each signal's assignment type, bug381.
10648 Reported by Thomas Esposito.
6288f0ca
WS
10649 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10650 (verilog-uvm-statement-re): Support UVM indentation and
10651 highlighting, with old OVM keywords only.
a1beca85 10652 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10653 Support AUTOTIEOFF creating non-wire data types.
10654 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10655 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10656 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10657 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10658 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10659 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10660 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10661 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10662 non-numeric vector width. Reported by Alex Reed.
10663 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10664 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10665 (verilog-auto-delete-trailing-whitespace):
10666 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10667 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10668 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10669 Fix verilog-scan-cache corruption when running user AUTO expansion
10670 hooks that call indentation routines.
10671 (verilog-simplify-range-expression): Fix typo ignoring lower case
10672 identifiers.
10673 (verilog-delete-auto): Fix delete-autos to also remove user created
10674 automatics, as long as they start with AUTO.
10675 (verilog-batch-diff-auto, verilog-diff-auto)
10676 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10677 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10678 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10679 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10680 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10681 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10682 is disabled and its cache will get corrupt, causing AUTOS not to
10683 expand. Instead use only -quick functions.
10684 (verilog-scan-region): Fix scanning over escaped quotes.
10685 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10686 (verilog-re-search-backward-quick)
10687 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10688 related functions now ignore strings, to fix misparsing of strings
10689 with magic comments embedded in them.
a1beca85
SM
10690 (verilog-read-auto-template):
10691 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10692 Reported by Brad Dobbie.
10693 (verilog-read-auto-template):
10694 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10695 Reported by Brad Dobbie.
6288f0ca
WS
10696 (verilog-auto-inst, verilog-auto-inst-param)
10697 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10698 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10699 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10700 debugging templates without merge conflicts, bug357.
10701 Reported by Brad Dobbie.
10702 (verilog-read-auto-template):
10703 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10704 Reported by Brad Dobbie.
10705 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10706 abbrevs so user won't be asked to save.
10707 (verilog-read-auto-lisp-present): Fix to start at beginning of
10708 buffer in case called outside of verilog-auto.
10709 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10710 to "X-2". Reported by Matthew Myers.
10711 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10712 all inputs from module templates. Reported by Leith Johnson.
10713 (verilog-module-inside-filename-p): Fix locating programs as with
10714 modules.
10715 (verilog-auto-inst-port): Fix vl-width expressions when using
10716 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10717 (verilog-decls-get-regs, verilog-decls-get-signals,
10718 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10719 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10720 verilog-read-decls): Combine reg and wire structures into one var
10721 structure to represent SystemVerilog concepts.
10722 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10723 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10724 (verilog-auto-wire-type, verilog-insert-definition):
10725 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10726 SystemVerilog "logic" keyword instead of "wire"/"reg".
10727 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10728 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10729 ifdef or generate if so there's not a driver conflict).
10730 Reported by Matthew Myers.
10731 (verilog-auto-declare-nettype, verilog-insert-definition):
10732 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10733 `default_nettype none. Reported by Julian Gorfajn.
10734 (verilog-read-always-signals-recurse, verilog-read-decls)
10735 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10736 malformed end statement, bug325. Reported by Joshua Wise and
10737 Andrew Drake.
10738 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10739 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10740 when expanding .* in interfaces, bug320.
10741 Reported by Pierre-David Pfister.
6288f0ca 10742 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10743 name and open parenthesis, bug317.
10744 Reported by Pierre-David Pfister.
6288f0ca
WS
10745 (verilog-simplify-range-expression): Fix simplification of
10746 multiplications inside AUTOWIRE connections, bug303.
10747 (verilog-auto-inst-port): Support parameter expansion in
10748 multidimensional arrays.
10749 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10750 after "assert property". Reported by Julian Gorfajn.
10751 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10752 with multiplication, bug303.
10753 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10754 Reported by Jan Frode Lonnum.
10755
1bbe96b2
GM
107562011-11-30 Juanma Barranquero <lekktu@gmail.com>
10757
10758 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10759 (hfy-shell-file-name, hfy-shell):
10760 * international/fontset.el (x-decompose-font-name): Fix typos.
10761
107622011-11-29 Ken Brown <kbrown@cornell.edu>
10763
10764 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10765 (gdb-version): Remove defvar.
10766 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10767 (gdb-gud-context-command, gdb-non-stop-handler)
10768 (gdb-current-context-command, gdb-stopped): Use it.
10769 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10770 (gdb-non-stop-handler): Don't enable pretty-printing here.
10771 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10772 non-stop mode. Use the following.
10773 (gdb-check-target-async): New defun.
10774 (gud-watch, gdb-stopped): Fix whitespace.
10775 (gdb-get-source-file): Don't try to display the source file if
10776 `gdb-main-file' is nil.
10777
107782011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * align.el: Try to generate fewer markers (bug#10047).
10781 (align--set-marker): New macro.
10782 (align-region): Use it.
10783
c935221f
SM
107842011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10785
10786 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10787
e70b5064
CY
107882011-11-29 Chong Yidong <cyd@gnu.org>
10789
10790 * indent.el (indent-for-tab-command, indent-according-to-mode):
10791 Doc fix.
10792 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10793
f3af92b7
MA
107942011-11-29 Michael Albinus <michael.albinus@gmx.de>
10795
10796 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10797 aware of remote file names. (Bug#10124)
10798
ed472be9
CY
107992011-11-29 Chong Yidong <cyd@gnu.org>
10800
10801 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10802
24510c22
SM
108032011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * files.el (find-file): Don't use force-same-window (bug#10144).
10806 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10807 use pop-to-buffer if the selected window can't be used.
10808 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10809
c60c3703
EZ
108102011-11-28 Eli Zaretskii <eliz@gnu.org>
10811
10812 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10813 special-mode-map.
10814
e95def75
CY
108152011-11-28 Chong Yidong <cyd@gnu.org>
10816
10817 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10818
c3f1c606
NR
108192011-11-27 Nick Roberts <nickrob@snap.net.nz>
10820
10821 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10822 gdb-get-source-file-list on gdb-create-source-file-list.
10823
00db469c
EZ
108242011-11-26 Eli Zaretskii <eliz@gnu.org>
10825
10826 * whitespace.el (whitespace-newline): Use a different foreground
10827 color for 16-color light-background displays.
10828
4ad3bc2a
CY
108292011-11-24 Chong Yidong <cyd@gnu.org>
10830
10831 * window.el (display-buffer--special-action): Doc fix.
10832
e9fce1ac
JB
108332011-11-25 Juanma Barranquero <lekktu@gmail.com>
10834
10835 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10836 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10837 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10838 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10839 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10840 (avl-tree-stack-first):
10841 * emacs-lisp/cconv.el (cconv--analyse-use):
10842 * net/gnutls.el (gnutls-negotiate): Fix typos.
10843
cb825e5d
GM
108442011-11-24 Glenn Morris <rgm@gnu.org>
10845
3adbe224
GM
10846 * lpr.el (lpr-windows-system, lpr-lp-system):
10847 * mail/binhex.el (binhex-begin-line):
10848 * progmodes/grep.el (grep-history, grep-find-history):
10849 * textmodes/flyspell.el:
10850 * vc/pcvs-defs.el (cvs-global-menu):
10851 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10852 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10853 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10854
321decc8
GM
10855 * net/tls.el: Fix case of "GnuTLS".
10856
420b63ad
GM
10857 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10858
cb825e5d
GM
10859 * version.el (emacs-build-system): Give it a doc-string.
10860
a0649f08
JL
108612011-11-24 Juri Linkov <juri@jurta.org>
10862
10863 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10864
c0bc0fd4
GM
108652011-11-24 Glenn Morris <rgm@gnu.org>
10866
10867 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10868 if called on a non-mime message just toggle the headers. (Bug#8006)
10869
20db1522
JB
108702011-11-24 Juanma Barranquero <lekktu@gmail.com>
10871
10872 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10873 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10874 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10875 (allout-rebullet-heading, allout-open-sibtopic)
10876 (allout-toggle-current-subtree-encryption)
10877 (allout-toggle-subtree-encryption, allout-encrypt-string)
10878 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10879 (allout-distinctive-bullets-string, allout-auto-activation):
10880 * window.el (window-normalize-buffer-to-display):
10881 * progmodes/verilog-mode.el (verilog-batch-indent):
10882 * textmodes/bibtex.el (bibtex-field-braces-opt)
10883 (bibtex-field-strings-opt):
10884 * vc/cvs-status.el (cvs-tree-merge):
10885 Fix typos.
10886
7262a87c
MA
108872011-11-23 Michael Albinus <michael.albinus@gmx.de>
10888
10889 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10890 `non-essential' to t, in order to avoid remote connections.
10891
283430a1
EZ
108922011-11-23 Eli Zaretskii <eliz@gnu.org>
10893
a1beca85
SM
10894 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10895 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10896 case-insensitively.
10897
d2992a38
ML
108982011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10899
10900 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10901
50419064
GM
109022011-11-23 Glenn Morris <rgm@gnu.org>
10903
da94eca1
GM
10904 * paths.el (rmail-file-name): Reformat the doc-string so that it
10905 is picked up.
10906
9aac4de2
GM
10907 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10908 (rmail-auto-file): Ignore case in the "special" field names,
10909 as mail-fetch-field does for all others.
10910
8038d2d2
GM
10911 * mail/rmail.el (rmail-forward):
10912 * mail/rmailkwd.el (rmail-set-label):
10913 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10914 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10915
f3fe222a
GM
10916 * mail/rmail.el (rmail-current-message): Doc fix.
10917
50419064
GM
10918 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10919
28109f49
SM
109202011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10921
10922 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10923
394c65f1
GM
109242011-11-22 Glenn Morris <rgm@gnu.org>
10925
10926 * mail/rmailmm.el (test-rmail-mime-handler)
10927 (test-rmail-mime-bulk-handler)
10928 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10929
f2a0aa3a
JL
109302011-11-21 Juri Linkov <juri@jurta.org>
10931
1154d12e
JB
10932 * calc/calc.el (calc-read-key-sequence):
10933 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10934
9c34a344
LMI
109352011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10936
10937 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10938 Tell the caller that the next line needs recomputation, even
10939 though it doesn't start a sexp (bug#10094).
10940
f04a3be9
SM
109412011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10942
10943 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10944
7978747f
SM
109452011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10946
f04a3be9
SM
10947 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10948 Use force-same-window.
7978747f 10949
fe7a3057
JB
109502011-11-20 Juanma Barranquero <lekktu@gmail.com>
10951
10952 * descr-text.el (describe-char-unicode-data):
10953 * json.el (json-string-escape):
10954 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10955 (Footnote-unicode, Footnote-style-p):
10956 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10957
24901d61
CY
109582011-11-20 Chong Yidong <cyd@gnu.org>
10959
10960 * window.el (replace-buffer-in-windows): Restore interactive spec.
10961
bac7ff22
SM
109622011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10963
24f3d7b9
SM
10964 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10965
bac7ff22
SM
10966 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10967 (byte-compile-global-not-obsolete-vars): New var.
10968 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10969 Use it.
10970 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10971
cd1181db
JB
109722011-11-20 Juanma Barranquero <lekktu@gmail.com>
10973
10974 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10975 * progmodes/pascal.el (electric-pascal-equal):
10976 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10977 * xml.el (xml-substitute-special): Fix typos.
10978
7fb18e9e
GM
109792011-11-20 Glenn Morris <rgm@gnu.org>
10980
10981 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10982 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10983 Doc fixes.
10984 (rmail-decode-mime-charset): Mark as obsolete.
10985
10986 * mail/rmailsum.el (rmail-message-regexp-p-1):
10987 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10988 Before using mime functions, check they are set. (Bug#10077)
10989
d5a6b3ba
JL
109902011-11-19 Juri Linkov <juri@jurta.org>
10991
10992 * info.el (Info-finder-find-node): Use `package--builtins' instead
10993 of `package-alist'. Use node names formed by the pattern "Keyword "
10994 and the keyword name.
10995
e981b61f
AS
109962011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10997
1d00653d 10998 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10999
3ffbc301
JL
110002011-11-19 Juri Linkov <juri@jurta.org>
11001
11002 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11003 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11004 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11005 `old-history', `old-history-forward'. Add let-binding
11006 `window-selected'. Remove calls to `kill-buffer',
11007 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11008 before calling `Info-find-node', so `Info-find-node-2' will reread
11009 the Info file. Restore window positions only when `window-selected'
11010 is non-nil.
11011
30c62133
JL
110122011-11-19 Juri Linkov <juri@jurta.org>
11013
11014 * isearch.el (isearch-lazy-highlight-new-loop):
11015 Remove condition `(not isearch-error)'. (Bug#9918)
11016
11017 * misearch.el (multi-isearch-search-fun): Add condition
11018 `(not bound)' to ignore lazy-highlighting search.
11019 Add the search-failed message "end of multi" when the end of
11020 multi-sequence is reached. Uncapitalize the search-failed
11021 message "Repeat for next buffer".
11022
11023 * info.el (Info-search): Add the search-failed message
11024 "end of the manual" when the end of the manual is reached
11025 in Isearch mode.
11026
645ca9cf
JL
110272011-11-19 Juri Linkov <juri@jurta.org>
11028
11029 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11030 Use non-destructive `remove' instead of `delete' because
11031 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11032 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11033
df754f66
JL
110342011-11-19 Juri Linkov <juri@jurta.org>
11035
11036 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11037 to nil instead of binding `search-ring' and `regexp-search-ring'.
11038 (Bug#9185)
11039
0e23d96a
EZ
110402011-11-19 Eli Zaretskii <eliz@gnu.org>
11041
11042 * simple.el (line-move): Force movement by logical lines for any
11043 hscrolled window, not only when auto-hscroll-mode is on.
11044 (line-move-visual): Update doc string to that effect. (Bug#10076)
11045
8a6ccb66
AS
110462011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11047
11048 * language/european.el (macintosh): Define as alias for mac-roman.
11049
49ae5b39
EZ
110502011-11-19 Eli Zaretskii <eliz@gnu.org>
11051
11052 * mail/rmailmm.el (rmail-mime-display-header)
11053 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11054 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11055 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11056 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11057 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11058 of a raw aref.
11059 (rmail-mime-entity-segment): To get past the tagline, move forward
11060 2 more lines, to account for the 2 empty lines that precede and
11061 follow the line with the buttons.
11062 (rmail-mime-update-tagline): Move one more line, to get past the
11063 empty line that follows the buttons in the tagline. (Bug#9520)
11064
c56cad4a
MR
110652011-11-19 Martin Rudalics <rudalics@gmx.at>
11066
11067 * window.el (window-max-delta-1, window-min-delta-1)
11068 (window-min-size-1, window-state-get-1, window-state-put-1)
11069 (window-state-put-2): Use "window--" prefix.
11070
cbe71af3
SM
110712011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11072
2ad52c60
SM
11073 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11074 (smie-warning-count): New var.
11075 (smie-set-prec2tab): Use it.
11076 (smie-bnf->prec2): Improve warnings. Add docstring.
11077 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11078 (smie-bnf--set-class): New function.
11079 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11080 corner case.
11081
6944dbc1
SM
11082 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11083 (compilation-error-properties, compilation-move-to-column):
11084 Handle compilation-first-column while in the target buffer.
11085
c400c4d7
SM
11086 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11087 Don't hardcode point-min==1.
11088
6dbe3e96
SM
11089 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11090 (eshell-rewrite-for-command): Remove workaround.
11091 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11092 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11093 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11094
cbe71af3
SM
11095 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11096
a8e1496d
GM
110972011-11-17 Glenn Morris <rgm@gnu.org>
11098
11099 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11100 Ignore buffer-local generated-autoload-file if it is the same
11101 as the global value. (Bug#10049)
11102
df85d315
JB
111032011-11-17 Juanma Barranquero <lekktu@gmail.com>
11104
11105 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11106 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11107 (reftex-toc-previous-heading, reftex-toc-max-level)
11108 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11109 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11110 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11111 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11112 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11113 (reftex-toc-rename-label, reftex-toc-visit-location)
11114 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11115 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11116 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11117 leaving "*toc*" only for references to the buffer.
11118
a0c2d0ae
MR
111192011-11-17 Martin Rudalics <rudalics@gmx.at>
11120
11121 * window.el (window-resize, delete-window, split-window):
11122 Replace window-splits by window-combination-resize.
1d00653d 11123 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11124
35c0bac8
GM
111252011-11-17 Glenn Morris <rgm@gnu.org>
11126
11127 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11128 Make bash entry derive from sh entry, not shell entry.
11129
d0c8fc8a
MA
111302011-11-16 Michael Albinus <michael.albinus@gmx.de>
11131
7262a87c
MA
11132 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11133 local file name.
11134
7877f373
JB
111352011-11-16 Juanma Barranquero <lekktu@gmail.com>
11136
11137 * menu-bar.el (menu-bar-file-menu):
11138 * printing.el (pr-ps-utility):
11139 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11140 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11141 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11142 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11143 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11144 (icalendar--convert-cyclic-to-ical)
11145 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11146 (icalendar--convert-ical-to-diary)
11147 (icalendar--convert-recurring-to-diary)
11148 (icalendar--convert-non-recurring-all-day-to-diary)
11149 (icalendar-import-format-sample):
11150 * progmodes/idlw-shell.el (idlwave-shell-mode):
11151 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11152 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11153 (vhdl-ps-print-init): Fix typos.
11154
10649b82
KM
111552011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11156
9d0cfcd6
GM
11157 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11158 FSF and collapse date sequence, obscure author/maintainer email address
11159 better, remove extra version line, track relocation of author's webpage.
10649b82 11160
9d0cfcd6
GM
11161 * progmodes/python.el (python-pdbtrack-input-prompt)
11162 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11163 regular python pdb prompts. Adjustments shamelessly taken exactly as
11164 suggested in EmacsWiki page (tiny change):
11165 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11166
58179cce
JB
111672011-11-16 Juanma Barranquero <lekktu@gmail.com>
11168
11169 * expand.el (expand-pos, expand-index, expand-point):
11170 Remove redundant info from docstring.
11171 (expand-add-abbrevs): Doc fix.
11172 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11173 (expand-sample-perl-mode-expand-list): Fix typos.
11174
11175 * net/dbus.el (dbus-event-member-name):
11176 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11177 * term/pc-win.el (msdos-create-frame-with-faces):
11178 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11179
b6f67890
MR
111802011-11-16 Martin Rudalics <rudalics@gmx.at>
11181
11182 * window.el (split-window, window-state-get-1)
11183 (window-state-put-1, window-state-put-2): Rename occurrences of
11184 window-nest to window-combination-limit.
1d00653d 11185 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11186
ce7ddba0
CY
111872011-11-16 Chong Yidong <cyd@gnu.org>
11188
11189 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11190 regexp (Bug#10033).
11191
3ae704f4
SM
111922011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11193
11194 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11195 `completing-read' will remove *Completions* and will preserve
11196 current-buffer for us.
11197 (tmm-add-prompt): Users of *Completions* will always (re)set its
11198 major mode.
11199 (tmm-old-comp-map): Remove.
11200
6ad1cdde
GM
112012011-11-16 Glenn Morris <rgm@gnu.org>
11202
11203 * mail/rmailedit.el: Require rmailmm when compiling.
11204 (rmail-old-mime-state): New declaration.
11205 (rmail-edit-current-message): If editing a mime message,
11206 edit the "raw" message from the mbox buffer.
11207 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11208
d20faa20
GM
112092011-11-15 Glenn Morris <rgm@gnu.org>
11210
11211 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11212 which wasn't being used. Add optional arg to force given state.
11213 (rmail-mime): Add optional arg to force given state.
11214
c7015153
JB
112152011-11-15 Juanma Barranquero <lekktu@gmail.com>
11216
11217 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11218 * frame.el (display-mm-dimensions-alist):
11219 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11220 (outline-move-subtree-down):
11221 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11222 (newsticker--treeview-do-get-node):
11223 * net/quickurl.el (quickurl-list-buffer-name):
11224 * progmodes/dcl-mode.el (dcl-mode):
11225 * progmodes/gdb-mi.el (gdb-mapcar*):
11226 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11227
45261b50
GM
112282011-11-15 Glenn Morris <rgm@gnu.org>
11229
11230 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11231 in a boolean sense, so just make it a boolean, and fix the doc.
11232 (rmail-show-mime-function, rmail-mime-feature)
11233 (rmail-require-mime-maybe): Doc fixes.
11234 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11235
11236 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11237
0d26e0b6
JB
112382011-11-15 Juanma Barranquero <lekktu@gmail.com>
11239
11240 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11241 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11242 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11243 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11244
447f30f6
GM
112452011-11-15 Glenn Morris <rgm@gnu.org>
11246
672b871d
GM
11247 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11248 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11249 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11250 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11251 (rmail-mime, rmail-show-mime): Doc fixes.
11252
f6aa5bb1
GM
11253 * term/ns-win.el (mode-line-frame-identification):
11254 Leave it alone. (Bug#10051)
11255
947cd66b
GM
11256 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11257
447f30f6
GM
11258 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11259 Handle empty buffers. (Bug#9978)
11260
0b381c7e
JB
112612011-11-14 Juanma Barranquero <lekktu@gmail.com>
11262
11263 * international/mule.el (define-charset):
11264 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11265 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11266 * progmodes/verilog-mode.el (verilog-backward-token):
11267 * textmodes/ispell.el (lookup-words):
11268 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11269
71e027ac
GM
112702011-11-14 Glenn Morris <rgm@gnu.org>
11271
56632ce4
GM
11272 * progmodes/executable.el
11273 (executable-make-buffer-file-executable-if-script-p):
11274 Handle file-modes returning nil.
11275
40500957
GM
11276 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11277 message - not necessary, and causes problems. (Bug#9831)
11278
071c2340
GM
11279 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11280
d3cfca60
GM
11281 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11282
71e027ac
GM
11283 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11284 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11285 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11286
89d61221
MR
112872011-11-12 Martin Rudalics <rudalics@gmx.at>
11288
11289 * window.el (window-resize, delete-window): Use window-splits
11290 variable instead of function.
11291 (window-state-get-1, window-state-put-2, window-state-put):
11292 Don't deal with windows' splits status.
11293
98282f6f
GM
112942011-11-12 Glenn Morris <rgm@gnu.org>
11295
11296 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11297 (apropos-documentation): Doc fixes.
11298
40a8bdf6
JB
112992011-11-11 Juanma Barranquero <lekktu@gmail.com>
11300
11301 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11302 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11303
65bd19ff
SM
113042011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * electric.el (electric-indent-post-self-insert-function): Make it
11307 possible for a char to only indent in some circumstances.
11308 (electric-indent-mode): Simplify.
11309
54f9154c
MR
113102011-11-11 Martin Rudalics <rudalics@gmx.at>
11311
11312 * window.el (windows-with-parameter): Remove unused function.
11313 (windows-at-side): Rename to window-at-side-list.
11314 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11315 (window-side-check, window-size-ignore, window-size-fixed-1)
11316 (window-in-direction-2): Prefix with "window--".
11317 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11318
68cbc58b
GM
113192011-11-11 Glenn Morris <rgm@gnu.org>
11320
11321 * subr.el (eval-after-load): If FILE is already loaded,
11322 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11323
b2621720
GM
113242011-11-10 Glenn Morris <rgm@gnu.org>
11325
9a4de110
GM
11326 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11327 Call svn via vc-svn-command rather than vc-do-command.
11328 (vc-svn-command): Add --non-interactive. (Bug#9993)
11329 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11330
b2621720
GM
11331 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11332 Add toggle-read-only. (Bug#7292)
11333 * files.el (toggle-read-only): Mention that it should only
11334 be used interactively. (Bug#10006)
11335
1dce7193
SM
113362011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11337
d9ac1a1e
SM
11338 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11339 Adjust regexp for OCaml warnings.
11340
0c325082
SM
11341 * electric.el (electric-pair-post-self-insert-function): Let user
11342 turn it off buffer-locally (bug#9932).
11343
90132c14
SM
11344 * progmodes/python.el (python-beginning-of-statement):
11345 Rewrite (bug#2703).
11346
1dce7193
SM
11347 * progmodes/compile.el: Better handle TABs (bug#9749).
11348 (compilation-internal-error-properties)
11349 (compilation-next-error-function): Obey the target buffer's
11350 compilation-error-screen-columns.
11351
c4e7c63a
JB
113522011-11-09 Juanma Barranquero <lekktu@gmail.com>
11353
11354 * progmodes/meta-mode.el: Remove obsolete comments.
11355 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11356 Fix typos in docstrings.
11357
2cffd681
MR
113582011-11-09 Martin Rudalics <rudalics@gmx.at>
11359
11360 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11361 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11362 (window--resizable): New function. Make all callers of
11363 window-resizable call window--resizable instead.
11364 (window-resizable): Rewrite in terms of window--resizable.
11365
0edcba87
GM
113662011-11-08 Glenn Morris <rgm@gnu.org>
11367
11368 * progmodes/delphi.el (delphi-mode-syntax-table):
11369 Let define-derived-mode define a proper syntax table. (Bug#9994)
11370
4b0d61e3
SM
113712011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11372
11373 * window.el: Stay away from defsubst.
11374 (window-list-no-nils): Remove.
11375 (window-state-get-1, window-state-get): Use backquote instead.
11376
cd394be1 113772011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11378
4b0d61e3 11379 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11380 Fix incorrect use of default argument in `completing-read'.
11381
e1c2c6f2
MR
113822011-11-08 Martin Rudalics <rudalics@gmx.at>
11383
11384 * window.el (display-buffer-function, special-display-function):
11385 Mention display-buffer-record-window but do not mention
11386 help-setup parameter in doc-strings.
b3f4a882 11387 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11388
105216ed
CY
113892011-11-08 Chong Yidong <cyd@gnu.org>
11390
11391 * window.el (window-total-height, window-total-width): Doc fix.
11392 (window-body-size): Move from C.
11393 (window-body-height, window-body-width): Move to C.
11394
0a9f9ab5
SM
113952011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11396
11397 * window.el: Make special-display like display-buffer-alist (bug#9532).
11398 (display-buffer--special-action): New function, morphed
11399 from display-buffer--special.
11400 (display-buffer): Use it to handle special-display-buffers at higher
11401 priority (just after display-buffer-alist).
11402 (display-buffer-fallback-action, display-buffer--other-frame-action)
11403 (pop-to-buffer-same-window): Remove display-buffer--special.
11404
a769dd15
GM
114052011-11-07 Glenn Morris <rgm@gnu.org>
11406
11407 * calendar/cal-menu.el (cal-menu-set-date-title):
11408 Do nothing if not in a calendar. (Bug#9976)
11409
05a61ee3
SM
114102011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11411
11412 * files.el (find-file): Always use selected-window.
11413
be7f5545
MR
114142011-11-07 Martin Rudalics <rudalics@gmx.at>
11415
11416 * window.el (window-combinations): Make WINDOW argument
11417 mandatory. Rewrite doc-string.
11418 (walk-window-subtree, window-atom-check, window-min-delta)
11419 (window-max-delta, window--resize-this-window)
11420 (window--resize-root-window-vertically, window-tree)
11421 (balance-windows, window-state-put): Rewrite doc-strings as to
11422 not mention the term "subwindow".
11423 (window--resize-subwindows-skip-p): Rename to
11424 window--resize-child-windows-skip-p.
11425 (window--resize-subwindows-normal): Rename to
11426 window--resize-child-windows-normal.
11427 (window--resize-subwindows): Rename to
11428 window--resize-child-windows.
11429 (window-or-subwindow-p): Rename to window--in-subtree-p.
11430
3c6702ef
ML
114312011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11432
11433 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11434 Ensure that mbox format messages end in two newlines (Bug#9974).
11435
49745b39
CY
114362011-11-06 Chong Yidong <cyd@gnu.org>
11437
11438 * window.el (window-combination-p): Function deleted; its
11439 side-effect is not used in any existing code.
11440 (window-combinations, window-combined-p): Call window-*-child
11441 directly.
11442
24300f5f
CY
114432011-11-05 Chong Yidong <cyd@gnu.org>
11444
11445 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11446 (window-size-ignore, window-state-get): Callers changed.
11447 (window-normalize-window): Rename from window-normalize-any-window.
11448 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11449 (window-normalize-live-window): Delete.
447f16b8
CY
11450 (window-combination-p, window-combined-p, window-combinations)
11451 (walk-window-subtree, window-atom-root, window-min-size)
11452 (window-sizable, window-sizable-p, window-size-fixed-p)
11453 (window-min-delta, window-max-delta, window-resizable)
11454 (window-resizable-p, window-full-height-p, window-full-width-p)
11455 (window-current-scroll-bars, window-point-1, set-window-point-1)
11456 (window-at-side-p, window-in-direction, window-resize)
11457 (adjust-window-trailing-edge, maximize-window, minimize-window)
11458 (window-deletable-p, delete-window, delete-other-windows)
11459 (record-window-buffer, unrecord-window-buffer)
11460 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11461 (quit-window, split-window, window-state-put)
11462 (set-window-text-height, fit-window-to-buffer)
11463 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11464
89bd5ee1
EZ
114652011-11-04 Eli Zaretskii <eliz@gnu.org>
11466
53479029
EZ
11467 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11468 rfc2047-decode-string.
11469 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11470 warnings.
11471
89bd5ee1
EZ
11472 * window.el (window-body-height, window-body-width): Mention in
11473 the doc string that the return values are in frame's canonical
11474 units. (Bug#9949)
11475
bd17fdee
AM
114762011-11-03 Alan Mackenzie <acm@muc.de>
11477
11478 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11479 change in cc-engine.el.
11480
acc825c5
SM
114812011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11482
11483 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11484
1885e5b8
MR
114852011-11-02 Martin Rudalics <rudalics@gmx.at>
11486
11487 * window.el (quit-window): Call unrecord-window-buffer after
11488 showing another buffer in the window. (Bug#9937)
acc825c5 11489 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11490
ebe06da9
JB
114912011-11-02 Juanma Barranquero <lekktu@gmail.com>
11492
11493 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11494 Accept status with more than 9 shelves. (Bug#9935)
11495 Reported by Colin D Bennett <colin@gibibit.com>.
11496
4ee88440
MR
114972011-11-01 Martin Rudalics <rudalics@gmx.at>
11498
11499 * help.el (with-help-window): Don't reference
11500 temp-buffer-show-specifiers in doc-string.
11501
08e1d82c
AS
115022011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11503
11504 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11505 menu-item.
11506
84bd6e9e
VJL
115072011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11508
11509 * whitespace.el: New version 13.2.2.
11510 (whitespace-newline-mode): Disable properly. Reported by Sarah
11511 <EmacsWiki>.
11512
dba0634a
UJ
115132011-10-30 Ulf Jasper <ulf.jasper@web.de>
11514
11515 * net/newst-treeview.el: Remove "Time-stamp".
11516 (newsticker--group-manage-orphan-feeds): Do not call
11517 newsticker--treeview-tree-update.
db22a3c2
JB
11518 (newsticker-treeview-update, newsticker-treeview):
11519 Call newsticker--treeview-tree-update if necessary.
dba0634a 11520
3d8daefe
MR
115212011-10-30 Martin Rudalics <rudalics@gmx.at>
11522
11523 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11524 (window-iso-combinations): Remove "iso-" infix.
11525 Suggested by Chong Yidong.
3d8daefe
MR
11526 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11527 (window-max-delta-1, window-resize, window--resize-siblings)
11528 (window--resize-this-window, adjust-window-trailing-edge)
11529 (split-window, balance-windows-1)
11530 (shrink-window-if-larger-than-buffer):
11531 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11532 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11533
1bc4c3ae
SM
115342011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11535
11536 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11537 in place (bug#9907).
11538 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11539 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11540 (eshell-structure-basic-command, eshell-rewrite-while-command)
11541 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11542 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11543 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11544 (eshell-do-pipelines-synchronously, eshell-eval-command):
11545 Use backquotes and prefer setq to set.
11546 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11547 (eshell-macrop): Use functionp.
c1e2f5fa 11548 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11549
30b65d9c
CY
115502011-10-30 Chong Yidong <cyd@gnu.org>
11551
11552 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11553 instead of set-mark (Bug#9810).
11554
2d197ffb
CY
115552011-10-30 Chong Yidong <cyd@gnu.org>
11556
11557 * window.el (split-window-below, split-window-right): Rename from
11558 split-window-above-each-other and split-window-side-by-side
11559 respectively. All callers changed.
11560 (split-window-sensibly, split-window-sensibly): Use them.
11561 (split-window-keep-point): Doc fix.
11562
11563 * isearch.el: Add isearch-scroll property to split-window-below
11564 and split-window-right.
11565
11566 * follow.el (follow-mode):
11567 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11568 * progmodes/ada-xref.el (ada-gdb-application):
11569 * emulation/vip.el (vip-buffer-in-two-windows):
11570 * image-dired.el (image-dired-dired-with-window-configuration):
11571 * dired-x.el (dired-do-find-marked-files):
11572 * dired.el (dired-pop-to-buffer):
11573 * bs.el (bs--show-with-configuration):
11574 * vc/emerge.el (emerge-setup-windows):
11575 * textmodes/two-column.el (2C-two-columns):
11576 * textmodes/reftex-toc.el (reftex-toc):
11577 * progmodes/gdb-mi.el (gdb-setup-windows):
11578 * progmodes/fortran.el (fortran-window-create):
11579 * net/newst-treeview.el (newsticker--treeview-window-init):
11580 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11581 * emulation/tpu-edt.el (tpu-gold-map):
11582 * emulation/crisp.el (crisp-mode-map):
11583 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11584
38bb2ca8
CY
115852011-10-29 Chong Yidong <cyd@gnu.org>
11586
aa4de341
CY
11587 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11588
e1eb5385
CY
11589 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11590
5d2ece3c
CY
11591 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11592 forged Ispell output (Bug#7904).
11593
38bb2ca8
CY
11594 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11595
d0af9f77
SM
115962011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11597
11598 * doc-view.el: Avoid ugly errors about not finding nil.
11599 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11600 (doc-view-dvipdf-program, doc-view-unoconv-program)
11601 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11602 Avoid nil or absolute file name as default value.
11603 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11604
52bedd34
AM
116052011-10-28 Alan Mackenzie <acm@muc.de>
11606
db22a3c2 11607 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11608
7e43cfa5
AM
116092011-10-28 Alan Mackenzie <acm@muc.de>
11610
11611 Amend the handling of c-beginning/end-of-defun in nested declaration
11612 scopes.
11613
52bedd34
AM
11614 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11615 cc-langs.el. Change it to a defcustom.
7e43cfa5 11616
52bedd34
AM
11617 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11618 cc-vars.el.
7e43cfa5 11619
d0af9f77
SM
11620 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11621 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11622
52bedd34 11623 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11624 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11625 (c-widen-to-enclosing-decl-scope): New function.
11626 (c-while-widening-to-decl-block): New macro.
11627 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11628 outward for defun boundaries, and correspondingly change symbol
11629 `respect-enclosure' to `go-outward'.
11630 (c-declaration-limits): Change algorithm to report only the "innermost"
11631 defun's boundaries.
11632
1a2ce9ee
DD
116332011-10-28 Deniz Dogan <deniz@dogan.se>
11634
11635 * net/rcirc.el (rcirc-mode): Use hard newlines.
11636
bc97a826
AM
116372011-10-28 Alan Mackenzie <acm@muc.de>
11638
11639 Amend to indent and fontify macros "which include their own semicolon"
11640 correctly, using the "virtual semicolon" mechanism.
11641
52bedd34 11642 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11643
d0af9f77 11644 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11645 Recode to scan one line at a time rather than having \n and \r
58179cce 11646 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11647 (c-forward-label): Amend for virtual semicolons.
58179cce 11648 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11649
52bedd34
AM
11650 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11651 of the new C macros.
bc97a826 11652
52bedd34 11653 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11654 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11655 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11656 (c-opt-cpp-macro-define): Make into a full language variable.
11657 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11658 AWK Mode (including \n, \r) removed, no longer needed.
11659
d0af9f77
SM
11660 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11661 Invoke c-make-macro-with-semi-re.
bc97a826 11662
52bedd34
AM
11663 * progmodes/cc-vars.el (c-macro-with-semi-re):
11664 (c-macro-names-with-semicolon): New variables.
58179cce 11665 (c-make-macro-with-semi-re): New function.
bc97a826 11666
7a6c0941
SM
116672011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11668
11669 * vc/log-edit.el: Fill empty field rather than adding new one.
11670 (log-edit-add-field): New function.
11671 (log-edit-insert-changelog): Use it.
11672
b0c4cdcf
ML
116732011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11674
11675 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11676
ee1f1da9
SM
116772011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11680 (gdb--check-interpreter): New function.
11681 (gdb): Use it.
11682
51bc5f8b
GM
116832011-10-27 Glenn Morris <rgm@gnu.org>
11684
416a2c45
GM
11685 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11686 (least-positive-float, least-negative-float)
11687 (least-positive-normalized-float, least-negative-normalized-float)
11688 (float-epsilon, float-negative-epsilon):
11689 Remove unnecessary declarations.
11690
11691 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11692 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11693 (least-positive-float, least-negative-float)
11694 (least-positive-normalized-float, least-negative-normalized-float)
11695 (float-epsilon, float-negative-epsilon): Add doc-strings,
11696 based on those in cl.texi.
11697
51bc5f8b
GM
11698 * files.el (set-visited-file-name): If the major-mode changed,
11699 reload the local variables. (Bug#9796)
11700
15de15c6
CY
117012011-10-27 Chong Yidong <cyd@gnu.org>
11702
11703 * subr.el (change-major-mode-after-body-hook): New hook.
11704 (run-mode-hooks): Run it.
11705
ee1f1da9
SM
11706 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11707 Use change-major-mode-before-body-hook.
15de15c6
CY
11708
11709 * simple.el (fundamental-mode):
11710 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11711 change introducing fundamental-mode-hook.
11712
5430d399
JB
117132011-10-26 Juanma Barranquero <lekktu@gmail.com>
11714
acc825c5 11715 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11716
ad74a69e
MA
117172011-10-26 Michael Albinus <michael.albinus@gmx.de>
11718
11719 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11720 tramp.el explicitly. (Bug#7583)
ad74a69e 11721
71d4c2a5
SM
117222011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * progmodes/octave-mod.el:
11725 * progmodes/octave-inf.el: Update maintainer.
11726
b1f6fa26
CY
117272011-10-26 Chong Yidong <cyd@gnu.org>
11728
11729 * subr.el (with-wrapper-hook): Rewrite doc.
11730
3f04efd6
MA
117312011-10-25 Michael Albinus <michael.albinus@gmx.de>
11732
11733 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11734 filenames "/method:foo:". (Bug#9793)
3f04efd6 11735
410488d3
SM
117362011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11737
11738 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11739 (bug#9865).
11740
c1ebb47e
GM
117412011-10-24 Glenn Morris <rgm@gnu.org>
11742
11743 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11744
7f5c46c7
MA
117452011-10-24 Michael Albinus <michael.albinus@gmx.de>
11746
11747 * notifications.el: Add the requirement of a running D-Bus session
11748 bus to the Commentary.
11749
db2440b6
JL
117502011-10-24 Juri Linkov <juri@jurta.org>
11751
11752 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11753 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11754 (Bug#9364)
11755
feecf435
JL
117562011-10-24 Juri Linkov <juri@jurta.org>
11757
11758 * info.el (Info-following-node-name-re): Add newline to the list
11759 of allowed characters for leading space. (Bug#9824)
11760
a3839de2
SM
117612011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11762
acc825c5
SM
11763 * progmodes/octave-inf.el (inferior-octave-mode-map):
11764 Fix C-c C-h binding.
a3839de2
SM
11765 * progmodes/octave-mod.el (octave-help): Remove.
11766
09388e76
MA
117672011-10-23 Michael Albinus <michael.albinus@gmx.de>
11768
11769 Sync with Tramp 2.2.3.
11770
11771 * net/tramp-cache.el (top): Pacify byte-compiler using
11772 `init-file-user' and `site-run-file'.
11773
11774 * net/trampver.el: Update release number.
11775
86c60681
CY
117762011-10-23 Chong Yidong <cyd@gnu.org>
11777
11778 * files.el (toggle-read-only): Remove obsolete comment about
11779 version control.
11780
11781 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11782 for toggle-read-only. Note that this hasn't called vc-next-action
11783 since 2008-05-02, though it wasn't documented at the time.
11784
a3839de2
SM
11785 * vc/ediff-init.el (ediff-toggle-read-only-function):
11786 Use toggle-read-only.
86c60681 11787
cd5495ff
AM
117882011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11789
11790 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11791 of c-parse-state.
11792
00b77525 11793 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11794 correct faulty logical expression.
cd5495ff
AM
11795 (c-parse-state-state, c-record-parse-state-state):
11796 (c-replay-parse-state-state): New defvar/defuns.
11797 (c-debug-parse-state): Use new functions.
11798
42ee24ed
MR
117992011-10-22 Martin Rudalics <rudalics@gmx.at>
11800
11801 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11802 last fix. Use window-in-direction correctly.
42ee24ed 11803
a7dee7e7
CY
118042011-10-21 Chong Yidong <cyd@gnu.org>
11805
11806 * progmodes/idlwave.el (idlwave-mode):
11807 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11808 require-final-newline; that's done in prog-mode.
11809 Suggested by Stefan Monnier.
a7dee7e7 11810
e07b9a6d
MR
118112011-10-21 Martin Rudalics <rudalics@gmx.at>
11812
11813 * mouse.el (mouse-drag-window-above)
11814 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11815 (mouse-drag-mode-line-1, mouse-drag-header-line)
11816 (mouse-drag-vertical-line-rightward-window): Remove.
11817 (mouse-drag-line): New function.
11818 (mouse-drag-mode-line, mouse-drag-header-line)
11819 (mouse-drag-vertical-line): Call mouse-drag-line.
11820 * window.el (window-at-side-p, windows-at-side): New functions.
11821
7e1361d9
UM
118222011-10-21 Ulrich Mueller <ulm@gentoo.org>
11823
11824 * tar-mode.el (tar-grind-file-mode):
11825 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11826
30fcaf3a
CY
118272011-10-21 Chong Yidong <cyd@gnu.org>
11828
11829 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11830 * progmodes/vera-mode.el (vera-mode):
11831 Use mode-require-final-newline.
30fcaf3a 11832
516eddb0
GM
118332011-10-20 Glenn Morris <rgm@gnu.org>
11834
db22a3c2 11835 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11836
10d5f513
CS
118372011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11838
11839 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11840
ac6c8639
CY
118412011-10-20 Chong Yidong <cyd@gnu.org>
11842
11843 * emulation/cua-base.el (cua-mode):
11844 * mail/footnote.el (footnote-mode):
11845 * mail/mailabbrev.el (mail-abbrevs-mode):
11846 * net/xesam.el (xesam-minor-mode):
11847 * progmodes/bug-reference.el (bug-reference-mode):
11848 * progmodes/cap-words.el (capitalized-words-mode):
11849 * progmodes/compile.el (compilation-minor-mode)
11850 (compilation-shell-minor-mode):
11851 * progmodes/gud.el (gud-tooltip-mode):
11852 * progmodes/hideif.el (hide-ifdef-mode):
11853 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11854 * progmodes/subword.el (subword-mode):
11855 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11856 * progmodes/which-func.el (which-function-mode):
11857 * term/tvi970.el (tvi970-set-keypad-mode):
11858 * term/vt100.el (vt100-wide-mode):
11859 * textmodes/flyspell.el (flyspell-mode):
11860 * textmodes/ispell.el (ispell-minor-mode):
11861 * textmodes/nroff-mode.el (nroff-electric-mode):
11862 * textmodes/paragraphs.el (use-hard-newlines):
11863 * textmodes/refill.el (refill-mode):
11864 * textmodes/reftex.el (reftex-mode):
11865 * textmodes/rst.el (rst-minor-mode):
11866 * textmodes/sgml-mode.el (html-autoview-mode)
11867 (sgml-electric-tag-pair-mode):
11868 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11869 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11870 * emulation/crisp.el (crisp-mode):
11871 * emacs-lisp/eldoc.el (eldoc-mode):
11872 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11873 minor mode behavior.
11874
aa42ab43
JL
118752011-10-19 Juri Linkov <juri@jurta.org>
11876
11877 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11878 the list of hard-coded chars with escape-glyph face.
11879
89400f1d
SM
118802011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11881
11882 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11883
305c07f6
MA
118842011-10-19 Michael Albinus <michael.albinus@gmx.de>
11885
11886 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11887 running process.
11888
13754b54
GM
118892011-10-19 Glenn Morris <rgm@gnu.org>
11890
11891 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11892 Ignore ignored files. (Bug#9726)
11893
06e21633
CY
118942011-10-19 Chong Yidong <cyd@gnu.org>
11895
11896 Doc fix for minor modes, stating that an omitted argument enables
11897 the mode unconditionally when called from Lisp.
11898
11899 * abbrev.el (abbrev-mode):
11900 * allout.el (allout-mode):
11901 * autoinsert.el (auto-insert-mode):
11902 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11903 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11904 (global-auto-revert-mode):
11905 * battery.el (display-battery-mode):
11906 * composite.el (global-auto-composition-mode)
11907 (auto-composition-mode):
11908 * delsel.el (delete-selection-mode):
11909 * desktop.el (desktop-save-mode):
11910 * dired-x.el (dired-omit-mode):
11911 * dirtrack.el (dirtrack-mode):
11912 * doc-view.el (doc-view-minor-mode):
11913 * double.el (double-mode):
11914 * electric.el (electric-indent-mode, electric-pair-mode):
11915 * emacs-lock.el (emacs-lock-mode):
11916 * epa-hook.el (auto-encryption-mode):
11917 * follow.el (follow-mode):
11918 * font-core.el (font-lock-mode):
11919 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11920 * help.el (temp-buffer-resize-mode):
11921 * hilit-chg.el (highlight-changes-mode)
11922 (highlight-changes-visible-mode):
11923 * hi-lock.el (hi-lock-mode):
11924 * hl-line.el (hl-line-mode, global-hl-line-mode):
11925 * icomplete.el (icomplete-mode):
11926 * ido.el (ido-everywhere):
11927 * image-file.el (auto-image-file-mode):
11928 * image-mode.el (image-minor-mode):
11929 * iswitchb.el (iswitchb-mode):
11930 * jka-cmpr-hook.el (auto-compression-mode):
11931 * linum.el (linum-mode):
11932 * longlines.el (longlines-mode):
11933 * master.el (master-mode):
11934 * mb-depth.el (minibuffer-depth-indicate-mode):
11935 * menu-bar.el (menu-bar-mode):
11936 * minibuf-eldef.el (minibuffer-electric-default-mode):
11937 * mouse-sel.el (mouse-sel-mode):
11938 * msb.el (msb-mode):
11939 * mwheel.el (mouse-wheel-mode):
11940 * outline.el (outline-minor-mode):
11941 * paren.el (show-paren-mode):
11942 * recentf.el (recentf-mode):
11943 * reveal.el (reveal-mode, global-reveal-mode):
11944 * rfn-eshadow.el (file-name-shadow-mode):
11945 * ruler-mode.el (ruler-mode):
11946 * savehist.el (savehist-mode):
11947 * scroll-all.el (scroll-all-mode):
11948 * scroll-bar.el (scroll-bar-mode):
11949 * server.el (server-mode):
11950 * shell.el (shell-dirtrack-mode):
11951 * simple.el (auto-fill-mode, transient-mark-mode)
11952 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11953 (line-number-mode, column-number-mode, size-indication-mode)
11954 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11955 * strokes.el (strokes-mode):
11956 * time.el (display-time-mode):
11957 * t-mouse.el (gpm-mouse-mode):
11958 * tool-bar.el (tool-bar-mode):
11959 * tooltip.el (tooltip-mode):
11960 * type-break.el (type-break-mode-line-message-mode)
11961 (type-break-query-mode):
11962 * view.el (view-mode):
11963 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11964 (global-whitespace-mode, global-whitespace-newline-mode):
11965 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11966
a3839de2
SM
11967 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11968 Fix autogenerated docstring.
06e21633 11969
5214e501
JL
119702011-10-19 Juri Linkov <juri@jurta.org>
11971
11972 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11973 by checking environment variables "DESKTOP_SESSION" and
11974 "XDG_CURRENT_DESKTOP". (Bug#9779)
11975
195f8db9
JL
119762011-10-19 Juri Linkov <juri@jurta.org>
11977
11978 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11979 (browse-url-chromium-program, browse-url-chromium-arguments):
11980 New defcustoms.
11981 (browse-url-default-browser): Check for `browse-url-chromium' and
11982 call `browse-url-chromium-program'.
11983 (browse-url-chromium): New command. (Bug#9779)
11984
343a34ff
JB
119852011-10-18 Juanma Barranquero <lekktu@gmail.com>
11986
11987 * facemenu.el (list-colors-duplicates): On Windows, detect more
11988 duplicates by assuming that only colors matching "^System" are
11989 special "system colors". (Bug#9722)
11990
6978a151
SM
119912011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11992
11993 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11994 to distinguish the author from the committer.
11995
6a80b297
MA
119962011-10-18 Michael Albinus <michael.albinus@gmx.de>
11997
11998 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11999
b31a5677
JK
120002011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12001
12002 * international/mule.el (sgml-html-meta-auto-coding-function):
12003 Add support for detecting encoding in HTML5 specified only as
12004 <meta charset="UTF-8">. Implementation just makes http-equiv and
12005 content-type parts from HTML4 encoding string optional. (Bug#9716)
12006
80c6d77f
GM
120072011-10-18 Glenn Morris <rgm@gnu.org>
12008
12009 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12010
08b0fee8
CY
120112011-10-18 Chong Yidong <cyd@gnu.org>
12012
12013 * faces.el (cursor): Doc fix.
12014
67e729a5
CY
120152011-10-17 Chong Yidong <cyd@gnu.org>
12016
12017 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12018
343a34ff 120192011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12020
12021 * dirtrack.el (dirtrack): Support shell buffers with path
12022 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12023
0bc06380
TZ
120242011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12025
12026 * json.el: Bump version to 1.3 and note change in History.
12027 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12028
8b79f3e0
SM
120292011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12030
5a7c536b
SM
12031 * comint.el (comint-insert-input, comint-send-input)
12032 (comint-get-old-input-default, comint-backward-matching-input)
12033 (comint-next-prompt): Use nil instead of `input' for field property of
12034 past user input (bug#114).
12035
96a8a0df
SM
12036 * minibuffer.el (completion--replace): Inherit surrounding properties
12037 (bug#114).
12038 (minibuffer-complete-and-exit): Use it.
12039
8b79f3e0
SM
12040 * comint.el (comint--table-subvert): Quote the all-completions output
12041 (bug#9160).
12042
b8f7ff0d
MR
120432011-10-17 Martin Rudalics <rudalics@gmx.at>
12044
8b79f3e0 12045 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12046
b8f7ff0d 12047 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12048 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12049 entries and separate them from frame entries.
12050
c235b555
GM
120512011-10-15 Glenn Morris <rgm@gnu.org>
12052
12053 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12054 Doc fixes.
12055
6bbfa6e1
CY
120562011-10-15 Chong Yidong <cyd@stupidchicken.com>
12057
8b79f3e0
SM
12058 * net/network-stream.el (network-stream-open-starttls):
12059 Improve detection of failure due to lack of TLS support.
ec5c990d 12060
6bbfa6e1
CY
12061 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12062 putting the input text in front and in bold.
12063
98488977
SM
120642011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12065
3d1337be
SM
12066 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12067
ee0b45e4
SM
12068 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12069 empty buffer.
12070
98488977
SM
12071 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12072 unread-command-events rather than pushing yet-another event.
12073
186f4720
EZ
120742011-10-14 Eli Zaretskii <eliz@gnu.org>
12075
12076 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12077 the explanation of the possible choices. Make the options passed
12078 to completing-read shorter.
12079
8b7a997c
AM
120802011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12081
12082 * textmodes/flyspell.el (flyspell-large-region): Make sure
12083 extended character mode is used if defined (Bug#1339).
12084
12587bbb
EZ
120852011-10-13 Eli Zaretskii <eliz@gnu.org>
12086
12087 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12088 character info for LRE, LRO, RLE, and RLO characters by appending
12089 an invisible PDF.
12587bbb 12090
bad41229
SM
120912011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12092
12093 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12094 even in case of error; add debug spec; simplify data flow.
12095 (with-timeout-handler): Remove.
12096
28dbc92f
MA
120972011-10-12 Michael Albinus <michael.albinus@gmx.de>
12098
12099 Fix Bug#6019, Bug#9315.
12100
12101 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12102 complete `buffer-file-name', the local file name part could look
12103 remotely (for example on VMS).
12104
12105 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12106 `tramp-run-real-handler'.
12107 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12108 already quoted by '"'.
12109
12110 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12111 Let `file-name-handler-alist' be nil, the local file name part
12112 could look remotely (for example on VMS).
12113
e1b0b23a
SM
121142011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12115
12116 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12117 from here...
12118 (flyspell-post-command-hook): ...to here.
12119
a120bde9
SM
121202011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12121
12122 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12123 if not needed.
12124 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12125 using completion. Protect against "slow" callers.
12126 Remove the "message hack".
12127
7ce7717b
JL
121282011-10-11 Juri Linkov <juri@jurta.org>
12129
12130 * isearch.el (isearch-lazy-highlight-word): New variable.
12131 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12132 Use it. (Bug#9727)
12133
c02ee9d6
GM
121342011-10-11 Glenn Morris <rgm@gnu.org>
12135
12136 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12137 like f90-previous-statement does.
12138
93e616fd 121392011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12140
1f190e73 12141 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12142 only in interactive use, to avoid error.
12143
af7b6078
SM
121442011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12145
12146 * minibuffer.el (completion-file-name-table): Fix last change,
12147 i.e. ignore normal errors but not the other ones.
12148
0563dae9
MR
121492011-10-10 Martin Rudalics <rudalics@gmx.at>
12150
12151 * window.el (special-display-buffer-names)
12152 (special-display-regexps): Remove some remnants of earlier
12153 changes from doc-strings.
366ca7f3
MR
12154 (quit-windows-on): New function.
12155
12156 * vc/vc.el (vc-revert, vc-rollback):
12157 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12158 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12159 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12160
49677495
MR
121612011-10-09 Martin Rudalics <rudalics@gmx.at>
12162
12163 * window.el (frame-auto-hide-function): Add version tag.
12164 (Bug#9699)
12165
56f2d1e1
MA
121662011-10-09 Michael Albinus <michael.albinus@gmx.de>
12167
12168 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12169 condition.
12170
112a6592
LL
121712011-10-09 Leo Liu <sdl.web@gmail.com>
12172
12173 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12174 (Bug#9701)
12175
0812589b
GM
121762011-10-08 Glenn Morris <rgm@gnu.org>
12177
12178 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12179 before the first code statement zero indent. (Bug#9690)
12180
b2b0776e
CY
121812011-10-08 Chong Yidong <cyd@stupidchicken.com>
12182
12183 * simple.el (count-words-region): Always count in the region.
12184 Report the number of lines and characters too.
12185 (count-words): New command, which counts in the buffer if the
12186 region is inactive, as count-words-region used to.
12187 (count-words--message): New function. Handle plurals.
12188 (count-lines-region): Make it an alias for count-words-region.
12189
12190 * bindings.el (esc-map): Replace count-lines-region with
12191 count-words-region.
12192
c557cd6b
MR
121932011-10-08 Martin Rudalics <rudalics@gmx.at>
12194
12195 * window.el (window--delete): Delete dedicated frame
12196 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12197 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12198
61a57ef4 121992011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12200
3a7d293b 12201 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12202
c3833279
CY
122032011-10-07 Chong Yidong <cyd@stupidchicken.com>
12204
12205 * bindings.el ([M-left],[M-right]): Bind to left-word and
12206 right-word respectively.
12207
21ce8245
GM
122082011-10-07 Glenn Morris <rgm@gnu.org>
12209
12210 * cus-start.el (debug-on-quit): Fix custom type.
12211
6d823bb2
LMI
122122011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12213
0181e193
LMI
12214 * subr.el (define-key-after): Clarify that the function is not
12215 useful for non-menu keymaps.
12216
6d823bb2
LMI
12217 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12218
8e3459ce 122192011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12220
21ce8245 12221 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12222 in current minibuffer (Fix bug with recursive minibuffers).
12223
a1c2d21e
CY
122242011-10-06 Chong Yidong <cyd@stupidchicken.com>
12225
12226 * progmodes/gdb-mi.el (gdb): Doc fix.
12227
5a4cf282
MR
122282011-10-05 Martin Rudalics <rudalics@gmx.at>
12229
12230 * window.el (frame-auto-hide-function): New option replacing
12231 frame-auto-delete. Suggested by Stefan Monnier.
12232 (window--delete): Call frame-auto-hide-function instead of
12233 investigating frame-auto-delete.
c96111ea
MR
12234 (window-point-1, set-window-point-1): New functions.
12235 (window-in-direction, record-window-buffer, window-state-get-1)
12236 (display-buffer-record-window): Use window-point-1 instead of
12237 window-point.
12238 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12239
9854542e
SM
122402011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12241
12242 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12243
8943cfb0
GM
122442011-10-05 Glenn Morris <rgm@gnu.org>
12245
12246 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12247 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12248
647ab967
LL
122492011-10-05 Leo Liu <sdl.web@gmail.com>
12250
12251 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12252 works with buffer object.
12253
3ddfbced
SM
122542011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12255
12256 * mpc.el (mpc-tool-bar-map): Add labels.
12257
bdfa5dd2
GM
122582011-10-04 Glenn Morris <rgm@gnu.org>
12259
12260 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12261
0e2070b5
MR
122622011-10-04 Martin Rudalics <rudalics@gmx.at>
12263
12264 * window.el (window--delete): New function.
12265 (frame-auto-delete): Resuscitate option.
12266 (bury-buffer, replace-buffer-in-windows)
12267 (quit-window): Rewrite using window--delete.
12268 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12269 Pass display-buffer-mark-dedicated to window--display-buffer-2
12270 (Bug#9639).
12271
3dc61a09
SM
122722011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12273
915a9b64
SM
12274 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12275 returns a list (bug#9554). Add remote file name completion.
12276 * comint.el (comint--table-subvert): Curry and get quote&unquote
12277 functions as arguments.
12278 (comint--complete-file-name-data): Adjust call accordingly.
12279 * pcomplete.el (pcomplete--table-subvert): Remove.
12280 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12281
3dc61a09
SM
12282 * minibuffer.el (completion-table-case-fold): Use currying.
12283 (completion--styles-type, completion--cycling-threshold-type):
12284 New constants.
12285 (completion-styles, completion-category-overrides)
12286 (completion-cycle-threshold): Use them.
12287 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12288 completion-table-case-fold.
12289
8ea0a993
SB
122902011-10-03 Stephen Berman <stephen.berman@gmx.net>
12291
12292 * minibuffer.el (completion-category-overrides): Fix type of styles
12293 and add more user friendly tags (bug#9660).
12294
8c24b7f6
SM
122952011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12298 (mule-input-method-string): New widget.
12299 (default-input-method, language-info-custom-alist): Use it.
12300
428fe61a
SM
123012011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12302
32c1fffd
SM
12303 * pcomplete.el: Require comint.
12304 (pcomplete--common-suffix): Remove.
12305 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12306 (pcomplete--table-subvert): Sync with comint--table-subvert.
12307 (pcomplete--entries): Use comint-completion-file-name-table.
12308 * comint.el (comint-unquote-filename): Simplify.
12309 (comint-completion-file-name-table): New function (bug#9616).
12310 (comint--complete-file-name-data): Use it.
12311
428fe61a
SM
12312 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12313 (pcmpl-gnu-tar-buffer): Remove.
12314 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12315 around. Make sure pcomplete-suffix-list is only changed temporarily.
12316 Don't look inside the tar's file if it's too large.
428fe61a 12317
04c52e2f
CY
123182011-10-01 Chong Yidong <cyd@stupidchicken.com>
12319
ce3cefcc
CY
12320 * cus-edit.el (custom-mode-map):
12321 * epa.el (epa-key-list-mode-map):
12322 * man.el (Man-mode-map):
12323 * startup.el (splash-screen-keymap):
12324 * simple.el (special-mode-map): Use scroll-up-command and
12325 scroll-down-command.
12326
12327 * progmodes/idlw-help.el (idlwave-help-mode-map):
12328 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12329 * net/newst-plainview.el (newsticker-mode-map):
12330 * emulation/ws-mode.el (wordstar-mode-map):
12331 * emulation/vi.el (vi-com-map):
12332 * calc/calc-graph.el (calc-graph-show-dumb):
12333 * term/sun.el (terminal-init-sun):
12334 * term/ns-win.el (global-map):
12335 * progmodes/grep.el (grep-mode-map):
12336 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12337 * mail/rmail.el (rmail-mode-map):
12338 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12339
04c52e2f
CY
12340 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12341 custom-safe-themes as special.
12342
79adf8c8
JD
123432011-10-01 Julien Danjou <julien@danjou.info>
12344
12345 * notifications.el (notifications-notify): Fix docstring.
12346
63bd50d3
PS
123472011-10-01 Per Starbäck <per@starback.se>
12348
12349 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12350
199e4c7e
MR
123512011-09-30 Martin Rudalics <rudalics@gmx.at>
12352
12353 * startup.el (command-line-1): Fix last fix by inserting
12354 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12355 (Bug#9605) and (Bug#9636)
199e4c7e 12356
fe5f08dd
EZ
123572011-09-29 Eli Zaretskii <eliz@gnu.org>
12358
12359 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12360 window is hscrolled, move by logical lines. (Bug#9607)
12361 (line-move-visual): Update the doc string to the above effect.
12362
b5516bbd
MR
123632011-09-29 Martin Rudalics <rudalics@gmx.at>
12364
ccee00c0
MR
12365 * window.el (display-buffer-record-window): When WINDOW is the
12366 selected window use `point' instead of `window-point'. (Bug#9626)
12367
b5516bbd
MR
12368 * startup.el (command-line-1): Use insert-before-markers when
12369 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12370
b5516bbd
MR
12371 * help.el (help-window): Remove variable.
12372
52aa0014
GM
123732011-09-29 Glenn Morris <rgm@gnu.org>
12374
12375 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12376
df9a7357
JB
123772011-09-29 Juanma Barranquero <lekktu@gmail.com>
12378
12379 * descr-text.el (describe-char-categories): Accept category
12380 descriptions more than one line long.
12381
a8406c20
SM
123822011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12383
88d9610c
SM
12384 * simple.el (delete-trailing-whitespace): Fix last change.
12385
a5daf810
SM
12386 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12387 Don't confuse "y => 3" as the beginning of a `y' operation.
12388
a8406c20
SM
12389 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12390 object has more than 4 slots (bug#9613).
12391
a239d4e9
JB
123922011-09-28 Juanma Barranquero <lekktu@gmail.com>
12393
12394 * subr.el (with-output-to-temp-buffer):
12395 * net/quickurl.el (quickurl, quickurl-browse-url):
12396 Fix typos in docstrings.
12397
693fbdb6
EZ
123982011-09-27 Eli Zaretskii <eliz@gnu.org>
12399
12400 * minibuffer.el (completion-styles)
12401 (completion-category-overrides): Cross reference each other in doc
12402 strings.
12403
8b457e28
GM
124042011-09-27 Glenn Morris <rgm@gnu.org>
12405
12406 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12407 to split-string. (Bug#9606)
12408
85a16208
LMI
124092011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12410
12411 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12412 (bug#9615).
12413
502f9ebd
CY
124142011-09-27 Chong Yidong <cyd@stupidchicken.com>
12415
12416 * emacs-lisp/package.el (list-packages): Fix echo area message.
12417
7690bdea
LL
124182011-09-27 Leo Liu <sdl.web@gmail.com>
12419
12420 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12421
e2ee6f30
MA
124222011-09-25 Michael Albinus <michael.albinus@gmx.de>
12423
12424 * net/dbus.el (dbus-unregister-object): Don't release services for
12425 registered signals. (Bug#9581)
12426
f3f98342
TZ
124272011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12428
12429 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12430 function that picks between cfengine 2 and 3 support
12431 automatically. Update docs accordingly.
12432
dd7aa8dd
KH
124332011-09-22 Kenichi Handa <handa@m17n.org>
12434
12435 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12436 ZERO.
12437 (indian-itrans-v5-table-for-tamil): New variable.
12438 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12439
3f2b07f8
KM
124402011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12441
12442 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12443 that's true if the current command involved collapsing of text.
12444 It's reset to false at the beginning of the next command.
12445 (allout-post-command-business): Move the cursor to the beginning
12446 of entry if the cursor is hidden and collapsing activity just
12447 happened.
12448
371d6a61
CY
124492011-09-24 Chong Yidong <cyd@stupidchicken.com>
12450
12451 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12452 tracking (Bug#9541).
12453
2ac2721a
UJ
124542011-09-24 Ulf Jasper <ulf.jasper@web.de>
12455
12456 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12457 (newsticker-show-news): Automatically load html rendering package
12458 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12459 because w3m-fill-column is let-bound" and the error "Symbol's value
12460 as variable is void: w3m-fill-column".
2ac2721a 12461
fac7ae53
MA
124622011-09-24 Michael Albinus <michael.albinus@gmx.de>
12463
12464 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12465 Release services only if they are defined. (Bug#9581)
12466
e08b633b
RS
124672011-09-23 Richard Stallman <rms@gnu.org>
12468
e488d29c
RS
12469 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12470 distinguish start of paragraph from start of its text.
12471
19c38752
RS
12472 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12473
e08b633b
RS
12474 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12475 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12476 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12477
0a39f27e
AS
124782011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12479
12480 * international/mule-diag.el (mule-diag): Insert a newline after
12481 each fontset description.
12482
db4e950d
SM
124832011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12484
12485 * simple.el (delete-trailing-whitespace):
12486 Document last change; simplify.
12487
eca3f3ea
PW
124882011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12489
d68e189a
PW
12490 * simple.el (delete-trailing-whitespace): Also delete
12491 extra newlines at the end of the buffer.
12492
eca3f3ea
PW
12493 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12494 (picture-newline): Use forward-line so as to ignore fields.
12495
01c157cc
SM
124962011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * subr.el (with-wrapper-hook): Fix edebug spec.
12499
022de23e
LMI
125002011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12501
12502 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12503 (bug#4538).
12504
91683089
MA
125052011-09-23 Michael Albinus <michael.albinus@gmx.de>
12506
eca3f3ea
PW
12507 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12508 Fix nasty bug using wrong cached values.
91683089 12509
5bdd6fa4
AM
125102011-09-23 Alan Mackenzie <acm@muc.de>
12511
12512 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12513
97adfb97
CY
125142011-09-23 Chong Yidong <cyd@stupidchicken.com>
12515
12516 * window.el (pop-to-buffer): Ensure right window is selected if we
12517 chose another frame.
12518
d4ef2b50
EZ
125192011-09-22 Eli Zaretskii <eliz@gnu.org>
12520
12521 * simple.el (what-cursor-position): Use get-char-property-change
12522 and next-single-char-property-change, to be able to show display
12523 properties that come from overlays as well as text properties.
12524
72258fe5
CY
125252011-09-22 Chong Yidong <cyd@stupidchicken.com>
12526
12527 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12528
12529 * cmuscheme.el (run-scheme, switch-to-scheme):
12530 * cus-edit.el (customize-group, custom-buffer-create)
12531 (customize-browse):
12532 * info.el (info):
12533 * shell.el (shell):
12534 * mail/sendmail.el (mail):
12535 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12536
8f098516
RS
125372011-09-22 Richard Stallman <rms@gnu.org>
12538
12539 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12540 move back only to line beg, don't move back over blank lines.
12541
e74f1bb6
MA
125422011-09-22 Michael Albinus <michael.albinus@gmx.de>
12543
12544 * files.el (copy-directory): Set directory attributes only in case
12545 they could be retrieved from the source directory. (Bug#9565)
12546
bfeef8b6
DK
125472011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12548
12549 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12550 (hs-find-block-beginning, hs-hide-level-recursive):
12551 Ignore strings as well as comments. (Bug#9502)
12552
7e423bb8
AS
125532011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12554
12555 * progmodes/sql.el (sql-comint-postgres):
12556 Convert port number to a string. (Bug#9566)
12557
b4d72fcf
MR
125582011-09-22 Martin Rudalics <rudalics@gmx.at>
12559
12560 * window.el (quit-window): Undedicate window when switching to
12561 previous buffer. Reported by Thierry Volpiatto
12562 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12563 (special-display-popup-frame): When popping up a new frame reset
12564 its previous buffers to nil. Simplify code.
b4d72fcf 12565
a7b88dc6
MA
125662011-09-21 Michael Albinus <michael.albinus@gmx.de>
12567
12568 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12569 and process filter, as done also in `shell-command'.
12570
cf4eacfd
MR
125712011-09-21 Martin Rudalics <rudalics@gmx.at>
12572
eca3f3ea 12573 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12574 Call set-window-start with NOFORCE argument t.
12575 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12576 (quit-window): Reword doc-string. Handle new format of
12577 quit-restore parameter. Don't delete window if it has a
12578 previous buffer we can show instead of the present one.
12579 (display-buffer-record-window): Rewrite using a new format for
12580 the quit-restore window parameter
12581 (special-display-popup-frame, display-buffer-same-window)
12582 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12583 (display-buffer-pop-up-window, display-buffer-use-some-window):
12584 Adapt symbol passed to display-buffer-record-window.
12585 * help.el (help-window-setup): Handle new format of quit-restore
12586 parameter.
12587
8d28cb95
SM
125882011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12589
94ab793f
SM
12590 * faces.el (face-list): Fix docstring (bug#9564).
12591
8d28cb95
SM
12592 * window.el (display-buffer--action-function-custom-type):
12593 Don't include internal functions in the Custom interface.
12594
3820edeb
JL
125952011-09-20 Juri Linkov <juri@jurta.org>
12596
12597 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12598 (Info-forward-node, Info-backward-node, Info-next-preorder)
12599 (Info-last-preorder): Use it. (Bug#9528)
12600
5147931d
JL
126012011-09-20 Juri Linkov <juri@jurta.org>
12602
12603 * info.el (Info-last-preorder): Visit last menu item only when
12604 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12605
cf499a1a
JD
126062011-09-20 Julien Danjou <julien@danjou.info>
12607
12608 * password-cache.el (password-cache-remove): Remove entries even if the
12609 value is nil, so that password with a nil value (negative caching) is
12610 possible to invalidate.
12611
f84e2fe2
LM
126122011-09-20 Lawrence Mitchell <wence@gmx.li>
12613
12614 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12615 all whitespace around breakpoint. (Bug#9553)
12616 (f90-find-breakpoint): Only break at whitespace inside a comment.
12617
78054a46
SM
126182011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * minibuffer.el (completion-file-name-table): Keep track of errors.
12621 (completion-table-with-predicate): Handle the case where pred1 is nil.
12622 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12623
345083b2
SM
126242011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12625
e24e27be
SM
12626 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12627 (debugger-return-value): Signal an error if the debugging context does
12628 not await any return value.
12629
345083b2
SM
12630 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12631 * image-mode.el (image-toggle-display-text)
12632 (image-toggle-display-image): Stay away from evil `intangible'.
12633
08d355e3
LL
126342011-09-19 Leo Liu <sdl.web@gmail.com>
12635
12636 * replace.el (occur-revert-arguments): Make it permanent-local.
12637 (occur-mode): Don't call font-lock-defontify.
12638
f01da43f
CY
126392011-09-19 Chong Yidong <cyd@stupidchicken.com>
12640
12641 * net/ldap.el (ldap-search-internal): Don't push empty search
12642 result (Bug#9508).
12643
b6072fa6
SM
126442011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12645
12646 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12647
443d6696
MA
126482011-09-19 Michael Albinus <michael.albinus@gmx.de>
12649
12650 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12651 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12652
7cc6e154
JL
126532011-09-18 Juri Linkov <juri@jurta.org>
12654
12655 * buff-menu.el (Buffer-menu-mode-map):
12656 * dired.el (dired-mode-map):
12657 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12658 (lisp-interaction-mode-map):
12659 * emacs-lisp/package.el (package-menu-mode-map):
12660 * epa.el (epa-key-list-mode-map):
12661 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12662 (menu-bar-options-menu):
12663 * outline.el (outline-mode-menu-bar-map):
12664 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12665 * vc/vc-dir.el (vc-dir-menu-map):
12666 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12667 Capitalize non-function content words in menu item strings.
12668
12669 * dired.el (dired-mode-map): Add menu item for
12670 `image-dired-dired-toggle-marked-thumbs'.
12671
80302a81
JL
126722011-09-18 Juri Linkov <juri@jurta.org>
12673
12674 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12675 to `isearch-case-fold-search' and restore its original value
12676 after the `isearch-mode' call.
12677
46c5cf66
JL
126782011-09-18 Juri Linkov <juri@jurta.org>
12679
12680 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12681 because `zgrep' returns 1 for successful matches (bug#9226).
12682
d18b513b
JL
126832011-09-18 Juri Linkov <juri@jurta.org>
12684
12685 * info.el (Info-extract-menu-node-name): Check the second match
12686 for empty string (second test-case of bug#9528).
12687 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12688 intermediate nodes to the history (first test-case of bug#9528).
12689
72753f87
JL
126902011-09-18 Juri Linkov <juri@jurta.org>
12691
12692 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12693 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12694
c9384295
JL
126952011-09-18 Juri Linkov <juri@jurta.org>
12696
1154d12e
JB
12697 * info.el (Info-file-supports-index-cookies):
12698 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12699 outputs one more line for long file names (bug#4142).
c9384295 12700
d473dce8
CY
127012011-09-18 Chong Yidong <cyd@stupidchicken.com>
12702
12703 * newcomment.el (comment-normalize-vars): If prompting for
12704 comment-start, set comment-start-skip too (Bug#8424).
12705
2176854d
JB
127062011-09-18 Johan Bockgård <bojohan@gnu.org>
12707
12708 * icomplete.el: Fix previous fix of Bug#5849.
12709 (icomplete-mode): Don't set completion-show-inline-help.
12710 (icomplete-minibuffer-setup): Set completion-show-inline-help
12711 locally during icompletion.
12712
3aace4e4
CY
127132011-09-18 Chong Yidong <cyd@stupidchicken.com>
12714
c940224f
CY
12715 * woman.el (woman2-process-escapes): Don't delete unrecognized
12716 escapes (Bug#7843).
12717
3aace4e4
CY
12718 * files.el (inhibit-first-line-modes-regexps): Add image files.
12719 (hack-local-variables-prop-line): Return nil for malformed
12720 prop-lines (Bug#9044).
12721
710dec63
MA
127222011-09-18 Michael Albinus <michael.albinus@gmx.de>
12723
12724 * net/tramp.el (top): Don't require 'shell.
12725 (tramp-methods): Fix docstring.
12726 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12727 Return complete remote file name. Handle "smb" case.
12728 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12729 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12730
12731 * net/tramp-compat.el (top): Require 'shell.
12732
12733 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12734 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12735 `tramp-current-host'.
12736 (tramp-get-remote-tmpdir): Remove.
12737
12738 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12739 `tramp-tmpdir' entries.
12740 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12741 (tramp-smb-handle-file-attributes): Ignore errors.
12742 (tramp-smb-wait-for-output): Check also for process end.
12743
5d5ac8ec
LMI
127442011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12745
12746 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12747 when sending QUIT (bug#9312).
12748
8c0f49f0
CY
127492011-09-17 Chong Yidong <cyd@stupidchicken.com>
12750
12751 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12752 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12753 occur-mode-display-occurrence.
12754 (occur-edit-mode): Add usage message.
12755 (occur-cease-edit): New command.
12756 (occur-after-change-function): Use text properties to find the
12757 position of the prefix text.
12758 (occur-engine): Set stickiness of prefix text properties.
12759
8f1383f7
GM
127602011-09-17 Glenn Morris <rgm@gnu.org>
12761
12762 * progmodes/etags.el (complete-tag):
12763 Fix call to completion-in-region. (Bug#9526)
12764
744ba0e3
JL
127652011-09-17 Juri Linkov <juri@jurta.org>
12766
12767 * textmodes/ispell.el (ispell-word): Add to the error message
12768 the word, ispell program name and current dictionary (bug#9121).
12769 (ispell-tex-arg-end): Capitalize "error" in the error message.
12770
d9bbf400
AS
127712011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12772
12773 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12774 check. (Bug#4251)
12775
8da11505
JL
127762011-09-17 Juri Linkov <juri@jurta.org>
12777
12778 * window.el (window-safe-min-height, window-safe-min-width):
12779 Fix typos (followup to bug#9522).
12780
a91adc7e
SJ
127812011-09-17 Sven Joachim <svenjoac@gmx.de>
12782
12783 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12784
064f328a
EZ
127852011-09-16 Eli Zaretskii <eliz@gnu.org>
12786
12787 * simple.el (line-move): If goal-column is set, move by logical
12788 lines, not by display lines. (Bug#971)
12789 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12790 to reflect the above change.
12791
e69df516
SM
127922011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12793
12794 * image.el (imagemagick-register-types): Use regexp-opt.
12795
cbb0f9ab
CY
127962011-09-15 Chong Yidong <cyd@stupidchicken.com>
12797
12798 * window.el (display-buffer-base-action): Rename from
12799 display-buffer-default-action. Make default value empty.
12800 (display-buffer-overriding-action): Convert to defvar.
12801 (display-buffer-fallback-action): New var.
12802
25322144
CY
128032011-09-15 Chong Yidong <cyd@stupidchicken.com>
12804
12805 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12806 declaration.
12807 (package--add-to-archive-contents): If there is a duplicate entry
12808 with an older version, remove it.
12809 (package-menu-mark-delete, package-menu-mark-install)
12810 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12811 (package-menu-mark-obsolete-for-deletion):
12812 Use package-menu-get-status instead of a regexp search.
25322144
CY
12813 (package-menu-get-status): Use tabulated-list-entry.
12814 (package-menu-mark-upgrades): New command.
d770725a 12815 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12816 (package-menu-execute): Do installation before deletion.
12817 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12818 instead of checking major-mode.
12819 (package-menu--find-upgrades): New function.
12820
7520339c
LMI
128212011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12822
12823 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12824 passwords in the log buffer.
65a046c4
LMI
12825 (smtpmail-process-filter): Update the process marker so that the
12826 "broken by peer" status message is inserted in the right place.
7520339c 12827
d3c30954
SM
128282011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12829
3fe48822
SM
12830 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12831 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12832 bibtex-completion-at-point-function.
12833 (bibtex-completion-at-point-function): Use them.
12834
1b8b3954
SM
12835 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12836
d3c30954
SM
12837 * mpc.el (mpc-constraints-tag-lookup): New function.
12838 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12839 also to browser "album|playlist".
12840
72779976
JL
128412011-09-14 Juri Linkov <juri@jurta.org>
12842
12843 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12844 (isearch-edit-string): Use length of `isearch-string' when
12845 `isearch-fail-pos' returns nil.
12846 (isearch-message): Remove duplicate code and call
12847 `isearch-fail-pos' with arg `t'.
12848
a0bf2bcd
CY
128492011-09-14 Chong Yidong <cyd@stupidchicken.com>
12850
17bb0a2d
CY
12851 * replace.el (occur-mode-goto-occurrence): Don't force using other
12852 window (Bug#9499).
12853
a0bf2bcd
CY
12854 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12855
f678e0b6
MR
128562011-09-14 Martin Rudalics <rudalics@gmx.at>
12857
12858 * window.el (display-buffer-window): Remove.
12859 (display-buffer-record-window): Use help-setup window parameter
12860 instead of variable display-buffer-window.
12861 (display-buffer-function, special-display-buffer-names)
12862 (special-display-function): Mention help-setup parameter instead
12863 of display-buffer-window in doc-string.
d3c30954
SM
12864 * help.el (help-window-setup): New argument help-window.
12865 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12866 Reword some messages.
12867 (with-help-window): Pass window used for displaying the buffer
12868 to help-window-setup. Don't set display-buffer-window.
12869
8e39b2e8
GM
128702011-09-13 Glenn Morris <rgm@gnu.org>
12871
12872 * emacs-lisp/debug.el (debugger-make-xrefs):
12873 Preserve point. (Bug#9462)
12874
85e9c04b
CY
128752011-09-13 Chong Yidong <cyd@stupidchicken.com>
12876
12877 * window.el (window-deletable-p): Use next-frame.
12878
1b36ed6a
MR
128792011-09-13 Martin Rudalics <rudalics@gmx.at>
12880
12881 * window.el (window-auto-delete): Remove.
12882 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12883 dedication and previous buffers.
1b36ed6a
MR
12884 (switch-to-prev-buffer): Don't delete window.
12885 (delete-windows-on): Delete a window's frame if and only if the
12886 window is dedicated.
12887 (replace-buffer-in-windows): Delete buffer's window or frame if
12888 and only if window is dedicated.
12889 (quit-window): Handle quit-restore as before last change.
4d61f28d 12890 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12891
ef8ef9fb
CY
128922011-09-13 Chong Yidong <cyd@stupidchicken.com>
12893
12894 * window.el (window-deletable-p): Never delete the last frame on a
12895 given terminal.
12896
b2cba41e
GM
128972011-09-13 Glenn Morris <rgm@gnu.org>
12898
12899 * help.el (describe-key-briefly): Copy previous standard-output change.
12900
51553db6 129012011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12902
12903 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12904
b7556719
GM
129052011-09-13 Glenn Morris <rgm@gnu.org>
12906
12907 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12908 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12909
64b51947
CY
129102011-09-12 Chong Yidong <cyd@stupidchicken.com>
12911
12912 * dired-aux.el (dired-mark-read-string): Don't return default
12913 value on empty input (Bug#9361).
12914 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12915 Omit initial minibuffer contents.
12916 (dired-do-chmod): Signal an error on empty input.
12917 (dired-mark-read-string): Don't return default on empty input.
12918
12919 * files.el (file-modes-symbolic-to-number): Doc fix.
12920
393a301e
SM
129212011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12922
12923 * international/mule-cmds.el (ucs-completions): Remove.
12924 (read-char-by-name): Use complete-with-action instead; add metadata.
12925
fa5660f9
CY
129262011-09-11 Chong Yidong <cyd@stupidchicken.com>
12927
12928 * window.el (display-buffer--action-function-custom-type)
12929 (display-buffer--action-custom-type): New vars.
12930 (display-buffer-alist, display-buffer-default-action)
12931 (display-buffer-overriding-action): Add defcustom types.
12932
4a592f66
CY
12933 * frame.el (delete-other-frames): Doc fix (Bug#276).
12934
73d56dbd
LMI
129352011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12936
12937 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12938
37ac18a3
CY
129392011-09-11 Chong Yidong <cyd@stupidchicken.com>
12940
12941 Change modes that used same-window-* vars to use switch-to-buffer.
12942
12943 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12944 Use switch-to-buffer.
12945
12946 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12947 (customize-browse, custom-buffer-create-other-window):
12948 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12949
12950 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12951 (Info-prev, Info-up, Info-speedbar-goto-node)
12952 (info-display-manual): Use switch-to-buffer.
12953 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12954
12955 * mail/sendmail.el (mail): Use switch-to-buffer.
12956 (mail-recover): Use switch-to-buffer-other-window.
12957
12958 * cmuscheme.el (run-scheme, switch-to-scheme):
12959 * ielm.el (ielm):
12960 * shell.el (shell):
12961 * net/rlogin.el (rlogin):
12962 * net/telnet.el (telnet, rsh):
12963 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12964
10195bd6
AS
129652011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12966
12967 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12968
b322f63a
LMI
129692011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12970
39d7fed6
LMI
12971 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12972 so don't mention it (bug#9301).
ba5a81f1 12973 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12974
ee0e9f11
LMI
12975 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12976 match `x', `w32' and `ns', like the manual says (bug#9029).
12977
0b1c89c1 12978 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12979 (process-kill-buffer-query-function): Mention the buffer name in
12980 the query.
0b1c89c1 12981
77549ea8
LMI
12982 * image-mode.el (image-next-line): The line parameter is mandatory
12983 (bug#9258).
12984
803ef892
LMI
12985 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12986 which can be useful (bug#9301).
12987
12980837
LMI
12988 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12989
91054f8f
LMI
12990 * subr.el (match-string): Mention that the current buffer should
12991 be the same as the search was done in (bug#9282).
12992
b322f63a
LMI
12993 * facemenu.el: Disable the remove-* commands if the mark isn't
12994 active (bug#9162).
12995
3199b96f
CY
129962011-09-10 Chong Yidong <cyd@stupidchicken.com>
12997
12998 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12999 of display-buffer.
13000 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13001
13002 * replace.el (occur-mode-goto-occurrence)
13003 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13004 and display-buffer.
13005
13006 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13007 display-buffer.
13008
13009 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13010 special-display and same-window variables.
13011 (mail-other-window): Use switch-to-buffer-other-window.
13012 (mail-other-frame): USe switch-to-buffer-other-frame.
13013
393a301e
SM
13014 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13015 Use display-buffer-other-frame.
3199b96f
CY
13016 (gdb-display-gdb-buffer): Use pop-to-buffer.
13017
13018 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13019
13020 * progmodes/python.el: Don't set same-window-buffer-names.
13021
13022 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13023
13024 * window.el (display-buffer-alist): Add *Python*.
13025
8319e0bf
CY
130262011-09-10 Chong Yidong <cyd@stupidchicken.com>
13027
13028 * window.el (display-buffer-alist): Add entry for buffers
13029 previously handled same-window-*.
13030 (display-buffer-alist, display-buffer-default-action)
13031 (display-buffer-overriding-action): Mark as risky.
13032 (display-buffer-alist): Document action function changes.
13033 (display-buffer--same-window-action)
13034 (display-buffer--other-frame-action): New variables.
13035 (switch-to-buffer, display-buffer-other-frame): Use them.
13036 (display-buffer): Rename reuse-frame entry to reusable-frames.
13037 (display-buffer-reuse-selected-window): Function deleted.
13038 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13039 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13040 (display-buffer-special): New function.
13041 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13042 display-buffer-reuse-or-pop-window. Split off special-display
13043 part into display-buffer-special.
13044 (display-buffer-use-some-window): Don't perform any special
13045 pop-up-frames handling.
13046 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13047 (display-buffer--maybe-same-window): Rename from
0d3ff375 13048 display-buffer-maybe-same-window.
8319e0bf 13049
919a69aa
CY
13050 * info.el: Don't set same-window-regexps.
13051 (info-setup): New function.
13052 (info-other-window, info): Call it.
13053
13054 * cus-edit.el: Don't set same-window-regexps.
13055 (customize-group): New argument.
13056 (customize-group-other-window): Use it.
13057 (customize-face, customize-face-other-window): Likewise.
13058 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13059
8319e0bf
CY
13060 * net/rlogin.el:
13061 * net/telnet.el:
13062 * progmodes/gud.el: Don't set same-window-regexps.
13063
13064 * cmuscheme.el:
13065 * ielm.el:
13066 * shell.el:
13067 * mail/sendmail.el:
13068 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13069
25173000
JL
130702011-09-10 Juri Linkov <juri@jurta.org>
13071
13072 * isearch.el (isearch-edit-string): Remove obsolete mention of
13073 `C-w' (`isearch-yank-word-or-char') from docstring.
13074 (isearch-query-replace): Fix typo in docstring (bug#9466).
13075
056e44ef
JL
130762011-09-10 Juri Linkov <juri@jurta.org>
13077
13078 * paren.el (show-paren-function): Don't show escaped parens.
13079 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13080
c3760c17
EZ
130812011-09-10 Eli Zaretskii <eliz@gnu.org>
13082
13083 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13084 (mm-default-file-encoding): Remove autoload forms, they are
13085 replaced with autoload cookies in mml.el and mm-encode.el.
13086 (mail-add-attachment): New command.
13087 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13088 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13089 the doc string.
13090 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13091
fece895e
RT
130922011-09-10 Reuben Thomas <rrt@sc3d.org>
13093
e69df516
SM
13094 * simple.el (count-words-region): Use buffer if there's no region
13095 (bug#9429).
fece895e 13096
5e68ce4a
JL
130972011-09-09 Juri Linkov <juri@jurta.org>
13098
13099 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13100 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13101 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13102
0a6b9622
AM
131032011-09-09 Alan Mackenzie <acm@muc.de>
13104
13105 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13106 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13107
14a29deb
EZ
131082011-09-09 Eli Zaretskii <eliz@gnu.org>
13109
13110 Fix for Savannah bug#9392.
13111 * simple.el (mail-encode-mml): New defvar.
13112
13113 * mail/rmail.el (mail-encode-mml): Add a defvar.
13114 (rmail-enable-mime-composing): Default to t.
13115 (rmail-forward): Use MIME method of forwarding only if both
13116 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13117 Set mail-encode-mml non-nil if the MIME method was used.
13118
13119 * mail/sendmail.el (mml-to-mime): Add autoload form.
13120 (mail-encode-mml): Add a defvar.
13121 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13122 to nil.
13123 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13124 message through mml-to-mime, and reset mail-encode-mml to nil.
13125
28c45130
GM
131262011-09-09 Glenn Morris <rgm@gnu.org>
13127
13128 * woman.el (woman-if-body): When processing an .el block,
13129 do not delete the next .el block as well. (Bug#9447)
69f4b618 13130 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13131
9b1c252e
MR
131322011-09-08 Martin Rudalics <rudalics@gmx.at>
13133
13134 * window.el (window-deletable-p): Make sure window is live before
13135 invoking window-prev-buffers.
13136
567457e3
LL
131372011-09-08 Leo Liu <sdl.web@gmail.com>
13138
13139 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13140
97f05794
JL
131412011-09-08 Juri Linkov <juri@jurta.org>
13142
13143 * progmodes/compile.el (compilation-environment): Make it
13144 a defcustom (bug#8340).
13145
8b0874b5
MR
131462011-09-08 Martin Rudalics <rudalics@gmx.at>
13147
13148 * window.el (frame-auto-delete): Rename to window-auto-delete.
13149 Make it control auto-deletion of windows and/or frames.
13150 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13151 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13152 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13153 Rewrite handling of case when window/frame can be deleted.
13154 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13155 argument t. (Bug#9456)
8b0874b5 13156
4feb6e73
CY
131572011-09-07 Chong Yidong <cyd@stupidchicken.com>
13158
13159 * help-mode.el (help-mode): Restore autoload.
13160
91ab9c13
JL
131612011-09-07 Juri Linkov <juri@jurta.org>
13162
13163 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13164 `compilation-environment'. Set buffer-local
13165 `compilation-environment' to `thisenv' later after (funcall mode).
13166 (Bug#8340)
13167
13168 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13169 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13170 instead of replacing its value. (Bug#8340)
13171
0527e251
JL
131722011-09-07 Juri Linkov <juri@jurta.org>
13173
13174 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13175 based on text properties put by `grep-filter' instead of matching
13176 escape sequences.
13177 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13178 to the value of `grep-error-screen-columns' (bug#9438).
13179
249f792c
JL
131802011-09-07 Juri Linkov <juri@jurta.org>
13181
13182 * simple.el (next-error-highlight, next-error-highlight-no-select):
13183 Doc fix (bug#9432).
13184
ff7271b9
OT
131852011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13186
13187 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13188 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13189
183fc730
LL
131902011-09-07 Leo Liu <sdl.web@gmail.com>
13191
13192 * net/rcirc.el (rcirc-mode): Conditionally initialize
13193 rcirc-input-ring.
13194
77694924
SM
131952011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13196
13197 * emacs-lisp/find-func.el (find-function-C-source): Only set
13198 find-function-C-source-directory after checking that we found a source
13199 file there (bug#9440).
13200
d809b8eb
AM
132012011-09-06 Alan Mackenzie <acm@muc.de>
13202
13203 * isearch.el (isearch-other-meta-char): Wherever a key list is
13204 unread, "unread" the prefix arg, too. This fixes bug #8901.
13205
453de99f
OG
132062011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13207
13208 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13209
90439906
JL
132102011-09-05 Juri Linkov <juri@jurta.org>
13211
13212 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13213
f62bd846
JL
132142011-09-05 Juri Linkov <juri@jurta.org>
13215
13216 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13217 keeping point where processing of grep matches begins, and
13218 continue to delete remaining escape sequences from the same point.
13219 (grep-filter): Make leading zero optional in "0?1;31m" because
13220 git-grep emits "\033[1;31m" escape sequences unlike expected
13221 "\033[01;31m" as GNU Grep does (bug#9408).
13222 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13223
045820ec
JL
132242011-09-05 Juri Linkov <juri@jurta.org>
13225
13226 * subr.el (y-or-n-p): Capitalize "yes".
13227
f5e29b9b
MA
132282011-09-04 Michael Albinus <michael.albinus@gmx.de>
13229
13230 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13231 `tramp-cache-unload-hook' where appropriate.
13232 (tramp-methods): Rename `tramp-remote-sh' to
13233 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13234 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13235
13236 * net/tramp-sh.el (top): Don't require 'shell.
13237 (tramp-methods): Add `tramp-remote-shell' and
13238 `tramp-remote-shell-args' entries.
13239 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13240 (tramp-sh-handle-shell-command): Remove.
13241 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13242 Use `tramp-remote-shell'.
13243
2784c434
CY
132442011-09-03 Chong Yidong <cyd@stupidchicken.com>
13245
393a301e 13246 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13247 (sendmail-query-once): Save directly to send-mail-function.
13248 Update message-send-mail-function too.
13249
13250 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13251
464cdf56
CS
132522011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13253
13254 * progmodes/python.el (python-mode-map): Use correct function to
13255 start python interpreter from menu-bar (as reported by Geert
13256 Kloosterman).
13257 (inferior-python-mode-map): Fix typo.
393a301e 13258 (python-shell-map): Remove.
464cdf56 13259
d37e5c87
DD
132602011-09-03 Deniz Dogan <deniz@dogan.se>
13261
13262 * net/rcirc.el (rcirc-print): Simplify code for
13263 rcirc-scroll-show-maximum-output. There is no need to walk
13264 through all windows to find the right one.
13265
f3ada0ee
CS
132662011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13267
13268 * help.el (help-return-method): Doc fix.
13269
1f3c99ca
MR
132702011-09-03 Martin Rudalics <rudalics@gmx.at>
13271
13272 * window.el (window-deletable-p): Don't return a non-nil value
13273 when there's a buffer that was shown in the window before.
13274 (Bug#9419)
393a301e
SM
13275 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13276 Set window's previous buffers to nil.
1f3c99ca 13277
a3cf097f
EZ
132782011-09-03 Eli Zaretskii <eliz@gnu.org>
13279
13280 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13281 newline before and after the tag line, so it doesn't interfere
13282 with determining the paragraph direction of bidirectional text.
13283
3d03de90
LL
132842011-09-03 Leo Liu <sdl.web@gmail.com>
13285
13286 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13287
c3313451
CY
132882011-09-02 Chong Yidong <cyd@stupidchicken.com>
13289
393a301e 13290 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13291 (pop-to-buffer): Change interactive spec. Pass second argument
13292 directly to display-buffer.
13293 (display-buffer): Fix interactive spec. Use functionp to
13294 distinguish between a function and a list of functions.
13295
13296 * abbrev.el (edit-abbrevs):
13297 * arc-mode.el (archive-extract):
13298 * autoinsert.el (auto-insert):
13299 * bookmark.el (bookmark-bmenu-list):
13300 * files.el (find-file):
13301 * view.el (view-buffer):
13302 * progmodes/compile.el (compilation-goto-locus):
13303 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13304
89894cd8
CY
133052011-09-02 Chong Yidong <cyd@stupidchicken.com>
13306
13307 * window.el (display-buffer-alist): Doc fix.
13308 (display-buffer): Add docstring. Don't treat
13309 display-buffer-default specially.
13310 (display-buffer-reuse-selected-window)
13311 (display-buffer-same-window, display-buffer-maybe-same-window)
13312 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13313 (display-buffer-pop-up-window)
13314 (display-buffer-reuse-or-pop-window)
13315 (display-buffer-use-some-window): New functions.
13316 (display-buffer-default-action): Use them.
393a301e 13317 (display-buffer-default): Delete.
89894cd8
CY
13318 (pop-to-buffer-1): Fix choice of actions.
13319
ae0bc9fb
SM
133202011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13321
13322 * minibuffer.el (completion--insert-strings): Don't get confused by
13323 completion entries that end with an LF char.
13324
e9d90883
EZ
133252011-09-01 Eli Zaretskii <eliz@gnu.org>
13326
13327 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13328
437014c8
CY
133292011-09-01 Chong Yidong <cyd@stupidchicken.com>
13330
13331 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13332 (display-buffer-same-window, display-buffer-other-window):
13333 New functions.
437014c8
CY
13334 (pop-to-buffer-1): New function. Use the above.
13335 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13336 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13337
13338 * view.el (view-buffer-other-window, view-buffer-other-frame):
13339 Just use pop-to-buffer.
13340
a5e063d5
TV
133412011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13342
13343 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13344
793d32bb
WH
133452011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13346
13347 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13348
d65e4c15
RS
133492011-08-31 Richard Stallman <rms@gnu.org>
13350
13351 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13352 of the separation of rmail-view-buffer from rmail-buffer.
13353 If you say no to "replace original", the decrypt is in the
13354 view buffer. If you say yes, the decrypt goes into the
13355 rmail buffer also.
13356
f818cd2a
MR
133572011-08-31 Martin Rudalics <rudalics@gmx.at>
13358
13359 * window.el (display-buffer-window): Rewrite doc-string.
13360 (display-buffer-record-window): New function.
13361 (display-buffer-macro-specifiers)
13362 (display-buffer-even-window-sizes, display-buffer-set-height)
13363 (display-buffer-set-width, display-buffer-in-window)
13364 (display-buffer-reuse-window, display-buffer-split-specifiers)
13365 (display-buffer-side-specifiers, display-buffer-split-window-1)
13366 (display-buffer-split-window, display-buffer-split-atom-window)
13367 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13368 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13369 (display-buffer-other-window-means-other-frame)
13370 (display-buffer-normalize-special)
13371 (display-buffer-normalize-default)
13372 (display-buffer-normalize-argument)
13373 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13374 (display-buffer-normalize-specifiers, display-buffer-frame)
13375 (display-buffer-same-window, display-buffer-same-frame)
13376 (display-buffer-other-window)
13377 (display-buffer-same-frame-other-window)
13378 (display-buffer-other-frame, pop-to-buffer-same-window)
13379 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13380 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13381 (switch-to-buffer-same-frame)
13382 (switch-to-buffer-other-window-same-frame)
13383 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13384 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13385 (display-buffer-alist-set): Remove.
13386 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13387 (special-display-regexps, special-display-function):
13388 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13389 parameter.
13390 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13391 (special-display-frame-alist, special-display-popup-frame)
13392 (same-window-buffer-names, same-window-regexps, same-window-p)
13393 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13394 (split-window-preferred-function, split-height-threshold)
13395 (split-width-threshold, window-splittable-p)
13396 (split-window-sensibly, window--try-to-split-window)
13397 (window--frame-usable-p, even-window-heights)
13398 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13399 (window--display-buffer-2, display-buffer-other-frame):
13400 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13401 (display-buffer-default, display-buffer-assq-regexp): New functions.
13402 (display-buffer-alist): Rewrite doc-string.
13403 (display-buffer-default-action)
13404 (display-buffer-overriding-action): New variables.
13405 (display-buffer, switch-to-buffer): Rewrite.
13406 (pop-to-buffer): Restore Emacs 23 behavior but use
13407 window-normalize-buffer-to-display.
13408 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13409 Restore Emacs 23 behavior but use
13410 window-normalize-buffer-to-switch-to.
13411 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13412 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13413 Rewrite using Emacs 23 options.
f818cd2a 13414
5bc3b51d
MA
134152011-08-31 Michael Albinus <michael.albinus@gmx.de>
13416
13417 * net/tramp.el (tramp-root-regexp): Remove.
13418 (tramp-completion-file-name-regexp-unified)
13419 (tramp-completion-file-name-regexp-separate)
13420 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13421 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13422 (tramp-drop-volume-letter): Simplify definition.
13423 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13424
b1a4f8e1
SM
134252011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13426
13427 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13428 (bug#9356).
13429
5664fa7b
RT
134302011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13431
b1a4f8e1 13432 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13433
9a45d6c3
JL
134342011-08-29 Juri Linkov <juri@jurta.org>
13435
13436 * isearch.el (isearch-done): Don't display message "Mark saved"
13437 when arg `edit' is non-nil to prevent its flicker in the echo area.
13438
fb87e0fb
CY
134392011-08-28 Chong Yidong <cyd@stupidchicken.com>
13440
13441 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13442 obsolete packages for deletion.
13443
09ac1c2a
CS
134442011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13445
13446 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13447 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13448 view-mode from help-mode.
13449 (help-xref-override-view-map): Remove.
13450 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13451 view-mode is not used anymore.
13452
7a1ff57f
CY
134532011-08-28 Chong Yidong <cyd@stupidchicken.com>
13454
13455 * server.el (server-port): Doc fix.
13456
b9696605
CY
13457 * cus-theme.el (custom-theme-choose-mode): Inherit from
13458 special-mode (Bug#9124).
13459 (custom-theme-choose-mode-map): Add special-mode to parent.
13460
ef8cdf8c
AM
134612011-08-28 Alan Mackenzie <acm@muc.de>
13462
13463 * progmodes/cc-fonts.el
13464 (c-make-font-lock-BO-decl-search-function): New function.
13465 (c-basic-matchers-after - "Fontify the clauses after various
13466 keywords"): Extract the three keyword lists for the 3 erroneous
13467 constructs from the list of four, and use the new function above
13468 in place of an old one.
13469
27de4e20
DD
134702011-08-28 Deniz Dogan <deniz@dogan.se>
13471
13472 * net/rcirc.el (rcirc-insert-prev-input)
13473 (rcirc-insert-next-input): Remove unused argument.
13474
356a3681
SM
134752011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13478
3fc9b218
AM
134792011-08-27 Alan Mackenzie <acm@muc.de>
13480
13481 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13482 handle function pointer parameters properly.
13483
538a061c
MR
134842011-08-27 Martin Rudalics <rudalics@gmx.at>
13485
13486 * window.el (display-buffer-reuse-window): Fix case where
13487 selected window was reused with non-nil OTHER-WINDOW argument.
13488 (Bug#9381)
13489
35b1c40c
DD
134902011-08-27 Deniz Dogan <deniz@dogan.se>
13491
13492 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13493 oftc's NickServ messages.
13494
2f6a3e79
GM
134952011-08-27 Glenn Morris <rgm@gnu.org>
13496
13497 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13498
7254299e
CY
134992011-08-26 Chong Yidong <cyd@stupidchicken.com>
13500
13501 * emacs-lisp/package.el (package-install): Call package-initialize
13502 if called interactively.
13503
f8ccf167
LL
135042011-08-26 Leo Liu <sdl.web@gmail.com>
13505
13506 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13507
3e8cd5ce
JL
135082011-08-25 Juri Linkov <juri@jurta.org>
13509
13510 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13511 `search-whitespace-regexp' (bug#9364).
13512
93eb7113
JL
135132011-08-25 Juri Linkov <juri@jurta.org>
13514
13515 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13516 `regexp-search-ring' to their global values to protect from
13517 updating by `read-from-minibuffer' (bug#9185).
13518
f65d1611
JL
135192011-08-25 Juri Linkov <juri@jurta.org>
13520
13521 * textmodes/ispell.el (ispell-command-loop): Add newline
13522 at the end of the "Use option `i'..." line.
13523
f1cf7a31
JL
135242011-08-25 Juri Linkov <juri@jurta.org>
13525
13526 * battery.el (display-battery-mode): If `battery-status-function'
13527 or `battery-mode-line-format' is nil, display the message and set
13528 `display-battery-mode' to nil (bug#9363).
13529
0c95fcf7
EZ
135302011-08-25 Eli Zaretskii <eliz@gnu.org>
13531
13532 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13533 bidi-string-mark-left-to-right; they are unnecessary now.
13534
a2ebe600
DD
135352011-08-25 Deniz Dogan <deniz@dogan.se>
13536
13537 * net/quickurl.el: Documentation typo fixes.
13538
e4ed06f1
CY
135392011-08-25 Chong Yidong <cyd@stupidchicken.com>
13540
13541 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13542
e5f1c99e
GM
135432011-08-25 Glenn Morris <rgm@gnu.org>
13544
b2948976
GM
13545 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13546
e5f1c99e
GM
13547 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13548 (smtpmail-via-smtp): Handle nil response from smtp.
13549
f22f4808
JL
135502011-08-24 Juri Linkov <juri@jurta.org>
13551
13552 * proced.el (proced-marked): Inherit from `error' instead of
13553 `font-lock-warning-face'.
13554
13555 * ibuffer.el (ibuffer-marked-face): Change default face from
13556 `font-lock-warning-face' to `warning'.
13557 (ibuffer-deletion-face): Change default face from
13558 `font-lock-type-face' to `error'.
13559
13560 * battery.el (battery-update): Use the face `error' instead of
13561 `font-lock-warning-face' (bug#6117).
13562
6a93965e
JL
135632011-08-24 Juri Linkov <juri@jurta.org>
13564
13565 * faces.el (success): Change face color from "Green3" to
13566 "ForestGreen" on light background (bug#9353).
13567
1ed43b09
CY
135682011-08-24 Chong Yidong <cyd@stupidchicken.com>
13569
5664fa7b
RT
13570 * window.el (quit-window): Rename from quit-restore-window.
13571 Use same arglist as old quit-window.
1ed43b09
CY
13572 (frame-auto-delete): Doc fix.
13573
13574 * view.el (view-mode-exit): Use quit-window.
13575
11dcdbb2
JL
135762011-08-24 Juri Linkov <juri@jurta.org>
13577
13578 * isearch.el (isearch-ring-adjust1): Start visiting previous
13579 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13580 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13581 for empty search string (when the last search string is reused
13582 automatically) to adjust the isearch ring to the last element and
13583 prepare the correct index for further M-p commands (bug#9185).
13584
de62b4df
KH
135852011-08-24 Kenichi Handa <handa@m17n.org>
13586
13587 * international/ucs-normalize.el: If decomposition property of
13588 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13589 nil.
13590 (nfd, nfkd): Likewise.
13591
963b492b
SM
135922011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13593
13594 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13595 from process filters aren't reliably transmitted to the surrounding
13596 accept-process-output.
13597 (mpc-proc-check): New function.
13598 (mpc-proc-sync): Use it (bug#8293)
13599
93b6b5e1
SM
136002011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13601
13602 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13603 Add compatibility functions (bug#9313).
13604
bca633fb
EZ
136052011-08-23 Eli Zaretskii <eliz@gnu.org>
13606
b177498a
EZ
13607 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13608
6df6ae42 13609 * international/uni-bidi.el: Regenerate.
bca633fb 13610
0902a04e
KH
136112011-08-23 Kenichi Handa <handa@m17n.org>
13612
13613 * international/charprop.el:
13614 * international/uni-bidi.el:
13615 * international/uni-category.el:
13616 * international/uni-combining.el:
13617 * international/uni-comment.el:
13618 * international/uni-decimal.el:
13619 * international/uni-decomposition.el:
13620 * international/uni-digit.el:
13621 * international/uni-lowercase.el:
13622 * international/uni-mirrored.el:
13623 * international/uni-name.el:
13624 * international/uni-numeric.el:
13625 * international/uni-old-name.el:
13626 * international/uni-titlecase.el:
13627 * international/uni-uppercase.el: Regenerate.
13628
3bbf23bc
MR
136292011-08-23 Martin Rudalics <rudalics@gmx.at>
13630
13631 * help.el (help-window-setup): Fix message displayed when other
13632 window is reused. (Bug#9341)
13633
b3fd59bd
SM
136342011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13635
1802e444
SM
13636 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13637 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13638
b3fd59bd
SM
13639 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13640 Mark obsolete.
13641 * shell.el (shell-parse-pcomplete-arguments): New function.
13642 (shell-completion-vars): Use it instead (bug#9160).
13643
4eb61348
SM
136442011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13645
867cab74
SM
13646 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13647 strings and comments (bug#9333).
13648
4eb61348
SM
13649 * emacs-lisp/debug.el (debug-arglist): New function.
13650 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13651 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13652
262a1439
JL
136532011-08-22 Juri Linkov <juri@jurta.org>
13654
56ee679c
JL
13655 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13656 Revert regexp that highlights output switches to its old
13657 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13658
262a1439
JL
13659 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13660 to check for empty output (bug#9226).
13661
f13f86fb
CY
136622011-08-22 Chong Yidong <cyd@stupidchicken.com>
13663
13664 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13665 symbol-constituent as the default, as that stops font-lock from
13666 working properly (Bug#8843).
13667
c65c9622
LMI
136682011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13669
13670 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13671 `coding-system-for-*' around the process open call to avoid
13672 auth-source side effects.
e7f2c178 13673 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13674 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13675 probe hangs.
c65c9622 13676
23a8a5ab
CY
136772011-08-21 Chong Yidong <cyd@stupidchicken.com>
13678
ff98b2dd
CY
13679 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13680
23a8a5ab
CY
13681 * emacs-lisp/find-func.el (find-function-noselect): New arg
13682 lisp-only.
13683
13684 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13685 signal an error for built-in functions (Bug#6664).
13686
f5e3c598
LMI
136872011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13688
13689 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13690 (smtpmail-try-auth-methods): Use it.
13691
a3f2468a
CY
136922011-08-21 Chong Yidong <cyd@stupidchicken.com>
13693
2c34e8da
CY
13694 * font-lock.el (font-lock-fontify-region)
13695 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13696 (font-lock-default-unfontify-buffer)
13697 (font-lock-default-fontify-region)
13698 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13699
b3fd59bd
SM
13700 * progmodes/compile.el (compilation-error-properties):
13701 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13702 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13703 `ant' regexp.
ee31aabc 13704
a3f2468a
CY
13705 * net/browse-url.el (browse-url-firefox): Don't call
13706 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13707
8e999f70
GM
137082011-08-20 Glenn Morris <rgm@gnu.org>
13709
c21a496a
GM
13710 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13711
59ee0542
GM
13712 * tutorial.el (tutorial--default-keys): Update some default bindings.
13713
8e999f70
GM
13714 * files.el (hack-local-variables): Fully ignore case for "mode:".
13715
e3715033
AM
137162011-08-20 Alan Mackenzie <acm@muc.de>
13717
13718 Resolve invalid use of a regexp in regexp-opt.
13719
4d61f28d
JB
13720 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13721 detection for a java annotation.
e3715033 13722
4d61f28d 13723 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13724 detection for a java annotation.
13725
4d61f28d
JB
13726 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13727 handling for java.
e3715033
AM
13728 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13729
04ed2e9c
CY
137302011-08-20 Chong Yidong <cyd@stupidchicken.com>
13731
13732 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13733 (Bug#9274).
13734
826cee64
AM
137352011-08-20 Alan Mackenzie <acm@muc.de>
13736
58179cce 13737 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13738 such a construct. Mainly for when jit-lock etc. starts a chunk
13739 here.
13740
58179cce 13741 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13742 variable.
58179cce 13743 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13744 c-make-font-lock-search-function.
13745 (c-make-font-lock-search-function): Use the above function.
13746 (c-make-font-lock-context-search-function): New function.
13747 (c-cpp-matchers): Enhance the preprocessor expression case with
13748 the above function
13749 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13750 which takes an expression.
13751
13752 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13753
13009bd8
MR
137542011-08-20 Martin Rudalics <rudalics@gmx.at>
13755
13756 * window.el (display-buffer-reuse-window)
13757 (display-buffer-pop-up-window): Don't reuse or split a side
13758 window.
13759
9234ff7f
GM
137602011-08-19 Glenn Morris <rgm@gnu.org>
13761
13762 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13763 Downcase "Mode:". (Bug#9331)
9234ff7f 13764
f635daa1
CY
137652011-08-18 Chong Yidong <cyd@stupidchicken.com>
13766
13767 * international/characters.el: Add L and R categories.
13768
13769 * subr.el (bidi-string-mark-left-to-right): Rename from
13770 string-mark-left-to-right. Use category search.
13771
13772 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13773
bc987f8b
JL
137742011-08-18 Juri Linkov <juri@jurta.org>
13775
13776 * faces.el (error, warning, success): New faces with definitions
13777 copied from old default values of `font-lock-warning-face',
13778 `compilation-warning', `compilation-info' (bug#6117).
13779
13780 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13781
13782 * progmodes/compile.el (compilation-error): Inherit from `error'.
13783 (compilation-warning): Inherit from `warning'.
13784 (compilation-info): Inherit from `success'.
13785
13786 * dired.el (dired-marked): Inherit from `warning'.
13787 (dired-flagged): Inherit from `error'.
13788
57173b96
LMI
137892011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13790
3e79eb87
LMI
13791 * mail/smtpmail.el (auth-source): Require to avoid problems with
13792 binding variables (bug#9298). Also clean up some unused
13793 autoloads.
13794
b3fd59bd
SM
13795 * net/network-stream.el (network-stream-open-starttls):
13796 Support using starttls.el without using gnutls-cli.
57173b96 13797
02b404de
JL
137982011-08-17 Juri Linkov <juri@jurta.org>
13799
13800 * progmodes/grep.el (rgrep): Handle the case when
13801 `grep-find-command' is a cons cell (bug#9278).
13802
8c9177f2
MR
138032011-08-17 Martin Rudalics <rudalics@gmx.at>
13804
13805 * window.el (display-buffer-pop-up-frame): Run frame creation
13806 function with BUFFER current (as special-display-popup-frame
13807 does). Reported by Drew Adams.
13808
3644a0ab
DU
138092011-08-17 Daiki Ueno <ueno@unixuser.org>
13810
13811 * epa-mail.el: Simplify GnuPG group expansion using
13812 epg-expand-group.
13813 (epa-mail-group-alist, epa-mail-group-modtime)
13814 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13815 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13816 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13817 Remove.
13818
5e617bc2 138192011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13820
13821 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13822
9c4aeabf
AM
138232011-08-16 Alan Mackenzie <acm@muc.de>
13824
13825 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13826 Correct, to avoid the inside of macros.
13827
3a99bf64
RS
138282011-08-16 Richard Stallman <rms@gnu.org>
13829
04963aa8
RS
13830 * epa-mail.el: Handle GnuPG group definitions.
13831 (epa-mail-group-alist, epa-mail-group-modtime)
13832 (epa-mail-gnupg-conf-file): New variables.
13833 (epa-mail-parse-groups, epa-mail-sync-groups)
13834 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13835 (epa-mail-expand-recipients): New functions.
13836 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13837
177549d0
RS
13838 * mail/rmail.el (rmail-epa-decrypt): New command.
13839
fe38beef
RS
13840 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13841 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13842 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13843 (epa-decrypt-armor-in-region): Make error message clearer.
13844
934eacb9
SM
138452011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13846
13847 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13848 and "a2b" to "ab" for `prefix'.
13849
d024fb4e
CY
138502011-08-14 Chong Yidong <cyd@stupidchicken.com>
13851
13852 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13853 filter groups.
de148fee
CY
13854 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13855 Fourquet (Bug#8804).
d024fb4e 13856
62f1ca49
JB
138572011-08-12 Juanma Barranquero <lekktu@gmail.com>
13858
13859 * startup.el (argi): Declare as global variable (bug#9275).
13860
9ccaaa4b
CY
138612011-08-12 Chong Yidong <cyd@stupidchicken.com>
13862
13863 * subr.el (string-mark-left-to-right): Search the entire string
13864 for RTL script, not just the terminating character. Doc fix.
13865
a3dae87a
SM
138662011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13867
6cd18349
SM
13868 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13869 New function.
13870 (js--regexp-literal, js-syntax-propertize-function): Remove.
13871 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13872 (js-mode-map): Don't rebind electric keys.
13873 (js-insert-and-indent): Remove.
13874 (js-mode): Setup electric-layout and electric-indent instead.
13875
a3dae87a
SM
13876 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13877
9d5cb631
DU
138782011-08-12 Daiki Ueno <ueno@unixuser.org>
13879
13880 * epa.el (epa-progress-callback-function): Fix the logic of
13881 displaying progress.
13882 * epa-file.el (epa-file-insert-file-contents): Make progress
13883 display more user-friendly.
13884 (epa-file-write-region): Ditto.
13885
3e26a4a2
CY
138862011-08-10 Chong Yidong <cyd@stupidchicken.com>
13887
13888 * subr.el (string-mark-left-to-right): New function.
13889
13890 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13891 Use string-mark-left-to-right.
13892 (list-buffers-noselect): Caller changed.
13893
a3dae87a
SM
13894 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13895 Use string-mark-left-to-right.
3e26a4a2
CY
13896 (tabulated-list-print): Recenter after moving point.
13897
ac8cf6e6
JL
138982011-08-10 Juri Linkov <juri@jurta.org>
13899
13900 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13901 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13902 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13903
8d96c9a4
CY
139042011-08-09 Chong Yidong <cyd@stupidchicken.com>
13905
13906 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13907 (Bug#7554).
13908
7be1c708 139092011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13910
13911 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13912 character. (Bug#6594)
13913
37e11a63
CY
139142011-08-08 Chong Yidong <cyd@stupidchicken.com>
13915
839dde57
CY
13916 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13917 (image-dired--with-db-file): New macro.
13918 (image-dired-write-tags, image-dired-remove-tag)
13919 (image-dired-create-gallery-lists, image-dired-write-comments)
13920 (image-dired-get-comment, image-dired-mark-tagged-files)
13921 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13922 (image-dired-gallery-generate): Use insert-file-contents.
13923
37e11a63
CY
13924 * time.el (display-time-world-list, display-time-world-display):
13925 * time-stamp.el (time-stamp-string):
13926 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13927 set-time-zone-rule (Bug#7337).
13928
0b4946c4
DU
139292011-08-08 Daiki Ueno <ueno@unixuser.org>
13930
13931 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13932 (epg-error-to-string, epg-errors-to-string): New function.
13933 (epg-wait-for-completion): Reverse errors list.
13934 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13935 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13936 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13937 (epg-sign-keys, epg-generate-key-from-file)
13938 (epg-generate-key-from-string): Format errors by using
13939 epg-errors-to-string (bug#9255).
13940 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13941
75bfc667
JL
139422011-08-07 Juri Linkov <juri@jurta.org>
13943
13944 * faces.el (list-faces-display): Remove extra angle bracket
13945 from `help-mode-map'.
13946
13947 * info.el (Info-history-toc-nodes): Doc fix.
13948
13949 * longlines.el (longlines-mode): Doc fix.
13950
673e08bb
SM
139512011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13952
4640dd88
SM
13953 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13954 of statements and in a few more cases (bug#9183).
13955
673e08bb
SM
13956 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13957 New functions.
13958 (cl-transform-lambda): Use them (bug#9239).
13959
89b3f019
MR
139602011-08-05 Martin Rudalics <rudalics@gmx.at>
13961
13962 * window.el (display-buffer-same-window)
13963 (display-buffer-same-frame, display-buffer-other-window)
13964 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13965 (pop-to-buffer-other-window)
13966 (pop-to-buffer-same-frame-other-window)
13967 (pop-to-buffer-other-frame): Make them defuns.
13968 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13969
640c8776
SM
139702011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13971
13972 * subr.el (make-composed-keymap): Move from C. Change calling
13973 convention, and improve docstring to bring attention to a subtle point.
13974 * minibuffer.el (completing-read-default): Adjust accordingly.
13975
63648a95
MA
139762011-08-03 Michael Albinus <michael.albinus@gmx.de>
13977
13978 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13979 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13980
13981 * net/trampver.el: Update release number.
13982
b796c9b7
SM
139832011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13984
13985 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13986 "in" (bug#9190).
13987
2239d7d5
LMI
139882011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13989
e07dd7c3
LMI
13990 * mail/sendmail.el (sendmail-query-once): Restore the current
13991 buffer after querying (bug#9074).
13992
0e6a2bd7
LMI
13993 * dired.el (dired-flagged): Use different faces for marked and
13994 flagged files (bug#6117).
13995
ce887515
LMI
13996 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13997 (bug#4433).
13998
92f2affc
LMI
13999 * ido.el (ido-mode): Switch off the message if called
14000 non-interactively.
14001
57d5aff0
LMI
14002 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14003 before 587, since it appears that that's more likely to work for
14004 more people.
14005
98cd6c18 14006 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14007 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14008 exist.
14009
b96dec83
LMI
14010 * info.el: Remove the `Info-beginning-of-buffer' function
14011 (bug#8325).
14012
b796c9b7
SM
14013 * net/network-stream.el (network-stream-open-starttls):
14014 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14015
d90e2ea0
MR
140162011-08-01 Martin Rudalics <rudalics@gmx.at>
14017
14018 * window.el (display-buffer-in-window): Don't set dedicated status
14019 of window here (Bug#9215).
14020 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14021 (display-buffer-pop-up-side-window)
b796c9b7 14022 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14023
cca09170
SM
140242011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14025
14026 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14027 before binding generated-autoload-file.
14028
027b979c
DD
140292011-08-01 Deniz Dogan <deniz@dogan.se>
14030
14031 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14032
3c7ee4f3
MA
140332011-07-30 Michael Albinus <michael.albinus@gmx.de>
14034
14035 Sync with Tramp 2.2.2.
14036
14037 * net/trampver.el: Update release number.
14038
2cc8e51a
JL
140392011-07-30 Juri Linkov <juri@jurta.org>
14040
14041 * dired-aux.el (dired-touch-initial): Remove function.
14042 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14043 current time, and `default' to the last modification time of the
14044 current marked file (bug#6887).
14045
a514d856
JM
140462011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14047
14048 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14049 numeric argument to read-number (bug#9163).
a514d856 14050
8a7eddd7
MA
140512011-07-27 Michael Albinus <michael.albinus@gmx.de>
14052
14053 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14054 connection process, it could be nil.
14055
1ddd96f5
LL
140562011-07-27 Leo Liu <sdl.web@gmail.com>
14057
14058 Simplify url handling in rcirc-mode.
14059
14060 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14061 (rcirc-browse-url-at-mouse): Remove.
14062 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14063
b248a85d
AM
140642011-07-26 Alan Mackenzie <acm@muc.de>
14065
14066 Fontify bitfield declarations properly.
14067
14068 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14069 (c-symbol-chars): Now exported as a lang variable.
14070 (c-not-primitive-type-keywords): New lang variable.
14071
14072 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14073 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14074 parsed as a bitfield declaration.
b248a85d 14075
b796c9b7
SM
14076 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14077 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14078 (c-punctuation-in): New function.
14079 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14080 declarations properly.
14081
68575ab0
UJ
140822011-07-26 Ulf Jasper <ulf.jasper@web.de>
14083
14084 * calendar/icalendar.el (icalendar--all-events): Take care of
14085 multiple vcalendars in a single file.
b796c9b7 14086 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14087
0f0a88b9
DD
140882011-07-25 Deniz Dogan <deniz@dogan.se>
14089
14090 * image.el (insert-image): Clarifying docstring.
14091
0b3f36df
MA
140922011-07-24 Michael Albinus <michael.albinus@gmx.de>
14093
14094 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14095 `tramp-send-command-and-check' if there is no error.
14096 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14097
a9901f61
AM
140982011-07-22 Alan Mackenzie <acm@muc.de>
14099
14100 Prevent cc-langs.elc being loaded at run time.
14101
14102 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14103 cc-langs.
14104
4d61f28d 14105 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14106 "(require 'cc-langs)". Quote a form so it will evaluate at
14107 (cc-mode's) compilation time.
14108
11d074b2
MA
141092011-07-22 Michael Albinus <michael.albinus@gmx.de>
14110
14111 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14112 loading. (Bug#9114)
14113
938b94c8
MR
141142011-07-21 Martin Rudalics <rudalics@gmx.at>
14115
14116 * window.el (display-buffer-pop-up-window)
14117 (display-buffer-pop-up-side-window)
14118 (display-buffer-in-side-window): Call display-buffer-set-height
14119 and display-buffer-set-width after setting the new window's
b796c9b7 14120 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14121
bfa4f190
SS
141222011-07-20 Sam Steingold <sds@gnu.org>
14123
14124 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14125 (etags-tags-included-tables): Call `convert-standard-filename' on
14126 the file names contained in TAGS so that windows Emacs can handle
14127 TAGS files created by cygwin ctags.
14128
8ca42262
LMI
141292011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14130
14131 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14132 which apparently didn't work.
14133
5db2afd2 141342011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14135
5db2afd2
RW
14136 * proced.el (proced-send-signal): For *Marked Processes* buffer
14137 put point at beginning of buffer.
14138
92e15d10
SB
141392011-07-19 Stephen Berman <stephen.berman@gmx.net>
14140
14141 * proced.el (proced-format): Make header lines align with the text
14142 (bug#1779).
14143
1bfd59e5
LMI
141442011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14145
14146 * view.el (view-buffer): Allow running in `special' modes if we're
14147 visiting a file (bug#8615).
14148
f5aae37c
MR
141492011-07-19 Martin Rudalics <rudalics@gmx.at>
14150
14151 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14152 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14153 New functions.
f5aae37c
MR
14154 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14155 more accurately.
14156
bf2c1571
AM
141572011-07-18 Alan Mackenzie <acm@muc.de>
14158
14159 Fontify declarators properly when, e.g., a jit-lock chunk begins
14160 inside a declaration.
14161
14162 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14163
b796c9b7
SM
14164 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14165 New function.
bf2c1571
AM
14166 (c-complex-decl-matchers): Insert reference to
14167 c-font-lock-enclosing-decls.
14168
14169 * progmodes/cc-engine.el (c-backward-single-comment):
14170 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14171 to nil around calls to (forward-comment -1).
14172
4e190b80
LMI
141732011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14174
12dc863d
LMI
14175 * image.el (put-image): Doc typo fix.
14176
a762e966
LMI
14177 * progmodes/etags.el (tags-search): Doc typo fix.
14178
4e190b80
LMI
14179 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14180 password if we get errors 550 to 554.
14181
f019fb21
LMI
141822011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14183
b796c9b7 14184 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14185
81746738
LMI
14186 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14187 indentation character (bug#6380).
14188
3ee3a1b5
LMI
14189 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14190
c82f64de
LMI
14191 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14192 to clarify what the problem is (bug#4291).
14193
f019fb21
LMI
14194 * simple.el (current-kill): Clarify what
14195 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14196 (auto-fill-mode): Document `auto-fill-function' in relation to
14197 `auto-fill-mode' (bug#2470).
f019fb21 14198
0794775d
LM
141992011-07-16 Lawrence Mitchell <wence@gmx.li>
14200
14201 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14202 method if slot is read-only (bug#9035).
14203
be39b8cc
MR
142042011-07-16 Martin Rudalics <rudalics@gmx.at>
14205
b796c9b7 14206 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14207 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14208 selected before, see discussion of (Bug#8615), (Bug#6954).
14209 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14210
6ccf7859
GM
142112011-07-15 Glenn Morris <rgm@gnu.org>
14212
14213 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14214 Respect help-form.
6ccf7859 14215
87e86684
LM
142162011-07-09 Lawrence Mitchell <wence@gmx.li>
14217
14218 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14219 (gnutls-negotiate): Use it.
14220
d6066239
LMI
142212011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14222
b796c9b7
SM
14223 * net/gnutls.el (gnutls-negotiate):
14224 Upcase `gnutls-algorithm-priority'.
d6066239 14225
bd23ebc0
GM
142262011-07-15 Glenn Morris <rgm@gnu.org>
14227
c65bca65
GM
14228 * jka-compr.el (jka-compr-verbose): Move from here...
14229 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14230 Add missing :version tag.
14231 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14232
478615cc
LMI
142332011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14234
7b41decb
LMI
14235 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14236 (gnutls-negotiate): Use it.
14237
dbc44fcd
LMI
14238 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14239
06789f97
LMI
14240 * info.el (Info-beginning-of-buffer): New command.
14241 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14242 announcing `b' as the key (bug#8325).
ab896c37 14243 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14244
c39da690
LMI
14245 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14246
3aa5f34b
LMI
14247 * international/mule-cmds.el
14248 (describe-specified-language-support): Make the error message
14249 clearer (bug#8905).
14250
4bf0979f
LMI
14251 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14252
478615cc
LMI
14253 * isearch.el (isearch-barrier): Add a doc string, since it's
14254 mentioned in a function doc string (bug#8678).
14255
75c68aa1
MR
142562011-07-15 Martin Rudalics <rudalics@gmx.at>
14257
14258 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14259 buffer argument (Bug#9083) and self-identifying label argument.
14260
a7c33da2
GM
142612011-07-15 Glenn Morris <rgm@gnu.org>
14262
14263 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14264
2f5c6024
LMI
142652011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14266
14267 * man.el (Man-fontify-manpage): Fix message when formatting the
14268 man page (bug#7929).
14269
0bb23927 142702011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14271
14272 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14273 argument LRM; if non-nil, append an invisible LRM character to the
14274 buffer name.
14275 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14276 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14277 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14278 paragraph direction.
cce4b0a7 14279
621ef9ab
LMI
142802011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14281
d1583c48
LMI
14282 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14283 the man page name (bug#7929).
14284
6a57fb5f
LMI
14285 * image.el (put-image): Mention the `put-image' overlay property
14286 (bug#7834).
14287
d7956b14
LMI
14288 * scroll-bar.el (set-scroll-bar-mode): Mention that
14289 `scroll-bar-mode' lists the values (bug#7772).
14290
5b2d4a66
LMI
14291 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14292 command (bug#7729).
14293
7509a874
LMI
14294 * rect.el (apply-on-rectangle): Return the point after the last
14295 operation.
14296 (string-rectangle): Go to the point after the last operation
14297 (bug#7522).
14298
4fe74b19
LMI
14299 * printing.el (pr-toggle-region): Clarify the documentation
14300 slightly (bug#7493).
14301
b796c9b7
SM
14302 * time.el (display-time-update):
14303 Allow `display-time-mail-function' to return nil (bug#7158).
14304 Fix suggested by Detlev Zundel.
ab283561 14305
fc233c9d
LMI
14306 * vc/diff.el (diff): Clarify the order the file names are read
14307 (bug#7111).
14308
43f5740b
LMI
14309 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14310 the doc string (bug#7015).
14311
f2182a76
LMI
14312 * font-lock.el (font-lock-maximum-decoration): Mention what
14313 numeric levels mean (bug#6935).
14314
621ef9ab
LMI
14315 * startup.el (initial-buffer-choice): Don't mention the `none'
14316 selection, which is against policy.
14317
adc47434
MR
143182011-07-14 Martin Rudalics <rudalics@gmx.at>
14319
b796c9b7
SM
14320 * window.el (display-buffer-normalize-special):
14321 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14322
7e5bfb8f
EZ
143232011-07-14 Eli Zaretskii <eliz@gnu.org>
14324
14325 * subr.el (version<, version<=, version=): Mention "-CVS" and
14326 "-12345" alpha version numbers.
14327
27fa387a
CY
143282011-07-14 Chong Yidong <cyd@stupidchicken.com>
14329
14330 * bindings.el: Add advertised binding for set-mark-command
14331 (Bug#5772).
14332
8bdfa064
CY
143332011-07-14 Chong Yidong <cyd@stupidchicken.com>
14334
14335 * bindings.el (mode-line-other-buffer):
14336 * bookmark.el (bookmark-bmenu-2-window):
14337 * bs.el (bs-cycle-next, bs-cycle-previous):
14338 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14339 switch-to-buffer.
14340
14341 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14342 Delete.
8bdfa064 14343
5eba16a3
JB
143442011-07-14 Juanma Barranquero <lekktu@gmail.com>
14345
14346 * follow.el (follow-debug-message, follow-redisplay):
14347 * jka-cmpr-hook.el (with-auto-compression-mode):
14348 Fix typos in docstrings.
14349
15853710
LMI
143502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14351
a28e4607
LMI
14352 * subr.el (with-silent-modifications): Clarify somewhat what the
14353 macro inhibits (bug#6525).
14354
15853710
LMI
14355 * simple.el (eval-expression): Note what it does if called
14356 interactively (bug#6495).
14357
bee0fcef
CY
143582011-07-13 Chong Yidong <cyd@stupidchicken.com>
14359
b796c9b7
SM
14360 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14361 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14362
14363 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14364 Remove switch-to-buffer.
14365
58274504
LMI
143662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14367
bd2fcc8d
LMI
14368 * files.el (make-directory): Clarify that an error will be raised
14369 if there's an error (bug#6397).
14370
0f04b32c
LMI
14371 * startup.el (initial-buffer-choice): Add `none' as a choice
14372 (bug#6234).
14373
465c5fc8
LMI
14374 * subr.el (add-hook): Clarify section about buffer-local hooks
14375 (bug#6218).
14376
58274504
LMI
14377 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14378
bead9a43
JB
143792011-07-13 Juanma Barranquero <lekktu@gmail.com>
14380
14381 * tabify.el (untabify): Preserve the current column so that point
14382 doesn't move (bug#6032).
14383
3af98a7b
LMI
143842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14385
b796c9b7
SM
14386 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14387 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14388
6240145a
GM
143892011-07-13 Glenn Morris <rgm@gnu.org>
14390
14391 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14392 (dired-insert-directory): Give a message the first time
14393 if ls is found not to support --dired.
14394
1d8c2ccc
LMI
143952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14396
14397 * simple.el (toggle-truncate-lines): Clarify what is toggled
14398 (bug#5580). Text by Drew Adams.
14399
5fc4038e
CY
144002011-07-13 Chong Yidong <cyd@stupidchicken.com>
14401
14402 * simple.el (blink-matching-open): Make the error message from the
14403 last change less verbose.
14404
bf6012e5
DN
144052011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14406
14407 * font-lock.el (font-lock-comment-face): Use the high contrast
14408 "yellow" color for font-lock-comment-face on low color terminals
14409 using a dark background color (bug#4221).
14410
343c3b5a
LMI
144112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14412
7e9505c5
LMI
14413 * dired.el (dired-insert-set-properties): Make the doc string
14414 reflect what it does now (bug#5325).
14415
c26fdcf5
LMI
14416 * simple.el (blink-matching-open): Say that we were unable to find
14417 the match within the limit, if we're limited (bug#5122).
14418
bb388cc5
LMI
14419 * international/mule-cmds.el (prefer-coding-system): Add an
14420 example (bug#4869).
14421
343c3b5a
LMI
14422 * progmodes/etags.el (tags-search): Document `file-list-form'
14423 (bug#4731).
14424
2a517d45
LM
144252011-07-13 Lawrence Mitchell <wence@gmx.li>
14426
14427 * net/browse-url.el (browse-url-default-browser)
14428 (browse-url-browser-function): Make the default browser choice a
14429 bit more logical (bug#4300). Also clean up the doc string.
14430
b6c78ef2
JB
144312011-07-13 Juanma Barranquero <lekktu@gmail.com>
14432
14433 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14434 binary endings (bug#4440).
14435
1c4dd947
LMI
144362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14437
a2014063
LMI
14438 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14439 which can be pretty annoying (bug#8971).
14440
9c9c2d88
LMI
14441 * jka-compr.el (jka-compr-verbose): New variable, and use
14442 throughout (bug#8971).
14443
1c4dd947
LMI
14444 * info.el (Info-find-file): Fall back on the installation
14445 directory if we can't find the info node anywhere else.
14446
a1c9f41b
SO
144472011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14448
14449 * vc/vc.el (vc-revert-file):
14450 Don't set file time-stamp in the past. (Bug#5181)
14451
536f3d36
LMI
144522011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14453
7152b011
LMI
14454 * files.el (after-find-file): Give a better error message when
14455 trying to find a symlink that points to a file that doesn't exist
14456 (bug#4398).
14457
536f3d36
LMI
14458 * progmodes/cc-vars.el: Remove (probably) misleading comment
14459 (bug#4396).
14460
460c0fba
JB
144612011-07-12 Johan Bockgård <bojohan@gnu.org>
14462
14463 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14464
7a6bda45
CY
144652011-07-12 Chong Yidong <cyd@stupidchicken.com>
14466
14467 * mouse-sel.el: Hack restoring functionality, while keeping
14468 compatibility with 2010-07-03 changes to mouse selection.
14469 (mouse-sel-primary-overlay): New var.
14470 (mouse-sel-selection-alist): Use it.
14471 (mouse-sel-mode): Doc fix; remove points that are default features
14472 of mouse.el.
14473
c79598ef
JB
144742011-07-12 Johan Bockgård <bojohan@gnu.org>
14475
14476 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14477 Fix previous fix (bug#2490).
14478
ff8be6ef
RW
144792011-07-12 Roland Winkler <winkler@gnu.org>
14480
b796c9b7
SM
14481 * textmodes/bibtex.el (bibtex-initialize):
14482 Use pop-to-buffer-same-window.
ff8be6ef
RW
14483 (bibtex-search-entries): Fix interactive call.
14484
296ba3ee
LMI
144852011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14486
f5242a02 14487 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14488 Fontise bytecomp Error lines more correctly (bug#2490).
14489 Fix suggested by Johan Bockgård.
f5242a02 14490
296ba3ee
LMI
14491 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14492
14493 * dired-x.el (dired-guess-default): Use `delete-dups'.
14494
f69fd0d2
CY
144952011-07-12 Chong Yidong <cyd@stupidchicken.com>
14496
14497 * dired.el (dired-mark-prompt):
14498 * dired-aux.el (dired-read-shell-command): Doc fix.
14499
eab5dc07
LMI
145002011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14501
b796c9b7
SM
14502 * mail/sendmail.el (sendmail-query-once):
14503 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14504 emacs -Q.
14505
14506 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14507
eab5dc07
LMI
14508 * cus-edit.el (custom-file): Take an optional no-error variable.
14509 (customize-save-variable): Set the variable, and give a warning if
14510 running under "emacs -q".
14511
a1e65d42
JB
145122011-07-11 Juanma Barranquero <lekktu@gmail.com>
14513
14514 * loadhist.el (unload-feature-special-hooks):
14515 Add `auto-coding-functions', `fill-nobreak-predicate' and
14516 `find-directory-functions' (bug#5327).
14517
1d52da10
LMI
145182011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14519
be958f1d
LMI
14520 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14521
5bedb26c
LMI
14522 * cus-edit.el (custom-guess-name-alist): -alist variables should
14523 use the `alist' type (bug#3120). Suggested by Drew Adams.
14524
1d52da10
LMI
14525 * printing.el: Add documentation to all the `pr-toggle-' commands.
14526
cd394be1 145272011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14528
14529 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14530 backends where it makes sense (bug#2623).
14531
dcc88d8a
LMI
145322011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14533
c3de9feb
LMI
14534 * dired-x.el (dired-guess-default): Remove duplicate shell command
14535 entries (bug#2028).
8a93078b 14536 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14537 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14538
dcc88d8a
LMI
14539 * subr.el (remove-duplicates): New conveniency function.
14540
505e3645
LMI
145412011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14542
14543 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14544 (bug#1526).
14545
145462011-07-10 Martin Rudalics <rudalics@gmx.at>
14547
14548 * window.el (display-buffer-normalize-default): Don't invert
14549 meaning of even-window-heights. Reported by Eli Zaretskii
14550 <eliz@gnu.org>.
14551
455e4fa1
BR
145522011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14553
14554 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14555
8e0bc3e9
CY
145562011-07-10 Chong Yidong <cyd@stupidchicken.com>
14557
14558 * window.el (display-buffer): Fix arguments to
14559 display-buffer-reuse-window in last change.
14560
fa7c3228
CY
14561 * faces.el (link): Use a less saturated blue on light backgrounds.
14562
14563 * startup.el (fancy-startup-text, fancy-about-text)
14564 (fancy-startup-tail): Use font-lock faces, for background safety.
14565
c0a7f300
BN
145662011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14567
b796c9b7
SM
14568 * emulation/viper-cmd.el (viper-change-state-to-vi):
14569 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14570
4dc2a129
MR
145712011-07-09 Martin Rudalics <rudalics@gmx.at>
14572
14573 * window.el (display-buffer-default-specifiers): Remove.
14574 (display-buffer-macro-specifiers): Remove default specifiers.
14575 (display-buffer-alist): Default to nil.
b796c9b7 14576 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14577 (display-buffer-pop-up-window): Allow splitting internal
14578 windows. Check whether a live window was created.
14579 (display-buffer-other-window-means-other-frame)
14580 (display-buffer-normalize-arguments): Rename to
14581 display-buffer-normalize-argument and rewrite. Set the
14582 other-window specifier.
14583 (display-buffer-normalize-special): New function.
14584 (display-buffer-normalize-options): Rename to
14585 display-buffer-normalize-default and rewrite.
14586 (display-buffer-normalize-options-inhibit): Remove.
14587 (display-buffer-normalize-specifiers): Rewrite.
14588 (display-buffer): Process other-window specifier and call
14589 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14590 more faithfully.
b796c9b7 14591 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14592 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14593 (display-buffer-in-window, display-buffer-alist-set):
14594 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14595 <tassilo@member.fsf.org>.
14596
2d43b8c9
LL
145972011-07-09 Leo Liu <sdl.web@gmail.com>
14598
14599 * register.el (insert-register): Restore accidental change on
14600 2011-06-26. (Bug#9028)
14601
7f9b7c53
GM
146022011-07-09 Glenn Morris <rgm@gnu.org>
14603
14604 * subr.el (remq): Handle the empty list. (Bug#9024)
14605
f042cfd8
AS
146062011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14607
14608 * mail/sendmail.el (send-mail-function): No longer delay custom
14609 initialization.
14610 * custom.el (custom-initialize-delay): Doc fix.
14611
856b2f11
SM
146122011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14613
14614 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14615
afae1d68
MA
146162011-07-08 Michael Albinus <michael.albinus@gmx.de>
14617
14618 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14619 human-friendly prompt.
14620
0757af94
SM
146212011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14622
14623 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14624 provided by a particular plugin.
14625
d760b731
LMI
146262011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14627
14628 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14629 save customizations (with "emacs -Q"), just set the variable
14630 instead of erroring out.
14631
14632 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14633
cd79ce90
JL
146342011-07-08 Juri Linkov <juri@jurta.org>
14635
14636 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14637 (archive-zip-update-case): Use 7z if found by `executable-find'.
14638 The order of searching the available programs is the same as in
14639 `archive-zip-extract' (bug#8968).
14640
14cc04aa
CY
146412011-07-07 Chong Yidong <cyd@stupidchicken.com>
14642
14643 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14644 (menu-bar-options-menu): Tweak descriptions.
14645
0a1848ec
LMI
146462011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14647
14648 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14649 menu items into verb phrases (bug#1421). Also refill to fit under
14650 80 columns.
14651
f5bd0689
CY
146522011-07-07 Chong Yidong <cyd@stupidchicken.com>
14653
538e85c6
CY
14654 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14655 (Info-read-node-name): Doc fix (Bug#1084).
14656
f5bd0689
CY
14657 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14658 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14659 (end-of-sexp, beginning-of-sexp)
14660 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14661 (forward-symbol, forward-same-syntax, word-at-point)
14662 (sentence-at-point): Doc fix (Bug#1144).
14663
56ec5115
LMI
146642011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14665
f3f8e37f
LMI
14666 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14667 should cover it (bug#1281).
14668
0757af94 14669 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14670
e9fce1ac 14671 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14672 negotiation fails, then possibly try again with a non-encrypted
14673 connection (bug#9017).
14674
56ec5115
LMI
14675 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14676 be used.
14677
c2f9aec8
RS
146782011-07-07 Richard Stallman <rms@gnu.org>
14679
14680 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14681 property, and handle its changed format.
14682 Look for the correct line number.
14683 Use file's line contents (but not past first =) to find
14684 correct line in message.
14685
ef7b981d 146862011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14687
14688 * international/characters.el (build-unicode-category-table):
14689 Delete it.
0757af94 14690 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14691
0757af94 14692 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14693 to src/chartab.c.
14694 (get-char-code-property): Call unicode-property-table-internal to
14695 load a file. Call get-unicode-property-internal where necessary.
14696 (put-char-code-property): Call unicode-property-table-internal to
14697 load a file. Call put-unicode-property-internal where necessary.
14698 put-unicode-property-internal where necessary.
0757af94
SM
14699 (char-code-property-description):
14700 Call unicode-property-table-internal to load a file.
c805dec0
KH
14701
14702 * international/charprop.el:
14703 * international/uni-bidi.el:
14704 * international/uni-category.el:
14705 * international/uni-combining.el:
14706 * international/uni-comment.el:
14707 * international/uni-decimal.el:
14708 * international/uni-decomposition.el:
14709 * international/uni-digit.el:
14710 * international/uni-lowercase.el:
14711 * international/uni-mirrored.el:
14712 * international/uni-name.el:
14713 * international/uni-numeric.el:
14714 * international/uni-old-name.el:
14715 * international/uni-titlecase.el:
14716 * international/uni-uppercase.el: Regenerate.
14717
14718 * loadup.el: Load international/charprop.el before
14719 international/characters.
14720
e14b388a
CY
147212011-07-07 Chong Yidong <cyd@stupidchicken.com>
14722
14723 * window.el (next-buffer, previous-buffer): Signal an error if
14724 called from a minibuffer window.
14725
14726 * bindings.el: Revert 2011-07-04 change.
14727
354cf0ba
RS
147282011-07-06 Richard Stallman <rms@gnu.org>
14729
14730 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14731 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14732 Treat markers like ints.
14733 (rmail-mime-entity): Doc fix.
14734
a48868a7
LMI
147352011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14736
4906cd3d
LMI
14737 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14738 defcustom again for backwards compatibility.
14739
e0457abe
LMI
14740 * simple.el (shell-command-on-region): Fill.
14741
d67f7e1f
LMI
14742 * dired-aux.el (dired-kill-line): Add a doc string.
14743
fe204702
LMI
14744 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14745 to "\\sw\\|\\s_" (bug#358).
14746
a48868a7
LMI
14747 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14748 (dired-unmark-backward): Ditto.
14749 (dired-flag-backup-files): Ditto.
14750
14751 * dired-x.el (dired-mark-sexp): Ditto.
14752
aa8a705c
RS
147532011-07-06 Richard Stallman <rms@gnu.org>
14754
14755 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14756 (rmail-mime-entity): New arg TRUNCATED.
14757 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14758 New functions.
14759 (rmail-mime-save): Warn if entity is truncated.
14760 (rmail-mime-toggle-hidden): Likewise, for showing.
14761 (rmail-mime-process-multipart): Record when an entity is truncated.
14762
a9a936b9
RS
14763 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14764 if ENTITY is a string.
14765
1f2b92cb
LMI
147662011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14767
f4f73198 14768 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14769 of faces when `M-C-x'-ing their definitions (bug#8378).
14770 Also clean up the code slightly.
f4f73198 14771
12b16734 14772 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14773 because that makes the colors go away.
12b16734 14774
f0691d22
LMI
14775 * mail/sendmail.el (send-mail-function): Change the default to
14776 `sendmail-query-once'.
9e87df06 14777 (sendmail-query-once): Add an autoload cookie.
f0691d22 14778
1f2b92cb
LMI
14779 * net/network-stream.el (network-stream-open-starttls): Try using
14780 a plain connection even if the server offered STARTTLS, and we
14781 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14782 capability. This should make smtpmail.el work in slightly more
14783 configurations.
14784
1cdd2a1b
MA
147852011-07-06 Michael Albinus <michael.albinus@gmx.de>
14786
14787 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14788 New defun.
14789 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14790
fbcc67e2
MM
147912011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14792
14793 * progmodes/sql.el: Version 3.0
0757af94 14794 (sql-product-alist): Add product :completion-object,
fbcc67e2 14795 :completion-column, and :statement attributes.
0757af94 14796 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14797 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14798 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14799 ansi keywords.
14800 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14801 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14802 (sql-oracle-show-reserved-words): New function for development.
14803 (sql-product-font-lock): Simplify for source code buffers.
14804 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14805 New functions.
14806 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14807 (sql-mode-map): Add statement movement functions.
14808 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14809 New variable.
fbcc67e2
MM
14810 (sql-statement-regexp, sql-beginning-of-statement)
14811 (sql-end-of-statement, sql-signum): New functions.
0757af94 14812 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14813 (sql-show-sqli-buffer): Bug fix.
14814 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14815 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14816 with sql-interactive-mode.
14817 (sql-save-connection): Save buffer local settings.
0757af94 14818 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14819 (sql-product-interactive): Bug fix.
14820 (sql-preoutput-hold): New variable.
14821 (sql-interactive-remove-continuation-prompt): Bug fixes.
14822 (sql-debug-redirect): New variable.
14823 (sql-str-literal): New function.
14824 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14825 Redesign.
fbcc67e2
MM
14826 (sql-oracle-save-settings, sql-oracle-restore-settings)
14827 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14828 (sql-completion-object, sql-completion-column)
14829 (sql-completion-sqlbuf): New variables.
14830 (sql-build-completions-1, sql-build-completions)
14831 (sql-try-completion): New functions.
14832 (sql-read-table-name): Use them.
14833 (sql-contains-names): New buffer local variable.
14834 (sql-list-all, sql-list-table): Use it.
14835 (sql-oracle-completion-types): New variable.
14836 (sql-oracle-completion-object, sql-sqlite-completion-object)
14837 (sql-postgres-completion-object): New functions.
14838
d4eaeab1
GM
148392011-07-06 Glenn Morris <rgm@gnu.org>
14840
14841 * window.el (pop-to-buffer): Doc fix.
14842
322b7dab 148432011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14844
14845 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14846
322b7dab 148472011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14848
322b7dab 14849 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14850
322b7dab 14851 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14852
605dd5bf
CY
148532011-07-05 Chong Yidong <cyd@stupidchicken.com>
14854
14855 * button.el (button): Inherit from link face. Suggested by Dan
14856 Nicolaescu.
14857
7dbfa719
SM
148582011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14859
3db614b0
SM
14860 * progmodes/gdb-mi.el: Fit in 80 columns.
14861 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14862 switch-to-buffer.
14863
7dbfa719
SM
14864 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14865 if imenu is simply not configured (bug#8941).
14866
919d884a
KM
148672011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14868
14869 * allout.el (allout-post-undo-hook): New allout outline-change
14870 event hook to signal undo activity.
14871 (allout-post-command-business): Run allout-post-undo-hook if an
14872 undo just occurred.
7dbfa719
SM
14873 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14874 * allout-widgets.el (allout-widgets-after-undo-function):
14875 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14876 in the vicinity of an undo.
14877 (allout-widgets-mode): Include allout-widgets-after-undo-function
14878 on the new allout-post-undo-hook.
14879
450a0f09
SM
148802011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14881
14882 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14883 Let define-derived-mode define it.
14884 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14885 cycles of abbrev-table inheritance (bug#8998).
14886
2de69e00
RW
148872011-07-05 Roland Winkler <winkler@gnu.org>
14888
14889 * textmodes/bibtex.el: Add support for biblatex.
14890 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14891 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14892 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14893 (bibtex-entry-alist, bibtex-field-alist): New variables.
14894 (bibtex-entry-field-alist): Obsolete alias for
14895 bibtex-BibTeX-entry-alist.
14896 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14897 (bibtex-set-dialect): New command.
14898 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14899 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14900 Bind via bibtex-set-dialect.
2de69e00
RW
14901 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14902 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14903 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14904 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14905 Define via bibtex-set-dialect.
450a0f09
SM
14906 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14907 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14908 (bibtex-vec-push, bibtex-vec-incr): New functions.
14909 (bibtex-format-entry, bibtex-field-list)
14910 (bibtex-print-help-message, bibtex-validate)
14911 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14912
2dcdbdd9
SM
149132011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14914
14915 * progmodes/compile.el (compilation-goto-locus):
14916 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14917 * bs.el (bs-cycle-next, bs-cycle-previous):
14918 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14919 * bindings.el (mode-line-other-buffer):
14920 * autoinsert.el (auto-insert):
14921 * arc-mode.el (archive-extract):
14922 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14923
b27640fe
JB
149242011-07-05 Juanma Barranquero <lekktu@gmail.com>
14925
14926 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14927 Fix check of `emacs-lock-unlockable-modes'.
14928 Coerce true values of `emacs-lock--try-unlocking' to t.
14929
53bbe3ad
JB
149302011-07-05 Juanma Barranquero <lekktu@gmail.com>
14931
14932 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14933 * emacs-lock.el: New file.
14934
1d3cdbc7
JD
149352011-07-05 Julien Danjou <julien@danjou.info>
14936
14937 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14938 than `boundp' to check if face is set.
14939
9173deec
JB
149402011-07-05 Juanma Barranquero <lekktu@gmail.com>
14941
14942 * register.el (registerv-make):
14943 * window.el (window-min-height): Fix typos in docstrings.
14944
869795d6
JD
149452011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14946
9173deec 14947 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14948 Update doc string.
14949
b768cdcd
JB
149502011-07-04 Juanma Barranquero <lekktu@gmail.com>
14951
14952 * server.el (server-execute): Catch quit and call
14953 `server-return-error' to pass the error back to emacsclient and
14954 close the connection (bug#8942).
14955
13aa217b
KM
149562011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14957
14958 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14959 insecure exception for current topic. Also note that auto-saves
14960 are handled differently.
14961
5d3385a0 14962 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14963 State variables for tracking auto-save inhibition situation.
14964
14965 (allout-write-contents-hook-handler): Rename from
14966 'allout-write-file-hook-handler', and describe how it depends on
14967 write-contents-functions sensitivity to non-nil value to prevent
14968 file write.
14969
14970 (allout-auto-save-hook-handler): Remove. auto-save does not check
14971 this in individual buffers, only in the starting buffer, so this
14972 is not the right way for us to inhibit auto-save in a buffer
14973 according to its condition.
14974
14975 (allout-mode): Use new allout-write-contents-hook-handler, and
14976 only with write-contents-functions. Remove auto-save provisions -
14977 they're implemented elsewhere.
14978
14979 (allout-before-change-handler): If undo is in progress, note that
14980 for attention of allout-post-command-business.
14981
14982 (allout-post-command-business): If the command we're following was
14983 an undo, check for change in the status of encrypted items and
14984 adjust auto-save inhibitions accordingly.
14985
14986 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14987 according to whether there are or aren't any plain-text topics
14988 pending encryption.
14989
2dcdbdd9 14990 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14991 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14992 if there are plain-text topics pending encryption.
13aa217b
KM
14993
14994 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14995 buffer-saved-size and some allout state to not inhibit auto-saves
14996 if there are no longer any plain-text topics pending encryption.
14997
0757af94
SM
14998 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14999 No longer provide for exemption of the current topic.
13aa217b 15000
ac89b32c
JL
150012011-07-04 Juri Linkov <juri@jurta.org>
15002
15003 Add 7z operations to delete and save changed members (bug#8968).
15004 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15005 New defcustoms.
15006 (archive-7z-write-file-member): New function.
15007 (archive-7z-summarize): Fix the number of dashes in the
15008 listing output.
15009
8fa39615
SM
150102011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15011
15012 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15013 (bug#8958).
15014
2f11b3f1
CY
150152011-07-04 Chong Yidong <cyd@stupidchicken.com>
15016
d66fef2b
CY
15017 * bindings.el: Ignore next-buffer and previous-buffer in
15018 minibuffer-local-map.
15019
2f11b3f1
CY
15020 * font-lock.el (font-lock-builtin-face): Change light background
15021 color to dark slate blue (Bug#6693).
15022
f932a347
WD
150232011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15024
15025 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15026
c8af70e1
SM
150272011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15028
15029 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15030 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15031 Add switch-to-buffer.
15032
f158badc
LMI
150332011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15034
15035 * isearch.el (isearch-search-fun-function): Clarify further the
15036 meaning of the function returned.
15037
6d95bd46
MA
150382011-07-04 Michael Albinus <michael.albinus@gmx.de>
15039
15040 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15041
15042 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15043 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15044 Use it.
15045 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15046 `tramp-default-remote-path' does not exist.
15047 (tramp-send-command-and-read): New optional argument NOERROR.
15048 (tramp-open-connection-setup-interactive-shell)
15049 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15050 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15051 (tramp-process-sentinel): Flush also process' connection property.
15052 (tramp-sh-handle-start-file-process): Do not set process
15053 sentinel. It is done now ...
15054 (tramp-maybe-open-connection): ... here. (Bug#8929)
15055
909e6b67
MK
150562011-07-04 MON KEY <monkey@sandpframing.com>
15057
15058 * play/animate.el (animate-string): Doc fixes and allow changing
15059 the buffer name (bug#5417).
15060
150612011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15062
c8af70e1 15063 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15064
f34755dc
PE
150652011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15066
396cec72
PE
15067 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15068 This is simpler and helps future-proof the code.
15069 (timer-until): Use time-subtract and float-time.
08235028 15070 (timer--time-less-p): Use time-less-p.
f34755dc 15071
56e6cc31
JB
150722011-07-04 Juanma Barranquero <lekktu@gmail.com>
15073
3abb79e5
JB
15074 * type-break.el (timep): Use the value of `float-time' to avoid a
15075 byte-compiler warning.
15076
56e6cc31
JB
15077 * server.el (server-eval-and-print): Return any result, even nil.
15078
7b9430b4
PE
150792011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15080
15081 * type-break.el: Accept time formats that the builtins accept.
15082 (timep, type-break-time-difference): Accept any format that
15083 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15084 This is simpler and helps future-proof the code.
15085 (type-break-time-difference): Round rather than ignoring
15086 subseconds components.
15087
3034e9e7
LMI
150882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15089
15090 * info.el (Info-apropos-matches): Make non-interactive, since it
15091 doesn't seem to do anything useful as a command (bug#8829).
15092
1485f4c0
CY
150932011-07-03 Chong Yidong <cyd@stupidchicken.com>
15094
15095 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15096 Move from faces.el.
1485f4c0
CY
15097 (frame-default-terminal-background): New function.
15098
15099 * custom.el (custom-push-theme): Don't record faces in `changed'
15100 theme; this doesn't work correctly for per-frame face settings.
15101 (disable-theme): Use face-set-after-frame-default to reset faces.
15102 (custom--frame-color-default): New function.
15103
9fa3dd45
LMI
151042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15105
c8af70e1 15106 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15107 (bug#8769).
15108
6cbbc20c
KR
151092011-03-29 Kevin Ryde <user42@zip.com.au>
15110
15111 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15112 `perl-Test2' extend to match possible "fail #N" rep count
15113 (bug#8377).
15114
c7f98048
LMI
151152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15116
65676592
LMI
15117 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15118 `smtpmail-via-smtp' now returns the error instead of nil.
15119
c7f98048
LMI
15120 * isearch.el (isearch-search-fun-function): Clarify the doc string
15121 (bug#8101).
15122
56e6cc31 151232011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15124
15125 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15126 unnecessary spaces (bug#8987).
15127
2b216704
LMI
151282011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15129
15130 * net/network-stream.el (open-network-stream): Use the
15131 :end-of-capability command thoughout.
15132
151332011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15134
15135 * net/network-stream.el (open-network-stream): Add the
15136 :end-of-capability command parameter, used by pop3.el.
15137
36adf6ce
LMI
151382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15139
1ca0da0e
LMI
15140 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15141
fc00f69c
LMI
15142 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15143 for list)" (bug#6475).
15144
28fd8759 15145 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15146 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15147 an error (bug#6297).
15148
0dd8b6da
LMI
15149 * man.el (Man-reference-regexp): Allow matching possible
15150 word-wrapped references (bug#6289).
15151
ce1438d6
LMI
15152 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15153 for consistency with the other vc buffers (bug#6197).
15154 (vc-checkin): Ditto.
15155
15156 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15157
36adf6ce
LMI
15158 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15159
e83cc1f7
LMI
151602011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15161
8a20ca4c
LMI
15162 * custom.el (defcustom): Clarify that :set is only used in the
15163 Customize user interface (bug#6089).
15164
83319045
LMI
15165 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15166 associated with a file, refuse to run instead of erroring out
15167 (bug#6084).
15168
a8392169
LMI
15169 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15170 the doc string, since it appears that using `fill-column' always
15171 controls the width (bug#7845).
15172
e83cc1f7
LMI
15173 * simple.el (shell-command-on-region): Say where the error output
15174 went if `shell-command-default-error-buffer' is set (bug#6857).
15175
e47ca23b
KM
151762011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15177
15178 * allout.el (allout-yank-processing): Adjust cursor position for
15179 backwards-deleted space.
15180
15181 (allout-rebullet-heading): Register changes with
15182 allout-exposure-changed-hook, so the modified topic is properly
15183 decorated.
15184
5cf56143
LMI
151852011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15186
08549772
LMI
15187 * minibuffer.el (completion-in-region): Document PREDICATE
15188 (bug#7136).
15189
48e96771
LMI
15190 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15191 of keyword/argument pairs (bug#6904).
15192
c8af70e1
SM
15193 * replace.el (multi-occur):
15194 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15195
e17d05e2
LMI
151962011-07-02 Drew Adams <drew.adams@oracle.com>
15197
15198 * dired.el (dired-mark-if): Make the message about whether it's
15199 marking or unmarking clearer (bug#8523).
15200
063b0e45
LMI
152012011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15202
15203 * disp-table.el (display-table-print-array): New function.
15204 (describe-display-table): Use it to print the vectors more pretty
15205 (Bug#8859).
15206
28545e04
MR
152072011-07-02 Martin Rudalics <rudalics@gmx.at>
15208
15209 * window.el (window-state-get-1): Don't assign clone numbers.
15210 Add clone-of item to list of window parameters.
15211 (window-state-put-2): Don't process clone numbers.
15212 (display-buffer-alist): Fix doc-string.
15213
3349e122
SM
152142011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15215
15216 * subr.el (remq): Don't allocate if it's not needed.
15217 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15218 (keymap--merge-bindings): New functions.
15219 (keymap-canonicalize): Use them to refine the canonicalization.
15220 * minibuffer.el (minibuffer-local-completion-map)
15221 (minibuffer-local-must-match-map): Move initialization from C.
15222 (minibuffer-local-filename-completion-map): Move initialization from C;
15223 don't inherit from anything here.
15224 (minibuffer-local-filename-must-match-map): Make obsolete.
15225 (completing-read-default): Use make-composed-keymap to combine
15226 minibuffer-local-filename-completion-map with either
15227 minibuffer-local-must-match-map or
15228 minibuffer-local-filename-completion-map.
15229
d224ac83
GM
152302011-07-01 Glenn Morris <rgm@gnu.org>
15231
3de63bf8
GM
15232 * type-break.el (type-break-time-sum): Use dolist.
15233
d224ac83
GM
15234 * textmodes/flyspell.el (flyspell-word-search-backward):
15235 Replace CL function.
15236
1a1e3f32
SM
152372011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15238
fe3f64d5
SM
15239 * mouse.el (mouse--strip-first-event): New function.
15240 (function-key-map): Use it to map fringe clicks to normal clicks
15241 by default.
15242
eb604e34
SM
15243 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15244 (vc-bzr-revision-completion-table): Add support for annotate and date.
15245
1a1e3f32
SM
15246 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15247 inherit from parent.
15248
5bd35902
LMI
152492011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15250
ace6c69c 15251 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15252 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15253
191e2bed
LMI
15254 * dired.el (dired-mode): Fix up the doc string as suggested by
15255 Drew Adams (bug#8817).
15256
5bd35902
LMI
15257 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15258 cookie, since the manual says that it should be possible to add
15259 this function to `find-file-hook' (bug#8709).
15260
eee8207a
TZ
152612011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15262
15263 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15264 here. Noted Ted Zlatanov as the maintainer.
15265 (cfengine-common-settings, cfengine-common-syntax): New functions
15266 to set up common things between `cfengine-mode' and
15267 `cfengine3-mode'.
15268 (cfengine3-mode): New mode.
15269 (cfengine3-defuns cfengine3-defuns-regex
15270 (cfengine3-class-selector-regex cfengine3-category-regex)
15271 (cfengine3-vartypes cfengine3-font-lock-keywords)
15272 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15273 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15274
36b148cf
MA
152752011-07-01 Michael Albinus <michael.albinus@gmx.de>
15276
15277 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15278
15279 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15280
0bf4ba9a
MR
152812011-07-01 Martin Rudalics <rudalics@gmx.at>
15282
15283 * window.el (same-window-buffer-names, same-window-regexps)
15284 (same-window-p, special-display-frame-alist)
15285 (special-display-popup-frame, special-display-function)
15286 (special-display-buffer-names, special-display-regexps)
15287 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15288 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15289 (split-window-preferred-function, split-height-threshold)
15290 (split-width-threshold, even-window-heights)
15291 (display-buffer-mark-dedicated, window-splittable-p)
15292 (split-window-sensibly, window-safely-shrinkable-p):
15293 Un-obsolete.
15294 (display-buffer): Don't spread args with function specifier
15295 because special-display-popup-frame won't like it.
15296
35837f51
PE
152972011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15298
d0672f86
PE
15299 Time-stamp simplifications and fixes.
15300 These improve accuracy slightly, and future-proof the code
15301 against some potential changes to current-time format.
15302
b9444d97
PE
15303 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15304 by using time-since and float-time.
15305
0ef923dc
PE
15306 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15307 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15308 + NNN microseconds".
15309
2f81380d
PE
15310 * type-break.el (type-break-time-sum): Rewrite using time-add.
15311
845b5c3e
PE
15312 * play/hanoi.el (hanoi-current-time-float): Remove.
15313 All uses replaced by float-time.
15314
ee6f1be0
PE
15315 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15316 This yields a more-accurate answer.
15317 (rng-time-to-float): Remove; no longer needed.
15318
fe955043
PE
15319 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15320
5777162a
PE
15321 * calendar/timeclock.el (timeclock-seconds-to-time):
15322 Defalias to seconds-to-time, since they're the same thing.
15323
3103f8b6 15324 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15325 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15326 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15327
0e61a35f
SM
153282011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15329
15330 * window.el (bury-buffer): Don't iconify the only frame.
15331 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15332 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15333
ddd63a1e
CY
153342011-07-01 Chong Yidong <cyd@stupidchicken.com>
15335
0e61a35f
SM
15336 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15337 Add mouse-yank-primary.
ddd63a1e 15338
055f4923
TZ
153392011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15340
15341 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15342
6a2fb145
SM
153432011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15344
15345 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15346 (find-library-name): Use it to find relative load names when provided
15347 absolute file name (bug#8803).
15348
fd4983f2
LMI
153492011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15350
887d14ad
LMI
15351 * textmodes/flyspell.el (flyspell-word): Consider words that
15352 differ only in case as potential doublons (bug#5687).
15353
c53dc7fc
LMI
15354 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15355 Remove two rather uninteresting debugging-like messages to make
15356 debbugs.el more silent.
15357
fd4983f2
LMI
15358 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15359 a password-like phrase.
15360
7a71b18d 153612011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15362
15363 * progmodes/cc-guess.el: New file.
15364
6a2fb145 15365 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15366
15367 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15368 derived from `c-basic-common-init'.
15369
15370 * progmodes/cc-mode.el (top-level): Require cc-guess.
15371 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15372
1fa280a3
LM
153732011-06-30 Lawrence Mitchell <wence@gmx.li>
15374
15375 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15376
e6597158
AM
153772011-06-30 Alan Mackenzie <acm@muc.de>
15378
1fa280a3
LM
15379 * progmodes/cc-engine.el (c-guess-continued-construct):
15380 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15381 lock is disabled. Name this case as "CASE G".
15382
68ba37fb
KM
153832011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15384
15385 * allout.el (allout-yank-processing): Fix injection of extra space
15386 between bullet and non-whitespace character in first topic when
15387 pasting, ensuring that the actual spacing in the pasted topic
15388 following the bullet char is preserved. This extra space was
15389 causing pasted encrypted topics to get a decrypted status even
15390 when the content was actually still encrypted. Now the decryption
15391 status from before the paste is preserved.
15392
15393 (allout-flag-region): Set all allout overlays so they evaporate
15394 when reduced to zero length (evanescent), to prevent overlay
15395 leakage.
15396
887a0b34
GM
153972011-06-30 Glenn Morris <rgm@gnu.org>
15398
94b9acce
GM
15399 * w32-fns.el (w32-charset-info-alist): Declare.
15400
1d9b46d4
GM
15401 * find-dired.el (find-grep-options): Simplify.
15402
cc232200
GM
15403 * term/ns-win.el (ns-set-resource): Declare.
15404
28e77c46
GM
15405 * ses.el (row, col): Declare dynamic variables honestly.
15406
887a0b34
GM
15407 * textmodes/reftex-parse.el (index-tags): Declare.
15408
658d8eb8
CY
154092011-06-30 Chong Yidong <cyd@stupidchicken.com>
15410
15411 * cus-edit.el (customize-push-and-save): New function.
15412
15413 * files.el (hack-local-variables-confirm): Use it.
15414
1fa280a3
LM
15415 * custom.el (load-theme): New arg NO-CONFIRM.
15416 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15417 (custom-enabled-themes): Doc fix.
15418
15419 * cus-theme.el (customize-create-theme)
15420 (custom-theme-merge-theme): Callers to load-theme changed.
15421
bb617717
LMI
154222011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15423
d61bdd5d
LMI
15424 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15425 short URLs have at least one dot in them (bug #7614).
15426
bb617717
LMI
15427 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15428 nil, because using a pty is apparently too slow (bug #895).
15429
2f31f37a
LMI
154302011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15431
15432 * mail/sendmail.el (sendmail-query-once): New function.
15433 (sendmail-query-once-function): New variable.
15434
3076b24e
GM
154352011-06-29 Glenn Morris <rgm@gnu.org>
15436
faf2a174
GM
15437 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15438
3076b24e
GM
15439 * ses.el (top-level): Require cl when compiling.
15440 (ses-set-localvars): Fix error statement.
15441 Call it at compile time to silence a storm of warnings.
15442
5386012d
MR
154432011-06-29 Martin Rudalics <rudalics@gmx.at>
15444
15445 * window.el (normalize-live-buffer): Rename to
15446 window-normalize-buffer.
15447 (normalize-live-frame): Rename to window-normalize-frame.
15448 (normalize-any-window): Rename to window-normalize-any-window.
15449 (normalize-live-window): Rename to window-normalize-live-window.
15450 (make-window-atom): Rename to window-make-atom.
15451 (window-resize-reset): Rename to window--resize-reset.
15452 (window-resize-reset-1): Rename to window--resize-reset-1.
15453 (resize-mini-window): Rename to window--resize-mini-window.
15454 (resize-subwindows-skip-p): Rename to
15455 window--resize-subwindows-skip-p.
15456 (resize-subwindows-normal): Rename to
15457 window--resize-subwindows-normal.
15458 (resize-subwindows): Rename to window--resize-subwindows.
15459 (resize-other-windows): Rename to window--resize-siblings.
15460 (resize-this-window): Rename to window--resize-this-window.
15461 (resize-root-window): Rename to window--resize-root-window.
15462 (resize-root-window-vertically): Rename to
15463 window--resize-root-window-vertically.
15464 (normalize-buffer-to-display): Rename to
15465 window-normalize-buffer-to-display.
15466 (normalize-buffer-to-switch-to): Rename to
15467 window-normalize-buffer-to-switch-to.
15468 Correspondingly update all callers of the functions listed
15469 above.
15470 (display-buffer-alist, display-buffer-normalize-arguments)
15471 (display-buffer-normalize-options, display-buffer)
15472 (display-buffer-alist-set): Use "function" instead of
15473 "fun-with-args".
15474
1176868d
CY
154752011-06-28 Chong Yidong <cyd@stupidchicken.com>
15476
15477 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15478 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15479 debbugs.gnu.org. Mention acknowledgment email.
15480
20a7a65f
LMI
154812011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15482
15483 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15484 buffer multibyteness, since it shouldn't matter.
15485
5f45cca5
MR
154862011-06-28 Martin Rudalics <rudalics@gmx.at>
15487
15488 * window.el (display-buffer-in-side-window): Handle dedicated
15489 windows as in display-buffer-reuse-window.
15490 (display-buffer-normalize-alist): Use value of override
15491 specifier.
15492 (display-buffer-normalize-specifiers): Use value of
15493 other-window-means-other-frame specifier.
15494 (display-buffer-alist): Rewrite some texts in widgets.
15495 (display-buffer): Spread arguments when calling function
15496 specified by fun-with-args.
15497
ad85fe1f
DD
154982011-06-28 Deniz Dogan <deniz@dogan.se>
15499
1fa280a3
LM
15500 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15501 Unnest `let'.
da68c4c8 15502
ad85fe1f
DD
15503 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15504 selectors (Bug#5732).
ec49bd31 15505 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15506
a08cc025
JA
155072011-06-27 Jari Aalto <jari.aalto@cante.net>
15508
15509 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15510 (eshell-ls-date-format): New defcustom.
15511 (eshell-ls-file): Use it.
15512
e2b551c5
SM
155132011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15514
15515 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15516
8982b231
KY
155172011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15518
15519 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15520 (ange-ftp-make-tmp-name): New arg.
15521 (ange-ftp-file-local-copy): Use it.
15522
36c9fa27
J
155232011-06-27 Jambunathan K <kjambunathan@gmail.com>
15524
15525 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15526 no-conversion (Bug#8870).
15527
d68443dc
MR
155282011-06-27 Martin Rudalics <rudalics@gmx.at>
15529
15530 * window.el (window-right, window-left, window-child)
15531 (window-child-count, window-last-child)
15532 (window-iso-combination-p, walk-window-tree-1)
15533 (window-atom-check-1, window-tree-1, delete-window)
15534 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15535 new naming conventions - window-vchild, window-hchild,
15536 window-next and window-prev are now called window-top-child,
15537 window-left-child, window-next-sibling and window-prev-sibling
15538 respectively.
d615d6d2
MR
15539 (resize-window-reset): Rename to window-resize-reset.
15540 (resize-window-reset-1): Rename to window-resize-reset-1.
15541 (resize-window): Rename to window-resize.
15542 (window-min-height, window-min-width)
15543 (resize-mini-window, resize-this-window, resize-root-window)
15544 (resize-root-window-vertically, adjust-window-trailing-edge)
15545 (enlarge-window, shrink-window, maximize-window)
15546 (minimize-window, delete-window, quit-restore-window)
15547 (split-window, balance-windows, balance-windows-area-adjust)
15548 (balance-windows-area, window-state-put-2)
15549 (display-buffer-even-window-sizes, display-buffer-set-height)
15550 (display-buffer-set-width, set-window-text-height)
15551 (fit-window-to-buffer): Rename all "resize-window" prefixed
15552 calls to use the "window-resize" prefix convention.
15553 (display-buffer-alist): Fix symbol for label specifier.
15554 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15555 corresponding specifier.
15556 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15557
b6458526
VB
155582011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15559
15560 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15561 convention.
15562 (ses-call-printer): Does not pass an empty string to formatter when the
15563 cell is empty to keep from barking printer Calc math-format-value.
15564
d31fd9ac
RS
155652011-06-27 Richard Stallman <rms@gnu.org>
15566
43d5bf84
RS
15567 * battery.el (battery-mode-line-limit): New variable.
15568 (battery-update): Handle it.
15569
d31fd9ac
RS
15570 * mail/rmailmm.el (rmail-mime-process-multipart):
15571 Handle truncated messages.
15572
819a6054
GM
155732011-06-27 Glenn Morris <rgm@gnu.org>
15574
15575 * progmodes/flymake.el (flymake-err-line-patterns):
15576 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15577
cedc73f2
VB
155782011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15579
819a6054 15580 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15581 (ses--clean-!, ses--clean-_): New functions.
15582 (ses-range): Add configurability of readout order, and conversion
15583 to Calc vector.
15584
5e5d49b6
VB
15585 * ses.el (ses-repair-cell-reference-all): New function.
15586 (ses-cell-symbol): Set macro as safe, so that it can be used in
15587 formulas.
15588
56e6cc31 15589 * ses.el: Update cycle detection algorithm.
90ca8b49 15590 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15591 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15592 (ses-set-localvars): New function.
15593 (ses-make-cell): Add property-list as a cell element.
15594 (ses-cell-property-get-fun, ses-cell-property-get)
15595 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15596 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15597 New functions.
90ca8b49
VB
15598 (ses-cell-property-set, ses-cell-property-pop)
15599 (ses-cell-property-get-handle): New macro.
15600 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15601 New aliases, used for code readability.
15602 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15603 cycle detection.
15604 (ses-self-reference-early-detection): New defcustom.
fac916bf 15605 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15606 (ses-mode): Use ses-set-localvars.
15607 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15608 before lauching the update processing.
15609 (ses-initialize-Dijkstra-attempt): New function.
15610 (ses-recalculate-cell): Update for cycle detection based on
15611 Dijkstra algorithm.
15612
2bb63e81
VB
15613 * ses.el: Fix commenting and indenting convention.
15614
c9d29fb8
SM
156152011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15616
15617 * bs.el (bs-cycle-next): Complete last change.
15618
d8e4b68b
JB
156192011-06-27 Drew Adams <drew.adams@oracle.com>
15620
15621 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15622
40098786
LMI
156232011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15624
c9d29fb8
SM
15625 * net/network-stream.el (network-stream-open-starttls):
15626 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15627 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15628
40098786
LMI
15629 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15630 to binary to possibly avoid line encoding issues on Windows (among
15631 other things).
15632
468d09d4
LMI
156332011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15634
15635 * net/network-stream.el (open-network-stream): Return an :error
15636 saying what the problem was, if possible.
15637
15638 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15639 server.
15640
15641 * net/network-stream.el (network-stream-open-starttls): If we
15642 wanted to use STARTTLS, and the server offered it, but we weren't
15643 able to because we had no STARTTLS support, then close the connection.
15644 (open-network-stream): Return an :error element, if present.
15645
16f07dd7
CY
156462011-06-26 Chong Yidong <cyd@stupidchicken.com>
15647
88821ca0
CY
15648 * hl-line.el (hl-line-sticky-flag): Doc fix.
15649 (global-hl-line-sticky-flag): New option (Bug#8323).
15650 (global-hl-line-highlight): Obey it.
15651
16f07dd7
CY
15652 * vc/vc.el (vc-revert-show-diff): Default to t.
15653
6b5ccddf
KM
156542011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15655
c9d29fb8
SM
15656 * allout-widgets.el (allout-widgets-post-command-business):
15657 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15658 undecorated when an isearch is continued past, and isearch
15659 automatically collapses them. This leads to "widget leaks", where
15660 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15661 hidden widgets can slow down cursor travel, substantially.
15662 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15663 so we're doing without this nicety.
15664
15665 (allout-widgets-tally-string): Don't try to do a hash-table-count
15666 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15667 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15668 *Messages* when allout-widgets-maintain-tally is t.
15669
355f2e07
MR
156702011-06-26 Martin Rudalics <rudalics@gmx.at>
15671
15672 * window.el (display-buffer-normalize-argument): Rename to
15673 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15674 LABEL argument. Respect special-display-function when popping up
15675 a new frame. Fix code searching for a window showing the buffer
15676 on another frame.
c9d29fb8
SM
15677 (display-buffer-normalize-specifiers):
15678 Call display-buffer-normalize-arguments.
355f2e07
MR
15679 (display-buffer-in-window): Don't undedicate the window if its
15680 buffer remains the same.
15681 Reported by Drew Adams <drew.adams@oracle.com>.
15682 (display-buffer-alist): Add choice for same-window macro
15683 specfier.
15684 (display-buffer): Mention special meaning of LABEL argument in
15685 doc-string. Fix quoting. Don't pop up a new frame even as
15686 fallback.
15687
7ca8fc42
JB
156882011-06-26 Juanma Barranquero <lekktu@gmail.com>
15689
15690 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15691 avoid deleting the current window in some cases (bug#8911).
15692
bc312254
AS
156932011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15694
15695 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15696 (Bug#8934)
15697
2db18f3f
LMI
156982011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15699
c9d29fb8
SM
15700 * net/network-stream.el (network-stream-open-starttls):
15701 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15702 (network-stream-open-tls): Ditto.
15703
6302e0d3
LL
157042011-06-26 Leo Liu <sdl.web@gmail.com>
15705
15706 * register.el (registerv): New struct.
15707 (registerv-make): New function.
c9d29fb8
SM
15708 (jump-to-register, describe-register-1, insert-register):
15709 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15710 struct. (Bug#8415)
15711
5fdd4046
CY
157122011-06-26 Chong Yidong <cyd@stupidchicken.com>
15713
2afef60a
CY
15714 * vc/vc.el (vc-revert-show-diff): New defcustom.
15715 (vc-diff-internal): New arg specifying diff buffer.
15716 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15717 reuse an existing *vc-diff* buffer (Bug#8927).
15718
5fdd4046
CY
15719 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15720
e93db24a
GM
157212011-06-26 Glenn Morris <rgm@gnu.org>
15722
15723 * progmodes/f90.el (f90-critical-indent): New option.
15724 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15725 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15726 (f90-mode): Doc fix.
15727 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15728 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15729 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15730 (f90-match-end): Handle block, critical.
15731
eefff499
GM
157322011-06-25 Glenn Morris <rgm@gnu.org>
15733
f6ba4cc9
GM
15734 * calendar/diary-lib.el (diary-included-files): Doc fix.
15735 (diary-include-files): New function, extracted from
15736 diary-include-other-diary-files and diary-mark-included-diary-files.
15737 (diary-include-other-diary-files, diary-mark-included-diary-files):
15738 Just call diary-include-files.
15739 (diary-mark-entries): Reset diary-included-files on first call.
15740
16712304
GM
15741 * calendar/diary-lib.el (diary-mark-entries)
15742 (diary-mark-included-diary-files):
15743 Visit included diary-files in temp buffers.
15744
5d8e0d43
GM
15745 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15746 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15747 (f90-start-block-re, f90-imenu-generic-expression)
15748 (f90-looking-at-program-block-start, f90-no-block-limit):
15749 Add support for submodules.
15750
ccf7a5d5
GM
15751 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15752 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15753
11fdef7d 157542011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15755
15756 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15757 buffer-file-type before setting its value, to avoid disastrous
eefff499 15758 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15759
74f53697
JB
157602011-06-25 Juanma Barranquero <lekktu@gmail.com>
15761
15762 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15763
15764 * ses.el (ses-unload-function):
15765 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15766
15767 * proced.el (proced-unload-function):
15768 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15769
18a4ce5e
AR
157702011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15771
15772 * server.el (server-create-window-system-frame): Add parameters arg.
15773 (server-process-filter): Doc fix. Handle frame-parameters.
15774
519d22cc
JB
157752011-06-25 Juanma Barranquero <lekktu@gmail.com>
15776
15777 Fix bug#8730, bug#8781.
15778
15779 * loadhist.el (unload--set-major-mode): New function.
15780 (unload-feature): Use it.
15781
15782 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15783 (python-unload-function): New function.
15784
c206f5b0
SM
157852011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15786
15787 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15788
f9ad64f3
GS
157892011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15790
15791 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15792 the candidates list.
15793
7d0da90e
JB
157942011-06-24 Juanma Barranquero <lekktu@gmail.com>
15795
15796 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15797
14b4e83d
RS
157982011-06-23 Richard Stallman <rms@gnu.org>
15799
15800 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15801 (rmail-variables): Set next-error-move-function.
15802 (rmail-what-message): Take argument POS.
15803 (rmail-next-error-move): New function.
15804
273d2baf
SM
158052011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15806
15807 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15808 messages for adjacent non-terminals.
15809
56c2cc9a
RS
158102011-06-23 Richard Stallman <rms@gnu.org>
15811
15812 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15813 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15814 (rmail-start-mail): Don't specify use of rmail-mail-return;
15815 that's done by mail-bury now.
15816 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15817
d59eb518
MA
158182011-06-23 Michael Albinus <michael.albinus@gmx.de>
15819
15820 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15821 SIZE is a number.
15822
02cfc6d6
MR
158232011-06-23 Martin Rudalics <rudalics@gmx.at>
15824
15825 * window.el (get-lru-window, get-mru-window)
15826 (get-largest-window): Never return a minibuffer window.
15827 (display-buffer-pop-up-window): Fix a bug that could lead to
15828 reusing the minibuffer window.
15829 (display-buffer): Pass original specifier argument to
15830 display-buffer-function instead of the normalized one.
15831 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15832
4e323265
LL
158332011-06-22 Leo Liu <sdl.web@gmail.com>
15834
15835 * minibuffer.el (completing-read-function)
15836 (completing-read-default): Move from minibuf.c
15837
7a70468f
RS
158382011-06-22 Richard Stallman <rms@gnu.org>
15839
50718fc2
RS
15840 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15841 to Rmail even if not started by a special Rmail command.
15842
7a70468f
RS
15843 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15844 Copy the buffer currently showing just one message.
15845
297dde5a
RW
158462011-06-22 Roland Winkler <winkler@gnu.org>
15847
15848 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15849 (bibtex-clean-entry): First delete the old key so that a
15850 customized algorithm for generating the new key does not get
15851 confused by the old key.
15852 (bibtex-url): Obey regexp of first step.
15853 (bibtex-search-entries): Do not use add-to-list with local
15854 list-var.
15855
97bb1093
LMI
158562011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15857
15858 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15859 stored a user name, then query for the password first, instead of
15860 waiting for SMTP to give an error message and the trying again.
15861
1c0f1a19
JD
158622011-06-22 Lawrence Mitchell <wence@gmx.li>
15863
15864 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15865 BUFFER in call-process.
15866
396f7c9d
LMI
158672011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15868
15869 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15870 QUIT twice.
ddb7ffee
LMI
15871 (smtpmail-try-auth-methods): Require user name and password from
15872 auth-source.
396f7c9d 15873
8998d1b3
MR
158742011-06-22 Martin Rudalics <rudalics@gmx.at>
15875
15876 * window.el (display-buffer-default-specifiers)
15877 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15878 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15879 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15880
15881 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15882 (special-display-frame-alist, special-display-popup-frame):
15883 Remove duplicate declarations. These are now in window.el.
15884
4ea31e07
LMI
158852011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15886
c9d29fb8
SM
15887 * mail/smtpmail.el (smtpmail-via-smtp):
15888 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15889 server supports it. SMTP servers that support STARTTLS commonly
15890 require it.
15891
15892 * net/network-stream.el (network-stream-open-starttls): Support
15893 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15894 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15895
95f41d9a
LMI
15896 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15897 upgrades with `open-network-stream', and rely solely on
15898 auth-source for all credentials. Big changes throughout the file,
15899 but in particular:
c9d29fb8
SM
15900 (smtpmail-auth-credentials): Remove.
15901 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15902 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15903 MAIL FROM, too.
95f41d9a 15904
c9d29fb8
SM
15905 * net/network-stream.el (network-stream-open-starttls):
15906 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15907 STARTTLS.
15908 (auth-source): Require.
15909 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15910 (network-stream-certificate): Change cert-cert to cert and
15911 cert-key to key.
4ea31e07 15912
065ec2c7
MA
159132011-06-21 Michael Albinus <michael.albinus@gmx.de>
15914
15915 * net/tramp-cache.el (top): Don't load the persistency file when
15916 "emacs -Q" has been called.
15917
cd93b359
DR
159182011-06-21 Tim Harper <timcharper@gmail.com>
15919
d8e4b68b
JB
15920 * term/ns-win.el (ns-initialize-window-system):
15921 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15922 resource to NO as it is not yet supported by the NS port.
15923
ae9c0411
JB
159242011-06-21 Juanma Barranquero <lekktu@gmail.com>
15925
15926 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15927 (list-dynamic-libraries): ...not here.
15928
7f3f739f
LL
159292011-06-21 Leo Liu <sdl.web@gmail.com>
15930
15931 * subr.el (sha1): Implement sha1 using secure-hash.
15932
327c8fb1
MR
159332011-06-21 Martin Rudalics <rudalics@gmx.at>
15934
15935 * window.el (display-buffer-alist): In default value do not
15936 enforce searching a window on any but the selected frame.
15937 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15938 (display-buffer-select-window): Remove function.
15939 (display-buffer-in-window): When a window on another frame gets
15940 reused, do not select it any more but just raise its frame if
15941 necessary (Bug#8851) and (Bug#8856).
15942 (display-buffer-normalize-options): Handle pop-up-frames related
15943 options more faithfully.
15944 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15945 window if it is on another frame.
c9d29fb8
SM
15946 (display-buffer-alist, display-buffer-default-specifiers):
15947 Don't make new frame unsplittable by default.
9e9de014
MR
15948 (display-buffer-normalize-argument): Fix doc-string typo and use
15949 'same-frame-other-window instead of 'other-window when associating
15950 with display-buffer-macro-specifiers.
327c8fb1 15951
7cf3f556
VB
159522011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15953
15954 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15955 New functions.
15956 (5x5-mode-map, 5x5-mode-menu): Bind them.
15957 (5x5-draw-grid): Tweak the solver's rendering.
15958
60a406cf
SM
159592011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15960
15961 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15962 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15963
d8e4b68b 159642011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15965
15966 * menu-bar.el: Use function variable instead of switch-to-buffer.
15967 (menu-bar-select-buffer-function): New variable.
60a406cf 15968 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15969
478d6f95
SM
159702011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15971
15972 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15973 variable's status.
15974
ca530739
JD
159752011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15976
15977 * x-dnd.el (x-dnd-version-from-flags)
15978 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15979 and long as number (Bug#8899).
15980 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15981
bcd70d97
SM
159822011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15983
60a406cf 15984 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15985 (completion-try-completion, completion-all-completions): Compute the
15986 metadata argument if it's missing; make it optional (bug#8795).
15987
60a406cf 15988 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15989 (widget-complete): Use new :completion-function property.
15990 (widget-completions-at-point): New function.
15991 (default): Use :completion-function instead of :complete.
60a406cf
SM
15992 (widget-default-completions): Rename from widget-default-complete;
15993 Rewrite.
bcd70d97
SM
15994 (widget-string-complete, widget-file-complete, widget-color-complete):
15995 Remove functions.
15996 (file, symbol, function, variable, coding-system, color):
15997 * international/mule-cmds.el (default-input-method, charset)
15998 (language-info-custom-alist):
15999 * cus-edit.el (face): Use new property :completions.
16000
16001 * progmodes/pascal.el (pascal-completions-at-point): New function.
16002 (pascal-mode): Use it.
16003 (pascal-mode-map): Use completion-at-point.
16004 (pascal-toggle-completions): Make obsolete.
16005 (pascal-complete-word, pascal-show-completions):
16006 * progmodes/octave-mod.el (octave-complete-symbol):
16007 Redefine as obsolete alias.
16008 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16009 Signal absence of completion info for old Octave,
16010 (inferior-octave-complete): Redefine as obsolete alias.
16011 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16012 (meta-completions-at-point): Rename from meta-complete-symbol and
16013 adapt it for use on completion-at-point-functions.
16014 (meta-common-mode): Use it.
16015 (meta-looking-at-backward, meta-match-buffer): Remove.
16016 (meta-complete-symbol): Redefine as obsolete alias.
16017 (meta-common-mode-map): Use completion-at-point.
16018 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16019 (makefile-mode-map): Use completion-at-point.
16020 (makefile-completions-at-point): Rename from makefile-complete and
16021 adapt it for use on completion-at-point-functions.
16022 (makefile-mode): Use it.
16023 (makefile-complete): Redefine as obsolete alias.
16024
aebf69c8
DD
160252011-06-20 Deniz Dogan <deniz@dogan.se>
16026
16027 * net/rcirc.el: Delete trailing whitespaces once and for all.
16028
bfbbb27d
DC
160292011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16030
16031 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16032
d264a46b
CY
160332011-06-19 Chong Yidong <cyd@stupidchicken.com>
16034
4ca009e5
CY
16035 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16036
d264a46b
CY
16037 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16038
fbf5b3ce
MR
160392011-06-19 Martin Rudalics <rudalics@gmx.at>
16040
16041 * window.el (display-buffer-other-window-means-other-frame):
16042 Call display-buffer-normalize-alist.
16043 (display-buffer-normalize-specifiers-1): Rename to
16044 display-buffer-normalize-argument. New argument other-frame.
16045 Rewrite.
16046 (display-buffer-normalize-specifiers-2): Rename to
16047 display-buffer-normalize-options.
16048 (display-buffer-normalize-alist-1): New function.
16049 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16050 display-buffer-normalize-alist.
16051 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16052 (display-buffer-normalize-options-inhibit): New variable.
16053 (display-buffer-normalize-specifiers): Rewrite calling
16054 display-buffer-normalize-alist,
16055 display-buffer-normalize-argument, and
16056 display-buffer-normalize-options. Don't call the latter if
16057 display-buffer-normalize-options-inhibit is non-nil.
16058 (frame-auto-delete): New option.
16059 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16060 (window-list-no-nils, window-state-ignored-parameters)
16061 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16062 (window-state-put-1, window-state-put-2, window-state-put):
16063 New functions.
9a028c23
MR
16064 (display-buffer-normalize-options): Move special-display-p group
16065 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16066
6d10d800
CY
160672011-06-18 Chong Yidong <cyd@stupidchicken.com>
16068
6420d28b
CY
16069 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16070 groups (Bug#8776).
16071 (rx-submatch-n): New function.
16072 (rx): Document it.
16073
ddb8b596
CY
16074 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16075 (Bug#8768).
16076
16077 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16078
77080289
CY
16079 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16080
61dfb316
CY
16081 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16082 anytime existing face settings are present (Bug#8889).
16083
6d10d800
CY
16084 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16085 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16086 Remove unused argument.
16087
be3fb2b8
MR
160882011-06-18 Martin Rudalics <rudalics@gmx.at>
16089
bcd70d97
SM
16090 * window.el (display-buffer-default-specifiers):
16091 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16092 pop-up-window-min-width, and another reuse-window specifier
16093 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16094 (display-buffer-normalize-specifiers-2):
16095 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16096 pop-up-windows is unset. Add a reuse-window specifier for the
16097 case popping up a new window fails.
16098 (special-display-popup-frame): Remove double quoting.
28dec25a 16099 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16100
1c6d8c76
SM
161012011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16102
16103 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16104 according to comint-completion-addsuffix.
16105
16106 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16107 (pcomplete-suffix-list): Mark as obsolete.
16108 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16109 pcomplete-seen in the closure.
16110 (pcomplete-comint-setup): Setup completion-at-point as well.
16111 (pcomplete--entries): New function.
16112 (pcomplete--env-regexp): New var.
16113 (pcomplete-entries): Rewrite to work with partial-completion and
16114 without relying on pcomplete-suffix-list.
16115 (pcomplete-pare-list): Remove, unused.
16116
25aef8b8
MR
161172011-06-17 Martin Rudalics <rudalics@gmx.at>
16118
16119 * window.el (display-buffer-alist): Set pop-up-window-min-height
16120 and pop-up-window-min-width in default value. Reported by
16121 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16122 other-window-means-other-frame.
16123 (display-buffer-macro-specifiers): Comment out entry for
16124 other-window specifier.
16125 (display-buffer-other-window-means-other-frame): New function.
16126 (display-buffer-normalize-specifiers-1): New arguments
16127 buffer-name and label. Treat other-window case specially.
16128 (display-buffer-normalize-specifiers-2): Treat other-window case
16129 specially.
16130 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16131 (display-buffer-normalize-specifiers):
16132 Call display-buffer-normalize-specifiers-3.
25aef8b8 16133
dbad4f69
MR
161342011-06-17 Martin Rudalics <rudalics@gmx.at>
16135
16136 * window.el (same-window-p): Fix two typos introduced when
16137 adding with-no-warnings.
d1067961
MR
16138 (display-buffer-normalize-specifiers-1): Don't check
16139 pop-up-frames for 'unset initialization.
16140 (display-buffer-normalize-specifiers-2): Major rewrite using
16141 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16142 (pop-up-frames, display-buffer-reuse-frames)
16143 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16144 Suggested by David Engster <deng@randomsample.de>.
16145 (even-window-heights): Initialize to 'unset.
16146 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16147 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16148 other window case.
dbad4f69 16149
9b9c9e3a
MR
161502011-06-16 Martin Rudalics <rudalics@gmx.at>
16151
bcd70d97
SM
16152 * window.el (display-buffer-normalize-specifiers-1):
16153 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16154 second argument of display-buffer (Bug#8865).
981d5c09
MR
16155 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16156 (switch-to-buffer-other-window-same-frame)
16157 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16158 Adams (Bug#8875).
9c2755e9
MR
16159 (display-buffer): Don't check noninteractive when calling
16160 display-buffer-pop-up-frame.
16161 (display-buffer-pop-up-frame): Never pop up a frame in
16162 noninteractive mode (Bug#8857).
67222e1d
MR
16163 (enlarge-window, shrink-window): Don't report an error when the
16164 window can't be resized as requested (Bug#8862).
9b9c9e3a 16165
2b75be67
SM
161662011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16167
9ffdd3ba
SM
16168 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16169
cb581a67
SM
16170 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16171
2b75be67
SM
16172 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16173
8c0e3589
AM
161742011-06-15 Alan Mackenzie <acm@muc.de>
16175
cb581a67
SM
16176 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16177 for declarators, disable knr checking to speed up for normal files.
16178 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16179
b96e6cde
LMI
161802011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16181
4bba86e6
LMI
16182 * net/network-stream.el (open-network-stream): Add the keyword
16183 :always-query-capabilities for the case where you want to force a
16184 `plain' network connection, but the protocol still requires the
16185 capabilitiy command (i.e., SMTP and EHLO).
16186
2b75be67 16187 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16188 consistency with other `-live-p' functions.
16189
efdcdbf8
SM
161902011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16191
16192 * window.el (same-window-buffer-names, same-window-regexps)
16193 (special-display-frame-alist, special-display-popup-frame)
16194 (special-display-function, special-display-buffer-names)
16195 (special-display-regexps, pop-up-frame-alist)
16196 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16197 (pop-up-windows, split-window-preferred-function)
16198 (split-height-threshold, split-width-threshold, even-window-heights)
16199 (display-buffer-mark-dedicated): Don't encourage the use of
16200 display-buffer-alist from Elisp code.
16201
c5cde042
DN
162022011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16203
16204 * progmodes/python.el (python-mode): Derive from prog-mode.
16205 * progmodes/ps-mode.el (ps-mode):
16206 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16207 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16208 * progmodes/ld-script.el (ld-script-mode): Likewise.
16209
baa1c9ab
MR
162102011-06-15 Martin Rudalics <rudalics@gmx.at>
16211
16212 * window.el (display-buffer-alist): Trim default value to avoid
16213 popping up a new frame (Bug#8857) or reusing an arbitrary window
16214 on another frame.
16215 (display-buffer): Do not fall back on popping up a new frame in
16216 batch mode (Bug#8857).
16217
c5dd5a51
CY
162182011-06-14 Chong Yidong <cyd@stupidchicken.com>
16219
16220 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16221 (custom-theme-summary): New function.
16222 (customize-themes): Use it.
16223
d647b7c4
GM
162242011-06-13 Glenn Morris <rgm@gnu.org>
16225
16226 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16227
9481c002
MR
162282011-06-13 Martin Rudalics <rudalics@gmx.at>
16229
357f93d2
MR
16230 * help.el (help-window): Remove variable.
16231 (help-window-point-marker, temp-buffer-max-height)
16232 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16233 (help-print-return-message): Don't set help-window.
16234 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16235 (help-window-setup-finish): Remove.
16236 (help-window-display-message, help-window-setup)
16237 (with-help-window): Major rewrite based on new
16238 display-buffer-window variable.
16239
16240 * help-mode.el (help-mode-finish): Remove help-window related
16241 code.
16242
16243 * view.el (view-exits-all-viewing-windows): Remove reference to
16244 view-return-to-alist in doc-string.
16245 (view-return-to-alist): Make obsolete.
16246 (view-buffer): Call pop-to-buffer-same-window and remove
16247 undo-window code.
16248 (view-buffer-other-window): Call pop-to-buffer-other-window and
16249 simplify code. Ignore second argument.
16250 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16251 simplify code. Ignore second argument.
16252 (view-return-to-alist-update): Make obsolete.
16253 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16254 Rewrite using quit-restore window parameters.
2b75be67
SM
16255 (view-mode-exit): Rename second argument to EXIT-ONLY.
16256 Rewrite using quit-restore-window.
357f93d2
MR
16257 (View-exit, View-exit-and-edit, View-leave, View-quit)
16258 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16259 appropriate arguments.
16260 (view-end-message): Use quit-restore window parameter.
16261
9481c002
MR
16262 * window.el (display-buffer-function): Rewrite doc-string.
16263 (display-buffer-window, display-buffer-alist): New variables.
16264 (display-buffer-split-specifiers)
16265 (display-buffer-side-specifiers)
16266 (display-buffer-macro-specifiers): New constants.
16267 (display-buffer-even-window-sizes, display-buffer-set-height)
16268 (display-buffer-set-width, display-buffer-select-window)
16269 (display-buffer-in-window, display-buffer-reuse-window)
16270 (display-buffer-split-window-1, display-buffer-split-window)
16271 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16272 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16273 (display-buffer-in-side-window, normalize-buffer-to-display)
16274 (display-buffer-normalize-specifiers-1)
16275 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16276 (display-buffer-normalize-specifiers, display-buffer-frame):
16277 New functions.
9481c002
MR
16278 (display-buffer): Major rewrite.
16279 (display-buffer-other-window, display-buffer-other-frame)
16280 (pop-to-buffer, switch-to-buffer-other-window)
16281 (switch-to-buffer-other-frame): Rewrite.
16282 (display-buffer-same-window, display-buffer-same-frame)
16283 (display-buffer-same-frame-other-window)
16284 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16285 (pop-to-buffer-other-window)
16286 (pop-to-buffer-same-frame-other-window)
16287 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16288 (switch-to-buffer-other-window-same-frame): New functions.
16289 (same-window-p, special-display-p): Rewrite disabling warnings.
16290 Make obsolete.
16291 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16292 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16293 Make obsolete
16294 (same-window-buffer-names, same-window-regexps)
16295 (special-display-frame-alist, special-display-popup-frame)
16296 (special-display-function, special-display-buffer-names)
16297 (special-display-regexps, pop-up-frame-alist)
16298 (pop-up-frame-function, split-window-preferred-function)
16299 (split-height-threshold, split-width-threshold)
16300 (even-window-heights): Make obsolete.
16301
9db51aca
GM
163022011-06-12 Glenn Morris <rgm@gnu.org>
16303
16304 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16305 Misc simplifications.
9db51aca 16306
39cffb44
MR
163072011-06-12 Martin Rudalics <rudalics@gmx.at>
16308
16309 * window.el (window-safely-shrinkable-p): Restore function which
16310 was inadvertently removed in change from 2011-06-11. Declare as
16311 obsolete.
16312
2b75be67
SM
16313 * calendar/calendar.el (calendar-generate-window):
16314 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16315 window-safely-shrinkable-p.
16316
a8955be7
GM
163172011-06-12 Glenn Morris <rgm@gnu.org>
16318
16319 * progmodes/fortran.el (fortran-mode-syntax-table):
16320 * progmodes/f90.el (f90-mode-syntax-table):
16321 Set % to punctuation. (Bug#8820)
16322 (f90-find-tag-default): Remove, no longer needed.
16323
f0d4059d
DC
163242011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16325
16326 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16327
1100a63c
CY
163282011-06-11 Chong Yidong <cyd@stupidchicken.com>
16329
16330 * image.el (image-animated-p): Return animation delay in seconds.
16331 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16332 (image-animate-timeout): Remove DELAY argument. Don't assume
16333 every subimage has the same delay; get it from image-animated-p.
16334 (image-animate): Caller changed.
16335
def722bf
MA
163362011-06-11 Michael Albinus <michael.albinus@gmx.de>
16337
16338 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16339 to ignored backtrace functions.
16340
0a2bb1a9
GM
163412011-06-11 Glenn Morris <rgm@gnu.org>
16342
16343 * calendar/appt.el (appt-disp-window-function): Doc fix.
16344 (appt-check): Handle overlapping appointments. (Bug#8337)
16345
6198ccd0
MR
163462011-06-11 Martin Rudalics <rudalics@gmx.at>
16347
16348 * window.el (window-tree-1, window-tree): New functions, moving
16349 the latter to window.el.
16350 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16351 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16352 (bw-refresh-edges): Remove.
16353 (balance-windows-1, balance-windows-2): New functions.
16354 (balance-windows): Rewrite in terms of window tree functions,
16355 balance-windows-1 and balance-windows-2.
16356 (bw-adjust-window): Remove.
16357 (balance-windows-area-adjust): New function with functionality of
16358 bw-adjust-window but using resize-window.
2b75be67
SM
16359 (set-window-text-height): Rewrite doc-string.
16360 Use normalize-live-window and resize-window.
16361 (enlarge-window-horizontally, shrink-window-horizontally):
16362 Rename argument to DELTA.
6198ccd0
MR
16363 (window-buffer-height): New function.
16364 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16365 Rewrite using new window resize routines.
2b75be67
SM
16366 (kill-buffer-and-window, mouse-autoselect-window-select):
16367 Use ignore-errors instead of condition-case.
6198ccd0
MR
16368 (quit-window): Call delete-frame instead of delete-windows-on
16369 for the only buffer on frame.
16370
9397e56f
MR
163712011-06-10 Martin Rudalics <rudalics@gmx.at>
16372
16373 * loadup.el (top-level): Load window before files for the sake
16374 of replace-buffer-in-windows.
16375
16376 * files.el (read-buffer-to-switch)
16377 (switch-to-buffer-other-window)
2b75be67
SM
16378 (switch-to-buffer-other-frame, display-buffer-other-frame):
16379 Move to window.el.
9397e56f
MR
16380
16381 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16382 (previous-buffer): Move to window.el.
16383
16384 * bindings.el (unbury-buffer): Move to window.el.
16385
16386 * window.el (delete-other-windows-vertically): Move after
16387 definition of delete-other-windows.
16388 (other-window, delete-windows-on, replace-buffer-in-windows):
16389 Move here from window.c.
16390 (record-window-buffer, unrecord-window-buffer)
16391 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16392 (switch-to-next-buffer): New functions.
16393 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16394 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16395 (previous-buffer): Move here from simple.el.
16396 Call switch-to-prev-buffer.
9397e56f
MR
16397 (bury-buffer): Move here from buffer.c. Switch to previous
16398 buffer when window cannot be deleted.
16399 (unbury-buffer): Move here from bindings.el.
16400 (ctl-x-map): Move binding for other-window from window.c to
16401 here.
16402 (read-buffer-to-switch, switch-to-buffer-other-window)
16403 (switch-to-buffer-other-frame): Move here from files.el.
16404 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16405 (switch-to-buffer): Move here from buffer.c.
16406 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16407
562dd5e9
MR
164082011-06-10 Martin Rudalics <rudalics@gmx.at>
16409
16410 * window.el (window-min-height, window-min-width): Move here
16411 from window.c. Add defcustoms and rewrite doc-strings.
16412 (resize-mini-window, resize-window): New functions.
16413 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16414 Move here from window.c.
16415 (maximize-window, minimize-window): New functions.
16416 (delete-window, delete-other-windows, split-window): Move here
16417 from window.c.
16418 (window-split-min-size): New function.
16419 (split-window-keep-point): Mention split-window-above-each-other
16420 instead of split-window-vertically.
2b75be67 16421 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16422 Rename split-window-vertically to split-window-above-each-other
16423 and provide defalias for old definition.
16424 (split-window-side-by-side, split-window-horizontally):
16425 Rename split-window-horizontally to split-window-side-by-side
16426 and provide defalias for the old definition.
562dd5e9
MR
16427 (ctl-x-map): Move bindings for delete-window,
16428 delete-other-windows and enlarge-window here from window.c.
16429 Replace bindings for split-window-vertically and
16430 split-window-horizontally by bindings for
16431 split-window-above-each-other and split-window-side-by-side.
16432
16433 * cus-start.el (all): Remove entries for window-min-height and
16434 window-min-width. Add entries for window-splits and
16435 window-nest.
16436
f0da764a
GM
164372011-06-09 Glenn Morris <rgm@gnu.org>
16438
80675c21
GM
16439 * calendar/appt.el (appt-mode-line): New function.
16440 (appt-check, appt-disp-window): Use it.
16441
f0da764a
GM
16442 * files.el (hack-one-local-variable-eval-safep):
16443 Allow minor-modes with explicit +/-1 arguments.
16444
59f623b7
TZ
164452011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16446
16447 * term/xterm.el (xterm): Add defgroup.
16448 (xterm-extra-capabilities): Add defcustom to supply known xterm
16449 capabilities, skip querying them, or query them (default).
16450 (terminal-init-xterm): Use it.
16451 (terminal-init-xterm-modify-other-keys): New function to set up
16452 modifyOtherKeys support to simplify `terminal-init-xterm'.
16453
9aab8e0d
MR
164542011-06-09 Martin Rudalics <rudalics@gmx.at>
16455
16456 * window.el (resize-window-reset, resize-window-reset-1)
16457 (resize-subwindows-skip-p, resize-subwindows-normal)
16458 (resize-subwindows, resize-other-windows, resize-this-window)
16459 (resize-root-window, resize-root-window-vertically)
16460 (window-deletable-p, window-or-subwindow-p)
16461 (frame-root-window-p): New functions.
16462
e8b08aee
GM
164632011-06-09 Glenn Morris <rgm@gnu.org>
16464
16465 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16466 (ange-ftp-get-files): Use it.
16467
254c37a5
AK
164682011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16469
16470 * mail/sendmail.el (mail-recover-1, mail-recover):
16471 * files.el (recover-file, recover-session):
16472 Handle dired-listing-switches not being just a single short option.
16473
35d7dbd3
GM
164742011-06-09 Glenn Morris <rgm@gnu.org>
16475
16476 * calendar/appt.el (appt-display-message, appt-disp-window):
16477 Handle lists of appointments.
16478
387522b2
MR
164792011-06-08 Martin Rudalics <rudalics@gmx.at>
16480
2b75be67
SM
16481 * window.el (one-window-p): Move down in code.
16482 Rewrite doc-string.
16483 (window-current-scroll-bars): Rewrite doc-string.
16484 Normalize live window argument.
387522b2
MR
16485 (walk-windows, get-window-with-predicate, count-windows):
16486 Rewrite doc-string. Use window-list-1.
16487 (window-in-direction-2, window-in-direction, get-mru-window):
16488 New functions.
16489
d8e4b68b 164902011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16491
16492 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16493 Doc fix (Bug#8713).
16494
164952011-06-08 Chong Yidong <cyd@stupidchicken.com>
16496
16497 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16498
164992011-06-08 Juanma Barranquero <lekktu@gmail.com>
16500
16501 * loadhist.el (unload-feature-special-hooks):
16502 Add `comint-output-filter-functions'.
16503
0de12c52
IK
165042011-06-08 Ivan Kanis <gnu@kanis.fr>
16505
16506 * calendar/appt.el (appt-check): Move some initializations into the let.
16507
f3d1777e
MR
165082011-06-08 Martin Rudalics <rudalics@gmx.at>
16509
16510 * window.el (window-height): Defalias to window-total-height.
16511 (window-width): Defalias to window-body-width.
16512
18af70d0
CY
165132011-06-07 Chong Yidong <cyd@stupidchicken.com>
16514
16515 * image-mode.el (image-toggle-animation): New command.
16516 (image-mode-map): Bind it to RET.
16517 (image-mode): Update message.
16518 (image-toggle-display-image): Avoid a spurious cache flush.
16519 (image-transform-rotation): Doc fix.
16520 (image-transform-properties): Return quickly in the normal case.
16521 (image-animate-loop): Rename from image-animate-max-time.
16522
2b75be67 16523 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16524 (create-animated-image): Remove unnecessary function.
16525 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16526 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16527 (image-animate-timer): Use car-safe.
16528 (image-animate-timeout): Rename argument.
16529
190b47e6
MR
165302011-06-07 Martin Rudalics <rudalics@gmx.at>
16531
16532 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16533 window.c. Rename first argument to ALL-FRAMES.
16534 Rephrase doc-strings.
16535 (get-buffer-window-list): Rewrite using window-list-1.
16536 Rephrase doc-string.
a1511caf
MR
16537 (window-safe-min-height, window-safe-min-width): New constants.
16538 (window-size-ignore, window-min-size, window-min-size-1)
16539 (window-sizable, window-sizable-p, window-size-fixed-1)
16540 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16541 (window-max-delta-1, window-max-delta, window-resizable)
16542 (window-resizable-p, window-total-height, window-total-width)
16543 (window-body-width): New functions.
16544 (window-full-height-p, window-full-width-p): Rewrite using
16545 window-total-size.
16546 (window-body-height): Rewrite using window-body-size.
190b47e6 16547
85cc1f11
MR
165482011-06-06 Martin Rudalics <rudalics@gmx.at>
16549
16550 * window.el (window-right, window-left, window-child)
16551 (window-child-count, window-last-child, window-any-p)
16552 (normalize-live-buffer, normalize-live-frame)
16553 (normalize-any-window, normalize-live-window)
16554 (window-iso-combination-p, window-iso-combined-p)
16555 (window-iso-combinations)
16556 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16557 (windows-with-parameter, window-with-parameter)
16558 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16559 (window-atom-check, window-side-check, window-check):
16560 New functions.
85cc1f11
MR
16561 (ignore-window-parameters, window-sides, window-sides-vertical)
16562 (window-sides-slots): New variables.
16563 (window-size-fixed): Move down in code. Minor doc-string fix.
16564
e7156492
AS
165652011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16566
16567 * comint.el (comint-dynamic-complete-as-filename)
16568 (comint-dynamic-complete-filename): Correctly call
16569 completion-in-region.
16570
7e821d0d
DD
165712011-06-05 Deniz Dogan <deniz@dogan.se>
16572
16573 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16574 in last change.
16575
ac09b8a1
DD
165762011-06-05 Deniz Dogan <deniz@dogan.se>
16577
16578 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16579 (rcirc): Use it to prompt for encryption.
16580
34699b85
RW
165812011-06-05 Roland Winkler <winkler@gnu.org>
16582
16583 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16584 (bibtex-search-entries): New command bound to C-c C-a.
16585 (bibtex-display-entries): New function.
16586
004dedd3
RW
165872011-06-05 Roland Winkler <winkler@gnu.org>
16588
16589 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16590 (bibtex-insert-kill): After yanking insert newline if necessary.
16591 (bibtex-initialize): Call bibtex-string-files-init only once.
16592 (bibtex-mode): Do not call easy-menu-add.
16593 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16594 (bibtex-yank): Set arg properly if nil.
16595
022fe7ce
RW
165962011-06-05 Roland Winkler <winkler@gnu.org>
16597
2b75be67
SM
16598 * textmodes/bibtex.el (bibtex-search-entry-globally):
16599 New variable.
022fe7ce
RW
16600 (bibtex-search-entry): Use it.
16601
b7c3692a
RW
166022011-06-05 Roland Winkler <winkler@gnu.org>
16603
16604 * textmodes/bibtex.el (bibtex-entry-format): New option
16605 sort-fields.
16606 (bibtex-format-entry, bibtex-reformat): Honor this option.
16607 (bibtex-parse-entry): Return fields in proper order.
16608
8eda563d
JB
166092011-06-05 Juanma Barranquero <lekktu@gmail.com>
16610
16611 * doc-view.el (doc-view-remove-if): Move computation of result out
16612 of `dolist' to silence misleading lexical-binding warning.
16613
7dbe3dbc
CY
166142011-06-04 Chong Yidong <cyd@stupidchicken.com>
16615
16616 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16617 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16618
0c33dd17
MA
166192011-06-04 Michael Albinus <michael.albinus@gmx.de>
16620
16621 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16622 "SunOS 5.10".
16623
f8f91c2b
MA
166242011-06-04 Michael Albinus <michael.albinus@gmx.de>
16625
16626 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16627 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16628 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16629 (tramp-parse-putty):
16630 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16631 (tramp-completion-function-alist-ssh)
16632 (tramp-completion-function-alist-telnet)
16633 (tramp-completion-function-alist-su)
16634 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16635 cookie.
16636
16637 * net/tramp-ftp.el:
16638 * net/tramp-sh.el:
16639 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16640 load "tramp.el" `tramp-set-completion-function'.
16641
e17d9003
SM
166422011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16643
16644 * shell.el: Require and use pcomplete.
16645 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16646 (shell-completion-vars): Set pcomplete-default-completion-function.
16647
6c4cab03
DD
166482011-06-04 Deniz Dogan <deniz@dogan.se>
16649
16650 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16651 `memq' (Bug#8799).
16652
ea9fafe0
SM
166532011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16654
16655 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16656
b3e945d3
JB
166572011-06-02 Juanma Barranquero <lekktu@gmail.com>
16658
16659 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16660 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16661 * vc/log-view.el (log-view-beginning-of-defun):
16662 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16663 (smerge-refine-forward, smerge-refine-chopup-region):
16664 Silence warning for unused `dotimes' counter variables.
16665
7d520089
SM
166662011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16667
16668 * net/tramp.el (tramp-with-progress-reporter): Rename from
16669 with-progress-reporter. Use `declare'.
16670 * net/tramp-smb.el:
16671 * net/tramp-sh.el:
16672 * net/tramp-gvfs.el: Update all uses.
16673
a1c2400f
JB
166742011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16675
16676 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16677 buffer isn't killed before making it current.
16678
2403c841
SM
166792011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16680
16681 Silence various byte-compiler warnings.
16682 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16683 `access-type' and new obsolescence format.
16684 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16685 new format.
16686 (byte-compile-check-variable): New `access-type' argument.
16687 Only warn if the access-type is obsolete.
16688 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16689 (byte-compile-variable-set): Adjust callers.
16690 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16691 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16692 setting it as obsolete.
16693 * simple.el (minibuffer-completing-symbol):
16694 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16695 access as obsolete.
16696 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16697 obsolete yet.
16698 * international/quail.el (quail-mouse-choose-completion): Remove unused
16699 code referring to obsolete var.
16700 (quail-choose-completion-string): Remove.
16701 * server.el (server-clients-with, server-kill-buffer-query-function)
16702 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16703 * proced.el (proced-send-signal):
16704 * emacs-lisp/lisp.el (lisp-complete-symbol):
16705 Replace completion-annotate-function with completion-extra-properties.
16706
2462470b
SM
167072011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16708
fb5b2591
SM
16709 * simple.el (goto-line): Use read-number.
16710 (overriding-map-is-bound): Remove.
16711 (saved-overriding-map): Change default.
16712 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16713 Take the map as argument.
16714 (universal-argument, negative-argument, digit-argument): Use it.
16715 (restore-overriding-map): Adjust.
16716 (do-auto-fill): Use fill-forward-paragraph.
16717 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16718
fd6fa53f
SM
16719 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16720 (minibuffer-inactive-mode): New major mode.
16721 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16722 the *Messages* buffer" hack.
16723 (mouse-popup-menubar): Don't burp if the event is a normal key.
16724
2462470b
SM
16725 Miscellaneous tweaks.
16726 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16727 lexical scoping as in subr.el's dolist and dotimes.
16728 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16729 Silence compiler warning.
16730 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16731 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16732 * international/ccl.el (ccl-compile): Trivial simplification.
16733 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16734 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16735 `printflag' argument.
16736 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16737 Purecopy the whole obsolescence data.
16738
108bf785
LL
167392011-06-01 Leo Liu <sdl.web@gmail.com>
16740
16741 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16742 improve doc-string as suggested by Marco Pessotto
16743 <melmothx@gmail.com>.
16744 (rcirc-print): Fix last change.
16745
30a23501
SM
167462011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16747
16748 * minibuffer.el (complete-with-action): Return nil for the metadata and
16749 boundaries of non-functional tables.
16750 (completion-table-dynamic): Return nil for the metadata.
16751 (completion-table-with-terminator): Add default case, using
16752 complete-with-action.
16753 (completion--metadata): New function.
16754 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16755 to try and avoid pathological performance problems.
16756 (completion--embedded-envvar-table): Return `category' metadata.
16757
bcd54f83
LMI
167582011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16759
16760 * subr.el (process-alive-p): New tiny convenience function.
16761
e227544d
SM
167622011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16763
16764 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16765 content but also its previous major mode.
16766
e8296fdc
HE
167672011-05-31 Helmut Eller <eller.helmut@gmail.com>
16768
4d61f28d 16769 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16770 *Backtrace* buffer when we exit with C-M-c.
16771
620c53a6
SM
167722011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16773
16774 * minibuffer.el: Add metadata method to completion tables.
16775 (completion-category-overrides): New defcustom.
16776 (completion-metadata, completion--field-metadata)
16777 (completion-metadata-get, completion--styles)
16778 (completion--cycle-threshold): New functions.
16779 (completion-try-completion, completion-all-completions):
16780 Add `metadata' argument to choose completion-styles.
16781 (completion--do-completion): Use metadata to choose cycling.
16782 (completion-all-sorted-completions): Use metadata for sorting.
16783 Remove :completion-cycle-penalty which is not needed any more.
16784 (completion--try-word-completion): Add `metadata' argument.
16785 (minibuffer-completion-help): Check metadata for annotation function
16786 and sorting.
16787 (completion-file-name-table): Return `category' metadata.
16788 (minibuffer-completing-file-name): Make obsolete.
16789 * simple.el (minibuffer-completing-symbol): Make obsolete.
16790 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16791 completion-try-completion.
16792
1257e755
SM
167932011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16794
16795 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16796
3767e706
LL
167972011-05-30 Leo Liu <sdl.web@gmail.com>
16798
16799 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16800 (rcirc-print): Decode all incoming messages (bug#8744).
16801 (rcirc-decode-coding-system): Allow value nil for automatic coding
16802 system detection.
3767e706 16803
d1a5d56a
GM
168042011-06-01 Glenn Morris <rgm@gnu.org>
16805
16806 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16807
e8cbec34
CY
168082011-05-29 Chong Yidong <cyd@stupidchicken.com>
16809
16810 * image.el (image-animate-max-time): Allow nil and t values.
16811 Default to nil.
16812 (create-animated-image): Doc fix.
16813 (image-animate-start): Remove second arg; just use
16814 image-animate-max-time.
16815 (image-animate-timeout): Doc fix. Args changed.
16816
16817 * image-mode.el (image-toggle-display-image): Ensure that the
16818 image spec passed to the animate timer is the same object as in
58179cce 16819 the buffer's display property (Bug#6981).
e8cbec34
CY
16820 (image-transform-properties): Doc fix.
16821
16822 * image.el (image-animate-max-time): Default to nil.
16823
159daf87
MR
168242011-05-29 Martin Rudalics <rudalics@gmx.at>
16825
16826 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16827 entire buffer list (Bug#8184).
16828
d66c4c7c
CY
168292011-05-29 Chong Yidong <cyd@stupidchicken.com>
16830
16831 * image.el (imagemagick-types-inhibit)
16832 (imagemagick-register-types): Doc fix.
16833
80aec780
DD
168342011-05-29 Deniz Dogan <deniz@dogan.se>
16835
16836 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16837 default.
16838
1dd3c2d9
CY
168392011-05-29 Chong Yidong <cyd@stupidchicken.com>
16840
16841 * select.el: Don't perform clipboard-manager saving in hooks;
16842 leave the hooks empty.
16843
60e56523
LL
168442011-05-28 Leo Liu <sdl.web@gmail.com>
16845
16846 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16847 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16848 (occur-edit-mode): New major mode (Bug#8463).
16849 (occur-after-change-function): New function.
16850 (occur-engine): Give Occur tags a read-only property.
16851
2b1e1a22
KR
168522011-05-28 Kevin Ryde <user42@zip.com.au>
16853
16854 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16855
5d344e88
CY
168562011-05-28 Chong Yidong <cyd@stupidchicken.com>
16857
8e6ca83d
CY
16858 * bindings.el (help-echo): Make the initial non-indicator dash
16859 empty on graphical terminals (Bug#7295).
16860
5d344e88
CY
16861 * files.el (auto-mode-alist): Move config rule after the
16862 in-stripping one (Bug#8547).
16863
bfbbace7
CY
16864 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16865
fbeba6e2
CY
16866 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16867 setting (Bug#8740).
16868
60ed8c72
AA
168692011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16870
4ac619f0
AA
16871 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16872 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16873 (Bug#8539).
60ed8c72 16874
23db196e
CY
168752011-05-28 Chong Yidong <cyd@stupidchicken.com>
16876
16877 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16878
5012f24c
DK
168792011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16880
16881 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16882 (hs-hide-block-at-point, hs-find-block-beginning)
16883 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16884 (Bug#8279).
16885
6a639b16
GM
168862011-05-28 Glenn Morris <rgm@gnu.org>
16887
16888 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16889
d43eaf2c
CY
168902011-05-28 Chong Yidong <cyd@stupidchicken.com>
16891
5199bde1
CY
16892 * help-fns.el (describe-function-1): If the function is a derived
16893 major mode, print the parent mode.
16894
d43eaf2c
CY
16895 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16896 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16897
423428a8
SM
168982011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16899
0ff8e1ba 16900 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16901 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16902 * progmodes/etags.el (tags-completion-at-point-function):
16903 * info-look.el (info-lookup-completions-at-point): Mark as
16904 non-exclusive.
16905 (info-complete): Adjust accordingly.
16906
423428a8
SM
16907 * info-look.el: Convert to lexical-binding and completion-at-point.
16908 (info-lookup-completions-at-point): New function.
16909 (info-complete): Use it and completion-in-region.
16910
b74aa22b
DA
169112011-05-28 Drew Adams <drew.adams@oracle.com>
16912
16913 * isearch.el: Let M-e start with point at the first mismatched char.
16914 (isearch-fail-pos): New function.
16915 (isearch-edit-string): Use it.
16916
66e2e71d
DK
169172011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16918
16919 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16920
b1890b0f 169212011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16922
16923 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16924 traversal functions for avl-trees.
16925 (avl-tree--stack): New struct.
16926 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16927 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16928 (avl-tree--do-enter): Add optional `updatefun' arg.
16929 Change return value.
eb95d01d 16930 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16931 (avl-tree--do-delete): Add `test' and `nilflag' args.
16932 Change return value.
eb95d01d
TC
16933 (avl-tree-member): Add optional `nilflag'
16934 (avl-tree-member-p): New function.
16935 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16936 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16937 (avl-tree-stack-empty-p): New functions.
16938
3769ddcf
TC
16939 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16940 avl-tree--del-balance1 and make it work both ways.
16941 (avl-tree--del-balance2): Remove.
16942 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16943 make it work both ways.
16944 (avl-tree--enter-balance2): Remove.
16945 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16946 New macros.
16947 (avl-tree--mapc, avl-tree-map): Add direction argument.
16948
eb95d01d 169492011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16950
16951 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16952
a9f737ee
CY
169532011-05-27 Chong Yidong <cyd@stupidchicken.com>
16954
16955 * select.el: Support clipboard managers with built-in function
16956 x-clipboard-manager-save, via delete-frame-functions and
16957 kill-emacs-hook.
16958 (xselect-convert-to-targets): Add MULTIPLE target to list.
16959 (xselect-convert-to-save-targets): New function.
16960
c92a1e54
KH
169612011-05-27 Kenichi Handa <handa@m17n.org>
16962
16963 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16964 let-binding rfc2047-encode-encoded-words to nil.
16965
e145f188
GM
169662011-05-27 Glenn Morris <rgm@gnu.org>
16967
5ec8a862
GM
16968 * mail/emacsbug.el: Don't require url-util.
16969
4b29d9fb
GM
16970 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16971
e145f188
GM
16972 * files.el (set-auto-mode):
16973 Also respect mode: entries at the end of the file. (Bug#8586)
16974
7d15102b
GM
169752011-05-26 Glenn Morris <rgm@gnu.org>
16976
98f593b8
GM
16977 * files.el (hack-local-variables-prop-line, hack-local-variables):
16978 Downcase mode names, as seems to be traditional.
27b48e63 16979 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16980
7d15102b
GM
16981 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16982 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16983
51d5b4ec
JD
169842011-05-25 Julien Danjou <julien@danjou.info>
16985
16986 * textmodes/rst.el (rst-define-level-faces): Do not define face
16987 symbol if it is already defined.
16988
91513f63
VB
169892011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16990
16991 * play/5x5.el (5x5-new-game, 5x5-randomize):
16992 Reset 5x5-solver-output to nil when a new grid is cast.
16993 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16994 these debugging traces, as defmacro breaks the compiled code.
16995
4d90d6d0
DK
169962011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16997
16998 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16999
e1b90ef6
LL
170002011-05-24 Leo Liu <sdl.web@gmail.com>
17001
17002 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17003 (vc-bzr-sha1): Adapt.
17004
d8e4b68b 17005 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17006
17007 * bindings.el: Provide sha1 feature.
17008
db0406bb 170092011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17010
17011 * mail/sendmail.el: Require `rfc2047'.
17012 (mail-insert-from-field): Do not perform RFC2047 encoding.
17013 (mail-encode-header): New function.
17014 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17015 buffer to the return value of select-message-coding-system.
17016 Call mail-encode-header.
b8d747b9
KH
17017
17018 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17019
db0406bb 170202011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17021
4d90d6d0
DK
17022 * mail/supercite.el (sc-default-cite-frame):
17023 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17024
eb8a5e9b
GM
170252011-05-24 Glenn Morris <rgm@gnu.org>
17026
f8630703
GM
17027 * progmodes/python.el (brm-menu): Declare.
17028
8831bbed
GM
17029 * emulation/viper.el (viper-set-hooks): Declare.
17030
eb8a5e9b
GM
17031 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17032 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17033 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17034 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17035 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17036 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17037
a2a25d24
SM
170382011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17039
17040 Add an :exit-function for completion-at-point.
17041
17042 * minibuffer.el (completion--done): New fun.
17043 (completion--do-completion): Use it. New arg `expect-exact'.
17044 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17045 since completion--do-completion does it for us now.
17046 (minibuffer-force-complete): Use completion--done and
17047 completion--replace. Handle sole-completion case with more care.
17048 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17049 (completion-extra-properties): New var.
17050 (completion-annotate-function): Make obsolete.
17051 (minibuffer-completion-help): Adjust accordingly.
17052 Use completion-list-insert-choice-function.
17053 (completion-at-point, completion-help-at-point):
17054 Bind completion-extra-properties.
17055 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17056 * simple.el (completion-list-insert-choice-function): New var.
17057 (completion-setup-function): Preserve it.
17058 (choose-completion): Pay attention to it, shuffle the code a bit.
17059 (choose-completion-string): New arg `insert-function'.
17060
17061 * textmodes/bibtex.el: Convert to lexical binding.
17062 (bibtex-mode-map): Use completion-at-point.
17063 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17064 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17065 (bibtex-complete): Define as obsolete alias.
17066 (bibtex-complete-internal): Remove.
17067 (bibtex-format-entry): Remove unused sub-group in regexp.
17068 * shell.el (shell--command-completion-data)
17069 (shell-environment-variable-completion):
17070 * pcomplete.el (pcomplete-completions-at-point):
17071 * comint.el (comint--complete-file-name-data): Use :exit-function
17072 instead of completion-table-with-terminator so it also works for
17073 choose-completion.
17074
e44e373d
SM
170752011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17076
4f91a816
SM
17077 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17078
782fc819
SM
17079 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17080 (bug#8710).
17081
e44e373d
SM
17082 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17083
381987c3
KM
170842011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17085
17086 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17087 customization variable and implement: If non-nil, auto-fill will
17088 be inhibited while on topic's header line.
17089
b776bc70
VB
170902011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17091
17092 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17093 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17094 always have a solution in grid size = 5 cases.
17095 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17096 (5x5-solver-output, 5x5-log-buffer): New vars.
17097 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17098 Make these variables buffer local to achieve 5x5 multi-session-ness.
17099 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17100 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17101 (5x5-solve-suggest): New funs.
17102 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17103 randomize a grid so that we ensure that there is always a solution.
17104 (5x5-make-random-grid): Allow other movement than flipping.
17105
7de88b6e
KR
171062011-05-23 Kevin Ryde <user42@zip.com.au>
17107
17108 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17109 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17110 advice and passes PREDICATE.
17111
b1ef1257
SM
171122011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17113
bbca48fe
SM
17114 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17115 byte-compile-lambda if it's actually a lambda.
17116
b1ef1257
SM
17117 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17118 Fix function quoting. Use backquote better.
17119
92a9cc65
YS
171202011-05-22 Yuanle Song <sylecn@gmail.com>
17121
17122 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17123 matching (Bug#8516).
17124
f0fb8059
JA
171252011-01-22 Jari Aalto <jari.aalto@cante.net>
17126
17127 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17128 different face (Bug#8178).
17129
d5b44c93
CY
171302011-05-22 Chong Yidong <cyd@stupidchicken.com>
17131
17132 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17133 defface (Bug#8144).
17134
79106a44
SM
171352011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17136
9c848d8a
SM
17137 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17138 funcall as well (bug#8712). Warn when performing those conversions.
17139 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17140
79106a44
SM
17141 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17142
88dfa756
GM
171432011-05-22 Glenn Morris <rgm@gnu.org>
17144
17145 * files.el (hack-local-variables-prop-line): Small simplifications.
17146 (hack-local-variables, hack-local-variables-prop-line):
17147 If MODE-ONLY, return the mode, rather than just `t'.
17148
b7cf2c79
SM
171492011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17150
17151 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17152
3f1a8558
GM
171532011-05-21 Glenn Morris <rgm@gnu.org>
17154
7e4ccca3
GM
17155 * files.el (hack-local-variables-prop-line, hack-local-variables):
17156 If only interested in the mode, don't bother doing the other stuff.
17157
637d46ca
GM
17158 * image-mode.el (image-after-revert-hook):
17159 Redraw all frames on which the image is visible. (Bug#8567)
17160
973d955b
GM
17161 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17162
3f1a8558
GM
17163 * wid-edit.el (widget-checklist-match-inline):
17164 Fix 2011-04-19 change. (Bug#8649)
17165
96479927
SM
171662011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17167
1dcf791f
SM
17168 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17169 Also allow singlespace after single-letter capitals followed by a dot.
17170
96479927
SM
17171 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17172 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17173
35fd0881
N
171742011-05-20 Nix <nix@esperi.org.uk>
17175
17176 * files.el (basic-save-buffer-2):
17177 Fix handling of break-hardlink-on-save with non-existent files.
17178
82745640
DD
171792011-05-19 Deniz Dogan <deniz@dogan.se>
17180
17181 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17182 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17183
4a720484
GM
171842011-05-19 Glenn Morris <rgm@gnu.org>
17185
d1f21341
GM
17186 * progmodes/f90.el (f90-type-def-re):
17187 Handle "type, bind(c)". (Bug#8691)
17188
4a720484
GM
17189 * emacs-lisp/autoload.el (batch-update-autoloads):
17190 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17191
2fb0a219
MA
171922011-05-18 Michael Albinus <michael.albinus@gmx.de>
17193
17194 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17195 property for the correct connection in case of multihops.
17196
e565dd37
GM
171972011-05-18 Glenn Morris <rgm@gnu.org>
17198
c2571358 17199 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17200 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17201
e565dd37
GM
17202 Rationalize calendar handling of day and month abbrev-arrays.
17203 * calendar/calendar.el (calendar-customized-p): New function.
17204 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17205 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17206 Add :set function.
17207 (calendar-abbrev-length, calendar-day-abbrev-array)
17208 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17209 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17210 Elements may no longer be nil.
17211 (calendar-day-name, calendar-month-name):
17212 Update for changed nature of abbrev arrays.
17213 * calendar/diary-lib.el (diary-name-pattern):
17214 Update for changed nature of abbrev arrays.
17215 (diary-mark-entries-1): Update calendar-make-alist calls.
17216 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17217 * calendar/cal-html.el (cal-html-day-abbrev-array):
17218 Simply inherit from calendar-day-abbrev-array.
17219
1d99a745
SM
172202011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17221
17222 * progmodes/grep.el (grep-mode): Disable default
17223 compilation-directory-matcher setting (bug#8684).
17224
7c1d9aa0
MA
172252011-05-17 Michael Albinus <michael.albinus@gmx.de>
17226
17227 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17228 instead of "head" and "tail". There were problems with SunOS 5.9,
17229 and it performs better.
17230
3952e9d8
GM
172312011-05-17 Glenn Morris <rgm@gnu.org>
17232
2dd12e7f
GM
17233 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17234
e4157b9c
GM
17235 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17236 Replace obsolete function.
17237
8e249bbd
GM
17238 * shell.el (pcomplete-parse-arguments-function): Declare.
17239
3952e9d8
GM
17240 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17241 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17242 (appt-check): Doc fixes.
17243 (appt-disp-window-function, appt-delete-window-function):
17244 Remove needless special case in custom :type.
17245 (appt-display-count): Default to 0, not nil.
17246 (appt-check): Reset appt-display-count to 0, not nil.
17247
c71a0d48 172482011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17249
c71a0d48
GM
17250 * progmodes/python.el (python-font-lock-keywords):
17251 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17252
31d55be9
SM
172532011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17254
17255 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17256
3bfacb2f
KR
172572011-05-16 Kevin Ryde <user42@zip.com.au>
17258
17259 * info-look.el (makefile-automake-mode): New setups, looking in
17260 automake manual, then makefile-mode.
17261 (makefile-mode): Remove automake manual, have it just in
17262 makefile-automake-mode since there's various things different or
17263 not relevant to plain make.
17264 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17265 believe a hypothetical automake-mode would go to makefile-mode,
17266 not the other way around.
17267
c8e83751
CY
172682011-05-15 Chong Yidong <cyd@stupidchicken.com>
17269
5e9e35cd
CY
17270 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17271 hunk-end tags (Bug#8672).
17272
c8e83751
CY
17273 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17274 vc-annotate-show-diff-revision-at-line (Bug#8671).
17275
50b23e5a
GM
172762011-05-14 Glenn Morris <rgm@gnu.org>
17277
7210a739
GM
17278 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17279 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17280 (change-log-font-lock-keywords): Also handle multiple author lines
17281 with leading tabs. (Bug#8644)
7210a739 17282
4691905a
GM
17283 * calendar/appt.el (appt-check): Rename some local variables.
17284 Some simplification/reordering.
17285
50b23e5a
GM
17286 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17287 (feedmail-sendmail-f-doesnt-sell-me-out)
17288 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17289 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17290 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17291 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17292 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17293 (feedmail-binmail-gnulinuxish-template):
17294 Rename from feedmail-binmail-linuxish-template.
17295 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17296 Use insert-buffer-substring.
17297
215cda7c
BC
172982011-05-14 Bill Carpenter <bill@carpenter.org>
17299
17300 * mail/feedmail.el (feedmail-patch-level): Increase.
17301 (feedmail-debug): New custom group.
17302 (feedmail-confirm-outgoing-timeout)
17303 (feedmail-sendmail-f-doesnt-sell-me-out)
17304 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17305 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17306 (feedmail-sender-line, feedmail-from-line)
17307 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17308 (feedmail-spray-this-address)
215cda7c
BC
17309 (feedmail-spray-address-fiddle-plex-list)
17310 (feedmail-queue-use-send-time-for-date)
17311 (feedmail-queue-use-send-time-for-message-id)
17312 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17313 (feedmail-buffer-eating-function):
17314 Doc fixes.
17315 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17316 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17317 (feedmail-message-action-scroll-down): New functions.
17318 (feedmail-queue-directory, feedmail-queue-draft-directory):
17319 Use expand-file-name.
17320 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17321 Remove C-v help entry.
17322 (feedmail-queue-buffer-file-name): New variable.
17323 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17324 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17325 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17326 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17327 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17328 (feedmail-message-action-toggle-spray)
17329 (feedmail-run-the-queue-no-prompts)
17330 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17331 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17332 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17333 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17334 (feedmail-envelope-deducer, feedmail-fiddle-from)
17335 (feedmail-fiddle-sender, feedmail-default-date-generator)
17336 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17337 (feedmail-fiddle-spray-address)
17338 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17339 (feedmail-fiddle-list-of-fiddle-plexes)
17340 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17341 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17342 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17343 Change default. Doc fix.
17344 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17345 (feedmail-binmail-linuxish-template): New constant.
17346 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17347 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17348 (feedmail-send-it): Add debug call.
17349 Use feedmail-queue-buffer-file-name, and
17350 feedmail-send-it-immediately-wrapper.
17351 (feedmail-message-action-send): Add debug call.
17352 Use feedmail-send-it-immediately-wrapper.
17353 (feedmail-queue-express-to-queue): Add debug call.
17354 Run feedmail-queue-express-hook.
17355 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17356 (feedmail-message-action-help-blat):
17357 Rename from feedmail-queue-send-edit-prompt-help-first.
17358 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17359 Check line-endings. Handle errors better.
17360 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17361 Doc fix. Add debug call.
17362 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17363 Use feedmail-queue-send-edit-prompt-inner.
17364 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17365 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17366 from feedmail-queue-send-edit-prompt.
17367 (feedmail-queue-send-edit-prompt-help)
17368 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17369 (feedmail-tidy-up-slug): Add debug call.
17370 Respect feedmail-queue-slug-suspect-regexp.
17371 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17372 (feedmail-dump-message-to-queue): Add debug call.
17373 Expand queue-directory.
17374 (feedmail-dump-message-to-queue): Change message slightly.
17375 Use feedmail-say-chatter.
17376 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17377 (feedmail-send-it-immediately-wrapper): New function.
17378 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17379 Insert empty string rather than newline. Handle full-frame case.
17380 Use catch/throw. Use feedmail-say-chatter.
17381 (feedmail-fiddle-from): Try mail-host-address.
17382 (feedmail-default-message-id-generator): Doc fix.
17383 Bind system-time-locale. Handle missing end.
17384 (feedmail-fiddle-x-mailer): Add debug call.
17385 Handle feedmail-x-mailer-line being nil.
17386 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17387 Add debug call. Use buffer-substring-no-properties.
17388 (feedmail-say-debug, feedmail-say-chatter): New functions.
17389 (feedmail-find-eoh): Give an explicit error.
17390
42c7e61e
UJ
173912011-05-13 Ulf Jasper <ulf.jasper@web.de>
17392
c2571358 17393 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17394 family from helvetica to sans.
c2571358 17395 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17396 etc/images/newsticker.
17397
c2571358 17398 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17399 family from helvetica to sans.
17400
17401 * net/newst-plainview.el (newsticker-new-item-face)
17402 (newsticker-old-item-face, newsticker-immortal-item-face)
17403 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17404 (newsticker-statistics-face): Change default family from
42c7e61e 17405 helvetica to sans.
c2571358 17406 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17407 etc/images/newsticker.
17408
5d3385a0
JB
17409 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17410 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17411 auto-marking.
17412
8497a297
DV
174132011-05-13 Didier Verna <didier@xemacs.org>
17414
17415 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17416 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17417 TODO entries.
8497a297
DV
17418 (lisp-lambda-list-keyword-parameter-indentation)
17419 (lisp-lambda-list-keyword-parameter-alignment)
17420 (lisp-lambda-list-keyword-alignment): New customizable user options.
17421 (lisp-indent-defun-method): Improve docstring.
17422 (extended-loop-p): Fix comment.
17423 (lisp-indent-lambda-list-keywords-regexp): New variable.
17424 (lisp-indent-lambda-list): New function.
17425 (lisp-indent-259): Use it.
17426 (lisp-indent-defmethod): Support for more than one
17427 method qualifier and properly indent methods lambda-lists.
17428 (defgeneric): Provide a missing common-lisp-indent-function property.
17429
f278f87f
SM
174302011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17431
17432 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17433 bounds for the empty string (bug#8667).
17434
5233edd7
GM
174352011-05-13 Glenn Morris <rgm@gnu.org>
17436
5237a44f
GM
17437 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17438
8340026c 17439 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17440 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17441
5233edd7 17442 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17443 (appt-time-msg-list): Doc fix.
a5464014 17444 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17445
92d10796
AS
174462011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17447
17448 * progmodes/ld-script.el (ld-script-keywords)
17449 (ld-script-builtins): Update keywords list.
17450
914a0ae1
SM
174512011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17452
c89be45f
SM
17453 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17454
914a0ae1
SM
17455 * shell.el (shell-completion-vars): New function.
17456 (shell-mode):
17457 * simple.el (read-shell-command): Use it.
17458 (blink-matching-open): No need for " [...]" in minibuffer-message.
17459
98dc3df3
GM
174602011-05-12 Glenn Morris <rgm@gnu.org>
17461
17462 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17463 (appt-check): Simplify.
17464
d2fc7e3d 174652011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17466
4d61f28d 17467 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17468 literal "/dev/null".
17469
d2fc7e3d 174702011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17471
17472 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17473 Fix typo.
17474
d2fc7e3d 174752011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17476
3f254caa
SM
17477 * progmodes/which-func.el (which-function):
17478 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17479 which might not be defined (Bug#8260).
17480
d45885f7
GM
174812011-05-12 Glenn Morris <rgm@gnu.org>
17482
17483 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17484 Let byte-compile-initial-macro-environment always take precedence.
17485
488086f4
SM
174862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17487
17488 * net/rcirc.el: Add support for SSL/TLS connections.
17489 (rcirc-server-alist): New field `encryption'.
17490 (rcirc): Check `encryption' settings.
17491 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17492 Merge make-local-variable into `set'.
17493 (rcirc--connection-open-p): New function.
17494 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17495 the process is not a network process (e.g. running gnutls-cli).
17496 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17497 Make rcirc-(en|de)code-coding-system local here.
17498 (rcirc-mode): Merge make-local-variable into `set'.
17499 (rcirc-parent-buffer): Make permanent buffer-local.
17500 (rcirc-multiline-minor-mode): Don't do it here.
17501 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17502 there's no server buffer.
17503
7d3b9d44
GM
175042011-05-11 Glenn Morris <rgm@gnu.org>
17505
f64049c6
GM
17506 * newcomment.el (comment-kill): Prefix "unused" local.
17507
93c9df73
GM
17508 * term/w32console.el (get-screen-color): Declare.
17509
7d3b9d44
GM
17510 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17511 Handle symbol elements of byte-compile-initial-macro-environment.
17512
9e2dd53f
LL
175132011-05-10 Leo Liu <sdl.web@gmail.com>
17514
488086f4
SM
17515 * bookmark.el (bookmark-bmenu-mode-map):
17516 Bind bookmark-bmenu-search to `/'.
8b340240 17517
9e2dd53f 17518 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17519 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17520 (Footnote-unicode): New function.
17521 (footnote-style-alist): Add unicode style to the list.
17522 (footnote-style): Doc fix.
9e2dd53f 17523
79b70037
GM
175242011-05-10 Jim Meyering <meyering@redhat.com>
17525
17526 Fix doubled-word typos.
17527 * international/quail.el (quail-insert-kbd-layout): and and -> and
17528 * kermit.el: and and -> and
17529 * net/ldap.el (ldap-search-internal): to to -> to
17530 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17531 * progmodes/js.el (js-mode): and and -> and
17532 * textmodes/artist.el (artist-move-to-xy): at at -> at
17533 (artist-draw-region-trim-line-endings): if if -> if
17534 And Safetyc -> Safety.
17535 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17536
b8f82dc1 175372011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17538 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17539
17540 * files.el (hack-one-local-variable-eval-safep):
17541 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17542
4f99f44b
GM
175432011-05-10 Glenn Morris <rgm@gnu.org>
17544
17545 * calendar/diary-lib.el (diary-list-entries-hook)
17546 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17547 (diary-nongregorian-marking-hook, diary-list-entries)
17548 (diary-include-other-diary-files, diary-mark-entries)
17549 (diary-mark-included-diary-files): Doc fixes.
17550
84f29e6b
JB
175512011-05-09 Juanma Barranquero <lekktu@gmail.com>
17552
17553 * misc.el: Require tabulated-list.el during compilation.
17554
9bedd73a
CY
175552011-05-09 Chong Yidong <cyd@stupidchicken.com>
17556
488086f4
SM
17557 * progmodes/compile.el (compilation-start):
17558 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17559 (compilation-filter-hook): Doc fix.
17560
797c735c
DD
175612011-05-09 Deniz Dogan <deniz@dogan.se>
17562
17563 * wdired.el: Remove outdated installation comment. Fix usage
17564 comment.
17565
5f4b1dfe
JB
175662011-05-09 Juanma Barranquero <lekktu@gmail.com>
17567
17568 * misc.el: Implement new command `list-dynamic-libraries'.
17569 (list-dynamic-libraries--loaded-only-p): New variable.
17570 (list-dynamic-libraries--refresh): New function.
17571 (list-dynamic-libraries): New command.
17572
4c44026c
CY
175732011-05-09 Chong Yidong <cyd@stupidchicken.com>
17574
488086f4
SM
17575 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17576 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17577 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17578 higher priority to avoid clobbering by gnu.
17579
027f966d
CY
175802011-05-08 Chong Yidong <cyd@stupidchicken.com>
17581
17582 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17583 if the face has existing theme settings (Bug#8454).
17584
085f5d7d
CY
175852011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17586
488086f4
SM
17587 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17588 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17589
2a86a00c
RS
17590 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17591 special file names `.' and `..' (Bug#8259).
17592
d9c54a06
CY
175932011-05-08 Chong Yidong <cyd@stupidchicken.com>
17594
488086f4
SM
17595 * progmodes/grep.el (grep-mode-font-lock-keywords):
17596 Remove buffer-changing entries.
d9c54a06
CY
17597 (grep-filter): New function.
17598 (grep-mode): Add it to compilation-filter-hook.
17599
17600 * progmodes/compile.el (compilation-filter-hook)
17601 (compilation-filter-start): New defvars.
17602 (compilation-filter): Call compilation-filter-hook prior to
17603 updating the process mark.
17604
c4662635
SM
176052011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17606
17607 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17608
b0512a1d
EZ
176092011-05-07 Eli Zaretskii <eliz@gnu.org>
17610
605c9376
EZ
17611 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17612 mailclient-send-it even if window-system is nil. (Bug#8595)
17613
c4662635
SM
17614 * term/w32console.el (terminal-init-w32console):
17615 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17616 background-mode. (Bug#8597)
17617
d1dc2cc2
SM
176182011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17619
17620 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17621 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17622 New functions.
17623 (defgeneric, eieio--defmethod): Use them.
17624 (eieio-defgeneric): Remove.
17625 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17626
915d1300
GM
176272011-05-07 Glenn Morris <rgm@gnu.org>
17628
a3961c3e
GM
17629 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17630 Use let rather than let*.
17631 (timeclock-find-discrep): Remove unused local.
17632
314347b9
GM
17633 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17634
915d1300
GM
17635 * calendar/appt.el (appt-time-msg-list): Doc fix.
17636
275b59b0
NF
176372011-05-06 Noah Friedman <friedman@splode.com>
17638
17639 * apropos.el (apropos-print-doc): Only use
17640 emacs-lisp-docstring-fill-column when it is bound to an integer,
17641 per that variable's documentation.
17642
6c19f744
SM
176432011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17644
17645 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17646 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17647
60f884b2
GM
176482011-05-06 Glenn Morris <rgm@gnu.org>
17649
5006e634
GM
17650 * calendar/appt.el (appt-message-warning-time): Doc fix.
17651 (appt-warning-time-regexp): New option.
17652 (appt-make-list): Respect appt-message-warning-time.
17653
548d0a63
GM
17654 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17655 New options.
17656 (diary-add-to-list): Strip comments from the displayed string.
17657 (diary-mode): Set comment-start and comment-end.
17658
60f884b2
GM
17659 * vc/diff-mode.el (smerge-refine-subst): Declare.
17660 (diff-refine-hunk): Don't require smerge-mode when compiling.
17661
989681bb
JB
176622011-05-06 Juanma Barranquero <lekktu@gmail.com>
17663
17664 * simple.el (list-processes): Return nil as the docstring says.
17665
a6bc05e1
MA
176662011-05-05 Michael Albinus <michael.albinus@gmx.de>
17667
17668 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17669 to "".
17670 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17671 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17672 determining of binary transfer. (Bug#7383)
17673
23c22e9a
MA
176742011-05-05 Michael Albinus <michael.albinus@gmx.de>
17675
c4662635
SM
17676 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17677 Fix port computation bug. (Bug#8618)
23c22e9a 17678
0bff894f
GM
176792011-05-05 Glenn Morris <rgm@gnu.org>
17680
b8296902
GM
17681 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17682
1f522ce8
GM
17683 * simple.el (shell-dynamic-complete-functions)
17684 (comint-dynamic-complete-functions): Declare.
17685
cf5bee67
GM
17686 * net/network-stream.el (gnutls-negotiate):
17687 * simple.el (tabulated-list-print): Fix declarations.
17688
17689 * progmodes/gud.el (syntax-symbol, syntax-point):
17690 Remove unnecessary and incorrect declarations.
17691
0bff894f
GM
17692 * emacs-lisp/check-declare.el (check-declare-scan):
17693 Handle byte-compile-initial-macro-environment in bytecomp.el
17694
9869b3ae
SM
176952011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17696
17697 Fix earlier half-done eieio-defmethod change (bug#8338).
17698 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17699 Streamline and change calling convention.
17700 (defmethod): Adjust accordingly and simplify.
17701 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17702 new eieio--defmethod.
17703 (slot-boundp): Minor CSE simplification.
17704
9c1d5ac5
MZ
177052011-05-05 Milan Zamazal <pdm@zamazal.org>
17706
17707 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17708 (glasses-make-readable): Use glasses-separate-capital-groups.
17709
455c834e
JB
177102011-05-05 Juanma Barranquero <lekktu@gmail.com>
17711
17712 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17713 (warning-series): Doc fix.
17714 (display-warning): Don't try to create the buffer if we just found it.
17715
9ed7c8cb
CY
177162011-05-04 Chong Yidong <cyd@stupidchicken.com>
17717
17718 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17719 (autoload-find-generated-file): New function.
17720 (generate-file-autoloads): Bind generated-autoload-file to
17721 buffer-file-name.
9869b3ae
SM
17722 (update-file-autoloads, update-directory-autoloads):
17723 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17724 output file (Bug#7989).
17725 (batch-update-autoloads): Doc fix.
17726
0898ca10
JB
177272011-05-04 Juanma Barranquero <lekktu@gmail.com>
17728
17729 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17730
31dfb76c
GM
177312011-05-04 Glenn Morris <rgm@gnu.org>
17732
f330b642
GM
17733 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17734 function, so it follows changes in calendar-date-style.
17735 (diary-fancy-date-matcher): New function.
17736 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17737 (diary-fancy-font-lock-fontify-region-function):
17738 Use diary-fancy-date-pattern as a function.
17739
31dfb76c
GM
17740 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17741 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17742
48e79d6a
TZ
177432011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17744
17745 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17746 instead of positional arguments. Allow :keylist and :crlfiles
17747 arguments.
17748 (open-gnutls-stream): Call it.
17749
17750 * net/network-stream.el (network-stream-open-starttls): Adjust to
17751 call `gnutls-negotiate' with :process and :hostname arguments.
17752
dd5a5ee0
SM
177532011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17754
ef80fc09
SM
17755 * minibuffer.el (completion--message): New function.
17756 (completion--do-completion, minibuffer-complete)
17757 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17758 (completion--do-completion): Don't ignore completion-auto-help when in
17759 icomplete-mode.
17760
dd5a5ee0
SM
17761 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17762 internal encoding (e.g. tibetan zero is not whitespace).
17763 (global-whitespace-mode): Prefer save-current-buffer.
17764 (whitespace-trailing-regexp): Remove useless save-match-data.
17765 (whitespace-empty-at-bob-regexp): Minor simplification.
17766
b7d22a83
CY
177672011-05-03 Chong Yidong <cyd@stupidchicken.com>
17768
17769 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17770
5192af46
AM
177712011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17772
17773 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17774 Use `concat' to create string for insertion.
5192af46 17775
5767d190
SM
177762011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17777
17778 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17779 Avoid open-line which runs post-self-insert-hook.
17780 (bibtex-fill-entry): Remove unused `end' var.
17781
bf242939
AM
177822011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17783
5767d190
SM
17784 * textmodes/ispell.el (ispell-add-per-file-word-list):
17785 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17786
25666126
LL
177872011-05-03 Leo Liu <sdl.web@gmail.com>
17788
17789 * isearch.el (isearch-yank-pop): New command.
5767d190 17790 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17791 (isearch-forward): Mention it.
17792
52d3c2d0
SM
177932011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17794
1bcace58
SM
17795 * simple.el (minibuffer-complete-shell-command): Remove.
17796 (minibuffer-local-shell-command-map): Use completion-at-point.
17797 (read-shell-command): Setup completion vars here instead.
17798 (read-expression-map): Bind TAB to symbol completion.
17799
52d3c2d0
SM
17800 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17801 error directly rather via storing it into `results'.
17802
35813471
LL
178032011-05-02 Leo Liu <sdl.web@gmail.com>
17804
17805 * vc/diff.el: Fix description.
17806
e793a940
LMI
178072011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17808
17809 * server.el (server-eval-at): New function.
17810
8de66e05
LMI
178112011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17812
17813 * net/network-stream.el (open-network-stream): Take a :nowait
17814 parameter and pass it on to `make-network-process'.
17815 (network-stream-open-plain): Ditto.
17816
dcb79f20
AS
178172011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17818
17819 * faces.el (face-spec-set-match-display): Don't match toolkit
17820 options on terminal frames.
17821
14a7fbd8
SM
178222011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17823
7eabc1be
SM
17824 * progmodes/pascal.el: Use lexical binding.
17825 (pascal-mode-map): Remove author preferences.
17826
14a7fbd8
SM
17827 * pcomplete.el (pcomplete-std-complete): Don't abuse
17828 completion-at-point.
17829
50f84510
JB
178302011-04-28 Juanma Barranquero <lekktu@gmail.com>
17831
6e087a44
JB
17832 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17833 removing code that has been dead since 1991 or so.
17834
50f84510
JB
17835 * startup.el (command-line): When warning about "_emacs", use a
17836 delayed warning to allow the user to filter it out.
17837
0ba690bd
DD
178382011-04-28 Deniz Dogan <deniz@dogan.se>
17839
17840 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17841 user has not joined.
17842
08abfaad
SM
178432011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17844
17845 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17846 aren't any completions at point.
17847
638f053a
JB
178482011-04-28 Juanma Barranquero <lekktu@gmail.com>
17849
17850 * subr.el (display-delayed-warnings): New function.
17851 (delayed-warnings-hook): New variable.
17852
8fff8daa
SM
178532011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17854
08abfaad
SM
17855 * minibuffer.el (completion-at-point, completion-help-at-point):
17856 Don't presume that a given completion-at-point-function will always
17857 use the same calling convention.
17858
8fff8daa
SM
17859 * pcomplete.el (pcomplete-completions-at-point):
17860 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17861 pcomplete-seen is non-nil.
17862 (pcomplete-comint-setup): Also recognize the new comint/shell
17863 completion functions.
17864 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17865 pcomplete-seen is non-nil.
17866
841a1577 178672011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17868
841a1577 17869 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17870 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17871 the first character in the entry. This allows for code to add its
211ec907
UJ
17872 own uid to the entry.
17873 (icalendar--convert-float-to-ical): Add export of
17874 `diary-float'-entries save for those with the optional DAY
17875 argument.
17876
2a782793
DC
178772011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17878
17879 * subr.el (shell-quote-argument): Use alternate escaping strategy
17880 when we spot a variable reference in a string.
17881
0438ce91
DC
178822011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17883
17884 * cus-start.el (all): Define customization for debug-on-event.
17885
841a1577 178862011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17887
17888 * subr.el (shell-quote-argument): Escape correctly under Windows.
17889
d090ed6c
SM
178902011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17891
17892 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17893
bfd31217
MA
178942011-04-25 Michael Albinus <michael.albinus@gmx.de>
17895
d090ed6c
SM
17896 * net/tramp.el (tramp-process-actions): Add POS argument.
17897 Delete region between POS and (pos).
bfd31217 17898
d090ed6c
SM
17899 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17900 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17901 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17902
17903 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17904 position in `tramp-process-actions' call.
17905
17906 * net/trampver.el: Update release number.
17907
e92f3bd3
SM
179082011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17909
850256b5
SM
17910 * custom.el (defcustom): Obey lexical-binding.
17911
e92f3bd3
SM
17912 Fix octave-inf completion problems reported by Alexander Klimov.
17913 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17914 Inherit from octave-mode-syntax-table.
17915 (inferior-octave-mode): Set info-lookup-mode.
17916 (inferior-octave-completion-at-point): New function.
17917 (inferior-octave-complete): Use it and completion-in-region.
17918 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17919 comint-filename-completion.
17920 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17921 symbol elements which shouldn't be word elements.
17922 (octave-font-lock-keywords, octave-beginning-of-defun)
17923 (octave-function-header-regexp): Adjust regexps accordingly.
17924 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17925
cd22b309
JB
179262011-04-25 Juanma Barranquero <lekktu@gmail.com>
17927
17928 * net/gnutls.el (gnutls-errorp): Declare before first use.
17929
8b492194
TZ
179302011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17931
17932 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17933 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17934 default trustfile exists before going to use it. Add missing
5a5fa834 17935 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17936 Reported by Claudio Bley <claudio.bley@gmail.com>.
17937 (open-gnutls-stream): Add usage example.
17938
17939 * net/network-stream.el (network-stream-open-starttls): Give host
17940 parameter to `gnutls-negotiate'.
17941 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17942 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17943
841a1577 179442011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17945
cd22b309
JB
17946 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17947 Use correct match group (bug#8438).
05842630 17948
3ba7869c
CY
179492011-04-24 Chong Yidong <cyd@stupidchicken.com>
17950
512e3ae1
CY
17951 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17952 (package-menu--generate): New arg specifying packages to show.
17953 (package-menu-refresh, package-menu-execute, list-packages):
17954 Callers changed.
17955 (package-show-package-list): New function, replacing deleted
17956 package--list-packages (renamed because it is non-internal).
17957
17958 * finder.el (finder-list-matches): Use package-show-package-list
17959 instead of deleted package--list-packages.
17960
e92f3bd3
SM
17961 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17962 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17963 (vc-annotate-mode-map): Bind it to RET.
17964
7031be6d
UR
179652011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17966
17967 * progmodes/etags.el (next-file): Don't use set-buffer to change
17968 buffers (Bug#8478).
17969
4ef177aa
CY
179702011-04-24 Chong Yidong <cyd@stupidchicken.com>
17971
c8d173eb
CY
17972 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17973
4ef177aa
CY
17974 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17975 (apropos-accumulator): Doc fix.
17976 (apropos-function, apropos-macro, apropos-command)
17977 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17978 (apropos-plist): Add face property.
17979 (apropos-symbols-internal): Fix indentation.
17980 (apropos-print): Simplify help, and recognize apropos-multi-type.
17981 (apropos-print-doc): Use button-type-get to extract the button's
17982 face property. Fill docstring (Bug#8352).
17983
4ffd0d6b 179842011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17985
17986 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17987
c6c32125 17988 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17989 (mpuz-mode-map): Use mapc.
c6c32125
JB
17990 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17991 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17992 Fix typos in docstrings.
17993
58d468b4
JB
17994 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17995 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17996
6470c3c6
JB
17997 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17998
4ffd0d6b 179992011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18000
18001 * minibuffer.el (completion--do-completion): Avoid the "Next char
18002 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18003
3ad8bad0
CY
18004 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18005 mouse-2 into unread-command-events, it is interpreted correctly.
18006
71d73c9c 18007 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18008 (image-toggle-display): Doc fix.
71d73c9c 18009
841a1577 180102011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18011
4ffd0d6b
GM
18012 * textmodes/page.el (what-page): Use line-number-at-pos to
18013 calculate line number (Bug#6825).
6e1dbaa9 18014
c2fb1b60
JB
180152011-04-22 Juanma Barranquero <lekktu@gmail.com>
18016
18017 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18018 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18019 Pass argument NO-DEFAULT to `find-tag-interactive'.
18020
e02f48d7
JB
180212011-04-22 Juanma Barranquero <lekktu@gmail.com>
18022
18023 Lexical-binding cleanup.
18024
18025 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18026 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18027 * progmodes/ada-prj.el (ada-prj-initialize-values)
18028 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18029 (ada-prj-show-value):
18030 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18031 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18032 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18033 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18034 * progmodes/bug-reference.el (bug-reference-push-button):
18035 * progmodes/fortran.el (fortran-line-length):
18036 * progmodes/glasses.el (glasses-change):
18037 * progmodes/octave-mod.el (octave-fill-paragraph):
18038 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18039 (python-pdbtrack-grub-for-buffer, python-sentinel):
18040 * progmodes/sql.el (sql-save-connection):
18041 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18042 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18043 Mark unused parameters.
18044
18045 * progmodes/compile.el (compilation--flush-directory-cache)
18046 (compilation--flush-parse, compile-internal): Mark unused parameters.
18047 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18048 (compilation-next-error-function): Remove unused variable `timestamp'.
18049
18050 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18051 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18052
18053 * progmodes/dcl-mode.el (dcl-end-of-command):
18054 Remove unused variable `start'.
18055 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18056 (dcl-option-value-basic, dcl-option-value-offset)
18057 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18058 Mark unused parameters.
18059 (dcl-save-local-variable): Remove unused variable `val'.
18060 (mode): Declare.
18061
18062 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18063 Mark unused parameters.
18064 (delphi-ignore-changes): Move before first use.
18065 (delphi-charset-token-at): Remove unused variable `start'.
18066 (delphi-else-start): Remove unused variable `if-count'.
18067 (delphi-comment-block-start, delphi-comment-block-end):
18068 Remove unused variable `kind'.
18069 (delphi-indent-line): Remove unused variable `new-point'.
18070
18071 * progmodes/ebrowse.el (ebrowse-files-list)
18072 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18073 Mark unused parameters. Don't quote `lambda'.
18074 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18075 Don't quote `lambda'.
18076 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18077 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18078 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18079 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18080 Use `ignore-errors'.
18081 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18082 (ebrowse-view/find-file-and-search-pattern)
18083 (ebrowse-view/find-member-declaration/definition):
18084 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18085 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18086 Rename parameter PREFIX-ARG to PREFIX.
18087 (ebrowse-tags-read-name): Remove unused variables `start' and
18088 `member-info'.
18089 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18090 to `tags-file'.
18091
18092 * progmodes/etags.el (local-find-tag-hook): Declare.
18093 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18094 Mark unused parameters.
18095
18096 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18097 (executable-interpret): Mark unused parameter.
18098
18099 * progmodes/flymake.el (flymake-process-sentinel)
18100 (flymake-after-change-function)
18101 (flymake-create-temp-with-folder-structure)
18102 (flymake-get-include-dirs-dot): Mark unused parameters.
18103 (flymake-safe-delete-directory): Remove unused variable `err'.
18104
18105 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18106 (speedbar-timer-fn, speedbar-line-text)
18107 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18108 (speedbar-center-buffer-smartly): Declare functions.
18109 (gdb-find-watch-expression): Remove unused variable `array'.
18110 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18111 (gdb-starting): Mark unused parameters.
18112 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18113 (gdb-table-string): Remove unused variable `res'.
18114 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18115 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18116 (gdb-display-buffer): Remove unused variable `cur-size'.
18117
18118 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18119 allow lexical-binding compilation.
18120 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18121 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18122 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18123 Mark unused parameters.
18124 (gud-gdb-marker-filter): Remove unused variable `match'.
18125 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18126 lambda expressions and funcall them, instead of using `fset'.
18127
18128 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18129 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18130
18131 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18132 variable `header-beg'; use `let'.
18133
18134 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18135 `restart', `last-sexp' and `at-do'.
18136
18137 * progmodes/js.el (js--debug): Mark unused parameter.
18138 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18139 (js--splice-into-items): Remove unused variable `item'.
18140 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18141
18142 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18143 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18144 (makefile-complete): Remove unused variable `try'.
18145 (makefile-fill-paragraph, makefile-match-function-end):
18146 Mark unused parameters.
18147
18148 * progmodes/octave-inf.el (inferior-octave-complete):
18149 Remove unused variable `proc'.
18150 (inferior-octave-output-digest): Mark unused parameter.
18151
18152 * progmodes/perl-mode.el (perl-calculate-indent):
18153 Remove unused variable `err'.
18154
18155 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18156 (prolog-indent-line): Mark unused parameters.
18157 (prolog-indent-line): Remove unused variable `beg'.
18158
18159 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18160 (reporter-dont-compact-list): Declare.
18161
18162 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18163 Remove unused variable `char'.
18164 (sh-debug): Mark unused parameter.
18165 (sh-get-indent-info): Remove unused variable `start'.
18166 (sh-calculate-indent): Remove unused variable `var'.
18167
18168 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18169 (simula-electric-keyword): Remove unused variable `null'.
18170 (simula-search-backward, simula-search-forward): Remove unused
18171 variables `begin' and `end'.
18172
18173 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18174 Remove unused variable `pos'.
18175 (vera-electric-tab, vera-comment-uncomment-region):
18176 Mark unused parameters.
18177 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18178
7ede3b65
CY
181792011-04-22 Chong Yidong <cyd@stupidchicken.com>
18180
18181 * emacs-lisp/package.el (package--builtins, package-alist)
18182 (package-load-descriptor, package-built-in-p, package-activate)
18183 (define-package, package-installed-p)
18184 (package-compute-transaction, package-buffer-info)
18185 (package--push): Doc fix. Distinguish more clearly between
18186 version strings and version lists.
18187
121656e9
JB
181882011-04-21 Juanma Barranquero <lekktu@gmail.com>
18189
18190 Lexical-binding cleanup.
18191
18192 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18193 (5x5-make-mutate-best):
18194 * play/fortune.el (fortune-in-buffer):
18195 * play/gomoku.el (gomoku-init-display):
18196 * play/solitaire.el (solitaire, solitaire-do-check):
18197 * play/tetris.el (tetris-default-update-speed-function):
18198 Mark unused parameters.
18199
18200 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18201 (bubbles--shift): Remove unused variable `char-org'.
18202 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18203 (bubbles--show-images): Remove unused variable `char'.
18204
18205 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18206 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18207 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18208 (decipher-analyze-buffer): Use ?\s.
18209 (decipher-make-checkpoint): Remove unused variable `mapping'.
18210
18211 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18212
18213 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18214 Remove unused variable `result'; use `let'.
18215
18216 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18217 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18218 (gametree-children-shown-p, gametree-compute-reduced-score):
18219 Use `ignore-errors'.
18220
18221 * play/handwrite.el (ps-lpr-switches): Declare.
18222 (handwrite): Remove unused variables `pmin' and `lastp'.
18223
18224 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18225
18226 * play/landmark.el (landmark-init-display)
18227 (landmark-update-naught-weights): Mark unused parameters.
18228 (landmark-y): Remove unused variable `noise'. Simplify.
18229 (landmark-human-plays): Remove unused variable `score'.
18230
18231 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18232 (mpuz-try-proposal): Remove unused variable `game'.
18233
18234 * play/zone.el (life-patterns): Declare.
18235
80f499c7
JB
182362011-04-20 Juanma Barranquero <lekktu@gmail.com>
18237
18238 * vc/vc.el (ediff-vc-internal): Declare function.
18239
024ff170
SM
182402011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18241
c0a193ea
SM
18242 * shell.el: Use lexical-binding and std completion UI.
18243 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18244 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18245 comint-preoutput-filter-functions rather than on
18246 comint-output-filter-functions.
18247 (shell-command-completion, shell--command-completion-data)
18248 (shell-filename-completion, shell-environment-variable-completion)
18249 (shell-c-a-p-replace-by-expanded-directory): New functions.
18250 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18251 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18252 (shell-dynamic-complete-environment-variable): Use them.
18253 (shell-dynamic-complete-as-environment-variable)
18254 (shell-dynamic-complete-as-command): Remove.
18255 (shell-match-partial-variable): Match past point.
18256 * comint.el: Clean up use of completion-at-point-functions.
18257 (comint-completion-at-point): New function.
18258 (comint-mode): Use it completion-at-point-functions.
18259 (comint-dynamic-complete): Make it obsolete.
18260 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18261 (comint-c-a-p-replace-by-expanded-history): New function.
18262 (comint-dynamic-complete-functions)
18263 (comint-replace-by-expanded-history): Use it.
18264 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18265 termination strings. Try harder to avoid second try-completion.
18266 (completion-in-region-mode-map): Disable bindings that don't work yet.
18267
2dbaa080
SM
18268 * comint.el: Use lexical-binding. Require CL.
18269 (comint-dynamic-complete-functions): Use comint-filename-completion.
18270 (comint-completion-addsuffix): Tweak custom type.
18271 (comint-filename-completion, comint--common-suffix)
18272 (comint--common-quoted-suffix, comint--table-subvert)
18273 (comint--complete-file-name-data): New functions.
18274 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18275 (comint-dynamic-list-filename-completions): Use them.
18276 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18277
2dbaa080
SM
18278 * minibuffer.el (completion-in-region-mode):
18279 Keep completion-in-region-mode--predicate global.
18280 (completion-in-region--postch):
18281 Assume completion-in-region-mode--predicate is not null.
18282
c79a6f38
SM
18283 * progmodes/flymake.el (flymake-start-syntax-check-process):
18284 Obey `dir'. Simplify.
18285
024ff170
SM
18286 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18287 we're in VC after all.
18288
1c6c854e
CS
182892011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18290
18291 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18292 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18293 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18294
bed7f140
SM
182952011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18296
332e62ab
SM
18297 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18298 add sanity check.
18299
bed7f140
SM
18300 * obsolete/erc-hecomplete.el: Make obsolete.
18301 * obsolete/: Standardize obsolescence info in the header.
18302
f195c582
GM
183032011-04-20 Glenn Morris <rgm@gnu.org>
18304
18305 * calendar/solar.el (solar-horizontal-coordinates):
18306 Use the longitude argument rather than `calendar-longitude'.
18307 (solar-date-next-longitude): Remove unused locals.
18308
cb79b8c0
VJL
183092011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18310
18311 * whitespace.el: New version 13.2.1.
18312
183132011-04-20 felix <EmacsWiki> (tiny change)
18314
d8e4b68b 18315 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18316 switching between major modes on a file.
18317
602ea69d
SM
183182011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18319
18320 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18321 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18322 multi-line comments as well.
18323
06b60517
JB
183242011-04-19 Juanma Barranquero <lekktu@gmail.com>
18325
18326 Lexical-binding cleanup.
18327
18328 * arc-mode.el (archive-mode-revert):
18329 * cmuscheme.el (scheme-interactively-start-process):
18330 * custom.el (custom-initialize-delay):
18331 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18332 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18333 * emacs-lock.el (emacs-lock-clear-sentinel):
18334 * ezimage.el (defezimage):
18335 * follow.el (follow-avoid-tail-recenter):
18336 * fringe.el (set-fringe-mode-1):
18337 * generic-x.el (bat-generic-mode-compile):
18338 * help-mode.el (help-info-variable, help-do-xref)
18339 (help-mode-revert-buffer):
18340 * help.el (view-emacs-todo):
18341 * iswitchb.el (iswitchb-completion-help):
18342 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18343 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18344 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18345 * locate.el (locate-update):
18346 * longlines.el (longlines-encode-region)
18347 (longlines-after-change-function):
18348 * outline.el (outline-isearch-open-invisible):
18349 * ps-def.el (declare-function, charset-dimension, char-width)
18350 (encode-char):
18351 * ps-mule.el (ps-mule-plot-string):
18352 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18353 (recentf-edit-list-select, recentf-edit-list-validate)
18354 (recentf-open-files-action):
18355 * rect.el (delete-whitespace-rectangle-line)
18356 (rectangle-number-line-callback):
18357 * register.el (window-configuration-to-register)
18358 (frame-configuration-to-register):
18359 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18360 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18361 (xselect-convert-to-targets, xselect-convert-to-delete)
18362 (xselect-convert-to-filename, xselect-convert-to-charpos)
18363 (xselect-convert-to-lineno, xselect-convert-to-colno)
18364 (xselect-convert-to-os, xselect-convert-to-host)
18365 (xselect-convert-to-user, xselect-convert-to-class)
18366 (xselect-convert-to-name, xselect-convert-to-integer)
18367 (xselect-convert-to-atom, xselect-convert-to-identity):
18368 * subr.el (declare, ignore, process-kill-without-query)
18369 (text-clone-maintain):
18370 * terminal.el (te-get-char, te-tic-sentinel):
18371 * tool-bar.el (tool-bar-make-keymap):
18372 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18373 * type-break.el (type-break-mode, type-break-noninteractive-query):
18374 * view.el (View-back-to-mark):
18375 * wid-browse.el (widget-browse-action, widget-browse-widget)
18376 (widget-browse-widgets, widget-browse-sexp):
18377 * widget.el (define-widget-keywords):
18378 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18379 Mark unused parameters.
18380
18381 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18382 (align-areas): Remove unused variable `look'.
18383 (align-region): Remove unused variables `real-end' and `pos-list'.
18384
18385 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18386
18387 * bindings.el (mode-line-modified, mode-line-remote):
18388 Mark unused parameters.
18389 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18390
18391 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18392 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18393
18394 * comint.el (comint-history-isearch-pop-state)
18395 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18396 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18397 (comint-substitute-in-file-name): Doc fix.
18398
18399 * completion.el (cmpl-statistics-block): Mark unused parameter.
18400 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18401 (save-completions-to-file, load-completions-from-file):
18402 Remove unused local variable `e'.
18403
18404 * composite.el (compose-chars): Remove unused variable `len'.
18405 (lgstring-insert-glyph): Remove unused variable `g'.
18406 (compose-glyph-string): Remove unused variables `ascent',
18407 `descent', `lbearing' and `rbearing'.
18408 (compose-glyph-string-relative): Remove unused variables
18409 `lbearing', `rbearing' and `wadjust'.
18410 (compose-gstring-for-graphic): Remove unused variables `header',
18411 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18412 (compose-gstring-for-terminal): Remove unused variables `header'
18413 and `nchars'. Use `let', not `let*'.
18414
18415 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18416 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18417 (Custom-buffer-done, custom-buffer-create-internal)
18418 (custom-browse-visibility-action, custom-browse-group-tag-action)
18419 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18420 (widget-magic-mouse-down-action, custom-toggle-parent)
18421 (custom-add-parent-links, custom-toggle-hide-variable)
18422 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18423 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18424 (custom-face-menu-create, custom-variable-menu-create, get)
18425 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18426 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18427 (customize-apropos): Remove unused variable `tests'.
18428 (custom-group-value-create): Remove unused variable `hidden-p'.
18429 (sort-fold-case): Declare.
18430
18431 * cus-theme.el (custom-reset-standard-faces-list)
18432 (custom-reset-standard-variables-list): Declare.
18433 (customize-create-theme, custom-theme-revert, custom-theme-write)
18434 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18435 Mark unused parameters.
18436
18437 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18438
18439 * delim-col.el (delimit-columns-max): Move defvar before first use.
18440
18441 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18442 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18443
18444 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18445 (auto-insert): Declare.
18446 (desktop-restore-file-buffer): Rename desktop-* parameters;
18447 mark unused ones.
18448 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18449 (desktop-buffer): Rename desktop-* parameters.
18450
18451 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18452 (dframe-reposition-frame-xemacs, dframe-help-echo)
18453 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18454 Mark unused parameters.
18455
18456 * dired-aux.el (backup-extract-version-start, overwrite-query)
18457 (overwrite-backup-query, rename-regexp-query)
18458 (rename-non-directory-query): Declare.
18459 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18460 (dired-add-entry): Remove unused variable `orig-file-name'.
18461 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18462 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18463 `dired-copy-preserve-time' directly.
18464 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18465 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18466
18467 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18468 (dired-virtual-revert, dired-make-relative-symlink):
18469 Mark unused parameters.
18470 (manual-program): Declare.
18471 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18472 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18473 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18474
18475 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18476
18477 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18478
18479 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18480 Declare.
18481
18482 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18483
18484 * electric.el (Electric-command-loop): Rename parameter
18485 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18486
18487 * expand.el (expand-in-literal): Remove unused variable `here'.
18488
18489 * facemenu.el (facemenu-add-new-color):
18490 Remove unused variable `docstring'.
18491
18492 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18493 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18494 (face-attr-construct): Mark unused parameter. Doc fix.
18495 (read-color): Remove unused variable `hex-string'.
18496
18497 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18498 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18499 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18500 (display-buffer-other-frame): Remove unused variable `old-window'.
18501 (kill-buffer-hook): Declare.
18502 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18503 Mark unused parameters.
18504 (after-find-file): Pass 1 to `auto-save-mode', not t.
18505
18506 * files-x.el (auto-insert): Declare.
18507 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18508
18509 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18510 variable `buf'. Mark unused parameter.
06b60517
JB
18511 (find-lisp-insert-directory): Mark unused parameter.
18512
18513 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18514 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18515 (format-common-tail): Remove, unused.
18516 (format-deannotate-region): Remove unused variable `loc'.
18517 (format-annotate-region): Remove unused variable `p'.
18518 (format-annotate-single-property-change): Remove unused variables
18519 `default' and `tail'.
18520
18521 * forms.el (read-file-filter): Declare.
18522 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18523
18524 * frame.el (frame-creation-function-alist): Mark unused parameter.
18525 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18526
18527 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18528 Remove unused parameters.
18529 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18530 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18531
18532 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18533 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18534 (hfy-prepare-tag-map): Mark unused parameters.
18535 (htmlfontify-buffer): Use `called-interactively-p'.
18536
18537 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18538 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18539 (ibuffer-do-occur): Mark unused parameters.
18540 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18541 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18542
18543 * ibuffer.el: Don't quote `lambda'.
18544 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18545 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18546 Mark unused parameters.
18547
18548 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18549 (ido-completing-read): Mark unused parameters.
18550 (ido-copy-current-word): Mark unused parameters;
18551 remove unused variable `name'.
18552 (ido-sort-merged-list): Remove unused parameter `dirs'.
18553
18554 * ielm.el (ielm-input-sender): Mark unused parameter.
18555 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18556 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18557 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18558 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18559 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18560
18561 * image-dired.el (image-dired-display-thumbs): Remove unused
18562 variables `curr-file' and `count'.
18563 (image-dired-remove-tag): Remove unused variable `start'.
18564 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18565 variable `curr-file'
18566 (image-dired-rotate-original): Remove unused variable `temp-file'.
18567 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18568 Remove unused variable `file'.
18569 (image-dired-gallery-generate): Remove unused variable `curr'.
18570 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18571
18572 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18573
18574 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18575
18576 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18577
18578 * isearch.el (minibuffer-history-symbol): Declare.
18579 (isearch-edit-string): Remove unused variable `err'.
18580 (isearch-message-prefix, isearch-message-suffix):
18581 Mark unused parameters.
18582
18583 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18584
18585 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18586
18587 * makesum.el (double-column): Remove unused variable `cnt'.
18588
18589 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18590 (ido-ignore-item-temp-list): Declare.
18591
18592 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18593 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18594 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18595 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18596 `mouse-col-delta'.
18597
18598 * mouse-sel.el (mouse-extend-internal):
18599 Remove unused variable `orig-window-frame'.
18600
18601 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18602 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18603 Move declarations before first use.
18604 (pcomplete-opt): Mark unused parameters; doc fix.
18605
18606 * proced.el (proced-revert): Mark unused parameter.
18607 (proced-send-signal): Remove unused variable `err'.
18608
18609 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18610 Rename parameter PREFIX-ARG to ARG.
18611 (ps-basic-plot-string, ps-basic-plot-whitespace):
18612 Mark unused parameters.
18613
18614 * replace.el (replace-count): Define.
18615 (occur-revert-function): Mark unused parameters.
18616 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18617 (isearch-case-fold-search, isearch-string): Declare.
18618 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18619 bind `case-fold-search'. Remove unused variables `beg' and `end',
18620 and simplify.
18621 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18622 COUNT and bind `replace-count'.
18623 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18624 to COUNT.
18625
18626 * savehist.el (print-readably, print-string-length): Declare.
18627
18628 * shadowfile.el (shadow-expand-cluster-in-file-name):
18629 Remove unused variable `cluster'.
18630 (shadow-copy-file): Remove unused variable `i'.
18631 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18632 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18633 (shadow-define-literal-group, shadow-define-regexp-group)
18634 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18635
18636 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18637 (shell): Use `called-interactively-p'.
18638 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18639
18640 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18641 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18642 (delete-backward-char): Remove unused variable `ocol'.
18643 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18644 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18645 (event-apply-hyper-modifier, event-apply-shift-modifier)
18646 (event-apply-control-modifier, event-apply-meta-modifier):
18647 Mark unused parameters.
18648 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18649 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18650
18651 * speedbar.el (speedbar-ignored-directory-expressions)
18652 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18653 (speedbar-find-file, speedbar-dir-follow)
18654 (speedbar-directory-buttons-follow, speedbar-tag-find)
18655 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18656 (speedbar-buffers-line-directory, speedbar-buffer-click):
18657 Mark unused parameters.
18658 (speedbar-tag-file): Remove unused variable `mode'.
18659 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18660
18661 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18662
18663 * talk.el (talk): Remove unused variable `display'.
18664
18665 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18666 (tar-write-region-annotate): Mark unused parameter.
18667
18668 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18669 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18670 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18671 warning by another.
18672
18673 * time-stamp.el (time-stamp-string-preprocess):
18674 Remove unused variable `require-padding'.
18675
18676 * tree-widget.el (widget-glyph-enable): Declare.
18677 (tree-widget-action): Mark unused parameter.
18678
18679 * w32-fns.el (x-get-selection): Mark unused parameter.
18680 (autoload-make-program, generated-autoload-file): Declare.
18681
18682 * wdired.el (wdired-revert): Mark unused parameters.
18683 (wdired-xcase-word): Remove unused variable `err'.
18684
18685 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18686 (whitespace-help-scroll): Remove unused variable `data-help'.
18687
18688 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18689 (widget-image-insert, widget-after-change, default)
18690 (widget-default-format-handler, widget-default-notify)
18691 (widget-default-prompt-value, widget-info-link-action)
18692 (widget-url-link-action, widget-function-link-action)
18693 (widget-variable-link-action, widget-file-link-action)
18694 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18695 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18696 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18697 (widget-insert-button-action, widget-delete-button-action, visibility)
18698 (widget-documentation-link-action, widget-documentation-string-action)
18699 (widget-const-prompt-value, widget-regexp-match, symbol)
18700 (widget-coding-system-prompt-value)
18701 (widget-key-sequence-value-to-external, sexp)
18702 (widget-sexp-value-to-internal, character, vector, cons)
18703 (widget-choice-prompt-value, widget-boolean-prompt-value)
18704 (widget-color--choose-action): Mark unused parameters.
18705 (widget-item-match-inline, widget-choice-match-inline)
18706 (widget-checklist-match, widget-checklist-match-inline)
18707 (widget-group-match): Rename parameter VALUES to VALS.
18708 (widget-field-value-set): Remove unused variable `size'.
18709 (widget-color-action): Remove unused variables `value' and `start'.
18710
18711 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18712 variable `dir'. Doc fix.
06b60517
JB
18713 (windmove-find-other-window): Don't pass it.
18714
18715 * window.el (count-windows): Mark unused parameter.
18716 (bw-adjust-window): Remove unused variable `err'.
18717
18718 * woman.el (woman-file-name): Remove unused variable `default'.
18719 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18720 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18721 (global-font-lock-mode): Declare.
18722 (woman-decode-region): Mark unused parameter.
18723 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18724
18725 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18726 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18727 (x-dnd-handle-moz-url): Remove unused variable `title'.
18728 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18729
18730 * xml.el (xml-parse-tag, xml-parse-attlist):
18731 Remove unused variable `pos'.
18732
bc4f7f3d
GM
187332011-04-19 Glenn Morris <rgm@gnu.org>
18734
18735 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18736 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18737 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18738 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18739 * calendar/cal-html.el (cal-html-insert-minical):
18740 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18741 (calendar-mark-date-pattern):
18742 Prefix "unused" locals.
18743
18744 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18745 optional argument `style'.
18746
18747 * calendar/appt.el (appt-make-list):
18748 * calendar/cal-china.el (calendar-chinese-date-string):
18749 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18750 (diary-hebrew-yahrzeit):
18751 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18752 * calendar/calendar.el (calendar-generate-window):
18753 * calendar/time-date.el (time-to-days):
18754 Remove unused local variables.
18755
16a43933
CY
187562011-04-18 Chong Yidong <cyd@stupidchicken.com>
18757
18758 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18759 glyphless-char-display table.
18760 (tabulated-list-glyphless-char-display): New var.
18761
7eed1860
SS
187622011-04-18 Sam Steingold <sds@gnu.org>
18763
18764 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18765 to acknowledgments.
18766
4d2d1ccd
GM
187672011-04-17 Glenn Morris <rgm@gnu.org>
18768
18769 * calendar/diary-lib.el (diary-sexp-entry):
18770 * calendar/holidays.el (holiday-sexp):
18771 Set debug-on-error rather than the removed stack-trace-on-error.
18772
239da61d
GM
187732011-04-16 Glenn Morris <rgm@gnu.org>
18774
18775 * progmodes/f90.el: Use lexical-binding.
18776 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18777
8b05752a
SM
187782011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18779
daca8ba5
SM
18780 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18781 (mail-mode): Setup mailalias completion here instead.
18782 * mail/mailalias.el: Use lexical-binding.
18783 (pattern, mailalias-done): Declare dynamic.
18784 (mail-completion-at-point-function): New function, from mail-complete.
18785 (mail-complete): Use it.
18786 (mail-completion-expand): New function.
18787 (mail-get-names): Use it.
18788 (mail-directory, mail-directory-process, mail-directory-stream):
18789 Don't use `pattern' for lexically bound arg.
18790
6f542485
SM
18791 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18792
037e7c3f
SM
18793 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18794 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18795 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18796
8b05752a
SM
18797 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18798 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18799 (byte-interactive-p): Define them again, for use when inlining
18800 old code.
18801
49093f60
JB
188022011-04-15 Juanma Barranquero <lekktu@gmail.com>
18803
18804 * loadup.el: Use `string-to-number', not `string-to-int'.
18805
b5b8e7de
SM
188062011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18807
18808 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18809 gud-gdb-complete-command.
18810 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18811 (gud-gdb-completion-at-point): New function.
18812 (gud-gdb-completions): Remove.
18813
f42efeb5
MA
188142011-04-14 Michael Albinus <michael.albinus@gmx.de>
18815
49093f60
JB
18816 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18817 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18818 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18819 whether `executable-find' is bound.
f42efeb5
MA
18820
18821 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18822
e240cc21
SM
188232011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18824
18825 * minibuffer.el (completion-in-region-mode-predicate)
18826 (completion-in-region-mode--predicate): New vars.
18827 (completion-in-region, completion-in-region--postch)
18828 (completion-in-region-mode): Use them.
18829 (completion--capf-wrapper): Also return the hook function.
18830 (completion-at-point, completion-help-at-point):
18831 Adjust and provide a predicate.
c2bd2ab0
SM
18832
18833 Preserve arg names for advice of subr and lexical functions (bug#8457).
18834 * help-fns.el (help-function-arglist): Consolidate the subr and
18835 new-byte-code cases. Add argument `preserve-names' to extract names
18836 from the docstring when needed.
18837 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18838 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18839 (ad-arglist): Use help-function-arglist's new arg.
18840 (ad-definition-type): Use cond.
18841
c183f693
JB
188422011-04-13 Juanma Barranquero <lekktu@gmail.com>
18843
06641a47
JB
18844 * autorevert.el (auto-revert-handler):
18845 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18846 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18847 Don't quote lambda.
18848
c183f693
JB
18849 * image-mode.el (image-transform-set-scale):
18850 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18851
1e3b6001
G
188522011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18853
18854 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18855 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18856 Upgrades via gnutls-cli are too slow to be done opportunistically.
18857
2d6af8dd
JB
188582011-04-12 Juanma Barranquero <lekktu@gmail.com>
18859
18860 * dframe.el (dframe-current-frame): Remove spurious quote.
18861
c0749a51
GM
188622011-04-12 Glenn Morris <rgm@gnu.org>
18863
088d0d61
GM
18864 * calendar/cal-tex.el (cal-tex-end-document):
18865 Try to automatically use latin1 input if needed.
18866
c0749a51
GM
18867 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18868 Don't try to cons a mark onto an empty element.
18869
5c90fde0
LL
188702011-04-11 Leo Liu <sdl.web@gmail.com>
18871
18872 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18873 buffers.
18874 (ido-kill-buffer-at-head): Support killing virtual buffers.
18875
369e974d
CY
188762011-04-10 Chong Yidong <cyd@stupidchicken.com>
18877
18878 * minibuffer.el (completion-show-inline-help): New var.
18879 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18880 (minibuffer-force-complete, minibuffer-complete-word):
18881 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18882
18883 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18884 to avoid interference from inline help (Bug#5849).
18885
37f1c930
LL
188862011-04-10 Leo Liu <sdl.web@gmail.com>
18887
099c39a4
JB
18888 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18889 Fix typo.
37f1c930 18890
a32d4040
CY
188912011-04-09 Chong Yidong <cyd@stupidchicken.com>
18892
18893 * image-mode.el (image-toggle-display-image): Signal an error if
18894 not in Image mode.
18895 (image-transform-mode, image-transform-resize)
18896 (image-transform-set-rotation): Doc fix.
daca8ba5 18897 (image-transform-set-resize): Delete.
a32d4040
CY
18898 (image-transform-set-scale, image-transform-fit-to-height)
18899 (image-transform-fit-to-width): Handle image-toggle-display-image
18900 and image-transform-resize directly.
18901
099c39a4 189022011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18903
18904 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18905 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18906 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18907 (doc-view-mode-map): Add bindings for the new functions.
18908
099c39a4 189092011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18910
4d61f28d 18911 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18912 Fix typo in docstring.
18913
3726838a
EZ
189142011-04-08 Eli Zaretskii <eliz@gnu.org>
18915
04f33f1e
EZ
18916 * files.el (file-size-human-readable): Produce one digit after
18917 decimal, like "ls -lh" does.
18918
18919 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18920 the file size representation.
18921
3726838a
EZ
18922 * simple.el (list-processes): If async subprocesses are not
18923 available, error out with a clear error message.
18924
cbb59342
CY
189252011-04-08 Chong Yidong <cyd@stupidchicken.com>
18926
18927 * help.el (help-form-show): New function, to be called from C.
18928 Put help-form output in a buffer named differently than *Help*.
18929
e3971c44
EZ
189302011-04-08 Eli Zaretskii <eliz@gnu.org>
18931
18932 * files.el (file-size-human-readable): New function.
18933
18934 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18935 computing the representation inline. Don't require `cl'.
18936
12544bbe
GM
189372011-04-08 Glenn Morris <rgm@gnu.org>
18938
a1de6c6a
GM
18939 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18940
3c4671f4
GM
18941 * net/browse-url.el (browse-url-firefox):
18942 Test system-type, not system-configuration.
18943
b605679c
GM
18944 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18945 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18946 Use log-edit-empty-buffer-p. (Bug#7598)
18947
56442f0c
GM
18948 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18949 (rlogin-mode-map): Initialize in the defvar.
18950 (rlogin): Use ignore-errors.
18951
12544bbe
GM
18952 * replace.el (occur-mode-map): Some fixes for menu items.
18953
eb237b0f
AH
189542011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18955
18956 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18957
7d668f2c
CY
189582011-04-06 Chong Yidong <cyd@stupidchicken.com>
18959
e67a13ab
CY
18960 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18961 issuing unused warnings.
18962
18963 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18964 macro directly.
18965
7d668f2c
CY
18966 * simple.el: Lisp reimplement of list-processes. Based on an
18967 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18968 (process-menu-mode): New major mode.
18969 (list-processes--refresh, list-processes):
18970 (process-menu-visit-buffer): New functions.
18971
18972 * files.el (save-buffers-kill-emacs): Don't assume any return
18973 value of list-processes, which is undocumented anyway.
18974
a83ec3c9
CY
189752011-04-06 Chong Yidong <cyd@stupidchicken.com>
18976
18977 * emacs-lisp/tabulated-list.el: New file.
18978
e91a96fe
CY
18979 * emacs-lisp/package.el: Use Tabulated List mode.
18980 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18981 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18982 table format using Tabulated List mode variables.
18983 (package--push): New macro, replacing package-list-maybe-add.
18984 (package-menu--generate): Use package--push. Renamed from
18985 package--generate-package-list.
18986 (package-menu-refresh, list-packages): Use it.
daca8ba5 18987 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18988 Return insertion data instead of inserting it directly.
099c39a4
JB
18989 (package-menu-describe-package, package-menu-execute):
18990 Use tabulated-list-get-id.
e91a96fe
CY
18991 (package-menu-mark-delete, package-menu-mark-install)
18992 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18993 (package-menu-mark-obsolete-for-deletion):
18994 Use tabulated-list-put-tag.
e91a96fe
CY
18995 (package--list-packages, package-menu-revert)
18996 (package-menu-get-package, package-menu-get-version)
18997 (package-menu-sort-by-column): Functions deleted.
18998 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18999 (package-menu--status-predicate, package-menu--version-predicate)
19000 (package-menu--name-predicate)
19001 (package-menu--description-predicate): Handle arguments in the
19002 Tabulated List format.
19003 (package-list-packages-no-fetch): Call list-packages.
19004
3e214b50
JB
190052011-04-06 Juanma Barranquero <lekktu@gmail.com>
19006
19007 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19008 (after-find-file): Don't bind it.
3e214b50
JB
19009 (revert-buffer-in-progress-p): New variable.
19010 (revert-buffer): Bind it.
19011 Pass nil for `after-find-file-from-revert-buffer'.
19012
19013 * saveplace.el (save-place-find-file-hook): Use new variable
19014 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19015
3f0f1700
GM
190162011-04-06 Glenn Morris <rgm@gnu.org>
19017
c0274801
GM
19018 * Makefile.in (AUTOGEN_VCS): New variable.
19019 (autoloads): Use $AUTOGEN_VCS.
19020
3f0f1700
GM
19021 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19022 * calendar/calendar.el (calendar-mode-map):
19023 Check for toolkit scroll bars. (Bug#8305)
19024
41ea9e48
CY
190252011-04-05 Chong Yidong <cyd@stupidchicken.com>
19026
19027 * minibuffer.el (completion-in-region--postch)
19028 (completion-in-region-mode): Remove unnecessary messages.
19029
6194c800
JB
190302011-04-05 Juanma Barranquero <lekktu@gmail.com>
19031
33256f14
JB
19032 * font-lock.el (font-lock-refresh-defaults):
19033 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19034 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19035
6194c800
JB
19036 * info.el (Info-directory-list, Info-read-node-name-2)
19037 (Info-split-parameter-string): Doc fixes.
19038 (Info-virtual-nodes): Reflow docstring.
19039 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19040 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19041 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19042 Fix typos in docstrings.
19043 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19044 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19045 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19046 (Info-restore-desktop-buffer): Mark unused parameters.
19047 (Info-directory-find-file, Info-directory-find-node)
19048 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19049 (Info-virtual-index-find-node, Info-apropos-find-file)
19050 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19051 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19052 (Info-virtual-index): Remove unused local variable `nodename'.
19053
b87a8200 190542011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19055
b87a8200
DD
19056 * net/rcirc.el: Update my e-mail address.
19057 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19058
3b2ff876
CY
190592011-04-05 Chong Yidong <cyd@stupidchicken.com>
19060
19061 * startup.el (command-line): Save the cursor's theme-face
19062 directly, instead of using face-override-spec.
19063
19064 * custom.el (load-theme): Minor optimization in assigning faces.
19065
8d17e7ca
JB
190662011-04-04 Juanma Barranquero <lekktu@gmail.com>
19067
19068 * help-fns.el (describe-variable): Complete all variables having
19069 documentation, including keywords.
19070 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19071
2fbc1934
JB
190722011-04-04 Juanma Barranquero <lekktu@gmail.com>
19073
19074 Convert to lexical-binding.
19075
19076 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19077 (bs--get-marked-string, bs--get-modified-string)
19078 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19079 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19080 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19081
19082 * ehelp.el (electric-help-execute-extended)
19083 (electric-help-ctrl-x-prefix):
19084 * hexl.el (hexl-revert-buffer-function):
19085 * linum.el (linum-after-change, linum-after-scroll):
19086 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19087
19088 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19089
74f50695
DU
190902011-04-04 Daiki Ueno <ueno@unixuser.org>
19091
19092 * epa-dired.el:
19093 * epa-mail.el:
19094 * epa-hook.el:
19095 * epa-file.el:
19096 * epa.el:
19097 * epg.el: Use lexical binding.
19098
c11325f7
CY
190992011-04-03 Chong Yidong <cyd@stupidchicken.com>
19100
0d9e9a12
CY
19101 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19102
c11325f7 19103 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19104 dictionary case for flyspell-mark-duplications-exceptions.
19105 Use regexp matching for languages.
c11325f7
CY
19106 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19107 default dictionary (Bug#7926).
19108
da91b5f2
CY
191092011-04-02 Chong Yidong <cyd@stupidchicken.com>
19110
099c39a4
JB
19111 * emacs-lisp/package.el (package--with-work-buffer):
19112 Recognize https URLs.
da91b5f2 19113
099c39a4
JB
19114 * net/network-stream.el: Move from gnus/proto-stream.el.
19115 Change prefix to network-stream throughout.
da91b5f2
CY
19116 (open-protocol-stream): Merge into open-network-stream, leaving
19117 open-protocol-stream as an alias. Handle nil BUFFER args.
19118
19119 * subr.el (open-network-stream): Move to net/network-stream.el.
19120
afa8e9f6
GM
191212011-04-02 Glenn Morris <rgm@gnu.org>
19122
1d2e369d
GM
19123 * find-dired.el (find-exec-terminator): New option.
19124 (find-ls-option): Test for -ls support.
19125 (find-ls-subdir-switches): Test for -b in find-ls-option.
19126 (find-dired, find-grep-dired): Doc fixes.
19127 (find-dired): Use find-exec-terminator.
19128
8abb7da8 19129 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19130 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19131 (find-name-arg): Remove purecopy.
8abb7da8 19132
f3ca7378
GM
19133 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19134 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19135 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19136 accordingly. Don't add the null-device if not needed.
19137
afa8e9f6
GM
19138 * files.el (save-some-buffers): Doc fix.
19139
35eae264
EZ
191402011-04-02 Eli Zaretskii <eliz@gnu.org>
19141
19142 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19143
26b51db5
JB
191442011-04-01 Juanma Barranquero <lekktu@gmail.com>
19145
19146 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19147 Use `dolist' rather than `mapcar'.
19148
7200d79c
SM
191492011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19150
03408648 19151 Add lexical binding.
7200d79c 19152
03408648
SM
19153 * subr.el (apply-partially): Use new closures rather than CL.
19154 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19155 (dolist, dotimes): Use slightly different expansion for lexical code.
19156 (functionp): Move to C.
19157 (letrec): New macro.
19158 (with-wrapper-hook): Use it and apply-partially instead of CL.
19159 (eval-after-load): Preserve lexical-binding.
19160 (save-window-excursion, with-output-to-temp-buffer): Turn them
19161 into macros.
7200d79c 19162
03408648
SM
19163 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19164
19165 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19166 than the arglist.
19167 (help-add-fundoc-usage): Don't add `Not documented'.
19168 (help-function-arglist): Handle closures, subroutines, and new
19169 byte-code-functions.
19170 (help-make-usage): Remove leading underscores.
19171 (describe-function-1): Handle closures.
19172 (describe-variable): Use special-variable-p for completion.
19173
19174 * files.el (lexical-binding): Declare safe.
f488fb65 19175
03408648
SM
19176 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19177 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19178 (pcase): Add `let' pattern.
19179 Change memoization so it actually works.
19180 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19181 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19182 <let>: New case.
f488fb65 19183
03408648
SM
19184 * emacs-lisp/macroexp.el: Use lexical binding.
19185 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19186 Don't convert ' to #' without checking that it's indeed quoting
19187 a lambda.
19188
19189 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19190 Use eval-sexp-add-defvars.
03408648
SM
19191 (eval-sexp-add-defvars): New fun.
19192
19193 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19194
19195 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19196 Don't autoload.
19197 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19198 than the internal `byte-compile-lambda'.
19199 (defmethod): Don't hide code under quotes.
19200 (eieio-defmethod): New `code' argument.
19201
19202 * emacs-lisp/eieio-comp.el: Remove.
19203
19204 * emacs-lisp/edebug.el (edebug-eval-defun)
19205 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19206 (edebug-toggle): Avoid `eval'.
19207
19208 * emacs-lisp/disass.el (disassemble-internal): Handle new
19209 `closure' objects.
19210 (disassemble-1): Handle new byte codes.
19211
19212 * emacs-lisp/cl.el (pushnew): Silence warning.
19213
19214 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19215 (cl-byte-compile-throw): Remove.
19216 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19217
19218 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19219 closures.
19220
19221 * emacs-lisp/cconv.el: New file.
19222
19223 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19224 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19225 (byte-compile-initial-macro-environment):
19226 Handle declare-function here.
19227 (byte-compile--lexical-environment): New var.
19228 (byte-stack-ref, byte-stack-set, byte-discardN)
19229 (byte-discardN-preserve-tos): New lap codes.
19230 (byte-interactive-p): Don't use any more.
19231 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19232 New macros.
19233 (byte-compile-lapcode): Use them and handle new lap codes.
19234 (byte-compile-obsolete): Remove.
19235 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19236 (byte-compile-arglist-warn): Check late def of inlinable funs.
19237 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19238 since they should have been expanded by now.
19239 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19240 (byte-compile-from-buffer): Remove unused second arg.
19241 (byte-compile-preprocess): New function.
19242 (byte-compile-toplevel-file-form): New function to distinguish
19243 file-form calls from outside from file-form calls from hunk-handlers.
19244 (byte-compile-file-form): Simplify.
19245 (byte-compile-file-form-defsubst): Remove.
19246 (byte-compile-file-form-defmumble): Simplify now that
19247 byte-compile-lambda always returns a byte-code-function.
19248 (byte-compile): Preprocess.
19249 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19250 Remove, not used any more.
19251 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19252 (byte-compile-make-args-desc): New funs.
19253 (byte-compile-lambda): Handle lexical functions. Always return
19254 a byte-code-function.
19255 (byte-compile-reserved-constants): New var, to make up room for
19256 closed-over variables.
19257 (byte-compile-constants-vector): Obey it.
19258 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19259 (byte-compile-macroexpand-declare-function): New function.
19260 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19261 byte-code-functions.
19262 (byte-compile-form): Check obsolescence here.
19263 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19264 (byte-compile-variable-ref): Remove.
19265 (byte-compile-dynamic-variable-op): New fun.
19266 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19267 (byte-compile-variable-set): New funs.
19268 (byte-compile-discard): Add 2 args.
19269 (byte-compile-stack-ref, byte-compile-stack-set)
19270 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19271 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19272 macroexpand-all instead.
19273 (byte-compile-quote-form): Remove.
19274 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19275 (byte-compile-bind, byte-compile-unbind): New funs.
19276 (byte-compile-let): Handle let* and lexical binding.
19277 (byte-compile-let*): Remove.
19278 (byte-compile-catch, byte-compile-unwind-protect)
19279 (byte-compile-track-mouse, byte-compile-condition-case):
19280 Handle a new :fun-body form, used for lexical scoping.
19281 (byte-compile-save-window-excursion)
19282 (byte-compile-with-output-to-temp-buffer): Remove.
19283 (byte-compile-defun): Simplify.
19284 (byte-compile-stack-adjustment): New fun.
19285 (byte-compile-out): Use it.
19286 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19287
19288 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19289 handler any more.
19290
19291 * emacs-lisp/byte-opt.el: Use lexical binding.
19292 (byte-inline-lapcode): Remove (to bytecomp).
19293 (byte-compile-inline-expand): Pay attention to inlining to/from
19294 lexically bound code.
19295 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19296 any more.
19297 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19298 any more and don't call compiler-macros.
19299 (byte-compile-splice-in-already-compiled-code): Remove.
19300 (byte-code): Don't inline any more.
19301 (disassemble-offset): Receive `bytes' as argument rather than via
19302 dynamic scoping.
19303 (byte-compile-tag-number): Declare before first use.
19304 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19305 `return' even if make-spliceable.
19306 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19307 obsolete interactive-p.
19308 (byte-optimize-lapcode): Optimize new lap-codes.
19309 Don't trip up on new form of `byte-constant' lap code.
19310
19311 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19312
19313 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19314
19315 * custom.el (custom-initialize-default, custom-declare-variable):
19316 Use `defvar'.
19317
19318 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19319 New variables.
19320 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19321 (COMPILE_FIRST): Add macroexp and cconv.
19322 * makefile.w32-in: Mirror changes in Makefile.in.
19323
19324 * vc/cvs-status.el:
19325 * vc/diff-mode.el:
19326 * vc/log-edit.el:
19327 * vc/log-view.el:
19328 * vc/smerge-mode.el:
19329 * textmodes/bibtex-style.el:
090bd7cb 19330 * textmodes/css-mode.el:
03408648
SM
19331 * startup.el:
19332 * uniquify.el:
da91b5f2
CY
19333 * minibuffer.el:
19334 * newcomment.el:
19335 * reveal.el:
19336 * server.el:
19337 * mpc.el:
19338 * emacs-lisp/smie.el:
19339 * doc-view.el:
19340 * dired.el:
03408648
SM
19341 * abbrev.el: Use lexical binding.
19342
0f0c1f27
EZ
193432011-04-01 Eli Zaretskii <eliz@gnu.org>
19344
19345 * info.el (info-display-manual): New function.
19346
c82b2579
SM
193472011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19348
19349 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19350
221ddf68
TH
193512011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19352
19353 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19354 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19355
cba6e77e
GM
193562011-03-31 Glenn Morris <rgm@gnu.org>
19357
e040639f
GM
19358 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19359
cba6e77e
GM
19360 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19361
6d0f1c9e
CS
193622011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19363
19364 * progmodes/python.el (python-default-interpreter)
19365 (python-python-command-args, python-jython-command-args)
19366 (python-which-shell, python-which-args, python-which-bufname)
19367 (python-file-queue, python-comint-output-filter-function)
19368 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19369 variables and functions.
19370
3e2d70fd
SM
193712011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19372
19373 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19374 (completion-in-region-mode): New minor mode.
19375 (completion-in-region): Use it.
19376 (completion-in-region--data, completion-in-region-mode-map): New vars.
19377 (completion-in-region--postch): New function.
19378 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19379 New vars.
19380 (completion--capf-wrapper): New function.
19381 (completion-at-point): Use it to track well-behavedness of
19382 hook functions.
19383 (completion-help-at-point): New command.
19384
f3e4086c
JM
193852011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19386
19387 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19388 syntax class to search for whitespace on a single line
19389 (Message-ID: <4D938140.4030905@redhat.com>).
19390
eb7ffc14
LL
193912011-03-30 Leo Liu <sdl.web@gmail.com>
19392
19393 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19394 New commands.
19395 (edit-abbrevs-map): Bind them here.
19396 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19397
d806ab68
KM
193982011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19399
19400 * allout.el (allout-hide-by-annotation, allout-flag-region):
19401 Reduce possibility of overlay leakage by making them volatile.
19402
19403 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19404 hash is not shared between buffers. Mode initialization is
19405 responsible for giving it a useful starting value.
19406 (allout-item-span): Reduce possibility of overlay leakage by
19407 making them volatile.
19408 (allout-widgets-count-buttons-in-region): Add diagnostic function
19409 for tracking down button overlay leaks.
19410
ea622834
LL
194112011-03-29 Leo Liu <sdl.web@gmail.com>
19412
19413 * ido.el (ido-read-internal): Use the default history var
19414 minibuffer-history if no HISTORY is specified.
19415
b62f8267
G
194162011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19417
03408648
SM
19418 * net/imap.el (imap-shell-open, imap-process-connection-type):
19419 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19420 Kerberos, SSL, other subprocesses.
19421
947b6566
LL
194222011-03-28 Leo Liu <sdl.web@gmail.com>
19423
19424 * abbrev.el (abbrev-table-empty-p): New function.
19425 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19426 nonempty ones. (Bug#5937)
19427
5ffb62aa
JD
194282011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19429
19430 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19431
7a097943
LL
194322011-03-27 Leo Liu <sdl.web@gmail.com>
19433
19434 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19435 for foreground and background colors.
19436 (ansi-color-make-color-map): Adapt.
19437
c5b40130
LL
194382011-03-25 Leo Liu <sdl.web@gmail.com>
19439
1f48f7d2
LL
19440 * midnight.el (midnight-time-float): Remove. Note it calculates
19441 the microsecond component incorrectly and seconds-to-time does the
19442 same job.
625897ec 19443 Remove redundant (require 'timer).
1f48f7d2 19444
c5b40130
LL
19445 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19446 (ido-completions): Remove unused arguments. (Bug#8329)
19447
d86d2721
SM
194482011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19449
19450 * minibuffer.el (completion--flush-all-sorted-completions):
19451 Remove itself from hook.
19452 (completion-at-point): Let the functions perform the completion
19453 immediately and return nil or t.
19454 * comint.el (comint-dynamic-complete-functions): Now identical to
19455 completion-at-point-functions.
19456 (comint-dynamic-list-input-ring): Remove unused var `index'.
19457 (comint--match-partial-filename, comint--unquote&expand-filename):
19458 New funs, split from comint-match-partial-filename.
19459 (comint-dynamic-complete): Use completion-at-point.
19460 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19461
e8974c48
DA
194622011-03-24 Drew Adams <drew.adams@oracle.com>
19463
19464 * thingatpt.el: Support `defun'.
19465
def71b5e
LL
194662011-03-23 Leo Liu <sdl.web@gmail.com>
19467
cb5af48e
LL
19468 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19469
def71b5e
LL
19470 * help-mode.el (help-mode-finish): Tweak regexp.
19471
927c53e7
GM
194722011-03-23 Glenn Morris <rgm@gnu.org>
19473
18d05bed
GM
19474 * eshell/esh-opt.el (eshell-eval-using-options):
19475 Do not bind unused local variable `eshell-option-stub'.
19476
927c53e7
GM
19477 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19478
9d0da923
JB
194792011-03-22 Juanma Barranquero <lekktu@gmail.com>
19480
19481 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19482 keymap variable in `with-no-warnings' to avoid a warning when the
19483 keymap has been already `defconst'ed.
19484
4b978a67
LL
194852011-03-22 Leo Liu <sdl.web@gmail.com>
19486
19487 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19488 encode all chars in abbrevs; otherwise use emacs-mule or
19489 utf-8-emacs. (Bug#8308)
19490
5fd62452
JB
194912011-03-22 Juanma Barranquero <lekktu@gmail.com>
19492
0b1596c6
JB
19493 * simple.el (backward-delete-char-untabify):
19494 Avoid warning about using `delete-backward-char'.
19495
5fd62452
JB
19496 * image.el (image-type-file-name-regexps): Make it variable.
19497 `imagemagick-register-types' modifies it, and the user may want
19498 to add new extensions for known image types.
19499 (imagemagick-register-types): Throw error if not using ImageMagick.
19500
0b4e93f1
LL
195012011-03-22 Leo Liu <sdl.web@gmail.com>
19502
19503 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19504 located before rcirc-prompt-end-marker.
19505 (rcirc-complete): Error if point is not after rcirc prompt.
19506 Handle the case when table is nil.
9882e214 19507 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19508
fccee4ab
CY
195092011-03-22 Chong Yidong <cyd@stupidchicken.com>
19510
19511 * custom.el (custom--inhibit-theme-enable): Make it affect only
19512 custom-theme-set-variables and custom-theme-set-faces.
19513 (provide-theme): Ignore custom--inhibit-theme-enable.
19514 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19515 (custom-enabling-themes): Delete variable.
d86d2721
SM
19516 (enable-theme): Accept only loaded themes as arguments.
19517 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19518 (custom-enabled-themes): Forbid themes from setting this.
19519 Eliminate use of custom-enabling-themes.
19520 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19521
af896da6
LL
195222011-03-21 Leo Liu <sdl.web@gmail.com>
19523
19524 * ido.el (ido-read-internal): Add ido-selected to history instead
19525 of user input.
19526
78f64af0
SM
195272011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19528
19529 * subr.el (deferred-action-list, deferred-action-function):
19530 Mark obsolete.
19531
b16ac1ec
LL
195322011-03-21 Leo Liu <sdl.web@gmail.com>
19533
810f7698
LL
19534 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19535 change on 2011-02-13 (bug#8309).
19536
b16ac1ec
LL
19537 * minibuffer.el (read-file-name-function): Change default value.
19538 (read-file-name--defaults): Rename from read-file-name-defaults.
19539 (read-file-name-default): Rename from read-file-name.
19540 (read-file-name): Call read-file-name-function.
19541
4e05e67e
GM
195422011-03-21 Glenn Morris <rgm@gnu.org>
19543
19544 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19545 Doc fixes.
19546
4359915b
CY
195472011-03-21 Chong Yidong <cyd@stupidchicken.com>
19548
19549 * cus-theme.el: Add missing provide statement.
19550 (customize-create-theme): Extract theme value correctly.
19551 (custom-theme-visit-theme): Autoload.
19552 (customize-create-theme): Prompt before inserting default faces.
19553
1fe275ee
JB
195542011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19555
19556 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19557 units and musical notes.
19558
cd394be1 195592011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19560
19561 * ido.el (ido-read-internal): Use completing-read-default.
19562 (ido-completing-read): Fix compatibility with completing-read.
19563
7d476bde
CO
195642011-03-20 Christian Ohler <ohler@gnu.org>
19565
19566 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19567 (ert-delete-all-tests): Use `called-interactively-p' rather than
19568 `interactive-p'.
19569 (ert--make-xrefs-region): Respect END.
19570
fe0fb33e
CY
195712011-03-19 Chong Yidong <cyd@stupidchicken.com>
19572
ff854b0b
CY
19573 * dired-aux.el (dired-create-directory): Signal an error if the
19574 directory already exists (Bug#8246).
19575
fe0fb33e
CY
19576 * facemenu.el (list-colors-display): Call list-faces-display
19577 inside with-help-window.
19578 (list-colors-print): Use display property to align the final
19579 column, instead of checking window-width.
19580
576bce32
EZ
195812011-03-19 Eli Zaretskii <eliz@gnu.org>
19582
4d61f28d 19583 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19584 windows-nt systems.
19585 (emerge-protect-metachars): Quote correctly for ms-dos and
19586 windows-nt systems.
19587
89c41d68 195882011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19589
19590 * info.el (info-initialize): Replace all uses of `:' with
19591 path-separator for compatibility with non-Unix systems.
19592 Cache quoting of path-separator. (Bug#8258)
19593
b14e3e21 195942011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19595
19596 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19597 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19598 (mouse-avoidance-mode): Fix typos in docstrings.
19599
4525ce3e
CY
196002011-03-19 Chong Yidong <cyd@stupidchicken.com>
19601
19602 * startup.el (package-subdirectory-regexp): Move from package.el.
19603 Omit \\` and \\', and let callers add them.
19604
19605 * emacs-lisp/package.el (package-strip-version)
19606 (package-load-all-descriptors): Add \\` and \\' to
19607 package-subdirectory-regexp before using it.
19608 (package-untar-buffer): New arg DIR; ensure that file untars only
19609 into this expected directory. Remove superfluous delete-region.
19610 (package-unpack): Caller changed.
19611 (package-tar-file-info): Use package-subdirectory-regexp.
19612
a904a09a 196132011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19614
a904a09a
SM
19615 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19616 diff-mode-shared-map (bug#8284).
19617 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19618
196192011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19620
19621 * calendar/time-date.el (format-seconds): Use assoc instead of
19622 assoc-string, since assoc-string doesn't exist in XEmacs.
19623
171fc304
JB
196242011-03-17 Juanma Barranquero <lekktu@gmail.com>
19625
19626 * custom.el (custom-known-themes): Reflow docstring.
19627 (custom-theme-load-path): Fix typo in docstring.
19628 (load-theme): Fix typo in error message.
19629 (custom-available-themes, custom-variable-theme-value):
19630 Use `let', not `let*'.
19631
d71990a1
JB
196322011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19633
19634 * calc/README: Mention inclusion of musical notes.
19635
19636 * calc/calc-units.el (calc-lu-quant): Rename from
19637 `calc-logunits-quantity'.
19638 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19639 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19640 (calc-db): Rename from `calc-dblevel'.
19641 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19642 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19643 (calc-np): Rename from `calc-nplevel'.
19644 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19645 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19646 (calc-lu-plus): Rename from `calc-logunits-add'.
19647 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19648 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19649 (calc-lu-minus): Rename from `calc-logunits-sub'.
19650 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19651 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19652 (calc-lu-times): Rename from `calc-logunits-mul'.
19653 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19654 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19655 (calc-lu-divide): Rename from `calc-logunits-div'.
19656 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19657 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19658
19659 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19660 functions being autoloaded.
19661
19662 * calc/calc.el (calc-lu-power-reference): Rename from
19663 `calc-logunits-power-reference'.
19664 (calc-lu-field-reference): Rename from
19665 `calc-logunits-field-reference'.
19666
7a71b18d
GM
19667 * calc/calc-help.el (calc-l-prefix-help):
19668 Mention musical note functions.
d71990a1 19669
40c2934b
SM
196702011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19671
19672 * minibuffer.el (completion-all-sorted-completions):
19673 Use :completion-cycle-penalty text property if present.
19674
b0911414
KM
196752011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19676
19677 * allout.el (allout-yank-processing): Adjust for new rebulleting
19678 regime so bullet being yanked is used without prompting the user
19679 for a choice.
19680
8a05b668
JB
196812011-03-16 Juanma Barranquero <lekktu@gmail.com>
19682
19683 * startup.el (command-line): Warn the user that _emacs is deprecated.
19684
5ba5fb81
JB
196852011-03-16 Juanma Barranquero <lekktu@gmail.com>
19686
19687 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19688 (delphi-verbose, delphi-comment-face, delphi-string-face)
19689 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19690 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19691 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19692 (delphi-new-comment-line, delphi-font-lock-defaults)
19693 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19694 Fix typos in docstrings.
19695
2dab465b
KM
196962011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19697
5ba5fb81 19698 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19699 Invert the roles of character and string values for INSTEAD, so a
19700 string is used for the more common case of a defaulting prompt.
19701
0adf5618
SM
197022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19703
19704 * progmodes/ruby-mode.el (ruby-backward-sexp):
19705 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19706 * play/gamegrid.el (gamegrid-make-face):
19707 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19708 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19709 * notifications.el (notifications-notify):
19710 * net/xesam.el (xesam-search-engines):
19711 * net/quickurl.el (quickurl-list-insert):
19712 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19713
d72700e5
CY
197142011-03-15 Chong Yidong <cyd@stupidchicken.com>
19715
19716 * startup.el (command-line): Update package subdirectory regexp.
19717
49c5410a
SM
197182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19719
c6eee9aa
SM
19720 * allout.el (allout-abbreviate-flattened-numbering)
19721 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19722
49c5410a
SM
19723 * subr.el (read-char-choice): Only show the cursor after the prompt,
19724 not after the answer.
19725
047b2bb9
KR
197262011-03-15 Kevin Ryde <user42@zip.com.au>
19727
19728 * help-fns.el (variable-at-point): Skip leading quotes, if any
19729 (bug#8253).
19730
0a57d256
SM
197312011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19732
19733 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19734 warning message.
19735
77c992bc
MA
197362011-03-14 Michael Albinus <michael.albinus@gmx.de>
19737
19738 * shell.el (shell): When called interactively, offer to change the
19739 shell file name on remote hosts.
19740
eebc475d
TZ
197412011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19742
19743 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19744 integration for LDAP parameters. The host, base, user or binddn,
19745 and secret tokens can be specified in a netrc file, for instance.
19746 This is optional because an `auth-source' parameter must be
19747 specified in the search attributes.
19748
9d05d1ba
JB
197492011-03-13 Juanma Barranquero <lekktu@gmail.com>
19750
19751 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19752
09d9db2c
GM
197532011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19754
19755 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19756 into declaration. Remove redundant and harmful binding.
19757
197582011-03-12 Eli Zaretskii <eliz@gnu.org>
19759
19760 * files.el (file-ownership-preserved-p): Pass `integer' as an
19761 explicit 2nd argument to `file-attributes'. If the file's owner
19762 is the Administrators group on Windows, and the current user is
19763 Administrator, consider that a match.
19764
19765 * server.el (server-ensure-safe-dir): Consider server directory
19766 safe on MS-Windows if its owner is the Administrators group while
19767 the current Emacs user is Administrator. Use `=' to compare
19768 numerical UIDs, since they could be integers or floats.
19769
219bd536
JB
197702011-03-12 Juanma Barranquero <lekktu@gmail.com>
19771
19772 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19773
f3afd36b
MA
197742011-03-12 Michael Albinus <michael.albinus@gmx.de>
19775
19776 Sync with Tramp 2.2.1.
19777
19778 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19779
19780 * net/trampver.el: Update release number.
19781
3aaaa6f1
SM
197822011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19783
94642599
SM
19784 * progmodes/compile.el (compilation--previous-directory): Fix up
19785 various nil/dead-marker mismatches (bug#8014).
19786 (compilation-directory-properties, compilation-error-properties):
19787 Don't call it at a position past the one we're about to change.
19788
3aaaa6f1
SM
19789 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19790 Disable obsolescence warnings in the file that declares it.
19791
14239447
KM
197922011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19793
099c39a4
JB
19794 * allout-widgets.el (allout-widgets-tally):
19795 Initialize allout-widgets-tally as a hash table rather than nil to
19796 prevent mode-line redisplay warnings. Also, clarify the module
19797 description and fix a comment typo.
14239447 19798
135e287c
JB
197992011-03-11 Juanma Barranquero <lekktu@gmail.com>
19800
19801 * help-fns.el (describe-variable): Don't complete keywords.
19802 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19803
ffbf300e
CY
198042011-03-10 Chong Yidong <cyd@stupidchicken.com>
19805
ba08b241
CY
19806 * emacs-lisp/package.el (package-version-join): Impose a standard
19807 string representation for pre/alpha/beta version lists.
19808 (package-unpack-single): Standardize the directory name by passing
19809 it through package-version-join.
19810 (package-strip-rcs-id): Accept any version string that does not
19811 signal an error in version-to-list.
ffbf300e 19812
f346fd6b
MA
198132011-03-10 Michael Albinus <michael.albinus@gmx.de>
19814
19815 * simple.el (delete-trailing-whitespace): Return nil for the
19816 benefit of `write-file-functions'.
19817
ccb55d27
GM
198182011-03-10 Glenn Morris <rgm@gnu.org>
19819
5ceaac0c
GM
19820 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19821
02da65ff
GM
19822 * vc/vc-git.el (vc-git-program): New option.
19823 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19824 (vc-git--call): Use it.
19825
b2f603cc
GM
19826 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19827
5772caab
GM
19828 * cus-edit.el (Custom-newline): If no button at point, look
19829 for a subgroup button at start-of-line. (Bug#2298)
19830
ccb55d27
GM
19831 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19832
ec6ecaed
JD
198332011-03-10 Julien Danjou <julien@danjou.info>
19834
19835 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19836 `cursor-type' is nil.
19837
9d5aa01d
JB
198382011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19839
19840 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19841
b6a5875b
KM
198422011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19843
7a71b18d 19844 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19845 preserves the existing header prefix, rebulleting it if necessary,
19846 rather than replacing it. This is necessary for proper operation
19847 of cooperative addons like allout-widgets.
1154d12e
JB
19848 (allout-make-topic-prefix, allout-rebullet-heading):
19849 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19850 value as alternate bullet to be used, instead of prompting the user
19851 for a bullet character.
b6a5875b 19852
ee545c35
MA
198532011-03-09 Michael Albinus <michael.albinus@gmx.de>
19854
d86d2721
SM
19855 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19856 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19857 `tramp-default-port'.
19858
c47971d7
DD
198592011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19860
19861 * net/rcirc.el (rcirc-handler-001): Remove useless
19862 with-rcirc-process-buffer.
19863 (rcirc-check-auth-status): Swap arguments to string-match.
19864
13522cb4
GM
198652011-03-09 Glenn Morris <rgm@gnu.org>
19866
0be6f4f1
GM
19867 * shell.el (shell-mode):
19868 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19869
13522cb4
GM
19870 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19871 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19872
515de2e3
CY
198732011-03-08 Chong Yidong <cyd@stupidchicken.com>
19874
19875 * emacs-lisp/package.el (package-refresh-contents)
19876 (package-menu-execute): Use condition-case-no-debug.
19877
b511b994
MA
198782011-03-08 Michael Albinus <michael.albinus@gmx.de>
19879
19880 * simple.el (shell-command-to-string): Use `process-file'.
19881
19882 * emacs-lisp/package.el (package-tar-file-info): Handle also
19883 remote files.
19884
d86d2721
SM
19885 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19886 Use `equal' for upload base check.
b511b994 19887
25bbfb31
AM
198882011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19889
19890 * textmodes/texinfo.el (texinfo-environments):
19891 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19892
be996521
GM
198932011-03-08 Glenn Morris <rgm@gnu.org>
19894
e9c8529f
GM
19895 * cus-start.el (cursor-in-non-selected-windows):
19896 Fix :set quoting oddness. (Bug#8192)
19897
be996521
GM
19898 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19899 in some setf expressions. (Bug#2159)
19900
2bb5649e
CY
199012011-03-08 Chong Yidong <cyd@stupidchicken.com>
19902
19903 * custom.el (custom-available-themes): Return themes in
19904 alphabetical order.
19905
33383987 19906See ChangeLog.15 for earlier changes.
e3d51b27
MR
19907
19908;; Local Variables:
19909;; coding: utf-8
e3d51b27
MR
19910;; End:
19911
acaf905b 19912 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19913
19914 This file is part of GNU Emacs.
19915
19916 GNU Emacs is free software: you can redistribute it and/or modify
19917 it under the terms of the GNU General Public License as published by
19918 the Free Software Foundation, either version 3 of the License, or
19919 (at your option) any later version.
19920
19921 GNU Emacs is distributed in the hope that it will be useful,
19922 but WITHOUT ANY WARRANTY; without even the implied warranty of
19923 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19924 GNU General Public License for more details.
19925
19926 You should have received a copy of the GNU General Public License
19927 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.