In debug restore current buffer when quitting debugger window (Bug#12502).
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2e566ecb
MR
12012-10-03 Martin Rudalics <rudalics@gmx.at>
2
3 * emacs-lisp/debug.el (debug): When quitting the debugger window
4 restore current buffer (Bug#12502).
5
a96e1cb7
CY
62012-10-02 Chong Yidong <cyd@gnu.org>
7
8 * progmodes/hideif.el (hif-lookup, hif-defined): Handle
9 semantic-c-takeover-hideif.
10
b3ecad33
PE
112012-10-02 Paul Eggert <eggert@cs.ucla.edu>
12
13 Change sampling interval units from ms to ns.
14 * profiler.el (profiler-sampling-interval): Change units
15 from ms to ns, multiplying the default by 1000000 so that
16 it remains 1 ms.
17 (profiler-report-cpu-line-format): Give enough room for
18 the maximum counters on 64-bit hosts.
19 (profiler-report-render-calltree-1): Call them "CPU samples",
20 not "Time (ms)", since they are not milliseconds now (and
21 never really were).
22
8cb51b66 232012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a
SDJ
24
25 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result): Fix
26 querying BBDB for entries without a last name (Bug#11580).
27
fd795bf4
CY
282012-10-02 Chong Yidong <cyd@gnu.org>
29
30 * emacs-lisp/eieio.el: Restore Version header.
31
fe0a74f9
SM
322012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
33
6be9197e
SM
34 * vc/diff-mode.el (diff--auto-refine-data): New var.
35 (diff-hunk): Use it to delay refinement.
36 (diff-mode): Remove overlays when we turn off font-lock.
37
18486139
SM
38 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
39 (table-initialize-table-fixed-width-mode)
40 (table-set-table-fixed-width-mode): Remove functions.
41 (table-command-list): Move initialization into declaration.
42 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
43 (table-with-cache-buffer): Use `declare'.
44 (table-span-cell): Simplify via CSE.
45 (table-fixed-width-mode): Use define-minor-mode.
46 (table-call-interactively, table-funcall, table-apply): Remove.
47 (table-function): New function, to replace them.
48
d83ef976
SM
49 * bookmark.el (bookmark-search-pattern): Remove var.
50 (bookmark-read-search-input): Remove function.
51 (bookmark-bmenu-search): Reimplement using a minibuffer.
52
cd386662
SM
53 * faces.el (modeline): Remove obsolete face name.
54
fe0a74f9
SM
55 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
56 and give a non-nil default value.
57 (add-change-log-entry): Simplify accordingly.
58
9f7b98f8
DG
592012-10-01 Dmitry Gutov <dgutov@yandex.ru>
60
61 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
62 (vc-git-log-edit-toggle-amend): New function.
63 (vc-git-log-edit-toggle-signoff): New function.
64 (vc-git-log-edit-mode): New major mode.
65 (vc-git-log-edit-mode-map): Keymap for it.
66 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
67
68 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
69 header names.
70 (log-edit-toggle-header): New function.
71 (log-edit-extract-headers): Accept function values in HEADERS alist.
72
62a81506
CY
732012-10-01 David Engster <deng@randomsample.de>
74
75 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
76 from symbol property and change message to be more consistent with
77 Emacs proper.
78 (eieio-describe-generic): Add filename for each implementation.
79 Fix indices for generic and normal methods.
80 (eieio-method-def, eieio-class-def): New buttons.
81 (eieio-help-find-method-definition)
82 (eieio-help-find-class-definition): New functions.
83 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
84 class, constructor and method definitions.
85
86 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
87 information in symbol property.
88 (scoped-class): Remove.
89 (eieio-slot-name-index, call-next-method): Check if it is bound.
90
912012-10-01 Leo P. White <lpw25@cam.ac.uk>
92
93 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
94 (eieio-custom-mode): New major mode.
95 (eieio-customize-object): Use it.
96
972012-10-01 Eric Ludlam <zappo@gnu.org>
98
99 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
100 specifying the expected class, and whether subclassing is allowed.
101 (eieio-persistent-convert-list-to-object):
102 (eieio-persistent-validate/fix-slot-value)
103 (eieio-persistent-slot-type-is-class-p): New functions.
104 (eieio-named::slot-missing): Doc fix.
105
106 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
107 Stop using unused publd variable.
108
109 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
110 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
111 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
112 (eieio-speedbar-handle-click): Do not specify a class for the
113 method. Fixes method invocation order problems with EDE.
114
375e49d4
SM
1152012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
116
117 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
118 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
119
16ce6ccd
KF
1202012-10-01 Karl Fogel <kfogel@red-bean.com>
121
122 * bookmark.el (bookmark-version-control): Give tags in the
123 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
124 (bookmark-write-file): Bind `print-circle' to `t' to allow
125 circular custom bookmark types. (Bug#12503)
16ce6ccd 126
19e54a4d
PE
1272012-10-01 Paul Eggert <eggert@cs.ucla.edu>
128
86ec63ba
PE
129 Revert the FOLLOW-SYMLINKS change for file-attributes.
130 * files.el (remote-file-name-inhibit-cache, after-find-file):
131 * time.el (display-time-file-nonempty-p): Undo last change.
132
19e54a4d
PE
133 * profiler.el (profiler-sampling-interval): Change default back to 1.
134 See Stefan Monnier in
135 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
136
0478776b
FEG
1372012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
138
139 Shell output catching a la gud-gdb.
140 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
141 (python-shell-fetch-lines-string, python-shell-fetched-lines):
142 New Vars.
0478776b
FEG
143 (python-shell-fetch-lines-filter): New function.
144 (python-shell-send-string-no-output): Use them.
145
c22bac2c
TM
1462012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
147
148 * profiler.el (profiler-sampling-interval): Rename from
149 profiler-sample-interval.
150 (profiler-sampling-interval): Default to 10.
151 (profiler-find-profile): New command (was profiler-find-log).
152 (profiler-find-profile-other-window): New command.
153 (profiler-find-profile-other-frame): New command.
154 (profiler-profile): Introduce API-level data structure.
155
e7a2937b
PE
1562012-09-30 Paul Eggert <eggert@cs.ucla.edu>
157
158 file-attributes has a new optional arg FOLLOW-SYMLINKS.
159 * files.el (remote-file-name-inhibit-cache):
160 * time.el (display-time-file-nonempty-p): Use it.
161 * files.el (after-find-file): Don't chase links before calling
162 file-exists-p, as file-exists-p already does the right thing.
163
4f595e15
RA
1642012-09-30 Ralf Angeli <angeli@caeruleus.net>
165
166 Merge from standalone RefTeX repository.
167
168 The following ChangeLog entries are shortened versions of the
169 original ones with file paths adapted. A not so strongly edited
170 version of the original ChangeLog can be found in the commit log.
171
172 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
173 (reftex-arg-cite): Use `reftex-cite-key-separator'.
174 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
175
176 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
177 that entries with whitespace at various places are found.
178 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
179 Include @String definitions in the resulting bib file. Add header
180 and footer defined in `reftex-create-bibtex-header' and
181 `reftex-create-bibtex-footer'.
182 (reftex-do-citation): Make it possible again to insert
183 non-existent entries. Save match data when asking for optional
184 arguments. Return all keys, not just the first one.
185 (reftex-all-used-citation-keys): Fix regexp to correctly extract
186 all citations in the same line.
187 (reftex-parse-bibtex-entry): Accept additional optional argument
188 `raw' and keep quotes or braces if it is non-nil. Match fields
189 containing hyphens besides word constituents.
190 (reftex-get-string-refs): New function.
191 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
192 and ask if it should be reread in case it did.
193 (reftex-pop-to-bibtex-entry)
194 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
195 entries with spaces or tabs in front of arguments.
196 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
197 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
198 Match entries containing numbers and symbol constituents.
199 (reftex-do-citation, reftex-figure-out-cite-format):
200 Use `reftex-cite-key-separator'.
4f595e15
RA
201
202 * textmodes/reftex-dcr.el: Move provide statement to end of file.
203 (reftex-mouse-view-crossref): Explain why point is set.
204
205 * textmodes/reftex-global.el: Whitespace changes.
206
207 * textmodes/reftex-index.el: Move provide statement to end of
208 file.
209 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
210 (reftex-index-visit-phrases-buffer): Set marker when visiting
211 buffer. This allows for returning from the phrases file to the
212 file one was just editing instead of the file where the last
213 phrases was added from.
214 (reftex-index-phrases-syntax-table): New variable. Give ?\"
215 punctuation syntax as it usually is not used as string quote in
216 TeX-related modes and may occur unmatched. The change also
217 prevents fontification of quoted content.
218 (reftex-index-phrases-mode): Use it.
219
375e49d4
SM
220 * textmodes/reftex-parse.el (reftex-parse-from-file):
221 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
222 (reftex-parse-from-file): Use beginning of match instead of end as
223 bound.
224
225 * textmodes/reftex-ref.el: Adapt creation of
226 `reftex-<package>-<macro>' functions to new structure of
227 `reftex-ref-style-alist'.
375e49d4
SM
228 (reftex-reference): Use `reftex-ref-style-list' function.
229 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
230 reference macro if `reftex-ref-macro-prompt' is non-nil.
231 (reftex-reference): Pass refstyle to `reftex-format-special'.
232 Determine reference macro by looking at
375e49d4
SM
233 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
234 Use only one special format function.
4f595e15
RA
235 (reftex-varioref-vref, reftex-fancyref-fref)
236 (reftex-fancyref-Fref): Remove definitions. The functions are now
237 generated from `reftex-ref-style-alist'.
238 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
239 Remove.
240 (reftex-format-special): New function.
241
242 * textmodes/reftex-sel.el
243 (reftex-select-cycle-ref-style-internal): Adapt to new structure
244 of `reftex-ref-style-alist'. Remove code for testing macro type.
245 (reftex-select-toggle-varioref)
246 (reftex-select-toggle-fancyref): Remove.
247 (reftex-select-cycle-ref-style-internal)
248 (reftex-select-cycle-ref-style-forward)
249 (reftex-select-cycle-ref-style-backward): New functions.
250 (reftex-select-label-map): Use `v' and `V' for general cycling
251 through reference styles. Add `p' for switching between number
252 and page reference types.
253
375e49d4
SM
254 * textmodes/reftex-toc.el (reftex-re-enlarge):
255 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
256 the horizontal version throws an error even if the parameter is 0.
257
258 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
259 (reftex-plug-into-AUCTeX): Doc fix.
260 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
261 string. Adapt to new name.
262 (reftex-ref-style-alist): Change structure so that it is not
263 possible to use multiple different package names within a style.
375e49d4
SM
264 Remove the symbols for symbols for macro type distinction.
265 Add characters for macro selection.
4f595e15
RA
266 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
267 (reftex-create-bibtex-footer): New variables.
268 (reftex-format-ref-function): Mention third argument of special
269 format function.
375e49d4
SM
270 (reftex-ref-style-alist, reftex-ref-style-default-list):
271 New variables.
4f595e15
RA
272 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
273 to new implementation. Mark as obsolete. Add compatibility code
274 for honoring the variable values in case they are set.
375e49d4
SM
275 (reftex-cite-format-builtin, reftex-bibliography-commands):
276 Add support for ConTeXt.
277 (reftex-format-ref-function, reftex-format-cite-function):
278 Fix custom type.
4f595e15
RA
279 (reftex-cite-key-separator): New variable.
280
281 * textmodes/reftex.el (reftex-syntax-table-for-bib)
282 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
283 `reftex-syntax-table' because parens have to retain their paren
284 syntax in order for parsing of BibTeX entries like @book(...) to
285 work.
286 (reftex-in-comment): Do not error out if `comment-start-skip' is
287 not set. Deal correctly with escaped comment characters.
375e49d4
SM
288 (reftex-tie-multifile-symbols): Add doc string.
289 Initialize `reftex-ref-style-list'.
4f595e15
RA
290 (reftex-untie-multifile-symbols): Add doc string.
291 (reftex-add-index-macros): Doc fix.
292 (reftex-ref-style-activate, reftex-ref-style-toggle)
293 (reftex-ref-style-list): New functions.
294 (reftex-mode-menu): Use them. Adapt to new structure of
295 `reftex-ref-style-alist'.
296 (reftex-select-with-char): Kill the RefTeX Select buffer when
297 done.
298 (reftex-remove-if): New function.
299 (reftex-erase-all-selection-and-index-buffers)
300 (reftex-mode-menu): Reference styles are now computed from
301 `reftex-ref-style-alist'. Fix typo.
302 (reftex-report-bug): New function.
303 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
304 algorithms with O(n log n). Introduce optional argument SORT (not
305 yet used).
306
440ba395
FEG
3072012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
308
309 Enhancements for triple-quote string syntax.
375e49d4
SM
310 * progmodes/python.el (python-syntax-propertize-function):
311 Match both quote cases in one regexp.
440ba395
FEG
312 (python-syntax-stringify): Handle matches properly.
313
4c478e6b
JL
3142012-09-30 Juri Linkov <juri@jurta.org>
315
316 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
317 to nil around the call to `add-text-properties' to prevent
318 directory time modification by lock_file. (Bug#2295)
319 * tar-mode.el (tar-summarize-buffer): Idem.
320
d80d54b2
JL
3212012-09-30 Juri Linkov <juri@jurta.org>
322
323 * facemenu.el (list-colors-sort): Add option "Luminance".
324 (list-colors-sort-key): Implement it.
325
326 * vc/diff-mode.el (diff-refine-removed):
327 * vc/ediff-init.el (ediff-fine-diff-A):
328 * vc/smerge-mode.el (smerge-refined-removed):
329 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
330
d7e642cc
JD
3312012-09-30 Jan Djärv <jan.h.d@swipnet.se>
332
333 * term/ns-win.el (x-file-dialog): New function.
334
ee41332b
JB
3352012-09-30 Juanma Barranquero <lekktu@gmail.com>
336
337 * ido.el (ido-max-directory-size): Default to nil; the current
338 default is small for POSIX systems, and impractical on Windows 7
339 now that lstat returns directory sizes for NTFS.
340
5938d519
MR
3412012-09-30 Martin Rudalics <rudalics@gmx.at>
342
343 In buffer display functions handle window-height/window-width
344 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
345 * window.el (window--display-buffer): New argument ALIST.
346 Obey window-height and window-width alist entries.
347 (window--try-to-split-window): New argument ALIST.
348 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
349 changed and window-combination-limit equals `window-size'.
350 (display-buffer-in-atom-window)
351 (display-buffer-in-major-side-window)
352 (display-buffer-in-side-window, display-buffer-same-window)
353 (display-buffer-reuse-window, display-buffer-pop-up-frame)
354 (display-buffer-pop-up-window, display-buffer-below-selected)
355 (display-buffer-at-bottom, display-buffer-in-previous-window)
356 (display-buffer-use-some-window): Adjust all callers of
357 window--display-buffer and window--try-to-split-window.
358 (fit-frame-to-buffer): New option.
359 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
360 is non-nil.
361 (display-buffer-in-major-side-window): Evaluate window-height /
362 window-width alist entries.
363
364 * help.el (temp-buffer-resize-frames)
365 (temp-buffer-resize-regexps): Remove options.
366 (temp-buffer-resize-mode): Adjust doc-string.
367 (resize-temp-buffer-window): Don't consult
368 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
369 temp-buffer-resize-frames.
370
375e49d4
SM
371 * dired.el (dired-mark-pop-up):
372 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
373 entry.
374
c4c0c2df
CY
3752012-09-30 Chong Yidong <cyd@gnu.org>
376
48de8b12
CY
377 * server.el (server-host): Document the security implications.
378 (server-auth-key): Doc fix.
379
380 * startup.el (initial-buffer-choice): Doc fix.
381
382 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
383
a97dc380
CY
384 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
385 restriction change.
386
d39d3c8e
CY
387 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
388
c4c0c2df
CY
389 * help-fns.el (help-fns--obsolete): Fix last change.
390
98a5e33b
SM
3912012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
392
34cf6f39
SM
393 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
394 (minor-mode-map-alist): Remove redundant code.
395
e01c13fe
SM
396 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
397 visited in a buffer.
398 (cvs-insert-visited-file): New function.
399 (find-file-hook): Use it.
400
401 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
402
02661b3a
SM
403 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
404 chose face.
405 (log-edit-empty-buffer-p): Don't require a space after a header.
406
43711d4b
SM
407 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
408
38a30d64
SM
409 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
410
4ffb41a9
SM
411 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
412 a proper minor-mode.
413
98a5e33b
SM
414 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
415
de82e29b
GM
4162012-09-29 Glenn Morris <rgm@gnu.org>
417
5cc2e639
GM
418 * winner.el (winner-mode): Remove variable (let define-minor-mode
419 handle it).
420 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
421 Doc fixes.
422 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
423 (winner-mode): Use define-minor-mode.
424
7bd302eb
GM
425 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
426 the full definition in loaddefs, rather than duplicating it.
427
2923922f 428 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 429
0e3e4156
GM
430 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
431 (inferior-lisp-program, inferior-lisp-load-command)
432 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 433 No need to autoload defcustoms.
0e3e4156 434
de82e29b
GM
435 * hippie-exp.el (hippie-expand-try-functions-list)
436 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
437 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
438 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 439 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
440 * progmodes/vhdl-mode.el (vhdl-line-expand):
441 Explicitly load hippie-exp, so it does not get autoloaded
442 while hippie-expand-try-functions-list is let-bound.
443
e60b51ab
GM
4442012-09-28 Glenn Morris <rgm@gnu.org>
445
277f0cfa
GM
446 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
447
e60b51ab
GM
448 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
449 Only "cl.el" counts as cl these days.
450
53baf48a
JL
4512012-09-28 Juri Linkov <juri@jurta.org>
452
453 Display archive errors in the echo area instead of inserting
454 to the file buffer.
455
456 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
457 to STDERR-TEST that can be a regexp matching a successful output.
458 Create a temporary file and redirect stderr to it. Search for
459 STDERR-TEST in the stderr output and display it in the echo area
460 if no match is found.
461 (archive-extract-by-file): New function like
462 `archive-extract-by-stdout' but extracting archives to files
463 and looking for successful matches in stdout. Function body is
464 mostly copied from `archive-rar-extract'.
465 (archive-rar-extract): Use `archive-extract-by-file'.
466 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
467
9c1228c3
LL
4682012-09-28 Leo Liu <sdl.web@gmail.com>
469
375e49d4
SM
470 * pcomplete.el (pcomplete-show-completions):
471 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 472
9c1228c3
LL
473 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
474
7f457c06
SM
4752012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
476
3df749b0
SM
477 * type-break.el: Use lexical-binding.
478 (type-break-mode): Use define-minor-mode.
479
7f457c06
SM
480 * emacs-lisp/pcase.el (pcase--mark-used): New.
481 (pcase--u1): Use it (bug#12512).
482
483 * custom.el (load-theme): Set buffer-file-name so the load is recorded
484 in load-history with the right file name.
485
c00ebc98
TH
4862012-09-28 Tassilo Horn <tsdh@gnu.org>
487
488 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
489 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
490 (doc-view-get-bounding-box): Make bounding box slicing work for
491 ODF and DVI documents.
492
96fb7170
GM
4932012-09-28 Glenn Morris <rgm@gnu.org>
494
495 * type-break.el (type-break-mode, type-break-interval)
496 (type-break-good-rest-interval, type-break-keystroke-threshold):
497 No need to autoload.
498 (type-break-good-rest-interval, type-break-keystroke-threshold):
499 Add :set-after.
500
5bc93c67
CY
5012012-09-28 Chong Yidong <cyd@gnu.org>
502
503 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
504 Add :version tag.
505
9cad61d6
SM
5062012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
507
e28e67b3 508 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 509
daee954c
GM
5102012-09-27 Glenn Morris <rgm@gnu.org>
511
a88324d4
GM
512 * faces.el (x-display-name): Declare (for without-x builds).
513
8e5064e5
GM
514 * linum.el (linum-format): Don't autoload it. Improve :type.
515
cc1783c2
GM
516 * progmodes/tcl.el: Don't require outline when compiling.
517 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
518 * textmodes/sgml-mode.el: Don't require outline when compiling.
519 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
520
48c339f2
GM
521 * term.el (term-ansi-reset):
522 Try setting term-ansi-face-already-done to nil. (Bug#11785)
523
daee954c
GM
524 * vc/vc.el (vc-next-action): Only gripe about committing read-only
525 files for RCS and SCCS. (Bug#9781)
526
b7f42161
CY
5272012-09-27 Chong Yidong <cyd@gnu.org>
528
529 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
530 change; value should be t.
531
a2e770db
SM
5322012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
533
83600dc8
SM
534 * image-mode.el: Use lexical-binding.
535 (image-mode-winprops): Use t to stand for the window of
536 a buffer that's not displayed.
537 * doc-view.el (doc-view-new-window-function): Handle the new
538 t in winprops.
539 (doc-view-enlarge): Make it a real nop if the size is not changed.
540 (doc-view-display): Handle the case where the buffer is not (yet?)
541 displayed in any window.
542 (doc-view-saved-settings): New var.
543 (doc-view-mode): Use it.
544 (doc-view-fallback-mode): Set it.
545
a2e770db
SM
546 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
547 Set lexical-binding.
548 (minibuffer-eldef-shorten-default): New var.
549 (minibuffer-default-in-prompt-regexps): Use it for new default.
550 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
551
e3b60857
JB
5522012-09-26 Juanma Barranquero <lekktu@gmail.com>
553
554 * international/uni-bidi.el:
555 * international/uni-category.el:
556 * international/uni-name.el:
557 * international/uni-numeric.el: Regenerate.
558
3a880af4
SM
5592012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
560 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * profiler.el: New file.
563
07b1a5fb
SM
5642012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
567 (testcover-reinstrument): Simplify with CSE.
568
42019c2e
JB
5692012-09-26 Juanma Barranquero <lekktu@gmail.com>
570
571 * window.el (temp-buffer-window-setup): Fix typo in docstring.
572
179f044b
WS
5732012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
574
575 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
576 (verilog-auto-input, verilog-auto-insert-lisp)
577 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
578 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
579 (verilog-auto-unused, verilog-auto-wire)
580 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
581 newline. Reported by Andrew Jones.
582 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
583 Reported by Brad Dobbie.
07b1a5fb
SM
584 (verilog-batch-delete-trailing-whitespace):
585 Create verilog-batch-delete-trailing-whitespace.
586 Reported by Brad Dobbie.
179f044b
WS
587 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
588 parameters from another module. Reported by Dan Katz.
589 (verilog-auto, verilog-auto-assign-modport)
590 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
591 AUTOINOUTMODPORT for UVM interface module shell generation.
592 Reported by Brad Dobbie.
593 (verilog-auto-inst-interfaced-ports): Make default nil, as more
594 standard behavior.
595 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
596 Reported by Matt Martin.
597
9c52dd5a
MR
5982012-09-25 Martin Rudalics <rudalics@gmx.at>
599
600 * window.el (window--resize-child-windows): When resizing child
601 windows proportionally, process them in reverse order to
602 preserve the "when splitting a window the new one gets the odd
603 line" behavior.
604 (window--resize-root-window-vertically): When resizing the
605 minibuffer window try to affect only windows at the bottom of the
606 frame. (Bug#12419)
607
863666eb
CY
6082012-09-25 Chong Yidong <cyd@gnu.org>
609
610 * subr.el (declare): Doc fix.
611
612 * help-fns.el (help-fns--obsolete): Handle macros properly.
613
59f7af81
CY
6142012-09-25 Chong Yidong <cyd@gnu.org>
615
616 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
617 this function obsolete.
618
619 * calendar/cal-x.el (calendar-two-frame-setup)
620 (calendar-only-one-frame-setup, calendar-one-frame-setup):
621 * calendar/calendar.el (american-calendar, european-calendar)
622 (calendar-for-loop):
623 * comint.el (comint-dynamic-simple-complete)
624 (comint-dynamic-complete-as-filename, comint-unquote-filename):
625 * desktop.el (desktop-load-default):
626 * dired-x.el (dired-omit-here-always)
627 (dired-hack-local-variables, dired-default-directory):
628 * emacs-lisp/derived.el (derived-mode-class):
629 * emacs-lisp/timer.el (timer-set-time-with-usecs):
630 * emacs-lock.el (toggle-emacs-lock):
631 * epa.el (epa-display-verify-result):
632 * epg.el (epg-sign-keys, epg-start-sign-keys)
633 (epg-passphrase-callback-function):
634 * eshell/esh-util.el (eshell-for):
635 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
636 (eshell-add-to-window-buffer-names):
637 * files.el (locate-file-completion):
638 * imenu.el (imenu-example--create-c-index)
639 (imenu-example--create-lisp-index)
640 (imenu-example--lisp-extract-index-name)
641 (imenu-example--name-and-position):
642 * international/mule-cmds.el (princ-list):
643 * international/mule-diag.el (decode-codepage-char):
644 * international/mule-util.el (detect-coding-with-priority):
645 * iswitchb.el (iswitchb-read-buffer):
646 * mail/mailalias.el (mail-complete):
647 * mail/sendmail.el (mail-sent-via):
648 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
649 (mouse-major-mode-menu):
650 * password-cache.el (password-read-and-add):
651 * pcomplete.el (pcomplete-parse-comint-arguments):
652 * progmodes/sh-script.el (sh-maybe-here-document):
653 * replace.el (query-replace-regexp-eval):
654 * savehist.el (savehist-load):
655 * simple.el (choose-completion-delete-max-match):
656 * term.el (term-dynamic-simple-complete):
657 * vc/ediff-init.el (ediff-check-version):
658 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
659 * vc/vc.el (vc-diff-switches-list):
660 * view.el (view-return-to-alist-update): Likewise.
661
662 * subr.el (eval-next-after-load, makehash, insert-string)
663 (assoc-ignore-representation, assoc-ignore-case): Use declare to
664 mark obsolete.
665 (mode-line-inverse-video): Variable deleted.
666
667 * international/mule-util.el (string-to-sequence): Remove.
668
669 * calendar/calendar.el (calendar-version):
670 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
671 (icalendar-convert-diary-to-ical):
672 * cus-edit.el (custom-mode):
673 * ansi-color.el (ansi-color-unfontify-region):
674 * international/latin1-disp.el (latin1-char-displayable-p):
675 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
676 * progmodes/which-func.el (which-func-update-1):
677 Use define-obsolete-function-alias.
59f7af81
CY
678
679 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
680 * net/newst-treeview.el (newsticker-groups-filename):
681 Fix incorrect obsolescence declaration.
59f7af81
CY
682
683 * allout.el (allout-passphrase-hint-string): Likewise.
684 (allout-init): Use a declare form to mark obsolete.
685
686 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
687 this applies to functions.
688
689 * iswitchb.el (iswitchb-read-buffer): Move code of
690 iswitchb-define-mode-map here, and delete that obsolete function.
691
692 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
693 font-lock-reference-face.
694
cca96c97
GM
6952012-09-25 Glenn Morris <rgm@gnu.org>
696
b06eeda8
GM
697 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
698 Doc fixes.
699
cca96c97
GM
700 * eshell/em-term.el (eshell-term-name):
701 Default to term-term-name. (Bug#12485)
702
dc4f818b
FEG
7032012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
704
cca96c97
GM
705 * progmodes/python.el (python-shell-send-buffer): Better handling
706 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 707
289c24bd
GM
7082012-09-24 Glenn Morris <rgm@gnu.org>
709
710 * eshell/esh-cmd.el (eshell-find-alias-function):
711 Tighten up file-name regexp. (Bug#12499)
712
8fb8b88f
FEG
7132012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
714
715 Enhancements for triple-quote string syntax.
716 * progmodes/python.el (python-quote-syntax): Remove.
717 (python-syntax-propertize-function): New value.
07b1a5fb
SM
718 (python-syntax-count-quotes, python-syntax-stringify):
719 New functions.
8fb8b88f 720
6c27f0f8
CY
7212012-09-24 Chong Yidong <cyd@gnu.org>
722
a5f2b6ec
CY
723 * mail/supercite.el (sc-version): Remove obsolete function.
724 (sc-describe): Don't mark as obsolete, since it is bound.
725 (sc-submit-bug-report): Remove.
726
727 * vc/log-edit.el (cvs-changelog-full-paragraphs)
728 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
729 (log-edit-require-final-newline)
730 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
731
732 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
733 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
734 * vc/vc.el (vc-checkout-carefully): Likewise.
735
736 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
737 (emerge-version): Remove.
738
739 * progmodes/compile.el (compile-internal): Remove.
740 (compilation-parse-errors-function): Fix typo.
741
742 * international/mule.el (set-char-table-default): Remove.
743 (set-coding-priority, make-coding-system, generic-char-p)
744 (charset-list, charset-bytes, charset-id): Use declare to mark
745 functions as obsolete.
746
747 * vc/pcvs-defs.el (cvs-buffer-name-alist)
748 (cvs-invert-ignore-marks): Remove references to obsolete vars.
749 * vc/vc-hooks.el (vc-default-registered): Don't use
750 vc-master-templates.
751
07b1a5fb
SM
752 * font-lock.el (font-lock-reference-face):
753 Use define-obsolete-variable-alias.
6c27f0f8
CY
754
755 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
756 * calendar/calendar.el (calendar-font-lock-keywords):
757 * calendar/diary-lib.el (diary-font-lock-keywords)
758 (diary-fancy-font-lock-keywords):
759 * textmodes/reftex-sel.el (reftex-insert-docstruct):
760 * textmodes/reftex-index.el (reftex-insert-index):
761 * textmodes/reftex-cite.el (reftex-format-bib-entry):
762 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
763 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
764 * progmodes/prolog.el (prolog-font-lock-keywords):
765 * progmodes/idlwave.el (idlwave-idl-keywords):
766 * progmodes/ada-mode.el (ada-font-lock-keywords):
767 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
768
bcc0adbf
GM
7692012-09-24 Glenn Morris <rgm@gnu.org>
770
771 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
772
095bb823
FEG
7732012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
774
775 * progmodes/python.el (python-indent-line): More consistent cursor
776 movement behavior.
777
70efc5c9
SM
7782012-09-23 Stefan Merten <smerten@oekonux.de>
779
780 * textmodes/rst.el: Fix compiler warning.
781
2f438239
RW
7822012-09-23 Roland Winkler <winkler@gnu.org>
783
07b1a5fb
SM
784 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
785 Transcribe also LaTeX hyphenation.
2f438239
RW
786 (bibtex-reformat): Bug fix. Do not quote twice the elements of
787 bibtex-reformat-previous-options.
788
936ad041
RW
7892012-09-23 Roland Winkler <winkler@gnu.org>
790
791 * proced.el (proced-renice-command): New variable.
792 (proced-marked-processes): New function.
793 (proced-with-processes-buffer): New macro.
794 (proced-send-signal): Use them.
795 (proced-renice): New command bound to r.
796
6fab0274
RW
7972012-09-23 Roland Winkler <winkler@gnu.org>
798
799 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
800 ibuffer-saved-filter-groups has one element, shortcut the call of
801 completing-read. (Bug#12331)
802
9a930676
CY
8032012-09-23 Chong Yidong <cyd@gnu.org>
804
805 * bindings.el (mode-line-toggle-read-only):
806 * bs.el (bs-toggle-readonly):
807 * buff-menu.el (Buffer-menu-toggle-read-only):
808 * dired.el (dired-toggle-read-only):
809 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
810
d07ff9db
CY
8112012-09-23 Chong Yidong <cyd@gnu.org>
812
813 * image.el (image-type-available-p): Adapt to init-image-library
814 argument changes.
815
51c4474e
JL
8162012-09-22 Juri Linkov <juri@jurta.org>
817
818 * dired.el (dired-mode-map): Add [remap read-only-mode] for
819 `dired-toggle-read-only'. (Bug#12462)
820
43bf5e8e
MR
8212012-09-22 Martin Rudalics <rudalics@gmx.at>
822
823 * subr.el (temp-output-buffer-show): New function.
824 (with-output-to-temp-buffer): Call temp-output-buffer-show
825 instead of internal-temp-output-buffer-show.
826
c88b867f
CY
8272012-09-22 Chong Yidong <cyd@gnu.org>
828
3df47cd5
CY
829 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
830 (Bug#12462).
831
c88b867f
CY
832 * repeat.el (repeat): Doc fix (Bug#12348).
833
834 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
835 (Bug#10909).
836
837 * simple.el (shell-command-on-region): Doc fix.
3171e303 838 (read-only-mode): Doc fix.
c88b867f 839
df9685f3
EZ
8402012-09-22 Eli Zaretskii <eliz@gnu.org>
841
842 * emacs-lisp/timer.el (run-with-idle-timer)
843 (timer-activate-when-idle): Warn against reinvoking an idle timer
844 from within its own timer action. (Bug#12447)
845
8e17c9ba
MR
8462012-09-22 Martin Rudalics <rudalics@gmx.at>
847
848 * cus-start.el (window-combination-limit): Add new optional
849 values.
850 * window.el (temp-buffer-window-show)
851 (window--try-to-split-window): Handle new values of
852 window-combination-limit (Bug#1806).
853 (split-window): Test window-combination-limit for t instead of
854 non-nil.
855 (display-buffer-at-bottom): New buffer display action function.
856 * help.el (temp-buffer-resize-regexps): New option.
857 (temp-buffer-resize-mode): Rewrite doc-string.
858 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 859 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 860
48a24920
SM
8612012-09-22 Stefan Merten <smerten@oekonux.de>
862
70efc5c9 863 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
864 (rst-official-version)
865 (rst-package-emacs-version-alist): Sync with official version
866 V1.4.0.
867 (rst-faces-defaults, rst-set-level-default)
868 (rst-level-face-max, rst-level-face-base-color)
869 (rst-level-face-base-light, rst-level-face-format-light)
870 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
871 (rst-adornment-faces-alist): Match new setup.
872 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
873 (rst-level-5, rst-level-6): New faces.
874
82f8cd94
CY
8752012-09-22 Chong Yidong <cyd@gnu.org>
876
877 * simple.el (undo): Handle indirect buffers (Bug#8207).
878
acfa068f 8792012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
880
881 IDO: Disable match re-ordering for buffer switching.
2bc9406c 882 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
883 (ido-set-matches-1): Use it. (Bug#2042)
884
acfa068f 8852012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
886
887 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
888 Fix 2011-05-17 change. (Bug#12418)
889
acfa068f 8902012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
891
892 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
893
acfa068f 8942012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
895
896 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
897 Be more robust about locating simple.el.
898
acfa068f 8992012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
900
901 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
902
acfa068f
CY
9032012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
904
905 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
906
41a97e6f
JL
9072012-09-20 Juri Linkov <juri@jurta.org>
908
eb2deaff
JL
909 * replace.el (query-replace-read-from): Use `read-regexp' instead
910 of `read-from-minibuffer' when `regexp-flag' is non-nil.
911 (occur-read-primary-args): Use `read-regexp' instead of
912 `read-string'.
913 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
914 `read-from-minibuffer'.
915 * isearch.el (isearch-occur): Use `read-regexp' instead of
916 `read-string'.
917 * dired.el (dired-read-regexp): Use `read-regexp' instead of
918 `read-from-minibuffer'.
919 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
920 of `read-string'. (Bug#7567)
921
5825610b
JL
922 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
923 and allow accepting a list of strings prepended to a list of
924 standard default values. Doc fix. (Bug#12321)
925
eebbf404
JL
926 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
927
41a97e6f
JL
928 * replace.el (read-regexp): Don't add ": " when PROMPT already
929 ends with a colon and space. (Bug#12321)
930
c9e452d3
TH
9312012-09-20 Tassilo Horn <tsdh@gnu.org>
932
933 * doc-view.el (doc-view-display): Better fix for the cl-assertion
934 error.
935
ee97deee
SM
9362012-09-20 Stefan Merten <smerten@oekonux.de>
937
70efc5c9 938 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
939 Fixes feature request bug#11711.
940 (rst-mode): Create `imenu-create-index-function'.
941 (rst-get-stripped-line): Delete after refactoring.
942 (rst-section-tree, rst-section-tree-rec)
943 (rst-section-tree-point): Refactor and document properly.
944 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
945 (rst-imenu-convert-cell, rst-imenu-create-index):
946 New function.
ee97deee 947
f490dab9
SM
9482012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
949
95b9712e
SM
950 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
951 (macroexp--expand-all): Use it.
952 (macroexp--funcall-and-return): Remove by folding it into its sole
953 caller (macroexp--warn-and-return).
954 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
955 Use macroexp--obsolete-warning.
956
f490dab9
SM
957 * calc/calc.el: Fix last change by removing the whole chunk, since it
958 was only needed back when Calc was not bundled.
959
96e8d411
MR
9602012-09-20 Martin Rudalics <rudalics@gmx.at>
961
962 * emacs-lisp/debug.el (debug): Restore assignment to
963 debugger-old-buffer removed on 2012-09-08.
964
0876a82d
JL
9652012-09-20 Juri Linkov <juri@jurta.org>
966
967 * dired-aux.el (dired-diff): Remove (require 'diff) since
968 `diff-latest-backup-file' is now autoloaded.
969
9f7c28f0
CY
9702012-09-20 Chong Yidong <cyd@gnu.org>
971
972 * vc/diff.el (diff-latest-backup-file): Autoload.
973
7a04bee9
SM
9742012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
975
e6f0a80d
SM
976 * calc/calc.el: Remove redundant autoload shape check.
977 (sel-mode): Don't defvar.
978 (calc-get-stack-element): Add `sel-mode' arg instead.
979 (calc-top, calc-top-list): Pass it this additional argument.
980 * calc/calc-store.el (calc-store-map):
981 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
982 (calc-map-equation, calc-outer-product, calc-inner-product):
983 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
984
7a04bee9
SM
985 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
986
12734222
JL
9872012-09-19 Juri Linkov <juri@jurta.org>
988
989 * dired-aux.el (dired-diff): Add (require 'diff) because
990 `diff-latest-backup-file' is not autoloaded.
991 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
992 of `dired-get-filename' to t to not report error when there is
993 no default file on the current line.
994
46624b4f
SM
9952012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
996
ce97595b
SM
997 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
998 macroexp--eval-if-compile.
999 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1000 (macroexp--expand-all): Use them (bug#12371).
1001
46624b4f
SM
1002 * doc-view.el (doc-view-guess-paper-size)
1003 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1004
db8a5a18
TH
10052012-09-19 Tassilo Horn <tsdh@gnu.org>
1006
1007 New feature: set optimal slice from BoundingBox information.
1008 * doc-view.el (doc-view-mode-map): Add keybinding.
1009 (doc-view-menu): Add menu entry.
1010 (doc-view-set-slice): Adapt docstring.
1011 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1012 (doc-view-scale-bounding-box)
1013 (doc-view-set-slice-from-bounding-box): New functions.
1014 (doc-view-paper-sizes): New defvar.
1015
69f6644c
GM
10162012-09-19 Glenn Morris <rgm@gnu.org>
1017
35f5b19d
GM
1018 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1019 (byte-compile-log-warning): Autoload. (Bug#12371)
1020
69f6644c
GM
1021 * calendar/calendar.el (calendar-american-month-header)
1022 (calendar-european-month-header, calendar-iso-month-header)
1023 (calendar-month-header): New options.
1024 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1025 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1026
e543ae91
JD
10272012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1028
1029 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1030
2fd5e67d
JL
10312012-09-18 Juri Linkov <juri@jurta.org>
1032
1033 * dired-aux.el (dired-diff): Restore original functionality of
1034 getting the default value, but keep new feature of using the
1035 latest existing backup file (`diff-latest-backup-file').
1036
42917e79
JL
10372012-09-18 Juri Linkov <juri@jurta.org>
1038
1039 * dired.el (dired-mark): If the region is active in Transient Mark
1040 mode, mark all files in the active region. Doc fix.
1041 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1042 Doc fix. (Bug#10624)
1043
20f70ede
JL
10442012-09-18 Juri Linkov <juri@jurta.org>
1045
1046 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1047 attributes for M-n are pulled from the file at point.
1048 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1049 Suggested by Drew Adams. (Bug#10624)
1050
32fb8162
DG
10512012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1052
1053 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1054 whitespace after "end".
1055 (ruby-do-end-to-brace): Collapse block to one line if it fits
1056 within fill-column.
1057
37ab5092
MR
10582012-09-18 Martin Rudalics <rudalics@gmx.at>
1059
1060 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1061 value.
1062 (debug): Don't remove debugger window when debugger is expected
1063 to be back.
1064
ed1f0bd3
CY
10652012-09-18 Chong Yidong <cyd@gnu.org>
1066
1067 * custom.el (defface): Doc fix.
1068
1069 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1070
a11035b8
MB
10712012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1072
1073 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1074 to initialize query-on-exit; then test that instead (bug#12288).
1075
64f6a736
SM
10762012-09-17 Stefan Merten <smerten@oekonux.de>
1077
70efc5c9 1078 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1079 (rst-defcustom-testcover, rst-testcover-add-compose)
1080 (rst-testcover-add-1value): New functions.
1081 (rst-portable-mark-active-p): Replace by `use-region-p'.
1082 (rst-update-section, rst-classify-adornment)
1083 (rst-find-title-line): Mark `1value' forms.
1084 (rst-classify-adornment): Remove superfluous form.
1085 (rst-update-section, rst-get-adornments-around)
1086 (rst-adornment-complete-p, rst-get-next-adornment)
1087 (rst-adjust, rst-promote-region)
1088 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1089 (rst-find-pfx-in-region, rst-section-tree-rec)
1090 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1091 (rst-toc-node, rst-toc, rst-forward-section)
1092 (rst-iterate-leftmost-paragraphs)
1093 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1094 (rst-bullet-list-region)
1095 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1096 (rst-compile-find-conf, rst-compile)
1097 (rst-repeat-last-character): Fix style.
1098
580bd868
CY
10992012-09-17 Chong Yidong <cyd@gnu.org>
1100
1101 * comint.el (comint--complete-file-name-data): Don't add a space
1102 if the status is `sole'; that adds a gratuitous space in the
1103 completion-cycling case (Bug#12092).
1104
1105 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1106
69de3ec6
RS
11072012-09-17 Richard Stallman <rms@gnu.org>
1108
0dee970c
RS
1109 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1110 only in the mime-shown mode, not in raw mode.
1111 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1112 mime processing. (Bug#12305)
0dee970c 1113
6b250df6
GM
1114 * mail/rmail.el (rmail-retry-failure):
1115 Turn off mime processing first. (Bug#12037)
acb1c47b 1116
69de3ec6
RS
1117 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1118
d079ee5f
CY
11192012-09-17 Chong Yidong <cyd@gnu.org>
1120
1121 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1122 (shell-dynamic-complete-functions): Convert to defcustom.
1123 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1124
865fe16f
CY
1125 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1126 * comint.el (comint-prompt-read-only):
1127 * custom.el (defcustom):
1128 * hi-lock.el (hi-lock-mode):
1129 * ibuffer.el (ibuffer-formats):
1130 * ielm.el (ielm-prompt-read-only):
1131 * novice.el (disable-command):
1132 * saveplace.el (toggle-save-place):
1133 * speedbar.el (speedbar-supported-extension-expressions):
1134 * startup.el (auto-save-list-file-prefix, init-file-user)
1135 (after-init-hook, inhibit-startup-echo-area-message):
1136 * strokes.el (strokes-help):
1137 * time-stamp.el (time-stamp):
1138 * calendar/calendar.el (calendar, diary-file):
1139 * calendar/diary-lib.el (diary-mail-entries, diary)
1140 (diary-list-entries-hook):
1141 * calendar/holidays.el (holidays, calendar-holidays):
1142 * calendar/lunar.el (lunar-phases):
1143 * calendar/solar.el (sunrise-sunset):
1144 * emulation/edt.el (edt-load-keys):
1145 * emulation/viper.el (viper-mode):
1146 * eshell/em-alias.el (eshell-command-aliases-list):
1147 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1148 * international/ogonek.el (ogonek-information):
1149 * net/tramp-cmds.el (tramp-bug):
1150 * net/quickurl.el (quickurl-reread-hook-postfix):
1151 * play/decipher.el (decipher-font-lock-keywords):
1152 * progmodes/cc-styles.el (c-set-style):
1153 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1154 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1155 * progmodes/octave-mod.el (octave-mode):
1156 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1157 * progmodes/verilog-mode.el (verilog-read-defines):
1158 * textmodes/two-column.el (2C-mode): Likewise.
1159
48093eb9
KY
11602012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1161
1162 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1163 that holds many addresses.
1164
c584eaf9
CY
11652012-09-16 Chong Yidong <cyd@gnu.org>
1166
40d70ecb
CY
1167 * align.el (align-areas): Call the indication function with
1168 positions instead of markers for arguments (Bug#12343).
1169
1667e065
CY
1170 * files.el (parse-colon-path): Use split-string (Bug#12351).
1171
fdc2806d 1172 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1173 (display-buffer-function): Mark as obsolete.
fdc2806d 1174
f1be615c 1175 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1176 values similar to font-lock-keywords (Bug#12136).
1177 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1178 (compilation-error-regexp-alist): Doc fix.
1179
f40a9709
GM
11802012-09-15 Glenn Morris <rgm@gnu.org>
1181
72aa16e1
GM
1182 * version.el (emacs-bzr-version-bzr): New function.
1183 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1184
82375160
GM
1185 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1186 checkouts, check the parent dirstate matches the branch.
1187 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1188 empty string.
1189
f40a9709
GM
1190 * version.el (emacs-bzr-version): Doc fix.
1191 (emacs-bzr-version-dirstate): New function.
1192 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1193 is local try and check that it matches the branch. If not, just
1194 use dirstate information. (Bug#12441)
1195
cb26b7f5
JL
11962012-09-14 Juri Linkov <juri@jurta.org>
1197
1198 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1199 (Bug#12399)
1200
2de39f08
SM
12012012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1202
0fb3cb7c
SM
1203 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1204
2de39f08
SM
1205 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1206 Remove obsolete byte-compiler hack that tried to silence some warnings.
1207 (edebug-submit-bug-report): Remove.
1208 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1209 Remove aliases, use the un-prefixed name instead.
1210 (edebug-pop-to-buffer): Consider other frames.
1211 (edebug-original-read):: Make it more obvious that it's always defined.
1212 (edebug--make-form-data-entry, edebug--form-data-name)
1213 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1214 single-dashed name, and implement with cl-defstruct.
1215 (edebug-set-form-data-entry): Use the standard accessors.
1216 (edebug-make-top-form-data-entry): Use push.
1217 (edebug-no-match): Drop useless `funcall'.
1218 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1219 to functions.
1220 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1221 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1222 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1223 (easy-menu-define, with-custom-print): Remove redundant specs.
1224 (edebug-outside-overriding-local-map)
1225 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1226 (edebug--display): Bind unread-command-events directly to nil rather
1227 than binding it to unread-command-events and later setting it to nil.
1228 (edebug--display): Kill edebug-eval-buffer here...
1229 (edebug--recursive-edit): ...rather than here.
1230 Bind standard-output and standard-input.
1231 (edebug-eval): Check cl-macroexpand-all is fboundp.
1232 (edebug-temp-display-freq-count): Fix last change.
1233
1234 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1235 * subr.el (noreturn, 1value): Add `debug' spec.
1236 * emacs-lisp/advice.el: Require cl-lib.
1237 (ad-copy-tree): Remove, use copy-tree instead.
1238 (ad-dolist): Remove use dolist or cl-dolist instead.
1239 (ad-do-return): Remove, use cl-return instead.
1240 (defadvice): Add `debug' spec.
1241
5b68b333
JL
12422012-09-13 Juri Linkov <juri@jurta.org>
1243
1244 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1245 (Bug#12399)
1246
b9800ec4
GM
12472012-09-13 Glenn Morris <rgm@gnu.org>
1248
6a2e6868
GM
1249 * calc/calc.el (math-compose-expr):
1250 * calc/calc-ext.el (math-compose-expr):
1251 * progmodes/cc-defs.el (cl-macroexpand-all):
1252 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1253 (cl-macroexpand-all): Update declarations.
1254
b9800ec4
GM
1255 * vc/vc.el: No need to require ediff.
1256 (ediff-load-version-control): Declare.
1257 (ediff-vc-internal): Fix declaration.
1258 (vc-version-ediff): Require ediff.
1259
c18e885b
PE
12602012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1261
1262 Use a more backwards-compatible timer format (Bug#12430).
1263 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1264 being right after USECS, as that better supports old code that
1265 inadvisedly looked directly at the timer vector.
1266
d607d303
KH
12672012-09-13 Kenichi Handa <handa@gnu.org>
1268
1269 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1270 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1271 `coding-priority' property of these language environment.
1272
72eac303
PE
12732012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1274
1275 Fix glitches caused by addition of psec to timers (Bug#12430).
1276 * image.el (image-animate-timer):
1277 * time.el (display-time-world-timer):
1278 Use timer--function and timer--args rather than raw access to
1279 timer vector.
1280
2168fe4f
GM
12812012-09-13 Glenn Morris <rgm@gnu.org>
1282
1283 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1284 If not compiling a file, try using load-file-name.
1285
bd8d6108
SM
12862012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1287
c0c54fbd
SM
1288 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1289 Fix last change.
1290 (edebug-update-eval-list): Use `push'.
1291
bd8d6108
SM
1292 * emacs-lisp/edebug.el: Use lexical-binding.
1293 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1294 Mark unused args with underscore.
1295 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1296 (edebug-form-data): Use defvar-local.
1297 (edebug-make-before-and-after-form, edebug-make-after-form):
1298 Use backquote.
1299 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1300 Not dynamically scoped any more.
1301 (edebug--enter-trace): Add arguments `function' and `args'.
1302 Rename from edebug-enter-trace.
1303 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1304 (edebug--update-coverage): Add `after-index' and `value' args.
1305 Rename from edebug-update-coverage.
1306 (edebug-slow-after): Call it accordingly.
1307 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1308 edebug-recursive-edit.
1309 (edebug--display): Call it accordingly. Add args `value',
1310 `offset-index', and `arg-mode'. Rename from edebug-display.
1311 (edebug-debugger, edebug): Call it accordingly.
1312 (edebug-eval-display-list): Use dolist.
1313
a9f9d9de
JL
13142012-09-12 Juri Linkov <juri@jurta.org>
1315
1316 * info.el (Info-search): Don't check for isearch-mode and
1317 isearch-regexp before let-binding search-spaces-regexp to
1318 Info-search-whitespace-regexp.
1319 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1320 search-whitespace-regexp if isearch-lax-whitespace or
1321 isearch-regexp-lax-whitespace is non-nil.
1322 (Info-mode): Don't set local variable search-whitespace-regexp.
1323 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1324
bfeae2cf
SM
13252012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1326
1327 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1328 (debugger-env-macro): Remove support for unread-command-char.
1329
1330 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1331 the temporary map re-appearing on emulation-mode-map-alists.
1332
1333 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1334 since 22.1.
1335
1336 * ehelp.el (with-electric-help): Accept functions in
1337 electric-help-form-to-execute.
1338 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1339 And replace unread-command-char -> unread-command-events.
1340
fbbcaf1b
MA
13412012-09-12 Michael Albinus <michael.albinus@gmx.de>
1342
1343 Sync with Tramp 2.2.6.
1344
1345 * net/tramp.el (tramp-accept-process-output): Don't use
1346 JUST-THIS-ONE in the XEmacs case.
1347
1348 * net/trampver.el: Update release number.
1349
4dece104
MR
13502012-09-12 Martin Rudalics <rudalics@gmx.at>
1351
bfeae2cf
SM
1352 * emacs-lisp/debug.el (debugger-previous-window-height):
1353 New variable.
4dece104
MR
1354 (debug): When debugger-jumping-flag is non-nil try to restore
1355 height of debugger window. (Bug#8789)
1356
45b82ad0
SM
13572012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1358
60c49c0f
SM
1359 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1360 overriding-local-map and pre/post-command-hook here.
1361 (edebug-recursive-edit): Do it here instead (bug#12345).
1362 (edebug-outside-unread-command-char): Remove all uses of
1363 unread-command-char.
1364
45b82ad0
SM
1365 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1366 inhibit-debugger is bound instead.
1367
baa26ea0
BG
13682012-09-11 Bastien Guerry <bzg@gnu.org>
1369
1370 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1371 (Bug#12346)
baa26ea0 1372
04e8abfa
BG
13732012-09-11 Bastien Guerry <bzg@gnu.org>
1374
96d03571 1375 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1376 (Bug#12347)
96d03571
BG
1377
13782012-09-11 Bastien Guerry <bzg@gnu.org>
1379
fc0c31f8 1380 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1381
04e082b0
MM
13822012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1383
1384 * progmodes/sql.el: Version 3.1
1385 (sql-db2-escape-newlines): New variable.
1386 (sql-escape-newlines-filter): Use it.
1387
399a361b
JB
13882012-09-10 Juanma Barranquero <lekktu@gmail.com>
1389
1390 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1391
0780c517
DN
13922012-09-10 Dan Nicolaescu <dann@gnu.org>
1393
45b82ad0
SM
1394 * vc/diff-mode.el (diff-mode-menu):
1395 Bind diff-remove-trailing-whitespace.
0780c517 1396
9b851e25
SM
13972012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1400 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1401 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1402 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1403 (eval-defun-2): Remove bogus interactive spec.
1404 (lisp-indent-line): Remove redundant whole-exp code, now done in
1405 indent-according-to-mode.
1406 (save-match-data): Remove redundant indent data.
1407
1408 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1409 Use `declare'.
1410
3231d532
JL
14112012-09-09 Juri Linkov <juri@jurta.org>
1412
1413 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1414 (replace-lax-whitespace, query-replace-regexp)
1415 (query-replace-regexp-eval, replace-regexp): Doc fix.
1416 (perform-replace, replace-highlight): Let-bind
1417 isearch-lax-whitespace to replace-lax-whitespace and
1418 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1419
1420 * isearch.el (isearch-query-replace): Let-bind
1421 replace-lax-whitespace to isearch-lax-whitespace and
1422 replace-regexp-lax-whitespace to
1423 isearch-regexp-lax-whitespace. (Bug#10885)
1424
70fe8236
SM
14252012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1428
8ed43f15
AM
14292012-09-09 Alan Mackenzie <acm@muc.de>
1430
70fe8236
SM
1431 * progmodes/cc-engine.el (c-state-cache-init):
1432 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1433 (c-record-parse-state-state):
1434 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1435
bfabf70a
AS
14362012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1437
1438 * register.el (register-separator): Rename from
1439 separator-register. All uses changed. Doc fix.
1440 (register): Fix version.
1441
011474aa
CY
14422012-09-09 Chong Yidong <cyd@gnu.org>
1443
1444 * replace.el (query-replace-map): Bind four new symbols for
1445 requesting window scrolling.
1446
1447 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1448 query-replace-map (Bug#8948).
1449
1450 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1451
1452 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1453 since they are now in query-replace-map.
1454
1455 * window.el (scroll-other-window-down): Make the arg optional.
1456
a8b7cd8d
CY
14572012-09-09 Chong Yidong <cyd@gnu.org>
1458
1459 * files.el (hack-local-variables-confirm): Use quit-window to kill
1460 the *Local Variables* buffer.
1461
c3268831
DG
14622012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1463
1464 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1465 not just expect to be at its beginning. Adjust callees.
1466 Succeed when do-end block has no space before the pipe character.
1467 (ruby-brace-to-do-end): When the original block is one-liner,
1468 convert to multiline. Reindent the result.
1469
0979429b
J
14702012-09-08 Jambunathan K <kjambunathan@gmail.com>
1471
1472 * register.el (register): New group.
1473 (register-separator): New user option.
1474 (increment-register): Route it to `append-to-register', if
1475 register contains text. Implication is that `C-x r +' can now be
1476 used for appending to a text register (bug#12217).
1477 (append-to-register, prepend-to-register): Add separator based on
1478 `register-separator.
1479
ace2989a
AM
14802012-09-08 Alan Mackenzie <acm@muc.de>
1481
1482 AWK Mode: make auto-newline work when there's "==" in the pattern.
1483 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1484 correctly.
0979429b
J
1485 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1486 Test more rigorously for "=" token.
ace2989a 1487
616c6c36
DG
14882012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1489
0979429b
J
1490 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1491 Only fail when reached LIMIT.
616c6c36 1492
35d98877
CY
14932012-09-08 Chong Yidong <cyd@gnu.org>
1494
1495 * dired.el (dired-mode-map): Don't bind M-=.
1496
1497 * dired-aux.el (dired-diff): Use backup file as default.
1498
1715f2db
DA
14992012-09-08 Drew Adams <drew.adams@oracle.com>
1500
1501 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1502
6dcef6ec
CY
15032012-09-08 Chong Yidong <cyd@gnu.org>
1504
1505 * subr.el (syntax-after, syntax-class): Doc fix.
1506
fa2bcf43
MR
15072012-09-08 Martin Rudalics <rudalics@gmx.at>
1508
1509 * window.el (display-buffer-in-previous-window): New buffer
1510 display action function.
1511
1512 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1513 (debugger-previous-window): New variable.
1514 (debug): Rewrite using display-buffer-in-previous-window,
1515 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1516
daac280a
SM
15172012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1520
9dd40b00
MM
15212012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1522
daac280a
SM
1523 * progmodes/python.el (python-shell-send-string):
1524 When default-directory is remote, create temp file on remote
9dd40b00
MM
1525 filesystem.
1526 (python-shell-send-file): When file is remote, pass local view of
1527 file paths to remote Python interpreter. (Bug#12340)
1528
145823ec
CY
15292012-09-07 Chong Yidong <cyd@gnu.org>
1530
cee2e90d
CY
1531 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1532
0d7eb2ea
CY
1533 * files.el (after-find-file): Don't fail on a read-only buffer if
1534 require-final-newline is `visit' or `visit-save' (Bug#11156).
1535
145823ec
CY
1536 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1537
daac280a
SM
1538 * userlock.el (ask-user-about-supersession-threat):
1539 Use read-char-choice (Bug#12093).
145823ec 1540
74c582e6
CY
15412012-09-07 Chong Yidong <cyd@gnu.org>
1542
e5c2edf7
CY
1543 * subr.el (buffer-narrowed-p): New function.
1544
1545 * ses.el (ses-widen):
1546 * simple.el (count-words--buffer-message):
1547 * net/browse-url.el (browse-url-of-buffer): Use it
1548
1549 * simple.el (count-words-region): Don't signal an error if there
1550 is a non-nil prefix arg and the mark is not set.
c640e87d 1551
74c582e6
CY
1552 * help.el (describe-key-briefly): Allow the message to be seen
1553 when invoked from the minibuffer (Bug#7014).
1554
d81ceaaf
DG
15552012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1556
1557 * progmodes/ruby-mode.el (ruby-end-of-defun)
1558 (ruby-beginning-of-defun): Simplify, allow indentation before
1559 block beginning and end keywords.
8f06acce
DG
1560 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1561 (ruby-end-of-defun): Expect that the point is at the beginning of
1562 the defun.
d81ceaaf 1563
d458ef98
SM
15642012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1565
1566 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1567 (bug#12367).
1568 (cl--make-usage-args): Strip _ from argument names.
1569
20367d28
RS
15702012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1571
1572 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1573 obsolete alias speedbar-key-map.
1574 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1575 (vhdl-index-menu-init): Don't use obsolete variable
1576 font-lock-maximum-size.
1577
3424a4f6
CY
15782012-09-06 Chong Yidong <cyd@gnu.org>
1579
1580 * frame.el (window-system-version): Mark as obsolete.
1581
fcbfbdea
CY
1582 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1583 of obsolete variable speedbar-key-map.
1584
826b3235
JL
15852012-09-06 Juri Linkov <juri@jurta.org>
1586
1587 * replace.el (replace-lax-whitespace): New defcustom.
1588 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1589 (replace-string, replace-regexp): Mention it in docstrings.
1590 (perform-replace, replace-highlight): Let-bind
1591 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1592 to the values of replace-lax-whitespace and regexp-flag.
1593 Don't let-bind search-whitespace-regexp. (Bug#10885)
1594
1595 * isearch.el (isearch-query-replace): Let-bind
1596 replace-lax-whitespace instead of let-binding
1597 replace-search-function and replace-re-search-function.
1598 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1599 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1600 (isearch-toggle-symbol): Set isearch-regexp to nil
1601 in isearch-word mode (like in isearch-toggle-word).
1602
1ec5e41d
JL
16032012-09-06 Juri Linkov <juri@jurta.org>
1604
1605 * replace.el (replace-search-function)
1606 (replace-re-search-function): Set default values to nil.
1607 (perform-replace): Let-bind isearch-related variables based on
1608 replace-related values, call `isearch-search-fun' and let-bind
1609 the result to `search-function'. Remove code that sets
1610 `search-function' and `search-string' separately for
1611 `delimited-flag'.
1612 (replace-highlight): Add new argument `delimited-flag' and
1613 rename other arguments to the names used in `perform-replace'.
1614 Let-bind `isearch-word' to the argument `delimited-flag'.
1615 (Bug#10885, bug#10887)
1616
0ba2d4b6
DG
16172012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1618
1619 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1620 ruby-beginning-of-indent, simplify, allow all keywords to have
1621 indentation before them.
1622 (ruby-beginning-of-indent): Adjust for above. Search until the
1623 found point is not inside a string or comment.
1624 (ruby-font-lock-keywords): Allow symbols to start with "@"
1625 character, give them higher priority than variables.
1626 (ruby-syntax-propertize-function)
1627 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1628 matchers. Expression expansions are not comments when inside a
1629 string, and there comment syntax status is irrelevant.
1630 (ruby-match-expression-expansion): New function. Check that
1631 expression expansion is inside a string, and it's not escaped.
1632 (ruby-font-lock-keywords): Use it.
1633
ef654460
MR
16342012-09-05 Martin Rudalics <rudalics@gmx.at>
1635
1636 * help.el (temp-buffer-max-height): New default value.
1637 (temp-buffer-resize-frames): New option.
1638 (resize-temp-buffer-window): Optionally resize frame.
1639
1640 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1641 (fit-frame-to-buffer): New function.
1642
7e570fbf 16432012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1644
1645 * emulation/cua-rect.el (cua--init-rectangles):
1646 * textmodes/picture.el (picture-mode-map):
1647 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1648 like forward-char and backward-char. (Bug#12317)
1649
7e570fbf 16502012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1651
1652 * progmodes/flymake.el (flymake-warning-re): New variable.
1653 (flymake-parse-line): Use it.
1654
7e570fbf 16552012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1656
1657 * calendar/holidays.el (holiday-christian-holidays):
1658 Rename an entry. (Bug#12289)
1659
7e570fbf 16602012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1661
1662 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1663 (bug#12222).
1664
972debf2
SM
16652012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * loadup.el: Load macroexp. Remove hack.
1668 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1669 (macroexp--expand-all): Use it to get better warnings.
1670 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1671 (internal-macroexpand-for-load): New functions.
1672 (macroexp--pending-eager-loads): New var.
1673 (emacs-startup-hook): New hack to replace one in loadup.el.
1674 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1675 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1676 (cl-psetf): Simplify.
1677 (cl-defstruct): Add indent rule.
1678
8ce192e3
LI
16792012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1680
1681 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1682 over `user-mail-address' for the SMTP MAIL FROM envelope.
1683 (smtpmail-via-smtp): Ditto.
1684
6578b4d8
DG
16852012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1686
1687 * progmodes/ruby-mode.el: Clean up keybindings.
1688 (ruby-mode-map): Don't bind ruby-electric-brace,
1689 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1690 backward-kill-word, reindent-then-newline-and-indent.
1691 (ruby-mark-defun): Remove.
1692 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1693 (ruby-mode): Set local beginning-of-defun-function and
1694 end-of-defun-function values.
1695
c5e28e39
MR
16962012-09-03 Martin Rudalics <rudalics@gmx.at>
1697
1698 * window.el (temp-buffer-window-setup-hook)
1699 (temp-buffer-window-show-hook): New hooks.
1700 (temp-buffer-window-setup, temp-buffer-window-show)
1701 (with-temp-buffer-window): New functions.
972debf2
SM
1702 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1703 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1704
1705 * help.el (temp-buffer-resize-mode): Fix doc-string.
1706 (resize-temp-buffer-window): New optional argument WINDOW.
1707
1708 * files.el (recover-file, save-buffers-kill-emacs):
1709 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1710
73406194
MA
17112012-09-02 Michael Albinus <michael.albinus@gmx.de>
1712
1713 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1714 remote definition of `default-directory', ensure we can connect.
1715
63dd1c6f
JL
17162012-09-02 Juri Linkov <juri@jurta.org>
1717
1718 Toggle whitespace matching mode with M-s SPC.
1719 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1720
1721 * isearch.el (search-whitespace-regexp): Doc fix.
1722 Remove cons cell customization.
1723 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1724 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1725 New variables.
1726 (isearch-forward, isearch-forward-regexp): Doc fix.
1727 (isearch-toggle-lax-whitespace): New command.
1728 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1729 (re-search-forward-lax-whitespace)
1730 (re-search-backward-lax-whitespace): New functions.
1731 (isearch-whitespace-regexp): Remove function.
1732 (isearch-query-replace): Let-bind replace-search-function and
1733 replace-re-search-function.
1734 (isearch-occur): Let-bind search-spaces-regexp according to the
1735 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1736 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1737 condition for C-q SPC.
1738 (isearch-search-fun-default): Use new functions mentioned above.
1739 (isearch-search-forward, isearch-search-backward): Remove functions.
1740 (isearch-search): Don't let-bind search-spaces-regexp.
1741 (isearch-lazy-highlight-space-regexp): Remove variable.
1742 (isearch-lazy-highlight-lax-whitespace)
1743 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1744 (isearch-lazy-highlight-new-loop): Use them.
1745 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1746
af7dda05
CY
17472012-09-02 Chong Yidong <cyd@gnu.org>
1748
1749 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1750
d67d3afd
GM
17512012-09-02 Glenn Morris <rgm@gnu.org>
1752
1753 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1754
69678719
GM
17552012-09-01 Glenn Morris <rgm@gnu.org>
1756
1757 * term.el: Tidy up menu definitions.
1758 (term-mode-map): Use easymenu for In/Out, Complete menus.
1759 (term-pager-break-map): Initialize in the defvar.
1760 (term-terminal-menu, term-signals-menu): Define with easymenu.
1761 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1762 (term-pager-menu): New, extracted from term-process-pager.
1763 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1764 (term-update-mode-line): Propertize line/char and page items.
1765 (term-process-pager): Move keymap initialization elsewhere.
1766
78dd6ab1
MR
17672012-09-01 Martin Rudalics <rudalics@gmx.at>
1768
1769 * window.el (switch-to-prev-buffer): Handle additional values of
1770 BURY-OR-KILL argument. Don't switch in minibuffer window.
1771 (switch-to-next-buffer): Don't switch in minibuffer window.
1772 (quit-restore-window): New function based on quit-window.
1773 Handle additional values of former KILL argument.
1774 (quit-window): Call quit-restore-window with appropriate
1775 interpretation of KILL argument.
1776 (display-buffer-below-selected): New buffer display action
1777 function.
1778
3d10e134
SM
17792012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * minibuffer.el (completion-at-point-functions): Complete docstring
1782 (bug#12254).
1783
0e23ef9d
PE
17842012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1785
1786 Better seed support for (random).
1787 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1788 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1789 * play/mpuz.el, play/tetris.el, play/zone.el:
1790 * calc/calc-comb.el (math-init-random-base):
1791 * play/blackbox.el (bb-init-board):
1792 * play/life.el (life):
1793 * server.el (server-use-tcp):
1794 * type-break.el (type-break):
1795 Remove unnecessary call to (random t).
1796 * net/sasl.el (sasl-unique-id-function):
1797 Change (random t) to (random), now that the latter is more random.
1798 * play/life.el (life-initialized): Remove no-longer-needed var.
1799
862382df
MR
18002012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1801
1802 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1803 Consider frame's buffer predicate when choosing the buffer.
1804 (Bug#12081)
1805
262a66e1
RS
18062012-08-30 Richard Stallman <rms@gnu.org>
1807
1808 * simple.el (special-mode-map): Delete binding for `z'.
1809
f17e1d00
AS
18102012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1811
1812 * progmodes/compile.el (compilation-always-kill): Doc fix.
1813
24777832
CY
18142012-08-30 Chong Yidong <cyd@gnu.org>
1815
1816 * window.el (display-buffer-reuse-frames): Make the obsolescence
1817 message more informative.
1818
69ba1f04
GM
18192012-08-30 Glenn Morris <rgm@gnu.org>
1820
1821 * paren.el (show-paren-delay):
1822 Add a :set function. Doc fix. (Bug#12297)
1823
f0019ede
MB
18242012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1825
1826 * progmodes/compile.el (compilation-always-kill): New var.
1827 (compilation-start): Use it.
1828
35e62fc9
SM
18292012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1830
af070a1c
SM
1831 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1832 * files.el (read-only-mode): Move to simple.el.
1833
35e62fc9
SM
1834 * files.el (read-only-mode): New minor mode.
1835 (toggle-read-only): Use it and mark obsolete.
1836 (find-file--read-only):
1837 * vc/vc.el (vc-next-action, vc-checkout):
1838 * vc/vc-cvs.el (vc-cvs-checkout):
1839 * obsolete/vc-mcvs.el (vc-mcvs-update):
1840 * ffap.el (ffap--toggle-read-only): Update callers.
1841
c2c43c23
MA
18422012-08-29 Michael Albinus <michael.albinus@gmx.de>
1843
1844 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1845 remote shell scripts.
1846 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1847
1848 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1849 "/usr/local/sbin".
1850
9fba804b
SM
18512012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1854
eada0861 18552012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1856
806f0cc7
LL
1857 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1858 completion-at-point. (Bug#12220)
1859
3bb213b9
LL
1860 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1861
22ab32ef
LL
1862 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1863
eada0861 18642012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1865
19c17fc1
CY
1866 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1867 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1868
eada0861 18692012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1870
1871 * progmodes/hideif.el (hif-compress-define-list):
1872 Fix typo. (Bug#11951)
1873
eada0861 18742012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1875
1876 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1877 buffer local setting.
1878
27d6c5a8
LL
1879 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1880 rcirc-encode-coding-system.
1881
eada0861 18822012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1883
1884 * net/rcirc.el (rcirc-split-message): New function.
1885 (rcirc-send-message): Use it. (Bug#12051)
1886
d44688e4
JL
18872012-08-28 Juri Linkov <juri@jurta.org>
1888
1889 * info.el (Info-fontify-node): Hide empty lines at the end of
1890 the node. (Bug#12272)
1891
34f10d41
MR
18922012-08-27 Drew Adams <drew.adams@oracle.com>
1893
1894 * dired.el (dired-pop-to-buffer): Make window start at beginning
1895 of buffer (Bug#12281).
1896
77f1f99c
CY
18972012-08-26 Chong Yidong <cyd@gnu.org>
1898
1899 * window.el (special-display-regexps, special-display-frame-alist)
1900 (special-display-buffer-names, special-display-function)
1901 (display-buffer-reuse-frames): Mark as obsolete.
1902
1903 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1904
1905 * help.el (help-print-return-message): Don't treat
1906 display-buffer-reuse-frames specially.
1907
d97af5a0
CY
19082012-08-26 Chong Yidong <cyd@gnu.org>
1909
9fba804b
SM
1910 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1911 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1912 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1913 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1914 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1915 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1916 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1917 the functions directly with gdb-display-buffer-other-frame-action.
1918 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1919 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1920 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1921 (gdb-display-registers-buffer): Define directly.
1922 (def-gdb-display-buffer): Macro deleted.
1923 (gdb-display-buffer): Remove second and third args, callers don't
1924 use them. Defer to the default display-buffer behavior, apart
1925 from making windows dedicated.
1926 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1927
1928 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1929
1930 * window.el (display-buffer-pop-up-frame): Handle a
1931 pop-up-frame-parameters alist entry.
1932 (display-buffer): Document it.
1933
dd7ffad6
CY
19342012-08-26 Chong Yidong <cyd@gnu.org>
1935
1936 * isearch.el (search-whitespace-regexp): Make string and nil
1937 values apply to both ordinary and regexp search. Allow a cons
1938 cell value to distinguish between the two.
1939 (isearch-whitespace-regexp, isearch-search-forward)
1940 (isearch-search-backward): New functions.
1941 (isearch-occur, isearch-search-fun-default, isearch-search)
1942 (isearch-lazy-highlight-new-loop): Use them.
1943 (isearch-forward, isearch-forward-regexp): Doc fix.
1944
4c47bd1e
CY
19452012-08-26 Chong Yidong <cyd@gnu.org>
1946
1947 * faces.el (help-argument-name): Always inherit from italic
1948 (Bug#12213).
1949
9aba119d
MR
19502012-08-25 Martin Rudalics <rudalics@gmx.at>
1951
1952 * window.el (window--even-window-heights): Even heights when
1953 WINDOW and the selected window form a vertical combination.
1954 (display-buffer-use-some-window): Provide that window used gets
1955 sized back by quit-window. (Bug#11880) and (Bug#12091)
1956
ca5256ad
PE
19572012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1958
1959 Fix file time stamp problem with bzr and CVS (Bug#12001).
1960 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1961 in the file's time stamp, since the version control system loses
1962 that information.
1963
d1c0d176
JL
19642012-08-22 Juri Linkov <juri@jurta.org>
1965
1966 * info.el (Info-fontify-node): Hide the suffix of the
1967 Info file name in the header line. (Bug#12187)
1968
141562ff
GM
19692012-08-22 Glenn Morris <rgm@gnu.org>
1970
1971 * calendar/cal-tex.el (cal-tex-weekly-common):
1972 Restore leading blank page.
1973
61a48e19 19742012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1975
1976 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1977 the region under `shift-select-mode'. (Bug#12231)
1978
19792012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1980
1981 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1982 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1983 gives details on why the space is never needed.
1984
ea95074e
MR
19852012-08-22 Martin Rudalics <rudalics@gmx.at>
1986
9fba804b
SM
1987 * window.el (walk-window-tree, window-with-parameter):
1988 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1989 should run on the minibuffer window.
1990 (window-at-side-list): Don't operate on minibuffer window.
1991 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1992 (window--size-ignore): Rename to window--size-ignore-p.
1993 Update callers.
caceae25
MR
1994 (display-buffer-in-atom-window, window--major-non-side-window)
1995 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1996 (delete-side-window, display-buffer-in-side-window):
1997 New functions.
caceae25
MR
1998 (window--side-check, window-deletable-p, delete-window)
1999 (delete-other-windows, split-window): Handle side windows and
2000 atomic windows appropriately.
2001 (window--display-buffer): Call display-buffer-record-window also
2002 when the window buffer did not change.
ea95074e 2003
80a51fa0
CS
20042012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2005
2006 * help-fns.el (help-fns--key-bindings):
2007 Abbreviate non-symbol remap targets. (Bug#12174)
2008
fbb6300b
MR
20092012-08-22 Martin Rudalics <rudalics@gmx.at>
2010
2011 * dired.el (dired-mark-remembered): Don't clobber point.
2012 (Bug#11795)
2013
2b2c0794
GM
20142012-08-22 Glenn Morris <rgm@gnu.org>
2015
2016 * progmodes/bug-reference.el (bug-reference): New custom group.
2017 (bug-reference-bug-regexp): Make it a defcustom.
2018
37219830
DU
20192012-08-22 Daiki Ueno <ueno@unixuser.org>
2020
2021 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2022 (js-paren-indent-offset, js-square-indent-offset)
2023 (js-curly-indent-offset): Add :safe (Bug#12257).
2024
94e0e559
EC
20252012-08-22 Edward O'Connor <hober0@gmail.com>
2026
2027 * json.el (json-key-format): Add error properties.
2028 (json-encode-key): New function.
2029 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2030 Use json-encode-key.
2031
da485f5e
GM
20322012-08-22 Glenn Morris <rgm@gnu.org>
2033
2034 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2035 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2036 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2037 Update for above change.
2038
c6cc78b8
AS
20392012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2040
2041 * cus-face.el (custom-face-attributes): Fix customize type for the
2042 :underline attribute. (Bug#11805)
2043
5481664a
MR
20442012-08-21 Martin Rudalics <rudalics@gmx.at>
2045
2046 * window.el (window-point-1, set-window-point-1): Remove.
2047 (window-in-direction, record-window-buffer)
2048 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2049 (window--state-get-1, display-buffer-record-window):
2050 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2051 window-point and set-window-point respectively.
2052
6d74698e
GM
20532012-08-21 Glenn Morris <rgm@gnu.org>
2054
b7fa2691
GM
2055 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2056 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2057 Use it.
2058
52f56d5a
GM
2059 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2060 (cal-tex-shortday): New function.
2061 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2062 (cal-tex-cursor-filofax-daily): Use the above.
2063
9f1ee09e
GM
2064 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2065 New functions.
2066 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2067 (cal-tex-cursor-filofax-week): Use them.
2068
79858159
GM
2069 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2070 New constants.
2071 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2072 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2073
d346b2b4
GM
2074 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2075 (cal-tex-end-document): Don't rely on buffer name.
2076
b2403709
GM
2077 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2078 Use cal-tex-vspace.
2079 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2080 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2081 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2082 Use cal-tex-arg.
b2403709 2083
1cebb5c0
GM
2084 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2085 (cal-tex-cursor-week, cal-tex-cursor-week2)
2086 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2087 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2088 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2089 (cal-tex-insert-preamble, cal-tex-b-document)
2090 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2091 Improve cal-tex-cmd usage.
2092
c68cd5d4
GM
2093 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2094 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2095 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2096 (cal-tex-weekly-paper): New function.
2097 (cal-tex-cursor-week, cal-tex-cursor-week2)
2098 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2099 (cal-tex-cursor-day): Use it.
2100
9dca4801
GM
2101 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2102 (cal-tex-cursor-filofax-week): Remove leading blank page.
2103
1941e134
GM
2104 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2105 Add autoload cookie. For now at least, don't use color, since
2106 no other cal-tex function does.
2107
6d74698e
GM
2108 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2109 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2110 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2111
64cde199
JL
21122012-08-21 Juri Linkov <juri@jurta.org>
2113
2114 * info.el (Info-file-attributes): New variable.
2115 (info-insert-file-contents): Add file attributes to
2116 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2117 `Info-toc-nodes' when previous modtime of the Info file is less
2118 than new modtime.
2119 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2120 of info.el. (Bug#12230)
2121
32757648
GM
21222012-08-20 Glenn Morris <rgm@gnu.org>
2123
2124 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2125 * calendar/holidays.el (calendar-holiday-list):
2126 Report errors with display-warning rather than beep'n'sleep.
2127
a32fbbcf
MA
21282012-08-20 Michael Albinus <michael.albinus@gmx.de>
2129
2130 * net/tramp.el (tramp-accept-process-output): Accept only output
2131 from PROC. Otherwise, process filters and sentinels might be
2132 confused. (Bug#12145)
2133
a05731a0
CY
21342012-08-20 Chong Yidong <cyd@gnu.org>
2135
2136 * descr-text.el (describe-text-properties-1): Use overlays-in to
2137 report on empty overlays (Bug#3322).
2138
36e8d1eb
GM
21392012-08-20 Glenn Morris <rgm@gnu.org>
2140
3d300447
GM
2141 * mail/rmailout.el (rmail-output-read-file-name):
2142 Trap and report errors in rmail-output-file-alist elements.
2143
36e8d1eb
GM
2144 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2145 since most non-font-lock faces are not also variables).
2146
b96e5814
ER
21472012-08-20 Edward Reingold <reingold@iit.edu>
2148
2149 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2150 New function. (Bug12160)
2151
7cef3569
GM
21522012-08-19 Glenn Morris <rgm@gnu.org>
2153
2154 * mail/rmailout.el (rmail-output-read-file-name):
2155 Fix previous change (when the alist is nil or does not match).
2156
17975d7f
CY
21572012-08-19 Chong Yidong <cyd@gnu.org>
2158
2159 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2160 (Bug#12228).
2161
2170b1bd
CY
21622012-08-18 Chong Yidong <cyd@gnu.org>
2163
2164 * simple.el (yank-handled-properties): New defcustom.
2165 (yank-excluded-properties): Add font-lock-face and category.
2166 (yank): Doc fix.
2167
9fba804b
SM
2168 * subr.el (remove-yank-excluded-properties):
2169 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2170 and category is now done this way, instead of being hard-coded.
2171 (insert-for-yank-1): Remove font-lock-face handling.
2172 (yank-handle-font-lock-face-property)
2173 (yank-handle-category-property): New function.
2174
ee218151
GM
21752012-08-17 Glenn Morris <rgm@gnu.org>
2176
2177 * mail/rmailout.el (rmail-output-read-file-name):
2178 Check rmail-output-file-alist against the full message body
2179 in the correct rmail buffer. (Bug#12214)
2180
4a6bc3fd
MA
21812012-08-17 Michael Albinus <michael.albinus@gmx.de>
2182
9fba804b
SM
2183 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2184 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2185
383dcbf9
CY
21862012-08-17 Chong Yidong <cyd@gnu.org>
2187
2188 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2189 font spec, set the font directly (Bug#3228).
2190
998c4a6a
MR
21912012-08-17 Martin Rudalics <rudalics@gmx.at>
2192
2193 * window.el (delete-window): Fix last fix.
2194
52162052
MR
21952012-08-16 Martin Rudalics <rudalics@gmx.at>
2196
2197 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2198 (window-child, window-child-count, window-last-child)
2199 (window-normalize-window, window-combined-p)
2200 (window-combinations, window-atom-root, window-min-size)
2201 (window-sizable, window-sizable-p, window-size-fixed-p)
2202 (window-min-delta, window-max-delta, window--resizable)
2203 (window--resizable-p, window-resizable, window-total-size)
2204 (window-full-height-p, window-full-width-p, window-body-size)
2205 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2206 (minimize-window, window-deletable-p, delete-window)
2207 (delete-other-windows, set-window-buffer-start-and-point)
2208 (next-buffer, previous-buffer, split-window, balance-windows-2)
2209 (set-window-text-height, window-buffer-height)
2210 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2211 (truncated-partial-width-window-p): Minor code adjustments.
2212 In doc-strings state whether the argument window has to denote a
85c2386b 2213 live, valid or any window.
52162052 2214
1c308380
PS
22152012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2216
2217 * progmodes/subword.el (subword-forward-function)
2218 (subword-backward-function, subword-forward-regexp)
2219 (subword-backward-regexp): New variables.
2220 (subword-forward, subword-forward-internal, subword-backward-internal):
2221 Use new variables, eg so that different "word" definitions
2222 can be easily used. (Bug#11411)
2223
94c9ece1
SM
22242012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2227 for composite selectors.
2228 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2229 operation just because we can't find a previous revision.
2230
f2045622
CY
22312012-08-15 Chong Yidong <cyd@gnu.org>
2232
2233 * frame.el (set-frame-font): Accept font objects.
2234
582db660
SM
22352012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2238
2f29c200
WJ
22392012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2240
456e62c2
WJ
2241 * man.el (Man-overstrike-face, Man-underline-face)
2242 (Man-reverse-face): Remove variables.
2243 (Man-overstrike, Man-underline, Man-reverse): New faces.
2244 (Man-fontify-manpage): Use them instead of the variables.
2245 (Man-cleanup-manpage): Comment change.
2246 (Man-ansi-color-map): New variable.
2247 (Man-fontify-manpage): Use it.
2248 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2249
2f29c200
WJ
2250 Implement ANSI SGR parameters 22-27 (bug#12146).
2251 * ansi-color.el (ansi-colors): Doc fix.
2252 (ansi-color-context, ansi-color-context-region): Doc fix.
2253 (ansi-color--find-face): New function.
2254 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2255 Rename the local variable `face' to `codes' since it is now a list of
2256 ansi codes. Doc fix.
2257 (ansi-color-get-face): Remove.
2258 (ansi-color-parse-sequence): New function, derived from
2259 ansi-color-get-face.
2260 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2261 codes 22-27.
2262
b4f5e9df
SM
22632012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * subr.el (read-passwd): Allow use from a minibuffer.
2266
ba025fbd
EZ
22672012-08-14 Eli Zaretskii <eliz@gnu.org>
2268
2269 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2270 inside comments and strings as identifiers.
2271
2272 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2273 expression to evaluate. This allows to evaluate expressions with
2274 embedded whitespace.
2275 (gud-tooltip-tips): Add a blank before the newline in the
2276 message-box text, for the benefit of message-box emulation on
2277 MS-Windows.
2278
2279 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2280 messages from GDB, pop them up in a tooltip to give feedback to
2281 user.
b4f5e9df
SM
2282 (gdb-tooltip-print-1): Quote the expression to evaluate.
2283 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2284 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2285 if the TTY name is nil or empty (which happens when communicating
2286 with the inferior via pipes, e.g. on MS-Windows).
2287 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2288 don't send that to the GUD buffer.
2289
c548f821
GM
22902012-08-14 Glenn Morris <rgm@gnu.org>
2291
2292 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2293 Optimize away setq-default with no args, as for setq. (Bug#12195)
2294
55802e4a
CY
22952012-08-14 Chong Yidong <cyd@gnu.org>
2296
4abcdac8
CY
2297 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2298
55802e4a
CY
2299 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2300 (Bug#12085).
2301
3c3cda1a
GM
23022012-08-14 Glenn Morris <rgm@gnu.org>
2303
2304 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2305
e1873bd0
MA
23062012-08-14 Michael Albinus <michael.albinus@gmx.de>
2307
2308 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2309 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2310 Use cached shell name.
2311
925411b4
FEG
23122012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2313
2314 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2315 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2316
e636fafe
DG
23172012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2318
2319 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2320 (ruby-percent-literal-beg-re): New constant.
2321 (ruby-syntax-general-delimiters-goto-beg): Rename to
2322 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2323 (ruby-syntax-propertize-general-delimiters): Rename to
2324 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2325 popular term. Adjust comments everywhere.
2326 (ruby-syntax-propertize-percent-literal): Only propertize when not
2327 inside a simple string or comment. When the literal is unclosed,
2328 leave the text after it unpropertized.
f063063a
DG
2329 (ruby-syntax-methods-before-regexp): New constant.
2330 (ruby-syntax-propertize-function): Use it to recognize regexps.
2331 Don't look at the text after regexp, just use the whitelist.
e636fafe 2332
e5b19827
AS
23332012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2334
2335 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2336 non-nil always load the compiled file if it exists. (Bug#12197)
2337
a9f6f311
CY
23382012-08-14 Chong Yidong <cyd@gnu.org>
2339
2340 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2341 (hi-lock-set-pattern): When deciding whether to use font lock or
2342 overlays, look at font-lock-mode instead of font-lock-fontified
2343 (Bug#12168).
2344 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2345 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2346
7d806b1e
DU
23472012-08-14 Daiki Ueno <ueno@unixuser.org>
2348
2349 * subr.el (internal--after-with-selected-window): Fix typo
2350 (Bug#12193).
2351
5beed586
FEG
23522012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2353
2354 Use `completion-table-dynamic' for completion functions.
2355 * progmodes/python.el
2356 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2357 (python-shell-completion--get-completions):
2358 Remove functions.
5beed586
FEG
2359 (python-shell-completion-complete-at-point): New function.
2360 (python-completion-complete-at-point): Use it.
2361
92cb3b04
J
23622012-08-13 Jambunathan K <kjambunathan@gmail.com>
2363
2364 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2365 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2366
89660017
SM
23672012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2368
3c98c962
SM
2369 * subr.el (function-get): Refine `autoload' arg so it can also
2370 autoload functions for gv.el (bug#12191).
2371 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2372 autoloads macros.
2373
aa7c6dbe
SM
2374 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2375 Prefer pcase-let over destructuring-bind.
2376 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2377 Also, remove whitespace as we go, rather than after accumulating the
2378 various places.
2379
89660017
SM
2380 * subr.el (internal--before-with-selected-window)
2381 (internal--after-with-selected-window): Fix typo seleted->selected.
2382 (with-selected-window): Adjust callers.
2383 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2384
31cd32c9
BG
23852012-08-13 Bastien Guerry <bzg@gnu.org>
2386
0fcd3d9f 2387 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2388 enhancement. (Bug#12172)
2389
1b15d8ad
AS
23902012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2391
31e54db0
AS
2392 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2393 type 1-6.
2394 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2395 extended headers.
2396
1b15d8ad
AS
2397 * files.el (hack-local-variables-filter): Remove useless eval.
2398
35cb9c06
MR
23992012-08-13 Martin Rudalics <rudalics@gmx.at>
2400
2401 * subr.el (with-selected-window): Fix last change.
2402
1439443b
SM
24032012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * subr.el (internal--before-with-seleted-window)
2406 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2407 (with-selected-window): Use them, to replace dependency on
2408 tty-top-frame.
1439443b 2409
0d9e2599
NN
24102012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2411
2412 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2413 binding for `newline'.
2414 (ruby-move-to-block): When moving backward, stop at block opening,
2415 not indentation.
2416 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2417 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2418 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2419 `ruby-toggle-block'.
2420
ba10c48c
SM
24212012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * ibuffer.el (ibuffer-do-toggle-read-only):
2424 * dired.el (dired-toggle-read-only):
2425 * buff-menu.el (Buffer-menu-toggle-read-only):
2426 * bindings.el (mode-line-toggle-read-only):
2427 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2428
9229c658
AS
24292012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2430
2431 * descr-text.el (describe-char): Put the overlays over the
2432 "displayed as" character.
2433
0fd09128
JB
24342012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2435
2436 * calc/calc-units.el (math-default-units-table): Give an
2437 initial value.
2438 (math-put-default-units): Add options to put composite units and
2439 unit systems in the default units table.
2440 (calc-convert-units): Send composite units to
2441 `math-put-default-units' when appropriate.
2442
9ff9402d 24432012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2444
fbb5e336
GM
2445 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2446
7aacaf15
GM
2447 * tutorial.el (help-with-tutorial):
2448 * emacs-lisp/copyright.el (copyright-update-directory):
2449 * emacs-lisp/autoload.el (autoload-find-generated-file)
2450 (autoload-find-file): Disable local eval: (for insurance).
2451
f40b9f10
GM
2452 * files.el (hack-local-variables-filter): If an eval: form is not
2453 known to be safe, and enable-local-variables is :safe, then ignore
2454 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2455 This is CVE-2012-3479.
f40b9f10 2456
daa9f1a6
SM
24572012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2458
2459 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2460 (rx-form): Simplify.
2461
9cd80478
DG
24622012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2463
0d9e2599
NN
2464 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2465 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2466 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2467 (ruby-syntax-propertize-function): Adjust for changes in
2468 `ruby-syntax-propertize-heredoc'.
2469
24702012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2471
9cd80478
DG
2472 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2473 binding (use `M-;' instead).
9cd80478 2474 (ruby-singleton-class-p): New function.
0d9e2599 2475 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2476
d301b413
SM
24772012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2478
2479 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2480
1530c98e
CY
24812012-08-10 Chong Yidong <cyd@gnu.org>
2482
2483 * progmodes/python.el (python-shell-get-process-name): Don't mess
2484 with same-window-buffer-names.
2485
2486 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2487 (eshell-remove-from-window-buffer-names): Make obsolete.
2488 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2489 (eshell): Just use pop-to-buffer-same-window instead.
2490
e1293765
CY
24912012-08-10 Chong Yidong <cyd@gnu.org>
2492
2493 * bindings.el: Bind M-= back to count-words-region.
2494
2495 * simple.el (count-words-region): Accept a prefix arg for acting
2496 on the entire buffer.
2497 (count-words--buffer-message): New helper function.
2498
e1894109
SM
24992012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2502 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2503 (event-start, event-end): Use posn-at-point to return a more
2504 informative posn.
2505 (posnp): New function.
2506 * mouse.el (popup-menu-normalize-position): Use it.
2507
c69f56a2
MY
25082012-08-10 Masatake YAMATO <yamato@redhat.com>
2509
2510 * mouse.el (popup-menu-normalize-position): New function.
2511 (popup-menu): Use `popup-menu-normalize-position' to normalize
2512 the form for POSITION argument.
2513
2514 * term/x-win.el (x-menu-bar-open):
2515 Use the value returend from (posn-at-point) as position
2516 passed to `popup-menu'.
2517
31673780
JB
25182012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2519
2520 * calc/calccomp.el (math-compose-expr): Add extra argument
2521 indicating that parentheses should be put around products in
2522 denominators. Give multiplication precedence over division during
2523 composition.
2524
dab7711b
CY
25252012-08-09 Chong Yidong <cyd@gnu.org>
2526
dee4ef93
CY
2527 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2528 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2529 (Man-untabify-command, manual-program): Convert to defcustom
2530 (Bug#10429).
2531
73e2bbc5
CY
2532 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2533
3e861c8a
CY
2534 * descr-text.el (describe-char): Don't insert extra newlines
2535 (Bug#10127).
2536
a9f5a649
CY
2537 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2538 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2539
dab7711b
CY
2540 * align.el (align-region): Delete temporary markers (Bug#10047).
2541 Plus some code cleanups.
2542
e0cc4efa
FEG
25432012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2544
2545 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2546 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2547 (python-shell-internal-last-output): Use make-local-variable
2548 instead of make-variable-buffer-local.
2549
489af14f
FEG
25502012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2551
2552 * progmodes/python.el: Enhancements to forward-sexp.
2553 (python-nav-forward-sexp): Rename from
2554 python-nav-forward-sexp-function.
c69f56a2
MY
2555 (python-nav--forward-sexp, python-nav--backward-sexp):
2556 New functions.
489af14f 2557
0fc50303
JB
25582012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2559
2560 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2561 modes and simplification modes.
2562
5d65606a
SM
25632012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * delsel.el (delete-selection-pre-hook): Don't propagate the
2566 file-supersession signals (bug#12161).
2567
4250fdf5
SM
25682012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2570 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2571 (cl-map-extents): Add compatibility aliases (bug#12135).
2572
d9f9b465
MA
25732012-08-08 Michael Albinus <michael.albinus@gmx.de>
2574
2575 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2576 tests by `ignore-error'.
2577 (tramp-find-shell): Open also a new shell, when cache is already
2578 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2579
ce0fcefa
JL
25802012-08-08 Juri Linkov <juri@jurta.org>
2581
2582 * bookmark.el: Add `defaults' property to the bookmark record.
2583 (bookmark-current-buffer): Doc fix.
2584 (bookmark-make-record): Add `defaults' property with default values
2585 to the bookmark record.
2586 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2587 with `bookmark-insert-current-bookmark'.
2588 (bookmark-set): Get `defaults' property from the bookmark record
2589 and use it in `read-from-minibuffer'.
2590 (bookmark-insert-current-bookmark): Remove function.
2591
2592 * info.el (Info-bookmark-make-record): Add `defaults' property
2593 with values of canonical Info node name, the current Info file
2594 name and the current Info node name. (Bug#12107)
2595
53fa8652
JL
25962012-08-08 Juri Linkov <juri@jurta.org>
2597
2598 * files.el (basic-save-buffer): Use `buffer-name' as the default
2599 of `read-file-name' when buffer is not visiting a file (bug#12128).
2600
242c0a95
JL
26012012-08-08 Juri Linkov <juri@jurta.org>
2602
2603 * info.el (Info-isearch-search): Doc fix.
2604 (Info-search): Change search-failed message from "initial node" to
2605 "end of node" (bug#12078).
2606 (Info-isearch-search): Change `isearch-string-state' to
2607 `isearch--state-string'.
2608
32ac3a6b
GM
26092012-08-08 Glenn Morris <rgm@gnu.org>
2610
2611 * language/persian.el: Remove file.
f8c1afd5 2612 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2613 * loadup.el: Remove language/persian.
2614
2c2d9c9c
OF
26152012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2616
2617 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2618
2d79ec42
FEG
26192012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2620
2621 * progmodes/python.el Fixed defsubst warning.
2622 (python-syntax-context) Rename from python-info-ppss-context.
2623 (python-syntax-context-type): Rename from
2624 python-info-ppss-context-type.
2625 (python-syntax-comment-or-string-p): Rename from
2626 python-info-ppss-comment-or-string-p.
2627
2bd255dd
JB
26282012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2629
2630 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2631
c395097f
AS
26322012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2633
6125983e
AS
2634 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2635 a defcustom that is quoted with backquote.
2636
4250fdf5
SM
2637 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2638 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2639 (math-do-arg-check, math-define-function-body): Use backquote forms.
2640 * calc/calc-ext.el (math-defcache): Likewise.
2641 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2642 * allout.el (allout-new-exposure): Likewise.
2643 * calc/calcalg2.el (math-tracing-integral): Likewise.
2644 * info.el (Info-last-menu-item): Likewise.
2645 * emulation/vip.el (vip-loop): Likewise.
2646 * textmodes/artist.el (artist-funcall): Likewise.
2647 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2648 Construct menu-item directly.
2649
4250fdf5
SM
2650 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2651 Don't declare.
c395097f 2652
5fb50dd3
CY
26532012-08-07 Chong Yidong <cyd@gnu.org>
2654
2655 * simple.el (deactivate-mark): Preserve text properties when
2656 saving the primary selection (Bug#8384).
2657
54eea618
KR
26582012-08-07 Kevin Ryde <user42@zip.com.au>
2659
2660 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2661 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2662 and continue processing (Bug#12110).
2663
638eaeb9
SM
26642012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2665
2666 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2667 syntax-propertize-function (bug#10095).
2668
ea376861
SM
26692012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2670
f91b35be
SM
2671 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2672 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2673 describe-function-1.
2674 (describe-function-1): Use them. Move compiler macro after sig.
2675 (help-fns--compiler-macro): Use function-get. Assume we're already in
2676 standard-output. Adjust layout to new call order.
2677
ea376861
SM
2678 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2679 re-binding a symbol that has a symbol-macro (bug#12119).
2680
d5be7bd0
MB
26812012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2682
2683 * language/persian.el: New file. (Bug#11812)
2684 * loadup.el: Add language/persian.el.
2685
90749b53
CY
26862012-08-06 Chong Yidong <cyd@gnu.org>
2687
2688 * window.el (window--maybe-raise-frame): New function.
2689 (window--display-buffer): Split off from here.
2690 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2691 (display-buffer-pop-up-window, display-buffer-use-some-window):
2692 Obey an inhibit-switch-frame action alist entry.
2693 (display-buffer): Update doc.
2694
2695 * replace.el (occur-after-change-function): Avoid losing focus by
2696 using the inhibit-switch-frame display parameter (Bug#12139).
2697
ba7b0154
FEG
26982012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2699
2700 Make internal shell process buffer names start with space.
2701 * progmodes/python.el (python-shell-make-comint): Add optional
2702 argument INTERNAL.
2703 (run-python-internal): Use it.
2704 (python-shell-internal-get-or-create-process): Check for new
2705 internal buffer names.
2706
5eaeacb5
GM
27072012-08-06 Glenn Morris <rgm@gnu.org>
2708
e296d94b 2709 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2710 Do less getting and setting of environment variables.
2711
b7ccbdc2
CY
27122012-08-05 Chong Yidong <cyd@gnu.org>
2713
777fe95e
CY
2714 * proced.el (proced): Add substitution string to docstring to
2715 trigger autoloading of the proced library on C-h f (Bug#1768).
2716
4250fdf5
SM
2717 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2718 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2719
2720 * imenu.el (imenu-generic-expression): Move documentation here
2721 from imenu--generic-function.
2722 (imenu--generic-function): Refer to imenu-generic-expression.
2723
9e3b7800 27242012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
2725
2726 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2727 indentation declaration.
2728 (viper-loop): Add indentation declaration (Bug#7025).
2729
e5d9c0d1
CY
27302012-08-05 Chong Yidong <cyd@gnu.org>
2731
f0422feb
CY
2732 * help-fns.el (describe-variable): Add hyperlink for
2733 directory-local variables files. Improve buffer-local and
2734 permanent-local reporting; suggested by MON KEY (Bug#6644).
2735
2736 * help-mode.el (help-dir-local-var-def): New button type.
2737
e5d9c0d1
CY
2738 * files.el (kill-buffer-hook): Provide a defvar.
2739
a4f2deaa
GM
27402012-08-05 Glenn Morris <rgm@gnu.org>
2741
2742 * eshell/esh-ext.el (eshell/addpath):
2743 Also update eshell-path-env. (Bug#12013)
2744
a9dd5754
CY
27452012-08-05 Chong Yidong <cyd@gnu.org>
2746
a4f2deaa 2747 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2748
d014c740
CY
2749 * fringe.el (fringe-styles): Add docstring.
2750 (fringe--check-mode): New function.
2751 (set-fringe-mode, set-fringe-style): Use it.
2752 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2753
a9dd5754
CY
2754 * files.el (set-auto-mode): Fix invalid setq call.
2755
7c2dc8bd
SM
27562012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2757
2758 * isearch.el: Misc simplification; use defstruct.
2759 (isearch-mode-map): Dense maps now work like sparse ones.
2760 (isearch--state): New defstruct.
2761 (isearch-string-state, isearch-message-state, isearch-point-state)
2762 (isearch-success-state, isearch-forward-state)
2763 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2764 (isearch-wrapped-state, isearch-barrier-state)
2765 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2766 replaced by defstruct's accessors.
2767 (isearch--set-state): Rename from isearch-top-state and change
2768 calling convention.
2769 (isearch-push-state): Use new isearch--get-state.
2770 (isearch-toggle-word): Disable regexp when enabling word.
2771 (isearch-message-prefix): Remove unused arg _c-q-hack.
2772 (isearch-message-suffix): Remove unused arg _ellipsis.
2773
7fcc0070
AS
27742012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2775
2776 * simple.el (list-processes--refresh): For a server use :host or
2777 :local as the address.
97ad0769 2778 (list-processes): Doc fix.
7fcc0070 2779
a11035b8 27802012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2781
2782 * lisp/mpc.el: Support password in host argument.
2783 (mpc--proc-connect): Parse and use new password element.
2784 Set mpc-proc variable instead of returning process.
2785 (mpc-proc): Adjust accordingly.
2786
6dad7178
EZ
27872012-08-03 Eli Zaretskii <eliz@gnu.org>
2788
18949c2f
EZ
2789 * whitespace.el (whitespace-display-mappings): Use Unicode
2790 codepoints, instead of emacs-mule codepoints. See
2791 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2792 for the details.
2793
6dad7178
EZ
2794 * files.el (file-truename): Don't skip symlink-chasing part on
2795 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2796 Windows into the loop that recursively chases symlinks.
2797 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2798 MS-DOS.
2799
385b0198
CY
28002012-08-03 Chong Yidong <cyd@gnu.org>
2801
6200f3c4
CY
2802 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2803
385b0198
CY
2804 * sort.el (sort-regexp-fields): Doc fix.
2805
b9e74744
TH
28062012-08-03 Tassilo Horn <tsdh@gnu.org>
2807
2808 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2809 labels regex position point at the expected place.
2810
41013cb4
MK
28112012-08-03 MON KEY <monkey@sandpframing.com>
2812
2813 * net/imap.el (imap-interactive-login, imap-authenticate)
2814 (imap-mailbox-lsub, imap-mailbox-list)
2815 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2816 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2817 (imap-parse-response): Doc fix.
2818
0ffee616
JT
28192012-08-03 João Távora <joaotavora@gmail.com>
2820
2821 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2822 if sexp scanning does not move point (Bug#5734).
2823
cfcc9cc8
TH
28242012-08-02 Tassilo Horn <tsdh@gnu.org>
2825
2826 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2827 Add listings, minted, and ctable packages.
2828 (reftex-label-alist-builtin): Move listings, minted, and ctable
2829 entries before LaTeX.
a01bbb84 2830 (reftex-label-alist): Docfix.
cfcc9cc8 2831
66ec2442
BG
28322012-08-02 Bastien Guerry <bzg@gnu.org>
2833
2834 * replace.el (occur): Fix docstring (bug#12122).
2835
837b365b
GM
28362012-08-02 Glenn Morris <rgm@gnu.org>
2837
2838 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2839
e098de97
PE
28402012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2841
2842 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2843 * international/mule-cmds.el: Create
2844 inactivate-current-input-method-function as an obsolete alias for
2845 deactivate-current-input-method-function. See Katsumi Yamaoka in
2846 <http://bugs.gnu.org/10150#46>.
2847
a0f95636
JB
28482012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2849
2850 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2851 of nested `if's.
2852
0d26d7c4
GM
28532012-08-01 Glenn Morris <rgm@gnu.org>
2854
2855 * progmodes/autoconf.el (autoconf-definition-regexp):
2856 Add AH_TEMPLATE, adjust submatch numbering.
2857 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2858 (autoconf-current-defun-function): Update for above change.
2859 (autoconf-current-defun-function): First skip to end of current word.
2860
b686ba06
RS
28612012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2862
2863 * calendar/cal-html.el (cal-html-insert-agenda-days):
2864 Fix typo. (Bug#12018)
2865
0d49da68
FEG
28662012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2867
2868 Shell processes: enhancements to startup and CEDET compatibility.
2869 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2870 (python-shell-make-comint): accept-process-output at startup.
2871 (run-python-internal): Set inferior-python-mode-hook to nil.
2872 (python-shell-internal-get-or-create-process): call sit-for.
2873 (python-preoutput-result): Add obsolete alias.
2874 (python-shell-internal-send-string): Use it.
2875 (python-shell-send-setup-code): Remove call to
2876 accept-process-output.
2877
f1a71c6e
AS
28782012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2879
2880 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2881 (Bug#12108)
2882
d2605269
JB
28832012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2884
2885 * calc-mode.el (calc-basic-simplification-mode): Rename from
2886 `calc-limited-simplification-mode'.
2887 (calc-alg-simplification-mode): New function.
fc0c31f8 2888 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2889
d2605269
JB
2890 * calc.el (calc-set-mode-line): Adjust mode line display for
2891 basic simplification mode.
2892
2893 * calc-help.el (calc-m-prefix-help): Update help message.
2894
2895 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2896 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2897
a3827a43
BG
28982012-07-31 Bastien Guerry <bzg@gnu.org>
2899
2900 * man.el (man): Fix comment. (bug#12101)
2901
502e3f89
MR
29022012-07-31 Martin Rudalics <rudalics@gmx.at>
2903
2904 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2905 Don't return a non-nil value when no suitable buffer was found.
2906
d7714961
FEG
29072012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2908
2909 * progmodes/python.el (run-python-internal): Disable font lock for
2910 internal shells.
2911
1f45e27e
SM
29122012-07-30 Stefan Merten <smerten@oekonux.de>
2913
70efc5c9 2914 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2915 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2916 (rst-official-version, rst-official-cvs-rev)
2917 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2918 (rst-mode-map): New key binding.
2919
0aee6912
PE
29202012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2921
2922 Update .PHONY listings in makefiles.
2923 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2924 autoloads, update-subdirs, updates, bzr-update, update-authors,
2925 compile-onefile, compile-calc, backup-compiled-files,
2926 compile-after-backup, compile-one-process, mh-autoloads,
2927 bootstrap-clean, distclean, maintainer-clean.
2928
9052f9f0
JB
29292012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2930
1823ac5a
JB
2931 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2932 (calc-set-mode-line): Don't display "AlgSimp ".
2933
2934 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2935 (calc-lim-simplify-mode): New function.
2936 (calc-set-simplify-mode): Default to 'alg.
2937 (calc-default-simplify-mode): Make algebraic simplifications
2938 the default.
2939
2940 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2941 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2942
8d7c7eed 2943 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2944 indicate new simplification modes.
2945
1823ac5a
JB
2946 * calc/README: Mention new default simplification mode.
2947
9052f9f0
JB
2948 * calc/calc.el (math-normalize-error): New variable.
2949 (math-normalize): Set `math-normalize-error' to t
2950 when there's an error.
2951
2952 * calc/calc-alg.el (math-simplify): Don't simplify when
2953 `math-normalize' returns an error.
2954
20ba0cb4
EZ
29552012-07-29 Eli Zaretskii <eliz@gnu.org>
2956
2957 * international/mule-cmds.el (set-locale-environment): Revert last
2958 change, since display-graphic-p returns nil when this function is
2959 called during startup. Instead...
2960
2961 * term/w32console.el (terminal-init-w32console): ...setup the
2962 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2963
a5dcc929
JL
29642012-07-29 Juri Linkov <juri@jurta.org>
2965
2966 * simple.el (goto-line): Don't display default line number in the
2967 prompt because it should be displayed by `read-number' (bug#9952).
2968 Add the current line number to the defaults of `goto-line' to
2969 allow its easier modification by users with `M-n' (bug#9201).
2970
2971 * subr.el (read-number): Support multiple default values like in
2972 other minibuffer reading functions. Replace `read' with
2973 `string-to-number' for consistency with `number-to-string'.
2974
72b255c7
PE
29752012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2976
2977 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2978 * emulation/viper-init.el (viper-deactivate-input-method-action):
2979 Rename from viper-inactivate-input-method-action.
2980 (viper-deactivate-input-method):
2981 Rename from viper-inactivate-input-method.
2982 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2983 * international/mule-cmds.el (deactivate-input-method):
2984 Rename from inactivate-input-method.
2985 Also run input-method-deactivate-hook.
2986 (deactivate-current-input-method-function):
2987 Rename from inactivate-current-input-method-function.
2988 (input-method-deactivate-hook): New hook.
2989 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2990 (inactivate-input-method): Mark obsolete.
2991
72b255c7
PE
2992 * international/quail.el (quail-activate):
2993 Also run quail-deactivate-hook.
2994 (quail-deactivate): Rename from quail-inactivate.
2995 * international/robin.el (robin-activate):
2996 Also run robin-deactivate-hook.
2997 (robin-deactivate): Rename from robin-inactivate.
2998
2549c068
CY
29992012-07-29 Chong Yidong <cyd@gnu.org>
3000
3001 * simple.el (indicate-copied-region): New function.
3002 (kill-ring-save): Split off from here.
3003
3004 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3005 (kill-rectangle): Set deactivate-mark to t on read-only error.
3006
3007 * register.el (copy-to-register, copy-rectangle-to-register):
3008 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3009 (append-to-register, prepend-to-register): Call indicate-copied-region.
3010
30112012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3012
3013 * simple.el (async-shell-command-buffer): New defcustom.
3014 (shell-command): Use it. (Bug#4719)
3015
01bd1b0d
EZ
30162012-07-28 Eli Zaretskii <eliz@gnu.org>
3017
3018 * international/mule-cmds.el (set-locale-environment): In a
3019 console session on MS-Windows, set up keyboard and terminal
3020 encoding from the OEM codepage, not the ANSI codepage.
3021 (Bug#12055)
3022
a55739d3
CY
30232012-07-28 Chong Yidong <cyd@gnu.org>
3024
3025 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3026 gdb-get-location.
3027
0e1a094f 30282012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3029
3030 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3031 the alist (bug#12029).
3032
20329d73
EZ
30332012-07-28 Eli Zaretskii <eliz@gnu.org>
3034
3035 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3036 (compile-always, compile-first)
3037 ($(lisp)/calendar/cal-loaddefs.el)
3038 ($(lisp)/calendar/diary-loaddefs.el)
3039 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3040 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3041 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3042 instead of on update-subdirs.
3043 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3044
345a2258
CY
30452012-07-28 Chong Yidong <cyd@gnu.org>
3046
1eee6341
CY
3047 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3048 directory if vc-deduce-backend returns nil (Bug#7350).
3049
345a2258
CY
3050 * simple.el (delete-trailing-lines): New option.
3051 (delete-trailing-whitespace): Obey it (Bug#11879).
3052
049a0936
DE
30532012-07-28 David Engster <deng@randomsample.de>
3054
3055 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3056 Explanation of new 'symbol-qnames feature in doc-strings.
3057 (xml-maybe-do-ns): Return expanded names as plain symbols if
3058 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3059 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3060
aa81af71
FEG
30612012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3062
3063 Consistent completion in inferior python with emacs -nw.
3064 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3065 binding in inferior-python-mode-map with "\t".
3066 (python-shell-completion-complete-at-point)
3067 (python-completion-complete-at-point): Remove interactive spec.
3068
e827b1eb
JB
30692012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3070
3071 * calc/calccomp.el (math-compose-expr): Undo previous change.
3072
a90dfb95
FEG
30732012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3074
4250fdf5 3075 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3076 run-python.
3077 (python-shell-make-comint): Fix pop-to-buffer call.
3078 (run-python): Autoload. New arg SHOW.
3079 (python-shell-get-or-create-process): Do not pop python process
3080 buffer.
3081
32770973 30822012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3083
3084 * notifications.el (notifications-on-action-signal)
3085 (notifications-on-closed-signal): Use also the bus address for the map.
3086 (notifications-notify, notifications-close-notification)
fc0c31f8 3087 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3088
86332df2
TH
30892012-07-27 Tassilo Horn <tsdh@gnu.org>
3090
4250fdf5
SM
3091 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3092 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3093 ctable macro.
3094 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3095 labels written in keyvals syntax.
3096
ca1302a4
JB
30972012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3098
3099 * calc/calccomp.el (math-compose-expr): Use parentheses when
3100 there is a product in the denominator of a fraction.
3101
f8b91036
EZ
31022012-07-26 Eli Zaretskii <eliz@gnu.org>
3103
3104 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3105 ($(lisp)/calendar/diary-loaddefs.el)
3106 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3107 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3108 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3109 rewritten while the autoload files are built at the same time,
3110 which needs to load subdirs.el.
3111
c8e5a42c
MR
31122012-07-26 Martin Rudalics <rudalics@gmx.at>
3113
3114 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3115 (mouse-drag-line): Don't exit tracking when a switch-frame or
3116 switch-window event occurs (Bug#12006).
3117
670d85ea
SM
31182012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3119
3120 * mouse.el (popup-menu): Fix last change.
3121
7abaf5cc
SM
31222012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3123
3124 Autoload from Lisp with more care. Follow aliases when looking for
3125 function properties.
3126 * subr.el (autoloadp): New function.
3127 (symbol-file): Use it.
3128 (function-get): New function.
3129 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3130 autoload-do-load.
3131 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3132 (lisp-indent-function):
3133 * emacs-lisp/gv.el (gv-get):
3134 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3135 * emacs-lisp/byte-opt.el (byte-optimize-form):
3136 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3137 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3138 Use function-get.
3139 * emacs-lisp/cl.el: Don't propagate function properties any more.
3140
3141 * speedbar.el (speedbar-add-localized-speedbar-support):
3142 * emacs-lisp/disass.el (disassemble-internal):
3143 * desktop.el (desktop-load-file):
3144 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3145 (describe-function-1):
3146 * emacs-lisp/find-func.el (find-function-noselect):
3147 * emacs-lisp/elp.el (elp-instrument-function):
3148 * emacs-lisp/advice.el (ad-has-proper-definition):
3149 * apropos.el (apropos-safe-documentation, apropos-macrop):
3150 * emacs-lisp/debug.el (debug-on-entry):
3151 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3152 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3153 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3154
b1364986
AA
31552012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3156
3157 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3158 function, not an obsolete variable (Bug#12046).
3159
67ada220
AS
31602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3161
3162 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3163
f08088e3
CS
31642012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3165
3166 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3167 window only if it is still live (Bug#12034).
3168
8137e7b3
MR
31692012-07-25 Martin Rudalics <rudalics@gmx.at>
3170
3171 * subr.el (redirect-frame-focus): Add advertised calling
3172 convention (Bug#12030).
3173
09ae5da1
PE
31742012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3175
3176 Prefer typical American spelling for "acknowledgment".
3177 * vc/add-log.el (change-log-acknowledgment): Rename from
3178 change-log-acknowledgement, with an alias for the old name.
3179
3cc5a3a8
JB
31802012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3181
3182 * calc-alg.el (math-simplify-divide): Don't cross multiply
3183 in an equation when the lhs is a variable.
3184
b7af7f62
JD
31852012-07-24 Julien Danjou <julien@danjou.info>
3186
3187 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3188 Remove, unused.
3189
ec1b09b1
EZ
31902012-07-23 Eli Zaretskii <eliz@gnu.org>
3191
3192 * startup.el (command-line): Don't display an empty user name in
3193 the error message about non-existent home directory, when
3194 init-file-user was set to an empty string. See
3195 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3196 for the details and context.
3197
b525fd8a
VB
31982012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3199
3200 * ses.el (ses-cell-formula-aset): New macro.
3201 (ses-cell-references-aset): New macro.
3202 (ses-cell-p): New function.
3203 (ses-rename-cell): Do no longer rely on complex operations like
3204 ses-cell-set-formula or ses-set-cell to change the cell and handle
3205 the undo at the same time, but rather use lower level new macros
3206 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3207 the undo directly. Refresh the mode line.
b525fd8a 3208
2c73e345
LL
32092012-07-21 Leo Liu <sdl.web@gmail.com>
3210
670d85ea
SM
3211 * progmodes/cc-cmds.el (c-defun-name):
3212 Use match-string-no-properties instead for consistency.
2c73e345 3213
542dfbde
LL
32142012-07-20 Leo Liu <sdl.web@gmail.com>
3215
3646bcd6
LL
3216 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3217 (Bug#7879)
3218
542dfbde
LL
3219 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3220
25721031
CY
32212012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3222
3223 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3224 * progmodes/bug-reference.el, misearch.el: Provide themselves
3225 (bug#11915).
3226
3227 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3228 of narrowed buffer (bug#11966).
3229
316e68a7
VB
32302012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3231
3232 * ses.el (ses-rename-cell): Set new name also in reference list of
3233 cells of which the renamed cell depends.
3234
bbf0e7d9
MY
32352012-07-20 Masatake YAMATO <yamato@redhat.com>
3236
3237 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3238 to check whether menu-bar is shown or not. If not shown,
3239 show the menu-bar as a popup menu instead of using tmm.
3240 * mouse.el (popup-menu): Accept `point' as `position' argument.
3241
c28662a8
DG
32422012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3243
3244 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3245 up inside string symbol literal (bug#11923).
3246
87ab808f
EZ
32472012-07-20 Eli Zaretskii <eliz@gnu.org>
3248
3249 * startup.el (fancy-startup-text): Read the whole tutorial, not
3250 just its first 256 bytes. Prevents gibberish in display of the
3251 tutorial title.
3252
89dea803
DA
32532012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3254
3255 Drop idle buffer compaction due to an absence of the
3256 proved efficiency.
3257 * compact.el: Remove.
3258
8a4e6db8
SS
32592012-07-19 Sam Steingold <sds@gnu.org>
3260
3261 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3262 vc-bzr-pull & vc-bzr-merge-branch.
3263 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3264 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3265 for consistency with compilation-error-regexp-alist.
3266 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3267 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3268 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3269 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3270
5db81e33
SM
32712012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3272
3273 * emacs-lisp/chart.el: Use lexical-binding.
3274 (chart-emacs-storage): Don't hardcode the list of entries.
3275
5b835e1d
DA
32762012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3277
3278 Next round of tweaks caused by Fgarbage_collect changes.
3279 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3280
9cd47b72
DA
32812012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3282
3283 Compact buffers when idle.
3284 * compact.el: New file.
3285
1d6fc0df
SM
32862012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * subr.el (eventp): Presume that if it looks vaguely like an event,
3289 it's an event (bug#10190).
3290
1d29cc7d
FEG
32912012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3292
3293 Enhancements to ppss related code (thanks Stefan).
3294 * progmodes/python.el (python-indent-context)
3295 (python-indent-calculate-indentation, python-indent-dedent-line)
3296 (python-indent-electric-colon, python-nav-forward-block)
3297 (python-mode-abbrev-table)
1d6fc0df 3298 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3299 for ppss context.
3300 (python-info-continuation-line-p): Cleanup.
3301 (python-info-ppss-context): Do not catch 'quote.
3302 (python-info-ppss-context-type)
3303 (python-info-ppss-comment-or-string-p): Simplify.
3304
d583cbe6
FEG
33052012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3306
3307 * progmodes/python.el: Enhancements to eldoc support.
3308 (python-info-current-symbol): New function.
3309 (python-eldoc-at-point): Use python-info-current-symbol.
3310 (python-info-current-defun): Fix cornercase on first defun scan.
3311 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3312 and signal error when no inferior python process is available.
3313
eceb6feb
DG
33142012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3315
3316 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3317 assume it's always t.
3318 (vc-git-registered): Remove caching, the function is only called
3319 once.
3320 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3321
4c8ff0fe
CY
33222012-07-18 Chong Yidong <cyd@gnu.org>
3323
19fb7186
CY
3324 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3325
9587c688
CY
3326 * simple.el (count-words): Report on narrowing (Bug#9959).
3327
0fe776a1
CY
3328 * bindings.el: Bind M-= to count-words.
3329
4c8ff0fe
CY
3330 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3331
7f5331cc
MY
33322012-07-18 Masatake YAMATO <yamato@redhat.com>
3333
3334 * progmodes/sh-script.el (sh-imenu-generic-expression):
3335 Capture a function with `function' keyword and without parentheses
3336 like "function FOO" (bug#11856).
3337
2dc2a609
TH
33382012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3339
3340 * window.el (split-window-sensibly): Make WINDOW argument
3341 optional.
3342
439f7677
CY
33432012-07-18 Chong Yidong <cyd@gnu.org>
3344
9aeb25a6
CY
3345 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3346
439f7677
CY
3347 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3348 and make C-x 8 RET exit isearch (Bug#11439).
3349
3350 * international/iso-transl.el: Move isearch-mode-map key
3351 definitions to isearch.el.
3352
12999ea8
SM
33532012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3354
3355 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3356 (eieio-defclass): Use gv-define-setter when possible.
3357
3ab6e069
DA
33582012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3359
3360 Reflect recent changes in Fgarbage_collect.
3361 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3362 reflect new format of data returned by Fgarbage_collect.
3363
0a60bc10
FEG
33642012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3365
3366 New utility functions + python-info-ppss-context fix (Bug#11910).
3367 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3368 (python-info-ppss-comment-or-string-p): New functions.
3369 (python-info-ppss-context): Small fix for string check.
3370
6dafa0d5
JL
33712012-07-17 Juri Linkov <juri@jurta.org>
3372
3373 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3374 (dired-do-async-shell-command): Don't add `*' at the end of the
3375 command (Bug#11815).
3376 (dired-do-shell-command): Doc fix.
3377 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3378 Join the individual commands using either "&" or ";" as the
3379 separator depending on the values of these trailing characters.
3380 At the end re-add the trailing "&". (Bug#10598)
3381
3382 * simple.el (async-shell-command): Sync the interactive spec with
3383 `shell-command'. Doc fix.
3384 (shell-command): Doc fix.
3385
b19dd9d1
JL
33862012-07-17 Juri Linkov <juri@jurta.org>
3387
3388 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3389
bcdc27d7 33902012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3391
bcdc27d7 3392 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3393 * progmodes/python.el (python-nav-beginning-of-statement):
3394 Rename from python-nav-statement-start.
bcdc27d7
FEG
3395 (python-nav-end-of-statement): Rename from
3396 python-nav-statement-end.
3397 (python-nav-beginning-of-block): Rename from
3398 python-nav-block-start.
3399 (python-nav-end-of-block): Rename from python-nav-block-end.
3400
191da00e
FEG
34012012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3402
7f5331cc
MY
3403 * progmodes/python.el (python-shell-send-string-no-output):
3404 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3405 future interactions (Bug#11868).
3406
4dc7c8d5 34072012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3408
88ecaf8f
SM
3409 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3410
ef501ef0
SM
3411 * emacs-lisp/elint.el (elint-find-args-in-code):
3412 Use help-function-arglist, so as to handle lexical byte-code.
3413
aa7aaf8f
SM
3414 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3415 change (bug#11826).
3416
45fd731c
SM
34172012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3418
2143fa32
SM
3419 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3420 Avoid spuriously marking the buffer as modified because of c-is-sws.
3421
efc26dbe
SM
3422 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3423 as not-a-comment (bug#11946).
3424
f5695c9a
SM
3425 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3426 for uninterned vars.
3427
3428 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3429 Use read-event since we don't really want to read chars but bytes.
3430
45fd731c
SM
3431 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3432 $$..$$ but also $..$ using regexps (bug#11953).
3433 Use tex-verbatim for \url and \path.
3434 (tex-font-lock-keywords): Define as defconst like the others.
3435 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3436
ddfc8813
RK
34372012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3438
3439 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3440 alias for insert-char.
3441
758e556a
FEG
34422012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3443
3444 * progmodes/python.el: Simplified imenu implementation.
3445 (python-nav-jump-to-defun): Remove command.
3446 (python-mode-map): Use `imenu' instead.
3447 (python-nav-list-defun-positions-cache)
3448 (python-imenu-include-defun-type, python-imenu-make-tree)
3449 (python-imenu-subtree-root-label, python-imenu-index-alist):
3450 Remove vars.
3451 (python-nav-list-defun-positions, python-nav-read-defun)
3452 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3453 (python-imenu-make-tree, python-imenu-create-index):
3454 Remove functions.
758e556a
FEG
3455 (python-mode): Update to interact with imenu by setting
3456 `imenu-extract-index-name-function' only.
3457
032d23ab
FEG
34582012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3459
3460 * progmodes/python.el: Enhancements to navigation commands.
3461 (python-nav-backward-sentence)
3462 (python-nav-forward-sentence): Remove.
3463 (python-nav-backward-statement, python-nav-forward-statement)
3464 (python-nav-statement-start, python-nav-statement-end)
3465 (python-nav-backward-block, python-nav-forward-block)
3466 (python-nav-block-start, python-nav-block-end)
3467 (python-nav-forward-sexp-function)
3468 (python-info-current-line-comment-p)
3469 (python-info-current-line-empty-p): New functions.
3470 (python-indent-context): Use `python-nav-statement-start'.
3471
01795a1b
MA
34722012-07-16 Michael Albinus <michael.albinus@gmx.de>
3473
9328d9aa
MA
3474 * eshell/em-ls.el (eshell/ls): Use `apply'.
3475
3476 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3477 multi-hops, instead of Tramp internals.
3478
01795a1b
MA
3479 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3480
3481 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3482 when F1 and F2 are located on different hosts.
3483
63408057
CY
34842012-07-14 Chong Yidong <cyd@gnu.org>
3485
3486 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3487 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3488 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3489 (xterm-mouse--read-event-sequence-1000)
3490 (xterm-mouse--read-event-sequence-1006): New functions. For old
3491 mouse protocol, handle M-mouse-X events correctly.
3492 (xterm-mouse-event): New arg specifying mouse protocol.
3493 (turn-on-xterm-mouse-tracking-on-terminal)
3494 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3495 sequence to toggle extended coordinates on newer XTerms.
3496 This appears to be harmless on terminals which do not support this.
63408057 3497
cd276f6e
LL
34982012-07-14 Leo Liu <sdl.web@gmail.com>
3499
28ca98ac
LL
3500 Add fringe bitmap indicators for flymake. (Bug#11253)
3501 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3502 (flymake-make-overlay): New arg BITMAP.
3503 (flymake-error-bitmap, flymake-warning-bitmap)
3504 (flymake-fringe-indicator-position): New user variables.
3505
cd276f6e
LL
3506 * fringe.el: New bitmap exclamation-mark.
3507
04408072
JD
35082012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3509
3510 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3511 also (Bug#7879).
3512
b5cf7fc4
CY
35132012-07-14 Chong Yidong <cyd@gnu.org>
3514
3515 * electric.el (electric-pair-post-self-insert-function): Fix pair
3516 insertion in empty-region case (Bug#11520).
3517
be755c79
RT
35182012-07-14 Chong Yidong <cyd@gnu.org>
3519
45fd731c
SM
3520 * bindings.el: Consolidate ctl-x-r-map bindings.
3521 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3522
3523 * rect.el, register.el: Move bindings to bindings.el.
3524
35252012-07-14 Reuben Thomas <rrt@sc3d.org>
3526
3527 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3528
7f5b3198
AS
35292012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3530
3531 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3532
97662200
JB
35332012-07-13 Juanma Barranquero <lekktu@gmail.com>
3534
80185fed
JB
3535 * bindings.el (top): Use `mapc' instead of `mapcar'.
3536
97662200
JB
3537 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3538
2bb1ae55
MA
35392012-07-13 Michael Albinus <michael.albinus@gmx.de>
3540
3541 * progmodes/sql.el (sql-comint): Suppress the check for program on
3542 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3543 (Bug#11908)
3544
dea31bd3
CY
35452012-07-13 Chong Yidong <cyd@gnu.org>
3546
3547 * bindings.el: Assign a non-nil permanent-local property to
3548 per-buffer variables which lack a default value (Bug#11930).
3549
3550 * help-fns.el (describe-variable): In the "automatically becomes
3551 local" notice, take note of permanent-local variables.
3552
b68b3337
CY
35532012-07-13 Chong Yidong <cyd@gnu.org>
3554
3555 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3556 to allow printing the message when called from Lisp.
3557
3558 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3559 Remove toggle-read-only.
3560
3561 * bs.el (bs-toggle-readonly):
45fd731c
SM
3562 * buff-menu.el (Buffer-menu-toggle-read-only):
3563 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3564
3565 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3566 Remove with-no-warnings around toggle-read-only.
3567 (ffap-read-only, ffap-read-only-other-window)
3568 (ffap-read-only-other-frame): Callers changed.
3569
3570 * help-mode.el: Don't require view package.
3571 (help-mode-finish): Set buffer-read-only instead of calling
3572 toggle-read-only.
3573
3574 * bindings.el (mode-line-toggle-read-only):
3575 * dired.el (dired-toggle-read-only):
3576 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3577 with non-nil second arg.
3578
3579 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3580 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3581 directly.
3582
56bc1586
EZ
35832012-07-12 Eli Zaretskii <eliz@gnu.org>
3584
3585 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3586 not incf.
3587
a464a6c7
SM
35882012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 More CL cleanups and reduction of use of cl.el.
3591 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3592 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3593 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3594 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3595 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3596 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3597 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3598 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3599 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3600 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3601 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3602 * eshell/em-cmpl.el, eshell/em-banner.el:
3603 * calendar/parse-time.el: Use cl-lib.
3604 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3605 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3606 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3607 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3608 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3609 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3610 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3611 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3612 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3613 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3614 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3615 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3616 `lambda' rather than with `quote'.
3617 (eshell-do-opt): Adjust accordingly.
3618 (eshell-process-option): Simplify.
3619 * eshell/esh-var.el:
3620 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3621 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3622 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3623 to `pcase--dontcare'.
3624 * emacs-lisp/cl.el (labels): Mark obsolete.
3625 (cl--letf, letf): Move to cl-lib.
3626 (cl--letf*, letf*): Remove.
3627 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3628 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3629 (cl-progv): Rewrite.
3630 (cl--letf, cl-letf): Move from cl.el.
3631 (cl-letf*): New macro.
3632 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3633
7ad4afe1
MA
36342012-07-11 Michael Albinus <michael.albinus@gmx.de>
3635
3636 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3637
9af57756
CY
36382012-07-11 Chong Yidong <cyd@gnu.org>
3639
3640 * vc/log-edit.el (log-edit-vc-backend): New variable.
3641 (log-edit): Doc fix.
3642
3643 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3644 argument of log-edit to set up all local variables.
3645 (vc-start-logentry): New optional arg specifying VC backend.
3646
3647 * vc/vc.el (vc-checkin): Use it.
3648 (vc-deduce-fileset): Handle Log Edit buffers.
3649 (vc-diff): Make first argument optional too.
3650
3651 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3652
8477cc7a
MA
36532012-07-10 Michael Albinus <michael.albinus@gmx.de>
3654
3655 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3656 command, just in case. The function is not needed anymore.
3657 (eshell-external-command): Do not call `eshell-remote-command'.
3658
19faa8e8
SM
36592012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3660
f58e0fd5
SM
3661 Reduce use of (require 'cl).
3662 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3663 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3664 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3665 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3666 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3667 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3668 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3669 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3670 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3671 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3672 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3673 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3674 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3675 (byte-compile-unfold-bcf, byte-compile-check-variable):
3676 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3677 (byte-compile-nilconstp):
3678 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3679 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3680
2519d43a
SM
3681 * emacs-lisp/gv.el (cond): Make it a valid place.
3682 (if): Simplify slightly.
3683
19faa8e8
SM
3684 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3685 (pcase--self-quoting-p): New function.
3686 (pcase--u1): Use it.
3687
c4907a5e
GM
36882012-07-10 Glenn Morris <rgm@gnu.org>
3689
3690 * emacs-lisp/authors.el (authors-fixed-entries):
3691 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3692
c4444d16
PE
36932012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3694
3695 Rename configure.in to configure.ac (Bug#11603).
3696 * emacs-lisp/authors.el (authors-canonical-file-name):
3697 * progmodes/autoconf.el (autoconf-mode):
3698 Prefer configure.ac to configure.in.
3699
d75be97d
CY
37002012-07-08 Chong Yidong <cyd@gnu.org>
3701
01ac65bd
CY
3702 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3703 Implement the mouse-1-click-follows-link handling properly.
3704
3705 * info.el (Info-link-keymap): Use follow-link mechanism for
3706 header-line links (Bug#374).
3707
d75be97d
CY
3708 * simple.el (deactivate-mark): Do not set the primary selection
3709 if another program has acquired it (Bug#11772).
3710
87a92845 37112012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3712
3713 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3714 (woman-decode-region): Replace escaped-escapes without destroying
3715 bold or underline (Bug#11552).
87a92845 3716 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3717
621b9d6c
CY
37182012-07-07 Chong Yidong <cyd@gnu.org>
3719
3720 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3721 (interprogram-cut-function, interprogram-paste-function):
3722 Mention that we typically mean the clipboard.
621b9d6c 3723
133a11fc
GM
37242012-07-06 Glenn Morris <rgm@gnu.org>
3725
0d27a45e
GM
3726 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3727
133a11fc
GM
3728 * files.el (toggle-read-only): Restrict message to interactive use.
3729
07b151f1
MA
37302012-07-06 Michael Albinus <michael.albinus@gmx.de>
3731
3732 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3733
3734 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3735
211b896b
GM
37362012-07-06 Glenn Morris <rgm@gnu.org>
3737
50394322
GM
3738 * Makefile.in (compile-one-process): Rename from "recompile".
3739
211b896b
GM
3740 * Makefile.in (bzr-update): "compile" is the same as "recompile
3741 autoloads", but parallelizable, so use that instead.
3742
4737eec9
DG
37432012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3744
3745 * window.el (quit-window): Always restore window height when
8137e7b3 3746 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3747
226c3633 37482012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3749
3750 * simple.el (kill-whole-line): Doc tweak.
3751
226c3633 37522012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3753
3754 * files.el (file-relative-name): Compare file names
3755 case-insensitively if on MS-Windows or MS-DOS, or if
3756 read-file-name-completion-ignore-case is non-nil. Don't use
3757 case-fold-search for this purpose. (Bug#11827)
3758
4dc7c8d5
SM
37592012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3760
3761 * calendar/cal-dst.el (calendar-current-time-zone):
3762 Return calendar-current-time-zone-cache if non-nil.
3763
37642012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 37652012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3766
19faa8e8
SM
3767 * calendar/cal-dst.el (calendar-current-time-zone):
3768 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3769
60198fc9
GM
37702012-07-06 Glenn Morris <rgm@gnu.org>
3771
3772 * Makefile.in (cvs-update): Remove old alias.
3773
957b3189
MA
37742012-07-05 Michael Albinus <michael.albinus@gmx.de>
3775
3776 Sync with Tramp 2.2.6-pre.
3777
3778 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3779 compatible declaration.
3780
19faa8e8
SM
3781 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3782 Protect `list-load-path-shadows' call.
957b3189
MA
3783
3784 * net/tramp-compat.el (top): Require packages, which aren't
3785 autoloaded anymore for XEmacs. Protect call of
3786 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3787 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3788 it hurts at least for SXEmacs.
3789 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3790 standard-value for `temporary-file-directory'.
3791
3792 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3793 Redirect stderr to /dev/null.
3794 (tramp-sh-handle-write-region): uid and gid can be floats.
3795 Reported by Russell Sim <russell.sim@gmail.com>.
3796 (tramp-sh-handle-vc-registered): Hide errors.
3797 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3798 and `start-file-process'.
3799 (tramp-maybe-open-connection): Check also whether `non-essential'
3800 is bound.
3801
566df3fc
CY
38022012-07-04 Chong Yidong <cyd@gnu.org>
3803
3804 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3805 (xml-parse-tag): Likewise, and avoid changing entity tables.
3806 (xml-syntax-table): Define from scratch, making sure not to give
3807 x2000 and other Unicode spaces whitespace syntax, since those are
3808 not spaces in XML.
3809 (xml-parse-fragment): Delete unused function.
3810 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3811 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3812 (xml-entity-ref, xml-pe-reference-re)
3813 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3814 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3815 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3816 (xml-entity-value-re): Use syntax references in regexps where
3817 possible; no need to define inside a let-binding.
3818 (xml-parse-dtd): Use xml-pe-reference-re.
3819 (xml-entity-or-char-ref-re): New defconst.
3820 (xml-parse-string, xml-substitute-special): Use it.
3821
30eabd7a
SM
38222012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3823
0781098a
SM
3824 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3825 (find-file--read-only): New function.
3826 (find-file-read-only, find-file-read-only-other-window)
3827 (find-file-read-only-other-frame): Use it.
3828 (insert-file-contents-literally): Don't `fset'.
3829 (get-free-disk-space): Use locate-dominating-file.
3830
b5771c0d
SM
3831 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3832 function is already compiled.
3833
30eabd7a
SM
3834 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3835
b4886f6e
MA
38362012-07-03 Michael Albinus <michael.albinus@gmx.de>
3837
3838 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3839 files on the same host.
3840
b9d82339
AS
38412012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3842
3843 * help-fns.el (describe-function-1): Only call
3844 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3845
a76e6535
CY
38462012-07-03 Chong Yidong <cyd@gnu.org>
3847
3848 * xml.el: Protect parser against XML bombs.
3849 (xml-entity-expansion-limit): New variable.
3850 (xml-parse-string, xml-substitute-special): Use it.
3851 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3852
b544fef2
GM
38532012-07-03 Glenn Morris <rgm@gnu.org>
3854
3855 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3856 Allow linking to specific messages in debbugs reports (eg 123#5).
3857
a7aef6f5
CY
38582012-07-02 Chong Yidong <cyd@gnu.org>
3859
3860 * xml.el: Fix entity and character reference expansion, allowing
3861 them to expand into markup as per XML spec.
3862 (xml-default-ns): New variable.
3863 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3864 (xml-parse-region): Make first two arguments optional.
3865 Discard text properties.
3866 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3867 All callers changed.
a7aef6f5
CY
3868 (xml-parse-tag): Call xml-parse-tag-1. For backward
3869 compatibility, this function should not modify buffer contents.
3870 (xml-parse-tag-1): Fix opening-tag regexp.
3871 (xml-parse-string): Rewrite, handling entity and character
3872 references properly.
3873 (xml--entity-replacement-text): Signal an error if a parameter
3874 entity is undefined.
3875
3df31c9f
SM
38762012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3877
2b5208f1
SM
3878 * comint.el (comint-output-filter): Filter out repeated prompts.
3879
3df31c9f
SM
3880 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3881 and file-name-absolute-p.
3882 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3883 internal calls.
3884
e3ac1281
PE
38852012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3886
3887 Spelling fixes.
3888 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3889 Rename from byte-compile--refiy-function. All uses changed.
3890
fbf2e7ad
CY
38912012-07-01 Chong Yidong <cyd@gnu.org>
3892
3893 * xml.el (xml--parse-buffer): New function. Move most of
3894 xml-parse-region here.
3895 (xml-parse-region): Copy region into a temporary buffer, since
3896 parameter entity substitution requires changing buffer contents.
3897 Use xml--parse-buffer.
3898 (xml-parse-file): Use xml--parse-buffer.
3899 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3900 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3901
9bf0aa15
GM
39022012-06-30 Glenn Morris <rgm@gnu.org>
3903
bbce2853
GM
3904 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3905
9bf0aa15
GM
3906 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3907 Remove outdated and unnecessary dbus declarations.
3908
0d23c240
EZ
39092012-06-30 Eli Zaretskii <eliz@gnu.org>
3910
3911 * emacs-lisp/timer.el (timer-until): Subtract results of
3912 float-time, instead of taking float-time of the result of
3913 time-subtract, since float-time signals an error for negative time
3914 arguments.
3915
b3218de1
CY
39162012-06-30 Chong Yidong <cyd@gnu.org>
3917
3918 * xml.el (xml-*-re): Convert defvars into defconsts, and
3919 eval-and-compile them so eval-and-compile works on derivatives.
3920 (xml--entity-replacement-text): Use eval-and-comple.
3921
a40c87a0
MA
39222012-06-30 Michael Albinus <michael.albinus@gmx.de>
3923
3924 * vc/vc-git.el (vc-git-registered): Use cache property
3925 `git-registered'.
3926 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3927 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3928 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3929
ac87de97
DG
39302012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3931
3932 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3933 removed (likely outside Emacs). (Bug#11757)
ac87de97 3934
ac10fe06
SM
39352012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3df31c9f 3937 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3938
7f3fbd5d
CY
39392012-06-30 Chong Yidong <cyd@gnu.org>
3940
3941 * xml.el: Implement XML parameter entities.
3942 (xml-parameter-entity-alist): New variable.
3943 (xml-parse-region, xml-parse-fragment): Preserve previous values
3944 of xml-entity-alist and xml-parameter-entity-alist, so that
3945 repeated calls on different documents do not change them.
3946 (xml-parse-tag): Fix doctype regexp.
3947 (xml--entity-replacement-text): New function.
3948 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3949 properly requires url retrieval which is unimplemented.
3950 (xml-escape-string): Doc fix.
3951
3cfbebba
SM
39522012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3953
3954 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3955
2af3565e
DA
39562012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3957
3958 * fringe.el (fringe-mode): Doc fix.
3959
929df0e7
MA
39602012-06-29 Michael Albinus <michael.albinus@gmx.de>
3961
3962 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3963 is non-nil.
3964 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3965 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3966
c8d3a25c 39672012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3968
c8d3a25c
GM
3969 * calendar/cal-dst.el (calendar-current-time-zone):
3970 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3971
c8d3a25c 39722012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3973
3974 * progmodes/which-func.el (which-func-format):
3975 Add mouse-face. (Bug#11698)
3976
c8d3a25c
GM
39772012-06-29 Leo Liu <sdl.web@gmail.com>
3978
3979 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3980
39812012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3982
3983 * minibuffer.el (minibuffer-confirm-exit-commands):
3984 Add completion-at-point (bug#11725).
3985
39862012-06-29 Glenn Morris <rgm@gnu.org>
3987
3988 * progmodes/f90.el (f90-font-lock-keywords-2):
3989 Add some preprocessor elements. (Bug#10499)
3990
39912012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3992
3993 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3994 Use syntax-propertize (bug#11739).
3995
2badeec4
JB
39962012-06-28 Juanma Barranquero <lekktu@gmail.com>
3997
3998 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3999
ae4969c2
JD
40002012-06-28 Julien Danjou <julien@danjou.info>
4001
4002 * term.el (term-handle-colors-array): Use a set of new faces to
4003 color the terminal. Also uses :inverse-video property.
4004 (term-default-fg-color): Set to nil by default, deprecate in favor
4005 of `term-face'.
4006 (term-default-bg-color): Set to nil by default, deprecate in favor
4007 of `term-face'.
4008 (term-current-face): Use `term-face' by default.
4009 (term-bold-attribute): Variable deleted.
4010
1c9bd870
GM
40112012-06-28 Glenn Morris <rgm@gnu.org>
4012
4013 * simple.el (completion-list-mode-finish):
4014 Don't use toggle-read-only. (Since completion-list-mode has
4015 a special mode-class, it wasn't doing anything extra anyway.)
4016
c207708c
SM
40172012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4018
4019 Make inlining of other-mode interpreted functions work (bug#11799).
4020 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4021 (byte-compile): Use it to fix compilation of lexical-binding closures.
4022 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4023 function, if needed.
4024
3fd56834
SM
40252012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4026
04901786
SM
4027 * help-mode.el (help-make-xrefs): Don't just withstand
4028 cyclic-variable-indirection but any error in documentation-property.
4029
1ec4b7b2
SM
4030 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4031 memory use.
4032 * bindings.el (bindings--define-key): New function.
4033 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4034 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4035 * bindings.el: Use it to purecopy define-key bindings.
4036
e309e2a5
SM
4037 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4038
d5c6faf9
SM
4039 * emacs-lisp/cl.el (flet): Mark obsolete.
4040 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4041 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4042 * progmodes/js.el (js-c-fill-paragraph):
4043 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4044 (ebrowse-switch-member-buffer-to-derived-class):
4045 * play/5x5.el (5x5-solver): Use cl-flet.
4046
6e9590e2
SM
4047 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4048 (cl--symbol-function): New macro.
4049 (cl--letf, cl--letf*): Use it.
4050
3fd56834
SM
4051 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4052 Strip "toggle-" if any.
4053
35ff222c
GM
40542012-06-27 Glenn Morris <rgm@gnu.org>
4055
1ba6038a
GM
4056 * info.el (Info-default-directory-list): Move here from paths.el.
4057 * paths.el: Remove file, which is now empty.
4058 * loadup.el: No longer load "paths".
4059
0ea0e51b
GM
4060 * custom.el (custom-initialize-delay): Doc fix.
4061
35ff222c
GM
4062 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4063 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4064 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4065 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4066 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4067 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4068 * eshell/eshell.el (eshell-defgroup): Remove alias.
4069
c89926a5
CY
40702012-06-27 Chong Yidong <cyd@gnu.org>
4071
4072 * help.el (help-enable-auto-load): New variable.
4073
4074 * help-fns.el (help-fns--autoloaded-p): New function.
4075 (describe-function-1): Refer to a function as "autoloaded" if it
4076 was autoloaded at any time in the past. Perform autoloading if
4077 help-enable-auto-load is non-nil.
4078
cc06e7e7
EZ
40792012-06-26 Eli Zaretskii <eliz@gnu.org>
4080
4081 * makefile.w32-in (compile, compile-always): Depend on
4082 update-subdirs, not on subdirs.el. Otherwise, several different
4083 sub-targets of 'bootstrap' running in parallel could
4084 simultaneously write to subdirs.el, producing a garbled file.
4085
d2c32364
SS
40862012-06-26 Sam Steingold <sds@gnu.org>
4087
4088 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4089 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4090 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4091 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4092 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4093 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4094 * textmodes/tex-mode.el: Use it.
4095 Did not touch cedet and org because they are maintained elsewhere.
4096
5cf983b2
MR
40972012-06-26 Martin Rudalics <rudalics@gmx.at>
4098
4099 * calendar/calendar.el (calendar-exit): Don't try to delete or
4100 iconify last frame. See:
4101 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4102
8c4f2952
JD
41032012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4104
4105 * server.el (server-process-filter): Remember dir in the
4106 process's `server-client-directory' properties.
4107
772b2e2c
CY
41082012-06-24 Chong Yidong <cyd@gnu.org>
4109
4110 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4111 non-tag text.
4112
711b11e1
JB
41132012-06-23 Juanma Barranquero <lekktu@gmail.com>
4114
4115 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4116
dc5d230c
SM
41172012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4118
4119 * help-fns.el (describe-variable): Don't croak when doc is not found.
4120 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4121 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4122 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4123 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4124 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4125 ((lambda ..) ..).
4126 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4127
136e1c1d
CY
41282012-06-23 Chong Yidong <cyd@gnu.org>
4129
e8c1cabf
CY
4130 * info.el (Info-mouse-follow-link): Accept symbol values of
4131 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4132 (Info-fontify-node): Use Info-link-keymap for all navigation
4133 buttons, with link-args property to perform the desired action.
4134 (Info-link-keymap): Doc fix.
4135 (Info-next-link-keymap, Info-prev-link-keymap)
4136 (Info-up-link-keymap): Delete now-unused keymaps.
4137
0e9e6c6a
CY
41382012-06-23 Chong Yidong <cyd@gnu.org>
4139
05e89fea
CY
4140 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4141
0e9e6c6a
CY
4142 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4143 system abbrevs.
4144
4145 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4146
e33c6771
SM
41472012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4148
b68581e2
SM
4149 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4150 (bug#11719).
4151
e33c6771
SM
4152 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4153 the requote function doesn't work properly (bug#11714).
4154
7117e105
GM
41552012-06-23 Glenn Morris <rgm@gnu.org>
4156
4157 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4158
36cec983
SM
41592012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4160
4161 Further GV/CL cleanups.
4162 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4163 gv-expander.
4164 (gv--defun-declaration): New function.
4165 (defun-declarations-alist): Use it.
4166 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4167 (gv-place): Autoload.
4168 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4169 original definition of dotimes and dolist.
4170 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4171 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4172 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4173 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4174 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4175 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4176 to the function's definition.
4177 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4178 * window.el:
4179 * files.el:
4180 * faces.el:
4181 * env.el: Don't use CL.
4182
d35af63c
PE
41832012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4184
4185 Support higher-resolution time stamps (Bug#9000).
4186
4187 * calendar/time-date.el (with-decoded-time-value): New arg
4188 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4189 (encode-time-value): New optional arg PICO. New type 3.
4190 (time-to-seconds) [!float-time]: Support the new picoseconds
4191 component if it's used.
4192 (seconds-to-time, time-subtract, time-add):
4193 Support ps-resolution time stamps as well.
4194
4195 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4196 (timerp): Timer vectors now have length 9, not 8.
4197 (timer--time): Support new-style (4-part) time stamps.
4198 (timer-next-integral-multiple-of-time): Time stamps now have
4199 picosecond resolution, so take a bit more care about rounding.
4200 (timer-relative-time, timer-inc-time): New optional arg psecs.
4201 (timer-set-time-with-usecs): Set psecs to 0.
4202 (timer--activate): Check psecs component, too.
4203
4204 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4205
ac77b21a
SM
42062012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4207
f143bfe3
SM
4208 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4209 Move the non-essential binding to the post/pre-command-hook where it is
4210 more obviously correct.
4211
ac77b21a
SM
4212 * subr.el (read-passwd): Don't use a history at all.
4213 * savehist.el (savehist-save): Remove password saved accidentally
4214 because of the above bug.
4215
76386c5a
BG
42162012-06-22 Bastien Guerry <bzg@gnu.org>
4217
4218 * files.el (toggle-read-only): Display a message telling whether
4219 the buffer is read-only or not (bug#11726).
4220
2ee3d7f0
SM
42212012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4222
4223 * emacs-lisp/gv.el: New file.
4224 * subr.el (push, pop): Extend to generalized variables.
4225 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4226 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4227 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4228 gv-define-simple-setter, and gv-define-expander.
4229 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4230 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4231 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4232 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4233 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4234 gv-letplace.
4235 (cl-defstruct): Don't define setf-method any more.
4236 * emacs-lisp/cl.el (flet): Don't autoload.
4237 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4238 (define-setf-expander, defsetf, define-modify-macro)
4239 (cl-struct-setf-expander): Move from cl-lib.el.
4240 * emacs-lisp/syntax.el:
4241 * emacs-lisp/ewoc.el:
4242 * emacs-lisp/smie.el:
4243 * emacs-lisp/cconv.el:
4244 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4245 (timer--time): Use gv-define-simple-setter.
4246 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4247 to avoid coding-system problems in subr.el. Adjust all users.
4248 (macroexp--maxsize, macroexp-small-p): New functions.
4249 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4250 * scroll-bar.el (scroll-bar-mode):
4251 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4252 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4253 * winner.el (winner-configuration, winner-make-point-alist)
4254 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4255 * files.el (locate-file-completion-table): Avoid list*.
4256
c5695d1d
CY
42572012-06-22 Chong Yidong <cyd@gnu.org>
4258
4259 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4260 (dired-create-files): Doc fix (Bug#11329).
4261 (dired-do-copy): Doc fix (Bug#11334).
4262 (dired-mark-read-string): Doc fix (Bug#11553).
4263
2ee3d7f0
SM
4264 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4265 Doc fix (Bug#11326).
c5695d1d
CY
4266 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4267 (dired-dwim-target): Doc fix.
4268
4269 * wdired.el (wdired-mode): Doc fix.
4270
89b5595a
GM
42712012-06-22 Glenn Morris <rgm@gnu.org>
4272
575db3f1
GM
4273 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4274 (pcmpl-rpm-cache-stamp-file): New constant.
4275 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4276 (pcmpl-rpm-packages): Optionally cache list of packages.
4277
a4c8dd51
GM
4278 * pcmpl-rpm.el (pcmpl-rpm): New group.
4279 (pcmpl-rpm-query-options): New option.
4280 (pcmpl-rpm-packages): No need to inline it.
4281 Use pcmpl-rpm-query-options.
4282
89b5595a
GM
4283 * calendar/calendar.el (calendar-in-read-only-buffer):
4284 Avoid some needless mode changes.
4285
e76f0800
CY
42862012-06-21 Chong Yidong <cyd@gnu.org>
4287
4288 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4289 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4290 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4291
297a8f1d
CY
42922012-06-20 Chong Yidong <cyd@gnu.org>
4293
4294 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4295
d34c18b1
DR
42962012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4297
4298 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4299 (bug#11201).
4300
32f7f28e
CY
43012012-06-20 Chong Yidong <cyd@gnu.org>
4302
4303 * term.el (term-window-width): Handle the case of a missing right
4304 fringe (Bug#8837).
4305 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4306 (term-mode): Use define-derived-mode. Minor cleanups.
4307 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4308 (term-move-columns, term-insert-char, term-emulate-terminal)
4309 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4310
493c6688
MA
43112012-06-20 Michael Albinus <michael.albinus@gmx.de>
4312
d34c18b1
DR
4313 * net/ange-ftp.el (ange-ftp-get-passwd):
4314 Bind `enable-recursive-minibuffers'.
493c6688
MA
4315 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4316
3f06ecf4
DR
43172012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4318
4319 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4320
68f12411
GM
43212012-06-19 Glenn Morris <rgm@gnu.org>
4322
4323 * progmodes/python.el (python-mode): Derive from prog-mode.
4324
b3820318
KG
43252012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4326
4327 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4328 (edt-user-menu-bar-update-buffers): New functions.
4329 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4330
c6bf3022
CY
43312012-06-19 Chong Yidong <cyd@gnu.org>
4332
4333 * subr.el (with-selected-window): Preserve the selected window's
4334 terminal's top-frame (Bug#4702).
4335
4336 * window.el (save-selected-window): Likewise.
4337
25f09295
SM
43382012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4339
4340 * progmodes/python.el (python-rx-constituents): Move backquote.
4341 (python-skeleton-define, python-define-auxiliary-skeleton):
4342 Use `declare'.
4343
6b11952a
MA
43442012-06-18 Michael Albinus <michael.albinus@gmx.de>
4345
4346 * minibuffer.el (read-file-name-default): Revert the patch from
4347 2012-06-17.
4348
ee4b1330
SM
43492012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4352 (pcase--u1, pcase--q1): Don't use apply-partially.
4353
35647f79
GM
43542012-06-18 Glenn Morris <rgm@gnu.org>
4355
4356 * progmodes/python.el (python-proc, python-buffer)
4357 (python-send-receive, python-send-string): Fix obsolete versions.
4358
24b0cff0
MR
43592012-06-18 Martin Rudalics <rudalics@gmx.at>
4360
4361 * window.el (special-display-p): Completely remove stringp
4362 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4363
29855149
MA
43642012-06-17 Michael Albinus <michael.albinus@gmx.de>
4365
4366 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4367
4368 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4369
4370 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4371 * net/tramp-sh.el (tramp-maybe-open-connection):
4372 Throw if `non-essential' is non-nil.
4373
07463363
MR
43742012-06-17 Martin Rudalics <rudalics@gmx.at>
4375
4376 * window.el (special-display-p): Signal an error if BUFFER-NAME
4377 is not a string (Bug#11713).
4378
48d1354e
PE
43792012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4380
4381 * progmodes/python.el (python-info-beginning-of-backslash):
4382 Rename from python-info-beginning-of-backlash, as a spelling fix.
4383
eb4a8a9a
CY
43842012-06-17 Chong Yidong <cyd@gnu.org>
4385
4386 * term.el (term-emulate-terminal): If term-check-size is called,
4387 move point to the process mark without resetting point (Bug#4635).
4388
ddfbf826 43892012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4390
4391 * international/mule-cmds.el (mule-menu-keymap)
4392 (set-language-environment, set-locale-environment): Doc tweaks.
4393
9b0e3eba
AA
43942012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4395
4396 * cus-face.el (custom-face-attributes): Add wave-style underline
4397 attribute.
4398 * faces.el (set-face-attribute): Update docstring to describe
4399 wave-style underline attribute.
4400
771e3eae
CY
44012012-06-16 Chong Yidong <cyd@gnu.org>
4402
4403 * term/xterm.el (terminal-init-xterm): Discard input before
4404 querying background mode (Bug#10959).
4405
7ae2ea10
SM
44062012-06-16 Stefan Merten <smerten@oekonux.de>
4407
4408 * textmodes/rst.el: Added and corrected some comments.
4409 (rst-re-alist-def): Improve symbol syntax.
4410 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4411 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4412 (rst-official-version, rst-official-cvs-rev): Update version
4413 information.
7ae2ea10 4414
b6974efa
JB
44152012-06-15 Juanma Barranquero <lekktu@gmail.com>
4416
4417 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4418 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4419
8826d473
GM
44202012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4421
4422 * progmodes/python.el: New python.el merge.
4423 (python-guess-indent): Obsolete var.
4424 (python-indent-guess-indent-offset): New defcustom.
4425 (python-indent): Obsolete var.
4426 (python-indent-offset): New defcustom.
4427 (python-python-command, python-jython-command): Delete var.
4428 (python-shell-interpreter): New defcustom.
4429 (python-pdbtrack-do-tracking-p): Delete var.
4430 (python-pdbtrack-activate): New defcustom.
4431 (python-use-skeletons): Obsolete var.
4432 (python-skeleton-autoinsert): New defcustom.
4433 (inferior-python-filter-regexp, python-continuation-offset)
4434 (python-honour-comment-indentation, python-indent-string-contents)
4435 (python-jython-packages, python-mode-hook)
4436 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4437 (python-shell-prompt-alist)
4438 (python-source-modes): Delete defcustoms.
4439 (python-check-buffer-name, python-eldoc-setup-code)
4440 (python-eldoc-string-code, python-ffap-setup-code)
4441 (python-ffap-string-code, python-fill-comment-function)
4442 (python-fill-decorator-function, python-fill-paren-function)
4443 (python-fill-string-function, python-imenu-include-defun-type)
4444 (python-imenu-make-tree, python-imenu-subtree-root-label)
4445 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4446 (python-shell-compilation-regexp-alist)
4447 (python-shell-completion-module-string-code)
4448 (python-shell-completion-pdb-string-code)
4449 (python-shell-completion-setup-code)
4450 (python-shell-completion-string-code)
4451 (python-shell-enable-font-lock, python-shell-exec-path)
4452 (python-shell-extra-pythonpaths)
4453 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4454 (python-shell-process-environment)
4455 (python-shell-prompt-block-regexp)
4456 (python-shell-prompt-output-regexp)
4457 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4458 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4459 (python-shell-virtualenv-path): New defcustoms.
4460 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4461 (inferior-python-mode-syntax-table, python--prompt-regexp)
4462 (python-buffer, python-command python-python-command)
4463 (python-default-template, python-imports, python-indent-index)
4464 (python-indent-list, python-indent-list-length)
4465 (python-mode-running, python-pdbtrack-is-tracking-p)
4466 (python-preoutput-continuation, python-preoutput-leftover)
4467 (python-preoutput-result, python-preoutput-skip-next-prompt)
4468 (python-prev-dir/file, python-recursing)
4469 (python-saved-check-command, python-version-checked)
4470 (python-which-func-length-limit)
4471 (view-return-to-alist): Delete vars.
4472 (python-check-custom-command, python-dotty-syntax-table)
4473 (python-imenu-index-alist, python-indent-current-level)
4474 (python-indent-dedenters, python-indent-levels)
4475 (python-nav-beginning-of-defun-regexp)
4476 (python-nav-list-defun-positions-cache)
4477 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4478 (python-shell-internal-buffer)
4479 (python-skeleton-available): New vars.
4480 (def-python-skeleton): Delete macro.
4481 (python-skeleton-define): New macro.
4482 (python-define-auxiliary-skeleton, python-rx): New macros.
4483 (python-insert-class): Delete command.
4484 (python-skeleton-class): New command.
4485 (python-insert-def): Delete command.
4486 (python-skeleton-def): New command.
4487 (python-insert-for): Delete command.
4488 (python-skeleton-for): New command.
4489 (python-insert-if): Delete command.
4490 (python-skeleton-if): New command.
4491 (python-insert-try/except, python-insert-try/finally): Delete commands.
4492 (python-skeleton-try): New command.
4493 (python-insert-while): Delete command.
4494 (python-skeleton-while): New command.
4495 (python-backspace): Delete command.
4496 (python-indent-dedent-line-backspace): New command.
4497 (python-electric-colon): Delete command.
4498 (python-indent-electric-colon): New command.
4499 (python-guess-indent): Delete command.
4500 (python-indent-guess-indent-offset): New command.
4501 (python-shift-left): Delete command.
4502 (python-indent-shift-left): New command.
4503 (python-shift-right): Delete command.
4504 (python-indent-shift-right): New command.
4505 (python-find-function): Delete command.
4506 (python-nav-jump-to-defun): New command.
4507 (python-next-statement): Delete command.
4508 (python-nav-forward-sentence): New command.
4509 (python-previous-statement): Delete command.
4510 (python-nav-backward-sentence): New command.
4511 (python-fill-paragraph): Delete command.
4512 (python-fill-paragraph-function): New command.
4513 (python-send-buffer): Delete command.
4514 (python-shell-send-buffer): New command.
4515 (python-send-defun): Delete command.
4516 (python-shell-send-defun): New command.
4517 (python-send-region, python-send-region-and-go): Delete commands.
4518 (python-shell-send-region)
4519 (python-shell-switch-to-shell): New commands.
4520 (python-send-string): Delete command.
4521 (python-shell-send-string): New command.
4522 (python-switch-to-python): Delete command.
4523 (python-shell-switch-to-shell): New command.
4524 (python-describe-symbol): Delete command.
4525 (python-eldoc-at-point): New command.
4526 (python--set-prompt-regexp, python-args-to-list)
4527 (python-after-info-look, python-check-version)
4528 (python-check-comint-prompt, python-find-imports)
4529 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4530 (python-unload-function, python-expand-template)
4531 (python-maybe-jython, python-preoutput-filter)
4532 (python-pdbtrack-get-source-buffer)
4533 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4534 (python-pdbtrack-toggle-stack-tracking)
4535 (python-pdbtrack-track-stack-file, python-initial-text)
4536 (python-first-word, python-comment-line-p, python-send-command)
4537 (python-setup-brm, python-sentinel, python-set-proc)
4538 (python-skip-out, python-input-filter, python-outdent-p)
4539 (python-outline-level, python-backslash-continuation-line-p)
4540 (python-end-of-block, python-end-of-statement, python-mark-block)
4541 (python-beginning-of-block, python-beginning-of-statement)
4542 (python-blank-line-p, python-beginning-of-string)
4543 (python-open-block-statement-p): Delete functions.
4544 (python-indent-line, python-indent-line-1): Delete functions.
4545 (python-indent-line): New function.
4546 (python-indentation-levels): Delete function.
4547 (python-indent-calculate-levels): New function.
4548 (python-proc): Delete function.
4549 (python-shell-get-process): New function.
4550 (python-send-receive): Delete function.
4551 (python-shell-send-string-no-output): New function.
4552 (python-module-path): Delete function.
4553 (python-ffap-module-path): New function.
4554 (python-completion-at-point)
4555 (python-symbol-completions): Delete functions.
4556 (python-completion-complete-at-point): New function.
4557 (python-load-file): Delete function.
4558 (python-shell-send-file): New function.
4559 (python-calculate-indentation): Delete function.
4560 (python-indent-calculate-indentation): New function.
4561 (python-skip-comments/blanks): Delete function.
4562 (python-util-forward-comment): New function.
4563 (python-continuation-line-p): Delete function.
4564 (python-info-continuation-line-p): New function.
4565 (python-which-func, python-current-defun): Delete function.
4566 (python-info-current-defun): New function.
4567 (python-beginning-of-defun): Delete function.
4568 (python-nav-beginning-of-defun): New function.
4569 (python-close-block-statement-p)
4570 (python-block-end-p): Delete function.
4571 (python-info-closing-block): New function.
4572 (python-comint-output-filter-function)
4573 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4574 (python-fill-comment, python-fill-decorator, python-fill-paren)
4575 (python-fill-string, python-imenu-make-element-tree)
4576 (python-imenu-make-tree, python-imenu-tree-assoc)
4577 (python-indent-context, python-indent-dedent-line)
4578 (python-indent-line-function)
4579 (python-indent-post-self-insert-function)
4580 (python-indent-toggle-levels)
4581 (python-info-assignment-continuation-line-p)
4582 (python-info-beginning-of-backlash)
4583 (python-info-block-continuation-line-p)
4584 (python-info-closing-block-message)
4585 (python-info-line-ends-backslash-p)
4586 (python-info-looking-at-beginning-of-defun)
4587 (python-info-ppss-context, python-info-ppss-context-type)
4588 (python-nav-list-defun-positions, python-nav-read-defun)
4589 (python-nav-sentence-end, python-nav-sentence-start)
4590 (python-pdbtrack-comint-output-filter-function)
4591 (python-pdbtrack-set-tracked-buffer)
4592 (python-shell-calculate-exec-path)
4593 (python-shell-calculate-process-environment)
4594 (python-shell-completion--do-completion-at-point)
4595 (python-shell-completion--get-completions)
4596 (python-shell-completion-complete-at-point)
4597 (python-shell-completion-complete-or-indent)
4598 (python-shell-get-or-create-process)
4599 (python-shell-get-process-name)
4600 (python-shell-internal-get-or-create-process)
4601 (python-shell-internal-get-process-name)
4602 (python-shell-internal-send-string, python-shell-make-comint)
4603 (python-shell-parse-command, python-shell-send-setup-code)
4604 (python-skeleton-add-menu-items)
4605 (python-util-clone-local-variables, python-util-position)
4606 (run-python-internal, python-indentation-levels)
4607 (python-nav-beginning-of-defun)
4608 (python-completion-complete-at-point): New functions.
4609 (run-python): Change arguments. New API requirements.
4610
4302f5ba
SM
46112012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4612
f38ea36d
SM
4613 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4614 (bug#11649).
4615
4616 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4617 (macroexp--expand-all): Use it.
4618
4302f5ba
SM
4619 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4620 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4621 Use `cl-function' instead.
4622
33377562
JB
46232012-06-14 Juanma Barranquero <lekktu@gmail.com>
4624
4625 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4626 Suggested by Stefan Monnier while discussing bug#11657.
4627
54c5ba1a
SS
46282012-06-14 Sam Steingold <sds@gnu.org>
4629
4630 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4631
f9f1b1fe
AS
46322012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4633
4634 * play/doctor.el (doctor-doc): Remove parameter and use
4635 doctor-sent instead of sent.
4636 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4637
a81068ba
SM
46382012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4639
5a315f9c
SM
4640 * files.el: Require cl-lib.
4641 (file-name-non-special): Replace case -> cl-case.
4642
4643 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4644
a81068ba
SM
4645 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4646 mapping from #' to function*.
4647
8cca9703
CY
46482012-06-13 Chong Yidong <cyd@gnu.org>
4649
4650 * mouse.el (mouse-drag-track): Do not set the mark if the user
4651 releases the mouse without selecting anything (Bug#11588).
4652
a12ac9d7
SM
46532012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4654
ccf1dc18
SM
4655 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4656 as well (bug#11646).
4657
ef62b23d
SM
4658 * loadup.el: Count byte-code functions as well.
4659
c4c8444a
SM
4660 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4661 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4662
a12ac9d7
SM
4663 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4664 (bug#11649). Add cl-defun and cl-defmacro.
4665
87e6e64f
DA
46662012-06-13 Drew Adams <drew.adams@oracle.com>
4667
4668 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4669 Fix last change.
4670
682cefaf
MA
46712012-06-13 Michael Albinus <michael.albinus@gmx.de>
4672
4673 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4674 Otherwise, it blocks in batch mode.
4675
773e1f08
JB
46762012-06-13 Juanma Barranquero <lekktu@gmail.com>
4677
4678 * help-mode.el (bookmark-make-record-default): Declare.
4679
60057926
CY
46802012-06-13 Chong Yidong <cyd@gnu.org>
4681
4682 * emacs-lisp/package.el (list-packages): Compute a list of
4683 packages that are newly-available since the last list-packages
4684 invocation.
4685 (package-menu--new-package-list): New var.
4686 (package-menu--generate, package-menu--print-info)
4687 (package-menu--status-predicate, package-menu-mark-install):
4688 Handle new status label "new".
4689
ad4d226c
SM
46902012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4693 conversion to backquotes.
4694
f1a4e679
CY
46952012-06-12 Chong Yidong <cyd@gnu.org>
4696
4697 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4698 Rename from gud-inhibit-global-bindings.
4699
4700 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4701
4702 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4703 hook from nxml-glyph-set-hook.
4704
4705 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4706 declaration.
4707
4708 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4709
4710 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4711 Convert to defcustom.
4712
0c9e42b5
DA
47132012-06-12 Drew Adams <drew.adams@oracle.com>
4714
4715 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4716 New functions.
4717 (help-mode): Use them.
4718
09e06855
GM
47192012-06-11 Glenn Morris <rgm@gnu.org>
4720
4721 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4722 Use preprocessor face for directives.
4723 (fortran-directive-re): Doc fix.
4724
71adb94b
SM
47252012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4726
2eb87922
SM
4727 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4728 conversion to backquotes (bug#11652).
4729
71adb94b
SM
4730 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4731 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4732 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4733 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4734 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4735 (cl-ninth, cl-tenth): Mark them as inlinable.
4736 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4737 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4738 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4739 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4740 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4741 (cl-list*, cl-adjoin): Don't put an autoload manually.
4742 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4743 (cl--compiler-macro-list*): Add autoload cookie.
4744 (cl--compiler-macro-cXXr): New function.
2eb87922 4745
71adb94b
SM
4746 * help-fns.el (help-fns--compiler-macro): New function extracted from
4747 describe-function-1; follow aliases and use `compiler-macro' property.
4748 (describe-function-1): Use it.
4749
a6674402
CY
47502012-06-11 Chong Yidong <cyd@gnu.org>
4751
4752 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4753 is uninstalled, if imagemagick is installed.
4754
bb3faf5b
SM
47552012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4756
4757 * emacs-lisp/cl-lib.el: Use lexical-binding.
4758 (cl-map-extents, cl-maclisp-member): Remove.
4759 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4760 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4761 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4762 * emacs-lisp/cl-extra.el: Use lexical-binding.
4763 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4764 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4765 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4766 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4767 * emacs-lisp/cl-seq.el: Use lexical-binding.
4768 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4769 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4770 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4771 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4772 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4773 CL's internals.
4774
2fe4b125
MA
47752012-06-11 Michael Albinus <michael.albinus@gmx.de>
4776
4777 Sync with Tramp 2.2.6-pre.
4778
4779 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4780 `print-length' and `print-level' to nil, in order to avoid
4781 truncation. Reported by Christopher Schmidt
4782 <christopher@ristopher.com>.
4783
4784 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4785
4786 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4787 New defmacro.
4788 (tramp-compat-copy-directory): Add optional argument
4789 COPY-CONTENTS. It is not handled yet.
4790
4791 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4792 (tramp-ftp-file-name-p): Simplify.
4793
4794 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4795 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4796 connection vector.
4797
4798 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4799 (tramp-methods): Do not use `tramp-password-end-of-line'.
4800 (tramp-completion-function-alist-putty): Handle UNIX case.
4801 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4802 (tramp-do-file-attributes-with-stat)
4803 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4804 gid as real numbers. They could run out of integer range on cygwin.
4805 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4806 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4807 (tramp-open-connection-setup-interactive-shell):
4808 Use `tramp-cleanup'. Move check for busyboxes ...
4809 (tramp-find-shell): ... here. Simplify implementation.
4810 Set "remote-shell" property also for alternative shells.
4811 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4812 If failing, a regular file would be written otherwise.
4813 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4814 (tramp-find-inline-encoding): Cache the coding commands in the
4815 process cache. Apply test command on the remote side, if defined.
4816 (tramp-find-inline-compress): Cache the compress commands in the
4817 process cache.
4818 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4819 when requested. Handle hops.
4820 (tramp-current-connection): New defvar.
87e6e64f
DA
4821 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4822 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4823 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4824 (tramp-get-inline-compress, tramp-get-inline-coding):
4825 Read connection properties from the process cache.
2fe4b125
MA
4826
4827 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4828 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4829 New defconsts.
2fe4b125
MA
4830 (tramp-smb-prompt): Extend for powershell prompt.
4831 (tramp-smb-file-name-handler-alist): Add handlers for
4832 `process-file', `shell-command' and `start-file-process'.
4833 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4834 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4835 (tramp-smb-file-name-p): Simplify.
4836 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4837 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4838 (tramp-smb-shell-quote-argument): New defuns.
4839 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4840 Implement using "tar". By this, time-stamps are preserved.
4841 (tramp-smb-handle-copy-file): Handle also the case of directories.
4842 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4843 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4844 Use `tramp-get-connection-buffer').
2fe4b125
MA
4845 (tramp-smb-handle-rename-file): Use "rename", when source and
4846 target are on the same share.
87e6e64f
DA
4847 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4848 Use `tramp-smb-server-version'.
2fe4b125
MA
4849 (tramp-smb-wait-for-output): Remove prompt.
4850
4851 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4852 (tramp-methods, tramp-rsh-end-of-line):
4853 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4854 (tramp-save-ad-hoc-proxies): New defcustom.
4855 (tramp-completion-function-alist): Adapt docstring.
4856 (tramp-default-password-end-of-line): Remove defcustom.
4857 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4858 (tramp-user-regexp, tramp-file-name-regexp-unified)
4859 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4860 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4861 (tramp-remote-file-name-spec-regexp): New defconst.
4862 (tramp-file-name-structure): Extend structure for hops.
4863 (tramp-get-method-parameter): Move up.
4864 (tramp-file-name-p, tramp-dissect-file-name)
4865 (with-parsed-tramp-file-name): Handle hops.
4866 (tramp-file-name-hop): New defun.
4867 (tramp-make-tramp-file-name): New optional arg HOP.
4868 (tramp-message-show-progress-reporter-message): New defvar.
4869 (tramp-with-progress-reporter): Use it. We cannot use
4870 `tramp-message-show-message' here, because this suppresses also
4871 error buffers.
4872 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4873 `tramp-message-show-message' is nil.
4874 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4875 (tramp-cleanup): New defun.
4876 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4877 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4878 an error unchanged.
4879 (tramp-completion-handle-file-name-all-completions): Handle hops.
4880 Fix an error when called from ido.
4881 (tramp-completion-dissect-file-name): Use better local variable
4882 name. Add hop to the vector.
4883 (tramp-handle-insert-file-contents): Use progress-reporter for the
4884 whole scenario.
4885 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4886 to `t'.
4887 (tramp-check-for-regexp): Simplify search.
4888 (tramp-enter-password): Remove it. Move implementation ...
4889 (tramp-action-password): ... here.
4890 (tramp-mode-string-to-int, tramp-local-host-p)
4891 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4892 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4893 Set tramp-autoload cookie.
2fe4b125
MA
4894
4895 * net/trampver.el: Update release number.
4896
48972012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4898 Michael Albinus <michael.albinus@gmx.de>
4899
4900 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4901 (tramp-parse-group, tramp-parse-file)
4902 (tramp-parse-shostkeys-sknownhosts): New defuns.
4903 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4904 (tramp-parse-shosts-group, tramp-parse-sconfig)
4905 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4906 (tramp-parse-sknownhosts, tramp-parse-hosts)
4907 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4908 Use them.
4909 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4910 (tramp-parse-putty-group): Don't narrow.
4911 (tramp-parse-putty): Make a loop.
4912 (tramp-file-name-handler): Catch the `suppress' signal.
4913
72834e10
CY
49142012-06-11 Chong Yidong <cyd@gnu.org>
4915
4916 * image.el (imagemagick-register-types): Put the ImageMagick entry
4917 at the end of image-type-file-name-regexps.
4918
a4712e11
JB
49192012-06-11 Johan Bockgård <bojohan@gnu.org>
4920
4921 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4922 (pcase, pcase-let*, pcase-dolist): Use them.
4923
82ad98e3
SM
49242012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * emacs-lisp/pcase.el (pcase--let*): New function.
4927 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4928 (pcase--expand): Use macroexp-let².
4929
f80efb86
SM
49302012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4931
4932 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4933 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4934 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4935 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4936 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4937 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4938
31ca4639 49392012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4940
31ca4639
CY
4941 * mail/rmail.el (rmail-yank-current-message): Leave point at
4942 correct position. (Bug#11660)
94f0aa34 4943
31ca4639 49442012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4945
31ca4639 4946 * allout-widgets.el: Fix code header.
9e1b8ec4 4947
31ca4639 49482012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4949
f80efb86
SM
4950 * cus-edit.el (customize-changed-options-previous-release):
4951 Bump to 24.1.
31ca4639 4952
642b6d30
AS
49532012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4954
4955 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4956
4f5d2ba1
CY
49572012-06-09 Chong Yidong <cyd@gnu.org>
4958
4959 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4960
e75852fd
MR
49612012-06-09 Martin Rudalics <rudalics@gmx.at>
4962
4963 * window.el (special-display-popup-frame): Don't use
4964 window--display-buffer (Bug#11651).
4965
1e48e282
EZ
49662012-06-09 Eli Zaretskii <eliz@gnu.org>
4967
8a26b487
EZ
4968 Fix parallel builds: make sure loaddefs.el is not being written
4969 while Lisp files are compiled.
4970 (compile): Don't depend on 'mh-autoloads'.
4971 (compile-CMD, compile-SH): Depend on 'autoloads'.
4972 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4973
1e48e282
EZ
4974 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4975
6175e34b
CY
49762012-06-09 Chong Yidong <cyd@gnu.org>
4977
4978 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4979 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4980 Doc fixes (Bug#11225).
4981
d9857e53
SM
49822012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4983
4984 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4985 a function if there's a clear indication that it has a compiler-macro.
4986 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4987 (macro-declarations-alist): Add arglist to declaration functions.
4988 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4989 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4990 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4991 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4992 Also add autoload to find the compiler macro.
4993 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4994 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4995 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4996 (cl--compiler-macro-get): New functions, replacing calls to
4997 cl-define-compiler-macro.
4998 (cl-typep) [compiler-macro]: Use macroexp-let².
4999
f81298f8 50002012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5001
5002 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5003 string properly, fixes Bug#11473.
5004
4b56d0fe
CY
50052012-06-08 Chong Yidong <cyd@gnu.org>
5006
5007 * faces.el (set-face-attribute): Doc fix.
5008 (modify-face): Don't use :bold and :italic.
5009 (error, warning, success): Tweak definitions.
5010
5011 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5012 (custom-modified, custom-set, custom-changed, custom-themed)
5013 (custom-saved, custom-button, custom-button-mouse)
5014 (custom-button-pressed, custom-state, custom-comment-tag)
5015 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5016 (custom-group-subtitle): Use new-style face specs.
5017 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5018 (custom-set-face, custom-changed-face, custom-saved-face)
5019 (custom-button-face, custom-button-pressed-face)
5020 (custom-documentation-face, custom-state-face)
5021 (custom-comment-face, custom-comment-tag-face)
5022 (custom-variable-tag-face, custom-variable-button-face)
5023 (custom-face-tag-face, custom-group-tag-face-1)
5024 (custom-group-tag-face): Remove obsolete face alias.
5025
5026 * epa.el (epa-validity-high, epa-validity-medium)
5027 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5028 (epa-field-name, epa-field-body):
5029 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5030 (font-lock-keyword-face, font-lock-builtin-face)
5031 (font-lock-function-name-face, font-lock-variable-name-face)
5032 (font-lock-type-face, font-lock-constant-face):
5033 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5034 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5035 * speedbar.el (speedbar-button-face, speedbar-file-face)
5036 (speedbar-directory-face, speedbar-tag-face)
5037 (speedbar-selected-face, speedbar-highlight-face)
5038 (speedbar-separator-face):
5039 * whitespace.el (whitespace-newline, whitespace-space)
5040 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5041 (whitespace-line, whitespace-space-before-tab)
5042 (whitespace-space-after-tab, whitespace-indentation)
5043 (whitespace-empty):
5044 * emulation/cua-base.el (cua-global-mark):
5045 * eshell/em-prompt.el (eshell-prompt):
5046 * net/newst-plainview.el (newsticker-new-item-face)
5047 (newsticker-old-item-face, newsticker-immortal-item-face)
5048 (newsticker-obsolete-item-face, newsticker-date-face)
5049 (newsticker-statistics-face, newsticker-default-face):
5050 * net/newst-reader.el (newsticker-feed-face)
5051 (newsticker-extra-face, newsticker-enclosure-face):
5052 * net/newst-treeview.el (newsticker-treeview-face)
5053 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5054 (newsticker-treeview-immortal-face)
5055 (newsticker-treeview-obsolete-face)
5056 (newsticker-treeview-selection-face):
5057 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5058 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5059 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5060 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5061 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5062 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5063 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5064 (mpuz-text):
5065 * progmodes/vera-mode.el (vera-font-lock-number)
5066 (vera-font-lock-function, vera-font-lock-interface):
5067 * textmodes/table.el (table-cell): Use new-style face specs, and
5068 don't use the old :bold and :italic attributes.
5069
5070 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5071 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5072 (ebrowse-member-class, ebrowse-progress): Likewise.
5073 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5074 (ebrowse-file-name-face, ebrowse-default-face)
5075 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5076 (ebrowse-progress-face): Remove obsolete faces.
5077
5078 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5079 Inherit from error and warning faces respectively.
5080
5081 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5082 Likewise.
f80efb86
SM
5083 (flyspell-incorrect-face, flyspell-duplicate-face):
5084 Remove obsolete aliases.
4b56d0fe 5085
03310646
MA
50862012-06-08 Michael Albinus <michael.albinus@gmx.de>
5087
5088 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5089 Avoid infloop.
5090
513749ee
SM
50912012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5092
5093 * startup.el (argv, argi): Make lexically scoped.
5094 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5095 * emacs-lisp/cl-macs.el: Use lexical-binding.
5096 Rename cl-bind-* to cl--bind-*.
5097 * files.el: Don't require `cl' since it doesn't use it.
5098 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5099
595ef4ad
JB
51002012-06-08 Juanma Barranquero <lekktu@gmail.com>
5101
5102 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5103 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5104 instead of calling external sort utility.
5105 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5106
e9f66fcb
EZ
51072012-06-08 Eli Zaretskii <eliz@gnu.org>
5108
5109 * descr-text.el (describe-char): Mention how to insert the
5110 character, if the current input method doesn't support it.
5111 See the discussion in this thread for the details:
5112 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5113
3d10db47
SS
51142012-06-08 Sam Steingold <sds@gnu.org>
5115
5116 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5117 XF86Back to previous-buffer.
5118 (minibuffer-local-map): Bind them to next-history-element and
5119 previous-history-element respectively.
5120 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5121 help-go-back respectively.
5122 * info.el (Info-mode-map): Bind them to Info-history-forward and
5123 Info-history-back respectively.
5124 These are the keys next to Up on the ThinkPad keyboard.
5125
de7e2b36
SM
51262012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5129 * emacs-lisp/cl-macs.el: Provide itself.
5130 (cl--labels-convert-cache): New var.
5131 (cl--labels-convert): New function.
5132 (cl-flet, cl-labels): New implementation with new semantics, relying on
5133 lexical-binding.
5134 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5135 (cl-closure-vars, cl--function-convert-cache)
5136 (cl--function-convert): Move from cl-macs.el.
5137 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5138 rename by removing the "cl-" prefix.
5139 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5140
6fa6c4ae
SM
51412012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5142
5143 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5144 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5145 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5146 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5147 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5148 (cl-hash-table-count): Add old compatibility aliases.
5149
5150 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5151 Use macroexpand-all-environment instead.
5152 (cl--old-macroexpand): New var.
5153 (cl--sm-macroexpand): New function.
5154 (cl-symbol-macrolet): Use it during macro expansion.
5155 (cl--function-convert-cache): New var.
5156 (cl--function-convert): New function, extracted from
5157 cl-macroexpand-all.
5158 (cl-lexical-let): Use it.
5159
5160 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5161 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5162 (cl-member): Remove old alias.
5163
5164 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5165 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5166 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5167 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5168 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5169 (cl-macroexpand-cmacs): Remove var.
5170 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5171 Use macroexpand-all instead.
5172
4dd1c416
SM
51732012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5174
5175 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5176 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5177 (macroexp-copyable-p): New functions and macros.
5178 * emacs-lisp/edebug.el (edebug-unwrap):
5179 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5180 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5181 (pcase--let*): Remove.
5182 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5183 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5184 macroexp-const-p instead.
5185 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5186
5187 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5188 instead of "cl-" for internal definitions. Use macroexp-const-p.
5189 (cl-old-bc-file-form): Remove var.
5190 (cl-const-exprs-p): Remove fun.
5191 (cl-labels, cl-macrolet): Use backquote.
5192 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5193 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5194 (cl-define-setf-expander): Rename from cl-define-setf-method.
5195 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5196
5197 * international/mule-cmds.el: Don't require CL.
5198 (view-hello-file): Don't use `letf'.
5199
ed8bd4d7
SM
52002012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5201
7287f2f3
SM
5202 * tmm.el (tmm-prompt): Use string-prefix-p.
5203 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5204 (tmm-add-prompt): Use minibuffer-completion-help.
5205 (tmm-delete-map): Remove.
5206
ed8bd4d7
SM
5207 * subr.el (kbd): Make it its own function.
5208
7b4cdbf4
SM
52092012-06-07 Stefan Merten <smerten@oekonux.de>
5210
5211 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5212 Silence compiler warnings. Fix versions.
ed8bd4d7 5213 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5214 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5215 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5216 (rst-package-emacs-version-alist): Correct Emacs version to
5217 represent major merge with upstream.
ed8bd4d7 5218 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5219
2b48d721
GM
52202012-06-06 Glenn Morris <rgm@gnu.org>
5221
5222 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5223 Only print environment variables if set.
5224
fa779ab0
SM
52252012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5226
5227 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5228 (macroexp--cons): Rename from maybe-cons.
5229 (macroexp--accumulate): Rename from macroexp-accumulate.
5230 (macroexp--all-forms): Rename from macroexpand-all-forms.
5231 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5232 (macroexp--expand-all): Rename from macroexpand-all-1.
5233
628299e0
SS
52342012-06-06 Sam Steingold <sds@gnu.org>
5235
5236 * calendar/calendar.el (calendar-in-read-only-buffer):
5237 Call `special-mode' to enable the standard read-only keybindings.
5238
b7bb5838
SM
52392012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5240
5241 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5242 with "loading" messages (bug#11635).
5243
dfb308ba
MA
52442012-06-06 Michael Albinus <michael.albinus@gmx.de>
5245
5246 * files.el (enable-remote-dir-locals): New option.
5247 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5248
0372ee92
MA
5249 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5250 Ensure, that the temp directory is local.
5251
5252 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5253 `temporary-file-directory'.
5254
eed0bb91
MA
5255 * progmodes/python.el (python-send-region): Ensure, that the
5256 temporary file is created also in the remote case.
5257
7a58f64d
GM
52582012-06-06 Glenn Morris <rgm@gnu.org>
5259
f7dd4e98
GM
5260 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5261 (vc-rcs-update-changelog): Use it.
5262
090bd7cb 5263 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5264
7a58f64d
GM
5265 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5266 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5267 (vc-sccs-diff): Replace use of the external vcdiff script.
5268
daed4003
GM
52692012-06-05 Glenn Morris <rgm@gnu.org>
5270
5271 * ledit.el: Move to obsolete/.
5272
48c455c7
SS
52732012-06-05 Sam Steingold <sds@gnu.org>
5274
ed9265fc 5275 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5276 patch (Bug#11140).
5277
57a7d507
SM
52782012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5279
090bd7cb 5280 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5281
53aacf21
SM
5282 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5283 compiler-macro expansion.
5284
57a7d507
SM
5285 Add native compiler-macro support.
5286 * emacs-lisp/macroexp.el (macroexpand-all-1):
5287 Support compiler-macros directly. Properly follow aliases and apply
5288 the compiler macros more thoroughly.
5289 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5290 macroexpand now properly follows aliases.
5291 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5292 (cl-compiler-macroexpand): Use new prop.
5293 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5294
5295 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5296
51a5f9d8
MR
52972012-06-05 Martin Rudalics <rudalics@gmx.at>
5298
5299 * window.el (get-lru-window, get-mru-window, get-largest-window):
5300 New argument NOT-SELECTED to avoid picking the selected window.
5301 (window--display-buffer-1, window--display-buffer-2): Replace by
5302 new function window--display-buffer
5303 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5304 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5305 Use window--display-buffer.
51a5f9d8
MR
5306 (display-buffer-use-some-window): Remove temporary dedication
5307 hack by calling get-lru-window and get-largest-window with
5308 NOT-SELECTED argument non-nil. Call window--display-buffer.
5309
08f9f738
GM
53102012-06-05 Glenn Morris <rgm@gnu.org>
5311
5312 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5313 Replace external vcdiff script.
5314
e364a2b7
SM
53152012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5316
5317 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5318
041df390
CY
53192012-06-04 Chong Yidong <cyd@gnu.org>
5320
e364a2b7
SM
5321 * image.el (imagemagick-types-inhibit): Revert last change.
5322 Add INFO and M.
47b36b94 5323 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5324
7c1898a7
SM
53252012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5326
5327 * emacs-lisp/cl-lib.el: Rename from cl.el.
5328 * emacs-lisp/cl.el: New compatibility file.
5329 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5330 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5331 to obey the "cl-" prefix.
5332 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5333
0c3461de
GM
53342012-06-03 Glenn Morris <rgm@gnu.org>
5335
1e266c88
GM
5336 * emacs-lisp/authors.el (authors-aliases): Addition.
5337
0c3461de
GM
5338 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5339 Fix :version.
5340
d8a52e15
SM
53412012-06-03 Stefan Merten <smerten@oekonux.de>
5342
5343 * textmodes/rst.el: Add comments.
5344 (rst-transition, rst-adornment): New faces.
5345 (rst-adornment-faces-alist): Make default safe to reevaluate.
5346 Fixes
5347 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5348 Improve customization tags.
5349 (rst-define-level-faces): Clarify meaning.
5350
5205d6f6
CY
53512012-06-03 Chong Yidong <cyd@gnu.org>
5352
5353 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5354 (compilation-mode-line-run, compilation-mode-line-exit):
5355 New faces.
5205d6f6
CY
5356 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5357
757ee657
JD
53582012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5359
7c1898a7
SM
5360 * progmodes/which-func.el (which-func-update-ediff-windows):
5361 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5362
5f2c76c6
CY
53632012-06-03 Chong Yidong <cyd@gnu.org>
5364
5365 * bindings.el: Remove explicit help text from format-mode-line.
5366 It is now supplied by mode-line-default-help-echo.
5367 (mode-line-front-space, mode-line-end-spaces)
5368 (mode-line-misc-info): New variables.
5369 (mode-line-modes, mode-line-position): Move the default value to
5370 the variable definition.
5371 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5372 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5373 (mode-line-modified-help-echo): New functions.
5374 (mode-line-mule-info, mode-line-modified): Use them.
5375 (mode-line-eol-desc, propertized-buffer-identification):
5376 Consistency fixes for help text.
cbe46e5f
CY
5377 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5378 set-buffer-file-coding-system (Bug#289).
5379 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5380
f2d6a3df
SM
53812012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5382
5383 * simple.el (execute-extended-command): Set real-this-command
5384 (bug#11506).
5385
37269466
CY
53862012-06-02 Chong Yidong <cyd@gnu.org>
5387
5388 Remove incorrect uses of "modeline" in comments, docstrings, and
5389 function/variable names (Bug#10329).
5390
5391 * cus-edit.el (mode-line):
5392 * dframe.el (dframe-mouse-hscroll):
5393 * emacs-lisp/re-builder.el:
5394 * emacs-lisp/easy-mmode.el (define-minor-mode):
5395 * frame.el (set-frame-name):
5396 * help.el (lookup-minor-mode-from-indicator):
5397 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5398 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5399 (c-toggle-hungry-state):
5400 * progmodes/antlr-mode.el (antlr-language-alist):
5401 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5402 * progmodes/vhdl-mode.el (vhdl-mode):
5403 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5404 * term/ns-win.el (ns-face-at-pos):
5405 * term/sup-mouse.el (sup-mouse-report):
5406 * textmodes/flyspell.el (flyspell-mode-line-string):
5407 * textmodes/ispell.el (ispell-highlight-face):
5408 * textmodes/reftex-global.el:
5409 * vc/vc-arch.el (vc-arch-mode-line-string):
5410 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5411 * vc/vc-git.el (vc-git-mode-line-string):
5412 * vc/vc-hooks.el (vc-display-status)
5413 (vc-default-mode-line-string):
5414 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5415
5416 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5417
5418 * dired.el (dired-sort-set-mode-line): Rename from
5419 dired-sort-set-modeline. All callers changed.
5420
5421 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5422 eshell-status-in-modeline.
5423
5424 * foldout.el (foldout-mode-line-string): Rename from
5425 foldout-modeline-string. All callers changed.
5426 (foldout-update-mode-line): Rename from foldout-update-modeline.
5427
5428 * subr.el (redraw-modeline): Make into obsolete alias.
5429
5430 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5431 timeclock-modeline-display. Make old name an alias.
5432 (timeclock-update-mode-line): Likewise. All callers changed.
5433 (timeclock-mode-line-display): No need to check before using
5434 add-hook.
5435 (timeclock-relative, timeclock-day-over-hook)
5436 (timeclock-use-elapsed, timeclock-mode-string)
5437 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5438
5439 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5440 crisp-mode-modeline-string.
5441
5442 * play/solitaire.el (solitaire-build-mode-line): Rename from
5443 solitaire-build-modeline. All callers changed.
5444
5445 * play/zone.el (zone-hiding-mode-line): Rename from
5446 zone-hiding-modeline. All callers changed.
5447 (zone): Remove unusued `modeline-hidden-level' property.
5448
5449 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5450 xscheme-modeline-initialize. All callers changed.
5451
5452 * strokes.el (strokes-lighter): Rename from
5453 strokes-modeline-string.
5454
5455 * textmodes/sgml-mode.el (html-face-tag-alist)
5456 (html-tag-face-alist): Use mode-line face instead of obsolete
5457 alias modeline.
5458
42152ee4
SM
54592012-06-02 Stefan Merten <smerten@oekonux.de>
5460
5461 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5462 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5463
95f520b5
CY
54642012-06-02 Chong Yidong <cyd@gnu.org>
5465
5466 * image.el (imagemagick-enabled-types): Rename from
5467 imagemagick-types-enable. Add many more types.
5468 (imagemagick-types-inhibit): Change default to nil.
5469 (imagemagick-filter-types): Caller changed.
5470
4a5f187a
SM
54712012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5472
03fef3e6
SM
5473 * emacs-lisp/cl-macs.el: Use backquotes.
5474 (cl-transform-function-property): Use eval-and-compile rather than
5475 abusing `require'.
5476 (defstruct): Use declare-function instead of with-no-warnings.
5477
4a5f187a
SM
5478 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5479 (byte-compile-output-docform): Re-add the print-circle bindings.
5480 (byte-compile-fix-header): Use #$ just because it's shorter.
5481 (byte-compile-output-file-form): Remove defun/defmacro.
5482
bd56924f
MR
54832012-06-01 Martin Rudalics <rudalics@gmx.at>
5484
5485 * simple.el (choose-completion): Remove now obsolete binding for
5486 owindow.
5487
046e38ce
MA
54882012-06-01 Michael Albinus <michael.albinus@gmx.de>
5489
5490 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5491 in order to avoid "Stack overflow in regexp matcher".
5492
32d72c2f
GM
54932012-05-31 Glenn Morris <rgm@gnu.org>
5494
5495 * image.el: For clarity, call imagemagick-register-types at
5496 top-level, rather than relying on a custom :initialize.
5497 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5498 (imagemagick-filter-types): New function. (Bug#7406)
5499 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5500 If disabling support, remove elements altogether rather
5501 than using an impossible regexp.
5502 (imagemagick-types-inhibit): Give it the default init function.
5503
dd41169b
SM
55042012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5505
4a5f187a
SM
5506 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5507 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5508
efc00ab1 55092012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5510
5511 * desktop.el (desktop-read): Clear previous and next buffers for
5512 all windows and bury *Messages* buffer (bug#11556).
5513
500fcedc
SM
55142012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5515
5516 Add `declare' for `defun'. Align `defmacro's with it.
5517 * emacs-lisp/easy-mmode.el (define-minor-mode)
5518 (define-globalized-minor-mode): Don't autoload the var definitions.
5519 * emacs-lisp/byte-run.el: Use lexical-binding.
5520 (defun-declarations-alist, macro-declarations-alist): New vars.
5521 (defmacro, defun): Use them.
5522 (make-obsolete, define-obsolete-function-alias)
5523 (make-obsolete-variable, define-obsolete-variable-alias):
5524 Use `declare'.
5525 (macro-declaration-function): Mark obsolete.
5526 * emacs-lisp/autoload.el: Use lexical-binding.
5527 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5528
6e8a1786
AM
55292012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5530
5531 * textmodes/ispell.el (ispell-with-no-warnings):
5532 Define as a macro.
500fcedc
SM
5533 (ispell-kill-ispell, ispell-change-dictionary):
5534 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5535 `interactive-p'.
5536
61b108cc
SM
55372012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5538
5539 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5540 (macro-declaration-function): Move var from C code.
5541 (macro-declaration-function): Define function with defalias.
5542 * emacs-lisp/macroexp.el (macroexpand-all-1):
5543 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5544 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5545 defun/defmacro any more.
5546 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5547 Provide fallback for unknown arglist.
5548 (byte-compile-arglist-warn): Change calling convention.
5549 (byte-compile-output-file-form): Move print-vars binding.
5550 (byte-compile-output-docform): Simplify accordingly.
5551 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5552 (byte-compile-defmacro-declaration): Remove.
5553 (byte-compile-file-form-defmumble): Generalize to defalias.
5554 (byte-compile-output-as-comment): Return byte-positions.
5555 Simplify callers accordingly.
5556 (byte-compile-lambda): Use `assert'.
5557 (byte-compile-defun, byte-compile-defmacro): Remove.
5558 (byte-compile-file-form-defalias):
5559 Use byte-compile-file-form-defmumble.
5560 (byte-compile-defalias-warn): Remove.
5561
6d3f7c2f
SM
55622012-05-29 Stefan Merten <smerten@oekonux.de>
5563
5564 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5565 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5566
5567 (rst-mode-abbrev-table): Merge definition.
5568 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5569 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5570
6dbaa1c7
UJ
55712012-05-29 Ulf Jasper <ulf.jasper@web.de>
5572
5573 * calendar/icalendar.el
5574 (icalendar-export-region): Export UID properly.
5575
d209e2fb 55762012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5577 * calendar/icalendar.el (icalendar-import-format):
5578 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5579 (icalendar-import-format-uid): New.
5580 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5581 Export UID.
5582
6876a58d
SM
55832012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5584
5585 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5586 different alternative patterns.
5587 (pcase-codegen): Be more careful to preserve identity.
5588 (pcase--u1): Don't forget to mark vars as used.
5589
5590 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5591 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5592 (byte-compile-from-buffer): ...rather than here.
5593
5594 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5595 functions from byte-compile-function-environment.
5596
46b7967e
TN
55972012-05-29 Troels Nielsen <bn.troels@gmail.com>
5598
5599 * window.el (window-deletable-p): Avoid deleting the root window
5600 of a frame with an active minibuffer.
5601
69d565e2
MR
56022012-05-29 Martin Rudalics <rudalics@gmx.at>
5603
5604 * simple.el (choose-completion): Use quit-window (Bug#11567).
5605
a149fa51
CY
56062012-05-29 Chong Yidong <cyd@gnu.org>
5607
5608 * whitespace.el (whitespace-cleanup): Fix usage of
5609 whitespace-empty-at-bob-regexp (Bug#11492).
5610
2b311310
AH
56112012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5612
5613 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5614 revert (Bug#11488).
5615
b9cb2387
JL
56162012-05-29 Juri Linkov <juri@jurta.org>
5617
5618 * isearch.el (isearch-mode-map): Bind `M-s _' to
5619 `isearch-toggle-symbol'. Bind `M-s c' to
5620 `isearch-toggle-case-fold'.
5621 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5622 (isearch-forward): Add `M-s _' to the docstring.
5623 (isearch-forward-symbol, isearch-toggle-case-fold)
5624 (isearch-symbol-regexp): New functions. (Bug#11381)
5625
d5e61c1c
JL
56262012-05-29 Juri Linkov <juri@jurta.org>
5627
5628 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5629 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5630 a function, call it to get the regexp.
5631 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5632 property `isearch-message-prefix' instead of the string "word ".
5633 (isearch-search-fun-default): For the case of `isearch-word',
5634 return a lambda that calls re-search-forward/re-search-backward
5635 with a regexp returned by `word-search-regexp' or by the function
5636 in `isearch-word'.
5637
8cbd80f7
JL
56382012-05-29 Juri Linkov <juri@jurta.org>
5639
5640 * isearch.el (isearch-search-fun-default): New function.
5641 (isearch-search-fun): Move default part to the new function
5642 `isearch-search-fun-default'.
5643 (isearch-search-fun-function): Set the default value to
5644 `isearch-search-fun-default'. (Bug#11381)
5645
5646 * comint.el (comint-history-isearch-end):
5647 Use `isearch-search-fun-default'.
5648 (comint-history-isearch-search): Use `isearch-search-fun-default'
5649 and remove spacial case for `isearch-word'.
5650 (comint-history-isearch-wrap): Remove spacial case for
5651 `isearch-word'.
5652
5653 * hexl.el (hexl-isearch-search-function):
5654 Use `isearch-search-fun-default'.
5655
5656 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5657 Use `word-search-regexp' for `isearch-word'.
5658
5659 * misearch.el (multi-isearch-search-fun):
5660 Use `isearch-search-fun-default'.
5661
5662 * simple.el (minibuffer-history-isearch-search):
5663 Use `isearch-search-fun-default' and remove spacial case for
5664 `isearch-word'.
5665 (minibuffer-history-isearch-wrap): Remove spacial case for
5666 `isearch-word'.
5667
5668 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5669 Remove spacial case for `isearch-word'.
5670 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5671
85c8c5b6
AM
56722012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5673
5674 Decrease XEmacs incompatibilities.
5675 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5676 Use `string-match'.
5677 (flyspell-delete-region-overlays): Use alternative definition for
5678 XEmacs.
5679 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5680 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5681 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5682 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5683 `define-obsolete-face-alias' under XEmacs, but old method.
5684
5685 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5686 `with-no-warnings' definition or Emacs alias.
5687 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5688 (ispell-word): Do not use `region-p' if XEmacs.
5689
8cab9efc
AM
56902012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5691
5692 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5693 Check for `ispell-dictionary-base-alist' instead of full
5694 `ispell-dictionary-alist'.
5695 (ispell-init-process): Show spellchecker when starting new Ispell
5696 process.
5697
fda91268
RZ
56982012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5701 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5702
694ea8e3
JB
57032012-05-27 Juanma Barranquero <lekktu@gmail.com>
5704
5705 * version.el (motif-version-string, gtk-version-string)
5706 (ns-version-string): Declare.
5707
e4d4f539
JL
57082012-05-27 Juri Linkov <juri@jurta.org>
5709
5710 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5711 after the `eval-defun-1' specialcaseing
5712 like in `edebug-eval-defun' (bug#10181).
5713
5714 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5715 like in `eval-defun-1'.
5716
33017faf 57172012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5718
fda91268
RZ
5719 * mail/sendmail.el (mail-yank-region):
5720 Recognize rmail-yank-current-message in addition to insert-buffer.
5721 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5722 a *mail* buffer created through rmail-start-mail with sendmail as
5723 mail-user-agent.
5724
33017faf
GM
57252012-05-27 Chong Yidong <cyd@gnu.org>
5726
5727 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5728 Default to 256 (Bug#11267).
5729
5730 * help.el (describe-mode): Doc fix.
5731
04188bb9
GM
57322012-05-26 Glenn Morris <rgm@gnu.org>
5733
38264cc9
GM
5734 * w32-fns.el (w32-init-info): Remove.
5735 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5736
eb7afdad
GM
5737 * info.el (info-initialize): For self-contained NS builds, put the
5738 included info/ directory at the front. (Bug#2791)
5739
04188bb9
GM
5740 * paths.el (Info-default-directory-list): Make it a defcustom,
5741 mainly so that we can use custom-initialize-delay.
5742
a179e3f7
SM
57432012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5744
43416392
SM
5745 * subr.el (buffer-has-markers-at): Mark obsolete.
5746
a179e3f7 5747 * subr.el (lambda): Use declare.
43416392 5748
a179e3f7
SM
5749 * emacs-lisp/lisp-mode.el (lambda):
5750 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5751
34a008d9
AH
57522012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5753
5754 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5755
0a3b289f
GM
57562012-05-26 Glenn Morris <rgm@gnu.org>
5757
5758 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5759
758c81e8
GM
57602012-05-25 Glenn Morris <rgm@gnu.org>
5761
f9f334f0
GM
5762 * paths.el: Remove no-byte-compile.
5763 * loadup.el: No need to load paths.el uncompiled.
5764
87eb79c2
GM
5765 * image.el (imagemagick-types-inhibit): Doc fix.
5766
758c81e8
GM
5767 * version.el: Remove no-byte-compile and associated formatting.
5768 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5769 is ancient code from when there was an "inc-vers.el".
5770
e7e85dc0
SM
57712012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5772
5773 * progmodes/gdb-mi.el: Minor style changes.
5774 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5775 Turn into minor modes.
5776 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5777 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5778 (gdb-shell): Remove unneeded let-binding.
5779 (gdb-get-many-fields): Eliminate O(n²) behavior.
5780
f31237a4
EZ
57812012-05-25 Eli Zaretskii <eliz@gnu.org>
5782
5783 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5784 platforms that don't link in fontset.c.
5785
bc1b21bb
JL
57862012-05-25 Juri Linkov <juri@jurta.org>
5787
5788 Use the same diff color scheme as in modern VCSes (bug#10181).
5789
5790 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5791 to avoid confusion with `diff-added' that now uses green colors.
5792 (diff-removed): Use shades of red.
5793 (diff-added): Use shades of green.
5794 (diff-changed): Leave just the yellow color.
5795 (diff-use-changed-face): New variable.
5796 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5797 how to highlight context diff changes.
5798 (diff-refine-change): Use shades of yellow.
5799 (diff-refine-removed): New face that uses shades of red.
5800 (diff-refine-added): New face that uses shades of green.
5801 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5802 `diff-refine-removed' in the call to `smerge-refine-subst'
5803 depending on the value of `diff-use-changed-face'.
5804
5805 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5806 (smerge-other): Use shades of green.
5807 (smerge-base): Use shades of yellow.
5808 (smerge-refined-change): Empty face.
5809 (smerge-refined-removed): New face that uses shades of red.
5810 (smerge-refined-added): New face that uses shades of green.
5811 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5812 args `props-r' and `props-a', and use them. Doc fix.
5813 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5814 on its value use different faces `smerge-refined-change',
5815 `smerge-refined-removed', `smerge-refined-added' in the call to
5816 `smerge-refine-subst'.
5817
5818 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5819 Add face condition `min-colors 88' with shades of red.
5820 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5821 `min-colors 88' with shades of green.
5822 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5823 `min-colors 88' with shades of yellow.
5824
6df9112c
GM
58252012-05-24 Glenn Morris <rgm@gnu.org>
5826
ead5edc0
GM
5827 * paths.el (prune-directory-list, remote-shell-program): Move to...
5828 * files.el (prune-directory-list, remote-shell-program): ...here.
5829 For the latter, delay initialization, prefer ssh, just search PATH.
5830
f18b81e6
GM
5831 * paths.el (term-file-prefix): Move to faces.el (the only user).
5832 * faces.el (term-file-prefix): Move here, make it a defcustom.
5833
ee2f89a6
GM
5834 * paths.el (news-directory, news-path, news-inews-program):
5835 Move to gnus/nnspool.el.
61a583ca 5836
f8815e4c
GM
5837 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5838
c8f3b42c
GM
5839 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5840 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5841 Make the latter a defcustom, with a delayed initialization.
5842
6df9112c
GM
5843 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5844 These were deleted from Gnus itself late 2010.
5845
5dadff36
JB
58462012-05-22 Juanma Barranquero <lekktu@gmail.com>
5847
9e1701c6
JB
5848 * progmodes/which-func.el (which-func-ff-hook):
5849 Check against user-error, not error.
5850
bd7239f5 5851 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5852 cl-specs.el, which no longer exists.
5853
3290526d
GM
58542012-05-22 Glenn Morris <rgm@gnu.org>
5855
5856 * info.el (info-emacs-bug): New command.
5857 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5858 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5859
ff0c3cfb
GM
58602012-05-21 Glenn Morris <rgm@gnu.org>
5861
5862 * makefile.w32-in (update-subdirs-SH):
5863 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5864
5814f126
SM
58652012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5866
a52c0aa0
SM
5867 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5868
5814f126
SM
5869 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5870 Simplify Maven regexp, and make sure the file can't start with a space
5871 (bug#11517).
5872
b847032c
GM
58732012-05-21 Glenn Morris <rgm@gnu.org>
5874
5875 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5876 Scrap superfluous subshells.
5877
3858bfe7
SM
58782012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5879
5880 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5881 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5882
d14b0029
JB
58832012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5884
5885 * calc/calc.el (calc-ensure-consistent-units): New variable.
5886
a52c0aa0
SM
5887 * calc/calc-units.el (math-consistent-units-p)
5888 (math-check-unit-consistency): New functions.
5889 (calc-quick-units, calc-convert-units):
5890 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5891 is non-nil.
d14b0029
JB
5892 (calc-extract-units): Fix typo.
5893
60c4db3a
SM
58942012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5895
77f3b62e
SM
5896 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5897
60c4db3a
SM
5898 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5899 (flyspell-default-deplacement-commands): Don't spell check after
5900 repeated window/frame switches (e.g. triggered by mouse-movement).
5901 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5902 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5903 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5904 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5905 Remove unused vars.
5906 (flyspell-get-casechars, flyspell-get-not-casechars):
5907 Simplify; Don't bother removing a ] just to add it back.
5908 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5909
d209e2fb 59102012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5911
5912 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5913 New functions.
bd7239f5 5914 (math-function-table): Add support for more C functions.
b1a10716 5915
3f1b25b5
AM
59162012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5917
090bd7cb
JB
5918 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5919 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5920 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5921
b581bb5c
SM
59222012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5925 their respective macro declarations.
5926 * skeleton.el (define-skeleton):
5927 * progmodes/compile.el (define-compilation-mode):
5928 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5929 (define-ibuffer-filter):
5930 * emacs-lisp/generic.el (define-generic-mode):
5931 * emacs-lisp/easy-mmode.el (define-minor-mode)
5932 (define-globalized-minor-mode):
5933 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5934 * emacs-lisp/byte-run.el (defsubst):
5935 * custom.el (deftheme): Add doc-string metadata.
5936
70b8ef8f
SM
59372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5940
b1198e17
SM
59412012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5942
9abdc45d
SM
5943 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5944
b1198e17
SM
5945 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5946 * emacs-lisp/cl-macs.el: Idem.
5947 * emacs-lisp/cl-specs.el: Remove.
5948
4735906a
SM
59492012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5950
5951 Minor renaming of internal CL functions and variables.
5952 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5953 (cl--position): Rename from cl-position.
5954 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5955 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5956 (cl--random-state): Rename from *random-state*.
5957
ac348012
SM
59582012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5961 parens around the arg list (bug#11499).
5962
a0a79cde
JL
59632012-05-17 Juri Linkov <juri@jurta.org>
5964
5965 * isearch.el (word-search-regexp, word-search-backward)
5966 (word-search-forward, word-search-backward-lax)
5967 (word-search-forward-lax): Move functions from search.c
5968 (bug#10145, bug#11381).
5969
65034a51
AM
59702012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5971
090bd7cb
JB
5972 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5973 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5974 Delay for otherchars as for normal word components.
65034a51 5975
1a72a195
SM
59762012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5977
5978 * minibuffer.el (completion--sifn-requote): Fix last change.
5979 (minibuffer-local-must-match-filename-map):
5980 Move define-obsolete-variable-alias before its var.
5981
fdb058c2
SM
59822012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5983
c41045e6
SM
5984 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5985
036dfb8b
SM
5986 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5987 behavior.
5988 (completion--string-equal-p): New function.
5989 (completion--twq-all): Use it to get better assertion failure data.
5990
2473256d
SM
5991 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5992 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5993 (shell--requote-argument): New functions.
5994 (shell-completion-vars): Use them.
5995 (shell--parse-pcomplete-arguments): Rename from
5996 shell-parse-pcomplete-arguments.
5997 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5998 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5999 Obey comint-file-name-quote-list.
6000
fdb058c2
SM
6001 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6002 (smie-indent-keyword): Use it.
6003
51fa99f1
SM
60042012-05-14 Stefan Merten <smerten@oekonux.de>
6005
6006 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6007
e18afed7 60082012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6009
6010 * net/rlogin.el (rlogin-mode-map): Fix last change.
6011
e18afed7 60122012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6013
6014 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6015 the following \r\n using a single `process-send-string', since the
6016 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6017 with two `process-send-string's (Bug#11444).
8633b1f4 6018
e18afed7 60192012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6020
fdb058c2
SM
6021 * shell.el (shell-parse-pcomplete-arguments):
6022 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6023
2d21d7f6
WJ
60242012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6025
e18afed7 6026 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6027 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6028 (image-transform-width, image-transform-fit-width): New functions.
6029 (image-transform-properties): Use them.
6030 (image-transform-check-size): New function.
6031 (image-toggle-display-image): Use it (for testing).
6032 (image-transform-set-rotation): Reduce angle mod 360.
6033 Delete obsolete comment.
6034
7102e6d0
WJ
60352012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6036
6037 * image-mode.el: Fix scaling (bug#11399).
6038 (image-transform-resize): Doc fix.
6039 (image-transform-properties): Default scale is 1 and height should
6040 be an integer.
6041
06bc5e6e
SM
60422012-05-13 Johan Bockgård <bojohan@gnu.org>
6043
6044 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6045 than hard-coding `car', to fix misbehavior when moving forward.
6046
0ae03b6a
CY
60472012-05-13 Chong Yidong <cyd@gnu.org>
6048
6049 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6050 (tabulated-list-entries, tabulated-list-padding)
6051 (tabulated-list-sort-key): Make permanent-local.
6052
6053 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6054 (electric-buffer-list): Put electric buffer menu
6055 command descriptions in this docstring, instead of the docstring
6056 of electric-buffer-menu-mode. Code cleanups.
6057 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6058 Electric-buffer-menu-mode.
6059 (electric-buffer-update-highlight): Minor code cleanup.
6060
205a7391
MA
60612012-05-13 Michael Albinus <michael.albinus@gmx.de>
6062
6063 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6064 (Bug#11447)
6065
e5bd0a28
SM
60662012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 Move define-obsolete-variable-alias before the var's definition.
6069 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6070 * tooltip.el (tooltip-hook):
6071 * textmodes/reftex-toc.el (reftex-toc-map):
6072 * textmodes/reftex-sel.el (reftex-select-label-map)
6073 (reftex-select-bib-map):
6074 * textmodes/reftex-index.el (reftex-index-map)
6075 (reftex-index-phrases-map):
6076 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6077 * progmodes/meta-mode.el (meta-mode-map):
6078 * novice.el (disabled-command-hook):
6079 * loadhist.el (unload-hook-features-list):
6080 * frame.el (blink-cursor):
6081 * files.el (find-file-not-found-hooks, write-file-hooks)
6082 (write-contents-hooks):
6083 * emulation/tpu-edt.el (GOLD-map):
6084 * emacs-lock.el (emacs-lock-from-exiting):
6085 * emacs-lisp/generic.el (generic-font-lock-defaults):
6086 * emacs-lisp/chart.el (chart-map):
6087 * dos-fns.el (register-name-alist):
6088 * dired-x.el (dired-omit-files-p):
6089 * desktop.el (desktop-enable):
6090 * cus-edit.el (custom-mode-hook):
6091 * buff-menu.el (buffer-menu-mode-hook):
6092 * bookmark.el (bookmark-read-annotation-text-func)
6093 (bookmark-exit-hooks):
6094 * allout.el (allout-mode-deactivate-hook)
6095 (allout-exposure-change-hook, allout-structure-added-hook)
6096 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6097 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6098 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6099 comes before the corresponding variable's definition.
6100
ac59c2f6
CY
61012012-05-12 Chong Yidong <cyd@gnu.org>
6102
6103 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6104 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6105 (Buffer-menu-mode-map): Bind it.
6106 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6107
dee6c9a3
SM
61082012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6109
2171cea5
SM
6110 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6111 (prolog-upper-case-string, prolog-lower-case-string)
6112 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6113 (prolog-use-smie, prolog-smie-grammar): New vars.
6114 (prolog-smie-forward-token, prolog-smie-backward-token)
6115 (prolog-smie-rules): New funs.
6116 (prolog-comment-indent): Remove.
6117 (prolog-mode-variables): Use default comment indentation instead.
6118 Setup SMIE.
6119 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6120 (prolog-mode): Don't call them any more.
6121 (prolog-electric-colon, prolog-electric-dash)
6122 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6123
aa0382bd
SM
6124 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6125
dbacb4bd
SM
6126 * minibuffer.el (completion--twq-all): Again, allow case differences.
6127
13bdd94c
SM
6128 * term.el: Move keymap initialization code to be more idiomatic.
6129 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6130 (term-terminal-menu): Move initialization into declaration.
6131 (term-escape-char): Let the user set it in her .emacs.
6132
ff46c759
SM
6133 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6134 Provide SMIE-based indentation (not enabled by default yet).
6135 (sh-mode-map): Don't bind electric keys.
6136 Use electric-pair-mode instead of skeleton-pair.
6137 (sh-assignment-regexp): Fit within 80 columns.
6138 (sh-indent-supported): Specify actual shell name instead of boolean.
6139 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6140 (sh-maybe-here-document): Use it. Make obsolete.
6141 (sh-electric-here-document-mode) New minor mode.
6142 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6143 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6144 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6145 (sh-smie-rc-grammar, sh-use-smie): New vars.
6146 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6147 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6148 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6149 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6150 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6151 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6152 (sh-set-shell): Use smie-setup if requested.
6153
dee6c9a3
SM
6154 * term.el (term-set-escape-char): Properly set term-escape-char.
6155 See http://stackoverflow.com/questions/10524656.
6156
9f9aa044
CY
61572012-05-10 Chong Yidong <cyd@gnu.org>
6158
6159 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6160 Use url-generic-parse-url, and handle host names and Windows
6161 filenames properly.
6162 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6163 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6164 URL schemes to work on.
6165 (ffap--toggle-read-only): New function.
6166 (ffap-read-only, ffap-read-only-other-window)
6167 (ffap-read-only-other-frame): Use it.
6168 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6169 necessary for ffap-url-unwrap-remote.
6170
836d29b3
DA
61712012-05-10 Dave Abrahams <dave@boostpro.com>
6172
6173 * cus-start.el (create-lockfiles): Add it.
6174
00fd78ed
CY
61752012-05-09 Chong Yidong <cyd@gnu.org>
6176
6177 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6178 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6179
666b903b 61802012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6181
6182 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6183
666b903b 61842012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6185
6186 * ansi-color.el (ansi-color-process-output): Check for validity of
6187 comint-last-output-start before using it. This avoids a bad
6188 interaction with gdb-mi's input/output buffer.
6189
666b903b 61902012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6191
6192 * files.el (dir-locals-read-from-file):
6193 Mention dir-locals in any error message.
6194
666b903b 61952012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6196
6197 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6198 package (Bug#11410).
6199
f677562b
CY
6200 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6201 variables into description.
6202
666b903b 62032012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6204
6205 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6206 shell-delimiter-argument-list (bug#11348).
6207 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6208
b499d8d0
JB
62092012-05-09 Juanma Barranquero <lekktu@gmail.com>
6210
8f6b6da8
JB
6211 * textmodes/rst.el: Silence byte-compiler warnings.
6212 (rst-re-alist, rst-reset-section-caches): Move around.
6213 (rst-re): Use `characterp', not `char-valid-p'.
6214 (font-lock-beg, font-lock-end): Declare.
6215
4824146a
JB
6216 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6217 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6218
b499d8d0
JB
6219 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6220
ad89bb83
GM
62212012-05-08 Glenn Morris <rgm@gnu.org>
6222
6223 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6224
8bba5a75
SM
62252012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6226
49ed9c8e
SM
6227 * vc/log-edit.el: Add GNU coding standards highlighting.
6228 (log-edit-font-lock-gnu-style)
6229 (log-edit-font-lock-gnu-keywords): New vars.
6230 (log-edit-font-lock-keywords): New fun.
6231 (log-edit-mode): Don't fold case in font-lock.
6232 (log-edit-font-lock-keywords): Do not assume case-folding.
6233
07d00b56
SM
6234 * imenu.el: Misc cleanup. Make docstrings out of comments.
6235 Use lexical-binding.
6236 (imenu--index-alist, imenu--last-menubar-index-alist)
6237 (imenu-menubar-modified-tick): Use defvar-local.
6238 (imenu--split-menu): Remove unused var.
6239 (imenu--cleanup-seen): Declare as global.
6240 (imenu--cleanup): Use dolist.
6241
8bba5a75
SM
6242 * subr.el (defvar-local): Add debug spec and doc-string position.
6243
5075bdb5
GM
62442012-05-08 Glenn Morris <rgm@gnu.org>
6245
090bd7cb 6246 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6247 * language/english.el, language/georgian.el, language/greek.el:
6248 * language/japanese.el, language/khmer.el, language/korean.el:
6249 * language/lao.el, language/misc-lang.el, language/romanian.el:
6250 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6251 * language/thai.el, language/utf-8-lang.el:
6252 Remove no-byte-compile setting.
6253
5075bdb5
GM
6254 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6255
06f679a7
AH
62562012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6257
6258 * progmodes/make-mode.el (makefile-browse):
6259 Remove unnecessary interactive. (Bug#11324)
6260
03794570
GM
62612012-05-07 Glenn Morris <rgm@gnu.org>
6262
af8630f4
GM
6263 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6264
03794570
GM
6265 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6266
f0809a9d
SM
62672012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6268
28be5ce7
SM
6269 * loadup.el: Preload newcomment.el.
6270 * newcomment.el: Move autoload-only code to toplevel.
6271
f0809a9d
SM
6272 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6273 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6274 Handle new :right-align column property.
6275 (tabulated-list-print-col): Idem, plus use `display' text-property to
6276 try and preserve alignment for variable pitch fonts.
6277
1241b724
CY
62782012-05-07 Chong Yidong <cyd@gnu.org>
6279
6280 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6281 (tabulated-list-use-header-line): New var.
6282 (tabulated-list-init-header): Use it.
6283 (tabulated-list-print-fake-header): New function.
6284 (tabulated-list-print): Use it.
6285 (tabulated-list-sort-button-map): Add non-header-line commands.
6286 (tabulated-list-init-header): Add column name property to basic
6287 labels as well.
6288 (tabulated-list-col-sort): Handle non-header-line button case.
6289 (tabulated-list--sort-by-column-name): Fix a corner case.
6290
f0809a9d
SM
6291 * buff-menu.el (list-buffers--refresh):
6292 Handle Buffer-menu-use-header-line.
1241b724 6293
e5f9458f
CY
62942012-05-06 Chong Yidong <cyd@gnu.org>
6295
6296 * buff-menu.el: Convert to Tabulated List mode.
6297 (Buffer-menu-buffer+size-width): Make obsolete.
6298 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6299 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6300 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6301 documentation into docstring of buffer-menu.
6302 (Buffer-menu-toggle-files-only): Add an informative message.
6303 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6304 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6305 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6306 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6307 (Buffer-menu-execute, Buffer-menu-select)
6308 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6309 (Buffer-menu-bury): Use Tabulated List machinery.
6310 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6311 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6312 Delete.
e5f9458f
CY
6313 (list-buffers--refresh): New function.
6314 (list-buffers-noselect): Use it.
6315 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6316 (Buffer-menu--pretty-file-name): New helper functions.
6317
6318 * loadup.el: Preload tabulated-list.
6319
6320 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6321 tabulated-list-sort-column.
6322 (tabulated-list-init-header): Add the initial aligning space even
6323 if tabulated-list-padding is zero.
6324
e129292c
CS
63252012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6326
6327 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6328 whose cdr is not a cons cell correctly (bug#11038).
6329
6632d361
CY
63302012-05-06 Chong Yidong <cyd@gnu.org>
6331
e129292c
CS
6332 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6333 Accept additional plist in column descriptors.
6632d361
CY
6334 (tabulated-list-init-header): Obey it.
6335 (tabulated-list-get-entry): New function.
6336 (tabulated-list-put-tag): Use it. Use string-width instead of
6337 length.
6338 (tabulated-list--column-number): New function.
6339 (tabulated-list-print): Use it.
e129292c
CS
6340 (tabulated-list-print-col): New function.
6341 Set `tabulated-list-column-name' property on each column's text.
6632d361 6342 (tabulated-list-print-entry): Use it.
e129292c
CS
6343 (tabulated-list-delete-entry, tabulated-list-set-col):
6344 New functions.
6632d361
CY
6345 (tabulated-list-sort-column): New command (Bug#11337).
6346
3cc99f68
CY
6347 * buff-menu.el (list-buffers): Move C-x C-b binding from
6348 buff-menu.el to bindings.el.
6349
6350 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6351 :advertised-binding feature.
6352
52b61776
TN
63532012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6354
6355 * progmodes/compile.el (compilation-internal-error-properties):
6356 Calculate start position correctly when end-col is set but
6357 end-line is not (Bug#11382).
6358
ebfe2597
WJ
63592012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6360
6361 * man.el (Man-unindent): Use text-property-default-nonsticky to
6362 prevent untabify from inheriting face properties (Bug#11408).
6363
6d3f7c2f
SM
63642012-05-05 Stefan Merten <smerten@oekonux.de>
6365
6366 * textmodes/rst.el: Major merge with upstream development up to
6367 Docutils SVN r7399 / rst.el V1.2.1.
6368
6369 Clarify maintainership and authors.
6370
6371 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6372 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6373 (rst-official-version, rst-official-cvs-rev, rst-version)
6374 (rst-package-emacs-version-alist): New functions and variables
6375 for version information.
6376
6377 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6378 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6379 (rst-mode-syntax-table, rst-mode): New and corrected functions
6380 and variables representing reStructuredText features.
6381
6382 (rst-re): New function for reStructuredText regexes. Use in
6383 many places.
6384
6385 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6386 (rst-mode-map): Rebind keys.
6387
6388 (rst-mode-lazy, rst-font-lock-keywords)
6389 (rst-font-lock-extend-region)
6390 (rst-font-lock-extend-region-internal)
6391 (rst-font-lock-extend-region-extend)
6392 (rst-font-lock-find-unindented-line-limit)
6393 (rst-font-lock-find-unindented-line-match)
6394 (rst-adornment-level, rst-font-lock-adornment-level)
6395 (rst-font-lock-adornment-match)
6396 (rst-font-lock-handle-adornment-pre-match-form)
6397 (rst-font-lock-handle-adornment-matcher): Major revision of
6398 font-locking. Integrate with other code. Use `jit-lock-mode'.
6399
6400 (rst-preferred-adornments, rst-adjust-hook)
6401 (rst-new-adornment-down, rst-preferred-bullets)
6402 (rst-preferred-bullets, rst-indent, rst-indent-width)
6403 (rst-indent-field, rst-indent-literal-normal)
6404 (rst-indent-literal-minimized, rst-indent-comment): Change,
6405 extend and improve customization.
6406
6407 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6408 (rst-normalize-cursor-position, rst-get-decoration)
6409 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6410 (rst-rstrip, rst-toc-insert-find-delete-contents)
6411 (rst-shift-fill-region, rst-compute-bullet-tabs)
6412 (rst-debug-print-tabs, rst-debug-mark-found)
6413 (rst-shift-region-guts, rst-shift-region-right)
6414 (rst-shift-region-left, rst-use-char-classes)
6415 (rst-font-lock-keywords-function)
6416 (rst-font-lock-indentation-point)
6417 (rst-font-lock-find-unindented-line-begin)
6418 (rst-font-lock-find-unindented-line-end)
6419 (rst-font-lock-find-unindented-line)
6420 (rst-font-lock-adornment-point, rst-font-lock-level)
6421 (rst-adornment-level-alist): Remove functions and variables.
6422
6423 (rst-compare-adornments, rst-get-adornment-match)
6424 (rst-suggest-new-adornment, rst-get-adornments-around)
6425 (rst-adornment-complete-p, rst-get-next-adornment)
6426 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6427 (rst-straighten-adornments): Standardize function names to
6428 use "adornment" instead of "decoration". Correct callers.
6429 Similar standardizing in many places.
6430
6431 (rst-update-section, rst-adjust, rst-promote-region)
6432 (rst-enumerate-region, rst-bullet-list-region)
6433 (rst-repeat-last-character): Correct use of `interactive'.
6434
6435 (rst-classify-adornment, rst-find-all-adornments)
6436 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6437 (rst-find-leftmost-column, rst-repeat-last-character):
6438 Refactor functions.
6439
6440 (rst-find-title-line, rst-reset-section-caches)
6441 (rst-get-adornments-around, rst-adjust-adornment-work)
6442 (rst-arabic-to-roman, rst-roman-to-arabic)
6443 (rst-insert-list-pos, rst-insert-list-new-item)
6444 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6445 New functions.
6446
6447 (rst-all-sections, rst-section-hierarchy)
6448 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6449 New variables.
6450
6451 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6452 configuration instead of only buffer. Change where necessary.
6453
6454 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6455 (rst-shift-region, rst-adaptive-fill): New functions for
6456 indentation and filling.
6457
6458 (rst-comment-line-break, rst-comment-indent)
6459 (rst-comment-insert-comment, rst-comment-region)
6460 (rst-uncomment-region): New functions for handling comments.
6461
6462 (rst-compile): Quote shell arguments.
6463
6464 (rst-compile-pdf-preview, rst-compile-slides-preview):
6465 Delete temporary files after use.
6466
a43f98b3
GM
64672012-05-05 Glenn Morris <rgm@gnu.org>
6468
48176e8b
GM
6469 * calendar/cal-html.el: Optionally include holidays in the output.
6470 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6471 (cal-html-holidays): New option.
6472 (cal-html-css-default): Add holiday entry.
6473 (holiday-in-range): Autoload it.
6474 (cal-html-htmlify-entry): Add optional class argument.
6475 (cal-html-htmlify-list): Add optional holidays argument.
6476 (cal-html-insert-agenda-days): Include holidays in the output.
6477 (cal-html-one-month): Maybe include holidays.
6478
a43f98b3
GM
6479 * calendar/holidays.el (holiday-in-range):
6480 Move here from cal-tex-list-holidays.
6481 * calendar/cal-tex.el (cal-tex-list-holidays):
6482 Make it an obsolete alias for holiday-in-range. Update all callers.
6483
fef9d149 64842012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6485
6486 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6487 Nextstep.
6488
248da2f4
RW
64892012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6490
6491 * files.el (file-auto-mode-skip): New var.
6492 (set-auto-mode-1): Use it.
6493
f95e9344
SM
64942012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6495
df96ab1e
SM
6496 * repeat.el: Use lexical-binding.
6497 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6498 (repeat-undo-count): Remove.
6499 (repeat):
6500 * progmodes/octave-mod.el (octave-abbrev-start):
6501 * progmodes/f90.el (f90-abbrev-start):
6502 * face-remap.el (text-scale-adjust):
6503 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6504
5342bb06
SM
6505 * emacs-lisp/pcase.el (pcase--let*): New function.
6506 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6507 a bit more.
6508 (pcase--split-pred): Be more clever about ruling out overlap between
6509 a predicate and some constant pattern.
6510 (pcase--q1): Use `null' instead of (eq foo nil).
6511
f95e9344
SM
6512 * subr.el (setq-local, defvar-local): New macros.
6513 (kbd): Redefine as an alias.
6514 (with-selected-window): Leave unrelated frames alone.
6515 (set-temporary-overlay-map): New function.
6516
71873e2b
SM
65172012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * subr.el (user-error): New function.
6520 * window.el (switch-to-buffer):
6521 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6522 (smerge-match-conflict):
6523 * simple.el (previous-matching-history-element)
6524 (next-matching-history-element, goto-history-element, undo-more)
6525 (undo-start):
6526 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6527 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6528 (next-file, tags-loop-scan, list-tags, complete-tag):
6529 * progmodes/compile.el (compilation-loop):
6530 * mouse.el (mouse-minibuffer-check):
6531 * man.el (Man-bgproc-sentinel, Man-goto-page):
6532 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6533 (Info-history-forward, Info-follow-reference, Info-menu)
6534 (Info-extract-menu-item, Info-extract-menu-counting)
6535 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6536 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6537 (Info-next-reference, Info-prev-reference, Info-index)
6538 (Info-index-next, Info-follow-nearest-node)
6539 (Info-copy-current-node-name):
6540 * imenu.el (imenu--make-index-alist)
6541 (imenu-default-create-index-function, imenu-add-to-menubar):
6542 * files.el (basic-save-buffer, recover-file):
6543 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6544 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6545 (checkdoc-message-text, checkdoc-defun):
6546 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6547 * cus-edit.el (customize-changed-options, customize-rogue)
6548 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6549 (custom-variable-mark-to-reset-standard)
6550 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6551 (custom-file):
6552 * completion.el (check-completion-length):
6553 * comint.el (comint-search-arg)
6554 (comint-previous-matching-input-string-position)
6555 (comint-previous-matching-input)
6556 (comint-replace-by-expanded-history-before-point, comint-send-input)
6557 (comint-copy-old-input, comint-backward-matching-input)
6558 (comint-goto-process-mark, comint-set-process-mark):
6559 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6560 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6561
8a61ee22
SM
65622012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6563
66408d1e
SM
6564 * dabbrev.el (dabbrev--ignore-case-p): New function.
6565 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6566 Use it.
6567
8a61ee22
SM
6568 * files.el (automount-dir-prefix): Mark as obsolete.
6569
3c74813a
GM
65702012-05-04 Glenn Morris <rgm@gnu.org>
6571
6572 * patcomp.el, play/bruce.el: Move to obsolete/.
6573
0bfcf5c5
PE
65742012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6575
6576 Fix minor Y10k bugs.
6577 * arc-mode.el (archive-unixdate):
6578 * autoinsert.el (auto-insert-alist):
6579 * calc/calc-forms.el (math-this-year):
6580 * emacs-lisp/copyright.el (copyright-current-year)
6581 (copyright-update-year, copyright):
6582 * tar-mode.el (tar-clip-time-string):
6583 * time.el (display-time-update):
6584 Don't assume years have 4 digits.
6585
78f3273a
CY
65862012-05-04 Chong Yidong <cyd@gnu.org>
6587
6588 * dos-w32.el (file-name-buffer-file-type-alist)
6589 (direct-print-region-use-command-dot-com):
6590 * ffap.el (ffap-menu-regexp):
6591 * find-file.el (ff-special-constructs):
6592 * follow.el (follow-debug):
6593 * forms.el (forms--debug):
6594 * iswitchb.el (iswitchb-all-frames):
6595 * ido.el (ido-all-frames):
6596 * emacs-lisp/timer.el (timer-max-repeats):
6597 * mail/feedmail.el (feedmail-mail-send-hook)
6598 (feedmail-mail-send-hook-queued):
6599 * mail/footnote.el (footnote-signature-separator):
6600 * mail/mailabbrev.el (mail-alias-separator-string)
6601 (mail-abbrev-mode-regexp):
6602 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6603 * progmodes/idlwave.el (idlwave-libinfo-file)
6604 (idlwave-default-completion-case-is-down)
6605 (idlwave-library-routines): Convert defvars to defcustoms.
6606
6607 * mail/rmail.el (rmail-decode-mime-charset):
6608 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6609 (idlwave-shell-fix-inserted-breaks)
6610 (idlwave-shell-activate-alt-keybindings)
6611 (idlwave-shell-use-breakpoint-glyph):
6612 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6613
f7ae6719
SM
66142012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6617
47086495
WS
66182012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6619
6620 * progmodes/verilog-mode.el (font-lock-keywords):
6621 Fix mis-highligting auto. Reported by Craig Barner.
6622 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6623 defines from global name space. Reported by Dan Dever.
47086495
WS
6624 (verilog-auto-reset, verilog-auto-reset-widths)
6625 (verilog-auto-tieoff): Support using unbased numbers for
6626 AUTORESET and AUTOTIEOFF.
6627 (verilog-submit-bug-report): Update variable list.
6628 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6629 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6630 (verilog-auto-template-lint): Fix hash error when linting modules
6631 with no used templates.
6632 (verilog-warn, verilog-warn-error)
6633 (verilog-warn-fatal): When non-interactive report multiple
6634 warnings before exiting. Suggested by Brad Dobbie.
6635 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6636 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6637 to report unused template errors. Reported by Brad Dobbie.
6638 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6639 nets, bug438. Reported by Vns Blore.
47086495
WS
6640 (verilog-auto-inout-module, verilog-auto-reg)
6641 (verilog-read-decls, verilog-read-sub-decls-sig)
6642 (verilog-signals-edit-wire-reg, verilog-signals-with):
6643 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6644 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6645 "reg" for backwards compatibility presuming Verilog 2001.
6646 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6647 (verilog-preprocess): Fix replication of preprocess output.
6648 Reported by Brad Dobbie.
6649 (verilog-auto-inst-interfaced-ports):
6650 Create verilog-auto-inst-interfaced-ports, bug429.
6651 Reported by Julian Gorfajn.
6652 (verilog-after-save-font-hook)
6653 (verilog-before-save-font-hook): New variable.
6654 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6655 (verilog-save-font-mods): Wrap disabling fontification, reported
6656 by David Rogoff.
6657 (verilog-do-indent, verilog-pretty-declarations-auto)
6658 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6659 Reported by Pierre-David Pfister.
6660 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6661 of class declarations, bug292. Reported by Kevin Heilman.
6662 (verilog-read-decls): Fix 'parameter type' not appearing in
6663 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6664 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6665 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6666 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6667 Reported by David Kravitz.
6668
66692012-05-03 Michael McNamara <mac@mail.brushroad.com>
6670
6671 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6672 assignment with tests in ifs and for loops.
6673 (verilog-extended-complete-re, verilog-complete-reg): Change so
6674 that DPI inport functions don't look like fuction declarations.
6675 (verilog-pretty-expr): Don't line up assignment
6676 operations to the test and increment in if and for loops
6677 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6678 that DPI inport functions don't look like fuction declarations.
47086495 6679
2e51d4b5
KH
66802012-05-03 Kenichi Handa <handa@m17n.org>
6681
6682 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6683 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6684 (Bug#11282).
6685
2bd785a2
SM
66862012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6687
6688 * emacs-lisp/bytecomp.el
6689 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6690 since cconv.el might have introduced :fun-body, internal-make-closure,
6691 and friends for bytecomp to handle (bug#11391).
6692 * custom.el (defcustom): Avoid ((λ ..) ..).
6693
99d27583
SM
66942012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6695
6696 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6697
55a71479
JB
66982012-05-02 Juanma Barranquero <lekktu@gmail.com>
6699
6700 * notifications.el (dbus-debug):
6701 * term/linux.el (gpm-mouse-enable):
6702 * term/screen.el (xterm-register-default-colors): Declare.
6703
7b97c764
CY
67042012-05-02 Chong Yidong <cyd@gnu.org>
6705
2bc356d7
CY
6706 * cus-start.el (gc-cons-percentage, exec-suffixes)
6707 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6708 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6709 (make-cursor-line-fully-visible, void-text-area-pointer)
6710 (font-list-limit): Add customization data.
6711
7b97c764
CY
6712 * allout.el (allout-exposure-change-functions)
6713 (allout-structure-added-functions)
6714 (allout-structure-deleted-functions)
6715 (allout-structure-shifted-functions): Rename abnormal hooks from
6716 *-hook, and convert to defcustoms.
5d3385a0
JB
6717 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6718 Convert to defcustoms.
7b97c764
CY
6719 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6720
6721 * allout-widgets.el: Hook callers changed.
6722
90207a15 67232012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6724
6725 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6726 the yanked message in preference to the default value of
6727 buffer-file-coding-system.
6728
90207a15 67292012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6730
5d3385a0
JB
6731 * window.el (display-buffer--action-function-custom-type):
6732 Fix entry.
d9558cad 6733
90207a15 67342012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6735
6736 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6737
d80ac57b
GM
67382012-05-01 Glenn Morris <rgm@gnu.org>
6739
976f7668
GM
6740 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6741
beb83b5a
GM
6742 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6743
d80ac57b
GM
6744 * cus-edit.el (custom-variable-documentation): Simplify with format.
6745
b593d6a9 67462012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6747 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6748
6749 * simple.el (suggest-key-bindings, execute-extended-command):
6750 Move from keyboard.c.
6751
782fbf2a
CY
67522012-05-01 Chong Yidong <cyd@gnu.org>
6753
6754 * follow.el: Eliminate advice.
6755 (set-process-filter, process-filter, sit-for): Advice deleted.
6756 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6757 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6758 Vars deleted.
782fbf2a
CY
6759 (follow-auto): Use a :set function.
6760 (follow-mode): Rewritten. Don't advise process filters.
6761 (follow-switch-to-current-buffer-all, follow-scroll-up)
6762 (follow-scroll-down): Assume follow-mode is bound.
6763 (follow-comint-scroll-to-bottom)
6764 (follow-align-compilation-windows): New functions.
6765 (follow--window-sorter): New function.
6766 (follow-all-followers): Use it to explicitly sort windows by their
6767 positions; don't make assumptions about next-window order.
6768 (follow-windows-start-end, follow-delete-other-windows-and-split)
6769 (follow-calc-win-start): Doc fix.
6770 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6771 vertical-motion unnecessarily.
6772 (follow-adjust-window): New function.
6773 (follow-post-command-hook): Use it.
6774 (follow-call-set-process-filter, follow-call-process-filter)
6775 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6776 (follow-stop-intercept-process-output, follow-generic-filter):
6777 Functions deleted.
6778 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6779 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6780 New functions, replacing advice on scroll-bar-* commands.
87233a14 6781 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6782
6783 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6784 (comint-postoutput-scroll-to-bottom): Use it.
6785 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6786
290af740
GM
67872012-05-01 Glenn Morris <rgm@gnu.org>
6788
6789 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6790 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6791 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6792 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6793 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6794 Remove no-byte-compile setting.
6795
6eac8dc9
SM
67962012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6799 all-completions code to not return a number in the last cdr.
6800
9cc7819c
LL
68012012-04-30 Leo Liu <sdl.web@gmail.com>
6802
6803 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6804 read-only error.
6805
c93b886f
CY
68062012-04-29 Chong Yidong <cyd@gnu.org>
6807
6808 * follow.el (follow-calc-win-end): Rewrite to handle partial
6809 screen lines correctly (Bug#8390).
6810 (follow-avoid-tail-recenter): Minor cleanup.
6811
8b6c19f4
SM
68122012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 Avoid the obsolete `assoc' package.
6815 * speedbar.el (speedbar-refresh): Avoid adelete.
6816 (speedbar-file-lists): Simplify and avoid aput.
6817 * man.el (Man--sections, Man--refpages): New vars, replacing
6818 Man-sections-alist and Man-refpages-alist.
6819 (Man-build-section-alist, Man-build-references-alist):
6820 Use them; avoid aput.
6821 (Man--last-section, Man--last-refpage): New vars.
6822 (Man-follow-manual-reference): Use them.
6823 Use the `default' arg of completing-read.
6824 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6825
c5bb7569
CY
68262012-04-27 Chong Yidong <cyd@gnu.org>
6827
d1d2e2e8
CY
6828 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6829
15cd8efd
CY
6830 * startup.el (x-apply-session-resources): New function.
6831
6832 * term/ns-win.el (ns-initialize-window-system):
6833 * term/w32-win.el (w32-initialize-window-system):
6834 * term/x-win.el (x-initialize-window-system): Use it to properly
6835 set menu-bar-mode and other vars from X resources, even if the
6836 initial frame is not a window-system frame (Bug#2299).
6837
c5bb7569
CY
6838 * subr.el (read-key): Avoid running filter function when setting
6839 up temporary tool bar entries (Bug#9922).
6840
a8e7d6d7 68412012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6842
6843 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6844 (Bug#11344)
6845
a8e7d6d7 68462012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6847
6848 * select.el (xselect--encode-string): New function, split from
6849 xselect-convert-to-string.
6850 (xselect-convert-to-string): Use it.
6851 (xselect-convert-to-filename, xselect-convert-to-os)
6852 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6853 returned strings are properly encoded (Bug#11315).
6854
a8e7d6d7 68552012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6856
6857 * simple.el (delete-active-region): Move to killing custom group.
6858
a8e7d6d7 68592012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6860
6861 * progmodes/which-func.el (which-func-current): Quote %
6862 characters for mode-line processing.
6863
578c1d4b 68642012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6865
6866 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6867 reaching eob (Bug#11286).
6868
a8e7d6d7 68692012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6870
6871 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6872 (gdb): Make it buffer-local and init to zero.
6873 (gdb-control-commands-regexp): New variable.
6874 (gdb-send): Don't wrap in "-interpreter-exec console" if
6875 gdb-control-level is positive. Increment gdb-control-level
6876 whenever the command matches gdb-control-commands-regexp, and
6877 decrement it each time the command is "end". (Bug#11279)
6878
a8e7d6d7 68792012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6880
6881 * window.el (adjust-window-trailing-edge, enlarge-window)
6882 (shrink-window, window-resize):
6883 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6884 windows (Bug#11276).
6885
b3608390
CY
68862012-04-27 Chong Yidong <cyd@gnu.org>
6887
6888 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6889 fix "missing prefix" warning. All callers changed.
b3608390 6890
797e6e88
SM
68912012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6892
6893 * emacs-lisp/assoc.el: Move to obsolete/.
6894
e95a67dc
SM
68952012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6896
657c21e4 6897 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6898
6899 * term/ns-win.el (ns-define-service):
6900 * progmodes/pascal.el (pascal-goto-defun):
6901 * progmodes/js.el (js--read-tab):
6902 * progmodes/etags.el (tags-lazy-completion-table):
6903 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6904 * emacs-lisp/ewoc.el (ewoc--wrap):
6905 * emacs-lisp/assoc.el (aput, adelete, amake):
6906 * doc-view.el (doc-view-convert-current-doc):
6907 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6908
cb3e7ae0
CY
69092012-04-26 Chong Yidong <cyd@gnu.org>
6910
dce04f7f
CY
6911 * image.el (image-type-from-buffer): Only return supported image
6912 type (Bug#9045).
6913
cb3e7ae0
CY
6914 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6915 value, for symmetry with diff-end-of-hunk.
6916 (diff-split-hunk, diff-find-source-location)
6917 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6918 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6919 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6920 compute the relevant hunk or file properly (Bug#6005).
6921 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6922
0d42eb3e
SM
69232012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6924
6925 * vc/vc-mtn.el:
6926 * vc/vc-hg.el:
6927 * vc/vc-git.el:
6928 * vc/vc-dir.el:
6929 * vc/vc-cvs.el:
6930 * vc/vc-bzr.el:
6931 * vc/vc-arch.el:
6932 * vc/vc.el: Replace lexical-let by lexical-binding.
6933 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6934 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6935 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6936
f08ae1c9
CY
69372012-04-26 Chong Yidong <cyd@gnu.org>
6938
8b71081d
CY
6939 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6940 (diff-mode-shared-map): Bind it to / and [remap undo].
6941
f08ae1c9
CY
6942 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6943 (ediff-window-setup-function): Use it as the default, to set up
6944 windows based on whether the current frame is graphical (Bug#2138).
6945 (ediff-choose-window-setup-function-automatically): Make obsolete.
6946
6947 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6948
ef24141c
SM
69492012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6950
cc356a5d
SM
6951 * ffap.el: Remove old code for obsolete package.
6952 (ffap-complete-as-file-p): Remove.
6953
b4ff4f1f
SM
6954 Use completion-table-with-quoting for comint and pcomplete.
6955 * comint.el (comint--unquote&requote-argument)
6956 (comint--unquote-argument, comint--requote-argument): New functions.
6957 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6958 (comint-quote-filename): Use regexp-opt-charset.
6959 (comint--common-suffix, comint--common-quoted-suffix)
6960 (comint--table-subvert): Remove.
6961 (comint-unquote-function, comint-requote-function): New vars.
6962 (comint--complete-file-name-data): Use them with
6963 completion-table-with-quoting.
6964 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6965 * pcomplete.el (pcomplete-arg-quote-list)
6966 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6967 (pcomplete-unquote-argument-function): Default to non-nil.
6968 (pcomplete-unquote-argument): Simplify.
6969 (pcomplete--common-quoted-suffix): Remove.
6970 (pcomplete-requote-argument-function): New var.
6971 (pcomplete--common-suffix): New function.
6972 (pcomplete-completions-at-point): Use completion-table-with-quoting
6973 and completion-table-subvert.
6974
79c4eeb4
SM
6975 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6976 (minibuffer--double-dollars): Preserve properties.
6977 (completion--sifn-requote): New function.
6978 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6979
ef24141c
SM
6980 * minibuffer.el: Add support for completion of quoted/escaped data.
6981 (completion-table-with-quoting, completion-table-subvert): New funs.
6982 (completion--twq-try, completion--twq-all): New functions.
6983 (completion--nth-completion): New function.
6984 (completion-try-completion, completion-all-completions): Use it.
6985
784e7d6e
LL
69862012-04-25 Leo Liu <sdl.web@gmail.com>
6987
dd2ac746
SM
6988 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6989 Use compilation-message if available to find real filename.
784e7d6e 6990
07875ee7
CY
69912012-04-25 Chong Yidong <cyd@gnu.org>
6992
6993 * vc/diff-mode.el (diff-setup-whitespace): New function.
6994 (diff-mode): Use it.
6995
6996 * vc/diff.el (diff-sentinel):
6997 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6998 Whitespace mode variables based on diff style (Bug#8612).
6999
5055880d
LL
70002012-04-25 Leo Liu <sdl.web@gmail.com>
7001
daf75653
LL
7002 * progmodes/python.el (python-send-region): Add suffix .py to the
7003 temp file.
7004
5055880d
LL
7005 * files.el (auto-mode-alist): Use javascript-mode instead.
7006
db9b177b
AH
70072012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7008
ef24141c 7009 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7010
090bd7cb 7011 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7012 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7013 references, see Bug#9.
ef24141c 7014 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7015 when receiving a fault reply.
ef24141c 7016 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7017
090bd7cb 7018 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7019 (soap-inspect-simple-type): New function.
db9b177b 7020
090bd7cb 7021 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7022 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7023 (soap-decode-basic-type, soap-encode-basic-type):
7024 support unsignedInt and double basic types.
db9b177b 7025 (soap-resolve-references-for-simple-type)
ef24141c
SM
7026 (soap-parse-simple-type, soap-encode-simple-type): New function.
7027 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7028
090bd7cb 7029 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7030 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7031 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7032 the local name of "soapenc:Array".
7033 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7034 decoding integer, byte and anyURI xsd types.
7035
1fc6097b
CY
70362012-04-25 Chong Yidong <cyd@gnu.org>
7037
7038 * cus-edit.el (custom-buffer-create-internal): Update header text.
7039
afc6df87
EZ
70402012-04-25 Eli Zaretskii <eliz@gnu.org>
7041
7042 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7043 settings on 'system-type', not on 'window-system'. On MS-Windows,
7044 set interactive-mode on in GDB.
7045
dfbd787f
SM
70462012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7047
7048 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7049 (ruby-syntax-propertize-regexp): Remove.
7050 (ruby-syntax-propertize-function): Split regexp into chunks.
7051 Match following code directly.
7052
85222d44
DG
70532012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7054
51a8ea2a
DG
7055 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7056 (ruby-syntax-propertize-regexp): New function.
7057 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7058 by a special keyword.
7059
85222d44
DG
7060 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7061 (ruby-syntax-general-delimiters-goto-beg)
7062 (ruby-syntax-propertize-general-delimiters): New functions.
7063 (ruby-syntax-propertize-function): Use them to handle GDL.
7064 (ruby-font-lock-keywords): Move old handling of GDL...
7065 (ruby-font-lock-syntactic-keywords): .. to here.
7066 (ruby-calculate-indent): Adjust indentation for GDL.
7067
b613912b
MA
70682012-04-24 Michael Albinus <michael.albinus@gmx.de>
7069
b5380639
MA
7070 * notifications.el (top): Remove unneeded declarations.
7071 (notifications-specification-version): Change to "1.2".
e43042fe 7072 (notifications-interface, notifications-notify-method)
b613912b
MA
7073 (notifications-close-notification-method): Fix docstring.
7074 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7075 (notifications-notify): Add :action-items, :resident and
7076 :transient hints. Change "image_data" to "image-data" and
7077 "image_path" to "image-path".
b613912b
MA
7078 (notifications-get-capabilities): New defun.
7079
257440aa
LL
70802012-04-24 Leo Liu <sdl.web@gmail.com>
7081
7082 * progmodes/python.el: Move hideshow setup to the end.
7083
b1bac16e
MR
70842012-04-24 Martin Rudalics <rudalics@gmx.at>
7085
7086 * window.el (handle-select-window): Clear echo area since this is
7087 no more done by read_char (Bug#11304).
7088
d81bd059
SM
70892012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7090
7091 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7092 and `/ M' to filter-derived-mode.
7093 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7094 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7095 (ibuffer-mark-by-mode): Use default rather than initial-input.
7096 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7097
c4cf6d91
IA
70982012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7099
7100 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7101 (ibuffer-filter-by-derived-mode): New filter.
7102 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7103
7511ded8
CY
71042012-04-23 Andreas Politz <politza@fh-trier.de>
7105
7106 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7107
775c916b
CY
71082012-04-23 Chong Yidong <cyd@gnu.org>
7109
7110 * cus-edit.el (customize-apropos, customize-apropos-options):
7111 Disable matching of non-option variables (Bug#11176).
7112 (customize-option, customize-option-other-window)
7113 (customize-changed-options): Doc fix.
7114 (customize-apropos-options, customize-apropos-faces)
7115 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7116
7117 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7118 Fix word list splitting (Bug#11132).
46c71e23
CY
7119 (apropos-symbol, apropos-keybinding, apropos-label)
7120 (apropos-property, apropos-function-button)
7121 (apropos-variable-button, apropos-misc-button): New faces.
7122 (apropos-symbol-face, apropos-keybinding-face)
7123 (apropos-label-face, apropos-property-face, apropos-match-face):
7124 Variables removed (Bug#8396).
7125 (apropos-library-button, apropos-format-plist, apropos-print)
7126 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7127
2df41f9c
MA
71282012-04-23 Michael Albinus <michael.albinus@gmx.de>
7129
7130 * net/xesam.el (xesam-mode-map): Use let-bound map in
7131 initialization. (Bug#11292)
7132
da00640a
AM
71332012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7134
7135 Preserve ispell session localwords when switching back to
7136 original buffer.
7137
090bd7cb
JB
7138 * textmodes/ispell.el (ispell-buffer-session-localwords):
7139 New buffer-local variable to hold buffer session localwords.
ed9265fc 7140 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7141 localwords.
7142 (ispell-command-loop, ispell-change-dictionary)
7143 (ispell-buffer-local-words): Preserve session localwords when
7144 needed.
7145
090bd7cb
JB
7146 * textmodes/flyspell.el (flyspell-process-localwords)
7147 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7148
f621ccf5
AM
71492012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7150
090bd7cb
JB
7151 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7152 using obsolete `translation-table-for-input'.
ef24141c
SM
7153 (ispell-word, ispell-process-line, ispell-complete-word):
7154 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7155
c2d1019e
CY
71562012-04-22 Chong Yidong <cyd@gnu.org>
7157
7158 * cus-edit.el (custom-variable-menu)
7159 (custom-variable-reset-saved, custom-face-menu)
7160 (custom-face-reset-saved): If there is no saved value, make the
7161 "reset-saved" operation bring back the default (Bug#9509).
7162 (custom-face-state): Properly detect themed faces.
7163
eeddc531
CY
7164 * faces.el (face-spec-set): Stop supporting deprecated form of
7165 third arg.
7166
dcbf5805
MA
71672012-04-22 Michael Albinus <michael.albinus@gmx.de>
7168
7169 Move functions from C to Lisp. Make non-blocking method calls
7170 the default. Implement further D-Bus standard interfaces.
7171
ef24141c
SM
7172 * net/dbus.el (dbus-message-internal): Declare function.
7173 Remove unneeded function declarations.
dcbf5805
MA
7174 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7175 (dbus-message-type-method-return, dbus-message-type-error)
7176 (dbus-message-type-signal): Declare variables. Remove local
7177 definitions.
7178 (dbus-interface-dbus, dbus-interface-peer)
7179 (dbus-interface-introspectable, dbus-interface-properties)
7180 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7181 Adapt docstring.
7182 (dbus-interface-objectmanager): New defconst.
7183 (dbus-call-method, dbus-call-method-asynchronously)
7184 (dbus-send-signal, dbus-method-return-internal)
7185 (dbus-method-error-internal, dbus-register-service)
7186 (dbus-register-signal, dbus-register-method): New defuns, moved
7187 from dbusbind.c
7188 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7189 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7190 New defuns.
dcbf5805
MA
7191 (dbus-call-method-non-blocking): Make it an obsolete function.
7192 (dbus-unregister-object, dbus-unregister-service)
7193 (dbus-handle-event, dbus-register-property)
7194 (dbus-property-handler): Obey the new structure of
7195 `bus-registered-objects'.
7196 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7197 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7198 Use `dbus-call-method'.
7199
cf20dee0
CY
72002012-04-22 Chong Yidong <cyd@gnu.org>
7201
7202 * cus-edit.el (custom-commands, custom-reset-menu)
7203 (Custom-reset-standard): Tweak labels.
7204 (custom-reset-button-menu): Change default to t.
7205 (custom-buffer-create-internal): For the custom-reset-button-menu
7206 case, put the revert button first.
7207 (custom-group-subtitle): New face.
7208 (custom-group-value-create): Align docstring to a specific column.
7209
7210 * wid-edit.el (widget-documentation-link-add): Don't handle
7211 indentation in this function.
7212 (widget-documentation-string-indent-to): New function.
7213 (widget-documentation-string-value-create): Use it.
7214
7215 * autorevert.el (auto-revert):
7216 * epg-config.el (epg):
7217 * ibuffer.el (ibuffer):
7218 * mpc.el (mpc):
7219 * ses.el (ses):
7220 * eshell/eshell.el (eshell):
7221 * net/ange-ftp.el (ange-ftp):
7222 * progmodes/ebnf2ps.el (postscript):
7223 * progmodes/flymake.el (flymake):
7224 * progmodes/prolog.el (prolog):
7225 * progmodes/verilog-mode.el (verilog-mode):
7226 * progmodes/which-func.el (which-func):
7227 * term/xterm.el (xterm):
7228 * textmodes/picture.el (picture):
7229 * textmodes/tildify.el (tildify):
7230 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7231 customization buffers.
7232
583e23bd
AM
72332012-04-22 Alan Mackenzie <acm@muc.de>
7234
7235 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7236 Adding a ) can hide the resulting (..) from searches. Fix it.
7237 Bound the backward search to the position of the existing (.
7238
7dd51bf1
JB
72392012-04-21 Juanma Barranquero <lekktu@gmail.com>
7240
7241 * progmodes/verilog-mode.el (verilog-mode): Check whether
7242 which-func-modes is t before adding verilog-mode.
7243 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7244
d64a438f
LL
72452012-04-21 Leo Liu <sdl.web@gmail.com>
7246
7dd51bf1 7247 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7248
081e8d65
MV
72492012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7250
7251 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7252 filling of the last column of a table (Bug#5635).
7253 (woman-find-next-control-line): New arg, specifying an additional
7254 regexp component for the control line.
7255 (woman2-roff-buffer): Use it.
7256 (woman-break-table): New function.
7257 (woman2-TS): Use it.
7258
72592012-04-21 Chong Yidong <cyd@gnu.org>
7260
7261 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7262 (woman-horizontal-escapes, woman-negative-vertical-space)
7263 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7264 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7265
ed571ccb
SM
72662012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 * minibuffer.el (completion-file-name-table): Complete user names.
7269
39773899
LL
72702012-04-20 Leo Liu <sdl.web@gmail.com>
7271
7272 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7273 and pcase-let*.
7274
de6ff46d
CY
72752012-04-20 Chong Yidong <cyd@gnu.org>
7276
7277 * server.el (server-execute): Respect initial-buffer-choice if it
7278 is a string and there are no files to open (Bug#2825).
7279 (server-create-window-system-frame, server-create-tty-frame):
7280 Don't switch buffers here.
2d0e8e61
CY
7281 (server-process-filter): Only try to open a window system frame if
7282 compiled with graphical support (Bug#8314).
de6ff46d 7283
54071013
DN
72842012-04-20 Dan Nicolaescu <dann@gnu.org>
7285
7286 * battery.el (battery-echo-area-format): Display remaining time
7287 for sysfs backend too (Bug#11269).
7288 (battery-linux-sysfs): Fix conditional for the charge.
7289
f30d612a
CY
72902012-04-20 Chong Yidong <cyd@gnu.org>
7291
c07a4c0b 7292 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7293 (gdb-inferior-io--init-proc): New function.
7294 (gdb-init-1): Use it.
7295 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7296 responsible for allocating a new pty and hooking it to gdb when
7297 the old pty gets an EIO due to process exit.
7298 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7299 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7300 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7301
2116e93c
EZ
73022012-04-20 Eli Zaretskii <eliz@gnu.org>
7303
7304 * window.el (window-min-size, window-sizable, window-min-delta)
7305 (window-max-delta, window--resizable, window-resizable)
7306 (window-total-size, window-full-height-p, window-full-width-p)
7307 (window-in-direction, window--resize-mini-window, window-resize)
7308 (window--resize-child-windows-normal)
7309 (window--resize-child-windows, window--resize-siblings)
7310 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7311 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7312
c07a4c0b 73132012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7314
ef24141c
SM
7315 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7316 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7317 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7318 pty process (Bug#11273).
7319 (gdb-update): New arg to suppress talking to the gdb process.
7320 (gdb-done-or-error): Use it.
7321 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7322 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7323 sentinel not being called.
7324
7325 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7326
d02766ab
CY
7327 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7328
c07a4c0b 73292012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7330
7331 * net/network-stream.el (open-network-stream): Doc fix.
7332
c07a4c0b 73332012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7334
7335 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7336
c07a4c0b 73372012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7338
7339 Ensure searching for keywords is case sensitive.
7340
7341 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7342 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7343 (c-defun-name, c-mark-function, c-cpp-define-name)
7344 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7345 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7346
ef24141c
SM
7347 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7348 Bind case-fold-search to nil.
f0f6bc35 7349
c07a4c0b 73502012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7351
7352 * mail/sendmail.el (mail-bury): Call return action with the right
7353 Rmail buffer (Bug#11242).
7354
9a864fa2
CY
7355 * server.el (server-process-filter): Handle corner case where both
7356 tty and nowait options are present (Bug#11102).
7357
539aa513
EZ
73582012-04-20 Eli Zaretskii <eliz@gnu.org>
7359
7360 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7361 (top level): Put into the executable the ident-style '$Id:' tag on
7362 windows-nt as well.
539aa513 7363
cfc7d5da
SM
73642012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 * electric.el (electric-indent-post-self-insert-function): Check that
7367 electric-indent-mode is enabled in current buffer.
7368
5b01685c
JB
73692012-04-19 Juanma Barranquero <lekktu@gmail.com>
7370
7371 * imenu.el (imenu-progress-message): Restore; it is "used" in
7372 erc/erc-imenu.el and net/snmp-mode.el.
7373
4d6769e1
JB
73742012-04-19 Juanma Barranquero <lekktu@gmail.com>
7375
7376 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7377 (mouse-avoidance-nudge-mouse): Remove unused binding.
7378
7379 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7380
7381 * descr-text.el (describe-char):
7382 * progmodes/python.el (python-describe-symbol):
7383 Don't call `toggle-read-only', set `buffer-read-only'.
7384
7385 * imenu.el (imenu-default-goto-function): Mark unused args.
7386 (imenu-progress-message): Remove obsolete macro; all callers changed.
7387
7388 * subr.el (keymap-canonicalize): Remove unused binding.
7389 (read-passwd): Mark unused arg.
7390
7391 * tutorial.el (tutorial--display-changes): Remove unused binding.
7392 (tutorial--save-tutorial-to): Remove unused variable.
7393
7394 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7395 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7396 (package-generate-autoloads, package-menu--generate)
7397 (package-menu--find-upgrades): Remove unused bindings.
7398
7399 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7400 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7401 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7402 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7403 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7404 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7405 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7406 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7407 (cua-delete-char-rectangle): Mark unused args.
7408 (cua-align-rectangle): Remove unused binding.
7409
7410 * mail/rmail.el (compilation--message->loc)
7411 (epa--find-coding-system-for-mime-charset): Declare.
7412
7413 * net/dbus.el (dbus-register-service): Declare.
7414 (dbus-name-owner-changed-handler): Remove unused binding.
7415
7416 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7417 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7418 (nxml-scan-backward-within): Mark unused arg.
7419 (nxml-dynamic-markup-word): Remove unused binding.
7420
7421 * mouse.el (mouse-menu-major-mode-map):
7422 * emacs-lisp/authors.el (authors-scan-change-log)
7423 (authors-add-to-author-list):
7424 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7425 * emacs-lisp/smie.el (smie-auto-fill):
7426 * mail/sendmail.el (mail-bury):
7427 * mail/unrmail.el (unrmail):
7428 * net/tls.el (open-tls-stream):
7429 * textmodes/picture.el (picture-mouse-set-point):
7430 Remove unused bindings.
7431
8c8fc5df
MA
74322012-04-19 Michael Albinus <michael.albinus@gmx.de>
7433
7434 * net/tramp.el (tramp-action-password): Let-bind
7435 `enable-recursive-minibuffers' to t.
7436
a77b0ac9
SS
74372012-04-18 Sam Steingold <sds@gnu.org>
7438
7439 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7440 instead of 'string to accommodate values like [f11].
7441 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7442 * progmodes/gdb-mi.el: Likewise.
7443
12a106a9
LL
74442012-04-18 Leo Liu <sdl.web@gmail.com>
7445
7446 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7447 current buffer.
7448 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7449 LOCAL is nil.
7450
bc6494ef
CY
74512012-04-18 Chong Yidong <cyd@gnu.org>
7452
7453 * simple.el (line-move): Use forward-line if in batch mode
7454 (Bug#11053).
7455
c09c46b2
CS
74562012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7457
7458 * files.el (after-find-file): Do not try to add a final newline if
7459 the buffer is read-only (Bug#11156).
7460
5f6530ea
RS
74612012-04-17 Richard Stallman <rms@gnu.org>
7462
7463 * mail/rmail.el (rmail-start-mail):
7464 Pass (rmail-mail-return...) for the return-action.
7465 Pass (rmail-yank-current-message...) for the yank-action.
7466 (rmail-yank-current-message): New function.
7467 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7468 (rmail-reply): Likewise.
7469 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7470
7471 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7472 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7473 buffer, not newbuf.
7474
197b6f3c
JB
74752012-04-17 Juanma Barranquero <lekktu@gmail.com>
7476
7477 * server.el (server-ensure-safe-dir): Simplify.
7478
2311d8e5 74792012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7480
2311d8e5
GM
7481 * emacs-lisp/smie.el: Provide smarter auto-filling.
7482 (smie-auto-fill): New function.
7483 (smie-setup): Use it.
98fb480e 7484
2311d8e5
GM
7485 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7486
74872012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7488
7489 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7490 (comment-indent): Use it.
7491
2311d8e5 74922012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7493
7494 * ses.el: The overall change is to add cell renaming, that is
7495 setting fancy names for cell symbols other than name matching
7496 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7497 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7498 (ses-create-cell-variable): New defun.
2311d8e5 7499 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7500 (ses-relocate-formula): Relocate formulas only for cells the
7501 symbols of which are not renamed, i.e. symbols whose names do not
7502 match regexp "\\`[A-Z]+[0-9]+\\'".
7503 (ses-relocate-all): Relocate values only for cells the symbols of
7504 which are not renamed.
7505 (ses-load): Create cells variables as the (ses-cell ...) are read,
7506 in order to check row col consistency with cell symbol name only
7507 for cells that are not renamed.
7508 (ses-replace-name-in-formula): New defun.
7509 (ses-rename-cell): New defun.
4bdf2ad2 7510
fc72b15c
PO
75112012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7512
7513 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7514 New option (bug#11118).
7515 (perl-calculate-indent): Respect it.
7516
12e10e61
GM
75172012-04-17 Glenn Morris <rgm@gnu.org>
7518
7519 * dired-aux.el (dired-mark-read-string): Doc fix.
7520
30009afd
DA
75212012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7522
7523 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7524 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7525
41f03f4d
GM
75262012-04-17 Glenn Morris <rgm@gnu.org>
7527
7528 * mouse.el (mouse-drag-track):
7529 * speedbar.el (speedbar-frame-mode):
7530 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7531
f45f90f3
LL
75322012-04-16 Leo Liu <sdl.web@gmail.com>
7533
7534 * progmodes/python.el: Trivial cleanup.
7535
94ee8db5
GM
75362012-04-16 Glenn Morris <rgm@gnu.org>
7537
121b8917
GM
7538 * vc/vc.el (vc-string-prefix-p):
7539 * vc/pcvs-util.el (cvs-string-prefix-p):
7540 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7541 * mpc.el (mpc-string-prefix-p):
7542 Make all of these into obsolete aliases for string-prefix-p.
7543 Update callers.
7544 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7545
1197ecfa
GM
7546 * textmodes/two-column.el: Move custom options to the start.
7547 (frame-width): Remove compat definition.
7548 (2C-associate-buffer, 2C-dissociate):
7549 Use with-current-buffer rather than save-excursion.
7550 (2C-dissociate): Force a mode-line update.
7551 (2C-autoscroll): Use ignore-errors.
7552
099e7202
GM
7553 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7554 Autoload trivia.
7555
bf350d6a
GM
7556 * emacs-lisp/cl-extra.el (*random-state*):
7557 Remove unnecessary declaration.
7558
0e829eab
GM
7559 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7560
e3ad7552
GM
7561 * play/cookie1.el (cookie-snarf):
7562 Give an explicit error if input file cannot be read.
7563
68892d27
GM
7564 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7565
20f0c46d
GM
7566 * progmodes/perl-mode.el (c-macro-expand):
7567 Remove unnecessary autoload (it is in loaddefs.el).
7568
5a0978ce
GM
7569 * textmodes/picture.el (picture-desired-column)
7570 (picture-update-desired-column): Convert comments to doc-strings.
7571 (picture-substitute): Remove function.
7572 (picture-mode-map): Initialize in the defvar.
7573
6b955486
GM
7574 * woman.el: Remove eval-after-load for tar-mode.
7575 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7576 (woman-tar-extract-file): Autoload it.
7577
94ee8db5
GM
7578 * frame.el (automatic-hscrolling): Make this alias obsolete.
7579
177eca34
AM
75802012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7581
090bd7cb 7582 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7583 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7584 (ispell-dictionary-base-alist): Revert to original XEmacs
7585 friendly version for default. [:alpha:] will be added in
090bd7cb 7586 `ispell-set-spellchecker-params' if needed.
177eca34 7587
c505aaeb
CY
75882012-04-16 Chong Yidong <cyd@gnu.org>
7589
b19dd9d1 7590 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7591 (imagemagick-register-types): Use it.
7592 (imagemagick-types-inhibit): Add :set function. Allow new value
7593 of t to inhibit all types.
7594
7595 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7596 so we can preload it.
7597
7598 * loadup.el (fboundp): Preload regexp-opt, needed by
7599 imagemagick-register-types.
7600
60efac0f
CY
76012012-04-15 Chong Yidong <cyd@gnu.org>
7602
7603 * frame.el (scrolling): Remove nearly unused customization group.
7604
7605 * scroll-all.el (scroll-all-mode): Move to windows group.
7606
5dd1713e
CY
76072012-04-15 Chong Yidong <cyd@gnu.org>
7608
7609 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7610
e6fd457e
CY
76112012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7614 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7615
e153c136
GM
76162012-04-15 Glenn Morris <rgm@gnu.org>
7617
7618 * simple.el (process-file-side-effects): Doc fix.
7619
e6fd457e 76202012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7621
7622 * international/mule-cmds.el (set-language-environment): Doc fix.
7623
3603c3b1
JB
76242012-04-14 Juanma Barranquero <lekktu@gmail.com>
7625
7626 * server.el (server-auth-key, server-generate-key): Doc fixes.
7627 (server-get-auth-key): Doc fix. Use `string-match-p'.
7628 (server-start): Reflow docstring.
7629
e6de100c
LI
76302012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7631
7632 * server.el (server-generate-key): `called-interactively-p'
7633 requires a parameter.
7634
29734c21
MN
76352012-04-14 Michal Nazarewicz <mina86@mina86.com>
7636
7637 * server.el (server-auth-key): New variable.
75f1671a 7638 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7639 (server-start): Use the new variable and functions to allow
7640 setting a permanent server key (bug#9423).
7641
d65c9521
LL
76422012-04-14 Leo Liu <sdl.web@gmail.com>
7643
7644 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7645
5ae255c7
PE
76462012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7647
7648 Spelling fixes.
7649 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7650 Emacs uses American spelling.
7651
d5e6342e
JB
76522012-04-14 Juanma Barranquero <lekktu@gmail.com>
7653
7654 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7655 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7656 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7657 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7658
ab036cd7
SM
76592012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7660
7661 * progmodes/which-func.el (which-func-modes): Change default.
7662
35dc09a1 76632012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7664
7665 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7666 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7667
35dc09a1 76682012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7669
7670 * custom.el (custom-theme-set-variables): Doc fix.
7671
35dc09a1 76722012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7673
7674 * international/mule.el (set-auto-coding-for-load): Doc fix.
7675
35dc09a1 76762012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7677
35dc09a1
GM
7678 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7679 imenu work again for Objective C Mode. Correct the *-index values,
7680 these having been disturbed by a previous change in 2011-08.
57f845ee 7681
0de3da9f
AM
7682 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7683 Correct two search limits.
7684
35dc09a1 76852012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7686
7687 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7688
35dc09a1 76892012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7690
7691 * international/characters.el: Fix sorting.
7692
35dc09a1 76932012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7694
7695 * international/characters.el: Add more missing Latin case pairs.
7696
35dc09a1 76972012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7698
7699 * files.el (dir-locals-set-class-variables): Doc fix.
7700
35dc09a1 77012012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7702
3f1b5bf8
EZ
7703 * international/characters.el: Add set-case-syntax-pair call for
7704 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7705 counterpart. (Bug#11209)
7706
9f847f41
EZ
7707 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7708
35dc09a1 77092012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7710
7711 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7712
35dc09a1 77132012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7714
35dc09a1
GM
7715 * textmodes/ispell.el (ispell-dictionary-base-alist):
7716 Add data for Hebrew.
e2627d21 7717
35dc09a1 77182012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7719
35dc09a1
GM
7720 * net/rcirc.el (rcirc-cmd-quit):
7721 Revert 2012-03-18 change (Bug#11192).
5c14e333 7722
35dc09a1 77232012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7724
7725 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7726
35dc09a1 77272012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7728
4517fe3a
SM
7729 * minibuffer.el (completion-in-region-mode-map):
7730 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7731
b472a594
VD
77322012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7733
7734 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7735
09b95ce3
MY
77362012-04-13 Masatake YAMATO <yamato@redhat.com>
7737
7738 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7739 to allow `C-M-f' and `C-M-b' to move to the nearest path
7740 separator (bug#9511).
7741
4b63a9ca
LI
77422012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7743
7744 * avoid.el: Require cl when compiling. And also move the
7745 `provide' to the end.
7746
7b55b8bf
TV
77472012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7748
7749 * avoid.el (mouse-avoidance-banish-position): New variable.
7750 (mouse-avoidance-banish-destination): Use it (bug#10165).
7751
adedaa1f
LL
77522012-04-13 Leo Liu <sdl.web@gmail.com>
7753
7754 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7755
70e74021
KB
77562012-04-13 Ken Brown <kbrown@cornell.edu>
7757
7758 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7759 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7760 (browse-url-filename-alist): For the same reason, don't modify
7761 file:// URLs on Cygwin.
7762
e75e89ba
SM
77632012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7764
7765 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7766 the region on shift if the binding is already shifted (bug#11221).
7767
82f289a4
GM
77682012-04-12 Glenn Morris <rgm@gnu.org>
7769
7770 * mail/mailpost.el: Move to obsolete/.
7771
d333dc4c
DA
77722012-04-12 Drew Adams <drew.adams@oracle.com>
7773
7774 * imenu.el (imenu--generic-function): Ignore invisible definitions
7775 (bug#10123).
7776
0d15b5ba
VD
77772012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7778
7779 * hexl.el (hexl-bits): New variable.
7780 (hexl-options): Mention the variable in the doc string.
75f1671a 7781 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7782 (hexl-mode): Mention the new variable.
75f1671a
JB
7783 (hexl-mode, hexl-current-address, hexl-current-address):
7784 Use the displen.
0d15b5ba
VD
7785 (hexl-ascii-start-column): New function.
7786 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7787 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7788
64a440db
AM
77892012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7790
7791 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7792 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7793 the encoding, as expected by hunspell.
7794
6decb6c2
SM
77952012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7796
7797 * battery.el (battery--linux-sysfs-regexp): New const.
7798 (battery-status-function): Use it. Remove yeeloong special case.
7799 (battery-yeeloong-sysfs): Remove.
7800 (battery-echo-area-format): Remove yeeloong special case.
7801
088be6fb
SM
78022012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7803
6622e416
SM
7804 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7805 Reported by Noah Friedman.
7806
088be6fb
SM
7807 * subr.el (read-passwd): Use read-string.
7808
b49f886e
LMI
78092012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7810
7811 * vcursor.el (vcursor-move): Increase the priority of the overlay
7812 (bug#9663).
7813
a63067fc
DD
78142012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7815
7816 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7817 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7818
ac3cf14a
WS
78192012-04-11 William Stevenson <yhvh2000@gmail.com>
7820
7821 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7822 define-minor-mode (bug#10760).
7823
c4fc691b 78242012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7825
4d6769e1 7826 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7827 that directories matching `grep-find-ignored-files' won't be
7828 pruned (bug#10351).
7829
af23e2e5
CY
78302012-04-11 Chong Yidong <cyd@gnu.org>
7831
7832 * startup.el (command-line): Remove support for long-obsolete
7833 variable font-lock-face-attributes.
7834
ab7ce8c1
GM
78352012-04-11 Glenn Morris <rgm@gnu.org>
7836
7837 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7838
de8c03dc
SM
78392012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7840
7841 * window.el (window--state-get-1): Obey window-point-insertion-type.
7842
050cc68b
LB
78432012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7844
7845 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7846 to previous function when point is on the first character of a
75f1671a 7847 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7848
a38c310c
GM
78492012-04-11 Glenn Morris <rgm@gnu.org>
7850
effed0c2
GM
7851 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7852 not just file-errors.
7853
a38c310c
GM
7854 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7855 (vc-bzr-sha1): Use internal sha1.
7856
0221e323
SM
78572012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7860
43956923
SG
78612012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7862
7863 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7864 that start in the middle of the line (bug#10496).
7865
6a8c9eaf
DN
78662012-04-10 Dan Nicolaescu <dann@gnu.org>
7867
7868 * battery.el (battery-linux-proc-acpi): Only one battery is
7869 discharged at a time, but that seems to confuse battery.el when
7870 computing `rate-type' for the battery not being discharged
7871 (bug#10332).
7872
1930bf5d
SM
78732012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7874
2a718f6f
SM
7875 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7876
599430d0
SM
7877 * international/quail.el: Use dolist and simplify.
7878 (quail-define-package, quail-update-keyboard-layout)
7879 (quail-define-rules): Use dolist.
7880 (quail-insert-kbd-layout, quail-get-translation): CSE.
7881
a2754b6c
SM
7882 * tmm.el: Use dolist, remove left over hook.
7883 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7884 Use dolist.
7885 (calendar-load-hook): Don't mess with it.
7886
1930bf5d
SM
7887 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7888 Use derived-mode-p. Run the diff asynchronously.
7889
9f67961c
LMI
78902012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7891
7892 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7893
2a8ce227
JB
78942012-04-10 Juanma Barranquero <lekktu@gmail.com>
7895
7896 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7897 (list-dynamic-libraries--loaded): New function.
7898 (list-dynamic-libraries--refresh): Use it.
7899
8f33b5f8
NW
79002012-04-10 Nathan Weizenbaum <nweiz@google.com>
7901
1930bf5d
SM
7902 * progmodes/python.el (python-fill-paragraph):
7903 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7904 disabled (bug#7018).
7905
b12f0439
L
79062012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7907
1930bf5d 7908 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7909 DOS/MS Windows for the Baltic languages. There are still plenty
7910 of texts written in this encoding/codepage (bug#6519).
b12f0439 7911
57c3bd01
GM
79122012-04-10 Glenn Morris <rgm@gnu.org>
7913
7914 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7915 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7916
6c3eab30
FA
79172012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7918
1930bf5d 7919 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7920 next-line "n" and previous-line "p" in order to make recentf more
7921 consistent with ibuffer, dired or org-mode (bug#9387).
7922
24d78a88
LMI
79232012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7924
bc72b5d9
LMI
7925 * image.el (put-image): Return the overlay created instead of the
7926 optional input string (bug#7834). Note that this may break code
7927 that is (for some reason or other) depending on `put-image'
7928 returning the string.
7929
bd2dba5a
LMI
7930 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7931
74beb59f
LMI
7932 * simple.el (zap-to-char): Allow zapping using input methods
7933 (bug#1580).
7934
24d78a88
LMI
7935 * textmodes/fill.el (fill-region): Leave point and mark where they
7936 were before filling (bug#5399).
7937
263f20cd
GM
79382012-04-09 Glenn Morris <rgm@gnu.org>
7939
7940 * version.el (emacs-bzr-get-version):
7941 Handle lightweight checkouts of local branches.
7942
58d1f797
AS
79432012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7944
263f20cd 7945 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7946
b4d3bc10
CY
79472012-04-09 Chong Yidong <cyd@gnu.org>
7948
7949 * custom.el (custom-variable-p): Return nil for non-symbol
7950 arguments instead of signaling an error.
7951 (user-variable-p): Obsolete alias for custom-variable-p.
7952
7953 * apropos.el (apropos-variable):
7954 * files-x.el (read-file-local-variable):
7955 * simple.el (set-variable):
7956 * woman.el (woman-mini-help):
7957 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7958
fd06db5d
GM
79592012-04-09 Glenn Morris <rgm@gnu.org>
7960
e5fcdb5e
GM
7961 * startup.el (normal-top-level): Don't look for leim-list.el
7962 in places where it will not be found. (Bug#910)
7963
fd06db5d
GM
7964 * international/mule-cmds.el (set-default-coding-systems):
7965 * files.el (normal-mode):
7966 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7967 This function was removed with ucs-tables.el in 2008.
7968
b39bb7e1
EZ
79692012-04-08 Eli Zaretskii <eliz@gnu.org>
7970
7971 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7972 ispell-encoding8-command to "-i", without a trailing space.
7973 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7974 separate command-line arguments, to specify the encoding, since
7975 that's how hunspell expects it.
7976
5c5b8e23
GM
79772012-04-08 Glenn Morris <rgm@gnu.org>
7978
7979 * loadup.el: Load bindings before cus-start.
7980 This reduces somewhat the number of "rogue" settings in emacs -Q.
7981
a1ed8b05
GM
79822012-04-07 Glenn Morris <rgm@gnu.org>
7983
7984 * version.el (emacs-bzr-get-version): New function.
dfae128a 7985 (emacs-bzr-version): New variable.
a1ed8b05
GM
7986 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7987 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7988
b142f158
EZ
79892012-04-07 Eli Zaretskii <eliz@gnu.org>
7990
dfae128a
GM
7991 * international/uni-bidi.el, international/uni-category.el:
7992 * international/uni-combining.el, international/uni-decimal.el:
7993 * international/uni-decomposition.el, international/uni-digit.el:
7994 * international/uni-lowercase.el, international/uni-mirrored.el:
7995 * international/uni-name.el, international/uni-numeric.el:
7996 * international/uni-titlecase.el, international/uni-uppercase.el:
7997 Update for Unicode 6.1.
b142f158 7998
9078ead6
EZ
79992012-04-07 Eli Zaretskii <eliz@gnu.org>
8000
8001 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8002
f23d2c7d
LMI
80032012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8004
8005 * window.el (shrink-window): Mention the `window-min-height'
8006 variable in the doc string.
8007
0a0a3573
BG
80082012-04-05 Bastien Guerry <bzg@altern.org>
8009
8010 * color.el (color-lighten-name): Fix typo.
8011
e5248ac9
SM
80122012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8013
8014 * server.el (server--on-display-p): New function.
8015 (server--on-display-p): Use it.
8016
b4243e22
GV
80172012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8018
8019 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8020 (bug#11145).
8021
305d9f44
SM
80222012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8023
8024 * comint.el (comint--common-quoted-suffix): Check string boundary
8025 before comparing (bug#11158).
8026 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8027
3d439cd1
CY
80282012-04-04 Chong Yidong <cyd@gnu.org>
8029
321cc491
CY
8030 * minibuffer.el (completion-extra-properties): Doc fix.
8031
3d439cd1
CY
8032 * subr.el (delayed-warnings-hook): Doc fix.
8033
2d562c0f
DU
80342012-04-04 Daiki Ueno <ueno@unixuser.org>
8035
8036 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8037 selection (Bug#11159).
8038 (epa-insert-keys): Inform that the default public key will be
8039 exported if no key is selected.
8040
4443f204
RS
80412012-04-04 Richard Stallman <rms@gnu.org>
8042
8043 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8044
529c06b6
CY
80452012-04-03 Chong Yidong <cyd@gnu.org>
8046
8047 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8048 mail-insert-file, not its obsolete alias mail-attach-file.
8049
66b907dc
MA
80502012-04-03 Michael Albinus <michael.albinus@gmx.de>
8051
8052 * notifications.el (notifications-notify): Fix docstring.
8053
c0ea195d
GM
80542012-04-02 Glenn Morris <rgm@gnu.org>
8055
8056 * emacs-lisp/authors.el (authors-aliases): Another addition.
8057
5ca64e00
MA
80582012-04-02 Michael Albinus <michael.albinus@gmx.de>
8059
8060 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8061 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8062 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8063
42ee526b
CY
80642012-04-01 Chong Yidong <cyd@gnu.org>
8065
8066 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8067 Handle root directory properly.
8068 (copy-directory): Caller changed.
8069
8070 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8071 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8072
0b021094
GM
80732012-03-31 Glenn Morris <rgm@gnu.org>
8074
40f86458
GM
8075 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8076
7019c177
GM
8077 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8078
a1daddd6
GM
8079 * calendar/calendar.el (calendar-window-list)
8080 (calendar-hide-window): Restore. (Bug#11140)
8081 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8082
0b021094
GM
8083 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8084
40311efc
TV
80852012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8086
8087 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8088 Check if file is a symlink (Bug#10489).
8089
8090 * files.el (copy-directory): Likewise.
8091
5319014e
CY
80922012-03-30 Chong Yidong <cyd@gnu.org>
8093
8094 * image.el (imagemagick-types-inhibit)
8095 (imagemagick-register-types): Doc fix.
8096
935d1290
AM
80972012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8098
090bd7cb 8099 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8100 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8101 and treats ~word as ordinary words in pipe mode.
935d1290 8102
61c6e8fd
GM
81032012-03-30 Glenn Morris <rgm@gnu.org>
8104
8105 * tutorial.el (help-with-tutorial): Ensure local variables don't
8106 happen to make the buffer read-only. (Bug#11127)
8107
81fdff00
SM
81082012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8109
8110 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8111 (perl-calculate-indent): Return `noindent' in strings.
8112
6e7a6ec0
SS
81132012-03-28 Sam Steingold <sds@gnu.org>
8114
8115 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8116 instead of the broken adhockery which does not prevent calendar
8117 buffers from being displayed at random after exit.
8118 (calendar-window-list, calendar-hide-window): Remove the broken
8119 adhockery.
8120
fee88ca0
GM
81212012-03-28 Glenn Morris <rgm@gnu.org>
8122
8123 * replace.el (query-replace-map): Doc fix.
8124
38de3354
AS
81252012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8126
8127 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8128 contents. (Bug#11109)
8129
b973155e
SM
81302012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8131
8132 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8133 (bug#11077).
8134 (avl-tree--check, avl-tree--check-node): New funs.
8135
dcb6e7b3
MR
81362012-03-27 Martin Rudalics <rudalics@gmx.at>
8137
8138 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8139 (switch-to-prev-buffer, switch-to-next-buffer):
8140 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8141 showing a buffer already is done on the same frame.
8142
b4fa35fa
GM
81432012-03-27 Glenn Morris <rgm@gnu.org>
8144
8145 * startup.el (mail-host-address): Doc fix.
8146
f9210e18
SM
81472012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8150 than 197 variables.
8151
c0bf7753
AF
81522012-03-26 Ami Fischman <ami@fischman.org>
8153
8154 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8155
33da7b16
GM
81562012-03-26 Glenn Morris <rgm@gnu.org>
8157
02243d9d
GM
8158 * files.el (save-buffers-kill-emacs): Doc fix.
8159
33da7b16
GM
8160 * startup.el (normal-top-level, command-line, command-line-1):
8161 Give them doc strings.
8162
e5a69fd0
EZ
81632012-03-25 Eli Zaretskii <eliz@gnu.org>
8164
8165 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8166 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8167
9a69676a
CY
81682012-03-25 Chong Yidong <cyd@gnu.org>
8169
4125cb8b
CY
8170 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8171 theme if it was previously enabled before (Bug#11031).
8172
dd470960
CY
8173 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8174 spec with custom-face-get-current-spec if its :shown-value is not
8175 determined yet (Bug#9337).
4125cb8b 8176 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8177
9a69676a
CY
8178 * button.el (button-at): Minor addition to docstring.
8179
6e7e90fa
SL
81802012-03-24 Simon Leinen <simon.leinen@gmail.com>
8181
8182 * vc/vc.el (vc-merge): Fix a prompt.
8183
f06e2758
CY
81842012-03-24 Chong Yidong <cyd@gnu.org>
8185
8186 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8187 point (Bug#9623).
8188
6e7e90fa
SL
8189 * button.el (button-at): Minor addition to docstring.
8190
b9d0879b
SM
81912012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * newcomment.el (comment-choose-indent): No space after BOL.
8194
e71cebb3
SS
81952012-03-22 Sam Steingold <sds@gnu.org>
8196
8197 * window.el (switch-to-prev-buffer): Revert last patch because the
8198 bug turned out to be an advertised feature (Elisp manual 28.14).
8199
335aff35
GM
82002012-03-22 Glenn Morris <rgm@gnu.org>
8201
8202 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8203 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8204
c676576a
LMI
82052012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8206
8207 * net/network-stream.el (network-stream-open-starttls): Make error
8208 message under Windows be less misleading.
8209
126f3d39
LW
82102012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8211
8212 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8213 understands (bug#9942).
8214
64fee311
CY
82152012-03-22 Chong Yidong <cyd@gnu.org>
8216
8217 * simple.el (end-of-visible-line): Handle return value of
8218 next-single-property-change properly (Bug#9371).
8219
a640d29a
KH
82202012-03-22 Kenichi Handa <handa@m17n.org>
8221
8222 * international/quail.el (quail-insert-kbd-layout): Fix previous
8223 change. To avoid unwanted bidi reordering, use
8224 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8225
39675016
DG
82262012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8227
8228 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8229 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8230 (ruby-beginning-of-indent): Be more careful with the difference
8231 between word-boundary and symbol boundary.
8232 (ruby-mode-syntax-table): Make : a symbol constituent.
8233
0a6934fc 82342012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8235
3d008e4f
SM
8236 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8237
0a6934fc
SM
82382012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8239
af67c9d7
SM
8240 * progmodes/etags.el (tags-completion-at-point-function):
8241 Improve last fix.
8242
1acad97c
SM
8243 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8244
e298b5da
SS
82452012-03-21 Sam Steingold <sds@gnu.org>
8246
8247 * progmodes/etags.el (tags-completion-at-point-function):
8248 Avoid the error when point is inside the pattern.
8249
91d82a70
JY
82502012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8251
8252 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8253 line (Bug#10855).
8254
69188b79
CY
82552012-03-21 Drew Adams <drew.adams@oracle.com>
8256
8257 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8258
99fc91fe
AK
82592012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8260
8261 * ido.el (ido-set-current-directory, ido-read-internal)
8262 (ido-choose-completion-string, ido-completion-help): Handle nil
8263 value of ido-completion-buffer (Bug#11008).
8264
087bbb4c
SS
82652012-03-21 Sam Steingold <sds@gnu.org>
8266
8267 * window.el (switch-to-prev-buffer): Do not switch to a visible
8268 window previous buffer, just like with the frame previous buffers.
8269
fb5b8aca
CY
82702012-03-21 Chong Yidong <cyd@gnu.org>
8271
8272 * faces.el (make-face, make-empty-face, copy-face):
8273 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8274 Doc fixes.
8275
dc9924b8
SM
82762012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8277
8278 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8279 (widget-complete): Remove broken use of it.
8280
f0bcceb9
CY
82812012-03-20 Chong Yidong <cyd@gnu.org>
8282
dc9924b8
SM
8283 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8284 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8285 characters.
8286
ee52ebf3
TH
82872012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8288
8289 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8290 to draw rectangles, not squares. (Regression introduced by revno
8291 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8292
4c5779ab
CY
82932012-03-18 Chong Yidong <cyd@gnu.org>
8294
8295 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8296 it is not yet defined (for temacs).
8297
15360934
LL
82982012-03-18 Leo Liu <sdl.web@gmail.com>
8299
dc9924b8 8300 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 8301
d9a8eb66
EZ
83022012-03-17 Eli Zaretskii <eliz@gnu.org>
8303
8304 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8305 (ispell-choices-win-default-height, ispell-silently-savep)
8306 (ispell-dictionary-alist, ispell-encoding8-command)
8307 (ispell-check-version, ispell-aspell-find-dictionary)
8308 (ispell-valid-dictionary-list, ispell-words-keyword)
8309 (ispell-get-word, ispell-internal-change-dictionary)
8310 (ispell-region, ispell-skip-region-list)
8311 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8312 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8313 (ispell-message-text-end, ispell-message)
8314 (ispell-buffer-local-parsing): Doc fix.
8315
f02ff80d
J
83162012-03-13 Jambunathan K <kjambunathan@gmail.com>
8317
8318 * htmlfontify.el: Add support for code block fontification for ODT
8319 export (Bug #9914).
8320 (hfy-optimisations): Define new option
8321 `body-text-only'
8322 (hfy-fontify-buffer): Honor above setting.
8323 (hfy-begin-span, hfy-end-span): New routines factored out form
8324 `hfy-fontify-buffer'.
8325 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8326 that permit insertion of custom tags.
8327 (hfy-fontify-buffer): Use above handlers.
8328 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8329 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8330 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8331 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8332 bind a special variable `hfy-user-sheet-assoc'.
8333 (htmlfontify-string): New defun.
8334 (hfy-compile-face-map): Make sure that the last char in the
8335 buffer is correctly fontified.
8336 (hfy-face-resolve-face): Whitespace only change.
8337
9ac7a13f
EZ
83382012-03-17 Eli Zaretskii <eliz@gnu.org>
8339
8340 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8341 message more clear.
8342
e2b5bdd7
LL
83432012-03-16 Leo Liu <sdl.web@gmail.com>
8344
8345 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8346
2e492df3
AM
83472012-03-16 Alan Mackenzie <acm@muc.de>
8348
8349 Further optimise the handling of large macros.
8350
8351 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8352 limit to a call of `c-literal-limits'.
8353 (c-determine-+ve-limit): New function.
dc9924b8
SM
8354 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8355 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8356 In CASE 5B, restrict a search limit to 500.
8357 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8358
8359 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8360 Restrict macro bounds to +-500 from after-change's BEG END.
8361
50e94f0c
LL
83622012-03-16 Leo Liu <sdl.web@gmail.com>
8363
8364 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8365
6f09f6ed
AH
83662012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8367
8368 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8369 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8370
c7e73d51
GM
83712012-03-16 Glenn Morris <rgm@gnu.org>
8372
da986230
GM
8373 * view.el (view-buffer, view-buffer-other-window)
8374 (view-buffer-other-frame): Doc fixes re special mode-class.
8375
0835f01e
GM
8376 * subr.el (eval-after-load): If named feature is provided not from
8377 a file, run after-load forms. (Bug#10946)
8378
c7e73d51
GM
8379 * calendar/calendar.el (calendar-insert-at-column):
8380 Handle non-unit-width characters a bit better. (Bug#10978)
8381
3f2eafd1
CY
83822012-03-15 Chong Yidong <cyd@gnu.org>
8383
8384 * emacs-lisp/ring.el (ring-extend): New function.
8385 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8386
8387 * comint.el (comint-read-input-ring)
8388 (comint-add-to-input-history): Grow comint-input-ring lazily.
8389
103af3fe
SM
83902012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8391
663b1677
SM
8392 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8393 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8394
103af3fe
SM
8395 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8396 (imenu-add-to-menubar): Don't add a redundant index.
8397 (imenu-update-menubar): Handle a dynamically composed keymap.
8398
899cb7cb
KY
83992012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8400
8401 * mail/sendmail.el (mail-encode-header):
8402 Bind rfc2047-encode-encoded-words to nil.
8403
3809f91d
GM
84042012-03-13 Glenn Morris <rgm@gnu.org>
8405
8406 * calendar/calendar.el (calendar-string-spread):
8407 Handle non-unit-width characters a bit better. (Bug#10978)
8408
9e345a01
LL
84092012-03-13 Leo Liu <sdl.web@gmail.com>
8410
8411 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8412 directory and file as argument (Bug#10822).
8413
4a07df36
KS
84142012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8415
8416 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8417 For dynamically generated code, follow $PC.
8418 (gdb-disassembly-handler-custom): Handle no function name case.
8419
4aaa9356
TL
84202012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8421
8422 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8423 * emulation/ws-mode.el (ws-query-replace):
8424 * sort.el (sort-regexp-fields):
8425 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8426
225979da
SM
84272012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8428
8429 * dabbrev.el: Fix cycle completion order (bug#10963).
8430 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8431 (dabbrev-completion): Don't use an obarray; provide
8432 a cycle-sort-function.
8433
e2f1fdab
LL
84342012-03-12 Leo Liu <sdl.web@gmail.com>
8435
dc9924b8 8436 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8437 (kill-do-not-save-duplicates): Doc fix.
8438
b19490ed
SM
84392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8440
8441 * dabbrev.el: Fix cycle completion (bug#10963).
8442 Use lexical binding and wrap to 80 columns.
8443 (dabbrev-completion): Delay computing the list of completions.
8444
4b05d722
KH
84452012-03-12 Kenichi Handa <handa@m17n.org>
8446
8447 * international/quail.el (quail-insert-kbd-layout): Surround each
8448 row by LRO and PDF instead of inserting many LRMs. Pad the left
8449 and right of each non-spacing marks. Insert invisible space
8450 between lower and upper characters to prevent composition.
8451
dbbc2e69
SM
84522012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8453
8454 * minibuffer.el (minibuffer-complete): Don't get confused when the
8455 function is run twice via different commands (bug#10958).
8456 (complete-with-action): Fix docstring.
8457
292112ed
CY
84582012-03-12 Chong Yidong <cyd@gnu.org>
8459
5d1ac394
CY
8460 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8461 (nxml-completion-at-point-function): New function.
8462 (nxml-mode): Use it.
8463 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8464
292112ed
CY
8465 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8466 Load generated autoloads file before byte compiling (Bug#10970).
8467 (package--make-autoloads-and-compile): New helper fun.
8468
4098f8f7
CS
84692012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8470
8471 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8472
8f754691
MA
84732012-03-11 Michael Albinus <michael.albinus@gmx.de>
8474
8475 * autorevert.el (auto-revert-handler): Ensure, that
8476 file-readable-p is applied only for local files or in
8477 auto-revert-tail-mode.
8478
e29ab36b
AS
84792012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8480
dbbc2e69
SM
8481 * server.el (server-eval-at): Handle non-tcp connections.
8482 Decode result string.
ad0bf5b6 8483
e29ab36b
AS
8484 * server.el (server-msg-size): New constant.
8485 (server-reply-print): New function.
8486 (server-eval-and-print): Use it.
8487 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8488 Handle -print-nonl.
8489
de5939ba
CS
84902012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8491
8492 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8493 (Bug#10987).
8494
0c93eabf
CY
84952012-03-11 Chong Yidong <cyd@gnu.org>
8496
397a688f
CY
8497 * simple.el (goto-line): Doc fix (Bug#9938).
8498
2cc775f9
CY
8499 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8500
0c93eabf
CY
8501 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8502 when finished (Bug#10963).
8503
c491fa41
MR
85042012-03-11 Martin Rudalics <rudalics@gmx.at>
8505
8506 * window.el (split-window-below): Fix bug in case where
8507 split-window-keep-point is nil (Bug#10971).
8508
300e8fa5
JL
85092012-03-11 Juri Linkov <juri@jurta.org>
8510
8511 * replace.el (replace-highlight): Set isearch-word to nil
8512 unconditionally. (Bug#10887)
8513
dbf6c5a1
EZ
85142012-03-10 Eli Zaretskii <eliz@gnu.org>
8515
8516 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8517 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8518 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8519 (mairix-widget-create-query): Add usage information about mairix
8520 search forms: negating words, searching for substrings, etc.
8521
b9e501de
JP
85222012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8523
8524 * international/fontset.el (font-encoding-alist): Add an entry for
8525 ksx1001 (Bug#5667).
8526
92795c91
RS
85272012-03-10 Richard Stallman <rms@gnu.org>
8528
1694e6c1
RS
8529 * mail/sendmail.el (mail-encode-header):
8530 Set rfc2047-encode-encoded-words.
8531
607e8555
RS
8532 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8533
de3bc99a
RS
8534 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8535 view buffer means not swapped.
8536 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8537 (rmail-write-region-annotate): Error if real text has disappeared.
8538
92795c91
RS
8539 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8540
699bd04e
CY
85412012-03-10 Chong Yidong <cyd@gnu.org>
8542
8543 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8544 * emulation/cua-base.el (cua--init-keymaps):
8545 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8546
570a1714
MR
85472012-03-10 Martin Rudalics <rudalics@gmx.at>
8548
dbbc2e69
SM
8549 * speedbar.el (speedbar-unhighlight-one-tag-line):
8550 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8551
82dcf4e4
CY
85522012-03-10 Chong Yidong <cyd@gnu.org>
8553
7a2c7ca7
CY
8554 * minibuffer.el (completion-in-region, completion-help-at-point):
8555 Give the completion field overlay a high priority (Bug#6830).
8556
82dcf4e4
CY
8557 * dired.el (dired-goto-file): Recognize absolute file name
8558 listings (Bug#7126).
8559 (dired-goto-file-1): New helper function.
8560 (dired-toggle-read-only): Inhibit warnings.
8561
052e28ac
MA
85622012-03-09 Michael Albinus <michael.albinus@gmx.de>
8563
75f1671a 8564 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8565 there are no properties.
8566
95d5e396
LL
85672012-03-09 Leo Liu <sdl.web@gmail.com>
8568
8569 * savehist.el (savehist-printable): Stricter check for string
8570 value (Bug#10937).
8571
3f018d6d
EZ
85722012-03-09 Eli Zaretskii <eliz@gnu.org>
8573
dbbc2e69
SM
8574 * mail/smtpmail.el (smtpmail-send-it):
8575 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8576 valid mbox format.
8577
f7fd3d79
GM
85782012-03-09 Glenn Morris <rgm@gnu.org>
8579
8580 * files.el (dir-locals-find-file):
8581 Don't check result is regular, readable.
8582 (dir-locals-read-from-file): Demote errors.
8583
6ff6e72f
EZ
85842012-03-08 Eli Zaretskii <eliz@gnu.org>
8585
dbbc2e69
SM
8586 * international/quail.el (quail-insert-kbd-layout):
8587 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8588 layout cell, to prevent their reordering by bidi display engine.
8589 For details, see the discussion in
8590 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8591
9cec7834
AM
85922012-03-08 Alan Mackenzie <acm@muc.de>
8593
8594 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8595 the starting position; make it extend the marked region when
8596 invoked repeatedly - all under appropriate circumstances.
8597 Fixes bugs #5525, #10906.
8598
9a40b8d4
GM
85992012-03-08 Glenn Morris <rgm@gnu.org>
8600
8601 * files.el (locate-dominating-file, dir-locals-find-file):
8602 Undo 2012-03-06 change.
8603
7a08ed35
EZ
86042012-03-07 Eli Zaretskii <eliz@gnu.org>
8605
dbbc2e69
SM
8606 * international/quail.el (quail-help):
8607 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8608 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8609 for the reason.
8610
5aca4f71 86112012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8612
8613 Avoid superfluous registering of signals. (Bug#10807)
8614
8615 * notifications.el (notifications-on-action-object)
8616 (notifications-on-close-object): New defvars.
8617 (notifications-on-action-signal, notifications-on-closed-signal):
8618 Unregister the signal if not needed any longer.
8619 (notifications-notify): Register `notifications-action-signal' or
8620 `notifications-closed-signal', if :on-action or :on-close has been
8621 passed as argument.
8622
78e8b10a
CY
86232012-03-07 Chong Yidong <cyd@gnu.org>
8624
8625 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8626 non-X platforms.
8627
69481eb8
GM
86282012-03-06 Glenn Morris <rgm@gnu.org>
8629
8630 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8631 (x-disown-selection-internal, x-get-selection-internal):
8632 Doc fix (add arglist signatures). (Bug#10783)
8633
133b8e11
KS
86342012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8635
8636 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8637 Handle breakpoints with no "type".
8638
99a83064
GM
86392012-03-06 Glenn Morris <rgm@gnu.org>
8640
8641 * files.el (locate-dominating-file): Add optional predicate argument.
8642 (dir-locals-find-file): Make use of above change.
8643
17798e78
TTN
86442012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8645
8646 * info.el (Info-insert-dir): Also try "dir.gz".
8647
eb182446
GM
86482012-03-06 Glenn Morris <rgm@gnu.org>
8649
8f2114ee
GM
8650 * files.el (dir-locals-find-file):
8651 Ignore non-readable or non-regular files. (Bug#10928)
8652
eb182446
GM
8653 * files.el (locate-dominating-file): Doc fix.
8654
24679323
AS
86552012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8656
8657 * calendar/calendar.el (calendar-set-mode-line):
8658 `getenv' returns a string. (Bug#10951)
8659
01d972a9
LL
86602012-03-05 Leo Liu <sdl.web@gmail.com>
8661
109aa8a9
LL
8662 * simple.el (backward-delete-char-untabify): Constrain point to
8663 field (Bug#10939).
8664
01d972a9
LL
8665 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8666
10607bea
CY
86672012-03-05 Chong Yidong <cyd@gnu.org>
8668
8669 * simple.el (count-words): If called from Lisp, return the word
8670 count, for symmetry with `count-lines'. Arglist changed.
8671 (count-words--message): Args changed. Consolidate counting code
8672 from count-words and count-words-region.
8673 (count-words-region): Caller changed.
8674 (count-lines-region): Make it an obsolete alias.
8675
5dd11cfe
TH
86762012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8677
8678 * saveplace.el (save-place-to-alist)
8679 (save-place-ignore-files-regexp): Allow value nil to disable this
8680 feature.
8681
c349f4e6
CY
86822012-03-04 Chong Yidong <cyd@gnu.org>
8683
8684 * faces.el (face-spec-reset-face): For the default face, reset the
8685 attributes to default values (Bug#10748).
8686
e627be4c
LMI
86872012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8688
8689 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8690 previous patch: Check `message-send-mail-function', and not the
8691 default function (bug#10897).
8692
ebeabff4
MA
86932012-03-04 Michael Albinus <michael.albinus@gmx.de>
8694
a41a6cf4
MA
8695 * notifications.el (notifications-on-action-signal)
8696 (notifications-on-closed-signal): Check for unique service name of
8697 incoming event. Fix error in removing entry.
ebeabff4 8698 (top): Register for signals with wildcard service name.
a41a6cf4 8699 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8700
c1ca42b4
CY
87012012-03-04 Chong Yidong <cyd@gnu.org>
8702
dc9924b8 8703 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8704
ea16568d
GM
87052012-03-04 Glenn Morris <rgm@gnu.org>
8706
8707 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8708 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8709 (expand-abbrev, define-abbrev-table): Doc fixes.
8710
fbae4637
LMI
87112012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8712
8713 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8714 `message-default-send-mail-function' and not `send-mail-function'
8715 when doing the prompting for `sendmail-query-once' before sending
8716 in Message buffers (bug#10897).
8717
a1e7225c
LMI
8718 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8719 This is inconsistent with all the other stream functions, which leave
8720 the setting up to the higher levels (if so wanted) (bug#10931).
8721
56d093a9
AM
87222012-03-02 Alan Mackenzie <acm@muc.de>
8723
8724 Depessimize the handling of very large macros.
8725
8726 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8727 (c-macro-cache-syntactic): New variables to implement a one
8728 element macro cache.
8729 (c-invalidate-macro-cache): New function.
8730 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8731 Adapt to use the new cache.
8732 (c-state-safe-place): Use better the cache of safe positions.
8733 (c-state-semi-nonlit-pos-cache)
8734 (c-state-semi-nonlit-pos-cache-limit):
8735 New variables for...
8736 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8737 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8738 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8739 Use c-state-semi-safe-place.
56d093a9 8740
dbbc2e69
SM
8741 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8742 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8743
817e5c3d
MA
87442012-03-02 Michael Albinus <michael.albinus@gmx.de>
8745
dbbc2e69
SM
8746 * jka-compr.el (jka-compr-call-process):
8747 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8748 not remote.
8749
a032a702
MA
87502012-03-01 Michael Albinus <michael.albinus@gmx.de>
8751
8752 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8753 access of FILE2, if FILE1 does not exist.
8754
99a54f21
MA
8755 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8756 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8757
8758 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8759 Add "PAGER=" to `process-environment'.
8760
f6561e1f
MM
87612012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8762
8763 * progmodes/sql.el: Bug fix
8764 (sql-get-login-ext): Save login values in globals.
8765 (sql-get-login): Use new version of `sql-get-login-ext'.
8766 (sql-interactive-mode): Set global `sql-connection' to nil.
8767 (sql-connect): Set global values for connection.
8768 (sql-product-interactive): Save global values as buffer local.
8769
2d44d9cc
LL
87702012-02-29 Leo Liu <sdl.web@gmail.com>
8771
8772 * abbrev.el (define-abbrevs): Reset sys to nil.
8773
96b49301 87742012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8775
bf7f9bc5
JB
8776 * files.el (file-equal-p): Rename from `files-equal-p'.
8777 Return nil when one or both files don't exist.
96b49301 8778 (file-subdir-of-p): Now only top directory must exists,
8779 return nil if it doesn't.
bf7f9bc5
JB
8780 (copy-directory): No need to test with `file-subdir-of-p' after
8781 creating dir.
8782 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8783 to `file-equal-p'.
96b49301 8784
44e97401
GM
87852012-02-28 Glenn Morris <rgm@gnu.org>
8786
8787 * shell.el (shell-mode):
8788 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8789 * play/landmark.el (landmark-font-lock-face-O):
8790 * play/handwrite.el (handwrite):
8791 * play/gomoku.el (gomoku-O):
8792 * net/browse-url.el (browse-url-browser-display):
8793 * international/mule.el (define-charset):
8794 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8795 * filesets.el (filesets-find-file-delay):
8796 * eshell/em-xtra.el (eshell-xtra):
8797 * eshell/em-unix.el (eshell-grep):
8798 * emulation/viper.el (viper-mode):
8799 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8800 * emacs-lisp/easymenu.el (easy-menu-define):
8801 * calendar/timeclock.el (timeclock-use-display-time):
8802 * bs.el (bs-mode):
8803 * bookmark.el (bookmark-save-flag):
8804 Doc fix (standardize possessive apostrophe usage).
8805
c98c6276
CY
88062012-02-27 Chong Yidong <cyd@gnu.org>
8807
bf7f9bc5
JB
8808 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8809 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8810
c98c6276
CY
8811 * font-lock.el (font-lock-specified-p): Rename from
8812 font-lock-spec-present. Callers changed.
8813
9c62cd04 88142012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8815
bf7f9bc5
JB
8816 * emacs-lisp/package.el (package-compute-transaction):
8817 Handle holding a package version to t in package-load-list.
8ac9e529 8818
530739c9
MA
88192012-02-26 Michael Albinus <michael.albinus@gmx.de>
8820
8821 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8822 (tramp-get-inode, tramp-get-device): Use cached values.
8823
487915d7
AM
88242012-02-26 Alan Mackenzie <acm@muc.de>
8825
8826 Check there is a font-lock specification before doing initial
8827 fontification.
8828
8829 * font-core.el (font-lock-mode): Move the conditional from
8830 :after-hook to font-lock-initial-fontify.
8831 (font-lock-default-function): Move the check for a specification
8832 to font-lock-spec-present.
8833
dc9924b8 8834 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8835 (font-lock-spec-present): New function.
8836
4fd96557
JB
88372012-02-26 Jim Blandy <jimb@red-bean.com>
8838
8839 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8840 (gdb-send): Apply it to the operand of the '-interpreter-exec
8841 console' command, so that we can pass arguments with (say) quotes
8842 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8843
9a4888c0
CY
88442012-02-26 Chong Yidong <cyd@gnu.org>
8845
07498861
CY
8846 * help-fns.el (describe-function-1): Clarify description of
8847 remapping (Bug#10844).
8848
9a4888c0
CY
8849 * files.el (files-equal-p): Doc fix.
8850 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8851 and quit the loop once a mismatch is found.
8852
ea8fb88d
JB
88532012-02-25 Juanma Barranquero <lekktu@gmail.com>
8854
8855 * bs.el (bs--show-with-configuration): Don't throw an error
8856 if the window cannot be split; otherwise, subsequent calls to
8857 bs-show fail, restoring a stale window config. (Bug#10882)
8858
525795c1
JD
88592012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8860
8861 * term/ns-win.el (global-map): Bind ns-drag-file to
8862 ns-find-file (Bug#5855, Bug#10050).
8863
f008086f
AS
88642012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8865
8866 * calendar/parse-time.el (parse-time-string): Allow extractor to
8867 return nil.
8868
a3fcfa99
MA
88692012-02-25 Michael Albinus <michael.albinus@gmx.de>
8870
91027d08
JB
8871 * net/tramp.el (tramp-file-name-for-operation):
8872 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8873
8874 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8875 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8876 Add COPY-CONTENTS argument.
a3fcfa99 8877
67b0de11
CY
88782012-02-25 Chong Yidong <cyd@gnu.org>
8879
8880 Add custom groups for VC backends, for consistency with vc-bzr.
8881
8882 * vc/vc-arch.el (vc-arch):
8883 * vc/vc-cvs.el (vc-cvs):
8884 * vc/vc-git.el (vc-git):
8885 * vc/vc-hg.el (vc-hg):
8886 * vc/vc-mtn.el (vc-mtn):
8887 * vc/vc-rcs.el (vc-rcs):
8888 * vc/vc-sccs.el (vc-sccs):
8889 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8890 All relevant defcustoms reassigned.
8891
3c9dfce6
CY
88922012-02-25 Chong Yidong <cyd@gnu.org>
8893
1339bf43
CY
8894 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8895
3c9dfce6
CY
8896 * term/x-win.el (x-initialize-window-system): Reduce default for
8897 x-selection-timeout to 5 seconds (Bug#8869).
8898
25b2e303 88992012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8900
ec70a47d
GM
8901 * files.el (files-equal-p, file-subdir-of-p): New functions.
8902 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8903 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8904 * dired-aux.el (dired-copy-file-recursive): Same.
8905 (dired-create-files): Modify destination when source is equal to
8906 dest when copying files.
53a46cd0 8907 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8908
914260cd
MA
89092012-02-24 Michael Albinus <michael.albinus@gmx.de>
8910
8911 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8912 (Bug#10874)
8913
2cb228f7
AM
89142012-02-23 Alan Mackenzie <acm@muc.de>
8915
8916 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8917 parameter "after-hook:" to allow the expansion to run code after
8918 the execution of the mode hooks.
8919
8920 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8921 from font-lock-mode-internal.
2cb228f7 8922
91027d08 8923 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8924 :after-hook.
8925
8f0fde21
SM
89262012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8927
3e88618b
SM
8928 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8929 (completion--cache-all-sorted-completions): New function.
8930 (completion-all-sorted-completions): Use it.
8931 (completion--do-completion, minibuffer-force-complete):
8932 Use it to re-instate the flush hook.
8933
8f0fde21
SM
8934 * icomplete.el (icomplete-completions): Replace last fix with a better
8935 one (bug#10850).
8936
8e911f6f
DG
89372012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8938
8939 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8940 when it might call us back infinitely (bug#10797).
8941
49fe4321
GM
89422012-02-23 Glenn Morris <rgm@gnu.org>
8943
8944 * minibuffer.el (completion-category-overrides): Doc fix.
8945
b291b572
SM
89462012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8947
8948 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8949 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8950
31a9ef2e
GM
89512012-02-23 Glenn Morris <rgm@gnu.org>
8952
5e6e6794 8953 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8954 (authors-obsolete-files-regexps, authors-ignored-files)
8955 (authors-ambiguous-files, authors-renamed-files-alist):
8956 Add more entries.
8957
0bd1e074
JL
89582012-02-23 Juri Linkov <juri@jurta.org>
8959
8960 * isearch.el (isearch-occur): Sync interactive spec with occur's
8961 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8962
b617673c
JL
8963 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8964
19e9789e
JL
89652012-02-22 Juri Linkov <juri@jurta.org>
8966
8967 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8968 (ucs-insert): Doc fix. Check for hex digits in the string.
8969 Don't display `nil' in the error message. (Bug#10857)
8970
f41ce09d
AM
89712012-02-22 Alan Mackenzie <acm@muc.de>
8972
7a71b18d 8973 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8974
ac2eceee
GM
89752012-02-22 Glenn Morris <rgm@gnu.org>
8976
8977 * ffap.el (ffap-c-path):
8978 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8979
abd1f678
CY
89802012-02-22 Chong Yidong <cyd@gnu.org>
8981
8982 * custom.el (load-theme): Doc fix.
8983
f25aef2e
GM
89842012-02-22 Glenn Morris <rgm@gnu.org>
8985
8986 * dired-x.el (dired-guess-shell-alist-default):
8987 Remove escape sequences from nroff output. (Bug#172)
8988
5f8dc2ca
GM
89892012-02-21 Glenn Morris <rgm@gnu.org>
8990
6ff86ec4
GM
8991 * vc/emerge.el (emerge-defvar-local):
8992 Set `permanent-local' property rather than unused `preserved'.
8993
be3223a3 8994 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8995 (picture-mode-map): Use it. (Bug#10860)
8996 (picture-mode): Doc fix.
8997
3fe58f4f
JB
89982012-02-21 Juanma Barranquero <lekktu@gmail.com>
8999
9000 * newcomment.el (uncomment-region-default): Remove unused binding.
9001
f9a998c3
GM
90022012-02-21 Glenn Morris <rgm@gnu.org>
9003
9004 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9005 (picture-self-insert, picture-tab-chars): Doc fix.
9006 (picture-mode-map): Fix C-a, C-e.
9007
c6029348
GM
90082012-02-20 Glenn Morris <rgm@gnu.org>
9009
9010 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9011
ab1ce9d7
LL
90122012-02-20 Leo Liu <sdl.web@gmail.com>
9013
9014 * icomplete.el (icomplete-completions): Check FROM arg before
9015 passing to substring (Bug#10850).
9016
0fd40f89
CY
90172012-02-19 Chong Yidong <cyd@gnu.org>
9018
9019 * comint.el: Require ansi-color.
9020 (comint-output-filter-functions): Add ansi-color-process-output.
9021
9022 * ansi-color.el: Don't set comint-output-filter-functions; it is
9023 now in the initial value defined in comint.el.
9024 (ansi-color-apply-face-function): New variable.
9025 (ansi-color-apply-on-region): Use it.
9026 (ansi-color-apply-overlay-face): New function.
9027
9028 * shell.el (shell): No need to require ansi-color.
9029 (shell-mode): Use ansi-color-apply-face-function to highlight
9030 color escapes using font-lock-face property (Bug#10835).
9031
20af2394
CY
90322012-02-19 Chong Yidong <cyd@gnu.org>
9033
9034 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9035 mode-line formats (Bug#10839).
9036
e23a3fbe
GM
90372012-02-18 Glenn Morris <rgm@gnu.org>
9038
b474519e
GM
9039 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9040
9041 * mail/undigest.el (unforward-rmail-message): Doc fix.
9042
e23a3fbe
GM
9043 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9044
57939ff4
EZ
90452012-02-18 Eli Zaretskii <eliz@gnu.org>
9046
9047 * international/characters.el (script-list): Sync with the latest
9048 Unicode Character Database.
9049
0c23686e
AS
90502012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9051
9052 * international/titdic-cnv.el: Remove duplicate coding tag.
9053 * language/cham.el: Likewise.
9054 * language/tai-viet.el: Likewise.
9055
6818b449
GM
90562012-02-18 Glenn Morris <rgm@gnu.org>
9057
9058 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9059 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9060 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9061 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9062 * calendar/holidays.el (holiday-bahai-holidays)
9063 (calendar-holidays, list-holidays):
9064 Use utf-8 Bahá'í in doc-strings, menus, etc.
9065
0311a3fc
TH
90662012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9067
9068 * saveplace.el (save-place-ignore-files-regexp): New variable
9069 allowing for excluding files from saving their location of point.
9070 The default value matches the temporary commit message editing
9071 files from Git, SVN, Bazaar, and Mercurial.
9072 (save-place-to-alist): Use it.
9073
d209e2fb 90742012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9075 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9076
9077 * newcomment.el (uncomment-region-default): Don't leave extra space
9078 when an arg is provided (bug#8150).
9079
ee0ce425
TZ
90802012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9081
eb864a71 9082 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9083
95ddf442
GM
90842012-02-17 Glenn Morris <rgm@gnu.org>
9085
9086 * net/socks.el: Require network-stream. (Bug#10599)
9087
48dd1e39 90882012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9089
9090 * international/charprop.el:
9091 * international/uni-name.el:
9092 * international/uni-old-name.el:
9093 * international/uni-comment.el: Regenerate.
9094
d68cd087
GM
90952012-02-16 Glenn Morris <rgm@gnu.org>
9096
9097 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9098 Interactively in calendar buffer, give an error if not on a date.
9099
13932042
GM
91002012-02-15 Glenn Morris <rgm@gnu.org>
9101
9102 * shell.el (shell-delimiter-argument-list):
9103 Revert 2011-02-17 change. (Bug#8027)
9104
c3a70e2b
CY
91052012-02-15 Chong Yidong <cyd@gnu.org>
9106
60236b0d
CY
9107 * minibuffer.el (completion-at-point-functions): Doc fix.
9108
c3a70e2b
CY
9109 * custom.el (defcustom): Doc fix; note use of defvar.
9110
9f26dc24
GM
91112012-02-15 Glenn Morris <rgm@gnu.org>
9112
9113 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9114 Doc fixes.
9115
6546b134
GM
91162012-02-14 Glenn Morris <rgm@gnu.org>
9117
9118 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9119
d29b2b4c
LI
91202012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9121
9122 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9123 way the ports list is computed.
835bdcba
LI
9124 (smtpmail-query-smtp-server): Prompt the user for a port number if
9125 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9126
08dcdbc9
TZ
91272012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9128
9129 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9130
2605051a
GM
91312012-02-13 Glenn Morris <rgm@gnu.org>
9132
9133 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9134
7ee99f32
TZ
91352012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9136
9137 * net/gnutls.el (gnutls-trustfiles): New variable.
9138 (gnutls-negotiate): Use it.
9139
5f0af64f
LI
91402012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9141
9142 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9143 does its stuff if Gnus is running.
9144
c14fcc95
AM
91452012-02-13 Alan Mackenzie <acm@muc.de>
9146
9147 Fix a loop in c-set-fl-decl-start.
9148
7a71b18d 9149 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9150 c-backward-syntactic-ws actually moves backwards.
9151
142b4d90
LL
91522012-02-13 Leo Liu <sdl.web@gmail.com>
9153
9154 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9155 beginning so that all \C-o chars are removed.
9156
fa9958a6
TZ
91572012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9158
dc9924b8 9159 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9160
0bc5886a
AM
91612012-02-12 Alan Mackenzie <acm@muc.de>
9162
9163 Fix infinite loop with long macros.
4d6769e1 9164 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9165
d4bd55e7
CY
91662012-02-12 Chong Yidong <cyd@gnu.org>
9167
9168 * window.el (display-buffer): Doc fix (Bug#10785).
9169
66f3fe22
GM
91702012-02-12 Glenn Morris <rgm@gnu.org>
9171
bd7da63e
GM
9172 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9173 (x-disown-selection-internal, x-get-selection-internal):
9174 Sync docs with the xselect.c versions.
9175
66f3fe22
GM
9176 * allout-widgets.el: Add missing license notice.
9177
3e0d2fa7
GM
91782012-02-11 Glenn Morris <rgm@gnu.org>
9179
cfecdf09
GM
9180 * select.el (x-get-selection-internal, x-own-selection-internal)
9181 (x-disown-selection-internal):
9182 * x-dnd.el (x-get-selection-internal): Update declarations.
9183
6d216d7f
GM
9184 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9185
2bed3f04
GM
9186 * window.el (window-sides-slots):
9187 * tool-bar.el (tool-bar-position):
9188 * term/xterm.el (xterm-extra-capabilities):
9189 * ses.el (ses-self-reference-early-detection):
9190 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9191 (verilog-auto-wire-type)
9192 (verilog-auto-delete-trailing-whitespace)
9193 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9194 (verilog-auto-tieoff-declaration):
9195 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9196 (sql-oracle-statement-starters, sql-oracle-scan-on):
9197 * progmodes/prolog.el (prolog-align-comments-flag)
9198 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9199 (prolog-left-indent-regexp, prolog-paren-indent-p)
9200 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9201 (prolog-types, prolog-mode-specificators)
9202 (prolog-determinism-specificators, prolog-directives)
9203 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9204 (prolog-electric-dot-flag)
9205 (prolog-electric-dot-full-predicate-template)
9206 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9207 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9208 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9209 (prolog-program-switches, prolog-prompt-regexp)
9210 (prolog-debug-on-string, prolog-debug-off-string)
9211 (prolog-trace-on-string, prolog-trace-off-string)
9212 (prolog-zip-on-string, prolog-zip-off-string)
9213 (prolog-use-standard-consult-compile-method-flag)
9214 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9215 (prolog-imenu-max-lines, prolog-info-predicate-index)
9216 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9217 (prolog-char-quote-workaround):
9218 * progmodes/cc-vars.el (c-defun-tactic):
9219 * net/tramp.el (tramp-encoding-command-interactive)
9220 (tramp-local-end-of-line):
9221 * net/soap-client.el (soap-client):
9222 * net/netrc.el (netrc-file):
9223 * net/gnutls.el (gnutls):
9224 * minibuffer.el (completion-category-overrides)
9225 (completion-cycle-threshold)
9226 (completion-pcm-complete-word-inserts-delimiters):
9227 * man.el (Man-name-local-regexp):
9228 * mail/feedmail.el (feedmail-display-full-frame):
9229 * international/characters.el (glyphless-char-display-control):
9230 * eshell/em-ls.el (eshell-ls-date-format):
9231 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9232 (lisp-lambda-list-keyword-parameter-indentation)
9233 (lisp-lambda-list-keyword-parameter-alignment):
9234 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9235 * dired-x.el (dired-omit-verbose):
9236 * cus-theme.el (custom-theme-allow-multiple-selections):
9237 * calc/calc.el (calc-highlight-selections-with-faces)
9238 (calc-lu-field-reference, calc-lu-power-reference)
9239 (calc-note-threshold):
9240 * battery.el (battery-mode-line-limit):
9241 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9242 (archive-7z-update):
9243 * allout.el (allout-prefixed-keybindings)
9244 (allout-unprefixed-keybindings)
9245 (allout-inhibit-auto-fill-on-headline)
9246 (allout-flattened-numbering-abbreviation):
9247 * allout-widgets.el (allout-widgets-auto-activation)
9248 (allout-widgets-icons-dark-subdir)
9249 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9250 (allout-widgets-theme-dark-background)
9251 (allout-widgets-theme-light-background)
9252 (allout-widgets-item-image-properties-emacs)
9253 (allout-widgets-item-image-properties-xemacs)
9254 (allout-widgets-run-unit-tests-on-load)
9255 (allout-widgets-time-decoration-activity)
9256 (allout-widgets-hook-error-post-time)
9257 (allout-widgets-track-decoration):
9258 Add missing :version tags to new defcustoms and defgroups.
9259
5fec1b8e
GM
9260 * progmodes/sql.el (sql-ansi-statement-starters)
9261 (sql-oracle-statement-starters): Add custom type.
9262
3e0d2fa7
GM
9263 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9264 (prolog-system-version): Give it a type.
9265
90b671e2
EZ
92662012-02-11 Eli Zaretskii <eliz@gnu.org>
9267
9268 * term/pc-win.el (x-select-text, x-selection-owner-p)
9269 (x-own-selection-internal, x-disown-selection-internal)
9270 (x-get-selection-internal): Sync doc strings and argument lists
9271 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9272
5eac0c02
LL
92732012-02-11 Leo Liu <sdl.web@gmail.com>
9274
9275 * progmodes/python.el (python-end-of-statement): Fix infinite
9276 loop. (Bug#10788)
9277
f82cb659
GM
92782012-02-10 Glenn Morris <rgm@gnu.org>
9279
9280 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9281 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9282
cc26d239
LI
92832012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9284
9285 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9286 about SMTP before checking the From header.
9287
91027d08 9288 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9289 into own function for reuse by emacsbug.el.
9290
1be3ca5a
LL
92912012-02-10 Leo Liu <sdl.web@gmail.com>
9292
9293 * subr.el (condition-case-unless-debug): Rename from
9294 condition-case-no-debug. All callers changed.
9295 (with-demoted-errors): Fix caller.
9296
9297 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9298 * nxml/rng-valid.el (rng-do-some-validation):
9299 * emacs-lisp/package.el (package-refresh-contents)
9300 (package-menu-execute):
9301 * desktop.el (desktop-create-buffer):
91027d08 9302 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9303
b011fbfe
GM
93042012-02-10 Glenn Morris <rgm@gnu.org>
9305
b2096d72
GM
9306 * textmodes/bibtex.el:
9307 Add missing :version tags for new/changed defcustoms.
9308
b011fbfe
GM
9309 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9310
4c7e65bf
LI
93112012-02-09 Lars Ingebrigtsen <larsi@rusty>
9312
9313 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9314 (smtpmail-via-smtp): Use it, or fall back on the From address.
9315 (smtpmail-send-it): Ditto.
9316
f3934f6f
SM
93172012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9320 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9321 (byte-compile-tmp-var): New const.
9322 (byte-compile-defvar): Use it to minimize .elc size.
9323 Just use `defvar' rather than simulate it (bug#10761).
9324
a075a2c5
GM
93252012-02-09 Glenn Morris <rgm@gnu.org>
9326
cf3aa21b
GM
9327 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9328
354998cd
GM
9329 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9330 Add :version tags.
9331
dc9924b8
SM
9332 * progmodes/compile.el (compilation-error-screen-columns)
9333 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9334
dab3703d
GM
9335 * vc/log-view.el (log-view-toggle-entry-display):
9336 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9337
3f88cd72
GM
9338 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9339 (report-emacs-bug-can-use-xdg-email):
9340 (report-emacs-bug-insert-to-mailer): Doc fixes.
9341 (report-emacs-bug): Message fix.
9342
d95b247d
GM
9343 * net/browse-url.el (browse-url-can-use-xdg-open)
9344 (browse-url-xdg-open): Doc fixes.
9345
a075a2c5
GM
9346 * electric.el (electric-indent-mode, electric-pair-mode)
9347 (electric-layout-rules, electric-layout-mode): Doc fixes.
9348 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9349
ffb6157e
MR
93502012-02-08 Martin Rudalics <rudalics@gmx.at>
9351
9352 * server.el (server-unselect-display): Don't inadvertently kill
9353 the current buffer. (Bug#10729)
9354
e1ac4066
GM
93552012-02-08 Glenn Morris <rgm@gnu.org>
9356
34e8a2da
GM
9357 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9358 (sql-list-table): Doc fixes.
9359
b4ac6e8c
GM
9360 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9361 Comment out (does nothing).
9362
e1ac4066
GM
9363 * completion.el (dynamic-completion-mode):
9364 * dirtrack.el (dirtrack-debug-mode):
9365 * electric.el (electric-layout-mode):
9366 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9367 * face-remap.el (text-scale-mode, buffer-face-mode):
9368 * iimage.el (iimage-mode):
9369 * image-mode.el (image-transform-mode):
9370 * minibuffer.el (completion-in-region-mode):
9371 * scroll-lock.el (scroll-lock-mode):
9372 * simple.el (next-error-follow-minor-mode):
9373 * tar-mode.el (tar-subfile-mode):
9374 * tooltip.el (tooltip-mode):
9375 * vcursor.el (vcursor-use-vcursor-map):
9376 * wid-browse.el (widget-minor-mode):
9377 * emulation/tpu-edt.el (tpu-edt-mode):
9378 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9379 * international/iso-ascii.el (iso-ascii-mode):
9380 * language/thai-util.el (thai-word-mode):
9381 * mail/supercite.el (sc-minor-mode):
9382 * net/goto-addr.el (goto-address-mode):
9383 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9384 * progmodes/cwarn.el (cwarn-mode):
9385 * progmodes/flymake.el (flymake-mode):
9386 * progmodes/glasses.el (glasses-mode):
9387 * progmodes/hideshow.el (hs-minor-mode):
9388 * progmodes/pascal.el (pascal-outline-mode):
9389 * textmodes/enriched.el (enriched-mode):
9390 * vc/smerge-mode.el (smerge-mode):
9391 Doc fixes (minor mode argument).
9392
5e0d957f
EZ
93932012-02-07 Eli Zaretskii <eliz@gnu.org>
9394
9395 * ls-lisp.el (ls-lisp-sanitize): New function.
9396 (ls-lisp-insert-directory): Use it to fix or remove any elements
9397 in file-alist with missing attributes. (Bug#4673)
9398
98d7371e
AM
93992012-02-07 Alan Mackenzie <acm@muc.de>
9400
9401 Fix spurious recognition of c-in-knr-argdecl.
9402
9403 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9404 putative K&R region.
9405
667ced3a
AM
94062012-02-07 Alan Mackenzie <acm@muc.de>
9407
eb864a71
LM
9408 * progmodes/cc-engine.el (c-forward-objc-directive):
9409 Prevent looping in "#pragma mark @implementation".
667ced3a 9410
5b77774d
MA
94112012-02-07 Michael Albinus <michael.albinus@gmx.de>
9412
9413 * notifications.el (notifications-on-closed-signal): Make `reason'
9414 optional. (Bug#10744)
9415
af008560
GM
94162012-02-07 Glenn Morris <rgm@gnu.org>
9417
60d47423
GM
9418 * emacs-lisp/easy-mmode.el (define-minor-mode):
9419 Doc fixes for the macro and the mode it defines.
9420
dd605cc4
GM
9421 * image.el (imagemagick-types-inhibit): Doc fix.
9422
af008560
GM
9423 * cus-start.el (imagemagick-render-type): Add it.
9424
5cc59a37
LI
94252012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9426
4d6769e1
JB
9427 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9428 Set the default at load time, too, so that `font-lock-fontify-buffer'
9429 can be called without setting up the entire mode first. This fixes
9430 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9431
9a6dd747
CY
94322012-02-06 Chong Yidong <cyd@gnu.org>
9433
2d16b285
CY
9434 * simple.el (list-processes--refresh): Delete exited processes
9435 (Bug#8094).
9436
171e9b6e
CY
9437 * comint.el (comint-next-prompt): next-single-char-property-change
9438 and prev-single-char-property-change never return nil (Bug#8657).
9439
9a6dd747
CY
9440 * custom.el (defcustom): Doc fix (Bug#9711).
9441
aa4589a7
CY
94422012-02-05 Chong Yidong <cyd@gnu.org>
9443
5c2a252f
CY
9444 * cus-edit.el (custom-variable-reset-backup): Quote the value
9445 before storing it in the customized-value property (Bug#6712).
4aab9006 9446 (custom-display): Add a customization type tag.
983b9602 9447 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9448
aa4589a7
CY
9449 * wid-edit.el (widget-field-value-get): New optional arg to
9450 suppress trailing whitespace truncation.
9451 (character): Use it (Bug#2689).
9452
1ff980ae
AS
94532012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9454
9455 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9456 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9457
03988c98
CY
94582012-02-05 Chong Yidong <cyd@gnu.org>
9459
eeb6cc88
CY
9460 * cus-edit.el (custom-variable-value-create): For mismatched
9461 types, show the current value (Bug#7600).
9462
03988c98
CY
9463 * custom.el (defcustom): Doc fix.
9464
f8cdeef0
GM
94652012-02-05 Glenn Morris <rgm@gnu.org>
9466
9467 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9468
0696d255
JB
94692012-02-05 Juanma Barranquero <lekktu@gmail.com>
9470
9471 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9472 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9473 (pp-last-sexp): Use `looking-at-p'.
9474
34c99998
GM
94752012-02-04 Glenn Morris <rgm@gnu.org>
9476
8f05da42
GM
9477 * files.el (revert-buffer):
9478 Doc fix (mention revert-buffer-in-progress-p).
9479
f160676e
GM
9480 * emacs-lisp/ert-x.el (ert-simulate-command):
9481 Check deferred-action-list (which is obsolete) is bound.
9482
c7291ad9
GM
9483 * subr.el (with-wrapper-hook): Doc fixes.
9484
34c99998
GM
9485 * simple.el (filter-buffer-substring-functions)
9486 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9487
6283a7d3
LL
94882012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9489
9490 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9491 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9492
e96e3013
LL
94932012-02-04 Leo Liu <sdl.web@gmail.com>
9494
9495 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9496
8ded50f2
GM
94972012-02-04 Glenn Morris <rgm@gnu.org>
9498
82ff1d13
GM
9499 * image.el (image-extension-data): Add obsolete alias.
9500
987a0a16
GM
9501 * isearch.el (isearch-update): Doc fix.
9502
ea32ef46
GM
9503 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9504
8ded50f2
GM
9505 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9506
eea14f31
GM
95072012-02-03 Glenn Morris <rgm@gnu.org>
9508
9509 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9510 (image-animate-timeout): Doc fix.
9511
9512 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9513
12f381b7
GM
95142012-02-02 Glenn Morris <rgm@gnu.org>
9515
953cebf5
GM
9516 * server.el (server-auth-dir): Doc fix.
9517 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9518
12f381b7
GM
9519 * subr.el (run-mode-hooks): Doc fix.
9520
953a8c3b
JL
95212012-02-02 Juri Linkov <juri@jurta.org>
9522
9523 * image-mode.el (image-toggle-display-image): Remove tautological
9524 `major-mode' from the `derived-mode-p' test.
9525
c5d3843c
KH
95262012-02-02 Kenichi Handa <handa@m17n.org>
9527
9f6e692e 9528 * composite.el (compose-region): Cancel previous change.
c5d3843c 9529
159462d4 95302012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9531
9532 * composite.el (compose-region, compose-string): Signal error for
9533 a null string component (Bug#6988).
9534
9f562668
CY
95352012-02-01 Chong Yidong <cyd@gnu.org>
9536
e2cef717
CY
9537 * view.el (view-buffer-other-window, view-buffer-other-frame):
9538 Handle special modes like view-buffer (Bug#10650).
9539 (view-buffer): Simplify.
9540
9f562668
CY
9541 * frame.el (set-frame-font): Tweak meaning of third argument.
9542
9f6e692e
JB
9543 * dynamic-setting.el (font-setting-change-default-font):
9544 Use set-frame-font (Bug#9982).
9f562668 9545
781acb9f
GM
95462012-02-01 Glenn Morris <rgm@gnu.org>
9547
6035be52
GM
9548 * progmodes/compile.el (compilation-internal-error-properties):
9549 Respect compilation-first-column in the "*compilation*" buffer.
9550
781acb9f
GM
9551 * emacs-lisp/easy-mmode.el (define-minor-mode):
9552 Relax :variable's test for a named function.
9553
abbceb00
AM
95542012-01-31 Alan Mackenzie <acm@muc.de>
9555
9556 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9557 off by one error.
9558
fce3fdeb
CY
95592012-01-31 Chong Yidong <cyd@gnu.org>
9560
9561 * frame.el (set-frame-font): New arg ALL-FRAMES.
9562
9563 * menu-bar.el (menu-set-font): Use set-frame-font.
9564
9565 * faces.el (face-spec-reset-face): Don't apply unspecified
9566 attribute values to the default face.
9567
47893581
JB
95682012-01-31 Juanma Barranquero <lekktu@gmail.com>
9569
9570 * progmodes/cwarn.el (cwarn): Remove dead link.
9571 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9572 Remove * from defcustom docstrings.
9573 (turn-on-cwarn-mode): Make obsolete.
9574 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9575 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9576
e58e988a
GM
95772012-01-31 Glenn Morris <rgm@gnu.org>
9578
60dc2671 9579 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9580 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9581 Allow named functions to be used as the cdr of :variable.
e58e988a 9582
7a3f511d
GM
95832012-01-30 Glenn Morris <rgm@gnu.org>
9584
9585 * emacs-lisp/authors.el (authors-fixed-entries):
9586 Remove reference to deleted file rnewspost.el.
9587
cb882333
JB
95882012-01-29 Juanma Barranquero <lekktu@gmail.com>
9589
9590 * window.el (window-with-parameter): Remove unused variable `windows'.
9591 (window--side-check): Remove unused variable `code'.
9592 (window--resize-siblings): Remove unused variable `first'.
9593 (adjust-window-trailing-edge): Remove unused variable `failed'.
9594 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9595 Use `let', not `let*'.
9596 (balance-windows-2): Remove unused variable `found'.
9597 (window--state-put-2): Remove unused variable `splits'.
9598 (window-state-put): Remove unused variable `selected'.
9599 (same-window-p): Use `string-match-p'.
9600 (display-buffer-assq-regexp): Remove unused variable `value'.
9601 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9602 Mark argument ALIST as ignored.
9603 (pop-to-buffer): Remove unused variable `old-window'.
9604
907201af
EZ
96052012-01-29 Eli Zaretskii <eliz@gnu.org>
9606
9607 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9608 and .lzma compressed files.
9609
ea162670
CY
96102012-01-29 Chong Yidong <cyd@gnu.org>
9611
5b95ee8a
CY
9612 * frame.el (window-system-default-frame-alist): Doc fix.
9613
ea162670
CY
9614 * dynamic-setting.el (font-setting-change-default-font): Don't
9615 change the default face if SET-FONT argument is non-nil (Bug#9982).
9616
d6e6f4b1
SB
96172012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9618
9619 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9620
0f29fa41 96212012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9622
9623 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9624 breakpoints in files outside current directory (Bug#6098).
9625
db174434
CY
96262012-01-29 Chong Yidong <cyd@gnu.org>
9627
6b25e4e2
SE
9628 * progmodes/python.el: Require ansi-color at top-level.
9629
6df6ae42
JB
9630 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9631 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9632 (lisp-mode-abbrev-table): Add doc.
9633 (lisp-mode-variables): Don't set local-abbrev-table.
9634 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9635
e70ee681
RW
96362012-01-28 Roland Winkler <winkler@gnu.org>
9637
9638 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9639
ace88aa2
RW
96402012-01-28 Roland Winkler <winkler@gnu.org>
9641
9642 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9643 (bibtex-set-dialect): Use it. Either set global values of
9644 dialect-dependent variables or bind these variables buffer-locally
9645 (Bug#10254).
9646 (bibtex-mode): Call bibtex-set-dialect via
9647 hack-local-variables-hook.
eb864a71
LM
9648 (bibtex-dialect): Update docstring.
9649 Add safe-local-variable predicate.
ace88aa2
RW
9650 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9651 bibtex-set-dialect.
9652 (bibtex-mode-map): Define menu for each dialect.
9653 (bibtex-entry): Fix docstring.
9654
93376c5b
CY
96552012-01-28 Chong Yidong <cyd@gnu.org>
9656
9657 * eshell/esh-arg.el (eshell-quote-argument): New function.
9658
9659 * eshell/esh-ext.el (eshell-invoke-batch-file):
9660 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9661 first arg to eshell-parse-command (Bug#10523).
9662
4372494f
DA
96632012-01-28 Drew Adams <drew.adams@oracle.com>
9664
9665 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9666 `default-directory' is non-nil.
9667
4d4ec1f8
EZ
96682012-01-28 Eli Zaretskii <eliz@gnu.org>
9669
9670 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9671 line that displays system-configuration-options. (Bug#9924)
9672
7c188927
DA
96732012-01-28 Drew Adams <drew.adams@oracle.com>
9674
9675 * descr-text.el (describe-char): Show information about POS, in
9676 addition to information about the character at POS. Improve and
9677 update the doc string. Change "code point" to "code point in
9678 charset", to avoid confusion with the character's Unicode code
9679 point shown above that. (Bug#10129)
9680
e0da685a
EZ
96812012-01-28 Eli Zaretskii <eliz@gnu.org>
9682
9683 * descr-text.el (describe-char): Show the raw character, not only
9684 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9685 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9686 for the reasons.
9687
70550acf
PH
96882012-01-28 Phil Hagelberg <phil@hagelb.org>
9689
eb864a71
LM
9690 * emacs-lisp/package.el (package-install):
9691 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9692
0ce8e868
CY
96932012-01-28 Chong Yidong <cyd@gnu.org>
9694
cb882333
JB
9695 * emacs-lisp/package.el (package-maybe-load-descriptor):
9696 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9697 (package-maybe-load-descriptor): Use it.
9698 (package-download-transaction): Fully load required packages
9699 inside the loop, so that `require' calls work (Bug#10593).
9700 (package-install): No need to call package-initialize now.
9701
2e7f3bea
CY
97022012-01-28 Chong Yidong <cyd@gnu.org>
9703
6e9bad14
CY
9704 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9705
f823b8ca
CY
9706 * tooltip.el (tooltip-mode): Doc fix.
9707 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9708
2680c309
CY
9709 * frame.el (set-cursor-color): Doc fix (Bug#352).
9710
d7a9e63b
CY
9711 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9712 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9713
2e7f3bea
CY
9714 * cus-edit.el (custom-buffer-create-internal): Fix search button
9715 action (Bug#10542).
2ae01800 9716 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9717
fc4f7a23
EW
97182012-01-27 Eduard Wiebe <usenet@pusto.de>
9719
9720 * dired.el (dired-mark-files-regexp):
9721 Include any subdirectory components. (Bug#10445)
9722
7dd37071
ML
97232012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9724
9725 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9726 Handle [host]:port syntax. (Bug#10533)
9727
a268160b
AH
97282012-01-27 Alex Harsanyi <harsanyi@mac.com>
9729
9730 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9731
e43273ef
GM
97322012-01-26 Glenn Morris <rgm@gnu.org>
9733
9734 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9735 * term.el (term-raw-escape-map): Use Control-X-prefix.
9736 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9737
1edf595d
MR
97382012-01-25 Martin Rudalics <rudalics@gmx.at>
9739
9740 * window.el (window-state-get, window--state-get-1): Don't deal
9741 with fixed-sizeness of windows. Simplify code.
9742
fa8eafef
JC
97432012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9744
6df6ae42
JB
9745 * window.el (window--state-get-1, window--state-put-2):
9746 Don't save and restore the mark.
fa8eafef 9747
0b21c100
CY
97482012-01-25 Chong Yidong <cyd@gnu.org>
9749
9750 * custom.el (custom-variable-p): Doc fix.
9751
5ae1a6c8
GM
97522012-01-25 Glenn Morris <rgm@gnu.org>
9753
40047858
GM
9754 * dired.el (dired-goto-file): Handle some of the more common
9755 characters that `ls -b' escapes. (Bug#10596)
9756
5ddce96c
GM
9757 * progmodes/compile.el (compilation-next-error-function):
9758 Respect compilation-first-column in the "*compilation*" buffer.
9759 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9760
5ae1a6c8
GM
9761 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9762
b559f1a9
GM
97632012-01-24 Glenn Morris <rgm@gnu.org>
9764
9765 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9766
6725d21a
JD
97672012-01-24 Julien Danjou <julien@danjou.info>
9768
9769 * color.el (color-rgb-to-hsl): Fix value computing.
9770 (color-hue-to-rgb): New function.
9771 (color-hsl-to-rgb): New function.
9772 (color-clamp, color-saturate-hsl, color-saturate-name)
9773 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9774 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9775
70df4bbe
GM
97762012-01-24 Glenn Morris <rgm@gnu.org>
9777
9778 * vc/vc-rcs.el (vc-rcs-create-tag):
9779 * vc/vc-sccs.el (vc-sccs-create-tag):
9780 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9781
802a2ae2
ML
97822012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9783
9784 * eshell/esh-util.el (eshell-read-hosts-file):
9785 Skip comment lines. (Bug#10549)
9786
d7128bb1
ML
9787 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9788
d1a5c3b4
JB
97892012-01-23 Juanma Barranquero <lekktu@gmail.com>
9790
2724d9c7
JB
9791 * subr.el (display-delayed-warnings): Doc fix.
9792 (collapse-delayed-warnings): New function to collapse identical
9793 adjacent warnings.
9794 (delayed-warnings-hook): Add it.
d1a5c3b4 9795
a5509865
MA
97962012-01-22 Michael Albinus <michael.albinus@gmx.de>
9797
9798 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9799
a5509865
MA
9800 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9801 (tramp-default-user-alist): Don't add "pscp".
9802 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9803 property "login-as", if set. (Bug#10530)
9804
cc6d5805
MA
98052012-01-21 Michael Albinus <michael.albinus@gmx.de>
9806
9807 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9808 "plink1" and "psftp". (Bug#10530)
9809
98102012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9811
9812 * international/mule-cmds.el (prefer-coding-system): Show a
9813 warning message if the default value of file-name-coding-system
9814 was not changed.
9815
f0960428
JC
98162012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9817
cb882333
JB
9818 * windmove.el (windmove-reference-loc):
9819 Fix windmove-reference-loc miscalculation.
f0960428 9820
dd6f2a63
JB
98212012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9822
9823 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9824 default unit.
9825
7b447e9b
GM
98262012-01-21 Glenn Morris <rgm@gnu.org>
9827
117a9ea1
GM
9828 * international/mule.el (auto-coding-alist): Add .tbz.
9829
7b447e9b
GM
9830 * files.el (local-enable-local-variables): Doc fix.
9831 (inhibit-local-variables-regexps): Rename from
9832 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9833 Doc fix. Add some extensions from auto-coding-alist.
9834 (inhibit-local-variables-suffixes):
9835 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9836 (inhibit-local-variables-p):
9837 New function, extracted from set-auto-mode-1.
9838 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9839 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9840 (hack-local-variables): Doc fix. Make the mode-only case
9841 respect enable-local-variables and friends.
9842 Respect inhibit-local-variables-regexps for file-locals, but
9843 not for directory-locals.
9844 (set-visited-file-name):
9845 Take account of inhibit-local-variables-regexps.
9846 Whether it applies may change as the file name is changed.
9847 * jka-cmpr-hook.el (jka-compr-install):
9848 * jka-compr.el (jka-compr-uninstall):
9849 Update for inhibit-first-line-modes-suffixes name change.
9850
dd6e3cdd
MR
98512012-01-20 Martin Rudalics <rudalics@gmx.at>
9852
9853 * help-macro.el (make-help-screen): Temporarily restore original
9854 binding for minor-mode-map-alist (Bug#10454).
9855
0d0deb38
JD
98562012-01-19 Julien Danjou <julien@danjou.info>
9857
9858 * color.el (color-name-to-rgb): Use the white color to find the max
9859 color component value and return correctly computed values.
9860 (color-name-to-rgb): Add missing float conversion for max value.
9861
34a02f46
MR
98622012-01-19 Martin Rudalics <rudalics@gmx.at>
9863
9864 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9865 special state value for window-persistent-parameters.
9866 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9867 (window--state-put-2): Reset all window parameters to nil before
9868 assigning values of persistent parameters.
9869
606c44c4
AM
98702012-01-18 Alan Mackenzie <acm@muc.de>
9871
9872 Eliminate sluggishness and hangs in fontification of "semicolon
9873 deserts".
9874
cb882333
JB
9875 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9876 Change value 10000 -> 3000.
606c44c4
AM
9877 (c-state-safe-place): Reformulate so it doesn't stack up an
9878 infinite number of wrong entries in c-state-nonlit-pos-cache.
9879 (c-determine-limit-get-base, c-determine-limit): New functions to
9880 determine backward search limits disregarding literals.
9881 (c-find-decl-spots): Amend commenting.
9882 (c-cheap-inside-bracelist-p): New function which detects "={".
9883
9884 * progmodes/cc-fonts.el
9885 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9886 backward search.
9887 (c-font-lock-declarations): Fix an occurrence of point being
9888 undefined. Check additionally for point being in a bracelist or
9889 near a macro invocation without a semicolon so as to avoid a
9890 fruitless time consuming search for a declarator. Give a more
9891 precise search limit for declarators using the new
9892 c-determine-limit.
9893
f3860cea
GM
98942012-01-18 Glenn Morris <rgm@gnu.org>
9895
9896 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9897 (set-auto-mode): Doc fixes.
9898
1db03b16
GM
98992012-01-17 Glenn Morris <rgm@gnu.org>
9900
0e6038be
GM
9901 * isearch.el (search-nonincremental-instead): Fix doc typo.
9902
1db03b16
GM
9903 * dired.el (dired-insert-directory): Handle newlines in directory name.
9904 (dired-build-subdir-alist): Unescape newlines in directory name.
9905
4cb0aa75
MA
99062012-01-17 Michael Albinus <michael.albinus@gmx.de>
9907
9908 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9909 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9910 (tramp-action-terminal): Use it. (Bug#10530)
9911
1d00653d
SM
99122012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9915
6a6ee00d
MR
99162012-01-16 Martin Rudalics <rudalics@gmx.at>
9917
9918 * window.el (window-state-ignored-parameters): Remove variable.
9919 (window--state-get-1): Rename argument MARKERS to IGNORE.
9920 Handle persistent window parameters. Make copy of clone-of
9921 parameter only if requested. (Bug#10348)
9922 (window--state-put-2): Install a window parameter only if it has
9923 a non-nil value or an existing parameter shall be overwritten.
9924
97912def
MA
99252012-01-15 Michael Albinus <michael.albinus@gmx.de>
9926
9927 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9928
688070a5
EZ
99292012-01-14 Eli Zaretskii <eliz@gnu.org>
9930
9931 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9932 don't pass the (nil) value of `upnode' to string-match.
9933
301afadc
CY
99342012-01-14 Chong Yidong <cyd@gnu.org>
9935
9936 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9937 Fix values recognized by the cursorBlink resource.
301afadc 9938
9e5788aa
PE
99392012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9940
9941 * epg.el (epg--make-temp-file): Avoid permission race condition
9942 when running on old Emacs versions (bug#10403).
9943
3cdb7f5a
GM
99442012-01-14 Glenn Morris <rgm@gnu.org>
9945
9946 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9947
8c82b1b4
AM
99482012-01-13 Alan Mackenzie <acm@muc.de>
9949
9950 Fix filling for when filladapt mode is enabled.
9951
9952 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9953 c-mask-paragraph, pass in `fill-paragraph' rather than
9954 `fill-region-as-paragraph'. (This is a reversion of a previous
9955 change.)
eb864a71
LM
9956 * progmodes/cc-mode.el (c-basic-common-init):
9957 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9958
e517eda4
GM
99592012-01-13 Glenn Morris <rgm@gnu.org>
9960
1498536e
GM
9961 * dired.el (dired-switches-escape-p): New function.
9962 (dired-insert-directory): Use dired-switches-escape-p.
9963 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9964
e517eda4
GM
9965 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9966
328f984d
GM
99672012-01-12 Glenn Morris <rgm@gnu.org>
9968
9969 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9970 changes in adaptive-fill-regexp. (Bug#10276)
9971
2cc769a8
AM
99722012-01-11 Alan Mackenzie <acm@muc.de>
9973
9974 Fix Emacs bug #10463 - put `widen's around the critical spots.
9975
1d00653d 9976 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9977 widen around each invocation of c-state-pp-to-literal. Remove an
9978 unused let variable.
9979
e52c37fa
GM
99802012-01-11 Glenn Morris <rgm@gnu.org>
9981
9982 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9983 Doc fix.
e52c37fa 9984
96f8741e
CY
99852012-01-10 Chong Yidong <cyd@gnu.org>
9986
1d00653d
SM
9987 * net/network-stream.el (network-stream-open-starttls):
9988 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9989 response to the capability command.
9990
b09a806e
GM
99912012-01-10 Glenn Morris <rgm@gnu.org>
9992
9993 * mail/unrmail.el (unrmail): Tweak previous change.
9994
7655cb66
CY
99952012-01-09 Chong Yidong <cyd@gnu.org>
9996
9997 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9998
9d5a8f0b
AM
99992012-01-08 Alan Mackenzie <acm@muc.de>
10000
10001 Optimise font locking in long enum definitions.
10002
10003 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10004 arm to a cond form to handle enums.
10005 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10006 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10007
9a0115ab 100082012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10009
10010 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10011 (Bug#10401)
6bb72cbd 10012
f186bb95
LMI
100132012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10014
29232a68
LMI
10015 * faces.el (set-face-attribute): Clarify the meaning of the nil
10016 frame (bug#10294).
10017
4e5d086d
LMI
10018 * subr.el (with-selected-frame): Mention that the selected frame
10019 is restored (bug#9980).
10020
8e66aebe
LMI
10021 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10022 (bug#9759).
10023
cd394be1 10024 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10025 (password-read): Don't autoload unused function.
10026
adf4e762
JB
100272012-01-07 Juanma Barranquero <lekktu@gmail.com>
10028
10029 * progmodes/which-func.el (which-func-mode): Turn into a
10030 non-interactive function and mark as obsolete (bug#10428).
10031
89bd9ccd
CY
100322012-01-06 Chong Yidong <cyd@gnu.org>
10033
10034 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10035 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10036 functions, along with 1 and -1.
10037
4afee9d5
EZ
100382012-01-06 Eli Zaretskii <eliz@gnu.org>
10039
10040 * time.el (display-time-load-average)
10041 (display-time-default-load-average): Doc fixes. See the thread
10042 starting at
10043 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10044 for the details.
10045
536aea70
GM
100462012-01-06 Glenn Morris <rgm@gnu.org>
10047
665ae865
GM
10048 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10049 has no messages. (Bug#10377)
10050
c869783d
GM
10051 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10052 than Info-edit. (Bug#10385)
10053
2bb4227e
GM
10054 * time.el (display-time-load-average, display-time-next-load-average):
10055 Doc fixes.
10056
7d5944b9
GM
10057 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10058 local setting of buffer-read-only to the input buffer. (Bug#10419)
10059
536aea70
GM
10060 * calendar/calendar.el (calendar-mode):
10061 Locally set scroll-margin to 0. (Bug#10379)
10062
7dccca16
UM
100632012-01-06 Ulrich Mueller <ulm@gentoo.org>
10064
10065 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10066
afbb7930
GM
100672012-01-05 Glenn Morris <rgm@gnu.org>
10068
10069 * eshell/em-unix.el (diff-no-select): Autoload it.
10070 (eshell/diff): Use diff-no-select. (Bug#10420)
10071
04482335
CY
100722012-01-05 Chong Yidong <cyd@gnu.org>
10073
7baca3bc
CY
10074 * shell.el (shell-dynamic-complete-functions): Revert last change.
10075 (shell-command-completion-function): New function.
10076 (shell-completion-vars): Use it to implement
10077 shell-completion-execonly (Bug#10417).
10078
04482335
CY
10079 * custom.el (enable-theme): Don't set custom-safe-themes.
10080
1d00653d
SM
10081 * cus-theme.el (custom-theme-merge-theme):
10082 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10083
bb5aa5d6
MM
100842012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10085
10086 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10087 first prompt in `sql-interacive-mode'.
10088 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10089 keywords.
6df6ae42 10090 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10091 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10092 context of original buffer. Invoke `sql-login-hook'.
10093
a7183d7c
EZ
100942012-01-04 Eli Zaretskii <eliz@gnu.org>
10095
10096 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10097 letters in cite-prefix.
10098
a1eacd1e
LMI
100992012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10100
10101 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10102
787cdb34
CY
101032012-01-03 Chong Yidong <cyd@gnu.org>
10104
1d00653d
SM
10105 * shell.el (shell-dynamic-complete-functions):
10106 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10107 comint-filename-completion first (Bug#10417).
10108
30710442
RS
101092012-01-02 Richard Stallman <rms@gnu.org>
10110
10111 * battery.el (battery-status-function):
10112 Detect when to use battery-yeeloong-sysfs.
10113 (battery-echo-area-format): Add string for Yeeloong.
10114 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10115 (battery-yeeloong-sysfs): New function.
10116
f75bfc33
CY
101172012-01-02 Chong Yidong <cyd@gnu.org>
10118
10119 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10120 (dirtrack): Merge code for handling relative filenames in prompt
10121 from shell-dir-cookie-watcher.
10122 (dirtrack-debug-message): New arg to avoid excess format calls.
10123
10124 * shell.el (shell-dir-cookie-re): Variable deleted.
10125 (shell-dir-cookie-watcher): Function deleted.
10126 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10127 with dirtrack-mode.
10128
651e947e
EZ
101292012-01-01 Eli Zaretskii <eliz@gnu.org>
10130
1d00653d
SM
10131 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10132 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10133 libgnutls-26.dll.
10134
94d4c7dc
AS
101352011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10136
10137 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10138
8d43f3cd
EZ
101392011-12-31 Eli Zaretskii <eliz@gnu.org>
10140
10141 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10142 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10143
98c8795a
MA
101442011-12-29 Michael Albinus <michael.albinus@gmx.de>
10145
10146 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10147 also for alternative shells.
10148 (tramp-open-connection-setup-interactive-shell): Check, whether
10149 the shell is a busybox.
10150 (tramp-send-command): Don't suppress multiple prompts for
10151 busyboxes, it hurts.
10152
51281b32
CY
101532011-12-28 Chong Yidong <cyd@gnu.org>
10154
10155 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10156 (gdb-get-source-file): Move mode line update to
10157 gdb-get-source-file (Bug#10087).
10158
2170cb53
CY
101592011-12-25 Chong Yidong <cyd@gnu.org>
10160
10161 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10162 gud-gdb-marker-filter without taking it as an argument.
10163 (gud-gdb-run-command-fetch-lines): Caller changed.
10164 (gud-gdb-completion-function): New variable.
10165 (gud-gdb-completion-at-point): Use it.
10166 (gud-gdb-completions-1): Split from gud-gdb-completions.
10167
10168 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10169 function as separate arguments.
10170 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10171 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10172 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10173 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10174 (gdb-stopped, def-gdb-auto-update-trigger)
10175 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10176 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10177 Callers changed.
2170cb53
CY
10178 (gud-gdbmi-completions): New function.
10179 (gdb): Use it for generating the completion table.
10180
be8b11bb
AM
101812011-12-24 Alan Mackenzie <acm@muc.de>
10182
10183 Introduce a mechanism to widen the region used in context font
1d00653d 10184 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10185
1d00653d
SM
10186 * progmodes/cc-langs.el (c-before-font-lock-functions):
10187 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10188 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10189 functions to be run just before context (etc.) font locking.
10190
10191 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10192 New, functionality extracted from
be8b11bb 10193 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10194 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10195 (c-after-change): Set c-in-after-change-fontification.
10196 (c-set-fl-decl-start): Rejig its interface, so it can be called
10197 from both after-change and context fontifying.
b81d40f0
JB
10198 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10199 New functions.
10200 (c-standard-font-lock-fontify-region-function): New variable.
10201 (c-font-lock-fontify-region): New function.
be8b11bb 10202
341cf6ac
JL
102032011-12-24 Juri Linkov <juri@jurta.org>
10204
10205 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10206 (Bug#10348)
10207
bffcee0a
MA
102082011-12-23 Michael Albinus <michael.albinus@gmx.de>
10209
10210 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10211 existence of source file. (Bug#10325)
10212
cb5e207c
AM
102132011-12-23 Alan Mackenzie <acm@muc.de>
10214
10215 Fix unstable fontification inside templates.
10216
b81d40f0
JB
10217 * progmodes/cc-langs.el (c-before-font-lock-functions):
10218 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10219 additionally has c-set-fl-decl-start. The other languages (apart
10220 from AWK) have that as a single entry.
10221
b81d40f0
JB
10222 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10223 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10224 c-set-fl-decl-start.
10225
b81d40f0
JB
10226 * progmodes/cc-mode.el (c-common-init, c-after-change):
10227 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10228 (c-set-fl-decl-start): New function, extracted from
10229 c-font-lock-enclosing-decls and enhanced.
10230
60ff536c
JB
102312011-12-23 Juanma Barranquero <lekktu@gmail.com>
10232
10233 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10234
1c4757d6
JL
102352011-12-22 Juri Linkov <juri@jurta.org>
10236
10237 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10238
d031f2c7
CY
102392011-12-22 Chong Yidong <cyd@gnu.org>
10240
10241 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10242
bace743a
DA
102432011-12-21 Drew Adams <drew.adams@oracle.com>
10244
10245 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10246
728a1f2b
JC
102472011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10248
10249 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10250
0d373f73
TZ
102512011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10252
fec0aaa4
TZ
10253 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10254 highlighting and support. Fix up comments for capitalization.
10255 (cfengine-mode-debug): New var.
10256 (cfengine3-mode): Change the modeline indicator to "CFE3".
10257 (cfengine3-font-lock-keywords): Improve defun highlighting.
10258 (cfengine2-actions): Rename from `cfengine-actions'.
10259 (cfengine2-font-lock-keywords): Rename from
10260 `cfengine-font-lock-keywords'.
10261 (cfengine2-imenu-expression): Rename from
10262 `cfengine-imenu-expression'.
10263 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10264 (cfengine2-beginning-of-defun): Rename from
10265 `cfengine-beginning-of-defun'.
10266 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10267 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10268 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10269 modeline indicator to "CFE2".
10270 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10271 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10272
bc86f573
CY
102732011-12-21 Chong Yidong <cyd@gnu.org>
10274
10275 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10276 filename argument.
10277
d45ba96b
MR
102782011-12-20 Martin Rudalics <rudalics@gmx.at>
10279
10280 * window.el (window-normalize-buffer-to-display): Remove.
10281 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10282
a6198c90
CY
102832011-12-19 Chong Yidong <cyd@gnu.org>
10284
10285 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10286 Don't signal an error in a predicate function; return non-nil.
10287 (vc-dir-mark-file): Move the error here.
10288 (vc-dir-mark-unmark): If acting on the region, keep going if one
10289 of the entries cannot be marked/unmarked.
10290 (vc-dir-mark-all-files): If current entry is a directory, mark
10291 only child files, as documented.
10292
34c5fb55
VB
102932011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10294
10295 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10296 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10297 addition.
10298
c803b2b7
JD
102992011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10300
10301 * term/ns-win.el (ns-get-selection-internal)
10302 (ns-store-selection-internal): Declare.
1154d12e
JB
10303 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10304 Declare as obsolete.
10305 (ns-get-pasteboard, ns-paste-secondary):
10306 Use ns-get-selection-internal.
41e9b956 10307 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10308 Use ns-store-selection-internal.
c803b2b7 10309
9cff91f8 103102011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10311
10312 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10313 (vc-deduce-fileset): Doc fix.
99a289d9 10314
f16c898a
AS
103152011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10316
10317 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10318
763237c4
SS
103192011-12-13 Sam Steingold <sds@gnu.org>
10320
10321 * man.el (Man-getpage-in-background): When running under a
10322 window-system, ignore $MANWIDTH and $COLUMNS.
10323
5fc1c122
KH
103242011-12-15 Kenichi Handa <handa@m17n.org>
10325
10326 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10327 (setup-ethiopic-environment-internal): Comment out key-binding for
10328 ethio-toggle-punctuation.
10329
13d49cbb
AM
103302011-12-13 Alan Mackenzie <acm@muc.de>
10331
898169a2
AM
10332 Add the switch statement to AWK Mode.
10333
7a71b18d 10334 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10335 "default" to the keywords regexp.
10336
7a71b18d 10337 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10338 expression as the rest.
1d00653d
SM
10339 (c-nonlabel-token-key): Allow string literals for AWK.
10340 Refactor for the other modes.
898169a2 10341
13d49cbb 10342 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10343 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10344 routines. Limit backward searching in c-font-lock-enclosing.decl.
10345
10346 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10347 pp-state and literal type in addition to the limits.
1d00653d 10348 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10349 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10350 (c-slow-in-literal, c-fast-in-literal): Remove.
10351 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10352
10353 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10354 being in a literal. Add a limit for backward searching.
10355
10356 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10357 c-slow-in-literal.
10358
15e0efc7
SM
103592011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10360
10361 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10362
454592a6
MR
103632011-12-13 Martin Rudalics <rudalics@gmx.at>
10364
10365 * window.el (delete-other-windows): Use correct frame in call to
10366 window-with-parameter.
10367
87393f26
DP
103682011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10369
10370 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10371 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10372 (makefile-gmake-statements, makefile-makepp-statements):
10373 Use it and add new makepp keywords.
10374 (makefile-makepp-font-lock-keywords): Add new patterns.
10375 (makefile-match-function-end): Match new [...] and [[...]].
10376
11636b22
JB
103772011-12-11 Juanma Barranquero <lekktu@gmail.com>
10378
10379 * ses.el (ses-call-printer-return, ses-cell-property-get)
10380 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10381 (ses-create-cell-variable, ses-reset-header-string)
10382 (ses-cell-set-formula, ses-repair-cell-reference-all)
10383 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10384 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10385 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10386 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10387 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10388 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10389 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10390 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10391 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10392 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10393 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10394 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10395
cf018193
VB
103962011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10397
10398 * ses.el: The overall change is to add cell renaming, that is
10399 setting fancy names for cell symbols other than name matching
10400 "\\`[A-Z]+[0-9]+\\'" regexp .
10401 (ses-create-cell-variable): New defun.
10402 (ses-relocate-formula): Relocate formulas only for cells the
10403 symbols of which are not renamed, i.e. symbols whose names do not
10404 match regexp "\\`[A-Z]+[0-9]+\\'".
10405 (ses-relocate-all): Relocate values only for cells the symbols of
10406 which are not renamed.
10407 (ses-load): Create cells variables as the (ses-cell ...) are read,
10408 in order to check row col consistency with cell symbol name only
10409 for cells that are not renamed.
10410 (ses-replace-name-in-formula): New defun.
10411 (ses-rename-cell): New defun.
10412
ee957461
CY
104132011-12-11 Chong Yidong <cyd@gnu.org>
10414
10415 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10416 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10417
9a9e9ef0
MR
104182011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10419
10420 * window.el (other-window): Fix docstring.
10421
92a8eba5
EZ
104222011-12-10 Eli Zaretskii <eliz@gnu.org>
10423
10424 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10425 `from' or `to' address before taking its substring.
10426 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10427 encoded name is chopped in the middle of the encoded string, and
10428 thus displayed encoded.
10429
e152e577
JB
104302011-12-10 Juanma Barranquero <lekktu@gmail.com>
10431
10432 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10433
e5d84bfe
EZ
104342011-12-10 Eli Zaretskii <eliz@gnu.org>
10435
10436 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10437 to use texinfo-update-node and commands that call it if the
10438 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10439 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10440 (texinfo-all-menus-update, texinfo-master-menu)
10441 (texinfo-update-node, texinfo-every-node-update)
10442 (texinfo-multiple-files-update): Doc fix. Warn against updating
10443 all the @node lines.
10444 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10445 argument is numeric. Explain better in the doc string what the
10446 function really does.
10447 (texinfo-insert-master-menu-list): Improve the error message
10448 displayed if there's no menu in the Top node.
10449 (Bug#2975) See also this thread:
e5d84bfe
EZ
10450 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10451
1d84e9bb
MG
104522011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10453
10454 * speedbar.el (speedbar-supported-extension-expressions):
10455 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10456
382c953b
JB
104572011-12-09 Juanma Barranquero <lekktu@gmail.com>
10458
10459 * printing.el (pr-mode-alist):
10460 * simple.el (filter-buffer-substring-functions)
10461 (completion-list-insert-choice-function):
10462 * window.el (window-with-parameter, window-atom-root)
10463 (window-sides-slots, window-size-fixed, window-min-delta)
10464 (window-max-delta, window--resize-mini-window)
10465 (window--resize-child-windows-normal, window-tree)
10466 (delete-other-windows, quit-window, split-window)
10467 (display-buffer-record-window, special-display-buffer-names)
10468 (special-display-regexps, special-display-popup-frame)
10469 (same-window-p, split-window-sensibly)
10470 (display-buffer-overriding-action, display-buffer-alist)
10471 (display-buffer-base-action, display-buffer, switch-to-buffer)
10472 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10473 (fit-window-to-buffer, recenter-positions)
10474 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10475 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10476 and remove unneeded backslashes in docstrings.
10477
39c9faef
SM
104782011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10479
98449af8
SM
10480 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10481
39c9faef
SM
10482 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10483 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10484 end in ".mk".
10485 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10486 when reading the makefile (bug#10116).
10487
86ed9fdc
SM
104882011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10489
10490 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10491 (bug#10116).
10492
5580f89d
GM
104932011-12-06 Glenn Morris <rgm@gnu.org>
10494
10495 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10496
28d3917c
CY
104972011-12-06 Chong Yidong <cyd@gnu.org>
10498
10499 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10500
a98edce9
JB
105012011-12-06 Juanma Barranquero <lekktu@gmail.com>
10502
10503 * textmodes/table.el (table-shorten-cell): Fix typo.
10504
e65adfac
CG
105052011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10506
10507 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10508
71cc0b74
EZ
105092011-12-05 Eli Zaretskii <eliz@gnu.org>
10510
10511 * descr-text.el (describe-char): Fix display of strong
10512 right-to-left characters and directional embeddings and overrides.
10513
10514 * simple.el (what-cursor-position): Fix display of codepoints of
10515 strong right-to-left characters.
10516
315bc30d
CY
105172011-12-05 Chong Yidong <cyd@gnu.org>
10518
10519 * faces.el (read-color): Doc fix.
10520
58a70b94
GM
105212011-12-05 Glenn Morris <rgm@gnu.org>
10522
10523 * align.el (align--set-marker): Add doc-string.
10524 Don't try to move something that is not a marker. (Bug#10216)
10525
5158face
GM
105262011-12-04 Glenn Morris <rgm@gnu.org>
10527
10528 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10529 overly zealous deletion of trailing whitespace.
10530
520fca41
JB
105312011-12-04 Juanma Barranquero <lekktu@gmail.com>
10532
10533 * server.el (server-delete-client): On Windows, do not try to delete
10534 the only terminal.
10535 (server-process-filter): On Windows, treat requests for a tty frame as
10536 if they were for a GUI frame if the running server is in GUI mode.
10537
5e605a2e
GM
105382011-12-03 Glenn Morris <rgm@gnu.org>
10539
10540 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10541
5c3fe83f
SM
105422011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10543
6f5e57e7
SM
10544 * electric.el: Streamline electric-indent's hook.
10545 (electric-indent-chars): Revert to simple list.
10546 (electric-indent-functions): New var.
10547 (electric-indent-post-self-insert-function): Use it.
10548
5c3fe83f
SM
10549 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10550 there's no inferior buffer (bug#10196).
10551 (prolog-consult-compile): Don't use toggle-read-only.
10552
6bdac736
MA
105532011-12-02 Michael Albinus <michael.albinus@gmx.de>
10554
10555 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10556 interrupt. (Bug#10187)
10557
6131ba7f
SM
105582011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10559
99c79fee
SM
10560 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10561 (bug#9160).
10562
6131ba7f
SM
10563 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10564 (bug#10191).
10565
cb0a02ea
JL
105662011-12-02 Juri Linkov <juri@jurta.org>
10567
10568 * info.el (Info-search): Display "end of manual" when Isearch
10569 reaches the end of single-file Info manual. (Bug#9918)
10570
66e0570c
EZ
105712011-12-02 Eli Zaretskii <eliz@gnu.org>
10572
10573 * isearch.el (isearch-message-prefix): Run the input method part
10574 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10575
02b16839
JL
105762011-12-02 Juri Linkov <juri@jurta.org>
10577
10578 * isearch.el (isearch-occur): Use `word-search-regexp' for
10579 `isearch-word'.
10580 (isearch-search-and-update): Add condition for `isearch-word' and
10581 call `word-search-regexp'. (Bug#10145)
10582
0b950688
GM
105832011-12-01 Glenn Morris <rgm@gnu.org>
10584
10585 * eshell/em-hist.el (eshell-hist-initialize):
10586 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10587 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10588
9505c3c7
SM
105892011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10590
10591 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10592
1bbe96b2 105932011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10594
a1beca85
SM
10595 * progmodes/verilog-mode.el (verilog-pretty-expr):
10596 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10597 verilog, such as += *= and the like.
10598 (verilog-assignment-operator-re): Regular expression to find the
10599 assigment operator in a verilog assignment.
10600 (verilog-assignment-operation-re): Regular expression to find an
10601 assignment statement for pretty-expr.
10602 (verilog-in-attribute-p): Query returns true if point is in an
10603 attribute context; used to skip these for expression line up from
10604 pretty-expr.
10605 (verilog-in-parameter-p): Query returns true if point is in an
10606 parameter definition context; used to skip these for expression
10607 line up from pretty-expr.
10608 (verilog-in-parenthesis-p): Query returns true if point is in a
10609 parenthetical expression, specifically ( ) but not [ ] or { };
10610 used by pretty-expr.
10611 (verilog-just-one-space): If there is no space, don't add one.
10612 (verilog-get-lineup-indent-2): Specifically skip just attribute
10613 contexts for expression lineup, rather than skipping all
10614 parenthetical expressions.
10615 (verilog-calculate-indent): Fix comment, and fix indent.
10616 (verilog-do-indent): Indent declarations in lists (suggested by
10617 Joachim Lechner).
10618 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10619 skeleton items.
10620 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10621 by Alain Mellan).
10622
1bbe96b2 106232011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10624
10625 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10626 parameters with embedded comments. Reported by Ray Stevens.
10627 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10628 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10629 Reported by Tim Holt.
10630 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10631 instantiated by upper module causing wrong expansion until AUTOed a
10632 second time. Reported by K C Buckenmaier.
10633 (verilog-diff-auto): Fix showing .* as a difference when
10634 `verilog-auto-star-save' off. Reported by Dan Dever.
10635 (verilog-auto-reset, verilog-read-always-signals)
10636 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10637 temporary signals in reset list if
10638 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10639 style to each signal's assignment type, bug381.
10640 Reported by Thomas Esposito.
6288f0ca
WS
10641 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10642 (verilog-uvm-statement-re): Support UVM indentation and
10643 highlighting, with old OVM keywords only.
a1beca85 10644 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10645 Support AUTOTIEOFF creating non-wire data types.
10646 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10647 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10648 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10649 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10650 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10651 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10652 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10653 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10654 non-numeric vector width. Reported by Alex Reed.
10655 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10656 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10657 (verilog-auto-delete-trailing-whitespace):
10658 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10659 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10660 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10661 Fix verilog-scan-cache corruption when running user AUTO expansion
10662 hooks that call indentation routines.
10663 (verilog-simplify-range-expression): Fix typo ignoring lower case
10664 identifiers.
10665 (verilog-delete-auto): Fix delete-autos to also remove user created
10666 automatics, as long as they start with AUTO.
10667 (verilog-batch-diff-auto, verilog-diff-auto)
10668 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10669 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10670 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10671 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10672 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10673 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10674 is disabled and its cache will get corrupt, causing AUTOS not to
10675 expand. Instead use only -quick functions.
10676 (verilog-scan-region): Fix scanning over escaped quotes.
10677 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10678 (verilog-re-search-backward-quick)
10679 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10680 related functions now ignore strings, to fix misparsing of strings
10681 with magic comments embedded in them.
a1beca85
SM
10682 (verilog-read-auto-template):
10683 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10684 Reported by Brad Dobbie.
10685 (verilog-read-auto-template):
10686 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10687 Reported by Brad Dobbie.
6288f0ca
WS
10688 (verilog-auto-inst, verilog-auto-inst-param)
10689 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10690 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10691 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10692 debugging templates without merge conflicts, bug357.
10693 Reported by Brad Dobbie.
10694 (verilog-read-auto-template):
10695 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10696 Reported by Brad Dobbie.
10697 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10698 abbrevs so user won't be asked to save.
10699 (verilog-read-auto-lisp-present): Fix to start at beginning of
10700 buffer in case called outside of verilog-auto.
10701 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10702 to "X-2". Reported by Matthew Myers.
10703 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10704 all inputs from module templates. Reported by Leith Johnson.
10705 (verilog-module-inside-filename-p): Fix locating programs as with
10706 modules.
10707 (verilog-auto-inst-port): Fix vl-width expressions when using
10708 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10709 (verilog-decls-get-regs, verilog-decls-get-signals,
10710 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10711 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10712 verilog-read-decls): Combine reg and wire structures into one var
10713 structure to represent SystemVerilog concepts.
10714 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10715 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10716 (verilog-auto-wire-type, verilog-insert-definition):
10717 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10718 SystemVerilog "logic" keyword instead of "wire"/"reg".
10719 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10720 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10721 ifdef or generate if so there's not a driver conflict).
10722 Reported by Matthew Myers.
10723 (verilog-auto-declare-nettype, verilog-insert-definition):
10724 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10725 `default_nettype none. Reported by Julian Gorfajn.
10726 (verilog-read-always-signals-recurse, verilog-read-decls)
10727 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10728 malformed end statement, bug325. Reported by Joshua Wise and
10729 Andrew Drake.
10730 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10731 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10732 when expanding .* in interfaces, bug320.
10733 Reported by Pierre-David Pfister.
6288f0ca 10734 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10735 name and open parenthesis, bug317.
10736 Reported by Pierre-David Pfister.
6288f0ca
WS
10737 (verilog-simplify-range-expression): Fix simplification of
10738 multiplications inside AUTOWIRE connections, bug303.
10739 (verilog-auto-inst-port): Support parameter expansion in
10740 multidimensional arrays.
10741 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10742 after "assert property". Reported by Julian Gorfajn.
10743 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10744 with multiplication, bug303.
10745 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10746 Reported by Jan Frode Lonnum.
10747
1bbe96b2
GM
107482011-11-30 Juanma Barranquero <lekktu@gmail.com>
10749
10750 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10751 (hfy-shell-file-name, hfy-shell):
10752 * international/fontset.el (x-decompose-font-name): Fix typos.
10753
107542011-11-29 Ken Brown <kbrown@cornell.edu>
10755
10756 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10757 (gdb-version): Remove defvar.
10758 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10759 (gdb-gud-context-command, gdb-non-stop-handler)
10760 (gdb-current-context-command, gdb-stopped): Use it.
10761 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10762 (gdb-non-stop-handler): Don't enable pretty-printing here.
10763 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10764 non-stop mode. Use the following.
10765 (gdb-check-target-async): New defun.
10766 (gud-watch, gdb-stopped): Fix whitespace.
10767 (gdb-get-source-file): Don't try to display the source file if
10768 `gdb-main-file' is nil.
10769
107702011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10771
10772 * align.el: Try to generate fewer markers (bug#10047).
10773 (align--set-marker): New macro.
10774 (align-region): Use it.
10775
c935221f
SM
107762011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10777
10778 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10779
e70b5064
CY
107802011-11-29 Chong Yidong <cyd@gnu.org>
10781
10782 * indent.el (indent-for-tab-command, indent-according-to-mode):
10783 Doc fix.
10784 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10785
f3af92b7
MA
107862011-11-29 Michael Albinus <michael.albinus@gmx.de>
10787
10788 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10789 aware of remote file names. (Bug#10124)
10790
ed472be9
CY
107912011-11-29 Chong Yidong <cyd@gnu.org>
10792
10793 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10794
24510c22
SM
107952011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10796
10797 * files.el (find-file): Don't use force-same-window (bug#10144).
10798 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10799 use pop-to-buffer if the selected window can't be used.
10800 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10801
c60c3703
EZ
108022011-11-28 Eli Zaretskii <eliz@gnu.org>
10803
10804 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10805 special-mode-map.
10806
e95def75
CY
108072011-11-28 Chong Yidong <cyd@gnu.org>
10808
10809 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10810
c3f1c606
NR
108112011-11-27 Nick Roberts <nickrob@snap.net.nz>
10812
10813 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10814 gdb-get-source-file-list on gdb-create-source-file-list.
10815
00db469c
EZ
108162011-11-26 Eli Zaretskii <eliz@gnu.org>
10817
10818 * whitespace.el (whitespace-newline): Use a different foreground
10819 color for 16-color light-background displays.
10820
4ad3bc2a
CY
108212011-11-24 Chong Yidong <cyd@gnu.org>
10822
10823 * window.el (display-buffer--special-action): Doc fix.
10824
e9fce1ac
JB
108252011-11-25 Juanma Barranquero <lekktu@gmail.com>
10826
10827 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10828 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10829 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10830 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10831 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10832 (avl-tree-stack-first):
10833 * emacs-lisp/cconv.el (cconv--analyse-use):
10834 * net/gnutls.el (gnutls-negotiate): Fix typos.
10835
cb825e5d
GM
108362011-11-24 Glenn Morris <rgm@gnu.org>
10837
3adbe224
GM
10838 * lpr.el (lpr-windows-system, lpr-lp-system):
10839 * mail/binhex.el (binhex-begin-line):
10840 * progmodes/grep.el (grep-history, grep-find-history):
10841 * textmodes/flyspell.el:
10842 * vc/pcvs-defs.el (cvs-global-menu):
10843 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10844 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10845 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10846
321decc8
GM
10847 * net/tls.el: Fix case of "GnuTLS".
10848
420b63ad
GM
10849 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10850
cb825e5d
GM
10851 * version.el (emacs-build-system): Give it a doc-string.
10852
a0649f08
JL
108532011-11-24 Juri Linkov <juri@jurta.org>
10854
10855 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10856
c0bc0fd4
GM
108572011-11-24 Glenn Morris <rgm@gnu.org>
10858
10859 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10860 if called on a non-mime message just toggle the headers. (Bug#8006)
10861
20db1522
JB
108622011-11-24 Juanma Barranquero <lekktu@gmail.com>
10863
10864 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10865 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10866 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10867 (allout-rebullet-heading, allout-open-sibtopic)
10868 (allout-toggle-current-subtree-encryption)
10869 (allout-toggle-subtree-encryption, allout-encrypt-string)
10870 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10871 (allout-distinctive-bullets-string, allout-auto-activation):
10872 * window.el (window-normalize-buffer-to-display):
10873 * progmodes/verilog-mode.el (verilog-batch-indent):
10874 * textmodes/bibtex.el (bibtex-field-braces-opt)
10875 (bibtex-field-strings-opt):
10876 * vc/cvs-status.el (cvs-tree-merge):
10877 Fix typos.
10878
7262a87c
MA
108792011-11-23 Michael Albinus <michael.albinus@gmx.de>
10880
10881 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10882 `non-essential' to t, in order to avoid remote connections.
10883
283430a1
EZ
108842011-11-23 Eli Zaretskii <eliz@gnu.org>
10885
a1beca85
SM
10886 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10887 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10888 case-insensitively.
10889
d2992a38
ML
108902011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10891
10892 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10893
50419064
GM
108942011-11-23 Glenn Morris <rgm@gnu.org>
10895
da94eca1
GM
10896 * paths.el (rmail-file-name): Reformat the doc-string so that it
10897 is picked up.
10898
9aac4de2
GM
10899 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10900 (rmail-auto-file): Ignore case in the "special" field names,
10901 as mail-fetch-field does for all others.
10902
8038d2d2
GM
10903 * mail/rmail.el (rmail-forward):
10904 * mail/rmailkwd.el (rmail-set-label):
10905 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10906 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10907
f3fe222a
GM
10908 * mail/rmail.el (rmail-current-message): Doc fix.
10909
50419064
GM
10910 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10911
28109f49
SM
109122011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10913
10914 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10915
394c65f1
GM
109162011-11-22 Glenn Morris <rgm@gnu.org>
10917
10918 * mail/rmailmm.el (test-rmail-mime-handler)
10919 (test-rmail-mime-bulk-handler)
10920 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10921
f2a0aa3a
JL
109222011-11-21 Juri Linkov <juri@jurta.org>
10923
1154d12e
JB
10924 * calc/calc.el (calc-read-key-sequence):
10925 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10926
9c34a344
LMI
109272011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10928
10929 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10930 Tell the caller that the next line needs recomputation, even
10931 though it doesn't start a sexp (bug#10094).
10932
f04a3be9
SM
109332011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10934
10935 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10936
7978747f
SM
109372011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10938
f04a3be9
SM
10939 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10940 Use force-same-window.
7978747f 10941
fe7a3057
JB
109422011-11-20 Juanma Barranquero <lekktu@gmail.com>
10943
10944 * descr-text.el (describe-char-unicode-data):
10945 * json.el (json-string-escape):
10946 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10947 (Footnote-unicode, Footnote-style-p):
10948 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10949
24901d61
CY
109502011-11-20 Chong Yidong <cyd@gnu.org>
10951
10952 * window.el (replace-buffer-in-windows): Restore interactive spec.
10953
bac7ff22
SM
109542011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10955
24f3d7b9
SM
10956 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10957
bac7ff22
SM
10958 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10959 (byte-compile-global-not-obsolete-vars): New var.
10960 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10961 Use it.
10962 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10963
cd1181db
JB
109642011-11-20 Juanma Barranquero <lekktu@gmail.com>
10965
10966 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10967 * progmodes/pascal.el (electric-pascal-equal):
10968 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10969 * xml.el (xml-substitute-special): Fix typos.
10970
7fb18e9e
GM
109712011-11-20 Glenn Morris <rgm@gnu.org>
10972
10973 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10974 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10975 Doc fixes.
10976 (rmail-decode-mime-charset): Mark as obsolete.
10977
10978 * mail/rmailsum.el (rmail-message-regexp-p-1):
10979 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10980 Before using mime functions, check they are set. (Bug#10077)
10981
d5a6b3ba
JL
109822011-11-19 Juri Linkov <juri@jurta.org>
10983
10984 * info.el (Info-finder-find-node): Use `package--builtins' instead
10985 of `package-alist'. Use node names formed by the pattern "Keyword "
10986 and the keyword name.
10987
e981b61f
AS
109882011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10989
1d00653d 10990 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10991
3ffbc301
JL
109922011-11-19 Juri Linkov <juri@jurta.org>
10993
10994 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10995 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10996 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10997 `old-history', `old-history-forward'. Add let-binding
10998 `window-selected'. Remove calls to `kill-buffer',
10999 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11000 before calling `Info-find-node', so `Info-find-node-2' will reread
11001 the Info file. Restore window positions only when `window-selected'
11002 is non-nil.
11003
30c62133
JL
110042011-11-19 Juri Linkov <juri@jurta.org>
11005
11006 * isearch.el (isearch-lazy-highlight-new-loop):
11007 Remove condition `(not isearch-error)'. (Bug#9918)
11008
11009 * misearch.el (multi-isearch-search-fun): Add condition
11010 `(not bound)' to ignore lazy-highlighting search.
11011 Add the search-failed message "end of multi" when the end of
11012 multi-sequence is reached. Uncapitalize the search-failed
11013 message "Repeat for next buffer".
11014
11015 * info.el (Info-search): Add the search-failed message
11016 "end of the manual" when the end of the manual is reached
11017 in Isearch mode.
11018
645ca9cf
JL
110192011-11-19 Juri Linkov <juri@jurta.org>
11020
11021 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11022 Use non-destructive `remove' instead of `delete' because
11023 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11024 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11025
df754f66
JL
110262011-11-19 Juri Linkov <juri@jurta.org>
11027
11028 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11029 to nil instead of binding `search-ring' and `regexp-search-ring'.
11030 (Bug#9185)
11031
0e23d96a
EZ
110322011-11-19 Eli Zaretskii <eliz@gnu.org>
11033
11034 * simple.el (line-move): Force movement by logical lines for any
11035 hscrolled window, not only when auto-hscroll-mode is on.
11036 (line-move-visual): Update doc string to that effect. (Bug#10076)
11037
8a6ccb66
AS
110382011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11039
11040 * language/european.el (macintosh): Define as alias for mac-roman.
11041
49ae5b39
EZ
110422011-11-19 Eli Zaretskii <eliz@gnu.org>
11043
11044 * mail/rmailmm.el (rmail-mime-display-header)
11045 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11046 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11047 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11048 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11049 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11050 of a raw aref.
11051 (rmail-mime-entity-segment): To get past the tagline, move forward
11052 2 more lines, to account for the 2 empty lines that precede and
11053 follow the line with the buttons.
11054 (rmail-mime-update-tagline): Move one more line, to get past the
11055 empty line that follows the buttons in the tagline. (Bug#9520)
11056
c56cad4a
MR
110572011-11-19 Martin Rudalics <rudalics@gmx.at>
11058
11059 * window.el (window-max-delta-1, window-min-delta-1)
11060 (window-min-size-1, window-state-get-1, window-state-put-1)
11061 (window-state-put-2): Use "window--" prefix.
11062
cbe71af3
SM
110632011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11064
2ad52c60
SM
11065 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11066 (smie-warning-count): New var.
11067 (smie-set-prec2tab): Use it.
11068 (smie-bnf->prec2): Improve warnings. Add docstring.
11069 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11070 (smie-bnf--set-class): New function.
11071 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11072 corner case.
11073
6944dbc1
SM
11074 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11075 (compilation-error-properties, compilation-move-to-column):
11076 Handle compilation-first-column while in the target buffer.
11077
c400c4d7
SM
11078 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11079 Don't hardcode point-min==1.
11080
6dbe3e96
SM
11081 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11082 (eshell-rewrite-for-command): Remove workaround.
11083 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11084 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11085 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11086
cbe71af3
SM
11087 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11088
a8e1496d
GM
110892011-11-17 Glenn Morris <rgm@gnu.org>
11090
11091 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11092 Ignore buffer-local generated-autoload-file if it is the same
11093 as the global value. (Bug#10049)
11094
df85d315
JB
110952011-11-17 Juanma Barranquero <lekktu@gmail.com>
11096
11097 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11098 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11099 (reftex-toc-previous-heading, reftex-toc-max-level)
11100 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11101 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11102 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11103 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11104 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11105 (reftex-toc-rename-label, reftex-toc-visit-location)
11106 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11107 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11108 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11109 leaving "*toc*" only for references to the buffer.
11110
a0c2d0ae
MR
111112011-11-17 Martin Rudalics <rudalics@gmx.at>
11112
11113 * window.el (window-resize, delete-window, split-window):
11114 Replace window-splits by window-combination-resize.
1d00653d 11115 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11116
35c0bac8
GM
111172011-11-17 Glenn Morris <rgm@gnu.org>
11118
11119 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11120 Make bash entry derive from sh entry, not shell entry.
11121
d0c8fc8a
MA
111222011-11-16 Michael Albinus <michael.albinus@gmx.de>
11123
7262a87c
MA
11124 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11125 local file name.
11126
7877f373
JB
111272011-11-16 Juanma Barranquero <lekktu@gmail.com>
11128
11129 * menu-bar.el (menu-bar-file-menu):
11130 * printing.el (pr-ps-utility):
11131 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11132 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11133 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11134 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11135 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11136 (icalendar--convert-cyclic-to-ical)
11137 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11138 (icalendar--convert-ical-to-diary)
11139 (icalendar--convert-recurring-to-diary)
11140 (icalendar--convert-non-recurring-all-day-to-diary)
11141 (icalendar-import-format-sample):
11142 * progmodes/idlw-shell.el (idlwave-shell-mode):
11143 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11144 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11145 (vhdl-ps-print-init): Fix typos.
11146
10649b82
KM
111472011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11148
9d0cfcd6
GM
11149 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11150 FSF and collapse date sequence, obscure author/maintainer email address
11151 better, remove extra version line, track relocation of author's webpage.
10649b82 11152
9d0cfcd6
GM
11153 * progmodes/python.el (python-pdbtrack-input-prompt)
11154 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11155 regular python pdb prompts. Adjustments shamelessly taken exactly as
11156 suggested in EmacsWiki page (tiny change):
11157 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11158
58179cce
JB
111592011-11-16 Juanma Barranquero <lekktu@gmail.com>
11160
11161 * expand.el (expand-pos, expand-index, expand-point):
11162 Remove redundant info from docstring.
11163 (expand-add-abbrevs): Doc fix.
11164 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11165 (expand-sample-perl-mode-expand-list): Fix typos.
11166
11167 * net/dbus.el (dbus-event-member-name):
11168 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11169 * term/pc-win.el (msdos-create-frame-with-faces):
11170 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11171
b6f67890
MR
111722011-11-16 Martin Rudalics <rudalics@gmx.at>
11173
11174 * window.el (split-window, window-state-get-1)
11175 (window-state-put-1, window-state-put-2): Rename occurrences of
11176 window-nest to window-combination-limit.
1d00653d 11177 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11178
ce7ddba0
CY
111792011-11-16 Chong Yidong <cyd@gnu.org>
11180
11181 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11182 regexp (Bug#10033).
11183
3ae704f4
SM
111842011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11185
11186 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11187 `completing-read' will remove *Completions* and will preserve
11188 current-buffer for us.
11189 (tmm-add-prompt): Users of *Completions* will always (re)set its
11190 major mode.
11191 (tmm-old-comp-map): Remove.
11192
6ad1cdde
GM
111932011-11-16 Glenn Morris <rgm@gnu.org>
11194
11195 * mail/rmailedit.el: Require rmailmm when compiling.
11196 (rmail-old-mime-state): New declaration.
11197 (rmail-edit-current-message): If editing a mime message,
11198 edit the "raw" message from the mbox buffer.
11199 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11200
d20faa20
GM
112012011-11-15 Glenn Morris <rgm@gnu.org>
11202
11203 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11204 which wasn't being used. Add optional arg to force given state.
11205 (rmail-mime): Add optional arg to force given state.
11206
c7015153
JB
112072011-11-15 Juanma Barranquero <lekktu@gmail.com>
11208
11209 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11210 * frame.el (display-mm-dimensions-alist):
11211 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11212 (outline-move-subtree-down):
11213 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11214 (newsticker--treeview-do-get-node):
11215 * net/quickurl.el (quickurl-list-buffer-name):
11216 * progmodes/dcl-mode.el (dcl-mode):
11217 * progmodes/gdb-mi.el (gdb-mapcar*):
11218 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11219
45261b50
GM
112202011-11-15 Glenn Morris <rgm@gnu.org>
11221
11222 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11223 in a boolean sense, so just make it a boolean, and fix the doc.
11224 (rmail-show-mime-function, rmail-mime-feature)
11225 (rmail-require-mime-maybe): Doc fixes.
11226 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11227
11228 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11229
0d26e0b6
JB
112302011-11-15 Juanma Barranquero <lekktu@gmail.com>
11231
11232 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11233 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11234 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11235 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11236
447f30f6
GM
112372011-11-15 Glenn Morris <rgm@gnu.org>
11238
672b871d
GM
11239 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11240 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11241 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11242 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11243 (rmail-mime, rmail-show-mime): Doc fixes.
11244
f6aa5bb1
GM
11245 * term/ns-win.el (mode-line-frame-identification):
11246 Leave it alone. (Bug#10051)
11247
947cd66b
GM
11248 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11249
447f30f6
GM
11250 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11251 Handle empty buffers. (Bug#9978)
11252
0b381c7e
JB
112532011-11-14 Juanma Barranquero <lekktu@gmail.com>
11254
11255 * international/mule.el (define-charset):
11256 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11257 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11258 * progmodes/verilog-mode.el (verilog-backward-token):
11259 * textmodes/ispell.el (lookup-words):
11260 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11261
71e027ac
GM
112622011-11-14 Glenn Morris <rgm@gnu.org>
11263
56632ce4
GM
11264 * progmodes/executable.el
11265 (executable-make-buffer-file-executable-if-script-p):
11266 Handle file-modes returning nil.
11267
40500957
GM
11268 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11269 message - not necessary, and causes problems. (Bug#9831)
11270
071c2340
GM
11271 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11272
d3cfca60
GM
11273 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11274
71e027ac
GM
11275 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11276 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11277 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11278
89d61221
MR
112792011-11-12 Martin Rudalics <rudalics@gmx.at>
11280
11281 * window.el (window-resize, delete-window): Use window-splits
11282 variable instead of function.
11283 (window-state-get-1, window-state-put-2, window-state-put):
11284 Don't deal with windows' splits status.
11285
98282f6f
GM
112862011-11-12 Glenn Morris <rgm@gnu.org>
11287
11288 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11289 (apropos-documentation): Doc fixes.
11290
40a8bdf6
JB
112912011-11-11 Juanma Barranquero <lekktu@gmail.com>
11292
11293 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11294 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11295
65bd19ff
SM
112962011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11297
11298 * electric.el (electric-indent-post-self-insert-function): Make it
11299 possible for a char to only indent in some circumstances.
11300 (electric-indent-mode): Simplify.
11301
54f9154c
MR
113022011-11-11 Martin Rudalics <rudalics@gmx.at>
11303
11304 * window.el (windows-with-parameter): Remove unused function.
11305 (windows-at-side): Rename to window-at-side-list.
11306 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11307 (window-side-check, window-size-ignore, window-size-fixed-1)
11308 (window-in-direction-2): Prefix with "window--".
11309 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11310
68cbc58b
GM
113112011-11-11 Glenn Morris <rgm@gnu.org>
11312
11313 * subr.el (eval-after-load): If FILE is already loaded,
11314 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11315
b2621720
GM
113162011-11-10 Glenn Morris <rgm@gnu.org>
11317
9a4de110
GM
11318 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11319 Call svn via vc-svn-command rather than vc-do-command.
11320 (vc-svn-command): Add --non-interactive. (Bug#9993)
11321 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11322
b2621720
GM
11323 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11324 Add toggle-read-only. (Bug#7292)
11325 * files.el (toggle-read-only): Mention that it should only
11326 be used interactively. (Bug#10006)
11327
1dce7193
SM
113282011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11329
d9ac1a1e
SM
11330 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11331 Adjust regexp for OCaml warnings.
11332
0c325082
SM
11333 * electric.el (electric-pair-post-self-insert-function): Let user
11334 turn it off buffer-locally (bug#9932).
11335
90132c14
SM
11336 * progmodes/python.el (python-beginning-of-statement):
11337 Rewrite (bug#2703).
11338
1dce7193
SM
11339 * progmodes/compile.el: Better handle TABs (bug#9749).
11340 (compilation-internal-error-properties)
11341 (compilation-next-error-function): Obey the target buffer's
11342 compilation-error-screen-columns.
11343
c4e7c63a
JB
113442011-11-09 Juanma Barranquero <lekktu@gmail.com>
11345
11346 * progmodes/meta-mode.el: Remove obsolete comments.
11347 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11348 Fix typos in docstrings.
11349
2cffd681
MR
113502011-11-09 Martin Rudalics <rudalics@gmx.at>
11351
11352 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11353 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11354 (window--resizable): New function. Make all callers of
11355 window-resizable call window--resizable instead.
11356 (window-resizable): Rewrite in terms of window--resizable.
11357
0edcba87
GM
113582011-11-08 Glenn Morris <rgm@gnu.org>
11359
11360 * progmodes/delphi.el (delphi-mode-syntax-table):
11361 Let define-derived-mode define a proper syntax table. (Bug#9994)
11362
4b0d61e3
SM
113632011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 * window.el: Stay away from defsubst.
11366 (window-list-no-nils): Remove.
11367 (window-state-get-1, window-state-get): Use backquote instead.
11368
cd394be1 113692011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11370
4b0d61e3 11371 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11372 Fix incorrect use of default argument in `completing-read'.
11373
e1c2c6f2
MR
113742011-11-08 Martin Rudalics <rudalics@gmx.at>
11375
11376 * window.el (display-buffer-function, special-display-function):
11377 Mention display-buffer-record-window but do not mention
11378 help-setup parameter in doc-strings.
b3f4a882 11379 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11380
105216ed
CY
113812011-11-08 Chong Yidong <cyd@gnu.org>
11382
11383 * window.el (window-total-height, window-total-width): Doc fix.
11384 (window-body-size): Move from C.
11385 (window-body-height, window-body-width): Move to C.
11386
0a9f9ab5
SM
113872011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11388
11389 * window.el: Make special-display like display-buffer-alist (bug#9532).
11390 (display-buffer--special-action): New function, morphed
11391 from display-buffer--special.
11392 (display-buffer): Use it to handle special-display-buffers at higher
11393 priority (just after display-buffer-alist).
11394 (display-buffer-fallback-action, display-buffer--other-frame-action)
11395 (pop-to-buffer-same-window): Remove display-buffer--special.
11396
a769dd15
GM
113972011-11-07 Glenn Morris <rgm@gnu.org>
11398
11399 * calendar/cal-menu.el (cal-menu-set-date-title):
11400 Do nothing if not in a calendar. (Bug#9976)
11401
05a61ee3
SM
114022011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11403
11404 * files.el (find-file): Always use selected-window.
11405
be7f5545
MR
114062011-11-07 Martin Rudalics <rudalics@gmx.at>
11407
11408 * window.el (window-combinations): Make WINDOW argument
11409 mandatory. Rewrite doc-string.
11410 (walk-window-subtree, window-atom-check, window-min-delta)
11411 (window-max-delta, window--resize-this-window)
11412 (window--resize-root-window-vertically, window-tree)
11413 (balance-windows, window-state-put): Rewrite doc-strings as to
11414 not mention the term "subwindow".
11415 (window--resize-subwindows-skip-p): Rename to
11416 window--resize-child-windows-skip-p.
11417 (window--resize-subwindows-normal): Rename to
11418 window--resize-child-windows-normal.
11419 (window--resize-subwindows): Rename to
11420 window--resize-child-windows.
11421 (window-or-subwindow-p): Rename to window--in-subtree-p.
11422
3c6702ef
ML
114232011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11424
11425 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11426 Ensure that mbox format messages end in two newlines (Bug#9974).
11427
49745b39
CY
114282011-11-06 Chong Yidong <cyd@gnu.org>
11429
11430 * window.el (window-combination-p): Function deleted; its
11431 side-effect is not used in any existing code.
11432 (window-combinations, window-combined-p): Call window-*-child
11433 directly.
11434
24300f5f
CY
114352011-11-05 Chong Yidong <cyd@gnu.org>
11436
11437 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11438 (window-size-ignore, window-state-get): Callers changed.
11439 (window-normalize-window): Rename from window-normalize-any-window.
11440 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11441 (window-normalize-live-window): Delete.
447f16b8
CY
11442 (window-combination-p, window-combined-p, window-combinations)
11443 (walk-window-subtree, window-atom-root, window-min-size)
11444 (window-sizable, window-sizable-p, window-size-fixed-p)
11445 (window-min-delta, window-max-delta, window-resizable)
11446 (window-resizable-p, window-full-height-p, window-full-width-p)
11447 (window-current-scroll-bars, window-point-1, set-window-point-1)
11448 (window-at-side-p, window-in-direction, window-resize)
11449 (adjust-window-trailing-edge, maximize-window, minimize-window)
11450 (window-deletable-p, delete-window, delete-other-windows)
11451 (record-window-buffer, unrecord-window-buffer)
11452 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11453 (quit-window, split-window, window-state-put)
11454 (set-window-text-height, fit-window-to-buffer)
11455 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11456
89bd5ee1
EZ
114572011-11-04 Eli Zaretskii <eliz@gnu.org>
11458
53479029
EZ
11459 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11460 rfc2047-decode-string.
11461 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11462 warnings.
11463
89bd5ee1
EZ
11464 * window.el (window-body-height, window-body-width): Mention in
11465 the doc string that the return values are in frame's canonical
11466 units. (Bug#9949)
11467
bd17fdee
AM
114682011-11-03 Alan Mackenzie <acm@muc.de>
11469
11470 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11471 change in cc-engine.el.
11472
acc825c5
SM
114732011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11474
11475 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11476
1885e5b8
MR
114772011-11-02 Martin Rudalics <rudalics@gmx.at>
11478
11479 * window.el (quit-window): Call unrecord-window-buffer after
11480 showing another buffer in the window. (Bug#9937)
acc825c5 11481 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11482
ebe06da9
JB
114832011-11-02 Juanma Barranquero <lekktu@gmail.com>
11484
11485 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11486 Accept status with more than 9 shelves. (Bug#9935)
11487 Reported by Colin D Bennett <colin@gibibit.com>.
11488
4ee88440
MR
114892011-11-01 Martin Rudalics <rudalics@gmx.at>
11490
11491 * help.el (with-help-window): Don't reference
11492 temp-buffer-show-specifiers in doc-string.
11493
08e1d82c
AS
114942011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11495
11496 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11497 menu-item.
11498
84bd6e9e
VJL
114992011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11500
11501 * whitespace.el: New version 13.2.2.
11502 (whitespace-newline-mode): Disable properly. Reported by Sarah
11503 <EmacsWiki>.
11504
dba0634a
UJ
115052011-10-30 Ulf Jasper <ulf.jasper@web.de>
11506
11507 * net/newst-treeview.el: Remove "Time-stamp".
11508 (newsticker--group-manage-orphan-feeds): Do not call
11509 newsticker--treeview-tree-update.
db22a3c2
JB
11510 (newsticker-treeview-update, newsticker-treeview):
11511 Call newsticker--treeview-tree-update if necessary.
dba0634a 11512
3d8daefe
MR
115132011-10-30 Martin Rudalics <rudalics@gmx.at>
11514
11515 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11516 (window-iso-combinations): Remove "iso-" infix.
11517 Suggested by Chong Yidong.
3d8daefe
MR
11518 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11519 (window-max-delta-1, window-resize, window--resize-siblings)
11520 (window--resize-this-window, adjust-window-trailing-edge)
11521 (split-window, balance-windows-1)
11522 (shrink-window-if-larger-than-buffer):
11523 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11524 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11525
1bc4c3ae
SM
115262011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11527
11528 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11529 in place (bug#9907).
11530 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11531 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11532 (eshell-structure-basic-command, eshell-rewrite-while-command)
11533 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11534 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11535 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11536 (eshell-do-pipelines-synchronously, eshell-eval-command):
11537 Use backquotes and prefer setq to set.
11538 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11539 (eshell-macrop): Use functionp.
c1e2f5fa 11540 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11541
30b65d9c
CY
115422011-10-30 Chong Yidong <cyd@gnu.org>
11543
11544 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11545 instead of set-mark (Bug#9810).
11546
2d197ffb
CY
115472011-10-30 Chong Yidong <cyd@gnu.org>
11548
11549 * window.el (split-window-below, split-window-right): Rename from
11550 split-window-above-each-other and split-window-side-by-side
11551 respectively. All callers changed.
11552 (split-window-sensibly, split-window-sensibly): Use them.
11553 (split-window-keep-point): Doc fix.
11554
11555 * isearch.el: Add isearch-scroll property to split-window-below
11556 and split-window-right.
11557
11558 * follow.el (follow-mode):
11559 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11560 * progmodes/ada-xref.el (ada-gdb-application):
11561 * emulation/vip.el (vip-buffer-in-two-windows):
11562 * image-dired.el (image-dired-dired-with-window-configuration):
11563 * dired-x.el (dired-do-find-marked-files):
11564 * dired.el (dired-pop-to-buffer):
11565 * bs.el (bs--show-with-configuration):
11566 * vc/emerge.el (emerge-setup-windows):
11567 * textmodes/two-column.el (2C-two-columns):
11568 * textmodes/reftex-toc.el (reftex-toc):
11569 * progmodes/gdb-mi.el (gdb-setup-windows):
11570 * progmodes/fortran.el (fortran-window-create):
11571 * net/newst-treeview.el (newsticker--treeview-window-init):
11572 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11573 * emulation/tpu-edt.el (tpu-gold-map):
11574 * emulation/crisp.el (crisp-mode-map):
11575 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11576
38bb2ca8
CY
115772011-10-29 Chong Yidong <cyd@gnu.org>
11578
aa4de341
CY
11579 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11580
e1eb5385
CY
11581 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11582
5d2ece3c
CY
11583 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11584 forged Ispell output (Bug#7904).
11585
38bb2ca8
CY
11586 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11587
d0af9f77
SM
115882011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * doc-view.el: Avoid ugly errors about not finding nil.
11591 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11592 (doc-view-dvipdf-program, doc-view-unoconv-program)
11593 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11594 Avoid nil or absolute file name as default value.
11595 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11596
52bedd34
AM
115972011-10-28 Alan Mackenzie <acm@muc.de>
11598
db22a3c2 11599 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11600
7e43cfa5
AM
116012011-10-28 Alan Mackenzie <acm@muc.de>
11602
11603 Amend the handling of c-beginning/end-of-defun in nested declaration
11604 scopes.
11605
52bedd34
AM
11606 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11607 cc-langs.el. Change it to a defcustom.
7e43cfa5 11608
52bedd34
AM
11609 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11610 cc-vars.el.
7e43cfa5 11611
d0af9f77
SM
11612 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11613 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11614
52bedd34 11615 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11616 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11617 (c-widen-to-enclosing-decl-scope): New function.
11618 (c-while-widening-to-decl-block): New macro.
11619 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11620 outward for defun boundaries, and correspondingly change symbol
11621 `respect-enclosure' to `go-outward'.
11622 (c-declaration-limits): Change algorithm to report only the "innermost"
11623 defun's boundaries.
11624
1a2ce9ee
DD
116252011-10-28 Deniz Dogan <deniz@dogan.se>
11626
11627 * net/rcirc.el (rcirc-mode): Use hard newlines.
11628
bc97a826
AM
116292011-10-28 Alan Mackenzie <acm@muc.de>
11630
11631 Amend to indent and fontify macros "which include their own semicolon"
11632 correctly, using the "virtual semicolon" mechanism.
11633
52bedd34 11634 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11635
d0af9f77 11636 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11637 Recode to scan one line at a time rather than having \n and \r
58179cce 11638 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11639 (c-forward-label): Amend for virtual semicolons.
58179cce 11640 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11641
52bedd34
AM
11642 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11643 of the new C macros.
bc97a826 11644
52bedd34 11645 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11646 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11647 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11648 (c-opt-cpp-macro-define): Make into a full language variable.
11649 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11650 AWK Mode (including \n, \r) removed, no longer needed.
11651
d0af9f77
SM
11652 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11653 Invoke c-make-macro-with-semi-re.
bc97a826 11654
52bedd34
AM
11655 * progmodes/cc-vars.el (c-macro-with-semi-re):
11656 (c-macro-names-with-semicolon): New variables.
58179cce 11657 (c-make-macro-with-semi-re): New function.
bc97a826 11658
7a6c0941
SM
116592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11660
11661 * vc/log-edit.el: Fill empty field rather than adding new one.
11662 (log-edit-add-field): New function.
11663 (log-edit-insert-changelog): Use it.
11664
b0c4cdcf
ML
116652011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11666
11667 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11668
ee1f1da9
SM
116692011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11670
11671 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11672 (gdb--check-interpreter): New function.
11673 (gdb): Use it.
11674
51bc5f8b
GM
116752011-10-27 Glenn Morris <rgm@gnu.org>
11676
416a2c45
GM
11677 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11678 (least-positive-float, least-negative-float)
11679 (least-positive-normalized-float, least-negative-normalized-float)
11680 (float-epsilon, float-negative-epsilon):
11681 Remove unnecessary declarations.
11682
11683 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11684 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11685 (least-positive-float, least-negative-float)
11686 (least-positive-normalized-float, least-negative-normalized-float)
11687 (float-epsilon, float-negative-epsilon): Add doc-strings,
11688 based on those in cl.texi.
11689
51bc5f8b
GM
11690 * files.el (set-visited-file-name): If the major-mode changed,
11691 reload the local variables. (Bug#9796)
11692
15de15c6
CY
116932011-10-27 Chong Yidong <cyd@gnu.org>
11694
11695 * subr.el (change-major-mode-after-body-hook): New hook.
11696 (run-mode-hooks): Run it.
11697
ee1f1da9
SM
11698 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11699 Use change-major-mode-before-body-hook.
15de15c6
CY
11700
11701 * simple.el (fundamental-mode):
11702 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11703 change introducing fundamental-mode-hook.
11704
5430d399
JB
117052011-10-26 Juanma Barranquero <lekktu@gmail.com>
11706
acc825c5 11707 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11708
ad74a69e
MA
117092011-10-26 Michael Albinus <michael.albinus@gmx.de>
11710
11711 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11712 tramp.el explicitly. (Bug#7583)
ad74a69e 11713
71d4c2a5
SM
117142011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11715
11716 * progmodes/octave-mod.el:
11717 * progmodes/octave-inf.el: Update maintainer.
11718
b1f6fa26
CY
117192011-10-26 Chong Yidong <cyd@gnu.org>
11720
11721 * subr.el (with-wrapper-hook): Rewrite doc.
11722
3f04efd6
MA
117232011-10-25 Michael Albinus <michael.albinus@gmx.de>
11724
11725 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11726 filenames "/method:foo:". (Bug#9793)
3f04efd6 11727
410488d3
SM
117282011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11729
11730 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11731 (bug#9865).
11732
c1ebb47e
GM
117332011-10-24 Glenn Morris <rgm@gnu.org>
11734
11735 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11736
7f5c46c7
MA
117372011-10-24 Michael Albinus <michael.albinus@gmx.de>
11738
11739 * notifications.el: Add the requirement of a running D-Bus session
11740 bus to the Commentary.
11741
db2440b6
JL
117422011-10-24 Juri Linkov <juri@jurta.org>
11743
11744 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11745 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11746 (Bug#9364)
11747
feecf435
JL
117482011-10-24 Juri Linkov <juri@jurta.org>
11749
11750 * info.el (Info-following-node-name-re): Add newline to the list
11751 of allowed characters for leading space. (Bug#9824)
11752
a3839de2
SM
117532011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11754
acc825c5
SM
11755 * progmodes/octave-inf.el (inferior-octave-mode-map):
11756 Fix C-c C-h binding.
a3839de2
SM
11757 * progmodes/octave-mod.el (octave-help): Remove.
11758
09388e76
MA
117592011-10-23 Michael Albinus <michael.albinus@gmx.de>
11760
11761 Sync with Tramp 2.2.3.
11762
11763 * net/tramp-cache.el (top): Pacify byte-compiler using
11764 `init-file-user' and `site-run-file'.
11765
11766 * net/trampver.el: Update release number.
11767
86c60681
CY
117682011-10-23 Chong Yidong <cyd@gnu.org>
11769
11770 * files.el (toggle-read-only): Remove obsolete comment about
11771 version control.
11772
11773 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11774 for toggle-read-only. Note that this hasn't called vc-next-action
11775 since 2008-05-02, though it wasn't documented at the time.
11776
a3839de2
SM
11777 * vc/ediff-init.el (ediff-toggle-read-only-function):
11778 Use toggle-read-only.
86c60681 11779
cd5495ff
AM
117802011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11781
11782 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11783 of c-parse-state.
11784
00b77525 11785 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11786 correct faulty logical expression.
cd5495ff
AM
11787 (c-parse-state-state, c-record-parse-state-state):
11788 (c-replay-parse-state-state): New defvar/defuns.
11789 (c-debug-parse-state): Use new functions.
11790
42ee24ed
MR
117912011-10-22 Martin Rudalics <rudalics@gmx.at>
11792
11793 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11794 last fix. Use window-in-direction correctly.
42ee24ed 11795
a7dee7e7
CY
117962011-10-21 Chong Yidong <cyd@gnu.org>
11797
11798 * progmodes/idlwave.el (idlwave-mode):
11799 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11800 require-final-newline; that's done in prog-mode.
11801 Suggested by Stefan Monnier.
a7dee7e7 11802
e07b9a6d
MR
118032011-10-21 Martin Rudalics <rudalics@gmx.at>
11804
11805 * mouse.el (mouse-drag-window-above)
11806 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11807 (mouse-drag-mode-line-1, mouse-drag-header-line)
11808 (mouse-drag-vertical-line-rightward-window): Remove.
11809 (mouse-drag-line): New function.
11810 (mouse-drag-mode-line, mouse-drag-header-line)
11811 (mouse-drag-vertical-line): Call mouse-drag-line.
11812 * window.el (window-at-side-p, windows-at-side): New functions.
11813
7e1361d9
UM
118142011-10-21 Ulrich Mueller <ulm@gentoo.org>
11815
11816 * tar-mode.el (tar-grind-file-mode):
11817 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11818
30fcaf3a
CY
118192011-10-21 Chong Yidong <cyd@gnu.org>
11820
11821 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11822 * progmodes/vera-mode.el (vera-mode):
11823 Use mode-require-final-newline.
30fcaf3a 11824
516eddb0
GM
118252011-10-20 Glenn Morris <rgm@gnu.org>
11826
db22a3c2 11827 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11828
10d5f513
CS
118292011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11830
11831 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11832
ac6c8639
CY
118332011-10-20 Chong Yidong <cyd@gnu.org>
11834
11835 * emulation/cua-base.el (cua-mode):
11836 * mail/footnote.el (footnote-mode):
11837 * mail/mailabbrev.el (mail-abbrevs-mode):
11838 * net/xesam.el (xesam-minor-mode):
11839 * progmodes/bug-reference.el (bug-reference-mode):
11840 * progmodes/cap-words.el (capitalized-words-mode):
11841 * progmodes/compile.el (compilation-minor-mode)
11842 (compilation-shell-minor-mode):
11843 * progmodes/gud.el (gud-tooltip-mode):
11844 * progmodes/hideif.el (hide-ifdef-mode):
11845 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11846 * progmodes/subword.el (subword-mode):
11847 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11848 * progmodes/which-func.el (which-function-mode):
11849 * term/tvi970.el (tvi970-set-keypad-mode):
11850 * term/vt100.el (vt100-wide-mode):
11851 * textmodes/flyspell.el (flyspell-mode):
11852 * textmodes/ispell.el (ispell-minor-mode):
11853 * textmodes/nroff-mode.el (nroff-electric-mode):
11854 * textmodes/paragraphs.el (use-hard-newlines):
11855 * textmodes/refill.el (refill-mode):
11856 * textmodes/reftex.el (reftex-mode):
11857 * textmodes/rst.el (rst-minor-mode):
11858 * textmodes/sgml-mode.el (html-autoview-mode)
11859 (sgml-electric-tag-pair-mode):
11860 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11861 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11862 * emulation/crisp.el (crisp-mode):
11863 * emacs-lisp/eldoc.el (eldoc-mode):
11864 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11865 minor mode behavior.
11866
aa42ab43
JL
118672011-10-19 Juri Linkov <juri@jurta.org>
11868
11869 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11870 the list of hard-coded chars with escape-glyph face.
11871
89400f1d
SM
118722011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11875
305c07f6
MA
118762011-10-19 Michael Albinus <michael.albinus@gmx.de>
11877
11878 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11879 running process.
11880
13754b54
GM
118812011-10-19 Glenn Morris <rgm@gnu.org>
11882
11883 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11884 Ignore ignored files. (Bug#9726)
11885
06e21633
CY
118862011-10-19 Chong Yidong <cyd@gnu.org>
11887
11888 Doc fix for minor modes, stating that an omitted argument enables
11889 the mode unconditionally when called from Lisp.
11890
11891 * abbrev.el (abbrev-mode):
11892 * allout.el (allout-mode):
11893 * autoinsert.el (auto-insert-mode):
11894 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11895 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11896 (global-auto-revert-mode):
11897 * battery.el (display-battery-mode):
11898 * composite.el (global-auto-composition-mode)
11899 (auto-composition-mode):
11900 * delsel.el (delete-selection-mode):
11901 * desktop.el (desktop-save-mode):
11902 * dired-x.el (dired-omit-mode):
11903 * dirtrack.el (dirtrack-mode):
11904 * doc-view.el (doc-view-minor-mode):
11905 * double.el (double-mode):
11906 * electric.el (electric-indent-mode, electric-pair-mode):
11907 * emacs-lock.el (emacs-lock-mode):
11908 * epa-hook.el (auto-encryption-mode):
11909 * follow.el (follow-mode):
11910 * font-core.el (font-lock-mode):
11911 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11912 * help.el (temp-buffer-resize-mode):
11913 * hilit-chg.el (highlight-changes-mode)
11914 (highlight-changes-visible-mode):
11915 * hi-lock.el (hi-lock-mode):
11916 * hl-line.el (hl-line-mode, global-hl-line-mode):
11917 * icomplete.el (icomplete-mode):
11918 * ido.el (ido-everywhere):
11919 * image-file.el (auto-image-file-mode):
11920 * image-mode.el (image-minor-mode):
11921 * iswitchb.el (iswitchb-mode):
11922 * jka-cmpr-hook.el (auto-compression-mode):
11923 * linum.el (linum-mode):
11924 * longlines.el (longlines-mode):
11925 * master.el (master-mode):
11926 * mb-depth.el (minibuffer-depth-indicate-mode):
11927 * menu-bar.el (menu-bar-mode):
11928 * minibuf-eldef.el (minibuffer-electric-default-mode):
11929 * mouse-sel.el (mouse-sel-mode):
11930 * msb.el (msb-mode):
11931 * mwheel.el (mouse-wheel-mode):
11932 * outline.el (outline-minor-mode):
11933 * paren.el (show-paren-mode):
11934 * recentf.el (recentf-mode):
11935 * reveal.el (reveal-mode, global-reveal-mode):
11936 * rfn-eshadow.el (file-name-shadow-mode):
11937 * ruler-mode.el (ruler-mode):
11938 * savehist.el (savehist-mode):
11939 * scroll-all.el (scroll-all-mode):
11940 * scroll-bar.el (scroll-bar-mode):
11941 * server.el (server-mode):
11942 * shell.el (shell-dirtrack-mode):
11943 * simple.el (auto-fill-mode, transient-mark-mode)
11944 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11945 (line-number-mode, column-number-mode, size-indication-mode)
11946 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11947 * strokes.el (strokes-mode):
11948 * time.el (display-time-mode):
11949 * t-mouse.el (gpm-mouse-mode):
11950 * tool-bar.el (tool-bar-mode):
11951 * tooltip.el (tooltip-mode):
11952 * type-break.el (type-break-mode-line-message-mode)
11953 (type-break-query-mode):
11954 * view.el (view-mode):
11955 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11956 (global-whitespace-mode, global-whitespace-newline-mode):
11957 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11958
a3839de2
SM
11959 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11960 Fix autogenerated docstring.
06e21633 11961
5214e501
JL
119622011-10-19 Juri Linkov <juri@jurta.org>
11963
11964 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11965 by checking environment variables "DESKTOP_SESSION" and
11966 "XDG_CURRENT_DESKTOP". (Bug#9779)
11967
195f8db9
JL
119682011-10-19 Juri Linkov <juri@jurta.org>
11969
11970 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11971 (browse-url-chromium-program, browse-url-chromium-arguments):
11972 New defcustoms.
11973 (browse-url-default-browser): Check for `browse-url-chromium' and
11974 call `browse-url-chromium-program'.
11975 (browse-url-chromium): New command. (Bug#9779)
11976
343a34ff
JB
119772011-10-18 Juanma Barranquero <lekktu@gmail.com>
11978
11979 * facemenu.el (list-colors-duplicates): On Windows, detect more
11980 duplicates by assuming that only colors matching "^System" are
11981 special "system colors". (Bug#9722)
11982
6978a151
SM
119832011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11984
11985 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11986 to distinguish the author from the committer.
11987
6a80b297
MA
119882011-10-18 Michael Albinus <michael.albinus@gmx.de>
11989
11990 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11991
b31a5677
JK
119922011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11993
11994 * international/mule.el (sgml-html-meta-auto-coding-function):
11995 Add support for detecting encoding in HTML5 specified only as
11996 <meta charset="UTF-8">. Implementation just makes http-equiv and
11997 content-type parts from HTML4 encoding string optional. (Bug#9716)
11998
80c6d77f
GM
119992011-10-18 Glenn Morris <rgm@gnu.org>
12000
12001 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12002
08b0fee8
CY
120032011-10-18 Chong Yidong <cyd@gnu.org>
12004
12005 * faces.el (cursor): Doc fix.
12006
67e729a5
CY
120072011-10-17 Chong Yidong <cyd@gnu.org>
12008
12009 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12010
343a34ff 120112011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12012
12013 * dirtrack.el (dirtrack): Support shell buffers with path
12014 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12015
0bc06380
TZ
120162011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12017
12018 * json.el: Bump version to 1.3 and note change in History.
12019 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12020
8b79f3e0
SM
120212011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12022
5a7c536b
SM
12023 * comint.el (comint-insert-input, comint-send-input)
12024 (comint-get-old-input-default, comint-backward-matching-input)
12025 (comint-next-prompt): Use nil instead of `input' for field property of
12026 past user input (bug#114).
12027
96a8a0df
SM
12028 * minibuffer.el (completion--replace): Inherit surrounding properties
12029 (bug#114).
12030 (minibuffer-complete-and-exit): Use it.
12031
8b79f3e0
SM
12032 * comint.el (comint--table-subvert): Quote the all-completions output
12033 (bug#9160).
12034
b8f7ff0d
MR
120352011-10-17 Martin Rudalics <rudalics@gmx.at>
12036
8b79f3e0 12037 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12038
b8f7ff0d 12039 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12040 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12041 entries and separate them from frame entries.
12042
c235b555
GM
120432011-10-15 Glenn Morris <rgm@gnu.org>
12044
12045 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12046 Doc fixes.
12047
6bbfa6e1
CY
120482011-10-15 Chong Yidong <cyd@stupidchicken.com>
12049
8b79f3e0
SM
12050 * net/network-stream.el (network-stream-open-starttls):
12051 Improve detection of failure due to lack of TLS support.
ec5c990d 12052
6bbfa6e1
CY
12053 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12054 putting the input text in front and in bold.
12055
98488977
SM
120562011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12057
3d1337be
SM
12058 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12059
ee0b45e4
SM
12060 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12061 empty buffer.
12062
98488977
SM
12063 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12064 unread-command-events rather than pushing yet-another event.
12065
186f4720
EZ
120662011-10-14 Eli Zaretskii <eliz@gnu.org>
12067
12068 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12069 the explanation of the possible choices. Make the options passed
12070 to completing-read shorter.
12071
8b7a997c
AM
120722011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12073
12074 * textmodes/flyspell.el (flyspell-large-region): Make sure
12075 extended character mode is used if defined (Bug#1339).
12076
12587bbb
EZ
120772011-10-13 Eli Zaretskii <eliz@gnu.org>
12078
12079 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12080 character info for LRE, LRO, RLE, and RLO characters by appending
12081 an invisible PDF.
12587bbb 12082
bad41229
SM
120832011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12084
12085 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12086 even in case of error; add debug spec; simplify data flow.
12087 (with-timeout-handler): Remove.
12088
28dbc92f
MA
120892011-10-12 Michael Albinus <michael.albinus@gmx.de>
12090
12091 Fix Bug#6019, Bug#9315.
12092
12093 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12094 complete `buffer-file-name', the local file name part could look
12095 remotely (for example on VMS).
12096
12097 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12098 `tramp-run-real-handler'.
12099 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12100 already quoted by '"'.
12101
12102 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12103 Let `file-name-handler-alist' be nil, the local file name part
12104 could look remotely (for example on VMS).
12105
e1b0b23a
SM
121062011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12107
12108 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12109 from here...
12110 (flyspell-post-command-hook): ...to here.
12111
a120bde9
SM
121122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12113
12114 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12115 if not needed.
12116 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12117 using completion. Protect against "slow" callers.
12118 Remove the "message hack".
12119
7ce7717b
JL
121202011-10-11 Juri Linkov <juri@jurta.org>
12121
12122 * isearch.el (isearch-lazy-highlight-word): New variable.
12123 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12124 Use it. (Bug#9727)
12125
c02ee9d6
GM
121262011-10-11 Glenn Morris <rgm@gnu.org>
12127
12128 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12129 like f90-previous-statement does.
12130
93e616fd 121312011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12132
1f190e73 12133 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12134 only in interactive use, to avoid error.
12135
af7b6078
SM
121362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12137
12138 * minibuffer.el (completion-file-name-table): Fix last change,
12139 i.e. ignore normal errors but not the other ones.
12140
0563dae9
MR
121412011-10-10 Martin Rudalics <rudalics@gmx.at>
12142
12143 * window.el (special-display-buffer-names)
12144 (special-display-regexps): Remove some remnants of earlier
12145 changes from doc-strings.
366ca7f3
MR
12146 (quit-windows-on): New function.
12147
12148 * vc/vc.el (vc-revert, vc-rollback):
12149 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12150 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12151 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12152
49677495
MR
121532011-10-09 Martin Rudalics <rudalics@gmx.at>
12154
12155 * window.el (frame-auto-hide-function): Add version tag.
12156 (Bug#9699)
12157
56f2d1e1
MA
121582011-10-09 Michael Albinus <michael.albinus@gmx.de>
12159
12160 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12161 condition.
12162
112a6592
LL
121632011-10-09 Leo Liu <sdl.web@gmail.com>
12164
12165 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12166 (Bug#9701)
12167
0812589b
GM
121682011-10-08 Glenn Morris <rgm@gnu.org>
12169
12170 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12171 before the first code statement zero indent. (Bug#9690)
12172
b2b0776e
CY
121732011-10-08 Chong Yidong <cyd@stupidchicken.com>
12174
12175 * simple.el (count-words-region): Always count in the region.
12176 Report the number of lines and characters too.
12177 (count-words): New command, which counts in the buffer if the
12178 region is inactive, as count-words-region used to.
12179 (count-words--message): New function. Handle plurals.
12180 (count-lines-region): Make it an alias for count-words-region.
12181
12182 * bindings.el (esc-map): Replace count-lines-region with
12183 count-words-region.
12184
c557cd6b
MR
121852011-10-08 Martin Rudalics <rudalics@gmx.at>
12186
12187 * window.el (window--delete): Delete dedicated frame
12188 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12189 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12190
61a57ef4 121912011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12192
3a7d293b 12193 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12194
c3833279
CY
121952011-10-07 Chong Yidong <cyd@stupidchicken.com>
12196
12197 * bindings.el ([M-left],[M-right]): Bind to left-word and
12198 right-word respectively.
12199
21ce8245
GM
122002011-10-07 Glenn Morris <rgm@gnu.org>
12201
12202 * cus-start.el (debug-on-quit): Fix custom type.
12203
6d823bb2
LMI
122042011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12205
0181e193
LMI
12206 * subr.el (define-key-after): Clarify that the function is not
12207 useful for non-menu keymaps.
12208
6d823bb2
LMI
12209 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12210
8e3459ce 122112011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12212
21ce8245 12213 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12214 in current minibuffer (Fix bug with recursive minibuffers).
12215
a1c2d21e
CY
122162011-10-06 Chong Yidong <cyd@stupidchicken.com>
12217
12218 * progmodes/gdb-mi.el (gdb): Doc fix.
12219
5a4cf282
MR
122202011-10-05 Martin Rudalics <rudalics@gmx.at>
12221
12222 * window.el (frame-auto-hide-function): New option replacing
12223 frame-auto-delete. Suggested by Stefan Monnier.
12224 (window--delete): Call frame-auto-hide-function instead of
12225 investigating frame-auto-delete.
c96111ea
MR
12226 (window-point-1, set-window-point-1): New functions.
12227 (window-in-direction, record-window-buffer, window-state-get-1)
12228 (display-buffer-record-window): Use window-point-1 instead of
12229 window-point.
12230 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12231
9854542e
SM
122322011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12233
12234 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12235
8943cfb0
GM
122362011-10-05 Glenn Morris <rgm@gnu.org>
12237
12238 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12239 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12240
647ab967
LL
122412011-10-05 Leo Liu <sdl.web@gmail.com>
12242
12243 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12244 works with buffer object.
12245
3ddfbced
SM
122462011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12247
12248 * mpc.el (mpc-tool-bar-map): Add labels.
12249
bdfa5dd2
GM
122502011-10-04 Glenn Morris <rgm@gnu.org>
12251
12252 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12253
0e2070b5
MR
122542011-10-04 Martin Rudalics <rudalics@gmx.at>
12255
12256 * window.el (window--delete): New function.
12257 (frame-auto-delete): Resuscitate option.
12258 (bury-buffer, replace-buffer-in-windows)
12259 (quit-window): Rewrite using window--delete.
12260 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12261 Pass display-buffer-mark-dedicated to window--display-buffer-2
12262 (Bug#9639).
12263
3dc61a09
SM
122642011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12265
915a9b64
SM
12266 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12267 returns a list (bug#9554). Add remote file name completion.
12268 * comint.el (comint--table-subvert): Curry and get quote&unquote
12269 functions as arguments.
12270 (comint--complete-file-name-data): Adjust call accordingly.
12271 * pcomplete.el (pcomplete--table-subvert): Remove.
12272 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12273
3dc61a09
SM
12274 * minibuffer.el (completion-table-case-fold): Use currying.
12275 (completion--styles-type, completion--cycling-threshold-type):
12276 New constants.
12277 (completion-styles, completion-category-overrides)
12278 (completion-cycle-threshold): Use them.
12279 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12280 completion-table-case-fold.
12281
8ea0a993
SB
122822011-10-03 Stephen Berman <stephen.berman@gmx.net>
12283
12284 * minibuffer.el (completion-category-overrides): Fix type of styles
12285 and add more user friendly tags (bug#9660).
12286
8c24b7f6
SM
122872011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12288
12289 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12290 (mule-input-method-string): New widget.
12291 (default-input-method, language-info-custom-alist): Use it.
12292
428fe61a
SM
122932011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12294
32c1fffd
SM
12295 * pcomplete.el: Require comint.
12296 (pcomplete--common-suffix): Remove.
12297 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12298 (pcomplete--table-subvert): Sync with comint--table-subvert.
12299 (pcomplete--entries): Use comint-completion-file-name-table.
12300 * comint.el (comint-unquote-filename): Simplify.
12301 (comint-completion-file-name-table): New function (bug#9616).
12302 (comint--complete-file-name-data): Use it.
12303
428fe61a
SM
12304 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12305 (pcmpl-gnu-tar-buffer): Remove.
12306 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12307 around. Make sure pcomplete-suffix-list is only changed temporarily.
12308 Don't look inside the tar's file if it's too large.
428fe61a 12309
04c52e2f
CY
123102011-10-01 Chong Yidong <cyd@stupidchicken.com>
12311
ce3cefcc
CY
12312 * cus-edit.el (custom-mode-map):
12313 * epa.el (epa-key-list-mode-map):
12314 * man.el (Man-mode-map):
12315 * startup.el (splash-screen-keymap):
12316 * simple.el (special-mode-map): Use scroll-up-command and
12317 scroll-down-command.
12318
12319 * progmodes/idlw-help.el (idlwave-help-mode-map):
12320 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12321 * net/newst-plainview.el (newsticker-mode-map):
12322 * emulation/ws-mode.el (wordstar-mode-map):
12323 * emulation/vi.el (vi-com-map):
12324 * calc/calc-graph.el (calc-graph-show-dumb):
12325 * term/sun.el (terminal-init-sun):
12326 * term/ns-win.el (global-map):
12327 * progmodes/grep.el (grep-mode-map):
12328 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12329 * mail/rmail.el (rmail-mode-map):
12330 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12331
04c52e2f
CY
12332 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12333 custom-safe-themes as special.
12334
79adf8c8
JD
123352011-10-01 Julien Danjou <julien@danjou.info>
12336
12337 * notifications.el (notifications-notify): Fix docstring.
12338
63bd50d3
PS
123392011-10-01 Per Starbäck <per@starback.se>
12340
12341 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12342
199e4c7e
MR
123432011-09-30 Martin Rudalics <rudalics@gmx.at>
12344
12345 * startup.el (command-line-1): Fix last fix by inserting
12346 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12347 (Bug#9605) and (Bug#9636)
199e4c7e 12348
fe5f08dd
EZ
123492011-09-29 Eli Zaretskii <eliz@gnu.org>
12350
12351 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12352 window is hscrolled, move by logical lines. (Bug#9607)
12353 (line-move-visual): Update the doc string to the above effect.
12354
b5516bbd
MR
123552011-09-29 Martin Rudalics <rudalics@gmx.at>
12356
ccee00c0
MR
12357 * window.el (display-buffer-record-window): When WINDOW is the
12358 selected window use `point' instead of `window-point'. (Bug#9626)
12359
b5516bbd
MR
12360 * startup.el (command-line-1): Use insert-before-markers when
12361 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12362
b5516bbd
MR
12363 * help.el (help-window): Remove variable.
12364
52aa0014
GM
123652011-09-29 Glenn Morris <rgm@gnu.org>
12366
12367 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12368
df9a7357
JB
123692011-09-29 Juanma Barranquero <lekktu@gmail.com>
12370
12371 * descr-text.el (describe-char-categories): Accept category
12372 descriptions more than one line long.
12373
a8406c20
SM
123742011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12375
88d9610c
SM
12376 * simple.el (delete-trailing-whitespace): Fix last change.
12377
a5daf810
SM
12378 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12379 Don't confuse "y => 3" as the beginning of a `y' operation.
12380
a8406c20
SM
12381 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12382 object has more than 4 slots (bug#9613).
12383
a239d4e9
JB
123842011-09-28 Juanma Barranquero <lekktu@gmail.com>
12385
12386 * subr.el (with-output-to-temp-buffer):
12387 * net/quickurl.el (quickurl, quickurl-browse-url):
12388 Fix typos in docstrings.
12389
693fbdb6
EZ
123902011-09-27 Eli Zaretskii <eliz@gnu.org>
12391
12392 * minibuffer.el (completion-styles)
12393 (completion-category-overrides): Cross reference each other in doc
12394 strings.
12395
8b457e28
GM
123962011-09-27 Glenn Morris <rgm@gnu.org>
12397
12398 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12399 to split-string. (Bug#9606)
12400
85a16208
LMI
124012011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12402
12403 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12404 (bug#9615).
12405
502f9ebd
CY
124062011-09-27 Chong Yidong <cyd@stupidchicken.com>
12407
12408 * emacs-lisp/package.el (list-packages): Fix echo area message.
12409
7690bdea
LL
124102011-09-27 Leo Liu <sdl.web@gmail.com>
12411
12412 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12413
e2ee6f30
MA
124142011-09-25 Michael Albinus <michael.albinus@gmx.de>
12415
12416 * net/dbus.el (dbus-unregister-object): Don't release services for
12417 registered signals. (Bug#9581)
12418
f3f98342
TZ
124192011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12420
12421 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12422 function that picks between cfengine 2 and 3 support
12423 automatically. Update docs accordingly.
12424
dd7aa8dd
KH
124252011-09-22 Kenichi Handa <handa@m17n.org>
12426
12427 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12428 ZERO.
12429 (indian-itrans-v5-table-for-tamil): New variable.
12430 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12431
3f2b07f8
KM
124322011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12433
12434 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12435 that's true if the current command involved collapsing of text.
12436 It's reset to false at the beginning of the next command.
12437 (allout-post-command-business): Move the cursor to the beginning
12438 of entry if the cursor is hidden and collapsing activity just
12439 happened.
12440
371d6a61
CY
124412011-09-24 Chong Yidong <cyd@stupidchicken.com>
12442
12443 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12444 tracking (Bug#9541).
12445
2ac2721a
UJ
124462011-09-24 Ulf Jasper <ulf.jasper@web.de>
12447
12448 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12449 (newsticker-show-news): Automatically load html rendering package
12450 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12451 because w3m-fill-column is let-bound" and the error "Symbol's value
12452 as variable is void: w3m-fill-column".
2ac2721a 12453
fac7ae53
MA
124542011-09-24 Michael Albinus <michael.albinus@gmx.de>
12455
12456 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12457 Release services only if they are defined. (Bug#9581)
12458
e08b633b
RS
124592011-09-23 Richard Stallman <rms@gnu.org>
12460
e488d29c
RS
12461 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12462 distinguish start of paragraph from start of its text.
12463
19c38752
RS
12464 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12465
e08b633b
RS
12466 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12467 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12468 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12469
0a39f27e
AS
124702011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12471
12472 * international/mule-diag.el (mule-diag): Insert a newline after
12473 each fontset description.
12474
db4e950d
SM
124752011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12476
12477 * simple.el (delete-trailing-whitespace):
12478 Document last change; simplify.
12479
eca3f3ea
PW
124802011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12481
d68e189a
PW
12482 * simple.el (delete-trailing-whitespace): Also delete
12483 extra newlines at the end of the buffer.
12484
eca3f3ea
PW
12485 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12486 (picture-newline): Use forward-line so as to ignore fields.
12487
01c157cc
SM
124882011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12489
12490 * subr.el (with-wrapper-hook): Fix edebug spec.
12491
022de23e
LMI
124922011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12493
12494 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12495 (bug#4538).
12496
91683089
MA
124972011-09-23 Michael Albinus <michael.albinus@gmx.de>
12498
eca3f3ea
PW
12499 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12500 Fix nasty bug using wrong cached values.
91683089 12501
5bdd6fa4
AM
125022011-09-23 Alan Mackenzie <acm@muc.de>
12503
12504 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12505
97adfb97
CY
125062011-09-23 Chong Yidong <cyd@stupidchicken.com>
12507
12508 * window.el (pop-to-buffer): Ensure right window is selected if we
12509 chose another frame.
12510
d4ef2b50
EZ
125112011-09-22 Eli Zaretskii <eliz@gnu.org>
12512
12513 * simple.el (what-cursor-position): Use get-char-property-change
12514 and next-single-char-property-change, to be able to show display
12515 properties that come from overlays as well as text properties.
12516
72258fe5
CY
125172011-09-22 Chong Yidong <cyd@stupidchicken.com>
12518
12519 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12520
12521 * cmuscheme.el (run-scheme, switch-to-scheme):
12522 * cus-edit.el (customize-group, custom-buffer-create)
12523 (customize-browse):
12524 * info.el (info):
12525 * shell.el (shell):
12526 * mail/sendmail.el (mail):
12527 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12528
8f098516
RS
125292011-09-22 Richard Stallman <rms@gnu.org>
12530
12531 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12532 move back only to line beg, don't move back over blank lines.
12533
e74f1bb6
MA
125342011-09-22 Michael Albinus <michael.albinus@gmx.de>
12535
12536 * files.el (copy-directory): Set directory attributes only in case
12537 they could be retrieved from the source directory. (Bug#9565)
12538
bfeef8b6
DK
125392011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12540
12541 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12542 (hs-find-block-beginning, hs-hide-level-recursive):
12543 Ignore strings as well as comments. (Bug#9502)
12544
7e423bb8
AS
125452011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12546
12547 * progmodes/sql.el (sql-comint-postgres):
12548 Convert port number to a string. (Bug#9566)
12549
b4d72fcf
MR
125502011-09-22 Martin Rudalics <rudalics@gmx.at>
12551
12552 * window.el (quit-window): Undedicate window when switching to
12553 previous buffer. Reported by Thierry Volpiatto
12554 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12555 (special-display-popup-frame): When popping up a new frame reset
12556 its previous buffers to nil. Simplify code.
b4d72fcf 12557
a7b88dc6
MA
125582011-09-21 Michael Albinus <michael.albinus@gmx.de>
12559
12560 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12561 and process filter, as done also in `shell-command'.
12562
cf4eacfd
MR
125632011-09-21 Martin Rudalics <rudalics@gmx.at>
12564
eca3f3ea 12565 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12566 Call set-window-start with NOFORCE argument t.
12567 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12568 (quit-window): Reword doc-string. Handle new format of
12569 quit-restore parameter. Don't delete window if it has a
12570 previous buffer we can show instead of the present one.
12571 (display-buffer-record-window): Rewrite using a new format for
12572 the quit-restore window parameter
12573 (special-display-popup-frame, display-buffer-same-window)
12574 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12575 (display-buffer-pop-up-window, display-buffer-use-some-window):
12576 Adapt symbol passed to display-buffer-record-window.
12577 * help.el (help-window-setup): Handle new format of quit-restore
12578 parameter.
12579
8d28cb95
SM
125802011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12581
94ab793f
SM
12582 * faces.el (face-list): Fix docstring (bug#9564).
12583
8d28cb95
SM
12584 * window.el (display-buffer--action-function-custom-type):
12585 Don't include internal functions in the Custom interface.
12586
3820edeb
JL
125872011-09-20 Juri Linkov <juri@jurta.org>
12588
12589 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12590 (Info-forward-node, Info-backward-node, Info-next-preorder)
12591 (Info-last-preorder): Use it. (Bug#9528)
12592
5147931d
JL
125932011-09-20 Juri Linkov <juri@jurta.org>
12594
12595 * info.el (Info-last-preorder): Visit last menu item only when
12596 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12597
cf499a1a
JD
125982011-09-20 Julien Danjou <julien@danjou.info>
12599
12600 * password-cache.el (password-cache-remove): Remove entries even if the
12601 value is nil, so that password with a nil value (negative caching) is
12602 possible to invalidate.
12603
f84e2fe2
LM
126042011-09-20 Lawrence Mitchell <wence@gmx.li>
12605
12606 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12607 all whitespace around breakpoint. (Bug#9553)
12608 (f90-find-breakpoint): Only break at whitespace inside a comment.
12609
78054a46
SM
126102011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12611
12612 * minibuffer.el (completion-file-name-table): Keep track of errors.
12613 (completion-table-with-predicate): Handle the case where pred1 is nil.
12614 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12615
345083b2
SM
126162011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12617
e24e27be
SM
12618 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12619 (debugger-return-value): Signal an error if the debugging context does
12620 not await any return value.
12621
345083b2
SM
12622 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12623 * image-mode.el (image-toggle-display-text)
12624 (image-toggle-display-image): Stay away from evil `intangible'.
12625
08d355e3
LL
126262011-09-19 Leo Liu <sdl.web@gmail.com>
12627
12628 * replace.el (occur-revert-arguments): Make it permanent-local.
12629 (occur-mode): Don't call font-lock-defontify.
12630
f01da43f
CY
126312011-09-19 Chong Yidong <cyd@stupidchicken.com>
12632
12633 * net/ldap.el (ldap-search-internal): Don't push empty search
12634 result (Bug#9508).
12635
b6072fa6
SM
126362011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12637
12638 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12639
443d6696
MA
126402011-09-19 Michael Albinus <michael.albinus@gmx.de>
12641
12642 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12643 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12644
7cc6e154
JL
126452011-09-18 Juri Linkov <juri@jurta.org>
12646
12647 * buff-menu.el (Buffer-menu-mode-map):
12648 * dired.el (dired-mode-map):
12649 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12650 (lisp-interaction-mode-map):
12651 * emacs-lisp/package.el (package-menu-mode-map):
12652 * epa.el (epa-key-list-mode-map):
12653 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12654 (menu-bar-options-menu):
12655 * outline.el (outline-mode-menu-bar-map):
12656 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12657 * vc/vc-dir.el (vc-dir-menu-map):
12658 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12659 Capitalize non-function content words in menu item strings.
12660
12661 * dired.el (dired-mode-map): Add menu item for
12662 `image-dired-dired-toggle-marked-thumbs'.
12663
80302a81
JL
126642011-09-18 Juri Linkov <juri@jurta.org>
12665
12666 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12667 to `isearch-case-fold-search' and restore its original value
12668 after the `isearch-mode' call.
12669
46c5cf66
JL
126702011-09-18 Juri Linkov <juri@jurta.org>
12671
12672 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12673 because `zgrep' returns 1 for successful matches (bug#9226).
12674
d18b513b
JL
126752011-09-18 Juri Linkov <juri@jurta.org>
12676
12677 * info.el (Info-extract-menu-node-name): Check the second match
12678 for empty string (second test-case of bug#9528).
12679 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12680 intermediate nodes to the history (first test-case of bug#9528).
12681
72753f87
JL
126822011-09-18 Juri Linkov <juri@jurta.org>
12683
12684 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12685 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12686
c9384295
JL
126872011-09-18 Juri Linkov <juri@jurta.org>
12688
1154d12e
JB
12689 * info.el (Info-file-supports-index-cookies):
12690 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12691 outputs one more line for long file names (bug#4142).
c9384295 12692
d473dce8
CY
126932011-09-18 Chong Yidong <cyd@stupidchicken.com>
12694
12695 * newcomment.el (comment-normalize-vars): If prompting for
12696 comment-start, set comment-start-skip too (Bug#8424).
12697
2176854d
JB
126982011-09-18 Johan Bockgård <bojohan@gnu.org>
12699
12700 * icomplete.el: Fix previous fix of Bug#5849.
12701 (icomplete-mode): Don't set completion-show-inline-help.
12702 (icomplete-minibuffer-setup): Set completion-show-inline-help
12703 locally during icompletion.
12704
3aace4e4
CY
127052011-09-18 Chong Yidong <cyd@stupidchicken.com>
12706
c940224f
CY
12707 * woman.el (woman2-process-escapes): Don't delete unrecognized
12708 escapes (Bug#7843).
12709
3aace4e4
CY
12710 * files.el (inhibit-first-line-modes-regexps): Add image files.
12711 (hack-local-variables-prop-line): Return nil for malformed
12712 prop-lines (Bug#9044).
12713
710dec63
MA
127142011-09-18 Michael Albinus <michael.albinus@gmx.de>
12715
12716 * net/tramp.el (top): Don't require 'shell.
12717 (tramp-methods): Fix docstring.
12718 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12719 Return complete remote file name. Handle "smb" case.
12720 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12721 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12722
12723 * net/tramp-compat.el (top): Require 'shell.
12724
12725 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12726 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12727 `tramp-current-host'.
12728 (tramp-get-remote-tmpdir): Remove.
12729
12730 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12731 `tramp-tmpdir' entries.
12732 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12733 (tramp-smb-handle-file-attributes): Ignore errors.
12734 (tramp-smb-wait-for-output): Check also for process end.
12735
5d5ac8ec
LMI
127362011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12737
12738 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12739 when sending QUIT (bug#9312).
12740
8c0f49f0
CY
127412011-09-17 Chong Yidong <cyd@stupidchicken.com>
12742
12743 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12744 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12745 occur-mode-display-occurrence.
12746 (occur-edit-mode): Add usage message.
12747 (occur-cease-edit): New command.
12748 (occur-after-change-function): Use text properties to find the
12749 position of the prefix text.
12750 (occur-engine): Set stickiness of prefix text properties.
12751
8f1383f7
GM
127522011-09-17 Glenn Morris <rgm@gnu.org>
12753
12754 * progmodes/etags.el (complete-tag):
12755 Fix call to completion-in-region. (Bug#9526)
12756
744ba0e3
JL
127572011-09-17 Juri Linkov <juri@jurta.org>
12758
12759 * textmodes/ispell.el (ispell-word): Add to the error message
12760 the word, ispell program name and current dictionary (bug#9121).
12761 (ispell-tex-arg-end): Capitalize "error" in the error message.
12762
d9bbf400
AS
127632011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12764
12765 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12766 check. (Bug#4251)
12767
8da11505
JL
127682011-09-17 Juri Linkov <juri@jurta.org>
12769
12770 * window.el (window-safe-min-height, window-safe-min-width):
12771 Fix typos (followup to bug#9522).
12772
a91adc7e
SJ
127732011-09-17 Sven Joachim <svenjoac@gmx.de>
12774
12775 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12776
064f328a
EZ
127772011-09-16 Eli Zaretskii <eliz@gnu.org>
12778
12779 * simple.el (line-move): If goal-column is set, move by logical
12780 lines, not by display lines. (Bug#971)
12781 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12782 to reflect the above change.
12783
e69df516
SM
127842011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * image.el (imagemagick-register-types): Use regexp-opt.
12787
cbb0f9ab
CY
127882011-09-15 Chong Yidong <cyd@stupidchicken.com>
12789
12790 * window.el (display-buffer-base-action): Rename from
12791 display-buffer-default-action. Make default value empty.
12792 (display-buffer-overriding-action): Convert to defvar.
12793 (display-buffer-fallback-action): New var.
12794
25322144
CY
127952011-09-15 Chong Yidong <cyd@stupidchicken.com>
12796
12797 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12798 declaration.
12799 (package--add-to-archive-contents): If there is a duplicate entry
12800 with an older version, remove it.
12801 (package-menu-mark-delete, package-menu-mark-install)
12802 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12803 (package-menu-mark-obsolete-for-deletion):
12804 Use package-menu-get-status instead of a regexp search.
25322144
CY
12805 (package-menu-get-status): Use tabulated-list-entry.
12806 (package-menu-mark-upgrades): New command.
d770725a 12807 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12808 (package-menu-execute): Do installation before deletion.
12809 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12810 instead of checking major-mode.
12811 (package-menu--find-upgrades): New function.
12812
7520339c
LMI
128132011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12814
12815 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12816 passwords in the log buffer.
65a046c4
LMI
12817 (smtpmail-process-filter): Update the process marker so that the
12818 "broken by peer" status message is inserted in the right place.
7520339c 12819
d3c30954
SM
128202011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12821
3fe48822
SM
12822 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12823 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12824 bibtex-completion-at-point-function.
12825 (bibtex-completion-at-point-function): Use them.
12826
1b8b3954
SM
12827 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12828
d3c30954
SM
12829 * mpc.el (mpc-constraints-tag-lookup): New function.
12830 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12831 also to browser "album|playlist".
12832
72779976
JL
128332011-09-14 Juri Linkov <juri@jurta.org>
12834
12835 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12836 (isearch-edit-string): Use length of `isearch-string' when
12837 `isearch-fail-pos' returns nil.
12838 (isearch-message): Remove duplicate code and call
12839 `isearch-fail-pos' with arg `t'.
12840
a0bf2bcd
CY
128412011-09-14 Chong Yidong <cyd@stupidchicken.com>
12842
17bb0a2d
CY
12843 * replace.el (occur-mode-goto-occurrence): Don't force using other
12844 window (Bug#9499).
12845
a0bf2bcd
CY
12846 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12847
f678e0b6
MR
128482011-09-14 Martin Rudalics <rudalics@gmx.at>
12849
12850 * window.el (display-buffer-window): Remove.
12851 (display-buffer-record-window): Use help-setup window parameter
12852 instead of variable display-buffer-window.
12853 (display-buffer-function, special-display-buffer-names)
12854 (special-display-function): Mention help-setup parameter instead
12855 of display-buffer-window in doc-string.
d3c30954
SM
12856 * help.el (help-window-setup): New argument help-window.
12857 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12858 Reword some messages.
12859 (with-help-window): Pass window used for displaying the buffer
12860 to help-window-setup. Don't set display-buffer-window.
12861
8e39b2e8
GM
128622011-09-13 Glenn Morris <rgm@gnu.org>
12863
12864 * emacs-lisp/debug.el (debugger-make-xrefs):
12865 Preserve point. (Bug#9462)
12866
85e9c04b
CY
128672011-09-13 Chong Yidong <cyd@stupidchicken.com>
12868
12869 * window.el (window-deletable-p): Use next-frame.
12870
1b36ed6a
MR
128712011-09-13 Martin Rudalics <rudalics@gmx.at>
12872
12873 * window.el (window-auto-delete): Remove.
12874 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12875 dedication and previous buffers.
1b36ed6a
MR
12876 (switch-to-prev-buffer): Don't delete window.
12877 (delete-windows-on): Delete a window's frame if and only if the
12878 window is dedicated.
12879 (replace-buffer-in-windows): Delete buffer's window or frame if
12880 and only if window is dedicated.
12881 (quit-window): Handle quit-restore as before last change.
4d61f28d 12882 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12883
ef8ef9fb
CY
128842011-09-13 Chong Yidong <cyd@stupidchicken.com>
12885
12886 * window.el (window-deletable-p): Never delete the last frame on a
12887 given terminal.
12888
b2cba41e
GM
128892011-09-13 Glenn Morris <rgm@gnu.org>
12890
12891 * help.el (describe-key-briefly): Copy previous standard-output change.
12892
51553db6 128932011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12894
12895 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12896
b7556719
GM
128972011-09-13 Glenn Morris <rgm@gnu.org>
12898
12899 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12900 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12901
64b51947
CY
129022011-09-12 Chong Yidong <cyd@stupidchicken.com>
12903
12904 * dired-aux.el (dired-mark-read-string): Don't return default
12905 value on empty input (Bug#9361).
12906 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12907 Omit initial minibuffer contents.
12908 (dired-do-chmod): Signal an error on empty input.
12909 (dired-mark-read-string): Don't return default on empty input.
12910
12911 * files.el (file-modes-symbolic-to-number): Doc fix.
12912
393a301e
SM
129132011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12914
12915 * international/mule-cmds.el (ucs-completions): Remove.
12916 (read-char-by-name): Use complete-with-action instead; add metadata.
12917
fa5660f9
CY
129182011-09-11 Chong Yidong <cyd@stupidchicken.com>
12919
12920 * window.el (display-buffer--action-function-custom-type)
12921 (display-buffer--action-custom-type): New vars.
12922 (display-buffer-alist, display-buffer-default-action)
12923 (display-buffer-overriding-action): Add defcustom types.
12924
4a592f66
CY
12925 * frame.el (delete-other-frames): Doc fix (Bug#276).
12926
73d56dbd
LMI
129272011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12928
12929 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12930
37ac18a3
CY
129312011-09-11 Chong Yidong <cyd@stupidchicken.com>
12932
12933 Change modes that used same-window-* vars to use switch-to-buffer.
12934
12935 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12936 Use switch-to-buffer.
12937
12938 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12939 (customize-browse, custom-buffer-create-other-window):
12940 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12941
12942 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12943 (Info-prev, Info-up, Info-speedbar-goto-node)
12944 (info-display-manual): Use switch-to-buffer.
12945 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12946
12947 * mail/sendmail.el (mail): Use switch-to-buffer.
12948 (mail-recover): Use switch-to-buffer-other-window.
12949
12950 * cmuscheme.el (run-scheme, switch-to-scheme):
12951 * ielm.el (ielm):
12952 * shell.el (shell):
12953 * net/rlogin.el (rlogin):
12954 * net/telnet.el (telnet, rsh):
12955 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12956
10195bd6
AS
129572011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12958
12959 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12960
b322f63a
LMI
129612011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12962
39d7fed6
LMI
12963 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12964 so don't mention it (bug#9301).
ba5a81f1 12965 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12966
ee0e9f11
LMI
12967 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12968 match `x', `w32' and `ns', like the manual says (bug#9029).
12969
0b1c89c1 12970 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12971 (process-kill-buffer-query-function): Mention the buffer name in
12972 the query.
0b1c89c1 12973
77549ea8
LMI
12974 * image-mode.el (image-next-line): The line parameter is mandatory
12975 (bug#9258).
12976
803ef892
LMI
12977 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12978 which can be useful (bug#9301).
12979
12980837
LMI
12980 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12981
91054f8f
LMI
12982 * subr.el (match-string): Mention that the current buffer should
12983 be the same as the search was done in (bug#9282).
12984
b322f63a
LMI
12985 * facemenu.el: Disable the remove-* commands if the mark isn't
12986 active (bug#9162).
12987
3199b96f
CY
129882011-09-10 Chong Yidong <cyd@stupidchicken.com>
12989
12990 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12991 of display-buffer.
12992 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12993
12994 * replace.el (occur-mode-goto-occurrence)
12995 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12996 and display-buffer.
12997
12998 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12999 display-buffer.
13000
13001 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13002 special-display and same-window variables.
13003 (mail-other-window): Use switch-to-buffer-other-window.
13004 (mail-other-frame): USe switch-to-buffer-other-frame.
13005
393a301e
SM
13006 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13007 Use display-buffer-other-frame.
3199b96f
CY
13008 (gdb-display-gdb-buffer): Use pop-to-buffer.
13009
13010 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13011
13012 * progmodes/python.el: Don't set same-window-buffer-names.
13013
13014 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13015
13016 * window.el (display-buffer-alist): Add *Python*.
13017
8319e0bf
CY
130182011-09-10 Chong Yidong <cyd@stupidchicken.com>
13019
13020 * window.el (display-buffer-alist): Add entry for buffers
13021 previously handled same-window-*.
13022 (display-buffer-alist, display-buffer-default-action)
13023 (display-buffer-overriding-action): Mark as risky.
13024 (display-buffer-alist): Document action function changes.
13025 (display-buffer--same-window-action)
13026 (display-buffer--other-frame-action): New variables.
13027 (switch-to-buffer, display-buffer-other-frame): Use them.
13028 (display-buffer): Rename reuse-frame entry to reusable-frames.
13029 (display-buffer-reuse-selected-window): Function deleted.
13030 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13031 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13032 (display-buffer-special): New function.
13033 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13034 display-buffer-reuse-or-pop-window. Split off special-display
13035 part into display-buffer-special.
13036 (display-buffer-use-some-window): Don't perform any special
13037 pop-up-frames handling.
13038 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13039 (display-buffer--maybe-same-window): Rename from
0d3ff375 13040 display-buffer-maybe-same-window.
8319e0bf 13041
919a69aa
CY
13042 * info.el: Don't set same-window-regexps.
13043 (info-setup): New function.
13044 (info-other-window, info): Call it.
13045
13046 * cus-edit.el: Don't set same-window-regexps.
13047 (customize-group): New argument.
13048 (customize-group-other-window): Use it.
13049 (customize-face, customize-face-other-window): Likewise.
13050 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13051
8319e0bf
CY
13052 * net/rlogin.el:
13053 * net/telnet.el:
13054 * progmodes/gud.el: Don't set same-window-regexps.
13055
13056 * cmuscheme.el:
13057 * ielm.el:
13058 * shell.el:
13059 * mail/sendmail.el:
13060 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13061
25173000
JL
130622011-09-10 Juri Linkov <juri@jurta.org>
13063
13064 * isearch.el (isearch-edit-string): Remove obsolete mention of
13065 `C-w' (`isearch-yank-word-or-char') from docstring.
13066 (isearch-query-replace): Fix typo in docstring (bug#9466).
13067
056e44ef
JL
130682011-09-10 Juri Linkov <juri@jurta.org>
13069
13070 * paren.el (show-paren-function): Don't show escaped parens.
13071 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13072
c3760c17
EZ
130732011-09-10 Eli Zaretskii <eliz@gnu.org>
13074
13075 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13076 (mm-default-file-encoding): Remove autoload forms, they are
13077 replaced with autoload cookies in mml.el and mm-encode.el.
13078 (mail-add-attachment): New command.
13079 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13080 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13081 the doc string.
13082 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13083
fece895e
RT
130842011-09-10 Reuben Thomas <rrt@sc3d.org>
13085
e69df516
SM
13086 * simple.el (count-words-region): Use buffer if there's no region
13087 (bug#9429).
fece895e 13088
5e68ce4a
JL
130892011-09-09 Juri Linkov <juri@jurta.org>
13090
13091 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13092 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13093 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13094
0a6b9622
AM
130952011-09-09 Alan Mackenzie <acm@muc.de>
13096
13097 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13098 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13099
14a29deb
EZ
131002011-09-09 Eli Zaretskii <eliz@gnu.org>
13101
13102 Fix for Savannah bug#9392.
13103 * simple.el (mail-encode-mml): New defvar.
13104
13105 * mail/rmail.el (mail-encode-mml): Add a defvar.
13106 (rmail-enable-mime-composing): Default to t.
13107 (rmail-forward): Use MIME method of forwarding only if both
13108 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13109 Set mail-encode-mml non-nil if the MIME method was used.
13110
13111 * mail/sendmail.el (mml-to-mime): Add autoload form.
13112 (mail-encode-mml): Add a defvar.
13113 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13114 to nil.
13115 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13116 message through mml-to-mime, and reset mail-encode-mml to nil.
13117
28c45130
GM
131182011-09-09 Glenn Morris <rgm@gnu.org>
13119
13120 * woman.el (woman-if-body): When processing an .el block,
13121 do not delete the next .el block as well. (Bug#9447)
69f4b618 13122 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13123
9b1c252e
MR
131242011-09-08 Martin Rudalics <rudalics@gmx.at>
13125
13126 * window.el (window-deletable-p): Make sure window is live before
13127 invoking window-prev-buffers.
13128
567457e3
LL
131292011-09-08 Leo Liu <sdl.web@gmail.com>
13130
13131 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13132
97f05794
JL
131332011-09-08 Juri Linkov <juri@jurta.org>
13134
13135 * progmodes/compile.el (compilation-environment): Make it
13136 a defcustom (bug#8340).
13137
8b0874b5
MR
131382011-09-08 Martin Rudalics <rudalics@gmx.at>
13139
13140 * window.el (frame-auto-delete): Rename to window-auto-delete.
13141 Make it control auto-deletion of windows and/or frames.
13142 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13143 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13144 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13145 Rewrite handling of case when window/frame can be deleted.
13146 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13147 argument t. (Bug#9456)
8b0874b5 13148
4feb6e73
CY
131492011-09-07 Chong Yidong <cyd@stupidchicken.com>
13150
13151 * help-mode.el (help-mode): Restore autoload.
13152
91ab9c13
JL
131532011-09-07 Juri Linkov <juri@jurta.org>
13154
13155 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13156 `compilation-environment'. Set buffer-local
13157 `compilation-environment' to `thisenv' later after (funcall mode).
13158 (Bug#8340)
13159
13160 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13161 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13162 instead of replacing its value. (Bug#8340)
13163
0527e251
JL
131642011-09-07 Juri Linkov <juri@jurta.org>
13165
13166 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13167 based on text properties put by `grep-filter' instead of matching
13168 escape sequences.
13169 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13170 to the value of `grep-error-screen-columns' (bug#9438).
13171
249f792c
JL
131722011-09-07 Juri Linkov <juri@jurta.org>
13173
13174 * simple.el (next-error-highlight, next-error-highlight-no-select):
13175 Doc fix (bug#9432).
13176
ff7271b9
OT
131772011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13178
13179 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13180 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13181
183fc730
LL
131822011-09-07 Leo Liu <sdl.web@gmail.com>
13183
13184 * net/rcirc.el (rcirc-mode): Conditionally initialize
13185 rcirc-input-ring.
13186
77694924
SM
131872011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13188
13189 * emacs-lisp/find-func.el (find-function-C-source): Only set
13190 find-function-C-source-directory after checking that we found a source
13191 file there (bug#9440).
13192
d809b8eb
AM
131932011-09-06 Alan Mackenzie <acm@muc.de>
13194
13195 * isearch.el (isearch-other-meta-char): Wherever a key list is
13196 unread, "unread" the prefix arg, too. This fixes bug #8901.
13197
453de99f
OG
131982011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13199
13200 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13201
90439906
JL
132022011-09-05 Juri Linkov <juri@jurta.org>
13203
13204 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13205
f62bd846
JL
132062011-09-05 Juri Linkov <juri@jurta.org>
13207
13208 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13209 keeping point where processing of grep matches begins, and
13210 continue to delete remaining escape sequences from the same point.
13211 (grep-filter): Make leading zero optional in "0?1;31m" because
13212 git-grep emits "\033[1;31m" escape sequences unlike expected
13213 "\033[01;31m" as GNU Grep does (bug#9408).
13214 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13215
045820ec
JL
132162011-09-05 Juri Linkov <juri@jurta.org>
13217
13218 * subr.el (y-or-n-p): Capitalize "yes".
13219
f5e29b9b
MA
132202011-09-04 Michael Albinus <michael.albinus@gmx.de>
13221
13222 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13223 `tramp-cache-unload-hook' where appropriate.
13224 (tramp-methods): Rename `tramp-remote-sh' to
13225 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13226 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13227
13228 * net/tramp-sh.el (top): Don't require 'shell.
13229 (tramp-methods): Add `tramp-remote-shell' and
13230 `tramp-remote-shell-args' entries.
13231 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13232 (tramp-sh-handle-shell-command): Remove.
13233 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13234 Use `tramp-remote-shell'.
13235
2784c434
CY
132362011-09-03 Chong Yidong <cyd@stupidchicken.com>
13237
393a301e 13238 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13239 (sendmail-query-once): Save directly to send-mail-function.
13240 Update message-send-mail-function too.
13241
13242 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13243
464cdf56
CS
132442011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13245
13246 * progmodes/python.el (python-mode-map): Use correct function to
13247 start python interpreter from menu-bar (as reported by Geert
13248 Kloosterman).
13249 (inferior-python-mode-map): Fix typo.
393a301e 13250 (python-shell-map): Remove.
464cdf56 13251
d37e5c87
DD
132522011-09-03 Deniz Dogan <deniz@dogan.se>
13253
13254 * net/rcirc.el (rcirc-print): Simplify code for
13255 rcirc-scroll-show-maximum-output. There is no need to walk
13256 through all windows to find the right one.
13257
f3ada0ee
CS
132582011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13259
13260 * help.el (help-return-method): Doc fix.
13261
1f3c99ca
MR
132622011-09-03 Martin Rudalics <rudalics@gmx.at>
13263
13264 * window.el (window-deletable-p): Don't return a non-nil value
13265 when there's a buffer that was shown in the window before.
13266 (Bug#9419)
393a301e
SM
13267 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13268 Set window's previous buffers to nil.
1f3c99ca 13269
a3cf097f
EZ
132702011-09-03 Eli Zaretskii <eliz@gnu.org>
13271
13272 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13273 newline before and after the tag line, so it doesn't interfere
13274 with determining the paragraph direction of bidirectional text.
13275
3d03de90
LL
132762011-09-03 Leo Liu <sdl.web@gmail.com>
13277
13278 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13279
c3313451
CY
132802011-09-02 Chong Yidong <cyd@stupidchicken.com>
13281
393a301e 13282 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13283 (pop-to-buffer): Change interactive spec. Pass second argument
13284 directly to display-buffer.
13285 (display-buffer): Fix interactive spec. Use functionp to
13286 distinguish between a function and a list of functions.
13287
13288 * abbrev.el (edit-abbrevs):
13289 * arc-mode.el (archive-extract):
13290 * autoinsert.el (auto-insert):
13291 * bookmark.el (bookmark-bmenu-list):
13292 * files.el (find-file):
13293 * view.el (view-buffer):
13294 * progmodes/compile.el (compilation-goto-locus):
13295 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13296
89894cd8
CY
132972011-09-02 Chong Yidong <cyd@stupidchicken.com>
13298
13299 * window.el (display-buffer-alist): Doc fix.
13300 (display-buffer): Add docstring. Don't treat
13301 display-buffer-default specially.
13302 (display-buffer-reuse-selected-window)
13303 (display-buffer-same-window, display-buffer-maybe-same-window)
13304 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13305 (display-buffer-pop-up-window)
13306 (display-buffer-reuse-or-pop-window)
13307 (display-buffer-use-some-window): New functions.
13308 (display-buffer-default-action): Use them.
393a301e 13309 (display-buffer-default): Delete.
89894cd8
CY
13310 (pop-to-buffer-1): Fix choice of actions.
13311
ae0bc9fb
SM
133122011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13313
13314 * minibuffer.el (completion--insert-strings): Don't get confused by
13315 completion entries that end with an LF char.
13316
e9d90883
EZ
133172011-09-01 Eli Zaretskii <eliz@gnu.org>
13318
13319 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13320
437014c8
CY
133212011-09-01 Chong Yidong <cyd@stupidchicken.com>
13322
13323 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13324 (display-buffer-same-window, display-buffer-other-window):
13325 New functions.
437014c8
CY
13326 (pop-to-buffer-1): New function. Use the above.
13327 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13328 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13329
13330 * view.el (view-buffer-other-window, view-buffer-other-frame):
13331 Just use pop-to-buffer.
13332
a5e063d5
TV
133332011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13334
13335 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13336
793d32bb
WH
133372011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13338
13339 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13340
d65e4c15
RS
133412011-08-31 Richard Stallman <rms@gnu.org>
13342
13343 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13344 of the separation of rmail-view-buffer from rmail-buffer.
13345 If you say no to "replace original", the decrypt is in the
13346 view buffer. If you say yes, the decrypt goes into the
13347 rmail buffer also.
13348
f818cd2a
MR
133492011-08-31 Martin Rudalics <rudalics@gmx.at>
13350
13351 * window.el (display-buffer-window): Rewrite doc-string.
13352 (display-buffer-record-window): New function.
13353 (display-buffer-macro-specifiers)
13354 (display-buffer-even-window-sizes, display-buffer-set-height)
13355 (display-buffer-set-width, display-buffer-in-window)
13356 (display-buffer-reuse-window, display-buffer-split-specifiers)
13357 (display-buffer-side-specifiers, display-buffer-split-window-1)
13358 (display-buffer-split-window, display-buffer-split-atom-window)
13359 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13360 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13361 (display-buffer-other-window-means-other-frame)
13362 (display-buffer-normalize-special)
13363 (display-buffer-normalize-default)
13364 (display-buffer-normalize-argument)
13365 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13366 (display-buffer-normalize-specifiers, display-buffer-frame)
13367 (display-buffer-same-window, display-buffer-same-frame)
13368 (display-buffer-other-window)
13369 (display-buffer-same-frame-other-window)
13370 (display-buffer-other-frame, pop-to-buffer-same-window)
13371 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13372 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13373 (switch-to-buffer-same-frame)
13374 (switch-to-buffer-other-window-same-frame)
13375 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13376 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13377 (display-buffer-alist-set): Remove.
13378 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13379 (special-display-regexps, special-display-function):
13380 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13381 parameter.
13382 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13383 (special-display-frame-alist, special-display-popup-frame)
13384 (same-window-buffer-names, same-window-regexps, same-window-p)
13385 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13386 (split-window-preferred-function, split-height-threshold)
13387 (split-width-threshold, window-splittable-p)
13388 (split-window-sensibly, window--try-to-split-window)
13389 (window--frame-usable-p, even-window-heights)
13390 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13391 (window--display-buffer-2, display-buffer-other-frame):
13392 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13393 (display-buffer-default, display-buffer-assq-regexp): New functions.
13394 (display-buffer-alist): Rewrite doc-string.
13395 (display-buffer-default-action)
13396 (display-buffer-overriding-action): New variables.
13397 (display-buffer, switch-to-buffer): Rewrite.
13398 (pop-to-buffer): Restore Emacs 23 behavior but use
13399 window-normalize-buffer-to-display.
13400 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13401 Restore Emacs 23 behavior but use
13402 window-normalize-buffer-to-switch-to.
13403 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13404 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13405 Rewrite using Emacs 23 options.
f818cd2a 13406
5bc3b51d
MA
134072011-08-31 Michael Albinus <michael.albinus@gmx.de>
13408
13409 * net/tramp.el (tramp-root-regexp): Remove.
13410 (tramp-completion-file-name-regexp-unified)
13411 (tramp-completion-file-name-regexp-separate)
13412 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13413 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13414 (tramp-drop-volume-letter): Simplify definition.
13415 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13416
b1a4f8e1
SM
134172011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13418
13419 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13420 (bug#9356).
13421
5664fa7b
RT
134222011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13423
b1a4f8e1 13424 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13425
9a45d6c3
JL
134262011-08-29 Juri Linkov <juri@jurta.org>
13427
13428 * isearch.el (isearch-done): Don't display message "Mark saved"
13429 when arg `edit' is non-nil to prevent its flicker in the echo area.
13430
fb87e0fb
CY
134312011-08-28 Chong Yidong <cyd@stupidchicken.com>
13432
13433 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13434 obsolete packages for deletion.
13435
09ac1c2a
CS
134362011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13437
13438 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13439 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13440 view-mode from help-mode.
13441 (help-xref-override-view-map): Remove.
13442 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13443 view-mode is not used anymore.
13444
7a1ff57f
CY
134452011-08-28 Chong Yidong <cyd@stupidchicken.com>
13446
13447 * server.el (server-port): Doc fix.
13448
b9696605
CY
13449 * cus-theme.el (custom-theme-choose-mode): Inherit from
13450 special-mode (Bug#9124).
13451 (custom-theme-choose-mode-map): Add special-mode to parent.
13452
ef8cdf8c
AM
134532011-08-28 Alan Mackenzie <acm@muc.de>
13454
13455 * progmodes/cc-fonts.el
13456 (c-make-font-lock-BO-decl-search-function): New function.
13457 (c-basic-matchers-after - "Fontify the clauses after various
13458 keywords"): Extract the three keyword lists for the 3 erroneous
13459 constructs from the list of four, and use the new function above
13460 in place of an old one.
13461
27de4e20
DD
134622011-08-28 Deniz Dogan <deniz@dogan.se>
13463
13464 * net/rcirc.el (rcirc-insert-prev-input)
13465 (rcirc-insert-next-input): Remove unused argument.
13466
356a3681
SM
134672011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13468
13469 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13470
3fc9b218
AM
134712011-08-27 Alan Mackenzie <acm@muc.de>
13472
13473 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13474 handle function pointer parameters properly.
13475
538a061c
MR
134762011-08-27 Martin Rudalics <rudalics@gmx.at>
13477
13478 * window.el (display-buffer-reuse-window): Fix case where
13479 selected window was reused with non-nil OTHER-WINDOW argument.
13480 (Bug#9381)
13481
35b1c40c
DD
134822011-08-27 Deniz Dogan <deniz@dogan.se>
13483
13484 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13485 oftc's NickServ messages.
13486
2f6a3e79
GM
134872011-08-27 Glenn Morris <rgm@gnu.org>
13488
13489 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13490
7254299e
CY
134912011-08-26 Chong Yidong <cyd@stupidchicken.com>
13492
13493 * emacs-lisp/package.el (package-install): Call package-initialize
13494 if called interactively.
13495
f8ccf167
LL
134962011-08-26 Leo Liu <sdl.web@gmail.com>
13497
13498 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13499
3e8cd5ce
JL
135002011-08-25 Juri Linkov <juri@jurta.org>
13501
13502 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13503 `search-whitespace-regexp' (bug#9364).
13504
93eb7113
JL
135052011-08-25 Juri Linkov <juri@jurta.org>
13506
13507 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13508 `regexp-search-ring' to their global values to protect from
13509 updating by `read-from-minibuffer' (bug#9185).
13510
f65d1611
JL
135112011-08-25 Juri Linkov <juri@jurta.org>
13512
13513 * textmodes/ispell.el (ispell-command-loop): Add newline
13514 at the end of the "Use option `i'..." line.
13515
f1cf7a31
JL
135162011-08-25 Juri Linkov <juri@jurta.org>
13517
13518 * battery.el (display-battery-mode): If `battery-status-function'
13519 or `battery-mode-line-format' is nil, display the message and set
13520 `display-battery-mode' to nil (bug#9363).
13521
0c95fcf7
EZ
135222011-08-25 Eli Zaretskii <eliz@gnu.org>
13523
13524 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13525 bidi-string-mark-left-to-right; they are unnecessary now.
13526
a2ebe600
DD
135272011-08-25 Deniz Dogan <deniz@dogan.se>
13528
13529 * net/quickurl.el: Documentation typo fixes.
13530
e4ed06f1
CY
135312011-08-25 Chong Yidong <cyd@stupidchicken.com>
13532
13533 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13534
e5f1c99e
GM
135352011-08-25 Glenn Morris <rgm@gnu.org>
13536
b2948976
GM
13537 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13538
e5f1c99e
GM
13539 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13540 (smtpmail-via-smtp): Handle nil response from smtp.
13541
f22f4808
JL
135422011-08-24 Juri Linkov <juri@jurta.org>
13543
13544 * proced.el (proced-marked): Inherit from `error' instead of
13545 `font-lock-warning-face'.
13546
13547 * ibuffer.el (ibuffer-marked-face): Change default face from
13548 `font-lock-warning-face' to `warning'.
13549 (ibuffer-deletion-face): Change default face from
13550 `font-lock-type-face' to `error'.
13551
13552 * battery.el (battery-update): Use the face `error' instead of
13553 `font-lock-warning-face' (bug#6117).
13554
6a93965e
JL
135552011-08-24 Juri Linkov <juri@jurta.org>
13556
13557 * faces.el (success): Change face color from "Green3" to
13558 "ForestGreen" on light background (bug#9353).
13559
1ed43b09
CY
135602011-08-24 Chong Yidong <cyd@stupidchicken.com>
13561
5664fa7b
RT
13562 * window.el (quit-window): Rename from quit-restore-window.
13563 Use same arglist as old quit-window.
1ed43b09
CY
13564 (frame-auto-delete): Doc fix.
13565
13566 * view.el (view-mode-exit): Use quit-window.
13567
11dcdbb2
JL
135682011-08-24 Juri Linkov <juri@jurta.org>
13569
13570 * isearch.el (isearch-ring-adjust1): Start visiting previous
13571 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13572 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13573 for empty search string (when the last search string is reused
13574 automatically) to adjust the isearch ring to the last element and
13575 prepare the correct index for further M-p commands (bug#9185).
13576
de62b4df
KH
135772011-08-24 Kenichi Handa <handa@m17n.org>
13578
13579 * international/ucs-normalize.el: If decomposition property of
13580 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13581 nil.
13582 (nfd, nfkd): Likewise.
13583
963b492b
SM
135842011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13585
13586 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13587 from process filters aren't reliably transmitted to the surrounding
13588 accept-process-output.
13589 (mpc-proc-check): New function.
13590 (mpc-proc-sync): Use it (bug#8293)
13591
93b6b5e1
SM
135922011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13593
13594 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13595 Add compatibility functions (bug#9313).
13596
bca633fb
EZ
135972011-08-23 Eli Zaretskii <eliz@gnu.org>
13598
b177498a
EZ
13599 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13600
6df6ae42 13601 * international/uni-bidi.el: Regenerate.
bca633fb 13602
0902a04e
KH
136032011-08-23 Kenichi Handa <handa@m17n.org>
13604
13605 * international/charprop.el:
13606 * international/uni-bidi.el:
13607 * international/uni-category.el:
13608 * international/uni-combining.el:
13609 * international/uni-comment.el:
13610 * international/uni-decimal.el:
13611 * international/uni-decomposition.el:
13612 * international/uni-digit.el:
13613 * international/uni-lowercase.el:
13614 * international/uni-mirrored.el:
13615 * international/uni-name.el:
13616 * international/uni-numeric.el:
13617 * international/uni-old-name.el:
13618 * international/uni-titlecase.el:
13619 * international/uni-uppercase.el: Regenerate.
13620
3bbf23bc
MR
136212011-08-23 Martin Rudalics <rudalics@gmx.at>
13622
13623 * help.el (help-window-setup): Fix message displayed when other
13624 window is reused. (Bug#9341)
13625
b3fd59bd
SM
136262011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13627
1802e444
SM
13628 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13629 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13630
b3fd59bd
SM
13631 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13632 Mark obsolete.
13633 * shell.el (shell-parse-pcomplete-arguments): New function.
13634 (shell-completion-vars): Use it instead (bug#9160).
13635
4eb61348
SM
136362011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13637
867cab74
SM
13638 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13639 strings and comments (bug#9333).
13640
4eb61348
SM
13641 * emacs-lisp/debug.el (debug-arglist): New function.
13642 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13643 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13644
262a1439
JL
136452011-08-22 Juri Linkov <juri@jurta.org>
13646
56ee679c
JL
13647 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13648 Revert regexp that highlights output switches to its old
13649 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13650
262a1439
JL
13651 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13652 to check for empty output (bug#9226).
13653
f13f86fb
CY
136542011-08-22 Chong Yidong <cyd@stupidchicken.com>
13655
13656 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13657 symbol-constituent as the default, as that stops font-lock from
13658 working properly (Bug#8843).
13659
c65c9622
LMI
136602011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13661
13662 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13663 `coding-system-for-*' around the process open call to avoid
13664 auth-source side effects.
e7f2c178 13665 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13666 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13667 probe hangs.
c65c9622 13668
23a8a5ab
CY
136692011-08-21 Chong Yidong <cyd@stupidchicken.com>
13670
ff98b2dd
CY
13671 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13672
23a8a5ab
CY
13673 * emacs-lisp/find-func.el (find-function-noselect): New arg
13674 lisp-only.
13675
13676 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13677 signal an error for built-in functions (Bug#6664).
13678
f5e3c598
LMI
136792011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13680
13681 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13682 (smtpmail-try-auth-methods): Use it.
13683
a3f2468a
CY
136842011-08-21 Chong Yidong <cyd@stupidchicken.com>
13685
2c34e8da
CY
13686 * font-lock.el (font-lock-fontify-region)
13687 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13688 (font-lock-default-unfontify-buffer)
13689 (font-lock-default-fontify-region)
13690 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13691
b3fd59bd
SM
13692 * progmodes/compile.el (compilation-error-properties):
13693 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13694 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13695 `ant' regexp.
ee31aabc 13696
a3f2468a
CY
13697 * net/browse-url.el (browse-url-firefox): Don't call
13698 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13699
8e999f70
GM
137002011-08-20 Glenn Morris <rgm@gnu.org>
13701
c21a496a
GM
13702 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13703
59ee0542
GM
13704 * tutorial.el (tutorial--default-keys): Update some default bindings.
13705
8e999f70
GM
13706 * files.el (hack-local-variables): Fully ignore case for "mode:".
13707
e3715033
AM
137082011-08-20 Alan Mackenzie <acm@muc.de>
13709
13710 Resolve invalid use of a regexp in regexp-opt.
13711
4d61f28d
JB
13712 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13713 detection for a java annotation.
e3715033 13714
4d61f28d 13715 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13716 detection for a java annotation.
13717
4d61f28d
JB
13718 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13719 handling for java.
e3715033
AM
13720 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13721
04ed2e9c
CY
137222011-08-20 Chong Yidong <cyd@stupidchicken.com>
13723
13724 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13725 (Bug#9274).
13726
826cee64
AM
137272011-08-20 Alan Mackenzie <acm@muc.de>
13728
58179cce 13729 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13730 such a construct. Mainly for when jit-lock etc. starts a chunk
13731 here.
13732
58179cce 13733 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13734 variable.
58179cce 13735 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13736 c-make-font-lock-search-function.
13737 (c-make-font-lock-search-function): Use the above function.
13738 (c-make-font-lock-context-search-function): New function.
13739 (c-cpp-matchers): Enhance the preprocessor expression case with
13740 the above function
13741 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13742 which takes an expression.
13743
13744 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13745
13009bd8
MR
137462011-08-20 Martin Rudalics <rudalics@gmx.at>
13747
13748 * window.el (display-buffer-reuse-window)
13749 (display-buffer-pop-up-window): Don't reuse or split a side
13750 window.
13751
9234ff7f
GM
137522011-08-19 Glenn Morris <rgm@gnu.org>
13753
13754 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13755 Downcase "Mode:". (Bug#9331)
9234ff7f 13756
f635daa1
CY
137572011-08-18 Chong Yidong <cyd@stupidchicken.com>
13758
13759 * international/characters.el: Add L and R categories.
13760
13761 * subr.el (bidi-string-mark-left-to-right): Rename from
13762 string-mark-left-to-right. Use category search.
13763
13764 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13765
bc987f8b
JL
137662011-08-18 Juri Linkov <juri@jurta.org>
13767
13768 * faces.el (error, warning, success): New faces with definitions
13769 copied from old default values of `font-lock-warning-face',
13770 `compilation-warning', `compilation-info' (bug#6117).
13771
13772 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13773
13774 * progmodes/compile.el (compilation-error): Inherit from `error'.
13775 (compilation-warning): Inherit from `warning'.
13776 (compilation-info): Inherit from `success'.
13777
13778 * dired.el (dired-marked): Inherit from `warning'.
13779 (dired-flagged): Inherit from `error'.
13780
57173b96
LMI
137812011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13782
3e79eb87
LMI
13783 * mail/smtpmail.el (auth-source): Require to avoid problems with
13784 binding variables (bug#9298). Also clean up some unused
13785 autoloads.
13786
b3fd59bd
SM
13787 * net/network-stream.el (network-stream-open-starttls):
13788 Support using starttls.el without using gnutls-cli.
57173b96 13789
02b404de
JL
137902011-08-17 Juri Linkov <juri@jurta.org>
13791
13792 * progmodes/grep.el (rgrep): Handle the case when
13793 `grep-find-command' is a cons cell (bug#9278).
13794
8c9177f2
MR
137952011-08-17 Martin Rudalics <rudalics@gmx.at>
13796
13797 * window.el (display-buffer-pop-up-frame): Run frame creation
13798 function with BUFFER current (as special-display-popup-frame
13799 does). Reported by Drew Adams.
13800
3644a0ab
DU
138012011-08-17 Daiki Ueno <ueno@unixuser.org>
13802
13803 * epa-mail.el: Simplify GnuPG group expansion using
13804 epg-expand-group.
13805 (epa-mail-group-alist, epa-mail-group-modtime)
13806 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13807 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13808 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13809 Remove.
13810
5e617bc2 138112011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13812
13813 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13814
9c4aeabf
AM
138152011-08-16 Alan Mackenzie <acm@muc.de>
13816
13817 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13818 Correct, to avoid the inside of macros.
13819
3a99bf64
RS
138202011-08-16 Richard Stallman <rms@gnu.org>
13821
04963aa8
RS
13822 * epa-mail.el: Handle GnuPG group definitions.
13823 (epa-mail-group-alist, epa-mail-group-modtime)
13824 (epa-mail-gnupg-conf-file): New variables.
13825 (epa-mail-parse-groups, epa-mail-sync-groups)
13826 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13827 (epa-mail-expand-recipients): New functions.
13828 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13829
177549d0
RS
13830 * mail/rmail.el (rmail-epa-decrypt): New command.
13831
fe38beef
RS
13832 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13833 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13834 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13835 (epa-decrypt-armor-in-region): Make error message clearer.
13836
934eacb9
SM
138372011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13838
13839 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13840 and "a2b" to "ab" for `prefix'.
13841
d024fb4e
CY
138422011-08-14 Chong Yidong <cyd@stupidchicken.com>
13843
13844 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13845 filter groups.
de148fee
CY
13846 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13847 Fourquet (Bug#8804).
d024fb4e 13848
62f1ca49
JB
138492011-08-12 Juanma Barranquero <lekktu@gmail.com>
13850
13851 * startup.el (argi): Declare as global variable (bug#9275).
13852
9ccaaa4b
CY
138532011-08-12 Chong Yidong <cyd@stupidchicken.com>
13854
13855 * subr.el (string-mark-left-to-right): Search the entire string
13856 for RTL script, not just the terminating character. Doc fix.
13857
a3dae87a
SM
138582011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13859
6cd18349
SM
13860 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13861 New function.
13862 (js--regexp-literal, js-syntax-propertize-function): Remove.
13863 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13864 (js-mode-map): Don't rebind electric keys.
13865 (js-insert-and-indent): Remove.
13866 (js-mode): Setup electric-layout and electric-indent instead.
13867
a3dae87a
SM
13868 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13869
9d5cb631
DU
138702011-08-12 Daiki Ueno <ueno@unixuser.org>
13871
13872 * epa.el (epa-progress-callback-function): Fix the logic of
13873 displaying progress.
13874 * epa-file.el (epa-file-insert-file-contents): Make progress
13875 display more user-friendly.
13876 (epa-file-write-region): Ditto.
13877
3e26a4a2
CY
138782011-08-10 Chong Yidong <cyd@stupidchicken.com>
13879
13880 * subr.el (string-mark-left-to-right): New function.
13881
13882 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13883 Use string-mark-left-to-right.
13884 (list-buffers-noselect): Caller changed.
13885
a3dae87a
SM
13886 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13887 Use string-mark-left-to-right.
3e26a4a2
CY
13888 (tabulated-list-print): Recenter after moving point.
13889
ac8cf6e6
JL
138902011-08-10 Juri Linkov <juri@jurta.org>
13891
13892 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13893 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13894 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13895
8d96c9a4
CY
138962011-08-09 Chong Yidong <cyd@stupidchicken.com>
13897
13898 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13899 (Bug#7554).
13900
7be1c708 139012011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13902
13903 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13904 character. (Bug#6594)
13905
37e11a63
CY
139062011-08-08 Chong Yidong <cyd@stupidchicken.com>
13907
839dde57
CY
13908 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13909 (image-dired--with-db-file): New macro.
13910 (image-dired-write-tags, image-dired-remove-tag)
13911 (image-dired-create-gallery-lists, image-dired-write-comments)
13912 (image-dired-get-comment, image-dired-mark-tagged-files)
13913 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13914 (image-dired-gallery-generate): Use insert-file-contents.
13915
37e11a63
CY
13916 * time.el (display-time-world-list, display-time-world-display):
13917 * time-stamp.el (time-stamp-string):
13918 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13919 set-time-zone-rule (Bug#7337).
13920
0b4946c4
DU
139212011-08-08 Daiki Ueno <ueno@unixuser.org>
13922
13923 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13924 (epg-error-to-string, epg-errors-to-string): New function.
13925 (epg-wait-for-completion): Reverse errors list.
13926 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13927 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13928 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13929 (epg-sign-keys, epg-generate-key-from-file)
13930 (epg-generate-key-from-string): Format errors by using
13931 epg-errors-to-string (bug#9255).
13932 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13933
75bfc667
JL
139342011-08-07 Juri Linkov <juri@jurta.org>
13935
13936 * faces.el (list-faces-display): Remove extra angle bracket
13937 from `help-mode-map'.
13938
13939 * info.el (Info-history-toc-nodes): Doc fix.
13940
13941 * longlines.el (longlines-mode): Doc fix.
13942
673e08bb
SM
139432011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13944
4640dd88
SM
13945 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13946 of statements and in a few more cases (bug#9183).
13947
673e08bb
SM
13948 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13949 New functions.
13950 (cl-transform-lambda): Use them (bug#9239).
13951
89b3f019
MR
139522011-08-05 Martin Rudalics <rudalics@gmx.at>
13953
13954 * window.el (display-buffer-same-window)
13955 (display-buffer-same-frame, display-buffer-other-window)
13956 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13957 (pop-to-buffer-other-window)
13958 (pop-to-buffer-same-frame-other-window)
13959 (pop-to-buffer-other-frame): Make them defuns.
13960 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13961
640c8776
SM
139622011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13963
13964 * subr.el (make-composed-keymap): Move from C. Change calling
13965 convention, and improve docstring to bring attention to a subtle point.
13966 * minibuffer.el (completing-read-default): Adjust accordingly.
13967
63648a95
MA
139682011-08-03 Michael Albinus <michael.albinus@gmx.de>
13969
13970 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13971 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13972
13973 * net/trampver.el: Update release number.
13974
b796c9b7
SM
139752011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13976
13977 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13978 "in" (bug#9190).
13979
2239d7d5
LMI
139802011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13981
e07dd7c3
LMI
13982 * mail/sendmail.el (sendmail-query-once): Restore the current
13983 buffer after querying (bug#9074).
13984
0e6a2bd7
LMI
13985 * dired.el (dired-flagged): Use different faces for marked and
13986 flagged files (bug#6117).
13987
ce887515
LMI
13988 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13989 (bug#4433).
13990
92f2affc
LMI
13991 * ido.el (ido-mode): Switch off the message if called
13992 non-interactively.
13993
57d5aff0
LMI
13994 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13995 before 587, since it appears that that's more likely to work for
13996 more people.
13997
98cd6c18 13998 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13999 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14000 exist.
14001
b96dec83
LMI
14002 * info.el: Remove the `Info-beginning-of-buffer' function
14003 (bug#8325).
14004
b796c9b7
SM
14005 * net/network-stream.el (network-stream-open-starttls):
14006 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14007
d90e2ea0
MR
140082011-08-01 Martin Rudalics <rudalics@gmx.at>
14009
14010 * window.el (display-buffer-in-window): Don't set dedicated status
14011 of window here (Bug#9215).
14012 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14013 (display-buffer-pop-up-side-window)
b796c9b7 14014 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14015
cca09170
SM
140162011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14017
14018 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14019 before binding generated-autoload-file.
14020
027b979c
DD
140212011-08-01 Deniz Dogan <deniz@dogan.se>
14022
14023 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14024
3c7ee4f3
MA
140252011-07-30 Michael Albinus <michael.albinus@gmx.de>
14026
14027 Sync with Tramp 2.2.2.
14028
14029 * net/trampver.el: Update release number.
14030
2cc8e51a
JL
140312011-07-30 Juri Linkov <juri@jurta.org>
14032
14033 * dired-aux.el (dired-touch-initial): Remove function.
14034 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14035 current time, and `default' to the last modification time of the
14036 current marked file (bug#6887).
14037
a514d856
JM
140382011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14039
14040 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14041 numeric argument to read-number (bug#9163).
a514d856 14042
8a7eddd7
MA
140432011-07-27 Michael Albinus <michael.albinus@gmx.de>
14044
14045 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14046 connection process, it could be nil.
14047
1ddd96f5
LL
140482011-07-27 Leo Liu <sdl.web@gmail.com>
14049
14050 Simplify url handling in rcirc-mode.
14051
14052 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14053 (rcirc-browse-url-at-mouse): Remove.
14054 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14055
b248a85d
AM
140562011-07-26 Alan Mackenzie <acm@muc.de>
14057
14058 Fontify bitfield declarations properly.
14059
14060 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14061 (c-symbol-chars): Now exported as a lang variable.
14062 (c-not-primitive-type-keywords): New lang variable.
14063
14064 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14065 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14066 parsed as a bitfield declaration.
b248a85d 14067
b796c9b7
SM
14068 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14069 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14070 (c-punctuation-in): New function.
14071 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14072 declarations properly.
14073
68575ab0
UJ
140742011-07-26 Ulf Jasper <ulf.jasper@web.de>
14075
14076 * calendar/icalendar.el (icalendar--all-events): Take care of
14077 multiple vcalendars in a single file.
b796c9b7 14078 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14079
0f0a88b9
DD
140802011-07-25 Deniz Dogan <deniz@dogan.se>
14081
14082 * image.el (insert-image): Clarifying docstring.
14083
0b3f36df
MA
140842011-07-24 Michael Albinus <michael.albinus@gmx.de>
14085
14086 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14087 `tramp-send-command-and-check' if there is no error.
14088 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14089
a9901f61
AM
140902011-07-22 Alan Mackenzie <acm@muc.de>
14091
14092 Prevent cc-langs.elc being loaded at run time.
14093
14094 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14095 cc-langs.
14096
4d61f28d 14097 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14098 "(require 'cc-langs)". Quote a form so it will evaluate at
14099 (cc-mode's) compilation time.
14100
11d074b2
MA
141012011-07-22 Michael Albinus <michael.albinus@gmx.de>
14102
14103 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14104 loading. (Bug#9114)
14105
938b94c8
MR
141062011-07-21 Martin Rudalics <rudalics@gmx.at>
14107
14108 * window.el (display-buffer-pop-up-window)
14109 (display-buffer-pop-up-side-window)
14110 (display-buffer-in-side-window): Call display-buffer-set-height
14111 and display-buffer-set-width after setting the new window's
b796c9b7 14112 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14113
bfa4f190
SS
141142011-07-20 Sam Steingold <sds@gnu.org>
14115
14116 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14117 (etags-tags-included-tables): Call `convert-standard-filename' on
14118 the file names contained in TAGS so that windows Emacs can handle
14119 TAGS files created by cygwin ctags.
14120
8ca42262
LMI
141212011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14122
14123 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14124 which apparently didn't work.
14125
5db2afd2 141262011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14127
5db2afd2
RW
14128 * proced.el (proced-send-signal): For *Marked Processes* buffer
14129 put point at beginning of buffer.
14130
92e15d10
SB
141312011-07-19 Stephen Berman <stephen.berman@gmx.net>
14132
14133 * proced.el (proced-format): Make header lines align with the text
14134 (bug#1779).
14135
1bfd59e5
LMI
141362011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14137
14138 * view.el (view-buffer): Allow running in `special' modes if we're
14139 visiting a file (bug#8615).
14140
f5aae37c
MR
141412011-07-19 Martin Rudalics <rudalics@gmx.at>
14142
14143 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14144 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14145 New functions.
f5aae37c
MR
14146 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14147 more accurately.
14148
bf2c1571
AM
141492011-07-18 Alan Mackenzie <acm@muc.de>
14150
14151 Fontify declarators properly when, e.g., a jit-lock chunk begins
14152 inside a declaration.
14153
14154 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14155
b796c9b7
SM
14156 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14157 New function.
bf2c1571
AM
14158 (c-complex-decl-matchers): Insert reference to
14159 c-font-lock-enclosing-decls.
14160
14161 * progmodes/cc-engine.el (c-backward-single-comment):
14162 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14163 to nil around calls to (forward-comment -1).
14164
4e190b80
LMI
141652011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14166
12dc863d
LMI
14167 * image.el (put-image): Doc typo fix.
14168
a762e966
LMI
14169 * progmodes/etags.el (tags-search): Doc typo fix.
14170
4e190b80
LMI
14171 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14172 password if we get errors 550 to 554.
14173
f019fb21
LMI
141742011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14175
b796c9b7 14176 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14177
81746738
LMI
14178 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14179 indentation character (bug#6380).
14180
3ee3a1b5
LMI
14181 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14182
c82f64de
LMI
14183 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14184 to clarify what the problem is (bug#4291).
14185
f019fb21
LMI
14186 * simple.el (current-kill): Clarify what
14187 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14188 (auto-fill-mode): Document `auto-fill-function' in relation to
14189 `auto-fill-mode' (bug#2470).
f019fb21 14190
0794775d
LM
141912011-07-16 Lawrence Mitchell <wence@gmx.li>
14192
14193 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14194 method if slot is read-only (bug#9035).
14195
be39b8cc
MR
141962011-07-16 Martin Rudalics <rudalics@gmx.at>
14197
b796c9b7 14198 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14199 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14200 selected before, see discussion of (Bug#8615), (Bug#6954).
14201 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14202
6ccf7859
GM
142032011-07-15 Glenn Morris <rgm@gnu.org>
14204
14205 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14206 Respect help-form.
6ccf7859 14207
87e86684
LM
142082011-07-09 Lawrence Mitchell <wence@gmx.li>
14209
14210 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14211 (gnutls-negotiate): Use it.
14212
d6066239
LMI
142132011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14214
b796c9b7
SM
14215 * net/gnutls.el (gnutls-negotiate):
14216 Upcase `gnutls-algorithm-priority'.
d6066239 14217
bd23ebc0
GM
142182011-07-15 Glenn Morris <rgm@gnu.org>
14219
c65bca65
GM
14220 * jka-compr.el (jka-compr-verbose): Move from here...
14221 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14222 Add missing :version tag.
14223 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14224
478615cc
LMI
142252011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14226
7b41decb
LMI
14227 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14228 (gnutls-negotiate): Use it.
14229
dbc44fcd
LMI
14230 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14231
06789f97
LMI
14232 * info.el (Info-beginning-of-buffer): New command.
14233 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14234 announcing `b' as the key (bug#8325).
ab896c37 14235 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14236
c39da690
LMI
14237 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14238
3aa5f34b
LMI
14239 * international/mule-cmds.el
14240 (describe-specified-language-support): Make the error message
14241 clearer (bug#8905).
14242
4bf0979f
LMI
14243 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14244
478615cc
LMI
14245 * isearch.el (isearch-barrier): Add a doc string, since it's
14246 mentioned in a function doc string (bug#8678).
14247
75c68aa1
MR
142482011-07-15 Martin Rudalics <rudalics@gmx.at>
14249
14250 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14251 buffer argument (Bug#9083) and self-identifying label argument.
14252
a7c33da2
GM
142532011-07-15 Glenn Morris <rgm@gnu.org>
14254
14255 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14256
2f5c6024
LMI
142572011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14258
14259 * man.el (Man-fontify-manpage): Fix message when formatting the
14260 man page (bug#7929).
14261
0bb23927 142622011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14263
14264 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14265 argument LRM; if non-nil, append an invisible LRM character to the
14266 buffer name.
14267 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14268 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14269 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14270 paragraph direction.
cce4b0a7 14271
621ef9ab
LMI
142722011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14273
d1583c48
LMI
14274 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14275 the man page name (bug#7929).
14276
6a57fb5f
LMI
14277 * image.el (put-image): Mention the `put-image' overlay property
14278 (bug#7834).
14279
d7956b14
LMI
14280 * scroll-bar.el (set-scroll-bar-mode): Mention that
14281 `scroll-bar-mode' lists the values (bug#7772).
14282
5b2d4a66
LMI
14283 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14284 command (bug#7729).
14285
7509a874
LMI
14286 * rect.el (apply-on-rectangle): Return the point after the last
14287 operation.
14288 (string-rectangle): Go to the point after the last operation
14289 (bug#7522).
14290
4fe74b19
LMI
14291 * printing.el (pr-toggle-region): Clarify the documentation
14292 slightly (bug#7493).
14293
b796c9b7
SM
14294 * time.el (display-time-update):
14295 Allow `display-time-mail-function' to return nil (bug#7158).
14296 Fix suggested by Detlev Zundel.
ab283561 14297
fc233c9d
LMI
14298 * vc/diff.el (diff): Clarify the order the file names are read
14299 (bug#7111).
14300
43f5740b
LMI
14301 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14302 the doc string (bug#7015).
14303
f2182a76
LMI
14304 * font-lock.el (font-lock-maximum-decoration): Mention what
14305 numeric levels mean (bug#6935).
14306
621ef9ab
LMI
14307 * startup.el (initial-buffer-choice): Don't mention the `none'
14308 selection, which is against policy.
14309
adc47434
MR
143102011-07-14 Martin Rudalics <rudalics@gmx.at>
14311
b796c9b7
SM
14312 * window.el (display-buffer-normalize-special):
14313 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14314
7e5bfb8f
EZ
143152011-07-14 Eli Zaretskii <eliz@gnu.org>
14316
14317 * subr.el (version<, version<=, version=): Mention "-CVS" and
14318 "-12345" alpha version numbers.
14319
27fa387a
CY
143202011-07-14 Chong Yidong <cyd@stupidchicken.com>
14321
14322 * bindings.el: Add advertised binding for set-mark-command
14323 (Bug#5772).
14324
8bdfa064
CY
143252011-07-14 Chong Yidong <cyd@stupidchicken.com>
14326
14327 * bindings.el (mode-line-other-buffer):
14328 * bookmark.el (bookmark-bmenu-2-window):
14329 * bs.el (bs-cycle-next, bs-cycle-previous):
14330 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14331 switch-to-buffer.
14332
14333 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14334 Delete.
8bdfa064 14335
5eba16a3
JB
143362011-07-14 Juanma Barranquero <lekktu@gmail.com>
14337
14338 * follow.el (follow-debug-message, follow-redisplay):
14339 * jka-cmpr-hook.el (with-auto-compression-mode):
14340 Fix typos in docstrings.
14341
15853710
LMI
143422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14343
a28e4607
LMI
14344 * subr.el (with-silent-modifications): Clarify somewhat what the
14345 macro inhibits (bug#6525).
14346
15853710
LMI
14347 * simple.el (eval-expression): Note what it does if called
14348 interactively (bug#6495).
14349
bee0fcef
CY
143502011-07-13 Chong Yidong <cyd@stupidchicken.com>
14351
b796c9b7
SM
14352 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14353 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14354
14355 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14356 Remove switch-to-buffer.
14357
58274504
LMI
143582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14359
bd2fcc8d
LMI
14360 * files.el (make-directory): Clarify that an error will be raised
14361 if there's an error (bug#6397).
14362
0f04b32c
LMI
14363 * startup.el (initial-buffer-choice): Add `none' as a choice
14364 (bug#6234).
14365
465c5fc8
LMI
14366 * subr.el (add-hook): Clarify section about buffer-local hooks
14367 (bug#6218).
14368
58274504
LMI
14369 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14370
bead9a43
JB
143712011-07-13 Juanma Barranquero <lekktu@gmail.com>
14372
14373 * tabify.el (untabify): Preserve the current column so that point
14374 doesn't move (bug#6032).
14375
3af98a7b
LMI
143762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14377
b796c9b7
SM
14378 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14379 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14380
6240145a
GM
143812011-07-13 Glenn Morris <rgm@gnu.org>
14382
14383 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14384 (dired-insert-directory): Give a message the first time
14385 if ls is found not to support --dired.
14386
1d8c2ccc
LMI
143872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14388
14389 * simple.el (toggle-truncate-lines): Clarify what is toggled
14390 (bug#5580). Text by Drew Adams.
14391
5fc4038e
CY
143922011-07-13 Chong Yidong <cyd@stupidchicken.com>
14393
14394 * simple.el (blink-matching-open): Make the error message from the
14395 last change less verbose.
14396
bf6012e5
DN
143972011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14398
14399 * font-lock.el (font-lock-comment-face): Use the high contrast
14400 "yellow" color for font-lock-comment-face on low color terminals
14401 using a dark background color (bug#4221).
14402
343c3b5a
LMI
144032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14404
7e9505c5
LMI
14405 * dired.el (dired-insert-set-properties): Make the doc string
14406 reflect what it does now (bug#5325).
14407
c26fdcf5
LMI
14408 * simple.el (blink-matching-open): Say that we were unable to find
14409 the match within the limit, if we're limited (bug#5122).
14410
bb388cc5
LMI
14411 * international/mule-cmds.el (prefer-coding-system): Add an
14412 example (bug#4869).
14413
343c3b5a
LMI
14414 * progmodes/etags.el (tags-search): Document `file-list-form'
14415 (bug#4731).
14416
2a517d45
LM
144172011-07-13 Lawrence Mitchell <wence@gmx.li>
14418
14419 * net/browse-url.el (browse-url-default-browser)
14420 (browse-url-browser-function): Make the default browser choice a
14421 bit more logical (bug#4300). Also clean up the doc string.
14422
b6c78ef2
JB
144232011-07-13 Juanma Barranquero <lekktu@gmail.com>
14424
14425 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14426 binary endings (bug#4440).
14427
1c4dd947
LMI
144282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14429
a2014063
LMI
14430 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14431 which can be pretty annoying (bug#8971).
14432
9c9c2d88
LMI
14433 * jka-compr.el (jka-compr-verbose): New variable, and use
14434 throughout (bug#8971).
14435
1c4dd947
LMI
14436 * info.el (Info-find-file): Fall back on the installation
14437 directory if we can't find the info node anywhere else.
14438
a1c9f41b
SO
144392011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14440
14441 * vc/vc.el (vc-revert-file):
14442 Don't set file time-stamp in the past. (Bug#5181)
14443
536f3d36
LMI
144442011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14445
7152b011
LMI
14446 * files.el (after-find-file): Give a better error message when
14447 trying to find a symlink that points to a file that doesn't exist
14448 (bug#4398).
14449
536f3d36
LMI
14450 * progmodes/cc-vars.el: Remove (probably) misleading comment
14451 (bug#4396).
14452
460c0fba
JB
144532011-07-12 Johan Bockgård <bojohan@gnu.org>
14454
14455 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14456
7a6bda45
CY
144572011-07-12 Chong Yidong <cyd@stupidchicken.com>
14458
14459 * mouse-sel.el: Hack restoring functionality, while keeping
14460 compatibility with 2010-07-03 changes to mouse selection.
14461 (mouse-sel-primary-overlay): New var.
14462 (mouse-sel-selection-alist): Use it.
14463 (mouse-sel-mode): Doc fix; remove points that are default features
14464 of mouse.el.
14465
c79598ef
JB
144662011-07-12 Johan Bockgård <bojohan@gnu.org>
14467
14468 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14469 Fix previous fix (bug#2490).
14470
ff8be6ef
RW
144712011-07-12 Roland Winkler <winkler@gnu.org>
14472
b796c9b7
SM
14473 * textmodes/bibtex.el (bibtex-initialize):
14474 Use pop-to-buffer-same-window.
ff8be6ef
RW
14475 (bibtex-search-entries): Fix interactive call.
14476
296ba3ee
LMI
144772011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14478
f5242a02 14479 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14480 Fontise bytecomp Error lines more correctly (bug#2490).
14481 Fix suggested by Johan Bockgård.
f5242a02 14482
296ba3ee
LMI
14483 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14484
14485 * dired-x.el (dired-guess-default): Use `delete-dups'.
14486
f69fd0d2
CY
144872011-07-12 Chong Yidong <cyd@stupidchicken.com>
14488
14489 * dired.el (dired-mark-prompt):
14490 * dired-aux.el (dired-read-shell-command): Doc fix.
14491
eab5dc07
LMI
144922011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14493
b796c9b7
SM
14494 * mail/sendmail.el (sendmail-query-once):
14495 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14496 emacs -Q.
14497
14498 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14499
eab5dc07
LMI
14500 * cus-edit.el (custom-file): Take an optional no-error variable.
14501 (customize-save-variable): Set the variable, and give a warning if
14502 running under "emacs -q".
14503
a1e65d42
JB
145042011-07-11 Juanma Barranquero <lekktu@gmail.com>
14505
14506 * loadhist.el (unload-feature-special-hooks):
14507 Add `auto-coding-functions', `fill-nobreak-predicate' and
14508 `find-directory-functions' (bug#5327).
14509
1d52da10
LMI
145102011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14511
be958f1d
LMI
14512 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14513
5bedb26c
LMI
14514 * cus-edit.el (custom-guess-name-alist): -alist variables should
14515 use the `alist' type (bug#3120). Suggested by Drew Adams.
14516
1d52da10
LMI
14517 * printing.el: Add documentation to all the `pr-toggle-' commands.
14518
cd394be1 145192011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14520
14521 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14522 backends where it makes sense (bug#2623).
14523
dcc88d8a
LMI
145242011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14525
c3de9feb
LMI
14526 * dired-x.el (dired-guess-default): Remove duplicate shell command
14527 entries (bug#2028).
8a93078b 14528 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14529 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14530
dcc88d8a
LMI
14531 * subr.el (remove-duplicates): New conveniency function.
14532
505e3645
LMI
145332011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14534
14535 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14536 (bug#1526).
14537
145382011-07-10 Martin Rudalics <rudalics@gmx.at>
14539
14540 * window.el (display-buffer-normalize-default): Don't invert
14541 meaning of even-window-heights. Reported by Eli Zaretskii
14542 <eliz@gnu.org>.
14543
455e4fa1
BR
145442011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14545
14546 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14547
8e0bc3e9
CY
145482011-07-10 Chong Yidong <cyd@stupidchicken.com>
14549
14550 * window.el (display-buffer): Fix arguments to
14551 display-buffer-reuse-window in last change.
14552
fa7c3228
CY
14553 * faces.el (link): Use a less saturated blue on light backgrounds.
14554
14555 * startup.el (fancy-startup-text, fancy-about-text)
14556 (fancy-startup-tail): Use font-lock faces, for background safety.
14557
c0a7f300
BN
145582011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14559
b796c9b7
SM
14560 * emulation/viper-cmd.el (viper-change-state-to-vi):
14561 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14562
4dc2a129
MR
145632011-07-09 Martin Rudalics <rudalics@gmx.at>
14564
14565 * window.el (display-buffer-default-specifiers): Remove.
14566 (display-buffer-macro-specifiers): Remove default specifiers.
14567 (display-buffer-alist): Default to nil.
b796c9b7 14568 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14569 (display-buffer-pop-up-window): Allow splitting internal
14570 windows. Check whether a live window was created.
14571 (display-buffer-other-window-means-other-frame)
14572 (display-buffer-normalize-arguments): Rename to
14573 display-buffer-normalize-argument and rewrite. Set the
14574 other-window specifier.
14575 (display-buffer-normalize-special): New function.
14576 (display-buffer-normalize-options): Rename to
14577 display-buffer-normalize-default and rewrite.
14578 (display-buffer-normalize-options-inhibit): Remove.
14579 (display-buffer-normalize-specifiers): Rewrite.
14580 (display-buffer): Process other-window specifier and call
14581 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14582 more faithfully.
b796c9b7 14583 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14584 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14585 (display-buffer-in-window, display-buffer-alist-set):
14586 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14587 <tassilo@member.fsf.org>.
14588
2d43b8c9
LL
145892011-07-09 Leo Liu <sdl.web@gmail.com>
14590
14591 * register.el (insert-register): Restore accidental change on
14592 2011-06-26. (Bug#9028)
14593
7f9b7c53
GM
145942011-07-09 Glenn Morris <rgm@gnu.org>
14595
14596 * subr.el (remq): Handle the empty list. (Bug#9024)
14597
f042cfd8
AS
145982011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14599
14600 * mail/sendmail.el (send-mail-function): No longer delay custom
14601 initialization.
14602 * custom.el (custom-initialize-delay): Doc fix.
14603
856b2f11
SM
146042011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14605
14606 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14607
afae1d68
MA
146082011-07-08 Michael Albinus <michael.albinus@gmx.de>
14609
14610 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14611 human-friendly prompt.
14612
0757af94
SM
146132011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14614
14615 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14616 provided by a particular plugin.
14617
d760b731
LMI
146182011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14619
14620 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14621 save customizations (with "emacs -Q"), just set the variable
14622 instead of erroring out.
14623
14624 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14625
cd79ce90
JL
146262011-07-08 Juri Linkov <juri@jurta.org>
14627
14628 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14629 (archive-zip-update-case): Use 7z if found by `executable-find'.
14630 The order of searching the available programs is the same as in
14631 `archive-zip-extract' (bug#8968).
14632
14cc04aa
CY
146332011-07-07 Chong Yidong <cyd@stupidchicken.com>
14634
14635 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14636 (menu-bar-options-menu): Tweak descriptions.
14637
0a1848ec
LMI
146382011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14639
14640 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14641 menu items into verb phrases (bug#1421). Also refill to fit under
14642 80 columns.
14643
f5bd0689
CY
146442011-07-07 Chong Yidong <cyd@stupidchicken.com>
14645
538e85c6
CY
14646 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14647 (Info-read-node-name): Doc fix (Bug#1084).
14648
f5bd0689
CY
14649 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14650 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14651 (end-of-sexp, beginning-of-sexp)
14652 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14653 (forward-symbol, forward-same-syntax, word-at-point)
14654 (sentence-at-point): Doc fix (Bug#1144).
14655
56ec5115
LMI
146562011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14657
f3f8e37f
LMI
14658 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14659 should cover it (bug#1281).
14660
0757af94 14661 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14662
e9fce1ac 14663 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14664 negotiation fails, then possibly try again with a non-encrypted
14665 connection (bug#9017).
14666
56ec5115
LMI
14667 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14668 be used.
14669
c2f9aec8
RS
146702011-07-07 Richard Stallman <rms@gnu.org>
14671
14672 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14673 property, and handle its changed format.
14674 Look for the correct line number.
14675 Use file's line contents (but not past first =) to find
14676 correct line in message.
14677
ef7b981d 146782011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14679
14680 * international/characters.el (build-unicode-category-table):
14681 Delete it.
0757af94 14682 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14683
0757af94 14684 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14685 to src/chartab.c.
14686 (get-char-code-property): Call unicode-property-table-internal to
14687 load a file. Call get-unicode-property-internal where necessary.
14688 (put-char-code-property): Call unicode-property-table-internal to
14689 load a file. Call put-unicode-property-internal where necessary.
14690 put-unicode-property-internal where necessary.
0757af94
SM
14691 (char-code-property-description):
14692 Call unicode-property-table-internal to load a file.
c805dec0
KH
14693
14694 * international/charprop.el:
14695 * international/uni-bidi.el:
14696 * international/uni-category.el:
14697 * international/uni-combining.el:
14698 * international/uni-comment.el:
14699 * international/uni-decimal.el:
14700 * international/uni-decomposition.el:
14701 * international/uni-digit.el:
14702 * international/uni-lowercase.el:
14703 * international/uni-mirrored.el:
14704 * international/uni-name.el:
14705 * international/uni-numeric.el:
14706 * international/uni-old-name.el:
14707 * international/uni-titlecase.el:
14708 * international/uni-uppercase.el: Regenerate.
14709
14710 * loadup.el: Load international/charprop.el before
14711 international/characters.
14712
e14b388a
CY
147132011-07-07 Chong Yidong <cyd@stupidchicken.com>
14714
14715 * window.el (next-buffer, previous-buffer): Signal an error if
14716 called from a minibuffer window.
14717
14718 * bindings.el: Revert 2011-07-04 change.
14719
354cf0ba
RS
147202011-07-06 Richard Stallman <rms@gnu.org>
14721
14722 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14723 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14724 Treat markers like ints.
14725 (rmail-mime-entity): Doc fix.
14726
a48868a7
LMI
147272011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14728
4906cd3d
LMI
14729 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14730 defcustom again for backwards compatibility.
14731
e0457abe
LMI
14732 * simple.el (shell-command-on-region): Fill.
14733
d67f7e1f
LMI
14734 * dired-aux.el (dired-kill-line): Add a doc string.
14735
fe204702
LMI
14736 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14737 to "\\sw\\|\\s_" (bug#358).
14738
a48868a7
LMI
14739 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14740 (dired-unmark-backward): Ditto.
14741 (dired-flag-backup-files): Ditto.
14742
14743 * dired-x.el (dired-mark-sexp): Ditto.
14744
aa8a705c
RS
147452011-07-06 Richard Stallman <rms@gnu.org>
14746
14747 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14748 (rmail-mime-entity): New arg TRUNCATED.
14749 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14750 New functions.
14751 (rmail-mime-save): Warn if entity is truncated.
14752 (rmail-mime-toggle-hidden): Likewise, for showing.
14753 (rmail-mime-process-multipart): Record when an entity is truncated.
14754
a9a936b9
RS
14755 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14756 if ENTITY is a string.
14757
1f2b92cb
LMI
147582011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14759
f4f73198 14760 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14761 of faces when `M-C-x'-ing their definitions (bug#8378).
14762 Also clean up the code slightly.
f4f73198 14763
12b16734 14764 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14765 because that makes the colors go away.
12b16734 14766
f0691d22
LMI
14767 * mail/sendmail.el (send-mail-function): Change the default to
14768 `sendmail-query-once'.
9e87df06 14769 (sendmail-query-once): Add an autoload cookie.
f0691d22 14770
1f2b92cb
LMI
14771 * net/network-stream.el (network-stream-open-starttls): Try using
14772 a plain connection even if the server offered STARTTLS, and we
14773 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14774 capability. This should make smtpmail.el work in slightly more
14775 configurations.
14776
1cdd2a1b
MA
147772011-07-06 Michael Albinus <michael.albinus@gmx.de>
14778
14779 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14780 New defun.
14781 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14782
fbcc67e2
MM
147832011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14784
14785 * progmodes/sql.el: Version 3.0
0757af94 14786 (sql-product-alist): Add product :completion-object,
fbcc67e2 14787 :completion-column, and :statement attributes.
0757af94 14788 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14789 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14790 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14791 ansi keywords.
14792 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14793 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14794 (sql-oracle-show-reserved-words): New function for development.
14795 (sql-product-font-lock): Simplify for source code buffers.
14796 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14797 New functions.
14798 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14799 (sql-mode-map): Add statement movement functions.
14800 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14801 New variable.
fbcc67e2
MM
14802 (sql-statement-regexp, sql-beginning-of-statement)
14803 (sql-end-of-statement, sql-signum): New functions.
0757af94 14804 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14805 (sql-show-sqli-buffer): Bug fix.
14806 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14807 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14808 with sql-interactive-mode.
14809 (sql-save-connection): Save buffer local settings.
0757af94 14810 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14811 (sql-product-interactive): Bug fix.
14812 (sql-preoutput-hold): New variable.
14813 (sql-interactive-remove-continuation-prompt): Bug fixes.
14814 (sql-debug-redirect): New variable.
14815 (sql-str-literal): New function.
14816 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14817 Redesign.
fbcc67e2
MM
14818 (sql-oracle-save-settings, sql-oracle-restore-settings)
14819 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14820 (sql-completion-object, sql-completion-column)
14821 (sql-completion-sqlbuf): New variables.
14822 (sql-build-completions-1, sql-build-completions)
14823 (sql-try-completion): New functions.
14824 (sql-read-table-name): Use them.
14825 (sql-contains-names): New buffer local variable.
14826 (sql-list-all, sql-list-table): Use it.
14827 (sql-oracle-completion-types): New variable.
14828 (sql-oracle-completion-object, sql-sqlite-completion-object)
14829 (sql-postgres-completion-object): New functions.
14830
d4eaeab1
GM
148312011-07-06 Glenn Morris <rgm@gnu.org>
14832
14833 * window.el (pop-to-buffer): Doc fix.
14834
322b7dab 148352011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14836
14837 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14838
322b7dab 148392011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14840
322b7dab 14841 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14842
322b7dab 14843 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14844
605dd5bf
CY
148452011-07-05 Chong Yidong <cyd@stupidchicken.com>
14846
14847 * button.el (button): Inherit from link face. Suggested by Dan
14848 Nicolaescu.
14849
7dbfa719
SM
148502011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14851
3db614b0
SM
14852 * progmodes/gdb-mi.el: Fit in 80 columns.
14853 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14854 switch-to-buffer.
14855
7dbfa719
SM
14856 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14857 if imenu is simply not configured (bug#8941).
14858
919d884a
KM
148592011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14860
14861 * allout.el (allout-post-undo-hook): New allout outline-change
14862 event hook to signal undo activity.
14863 (allout-post-command-business): Run allout-post-undo-hook if an
14864 undo just occurred.
7dbfa719
SM
14865 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14866 * allout-widgets.el (allout-widgets-after-undo-function):
14867 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14868 in the vicinity of an undo.
14869 (allout-widgets-mode): Include allout-widgets-after-undo-function
14870 on the new allout-post-undo-hook.
14871
450a0f09
SM
148722011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14873
14874 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14875 Let define-derived-mode define it.
14876 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14877 cycles of abbrev-table inheritance (bug#8998).
14878
2de69e00
RW
148792011-07-05 Roland Winkler <winkler@gnu.org>
14880
14881 * textmodes/bibtex.el: Add support for biblatex.
14882 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14883 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14884 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14885 (bibtex-entry-alist, bibtex-field-alist): New variables.
14886 (bibtex-entry-field-alist): Obsolete alias for
14887 bibtex-BibTeX-entry-alist.
14888 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14889 (bibtex-set-dialect): New command.
14890 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14891 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14892 Bind via bibtex-set-dialect.
2de69e00
RW
14893 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14894 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14895 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14896 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14897 Define via bibtex-set-dialect.
450a0f09
SM
14898 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14899 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14900 (bibtex-vec-push, bibtex-vec-incr): New functions.
14901 (bibtex-format-entry, bibtex-field-list)
14902 (bibtex-print-help-message, bibtex-validate)
14903 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14904
2dcdbdd9
SM
149052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14906
14907 * progmodes/compile.el (compilation-goto-locus):
14908 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14909 * bs.el (bs-cycle-next, bs-cycle-previous):
14910 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14911 * bindings.el (mode-line-other-buffer):
14912 * autoinsert.el (auto-insert):
14913 * arc-mode.el (archive-extract):
14914 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14915
b27640fe
JB
149162011-07-05 Juanma Barranquero <lekktu@gmail.com>
14917
14918 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14919 Fix check of `emacs-lock-unlockable-modes'.
14920 Coerce true values of `emacs-lock--try-unlocking' to t.
14921
53bbe3ad
JB
149222011-07-05 Juanma Barranquero <lekktu@gmail.com>
14923
14924 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14925 * emacs-lock.el: New file.
14926
1d3cdbc7
JD
149272011-07-05 Julien Danjou <julien@danjou.info>
14928
14929 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14930 than `boundp' to check if face is set.
14931
9173deec
JB
149322011-07-05 Juanma Barranquero <lekktu@gmail.com>
14933
14934 * register.el (registerv-make):
14935 * window.el (window-min-height): Fix typos in docstrings.
14936
869795d6
JD
149372011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14938
9173deec 14939 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14940 Update doc string.
14941
b768cdcd
JB
149422011-07-04 Juanma Barranquero <lekktu@gmail.com>
14943
14944 * server.el (server-execute): Catch quit and call
14945 `server-return-error' to pass the error back to emacsclient and
14946 close the connection (bug#8942).
14947
13aa217b
KM
149482011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14949
14950 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14951 insecure exception for current topic. Also note that auto-saves
14952 are handled differently.
14953
5d3385a0 14954 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14955 State variables for tracking auto-save inhibition situation.
14956
14957 (allout-write-contents-hook-handler): Rename from
14958 'allout-write-file-hook-handler', and describe how it depends on
14959 write-contents-functions sensitivity to non-nil value to prevent
14960 file write.
14961
14962 (allout-auto-save-hook-handler): Remove. auto-save does not check
14963 this in individual buffers, only in the starting buffer, so this
14964 is not the right way for us to inhibit auto-save in a buffer
14965 according to its condition.
14966
14967 (allout-mode): Use new allout-write-contents-hook-handler, and
14968 only with write-contents-functions. Remove auto-save provisions -
14969 they're implemented elsewhere.
14970
14971 (allout-before-change-handler): If undo is in progress, note that
14972 for attention of allout-post-command-business.
14973
14974 (allout-post-command-business): If the command we're following was
14975 an undo, check for change in the status of encrypted items and
14976 adjust auto-save inhibitions accordingly.
14977
14978 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14979 according to whether there are or aren't any plain-text topics
14980 pending encryption.
14981
2dcdbdd9 14982 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14983 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14984 if there are plain-text topics pending encryption.
13aa217b
KM
14985
14986 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14987 buffer-saved-size and some allout state to not inhibit auto-saves
14988 if there are no longer any plain-text topics pending encryption.
14989
0757af94
SM
14990 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14991 No longer provide for exemption of the current topic.
13aa217b 14992
ac89b32c
JL
149932011-07-04 Juri Linkov <juri@jurta.org>
14994
14995 Add 7z operations to delete and save changed members (bug#8968).
14996 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14997 New defcustoms.
14998 (archive-7z-write-file-member): New function.
14999 (archive-7z-summarize): Fix the number of dashes in the
15000 listing output.
15001
8fa39615
SM
150022011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15003
15004 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15005 (bug#8958).
15006
2f11b3f1
CY
150072011-07-04 Chong Yidong <cyd@stupidchicken.com>
15008
d66fef2b
CY
15009 * bindings.el: Ignore next-buffer and previous-buffer in
15010 minibuffer-local-map.
15011
2f11b3f1
CY
15012 * font-lock.el (font-lock-builtin-face): Change light background
15013 color to dark slate blue (Bug#6693).
15014
f932a347
WD
150152011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15016
15017 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15018
c8af70e1
SM
150192011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15020
15021 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15022 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15023 Add switch-to-buffer.
15024
f158badc
LMI
150252011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15026
15027 * isearch.el (isearch-search-fun-function): Clarify further the
15028 meaning of the function returned.
15029
6d95bd46
MA
150302011-07-04 Michael Albinus <michael.albinus@gmx.de>
15031
15032 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15033
15034 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15035 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15036 Use it.
15037 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15038 `tramp-default-remote-path' does not exist.
15039 (tramp-send-command-and-read): New optional argument NOERROR.
15040 (tramp-open-connection-setup-interactive-shell)
15041 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15042 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15043 (tramp-process-sentinel): Flush also process' connection property.
15044 (tramp-sh-handle-start-file-process): Do not set process
15045 sentinel. It is done now ...
15046 (tramp-maybe-open-connection): ... here. (Bug#8929)
15047
909e6b67
MK
150482011-07-04 MON KEY <monkey@sandpframing.com>
15049
15050 * play/animate.el (animate-string): Doc fixes and allow changing
15051 the buffer name (bug#5417).
15052
150532011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15054
c8af70e1 15055 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15056
f34755dc
PE
150572011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15058
396cec72
PE
15059 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15060 This is simpler and helps future-proof the code.
15061 (timer-until): Use time-subtract and float-time.
08235028 15062 (timer--time-less-p): Use time-less-p.
f34755dc 15063
56e6cc31
JB
150642011-07-04 Juanma Barranquero <lekktu@gmail.com>
15065
3abb79e5
JB
15066 * type-break.el (timep): Use the value of `float-time' to avoid a
15067 byte-compiler warning.
15068
56e6cc31
JB
15069 * server.el (server-eval-and-print): Return any result, even nil.
15070
7b9430b4
PE
150712011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15072
15073 * type-break.el: Accept time formats that the builtins accept.
15074 (timep, type-break-time-difference): Accept any format that
15075 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15076 This is simpler and helps future-proof the code.
15077 (type-break-time-difference): Round rather than ignoring
15078 subseconds components.
15079
3034e9e7
LMI
150802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15081
15082 * info.el (Info-apropos-matches): Make non-interactive, since it
15083 doesn't seem to do anything useful as a command (bug#8829).
15084
1485f4c0
CY
150852011-07-03 Chong Yidong <cyd@stupidchicken.com>
15086
15087 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15088 Move from faces.el.
1485f4c0
CY
15089 (frame-default-terminal-background): New function.
15090
15091 * custom.el (custom-push-theme): Don't record faces in `changed'
15092 theme; this doesn't work correctly for per-frame face settings.
15093 (disable-theme): Use face-set-after-frame-default to reset faces.
15094 (custom--frame-color-default): New function.
15095
9fa3dd45
LMI
150962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15097
c8af70e1 15098 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15099 (bug#8769).
15100
6cbbc20c
KR
151012011-03-29 Kevin Ryde <user42@zip.com.au>
15102
15103 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15104 `perl-Test2' extend to match possible "fail #N" rep count
15105 (bug#8377).
15106
c7f98048
LMI
151072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15108
65676592
LMI
15109 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15110 `smtpmail-via-smtp' now returns the error instead of nil.
15111
c7f98048
LMI
15112 * isearch.el (isearch-search-fun-function): Clarify the doc string
15113 (bug#8101).
15114
56e6cc31 151152011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15116
15117 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15118 unnecessary spaces (bug#8987).
15119
2b216704
LMI
151202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15121
15122 * net/network-stream.el (open-network-stream): Use the
15123 :end-of-capability command thoughout.
15124
151252011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15126
15127 * net/network-stream.el (open-network-stream): Add the
15128 :end-of-capability command parameter, used by pop3.el.
15129
36adf6ce
LMI
151302011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15131
1ca0da0e
LMI
15132 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15133
fc00f69c
LMI
15134 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15135 for list)" (bug#6475).
15136
28fd8759 15137 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15138 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15139 an error (bug#6297).
15140
0dd8b6da
LMI
15141 * man.el (Man-reference-regexp): Allow matching possible
15142 word-wrapped references (bug#6289).
15143
ce1438d6
LMI
15144 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15145 for consistency with the other vc buffers (bug#6197).
15146 (vc-checkin): Ditto.
15147
15148 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15149
36adf6ce
LMI
15150 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15151
e83cc1f7
LMI
151522011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15153
8a20ca4c
LMI
15154 * custom.el (defcustom): Clarify that :set is only used in the
15155 Customize user interface (bug#6089).
15156
83319045
LMI
15157 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15158 associated with a file, refuse to run instead of erroring out
15159 (bug#6084).
15160
a8392169
LMI
15161 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15162 the doc string, since it appears that using `fill-column' always
15163 controls the width (bug#7845).
15164
e83cc1f7
LMI
15165 * simple.el (shell-command-on-region): Say where the error output
15166 went if `shell-command-default-error-buffer' is set (bug#6857).
15167
e47ca23b
KM
151682011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15169
15170 * allout.el (allout-yank-processing): Adjust cursor position for
15171 backwards-deleted space.
15172
15173 (allout-rebullet-heading): Register changes with
15174 allout-exposure-changed-hook, so the modified topic is properly
15175 decorated.
15176
5cf56143
LMI
151772011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15178
08549772
LMI
15179 * minibuffer.el (completion-in-region): Document PREDICATE
15180 (bug#7136).
15181
48e96771
LMI
15182 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15183 of keyword/argument pairs (bug#6904).
15184
c8af70e1
SM
15185 * replace.el (multi-occur):
15186 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15187
e17d05e2
LMI
151882011-07-02 Drew Adams <drew.adams@oracle.com>
15189
15190 * dired.el (dired-mark-if): Make the message about whether it's
15191 marking or unmarking clearer (bug#8523).
15192
063b0e45
LMI
151932011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15194
15195 * disp-table.el (display-table-print-array): New function.
15196 (describe-display-table): Use it to print the vectors more pretty
15197 (Bug#8859).
15198
28545e04
MR
151992011-07-02 Martin Rudalics <rudalics@gmx.at>
15200
15201 * window.el (window-state-get-1): Don't assign clone numbers.
15202 Add clone-of item to list of window parameters.
15203 (window-state-put-2): Don't process clone numbers.
15204 (display-buffer-alist): Fix doc-string.
15205
3349e122
SM
152062011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15207
15208 * subr.el (remq): Don't allocate if it's not needed.
15209 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15210 (keymap--merge-bindings): New functions.
15211 (keymap-canonicalize): Use them to refine the canonicalization.
15212 * minibuffer.el (minibuffer-local-completion-map)
15213 (minibuffer-local-must-match-map): Move initialization from C.
15214 (minibuffer-local-filename-completion-map): Move initialization from C;
15215 don't inherit from anything here.
15216 (minibuffer-local-filename-must-match-map): Make obsolete.
15217 (completing-read-default): Use make-composed-keymap to combine
15218 minibuffer-local-filename-completion-map with either
15219 minibuffer-local-must-match-map or
15220 minibuffer-local-filename-completion-map.
15221
d224ac83
GM
152222011-07-01 Glenn Morris <rgm@gnu.org>
15223
3de63bf8
GM
15224 * type-break.el (type-break-time-sum): Use dolist.
15225
d224ac83
GM
15226 * textmodes/flyspell.el (flyspell-word-search-backward):
15227 Replace CL function.
15228
1a1e3f32
SM
152292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15230
fe3f64d5
SM
15231 * mouse.el (mouse--strip-first-event): New function.
15232 (function-key-map): Use it to map fringe clicks to normal clicks
15233 by default.
15234
eb604e34
SM
15235 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15236 (vc-bzr-revision-completion-table): Add support for annotate and date.
15237
1a1e3f32
SM
15238 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15239 inherit from parent.
15240
5bd35902
LMI
152412011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15242
ace6c69c 15243 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15244 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15245
191e2bed
LMI
15246 * dired.el (dired-mode): Fix up the doc string as suggested by
15247 Drew Adams (bug#8817).
15248
5bd35902
LMI
15249 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15250 cookie, since the manual says that it should be possible to add
15251 this function to `find-file-hook' (bug#8709).
15252
eee8207a
TZ
152532011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15254
15255 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15256 here. Noted Ted Zlatanov as the maintainer.
15257 (cfengine-common-settings, cfengine-common-syntax): New functions
15258 to set up common things between `cfengine-mode' and
15259 `cfengine3-mode'.
15260 (cfengine3-mode): New mode.
15261 (cfengine3-defuns cfengine3-defuns-regex
15262 (cfengine3-class-selector-regex cfengine3-category-regex)
15263 (cfengine3-vartypes cfengine3-font-lock-keywords)
15264 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15265 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15266
36b148cf
MA
152672011-07-01 Michael Albinus <michael.albinus@gmx.de>
15268
15269 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15270
15271 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15272
0bf4ba9a
MR
152732011-07-01 Martin Rudalics <rudalics@gmx.at>
15274
15275 * window.el (same-window-buffer-names, same-window-regexps)
15276 (same-window-p, special-display-frame-alist)
15277 (special-display-popup-frame, special-display-function)
15278 (special-display-buffer-names, special-display-regexps)
15279 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15280 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15281 (split-window-preferred-function, split-height-threshold)
15282 (split-width-threshold, even-window-heights)
15283 (display-buffer-mark-dedicated, window-splittable-p)
15284 (split-window-sensibly, window-safely-shrinkable-p):
15285 Un-obsolete.
15286 (display-buffer): Don't spread args with function specifier
15287 because special-display-popup-frame won't like it.
15288
35837f51
PE
152892011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15290
d0672f86
PE
15291 Time-stamp simplifications and fixes.
15292 These improve accuracy slightly, and future-proof the code
15293 against some potential changes to current-time format.
15294
b9444d97
PE
15295 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15296 by using time-since and float-time.
15297
0ef923dc
PE
15298 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15299 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15300 + NNN microseconds".
15301
2f81380d
PE
15302 * type-break.el (type-break-time-sum): Rewrite using time-add.
15303
845b5c3e
PE
15304 * play/hanoi.el (hanoi-current-time-float): Remove.
15305 All uses replaced by float-time.
15306
ee6f1be0
PE
15307 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15308 This yields a more-accurate answer.
15309 (rng-time-to-float): Remove; no longer needed.
15310
fe955043
PE
15311 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15312
5777162a
PE
15313 * calendar/timeclock.el (timeclock-seconds-to-time):
15314 Defalias to seconds-to-time, since they're the same thing.
15315
3103f8b6 15316 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15317 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15318 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15319
0e61a35f
SM
153202011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15321
15322 * window.el (bury-buffer): Don't iconify the only frame.
15323 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15324 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15325
ddd63a1e
CY
153262011-07-01 Chong Yidong <cyd@stupidchicken.com>
15327
0e61a35f
SM
15328 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15329 Add mouse-yank-primary.
ddd63a1e 15330
055f4923
TZ
153312011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15332
15333 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15334
6a2fb145
SM
153352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15336
15337 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15338 (find-library-name): Use it to find relative load names when provided
15339 absolute file name (bug#8803).
15340
fd4983f2
LMI
153412011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15342
887d14ad
LMI
15343 * textmodes/flyspell.el (flyspell-word): Consider words that
15344 differ only in case as potential doublons (bug#5687).
15345
c53dc7fc
LMI
15346 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15347 Remove two rather uninteresting debugging-like messages to make
15348 debbugs.el more silent.
15349
fd4983f2
LMI
15350 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15351 a password-like phrase.
15352
7a71b18d 153532011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15354
15355 * progmodes/cc-guess.el: New file.
15356
6a2fb145 15357 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15358
15359 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15360 derived from `c-basic-common-init'.
15361
15362 * progmodes/cc-mode.el (top-level): Require cc-guess.
15363 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15364
1fa280a3
LM
153652011-06-30 Lawrence Mitchell <wence@gmx.li>
15366
15367 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15368
e6597158
AM
153692011-06-30 Alan Mackenzie <acm@muc.de>
15370
1fa280a3
LM
15371 * progmodes/cc-engine.el (c-guess-continued-construct):
15372 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15373 lock is disabled. Name this case as "CASE G".
15374
68ba37fb
KM
153752011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15376
15377 * allout.el (allout-yank-processing): Fix injection of extra space
15378 between bullet and non-whitespace character in first topic when
15379 pasting, ensuring that the actual spacing in the pasted topic
15380 following the bullet char is preserved. This extra space was
15381 causing pasted encrypted topics to get a decrypted status even
15382 when the content was actually still encrypted. Now the decryption
15383 status from before the paste is preserved.
15384
15385 (allout-flag-region): Set all allout overlays so they evaporate
15386 when reduced to zero length (evanescent), to prevent overlay
15387 leakage.
15388
887a0b34
GM
153892011-06-30 Glenn Morris <rgm@gnu.org>
15390
94b9acce
GM
15391 * w32-fns.el (w32-charset-info-alist): Declare.
15392
1d9b46d4
GM
15393 * find-dired.el (find-grep-options): Simplify.
15394
cc232200
GM
15395 * term/ns-win.el (ns-set-resource): Declare.
15396
28e77c46
GM
15397 * ses.el (row, col): Declare dynamic variables honestly.
15398
887a0b34
GM
15399 * textmodes/reftex-parse.el (index-tags): Declare.
15400
658d8eb8
CY
154012011-06-30 Chong Yidong <cyd@stupidchicken.com>
15402
15403 * cus-edit.el (customize-push-and-save): New function.
15404
15405 * files.el (hack-local-variables-confirm): Use it.
15406
1fa280a3
LM
15407 * custom.el (load-theme): New arg NO-CONFIRM.
15408 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15409 (custom-enabled-themes): Doc fix.
15410
15411 * cus-theme.el (customize-create-theme)
15412 (custom-theme-merge-theme): Callers to load-theme changed.
15413
bb617717
LMI
154142011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15415
d61bdd5d
LMI
15416 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15417 short URLs have at least one dot in them (bug #7614).
15418
bb617717
LMI
15419 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15420 nil, because using a pty is apparently too slow (bug #895).
15421
2f31f37a
LMI
154222011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15423
15424 * mail/sendmail.el (sendmail-query-once): New function.
15425 (sendmail-query-once-function): New variable.
15426
3076b24e
GM
154272011-06-29 Glenn Morris <rgm@gnu.org>
15428
faf2a174
GM
15429 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15430
3076b24e
GM
15431 * ses.el (top-level): Require cl when compiling.
15432 (ses-set-localvars): Fix error statement.
15433 Call it at compile time to silence a storm of warnings.
15434
5386012d
MR
154352011-06-29 Martin Rudalics <rudalics@gmx.at>
15436
15437 * window.el (normalize-live-buffer): Rename to
15438 window-normalize-buffer.
15439 (normalize-live-frame): Rename to window-normalize-frame.
15440 (normalize-any-window): Rename to window-normalize-any-window.
15441 (normalize-live-window): Rename to window-normalize-live-window.
15442 (make-window-atom): Rename to window-make-atom.
15443 (window-resize-reset): Rename to window--resize-reset.
15444 (window-resize-reset-1): Rename to window--resize-reset-1.
15445 (resize-mini-window): Rename to window--resize-mini-window.
15446 (resize-subwindows-skip-p): Rename to
15447 window--resize-subwindows-skip-p.
15448 (resize-subwindows-normal): Rename to
15449 window--resize-subwindows-normal.
15450 (resize-subwindows): Rename to window--resize-subwindows.
15451 (resize-other-windows): Rename to window--resize-siblings.
15452 (resize-this-window): Rename to window--resize-this-window.
15453 (resize-root-window): Rename to window--resize-root-window.
15454 (resize-root-window-vertically): Rename to
15455 window--resize-root-window-vertically.
15456 (normalize-buffer-to-display): Rename to
15457 window-normalize-buffer-to-display.
15458 (normalize-buffer-to-switch-to): Rename to
15459 window-normalize-buffer-to-switch-to.
15460 Correspondingly update all callers of the functions listed
15461 above.
15462 (display-buffer-alist, display-buffer-normalize-arguments)
15463 (display-buffer-normalize-options, display-buffer)
15464 (display-buffer-alist-set): Use "function" instead of
15465 "fun-with-args".
15466
1176868d
CY
154672011-06-28 Chong Yidong <cyd@stupidchicken.com>
15468
15469 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15470 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15471 debbugs.gnu.org. Mention acknowledgment email.
15472
20a7a65f
LMI
154732011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15474
15475 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15476 buffer multibyteness, since it shouldn't matter.
15477
5f45cca5
MR
154782011-06-28 Martin Rudalics <rudalics@gmx.at>
15479
15480 * window.el (display-buffer-in-side-window): Handle dedicated
15481 windows as in display-buffer-reuse-window.
15482 (display-buffer-normalize-alist): Use value of override
15483 specifier.
15484 (display-buffer-normalize-specifiers): Use value of
15485 other-window-means-other-frame specifier.
15486 (display-buffer-alist): Rewrite some texts in widgets.
15487 (display-buffer): Spread arguments when calling function
15488 specified by fun-with-args.
15489
ad85fe1f
DD
154902011-06-28 Deniz Dogan <deniz@dogan.se>
15491
1fa280a3
LM
15492 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15493 Unnest `let'.
da68c4c8 15494
ad85fe1f
DD
15495 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15496 selectors (Bug#5732).
ec49bd31 15497 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15498
a08cc025
JA
154992011-06-27 Jari Aalto <jari.aalto@cante.net>
15500
15501 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15502 (eshell-ls-date-format): New defcustom.
15503 (eshell-ls-file): Use it.
15504
e2b551c5
SM
155052011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15506
15507 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15508
8982b231
KY
155092011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15510
15511 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15512 (ange-ftp-make-tmp-name): New arg.
15513 (ange-ftp-file-local-copy): Use it.
15514
36c9fa27
J
155152011-06-27 Jambunathan K <kjambunathan@gmail.com>
15516
15517 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15518 no-conversion (Bug#8870).
15519
d68443dc
MR
155202011-06-27 Martin Rudalics <rudalics@gmx.at>
15521
15522 * window.el (window-right, window-left, window-child)
15523 (window-child-count, window-last-child)
15524 (window-iso-combination-p, walk-window-tree-1)
15525 (window-atom-check-1, window-tree-1, delete-window)
15526 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15527 new naming conventions - window-vchild, window-hchild,
15528 window-next and window-prev are now called window-top-child,
15529 window-left-child, window-next-sibling and window-prev-sibling
15530 respectively.
d615d6d2
MR
15531 (resize-window-reset): Rename to window-resize-reset.
15532 (resize-window-reset-1): Rename to window-resize-reset-1.
15533 (resize-window): Rename to window-resize.
15534 (window-min-height, window-min-width)
15535 (resize-mini-window, resize-this-window, resize-root-window)
15536 (resize-root-window-vertically, adjust-window-trailing-edge)
15537 (enlarge-window, shrink-window, maximize-window)
15538 (minimize-window, delete-window, quit-restore-window)
15539 (split-window, balance-windows, balance-windows-area-adjust)
15540 (balance-windows-area, window-state-put-2)
15541 (display-buffer-even-window-sizes, display-buffer-set-height)
15542 (display-buffer-set-width, set-window-text-height)
15543 (fit-window-to-buffer): Rename all "resize-window" prefixed
15544 calls to use the "window-resize" prefix convention.
15545 (display-buffer-alist): Fix symbol for label specifier.
15546 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15547 corresponding specifier.
15548 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15549
b6458526
VB
155502011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15551
15552 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15553 convention.
15554 (ses-call-printer): Does not pass an empty string to formatter when the
15555 cell is empty to keep from barking printer Calc math-format-value.
15556
d31fd9ac
RS
155572011-06-27 Richard Stallman <rms@gnu.org>
15558
43d5bf84
RS
15559 * battery.el (battery-mode-line-limit): New variable.
15560 (battery-update): Handle it.
15561
d31fd9ac
RS
15562 * mail/rmailmm.el (rmail-mime-process-multipart):
15563 Handle truncated messages.
15564
819a6054
GM
155652011-06-27 Glenn Morris <rgm@gnu.org>
15566
15567 * progmodes/flymake.el (flymake-err-line-patterns):
15568 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15569
cedc73f2
VB
155702011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15571
819a6054 15572 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15573 (ses--clean-!, ses--clean-_): New functions.
15574 (ses-range): Add configurability of readout order, and conversion
15575 to Calc vector.
15576
5e5d49b6
VB
15577 * ses.el (ses-repair-cell-reference-all): New function.
15578 (ses-cell-symbol): Set macro as safe, so that it can be used in
15579 formulas.
15580
56e6cc31 15581 * ses.el: Update cycle detection algorithm.
90ca8b49 15582 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15583 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15584 (ses-set-localvars): New function.
15585 (ses-make-cell): Add property-list as a cell element.
15586 (ses-cell-property-get-fun, ses-cell-property-get)
15587 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15588 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15589 New functions.
90ca8b49
VB
15590 (ses-cell-property-set, ses-cell-property-pop)
15591 (ses-cell-property-get-handle): New macro.
15592 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15593 New aliases, used for code readability.
15594 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15595 cycle detection.
15596 (ses-self-reference-early-detection): New defcustom.
fac916bf 15597 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15598 (ses-mode): Use ses-set-localvars.
15599 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15600 before lauching the update processing.
15601 (ses-initialize-Dijkstra-attempt): New function.
15602 (ses-recalculate-cell): Update for cycle detection based on
15603 Dijkstra algorithm.
15604
2bb63e81
VB
15605 * ses.el: Fix commenting and indenting convention.
15606
c9d29fb8
SM
156072011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15608
15609 * bs.el (bs-cycle-next): Complete last change.
15610
d8e4b68b
JB
156112011-06-27 Drew Adams <drew.adams@oracle.com>
15612
15613 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15614
40098786
LMI
156152011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15616
c9d29fb8
SM
15617 * net/network-stream.el (network-stream-open-starttls):
15618 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15619 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15620
40098786
LMI
15621 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15622 to binary to possibly avoid line encoding issues on Windows (among
15623 other things).
15624
468d09d4
LMI
156252011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15626
15627 * net/network-stream.el (open-network-stream): Return an :error
15628 saying what the problem was, if possible.
15629
15630 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15631 server.
15632
15633 * net/network-stream.el (network-stream-open-starttls): If we
15634 wanted to use STARTTLS, and the server offered it, but we weren't
15635 able to because we had no STARTTLS support, then close the connection.
15636 (open-network-stream): Return an :error element, if present.
15637
16f07dd7
CY
156382011-06-26 Chong Yidong <cyd@stupidchicken.com>
15639
88821ca0
CY
15640 * hl-line.el (hl-line-sticky-flag): Doc fix.
15641 (global-hl-line-sticky-flag): New option (Bug#8323).
15642 (global-hl-line-highlight): Obey it.
15643
16f07dd7
CY
15644 * vc/vc.el (vc-revert-show-diff): Default to t.
15645
6b5ccddf
KM
156462011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15647
c9d29fb8
SM
15648 * allout-widgets.el (allout-widgets-post-command-business):
15649 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15650 undecorated when an isearch is continued past, and isearch
15651 automatically collapses them. This leads to "widget leaks", where
15652 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15653 hidden widgets can slow down cursor travel, substantially.
15654 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15655 so we're doing without this nicety.
15656
15657 (allout-widgets-tally-string): Don't try to do a hash-table-count
15658 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15659 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15660 *Messages* when allout-widgets-maintain-tally is t.
15661
355f2e07
MR
156622011-06-26 Martin Rudalics <rudalics@gmx.at>
15663
15664 * window.el (display-buffer-normalize-argument): Rename to
15665 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15666 LABEL argument. Respect special-display-function when popping up
15667 a new frame. Fix code searching for a window showing the buffer
15668 on another frame.
c9d29fb8
SM
15669 (display-buffer-normalize-specifiers):
15670 Call display-buffer-normalize-arguments.
355f2e07
MR
15671 (display-buffer-in-window): Don't undedicate the window if its
15672 buffer remains the same.
15673 Reported by Drew Adams <drew.adams@oracle.com>.
15674 (display-buffer-alist): Add choice for same-window macro
15675 specfier.
15676 (display-buffer): Mention special meaning of LABEL argument in
15677 doc-string. Fix quoting. Don't pop up a new frame even as
15678 fallback.
15679
7ca8fc42
JB
156802011-06-26 Juanma Barranquero <lekktu@gmail.com>
15681
15682 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15683 avoid deleting the current window in some cases (bug#8911).
15684
bc312254
AS
156852011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15686
15687 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15688 (Bug#8934)
15689
2db18f3f
LMI
156902011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15691
c9d29fb8
SM
15692 * net/network-stream.el (network-stream-open-starttls):
15693 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15694 (network-stream-open-tls): Ditto.
15695
6302e0d3
LL
156962011-06-26 Leo Liu <sdl.web@gmail.com>
15697
15698 * register.el (registerv): New struct.
15699 (registerv-make): New function.
c9d29fb8
SM
15700 (jump-to-register, describe-register-1, insert-register):
15701 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15702 struct. (Bug#8415)
15703
5fdd4046
CY
157042011-06-26 Chong Yidong <cyd@stupidchicken.com>
15705
2afef60a
CY
15706 * vc/vc.el (vc-revert-show-diff): New defcustom.
15707 (vc-diff-internal): New arg specifying diff buffer.
15708 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15709 reuse an existing *vc-diff* buffer (Bug#8927).
15710
5fdd4046
CY
15711 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15712
e93db24a
GM
157132011-06-26 Glenn Morris <rgm@gnu.org>
15714
15715 * progmodes/f90.el (f90-critical-indent): New option.
15716 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15717 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15718 (f90-mode): Doc fix.
15719 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15720 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15721 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15722 (f90-match-end): Handle block, critical.
15723
eefff499
GM
157242011-06-25 Glenn Morris <rgm@gnu.org>
15725
f6ba4cc9
GM
15726 * calendar/diary-lib.el (diary-included-files): Doc fix.
15727 (diary-include-files): New function, extracted from
15728 diary-include-other-diary-files and diary-mark-included-diary-files.
15729 (diary-include-other-diary-files, diary-mark-included-diary-files):
15730 Just call diary-include-files.
15731 (diary-mark-entries): Reset diary-included-files on first call.
15732
16712304
GM
15733 * calendar/diary-lib.el (diary-mark-entries)
15734 (diary-mark-included-diary-files):
15735 Visit included diary-files in temp buffers.
15736
5d8e0d43
GM
15737 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15738 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15739 (f90-start-block-re, f90-imenu-generic-expression)
15740 (f90-looking-at-program-block-start, f90-no-block-limit):
15741 Add support for submodules.
15742
ccf7a5d5
GM
15743 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15744 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15745
11fdef7d 157462011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15747
15748 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15749 buffer-file-type before setting its value, to avoid disastrous
eefff499 15750 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15751
74f53697
JB
157522011-06-25 Juanma Barranquero <lekktu@gmail.com>
15753
15754 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15755
15756 * ses.el (ses-unload-function):
15757 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15758
15759 * proced.el (proced-unload-function):
15760 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15761
18a4ce5e
AR
157622011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15763
15764 * server.el (server-create-window-system-frame): Add parameters arg.
15765 (server-process-filter): Doc fix. Handle frame-parameters.
15766
519d22cc
JB
157672011-06-25 Juanma Barranquero <lekktu@gmail.com>
15768
15769 Fix bug#8730, bug#8781.
15770
15771 * loadhist.el (unload--set-major-mode): New function.
15772 (unload-feature): Use it.
15773
15774 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15775 (python-unload-function): New function.
15776
c206f5b0
SM
157772011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15778
15779 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15780
f9ad64f3
GS
157812011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15782
15783 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15784 the candidates list.
15785
7d0da90e
JB
157862011-06-24 Juanma Barranquero <lekktu@gmail.com>
15787
15788 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15789
14b4e83d
RS
157902011-06-23 Richard Stallman <rms@gnu.org>
15791
15792 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15793 (rmail-variables): Set next-error-move-function.
15794 (rmail-what-message): Take argument POS.
15795 (rmail-next-error-move): New function.
15796
273d2baf
SM
157972011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15798
15799 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15800 messages for adjacent non-terminals.
15801
56c2cc9a
RS
158022011-06-23 Richard Stallman <rms@gnu.org>
15803
15804 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15805 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15806 (rmail-start-mail): Don't specify use of rmail-mail-return;
15807 that's done by mail-bury now.
15808 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15809
d59eb518
MA
158102011-06-23 Michael Albinus <michael.albinus@gmx.de>
15811
15812 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15813 SIZE is a number.
15814
02cfc6d6
MR
158152011-06-23 Martin Rudalics <rudalics@gmx.at>
15816
15817 * window.el (get-lru-window, get-mru-window)
15818 (get-largest-window): Never return a minibuffer window.
15819 (display-buffer-pop-up-window): Fix a bug that could lead to
15820 reusing the minibuffer window.
15821 (display-buffer): Pass original specifier argument to
15822 display-buffer-function instead of the normalized one.
15823 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15824
4e323265
LL
158252011-06-22 Leo Liu <sdl.web@gmail.com>
15826
15827 * minibuffer.el (completing-read-function)
15828 (completing-read-default): Move from minibuf.c
15829
7a70468f
RS
158302011-06-22 Richard Stallman <rms@gnu.org>
15831
50718fc2
RS
15832 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15833 to Rmail even if not started by a special Rmail command.
15834
7a70468f
RS
15835 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15836 Copy the buffer currently showing just one message.
15837
297dde5a
RW
158382011-06-22 Roland Winkler <winkler@gnu.org>
15839
15840 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15841 (bibtex-clean-entry): First delete the old key so that a
15842 customized algorithm for generating the new key does not get
15843 confused by the old key.
15844 (bibtex-url): Obey regexp of first step.
15845 (bibtex-search-entries): Do not use add-to-list with local
15846 list-var.
15847
97bb1093
LMI
158482011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15849
15850 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15851 stored a user name, then query for the password first, instead of
15852 waiting for SMTP to give an error message and the trying again.
15853
1c0f1a19
JD
158542011-06-22 Lawrence Mitchell <wence@gmx.li>
15855
15856 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15857 BUFFER in call-process.
15858
396f7c9d
LMI
158592011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15860
15861 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15862 QUIT twice.
ddb7ffee
LMI
15863 (smtpmail-try-auth-methods): Require user name and password from
15864 auth-source.
396f7c9d 15865
8998d1b3
MR
158662011-06-22 Martin Rudalics <rudalics@gmx.at>
15867
15868 * window.el (display-buffer-default-specifiers)
15869 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15870 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15871 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15872
15873 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15874 (special-display-frame-alist, special-display-popup-frame):
15875 Remove duplicate declarations. These are now in window.el.
15876
4ea31e07
LMI
158772011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15878
c9d29fb8
SM
15879 * mail/smtpmail.el (smtpmail-via-smtp):
15880 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15881 server supports it. SMTP servers that support STARTTLS commonly
15882 require it.
15883
15884 * net/network-stream.el (network-stream-open-starttls): Support
15885 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15886 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15887
95f41d9a
LMI
15888 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15889 upgrades with `open-network-stream', and rely solely on
15890 auth-source for all credentials. Big changes throughout the file,
15891 but in particular:
c9d29fb8
SM
15892 (smtpmail-auth-credentials): Remove.
15893 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15894 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15895 MAIL FROM, too.
95f41d9a 15896
c9d29fb8
SM
15897 * net/network-stream.el (network-stream-open-starttls):
15898 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15899 STARTTLS.
15900 (auth-source): Require.
15901 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15902 (network-stream-certificate): Change cert-cert to cert and
15903 cert-key to key.
4ea31e07 15904
065ec2c7
MA
159052011-06-21 Michael Albinus <michael.albinus@gmx.de>
15906
15907 * net/tramp-cache.el (top): Don't load the persistency file when
15908 "emacs -Q" has been called.
15909
cd93b359
DR
159102011-06-21 Tim Harper <timcharper@gmail.com>
15911
d8e4b68b
JB
15912 * term/ns-win.el (ns-initialize-window-system):
15913 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15914 resource to NO as it is not yet supported by the NS port.
15915
ae9c0411
JB
159162011-06-21 Juanma Barranquero <lekktu@gmail.com>
15917
15918 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15919 (list-dynamic-libraries): ...not here.
15920
7f3f739f
LL
159212011-06-21 Leo Liu <sdl.web@gmail.com>
15922
15923 * subr.el (sha1): Implement sha1 using secure-hash.
15924
327c8fb1
MR
159252011-06-21 Martin Rudalics <rudalics@gmx.at>
15926
15927 * window.el (display-buffer-alist): In default value do not
15928 enforce searching a window on any but the selected frame.
15929 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15930 (display-buffer-select-window): Remove function.
15931 (display-buffer-in-window): When a window on another frame gets
15932 reused, do not select it any more but just raise its frame if
15933 necessary (Bug#8851) and (Bug#8856).
15934 (display-buffer-normalize-options): Handle pop-up-frames related
15935 options more faithfully.
15936 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15937 window if it is on another frame.
c9d29fb8
SM
15938 (display-buffer-alist, display-buffer-default-specifiers):
15939 Don't make new frame unsplittable by default.
9e9de014
MR
15940 (display-buffer-normalize-argument): Fix doc-string typo and use
15941 'same-frame-other-window instead of 'other-window when associating
15942 with display-buffer-macro-specifiers.
327c8fb1 15943
7cf3f556
VB
159442011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15945
15946 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15947 New functions.
15948 (5x5-mode-map, 5x5-mode-menu): Bind them.
15949 (5x5-draw-grid): Tweak the solver's rendering.
15950
60a406cf
SM
159512011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15952
15953 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15954 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15955
d8e4b68b 159562011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15957
15958 * menu-bar.el: Use function variable instead of switch-to-buffer.
15959 (menu-bar-select-buffer-function): New variable.
60a406cf 15960 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15961
478d6f95
SM
159622011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15963
15964 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15965 variable's status.
15966
ca530739
JD
159672011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15968
15969 * x-dnd.el (x-dnd-version-from-flags)
15970 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15971 and long as number (Bug#8899).
15972 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15973
bcd70d97
SM
159742011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15975
60a406cf 15976 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15977 (completion-try-completion, completion-all-completions): Compute the
15978 metadata argument if it's missing; make it optional (bug#8795).
15979
60a406cf 15980 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15981 (widget-complete): Use new :completion-function property.
15982 (widget-completions-at-point): New function.
15983 (default): Use :completion-function instead of :complete.
60a406cf
SM
15984 (widget-default-completions): Rename from widget-default-complete;
15985 Rewrite.
bcd70d97
SM
15986 (widget-string-complete, widget-file-complete, widget-color-complete):
15987 Remove functions.
15988 (file, symbol, function, variable, coding-system, color):
15989 * international/mule-cmds.el (default-input-method, charset)
15990 (language-info-custom-alist):
15991 * cus-edit.el (face): Use new property :completions.
15992
15993 * progmodes/pascal.el (pascal-completions-at-point): New function.
15994 (pascal-mode): Use it.
15995 (pascal-mode-map): Use completion-at-point.
15996 (pascal-toggle-completions): Make obsolete.
15997 (pascal-complete-word, pascal-show-completions):
15998 * progmodes/octave-mod.el (octave-complete-symbol):
15999 Redefine as obsolete alias.
16000 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16001 Signal absence of completion info for old Octave,
16002 (inferior-octave-complete): Redefine as obsolete alias.
16003 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16004 (meta-completions-at-point): Rename from meta-complete-symbol and
16005 adapt it for use on completion-at-point-functions.
16006 (meta-common-mode): Use it.
16007 (meta-looking-at-backward, meta-match-buffer): Remove.
16008 (meta-complete-symbol): Redefine as obsolete alias.
16009 (meta-common-mode-map): Use completion-at-point.
16010 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16011 (makefile-mode-map): Use completion-at-point.
16012 (makefile-completions-at-point): Rename from makefile-complete and
16013 adapt it for use on completion-at-point-functions.
16014 (makefile-mode): Use it.
16015 (makefile-complete): Redefine as obsolete alias.
16016
aebf69c8
DD
160172011-06-20 Deniz Dogan <deniz@dogan.se>
16018
16019 * net/rcirc.el: Delete trailing whitespaces once and for all.
16020
bfbbb27d
DC
160212011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16022
16023 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16024
d264a46b
CY
160252011-06-19 Chong Yidong <cyd@stupidchicken.com>
16026
4ca009e5
CY
16027 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16028
d264a46b
CY
16029 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16030
fbf5b3ce
MR
160312011-06-19 Martin Rudalics <rudalics@gmx.at>
16032
16033 * window.el (display-buffer-other-window-means-other-frame):
16034 Call display-buffer-normalize-alist.
16035 (display-buffer-normalize-specifiers-1): Rename to
16036 display-buffer-normalize-argument. New argument other-frame.
16037 Rewrite.
16038 (display-buffer-normalize-specifiers-2): Rename to
16039 display-buffer-normalize-options.
16040 (display-buffer-normalize-alist-1): New function.
16041 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16042 display-buffer-normalize-alist.
16043 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16044 (display-buffer-normalize-options-inhibit): New variable.
16045 (display-buffer-normalize-specifiers): Rewrite calling
16046 display-buffer-normalize-alist,
16047 display-buffer-normalize-argument, and
16048 display-buffer-normalize-options. Don't call the latter if
16049 display-buffer-normalize-options-inhibit is non-nil.
16050 (frame-auto-delete): New option.
16051 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16052 (window-list-no-nils, window-state-ignored-parameters)
16053 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16054 (window-state-put-1, window-state-put-2, window-state-put):
16055 New functions.
9a028c23
MR
16056 (display-buffer-normalize-options): Move special-display-p group
16057 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16058
6d10d800
CY
160592011-06-18 Chong Yidong <cyd@stupidchicken.com>
16060
6420d28b
CY
16061 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16062 groups (Bug#8776).
16063 (rx-submatch-n): New function.
16064 (rx): Document it.
16065
ddb8b596
CY
16066 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16067 (Bug#8768).
16068
16069 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16070
77080289
CY
16071 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16072
61dfb316
CY
16073 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16074 anytime existing face settings are present (Bug#8889).
16075
6d10d800
CY
16076 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16077 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16078 Remove unused argument.
16079
be3fb2b8
MR
160802011-06-18 Martin Rudalics <rudalics@gmx.at>
16081
bcd70d97
SM
16082 * window.el (display-buffer-default-specifiers):
16083 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16084 pop-up-window-min-width, and another reuse-window specifier
16085 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16086 (display-buffer-normalize-specifiers-2):
16087 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16088 pop-up-windows is unset. Add a reuse-window specifier for the
16089 case popping up a new window fails.
16090 (special-display-popup-frame): Remove double quoting.
28dec25a 16091 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16092
1c6d8c76
SM
160932011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16094
16095 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16096 according to comint-completion-addsuffix.
16097
16098 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16099 (pcomplete-suffix-list): Mark as obsolete.
16100 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16101 pcomplete-seen in the closure.
16102 (pcomplete-comint-setup): Setup completion-at-point as well.
16103 (pcomplete--entries): New function.
16104 (pcomplete--env-regexp): New var.
16105 (pcomplete-entries): Rewrite to work with partial-completion and
16106 without relying on pcomplete-suffix-list.
16107 (pcomplete-pare-list): Remove, unused.
16108
25aef8b8
MR
161092011-06-17 Martin Rudalics <rudalics@gmx.at>
16110
16111 * window.el (display-buffer-alist): Set pop-up-window-min-height
16112 and pop-up-window-min-width in default value. Reported by
16113 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16114 other-window-means-other-frame.
16115 (display-buffer-macro-specifiers): Comment out entry for
16116 other-window specifier.
16117 (display-buffer-other-window-means-other-frame): New function.
16118 (display-buffer-normalize-specifiers-1): New arguments
16119 buffer-name and label. Treat other-window case specially.
16120 (display-buffer-normalize-specifiers-2): Treat other-window case
16121 specially.
16122 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16123 (display-buffer-normalize-specifiers):
16124 Call display-buffer-normalize-specifiers-3.
25aef8b8 16125
dbad4f69
MR
161262011-06-17 Martin Rudalics <rudalics@gmx.at>
16127
16128 * window.el (same-window-p): Fix two typos introduced when
16129 adding with-no-warnings.
d1067961
MR
16130 (display-buffer-normalize-specifiers-1): Don't check
16131 pop-up-frames for 'unset initialization.
16132 (display-buffer-normalize-specifiers-2): Major rewrite using
16133 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16134 (pop-up-frames, display-buffer-reuse-frames)
16135 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16136 Suggested by David Engster <deng@randomsample.de>.
16137 (even-window-heights): Initialize to 'unset.
16138 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16139 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16140 other window case.
dbad4f69 16141
9b9c9e3a
MR
161422011-06-16 Martin Rudalics <rudalics@gmx.at>
16143
bcd70d97
SM
16144 * window.el (display-buffer-normalize-specifiers-1):
16145 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16146 second argument of display-buffer (Bug#8865).
981d5c09
MR
16147 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16148 (switch-to-buffer-other-window-same-frame)
16149 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16150 Adams (Bug#8875).
9c2755e9
MR
16151 (display-buffer): Don't check noninteractive when calling
16152 display-buffer-pop-up-frame.
16153 (display-buffer-pop-up-frame): Never pop up a frame in
16154 noninteractive mode (Bug#8857).
67222e1d
MR
16155 (enlarge-window, shrink-window): Don't report an error when the
16156 window can't be resized as requested (Bug#8862).
9b9c9e3a 16157
2b75be67
SM
161582011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16159
9ffdd3ba
SM
16160 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16161
cb581a67
SM
16162 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16163
2b75be67
SM
16164 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16165
8c0e3589
AM
161662011-06-15 Alan Mackenzie <acm@muc.de>
16167
cb581a67
SM
16168 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16169 for declarators, disable knr checking to speed up for normal files.
16170 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16171
b96e6cde
LMI
161722011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16173
4bba86e6
LMI
16174 * net/network-stream.el (open-network-stream): Add the keyword
16175 :always-query-capabilities for the case where you want to force a
16176 `plain' network connection, but the protocol still requires the
16177 capabilitiy command (i.e., SMTP and EHLO).
16178
2b75be67 16179 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16180 consistency with other `-live-p' functions.
16181
efdcdbf8
SM
161822011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16183
16184 * window.el (same-window-buffer-names, same-window-regexps)
16185 (special-display-frame-alist, special-display-popup-frame)
16186 (special-display-function, special-display-buffer-names)
16187 (special-display-regexps, pop-up-frame-alist)
16188 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16189 (pop-up-windows, split-window-preferred-function)
16190 (split-height-threshold, split-width-threshold, even-window-heights)
16191 (display-buffer-mark-dedicated): Don't encourage the use of
16192 display-buffer-alist from Elisp code.
16193
c5cde042
DN
161942011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16195
16196 * progmodes/python.el (python-mode): Derive from prog-mode.
16197 * progmodes/ps-mode.el (ps-mode):
16198 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16199 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16200 * progmodes/ld-script.el (ld-script-mode): Likewise.
16201
baa1c9ab
MR
162022011-06-15 Martin Rudalics <rudalics@gmx.at>
16203
16204 * window.el (display-buffer-alist): Trim default value to avoid
16205 popping up a new frame (Bug#8857) or reusing an arbitrary window
16206 on another frame.
16207 (display-buffer): Do not fall back on popping up a new frame in
16208 batch mode (Bug#8857).
16209
c5dd5a51
CY
162102011-06-14 Chong Yidong <cyd@stupidchicken.com>
16211
16212 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16213 (custom-theme-summary): New function.
16214 (customize-themes): Use it.
16215
d647b7c4
GM
162162011-06-13 Glenn Morris <rgm@gnu.org>
16217
16218 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16219
9481c002
MR
162202011-06-13 Martin Rudalics <rudalics@gmx.at>
16221
357f93d2
MR
16222 * help.el (help-window): Remove variable.
16223 (help-window-point-marker, temp-buffer-max-height)
16224 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16225 (help-print-return-message): Don't set help-window.
16226 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16227 (help-window-setup-finish): Remove.
16228 (help-window-display-message, help-window-setup)
16229 (with-help-window): Major rewrite based on new
16230 display-buffer-window variable.
16231
16232 * help-mode.el (help-mode-finish): Remove help-window related
16233 code.
16234
16235 * view.el (view-exits-all-viewing-windows): Remove reference to
16236 view-return-to-alist in doc-string.
16237 (view-return-to-alist): Make obsolete.
16238 (view-buffer): Call pop-to-buffer-same-window and remove
16239 undo-window code.
16240 (view-buffer-other-window): Call pop-to-buffer-other-window and
16241 simplify code. Ignore second argument.
16242 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16243 simplify code. Ignore second argument.
16244 (view-return-to-alist-update): Make obsolete.
16245 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16246 Rewrite using quit-restore window parameters.
2b75be67
SM
16247 (view-mode-exit): Rename second argument to EXIT-ONLY.
16248 Rewrite using quit-restore-window.
357f93d2
MR
16249 (View-exit, View-exit-and-edit, View-leave, View-quit)
16250 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16251 appropriate arguments.
16252 (view-end-message): Use quit-restore window parameter.
16253
9481c002
MR
16254 * window.el (display-buffer-function): Rewrite doc-string.
16255 (display-buffer-window, display-buffer-alist): New variables.
16256 (display-buffer-split-specifiers)
16257 (display-buffer-side-specifiers)
16258 (display-buffer-macro-specifiers): New constants.
16259 (display-buffer-even-window-sizes, display-buffer-set-height)
16260 (display-buffer-set-width, display-buffer-select-window)
16261 (display-buffer-in-window, display-buffer-reuse-window)
16262 (display-buffer-split-window-1, display-buffer-split-window)
16263 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16264 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16265 (display-buffer-in-side-window, normalize-buffer-to-display)
16266 (display-buffer-normalize-specifiers-1)
16267 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16268 (display-buffer-normalize-specifiers, display-buffer-frame):
16269 New functions.
9481c002
MR
16270 (display-buffer): Major rewrite.
16271 (display-buffer-other-window, display-buffer-other-frame)
16272 (pop-to-buffer, switch-to-buffer-other-window)
16273 (switch-to-buffer-other-frame): Rewrite.
16274 (display-buffer-same-window, display-buffer-same-frame)
16275 (display-buffer-same-frame-other-window)
16276 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16277 (pop-to-buffer-other-window)
16278 (pop-to-buffer-same-frame-other-window)
16279 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16280 (switch-to-buffer-other-window-same-frame): New functions.
16281 (same-window-p, special-display-p): Rewrite disabling warnings.
16282 Make obsolete.
16283 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16284 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16285 Make obsolete
16286 (same-window-buffer-names, same-window-regexps)
16287 (special-display-frame-alist, special-display-popup-frame)
16288 (special-display-function, special-display-buffer-names)
16289 (special-display-regexps, pop-up-frame-alist)
16290 (pop-up-frame-function, split-window-preferred-function)
16291 (split-height-threshold, split-width-threshold)
16292 (even-window-heights): Make obsolete.
16293
9db51aca
GM
162942011-06-12 Glenn Morris <rgm@gnu.org>
16295
16296 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16297 Misc simplifications.
9db51aca 16298
39cffb44
MR
162992011-06-12 Martin Rudalics <rudalics@gmx.at>
16300
16301 * window.el (window-safely-shrinkable-p): Restore function which
16302 was inadvertently removed in change from 2011-06-11. Declare as
16303 obsolete.
16304
2b75be67
SM
16305 * calendar/calendar.el (calendar-generate-window):
16306 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16307 window-safely-shrinkable-p.
16308
a8955be7
GM
163092011-06-12 Glenn Morris <rgm@gnu.org>
16310
16311 * progmodes/fortran.el (fortran-mode-syntax-table):
16312 * progmodes/f90.el (f90-mode-syntax-table):
16313 Set % to punctuation. (Bug#8820)
16314 (f90-find-tag-default): Remove, no longer needed.
16315
f0d4059d
DC
163162011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16317
16318 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16319
1100a63c
CY
163202011-06-11 Chong Yidong <cyd@stupidchicken.com>
16321
16322 * image.el (image-animated-p): Return animation delay in seconds.
16323 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16324 (image-animate-timeout): Remove DELAY argument. Don't assume
16325 every subimage has the same delay; get it from image-animated-p.
16326 (image-animate): Caller changed.
16327
def722bf
MA
163282011-06-11 Michael Albinus <michael.albinus@gmx.de>
16329
16330 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16331 to ignored backtrace functions.
16332
0a2bb1a9
GM
163332011-06-11 Glenn Morris <rgm@gnu.org>
16334
16335 * calendar/appt.el (appt-disp-window-function): Doc fix.
16336 (appt-check): Handle overlapping appointments. (Bug#8337)
16337
6198ccd0
MR
163382011-06-11 Martin Rudalics <rudalics@gmx.at>
16339
16340 * window.el (window-tree-1, window-tree): New functions, moving
16341 the latter to window.el.
16342 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16343 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16344 (bw-refresh-edges): Remove.
16345 (balance-windows-1, balance-windows-2): New functions.
16346 (balance-windows): Rewrite in terms of window tree functions,
16347 balance-windows-1 and balance-windows-2.
16348 (bw-adjust-window): Remove.
16349 (balance-windows-area-adjust): New function with functionality of
16350 bw-adjust-window but using resize-window.
2b75be67
SM
16351 (set-window-text-height): Rewrite doc-string.
16352 Use normalize-live-window and resize-window.
16353 (enlarge-window-horizontally, shrink-window-horizontally):
16354 Rename argument to DELTA.
6198ccd0
MR
16355 (window-buffer-height): New function.
16356 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16357 Rewrite using new window resize routines.
2b75be67
SM
16358 (kill-buffer-and-window, mouse-autoselect-window-select):
16359 Use ignore-errors instead of condition-case.
6198ccd0
MR
16360 (quit-window): Call delete-frame instead of delete-windows-on
16361 for the only buffer on frame.
16362
9397e56f
MR
163632011-06-10 Martin Rudalics <rudalics@gmx.at>
16364
16365 * loadup.el (top-level): Load window before files for the sake
16366 of replace-buffer-in-windows.
16367
16368 * files.el (read-buffer-to-switch)
16369 (switch-to-buffer-other-window)
2b75be67
SM
16370 (switch-to-buffer-other-frame, display-buffer-other-frame):
16371 Move to window.el.
9397e56f
MR
16372
16373 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16374 (previous-buffer): Move to window.el.
16375
16376 * bindings.el (unbury-buffer): Move to window.el.
16377
16378 * window.el (delete-other-windows-vertically): Move after
16379 definition of delete-other-windows.
16380 (other-window, delete-windows-on, replace-buffer-in-windows):
16381 Move here from window.c.
16382 (record-window-buffer, unrecord-window-buffer)
16383 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16384 (switch-to-next-buffer): New functions.
16385 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16386 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16387 (previous-buffer): Move here from simple.el.
16388 Call switch-to-prev-buffer.
9397e56f
MR
16389 (bury-buffer): Move here from buffer.c. Switch to previous
16390 buffer when window cannot be deleted.
16391 (unbury-buffer): Move here from bindings.el.
16392 (ctl-x-map): Move binding for other-window from window.c to
16393 here.
16394 (read-buffer-to-switch, switch-to-buffer-other-window)
16395 (switch-to-buffer-other-frame): Move here from files.el.
16396 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16397 (switch-to-buffer): Move here from buffer.c.
16398 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16399
562dd5e9
MR
164002011-06-10 Martin Rudalics <rudalics@gmx.at>
16401
16402 * window.el (window-min-height, window-min-width): Move here
16403 from window.c. Add defcustoms and rewrite doc-strings.
16404 (resize-mini-window, resize-window): New functions.
16405 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16406 Move here from window.c.
16407 (maximize-window, minimize-window): New functions.
16408 (delete-window, delete-other-windows, split-window): Move here
16409 from window.c.
16410 (window-split-min-size): New function.
16411 (split-window-keep-point): Mention split-window-above-each-other
16412 instead of split-window-vertically.
2b75be67 16413 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16414 Rename split-window-vertically to split-window-above-each-other
16415 and provide defalias for old definition.
16416 (split-window-side-by-side, split-window-horizontally):
16417 Rename split-window-horizontally to split-window-side-by-side
16418 and provide defalias for the old definition.
562dd5e9
MR
16419 (ctl-x-map): Move bindings for delete-window,
16420 delete-other-windows and enlarge-window here from window.c.
16421 Replace bindings for split-window-vertically and
16422 split-window-horizontally by bindings for
16423 split-window-above-each-other and split-window-side-by-side.
16424
16425 * cus-start.el (all): Remove entries for window-min-height and
16426 window-min-width. Add entries for window-splits and
16427 window-nest.
16428
f0da764a
GM
164292011-06-09 Glenn Morris <rgm@gnu.org>
16430
80675c21
GM
16431 * calendar/appt.el (appt-mode-line): New function.
16432 (appt-check, appt-disp-window): Use it.
16433
f0da764a
GM
16434 * files.el (hack-one-local-variable-eval-safep):
16435 Allow minor-modes with explicit +/-1 arguments.
16436
59f623b7
TZ
164372011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16438
16439 * term/xterm.el (xterm): Add defgroup.
16440 (xterm-extra-capabilities): Add defcustom to supply known xterm
16441 capabilities, skip querying them, or query them (default).
16442 (terminal-init-xterm): Use it.
16443 (terminal-init-xterm-modify-other-keys): New function to set up
16444 modifyOtherKeys support to simplify `terminal-init-xterm'.
16445
9aab8e0d
MR
164462011-06-09 Martin Rudalics <rudalics@gmx.at>
16447
16448 * window.el (resize-window-reset, resize-window-reset-1)
16449 (resize-subwindows-skip-p, resize-subwindows-normal)
16450 (resize-subwindows, resize-other-windows, resize-this-window)
16451 (resize-root-window, resize-root-window-vertically)
16452 (window-deletable-p, window-or-subwindow-p)
16453 (frame-root-window-p): New functions.
16454
e8b08aee
GM
164552011-06-09 Glenn Morris <rgm@gnu.org>
16456
16457 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16458 (ange-ftp-get-files): Use it.
16459
254c37a5
AK
164602011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16461
16462 * mail/sendmail.el (mail-recover-1, mail-recover):
16463 * files.el (recover-file, recover-session):
16464 Handle dired-listing-switches not being just a single short option.
16465
35d7dbd3
GM
164662011-06-09 Glenn Morris <rgm@gnu.org>
16467
16468 * calendar/appt.el (appt-display-message, appt-disp-window):
16469 Handle lists of appointments.
16470
387522b2
MR
164712011-06-08 Martin Rudalics <rudalics@gmx.at>
16472
2b75be67
SM
16473 * window.el (one-window-p): Move down in code.
16474 Rewrite doc-string.
16475 (window-current-scroll-bars): Rewrite doc-string.
16476 Normalize live window argument.
387522b2
MR
16477 (walk-windows, get-window-with-predicate, count-windows):
16478 Rewrite doc-string. Use window-list-1.
16479 (window-in-direction-2, window-in-direction, get-mru-window):
16480 New functions.
16481
d8e4b68b 164822011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16483
16484 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16485 Doc fix (Bug#8713).
16486
164872011-06-08 Chong Yidong <cyd@stupidchicken.com>
16488
16489 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16490
164912011-06-08 Juanma Barranquero <lekktu@gmail.com>
16492
16493 * loadhist.el (unload-feature-special-hooks):
16494 Add `comint-output-filter-functions'.
16495
0de12c52
IK
164962011-06-08 Ivan Kanis <gnu@kanis.fr>
16497
16498 * calendar/appt.el (appt-check): Move some initializations into the let.
16499
f3d1777e
MR
165002011-06-08 Martin Rudalics <rudalics@gmx.at>
16501
16502 * window.el (window-height): Defalias to window-total-height.
16503 (window-width): Defalias to window-body-width.
16504
18af70d0
CY
165052011-06-07 Chong Yidong <cyd@stupidchicken.com>
16506
16507 * image-mode.el (image-toggle-animation): New command.
16508 (image-mode-map): Bind it to RET.
16509 (image-mode): Update message.
16510 (image-toggle-display-image): Avoid a spurious cache flush.
16511 (image-transform-rotation): Doc fix.
16512 (image-transform-properties): Return quickly in the normal case.
16513 (image-animate-loop): Rename from image-animate-max-time.
16514
2b75be67 16515 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16516 (create-animated-image): Remove unnecessary function.
16517 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16518 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16519 (image-animate-timer): Use car-safe.
16520 (image-animate-timeout): Rename argument.
16521
190b47e6
MR
165222011-06-07 Martin Rudalics <rudalics@gmx.at>
16523
16524 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16525 window.c. Rename first argument to ALL-FRAMES.
16526 Rephrase doc-strings.
16527 (get-buffer-window-list): Rewrite using window-list-1.
16528 Rephrase doc-string.
a1511caf
MR
16529 (window-safe-min-height, window-safe-min-width): New constants.
16530 (window-size-ignore, window-min-size, window-min-size-1)
16531 (window-sizable, window-sizable-p, window-size-fixed-1)
16532 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16533 (window-max-delta-1, window-max-delta, window-resizable)
16534 (window-resizable-p, window-total-height, window-total-width)
16535 (window-body-width): New functions.
16536 (window-full-height-p, window-full-width-p): Rewrite using
16537 window-total-size.
16538 (window-body-height): Rewrite using window-body-size.
190b47e6 16539
85cc1f11
MR
165402011-06-06 Martin Rudalics <rudalics@gmx.at>
16541
16542 * window.el (window-right, window-left, window-child)
16543 (window-child-count, window-last-child, window-any-p)
16544 (normalize-live-buffer, normalize-live-frame)
16545 (normalize-any-window, normalize-live-window)
16546 (window-iso-combination-p, window-iso-combined-p)
16547 (window-iso-combinations)
16548 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16549 (windows-with-parameter, window-with-parameter)
16550 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16551 (window-atom-check, window-side-check, window-check):
16552 New functions.
85cc1f11
MR
16553 (ignore-window-parameters, window-sides, window-sides-vertical)
16554 (window-sides-slots): New variables.
16555 (window-size-fixed): Move down in code. Minor doc-string fix.
16556
e7156492
AS
165572011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16558
16559 * comint.el (comint-dynamic-complete-as-filename)
16560 (comint-dynamic-complete-filename): Correctly call
16561 completion-in-region.
16562
7e821d0d
DD
165632011-06-05 Deniz Dogan <deniz@dogan.se>
16564
16565 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16566 in last change.
16567
ac09b8a1
DD
165682011-06-05 Deniz Dogan <deniz@dogan.se>
16569
16570 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16571 (rcirc): Use it to prompt for encryption.
16572
34699b85
RW
165732011-06-05 Roland Winkler <winkler@gnu.org>
16574
16575 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16576 (bibtex-search-entries): New command bound to C-c C-a.
16577 (bibtex-display-entries): New function.
16578
004dedd3
RW
165792011-06-05 Roland Winkler <winkler@gnu.org>
16580
16581 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16582 (bibtex-insert-kill): After yanking insert newline if necessary.
16583 (bibtex-initialize): Call bibtex-string-files-init only once.
16584 (bibtex-mode): Do not call easy-menu-add.
16585 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16586 (bibtex-yank): Set arg properly if nil.
16587
022fe7ce
RW
165882011-06-05 Roland Winkler <winkler@gnu.org>
16589
2b75be67
SM
16590 * textmodes/bibtex.el (bibtex-search-entry-globally):
16591 New variable.
022fe7ce
RW
16592 (bibtex-search-entry): Use it.
16593
b7c3692a
RW
165942011-06-05 Roland Winkler <winkler@gnu.org>
16595
16596 * textmodes/bibtex.el (bibtex-entry-format): New option
16597 sort-fields.
16598 (bibtex-format-entry, bibtex-reformat): Honor this option.
16599 (bibtex-parse-entry): Return fields in proper order.
16600
8eda563d
JB
166012011-06-05 Juanma Barranquero <lekktu@gmail.com>
16602
16603 * doc-view.el (doc-view-remove-if): Move computation of result out
16604 of `dolist' to silence misleading lexical-binding warning.
16605
7dbe3dbc
CY
166062011-06-04 Chong Yidong <cyd@stupidchicken.com>
16607
16608 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16609 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16610
0c33dd17
MA
166112011-06-04 Michael Albinus <michael.albinus@gmx.de>
16612
16613 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16614 "SunOS 5.10".
16615
f8f91c2b
MA
166162011-06-04 Michael Albinus <michael.albinus@gmx.de>
16617
16618 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16619 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16620 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16621 (tramp-parse-putty):
16622 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16623 (tramp-completion-function-alist-ssh)
16624 (tramp-completion-function-alist-telnet)
16625 (tramp-completion-function-alist-su)
16626 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16627 cookie.
16628
16629 * net/tramp-ftp.el:
16630 * net/tramp-sh.el:
16631 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16632 load "tramp.el" `tramp-set-completion-function'.
16633
e17d9003
SM
166342011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16635
16636 * shell.el: Require and use pcomplete.
16637 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16638 (shell-completion-vars): Set pcomplete-default-completion-function.
16639
6c4cab03
DD
166402011-06-04 Deniz Dogan <deniz@dogan.se>
16641
16642 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16643 `memq' (Bug#8799).
16644
ea9fafe0
SM
166452011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16646
16647 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16648
b3e945d3
JB
166492011-06-02 Juanma Barranquero <lekktu@gmail.com>
16650
16651 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16652 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16653 * vc/log-view.el (log-view-beginning-of-defun):
16654 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16655 (smerge-refine-forward, smerge-refine-chopup-region):
16656 Silence warning for unused `dotimes' counter variables.
16657
7d520089
SM
166582011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16659
16660 * net/tramp.el (tramp-with-progress-reporter): Rename from
16661 with-progress-reporter. Use `declare'.
16662 * net/tramp-smb.el:
16663 * net/tramp-sh.el:
16664 * net/tramp-gvfs.el: Update all uses.
16665
a1c2400f
JB
166662011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16667
16668 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16669 buffer isn't killed before making it current.
16670
2403c841
SM
166712011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16672
16673 Silence various byte-compiler warnings.
16674 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16675 `access-type' and new obsolescence format.
16676 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16677 new format.
16678 (byte-compile-check-variable): New `access-type' argument.
16679 Only warn if the access-type is obsolete.
16680 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16681 (byte-compile-variable-set): Adjust callers.
16682 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16683 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16684 setting it as obsolete.
16685 * simple.el (minibuffer-completing-symbol):
16686 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16687 access as obsolete.
16688 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16689 obsolete yet.
16690 * international/quail.el (quail-mouse-choose-completion): Remove unused
16691 code referring to obsolete var.
16692 (quail-choose-completion-string): Remove.
16693 * server.el (server-clients-with, server-kill-buffer-query-function)
16694 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16695 * proced.el (proced-send-signal):
16696 * emacs-lisp/lisp.el (lisp-complete-symbol):
16697 Replace completion-annotate-function with completion-extra-properties.
16698
2462470b
SM
166992011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16700
fb5b2591
SM
16701 * simple.el (goto-line): Use read-number.
16702 (overriding-map-is-bound): Remove.
16703 (saved-overriding-map): Change default.
16704 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16705 Take the map as argument.
16706 (universal-argument, negative-argument, digit-argument): Use it.
16707 (restore-overriding-map): Adjust.
16708 (do-auto-fill): Use fill-forward-paragraph.
16709 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16710
fd6fa53f
SM
16711 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16712 (minibuffer-inactive-mode): New major mode.
16713 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16714 the *Messages* buffer" hack.
16715 (mouse-popup-menubar): Don't burp if the event is a normal key.
16716
2462470b
SM
16717 Miscellaneous tweaks.
16718 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16719 lexical scoping as in subr.el's dolist and dotimes.
16720 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16721 Silence compiler warning.
16722 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16723 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16724 * international/ccl.el (ccl-compile): Trivial simplification.
16725 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16726 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16727 `printflag' argument.
16728 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16729 Purecopy the whole obsolescence data.
16730
108bf785
LL
167312011-06-01 Leo Liu <sdl.web@gmail.com>
16732
16733 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16734 improve doc-string as suggested by Marco Pessotto
16735 <melmothx@gmail.com>.
16736 (rcirc-print): Fix last change.
16737
30a23501
SM
167382011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16739
16740 * minibuffer.el (complete-with-action): Return nil for the metadata and
16741 boundaries of non-functional tables.
16742 (completion-table-dynamic): Return nil for the metadata.
16743 (completion-table-with-terminator): Add default case, using
16744 complete-with-action.
16745 (completion--metadata): New function.
16746 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16747 to try and avoid pathological performance problems.
16748 (completion--embedded-envvar-table): Return `category' metadata.
16749
bcd54f83
LMI
167502011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16751
16752 * subr.el (process-alive-p): New tiny convenience function.
16753
e227544d
SM
167542011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16755
16756 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16757 content but also its previous major mode.
16758
e8296fdc
HE
167592011-05-31 Helmut Eller <eller.helmut@gmail.com>
16760
4d61f28d 16761 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16762 *Backtrace* buffer when we exit with C-M-c.
16763
620c53a6
SM
167642011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16765
16766 * minibuffer.el: Add metadata method to completion tables.
16767 (completion-category-overrides): New defcustom.
16768 (completion-metadata, completion--field-metadata)
16769 (completion-metadata-get, completion--styles)
16770 (completion--cycle-threshold): New functions.
16771 (completion-try-completion, completion-all-completions):
16772 Add `metadata' argument to choose completion-styles.
16773 (completion--do-completion): Use metadata to choose cycling.
16774 (completion-all-sorted-completions): Use metadata for sorting.
16775 Remove :completion-cycle-penalty which is not needed any more.
16776 (completion--try-word-completion): Add `metadata' argument.
16777 (minibuffer-completion-help): Check metadata for annotation function
16778 and sorting.
16779 (completion-file-name-table): Return `category' metadata.
16780 (minibuffer-completing-file-name): Make obsolete.
16781 * simple.el (minibuffer-completing-symbol): Make obsolete.
16782 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16783 completion-try-completion.
16784
1257e755
SM
167852011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16786
16787 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16788
3767e706
LL
167892011-05-30 Leo Liu <sdl.web@gmail.com>
16790
16791 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16792 (rcirc-print): Decode all incoming messages (bug#8744).
16793 (rcirc-decode-coding-system): Allow value nil for automatic coding
16794 system detection.
3767e706 16795
d1a5d56a
GM
167962011-06-01 Glenn Morris <rgm@gnu.org>
16797
16798 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16799
e8cbec34
CY
168002011-05-29 Chong Yidong <cyd@stupidchicken.com>
16801
16802 * image.el (image-animate-max-time): Allow nil and t values.
16803 Default to nil.
16804 (create-animated-image): Doc fix.
16805 (image-animate-start): Remove second arg; just use
16806 image-animate-max-time.
16807 (image-animate-timeout): Doc fix. Args changed.
16808
16809 * image-mode.el (image-toggle-display-image): Ensure that the
16810 image spec passed to the animate timer is the same object as in
58179cce 16811 the buffer's display property (Bug#6981).
e8cbec34
CY
16812 (image-transform-properties): Doc fix.
16813
16814 * image.el (image-animate-max-time): Default to nil.
16815
159daf87
MR
168162011-05-29 Martin Rudalics <rudalics@gmx.at>
16817
16818 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16819 entire buffer list (Bug#8184).
16820
d66c4c7c
CY
168212011-05-29 Chong Yidong <cyd@stupidchicken.com>
16822
16823 * image.el (imagemagick-types-inhibit)
16824 (imagemagick-register-types): Doc fix.
16825
80aec780
DD
168262011-05-29 Deniz Dogan <deniz@dogan.se>
16827
16828 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16829 default.
16830
1dd3c2d9
CY
168312011-05-29 Chong Yidong <cyd@stupidchicken.com>
16832
16833 * select.el: Don't perform clipboard-manager saving in hooks;
16834 leave the hooks empty.
16835
60e56523
LL
168362011-05-28 Leo Liu <sdl.web@gmail.com>
16837
16838 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16839 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16840 (occur-edit-mode): New major mode (Bug#8463).
16841 (occur-after-change-function): New function.
16842 (occur-engine): Give Occur tags a read-only property.
16843
2b1e1a22
KR
168442011-05-28 Kevin Ryde <user42@zip.com.au>
16845
16846 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16847
5d344e88
CY
168482011-05-28 Chong Yidong <cyd@stupidchicken.com>
16849
8e6ca83d
CY
16850 * bindings.el (help-echo): Make the initial non-indicator dash
16851 empty on graphical terminals (Bug#7295).
16852
5d344e88
CY
16853 * files.el (auto-mode-alist): Move config rule after the
16854 in-stripping one (Bug#8547).
16855
bfbbace7
CY
16856 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16857
fbeba6e2
CY
16858 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16859 setting (Bug#8740).
16860
60ed8c72
AA
168612011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16862
4ac619f0
AA
16863 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16864 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16865 (Bug#8539).
60ed8c72 16866
23db196e
CY
168672011-05-28 Chong Yidong <cyd@stupidchicken.com>
16868
16869 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16870
5012f24c
DK
168712011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16872
16873 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16874 (hs-hide-block-at-point, hs-find-block-beginning)
16875 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16876 (Bug#8279).
16877
6a639b16
GM
168782011-05-28 Glenn Morris <rgm@gnu.org>
16879
16880 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16881
d43eaf2c
CY
168822011-05-28 Chong Yidong <cyd@stupidchicken.com>
16883
5199bde1
CY
16884 * help-fns.el (describe-function-1): If the function is a derived
16885 major mode, print the parent mode.
16886
d43eaf2c
CY
16887 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16888 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16889
423428a8
SM
168902011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16891
0ff8e1ba 16892 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16893 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16894 * progmodes/etags.el (tags-completion-at-point-function):
16895 * info-look.el (info-lookup-completions-at-point): Mark as
16896 non-exclusive.
16897 (info-complete): Adjust accordingly.
16898
423428a8
SM
16899 * info-look.el: Convert to lexical-binding and completion-at-point.
16900 (info-lookup-completions-at-point): New function.
16901 (info-complete): Use it and completion-in-region.
16902
b74aa22b
DA
169032011-05-28 Drew Adams <drew.adams@oracle.com>
16904
16905 * isearch.el: Let M-e start with point at the first mismatched char.
16906 (isearch-fail-pos): New function.
16907 (isearch-edit-string): Use it.
16908
66e2e71d
DK
169092011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16910
16911 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16912
b1890b0f 169132011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16914
16915 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16916 traversal functions for avl-trees.
16917 (avl-tree--stack): New struct.
16918 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16919 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16920 (avl-tree--do-enter): Add optional `updatefun' arg.
16921 Change return value.
eb95d01d 16922 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16923 (avl-tree--do-delete): Add `test' and `nilflag' args.
16924 Change return value.
eb95d01d
TC
16925 (avl-tree-member): Add optional `nilflag'
16926 (avl-tree-member-p): New function.
16927 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16928 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16929 (avl-tree-stack-empty-p): New functions.
16930
3769ddcf
TC
16931 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16932 avl-tree--del-balance1 and make it work both ways.
16933 (avl-tree--del-balance2): Remove.
16934 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16935 make it work both ways.
16936 (avl-tree--enter-balance2): Remove.
16937 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16938 New macros.
16939 (avl-tree--mapc, avl-tree-map): Add direction argument.
16940
eb95d01d 169412011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16942
16943 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16944
a9f737ee
CY
169452011-05-27 Chong Yidong <cyd@stupidchicken.com>
16946
16947 * select.el: Support clipboard managers with built-in function
16948 x-clipboard-manager-save, via delete-frame-functions and
16949 kill-emacs-hook.
16950 (xselect-convert-to-targets): Add MULTIPLE target to list.
16951 (xselect-convert-to-save-targets): New function.
16952
c92a1e54
KH
169532011-05-27 Kenichi Handa <handa@m17n.org>
16954
16955 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16956 let-binding rfc2047-encode-encoded-words to nil.
16957
e145f188
GM
169582011-05-27 Glenn Morris <rgm@gnu.org>
16959
5ec8a862
GM
16960 * mail/emacsbug.el: Don't require url-util.
16961
4b29d9fb
GM
16962 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16963
e145f188
GM
16964 * files.el (set-auto-mode):
16965 Also respect mode: entries at the end of the file. (Bug#8586)
16966
7d15102b
GM
169672011-05-26 Glenn Morris <rgm@gnu.org>
16968
98f593b8
GM
16969 * files.el (hack-local-variables-prop-line, hack-local-variables):
16970 Downcase mode names, as seems to be traditional.
27b48e63 16971 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16972
7d15102b
GM
16973 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16974 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16975
51d5b4ec
JD
169762011-05-25 Julien Danjou <julien@danjou.info>
16977
16978 * textmodes/rst.el (rst-define-level-faces): Do not define face
16979 symbol if it is already defined.
16980
91513f63
VB
169812011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16982
16983 * play/5x5.el (5x5-new-game, 5x5-randomize):
16984 Reset 5x5-solver-output to nil when a new grid is cast.
16985 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16986 these debugging traces, as defmacro breaks the compiled code.
16987
4d90d6d0
DK
169882011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16989
16990 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16991
e1b90ef6
LL
169922011-05-24 Leo Liu <sdl.web@gmail.com>
16993
16994 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16995 (vc-bzr-sha1): Adapt.
16996
d8e4b68b 16997 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16998
16999 * bindings.el: Provide sha1 feature.
17000
db0406bb 170012011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17002
17003 * mail/sendmail.el: Require `rfc2047'.
17004 (mail-insert-from-field): Do not perform RFC2047 encoding.
17005 (mail-encode-header): New function.
17006 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17007 buffer to the return value of select-message-coding-system.
17008 Call mail-encode-header.
b8d747b9
KH
17009
17010 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17011
db0406bb 170122011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17013
4d90d6d0
DK
17014 * mail/supercite.el (sc-default-cite-frame):
17015 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17016
eb8a5e9b
GM
170172011-05-24 Glenn Morris <rgm@gnu.org>
17018
f8630703
GM
17019 * progmodes/python.el (brm-menu): Declare.
17020
8831bbed
GM
17021 * emulation/viper.el (viper-set-hooks): Declare.
17022
eb8a5e9b
GM
17023 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17024 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17025 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17026 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17027 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17028 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17029
a2a25d24
SM
170302011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17031
17032 Add an :exit-function for completion-at-point.
17033
17034 * minibuffer.el (completion--done): New fun.
17035 (completion--do-completion): Use it. New arg `expect-exact'.
17036 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17037 since completion--do-completion does it for us now.
17038 (minibuffer-force-complete): Use completion--done and
17039 completion--replace. Handle sole-completion case with more care.
17040 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17041 (completion-extra-properties): New var.
17042 (completion-annotate-function): Make obsolete.
17043 (minibuffer-completion-help): Adjust accordingly.
17044 Use completion-list-insert-choice-function.
17045 (completion-at-point, completion-help-at-point):
17046 Bind completion-extra-properties.
17047 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17048 * simple.el (completion-list-insert-choice-function): New var.
17049 (completion-setup-function): Preserve it.
17050 (choose-completion): Pay attention to it, shuffle the code a bit.
17051 (choose-completion-string): New arg `insert-function'.
17052
17053 * textmodes/bibtex.el: Convert to lexical binding.
17054 (bibtex-mode-map): Use completion-at-point.
17055 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17056 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17057 (bibtex-complete): Define as obsolete alias.
17058 (bibtex-complete-internal): Remove.
17059 (bibtex-format-entry): Remove unused sub-group in regexp.
17060 * shell.el (shell--command-completion-data)
17061 (shell-environment-variable-completion):
17062 * pcomplete.el (pcomplete-completions-at-point):
17063 * comint.el (comint--complete-file-name-data): Use :exit-function
17064 instead of completion-table-with-terminator so it also works for
17065 choose-completion.
17066
e44e373d
SM
170672011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17068
4f91a816
SM
17069 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17070
782fc819
SM
17071 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17072 (bug#8710).
17073
e44e373d
SM
17074 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17075
381987c3
KM
170762011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17077
17078 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17079 customization variable and implement: If non-nil, auto-fill will
17080 be inhibited while on topic's header line.
17081
b776bc70
VB
170822011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17083
17084 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17085 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17086 always have a solution in grid size = 5 cases.
17087 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17088 (5x5-solver-output, 5x5-log-buffer): New vars.
17089 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17090 Make these variables buffer local to achieve 5x5 multi-session-ness.
17091 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17092 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17093 (5x5-solve-suggest): New funs.
17094 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17095 randomize a grid so that we ensure that there is always a solution.
17096 (5x5-make-random-grid): Allow other movement than flipping.
17097
7de88b6e
KR
170982011-05-23 Kevin Ryde <user42@zip.com.au>
17099
17100 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17101 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17102 advice and passes PREDICATE.
17103
b1ef1257
SM
171042011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17105
bbca48fe
SM
17106 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17107 byte-compile-lambda if it's actually a lambda.
17108
b1ef1257
SM
17109 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17110 Fix function quoting. Use backquote better.
17111
92a9cc65
YS
171122011-05-22 Yuanle Song <sylecn@gmail.com>
17113
17114 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17115 matching (Bug#8516).
17116
f0fb8059
JA
171172011-01-22 Jari Aalto <jari.aalto@cante.net>
17118
17119 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17120 different face (Bug#8178).
17121
d5b44c93
CY
171222011-05-22 Chong Yidong <cyd@stupidchicken.com>
17123
17124 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17125 defface (Bug#8144).
17126
79106a44
SM
171272011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17128
9c848d8a
SM
17129 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17130 funcall as well (bug#8712). Warn when performing those conversions.
17131 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17132
79106a44
SM
17133 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17134
88dfa756
GM
171352011-05-22 Glenn Morris <rgm@gnu.org>
17136
17137 * files.el (hack-local-variables-prop-line): Small simplifications.
17138 (hack-local-variables, hack-local-variables-prop-line):
17139 If MODE-ONLY, return the mode, rather than just `t'.
17140
b7cf2c79
SM
171412011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17142
17143 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17144
3f1a8558
GM
171452011-05-21 Glenn Morris <rgm@gnu.org>
17146
7e4ccca3
GM
17147 * files.el (hack-local-variables-prop-line, hack-local-variables):
17148 If only interested in the mode, don't bother doing the other stuff.
17149
637d46ca
GM
17150 * image-mode.el (image-after-revert-hook):
17151 Redraw all frames on which the image is visible. (Bug#8567)
17152
973d955b
GM
17153 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17154
3f1a8558
GM
17155 * wid-edit.el (widget-checklist-match-inline):
17156 Fix 2011-04-19 change. (Bug#8649)
17157
96479927
SM
171582011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17159
1dcf791f
SM
17160 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17161 Also allow singlespace after single-letter capitals followed by a dot.
17162
96479927
SM
17163 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17164 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17165
35fd0881
N
171662011-05-20 Nix <nix@esperi.org.uk>
17167
17168 * files.el (basic-save-buffer-2):
17169 Fix handling of break-hardlink-on-save with non-existent files.
17170
82745640
DD
171712011-05-19 Deniz Dogan <deniz@dogan.se>
17172
17173 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17174 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17175
4a720484
GM
171762011-05-19 Glenn Morris <rgm@gnu.org>
17177
d1f21341
GM
17178 * progmodes/f90.el (f90-type-def-re):
17179 Handle "type, bind(c)". (Bug#8691)
17180
4a720484
GM
17181 * emacs-lisp/autoload.el (batch-update-autoloads):
17182 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17183
2fb0a219
MA
171842011-05-18 Michael Albinus <michael.albinus@gmx.de>
17185
17186 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17187 property for the correct connection in case of multihops.
17188
e565dd37
GM
171892011-05-18 Glenn Morris <rgm@gnu.org>
17190
c2571358 17191 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17192 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17193
e565dd37
GM
17194 Rationalize calendar handling of day and month abbrev-arrays.
17195 * calendar/calendar.el (calendar-customized-p): New function.
17196 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17197 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17198 Add :set function.
17199 (calendar-abbrev-length, calendar-day-abbrev-array)
17200 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17201 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17202 Elements may no longer be nil.
17203 (calendar-day-name, calendar-month-name):
17204 Update for changed nature of abbrev arrays.
17205 * calendar/diary-lib.el (diary-name-pattern):
17206 Update for changed nature of abbrev arrays.
17207 (diary-mark-entries-1): Update calendar-make-alist calls.
17208 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17209 * calendar/cal-html.el (cal-html-day-abbrev-array):
17210 Simply inherit from calendar-day-abbrev-array.
17211
1d99a745
SM
172122011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17213
17214 * progmodes/grep.el (grep-mode): Disable default
17215 compilation-directory-matcher setting (bug#8684).
17216
7c1d9aa0
MA
172172011-05-17 Michael Albinus <michael.albinus@gmx.de>
17218
17219 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17220 instead of "head" and "tail". There were problems with SunOS 5.9,
17221 and it performs better.
17222
3952e9d8
GM
172232011-05-17 Glenn Morris <rgm@gnu.org>
17224
2dd12e7f
GM
17225 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17226
e4157b9c
GM
17227 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17228 Replace obsolete function.
17229
8e249bbd
GM
17230 * shell.el (pcomplete-parse-arguments-function): Declare.
17231
3952e9d8
GM
17232 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17233 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17234 (appt-check): Doc fixes.
17235 (appt-disp-window-function, appt-delete-window-function):
17236 Remove needless special case in custom :type.
17237 (appt-display-count): Default to 0, not nil.
17238 (appt-check): Reset appt-display-count to 0, not nil.
17239
c71a0d48 172402011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17241
c71a0d48
GM
17242 * progmodes/python.el (python-font-lock-keywords):
17243 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17244
31d55be9
SM
172452011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17246
17247 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17248
3bfacb2f
KR
172492011-05-16 Kevin Ryde <user42@zip.com.au>
17250
17251 * info-look.el (makefile-automake-mode): New setups, looking in
17252 automake manual, then makefile-mode.
17253 (makefile-mode): Remove automake manual, have it just in
17254 makefile-automake-mode since there's various things different or
17255 not relevant to plain make.
17256 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17257 believe a hypothetical automake-mode would go to makefile-mode,
17258 not the other way around.
17259
c8e83751
CY
172602011-05-15 Chong Yidong <cyd@stupidchicken.com>
17261
5e9e35cd
CY
17262 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17263 hunk-end tags (Bug#8672).
17264
c8e83751
CY
17265 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17266 vc-annotate-show-diff-revision-at-line (Bug#8671).
17267
50b23e5a
GM
172682011-05-14 Glenn Morris <rgm@gnu.org>
17269
7210a739
GM
17270 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17271 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17272 (change-log-font-lock-keywords): Also handle multiple author lines
17273 with leading tabs. (Bug#8644)
7210a739 17274
4691905a
GM
17275 * calendar/appt.el (appt-check): Rename some local variables.
17276 Some simplification/reordering.
17277
50b23e5a
GM
17278 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17279 (feedmail-sendmail-f-doesnt-sell-me-out)
17280 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17281 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17282 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17283 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17284 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17285 (feedmail-binmail-gnulinuxish-template):
17286 Rename from feedmail-binmail-linuxish-template.
17287 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17288 Use insert-buffer-substring.
17289
215cda7c
BC
172902011-05-14 Bill Carpenter <bill@carpenter.org>
17291
17292 * mail/feedmail.el (feedmail-patch-level): Increase.
17293 (feedmail-debug): New custom group.
17294 (feedmail-confirm-outgoing-timeout)
17295 (feedmail-sendmail-f-doesnt-sell-me-out)
17296 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17297 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17298 (feedmail-sender-line, feedmail-from-line)
17299 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17300 (feedmail-spray-this-address)
215cda7c
BC
17301 (feedmail-spray-address-fiddle-plex-list)
17302 (feedmail-queue-use-send-time-for-date)
17303 (feedmail-queue-use-send-time-for-message-id)
17304 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17305 (feedmail-buffer-eating-function):
17306 Doc fixes.
17307 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17308 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17309 (feedmail-message-action-scroll-down): New functions.
17310 (feedmail-queue-directory, feedmail-queue-draft-directory):
17311 Use expand-file-name.
17312 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17313 Remove C-v help entry.
17314 (feedmail-queue-buffer-file-name): New variable.
17315 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17316 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17317 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17318 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17319 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17320 (feedmail-message-action-toggle-spray)
17321 (feedmail-run-the-queue-no-prompts)
17322 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17323 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17324 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17325 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17326 (feedmail-envelope-deducer, feedmail-fiddle-from)
17327 (feedmail-fiddle-sender, feedmail-default-date-generator)
17328 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17329 (feedmail-fiddle-spray-address)
17330 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17331 (feedmail-fiddle-list-of-fiddle-plexes)
17332 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17333 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17334 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17335 Change default. Doc fix.
17336 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17337 (feedmail-binmail-linuxish-template): New constant.
17338 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17339 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17340 (feedmail-send-it): Add debug call.
17341 Use feedmail-queue-buffer-file-name, and
17342 feedmail-send-it-immediately-wrapper.
17343 (feedmail-message-action-send): Add debug call.
17344 Use feedmail-send-it-immediately-wrapper.
17345 (feedmail-queue-express-to-queue): Add debug call.
17346 Run feedmail-queue-express-hook.
17347 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17348 (feedmail-message-action-help-blat):
17349 Rename from feedmail-queue-send-edit-prompt-help-first.
17350 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17351 Check line-endings. Handle errors better.
17352 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17353 Doc fix. Add debug call.
17354 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17355 Use feedmail-queue-send-edit-prompt-inner.
17356 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17357 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17358 from feedmail-queue-send-edit-prompt.
17359 (feedmail-queue-send-edit-prompt-help)
17360 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17361 (feedmail-tidy-up-slug): Add debug call.
17362 Respect feedmail-queue-slug-suspect-regexp.
17363 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17364 (feedmail-dump-message-to-queue): Add debug call.
17365 Expand queue-directory.
17366 (feedmail-dump-message-to-queue): Change message slightly.
17367 Use feedmail-say-chatter.
17368 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17369 (feedmail-send-it-immediately-wrapper): New function.
17370 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17371 Insert empty string rather than newline. Handle full-frame case.
17372 Use catch/throw. Use feedmail-say-chatter.
17373 (feedmail-fiddle-from): Try mail-host-address.
17374 (feedmail-default-message-id-generator): Doc fix.
17375 Bind system-time-locale. Handle missing end.
17376 (feedmail-fiddle-x-mailer): Add debug call.
17377 Handle feedmail-x-mailer-line being nil.
17378 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17379 Add debug call. Use buffer-substring-no-properties.
17380 (feedmail-say-debug, feedmail-say-chatter): New functions.
17381 (feedmail-find-eoh): Give an explicit error.
17382
42c7e61e
UJ
173832011-05-13 Ulf Jasper <ulf.jasper@web.de>
17384
c2571358 17385 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17386 family from helvetica to sans.
c2571358 17387 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17388 etc/images/newsticker.
17389
c2571358 17390 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17391 family from helvetica to sans.
17392
17393 * net/newst-plainview.el (newsticker-new-item-face)
17394 (newsticker-old-item-face, newsticker-immortal-item-face)
17395 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17396 (newsticker-statistics-face): Change default family from
42c7e61e 17397 helvetica to sans.
c2571358 17398 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17399 etc/images/newsticker.
17400
5d3385a0
JB
17401 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17402 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17403 auto-marking.
17404
8497a297
DV
174052011-05-13 Didier Verna <didier@xemacs.org>
17406
17407 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17408 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17409 TODO entries.
8497a297
DV
17410 (lisp-lambda-list-keyword-parameter-indentation)
17411 (lisp-lambda-list-keyword-parameter-alignment)
17412 (lisp-lambda-list-keyword-alignment): New customizable user options.
17413 (lisp-indent-defun-method): Improve docstring.
17414 (extended-loop-p): Fix comment.
17415 (lisp-indent-lambda-list-keywords-regexp): New variable.
17416 (lisp-indent-lambda-list): New function.
17417 (lisp-indent-259): Use it.
17418 (lisp-indent-defmethod): Support for more than one
17419 method qualifier and properly indent methods lambda-lists.
17420 (defgeneric): Provide a missing common-lisp-indent-function property.
17421
f278f87f
SM
174222011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17423
17424 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17425 bounds for the empty string (bug#8667).
17426
5233edd7
GM
174272011-05-13 Glenn Morris <rgm@gnu.org>
17428
5237a44f
GM
17429 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17430
8340026c 17431 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17432 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17433
5233edd7 17434 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17435 (appt-time-msg-list): Doc fix.
a5464014 17436 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17437
92d10796
AS
174382011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17439
17440 * progmodes/ld-script.el (ld-script-keywords)
17441 (ld-script-builtins): Update keywords list.
17442
914a0ae1
SM
174432011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17444
c89be45f
SM
17445 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17446
914a0ae1
SM
17447 * shell.el (shell-completion-vars): New function.
17448 (shell-mode):
17449 * simple.el (read-shell-command): Use it.
17450 (blink-matching-open): No need for " [...]" in minibuffer-message.
17451
98dc3df3
GM
174522011-05-12 Glenn Morris <rgm@gnu.org>
17453
17454 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17455 (appt-check): Simplify.
17456
d2fc7e3d 174572011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17458
4d61f28d 17459 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17460 literal "/dev/null".
17461
d2fc7e3d 174622011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17463
17464 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17465 Fix typo.
17466
d2fc7e3d 174672011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17468
3f254caa
SM
17469 * progmodes/which-func.el (which-function):
17470 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17471 which might not be defined (Bug#8260).
17472
d45885f7
GM
174732011-05-12 Glenn Morris <rgm@gnu.org>
17474
17475 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17476 Let byte-compile-initial-macro-environment always take precedence.
17477
488086f4
SM
174782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17479
17480 * net/rcirc.el: Add support for SSL/TLS connections.
17481 (rcirc-server-alist): New field `encryption'.
17482 (rcirc): Check `encryption' settings.
17483 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17484 Merge make-local-variable into `set'.
17485 (rcirc--connection-open-p): New function.
17486 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17487 the process is not a network process (e.g. running gnutls-cli).
17488 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17489 Make rcirc-(en|de)code-coding-system local here.
17490 (rcirc-mode): Merge make-local-variable into `set'.
17491 (rcirc-parent-buffer): Make permanent buffer-local.
17492 (rcirc-multiline-minor-mode): Don't do it here.
17493 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17494 there's no server buffer.
17495
7d3b9d44
GM
174962011-05-11 Glenn Morris <rgm@gnu.org>
17497
f64049c6
GM
17498 * newcomment.el (comment-kill): Prefix "unused" local.
17499
93c9df73
GM
17500 * term/w32console.el (get-screen-color): Declare.
17501
7d3b9d44
GM
17502 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17503 Handle symbol elements of byte-compile-initial-macro-environment.
17504
9e2dd53f
LL
175052011-05-10 Leo Liu <sdl.web@gmail.com>
17506
488086f4
SM
17507 * bookmark.el (bookmark-bmenu-mode-map):
17508 Bind bookmark-bmenu-search to `/'.
8b340240 17509
9e2dd53f 17510 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17511 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17512 (Footnote-unicode): New function.
17513 (footnote-style-alist): Add unicode style to the list.
17514 (footnote-style): Doc fix.
9e2dd53f 17515
79b70037
GM
175162011-05-10 Jim Meyering <meyering@redhat.com>
17517
17518 Fix doubled-word typos.
17519 * international/quail.el (quail-insert-kbd-layout): and and -> and
17520 * kermit.el: and and -> and
17521 * net/ldap.el (ldap-search-internal): to to -> to
17522 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17523 * progmodes/js.el (js-mode): and and -> and
17524 * textmodes/artist.el (artist-move-to-xy): at at -> at
17525 (artist-draw-region-trim-line-endings): if if -> if
17526 And Safetyc -> Safety.
17527 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17528
b8f82dc1 175292011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17530 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17531
17532 * files.el (hack-one-local-variable-eval-safep):
17533 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17534
4f99f44b
GM
175352011-05-10 Glenn Morris <rgm@gnu.org>
17536
17537 * calendar/diary-lib.el (diary-list-entries-hook)
17538 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17539 (diary-nongregorian-marking-hook, diary-list-entries)
17540 (diary-include-other-diary-files, diary-mark-entries)
17541 (diary-mark-included-diary-files): Doc fixes.
17542
84f29e6b
JB
175432011-05-09 Juanma Barranquero <lekktu@gmail.com>
17544
17545 * misc.el: Require tabulated-list.el during compilation.
17546
9bedd73a
CY
175472011-05-09 Chong Yidong <cyd@stupidchicken.com>
17548
488086f4
SM
17549 * progmodes/compile.el (compilation-start):
17550 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17551 (compilation-filter-hook): Doc fix.
17552
797c735c
DD
175532011-05-09 Deniz Dogan <deniz@dogan.se>
17554
17555 * wdired.el: Remove outdated installation comment. Fix usage
17556 comment.
17557
5f4b1dfe
JB
175582011-05-09 Juanma Barranquero <lekktu@gmail.com>
17559
17560 * misc.el: Implement new command `list-dynamic-libraries'.
17561 (list-dynamic-libraries--loaded-only-p): New variable.
17562 (list-dynamic-libraries--refresh): New function.
17563 (list-dynamic-libraries): New command.
17564
4c44026c
CY
175652011-05-09 Chong Yidong <cyd@stupidchicken.com>
17566
488086f4
SM
17567 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17568 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17569 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17570 higher priority to avoid clobbering by gnu.
17571
027f966d
CY
175722011-05-08 Chong Yidong <cyd@stupidchicken.com>
17573
17574 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17575 if the face has existing theme settings (Bug#8454).
17576
085f5d7d
CY
175772011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17578
488086f4
SM
17579 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17580 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17581
2a86a00c
RS
17582 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17583 special file names `.' and `..' (Bug#8259).
17584
d9c54a06
CY
175852011-05-08 Chong Yidong <cyd@stupidchicken.com>
17586
488086f4
SM
17587 * progmodes/grep.el (grep-mode-font-lock-keywords):
17588 Remove buffer-changing entries.
d9c54a06
CY
17589 (grep-filter): New function.
17590 (grep-mode): Add it to compilation-filter-hook.
17591
17592 * progmodes/compile.el (compilation-filter-hook)
17593 (compilation-filter-start): New defvars.
17594 (compilation-filter): Call compilation-filter-hook prior to
17595 updating the process mark.
17596
c4662635
SM
175972011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17598
17599 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17600
b0512a1d
EZ
176012011-05-07 Eli Zaretskii <eliz@gnu.org>
17602
605c9376
EZ
17603 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17604 mailclient-send-it even if window-system is nil. (Bug#8595)
17605
c4662635
SM
17606 * term/w32console.el (terminal-init-w32console):
17607 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17608 background-mode. (Bug#8597)
17609
d1dc2cc2
SM
176102011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17611
17612 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17613 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17614 New functions.
17615 (defgeneric, eieio--defmethod): Use them.
17616 (eieio-defgeneric): Remove.
17617 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17618
915d1300
GM
176192011-05-07 Glenn Morris <rgm@gnu.org>
17620
a3961c3e
GM
17621 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17622 Use let rather than let*.
17623 (timeclock-find-discrep): Remove unused local.
17624
314347b9
GM
17625 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17626
915d1300
GM
17627 * calendar/appt.el (appt-time-msg-list): Doc fix.
17628
275b59b0
NF
176292011-05-06 Noah Friedman <friedman@splode.com>
17630
17631 * apropos.el (apropos-print-doc): Only use
17632 emacs-lisp-docstring-fill-column when it is bound to an integer,
17633 per that variable's documentation.
17634
6c19f744
SM
176352011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17636
17637 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17638 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17639
60f884b2
GM
176402011-05-06 Glenn Morris <rgm@gnu.org>
17641
5006e634
GM
17642 * calendar/appt.el (appt-message-warning-time): Doc fix.
17643 (appt-warning-time-regexp): New option.
17644 (appt-make-list): Respect appt-message-warning-time.
17645
548d0a63
GM
17646 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17647 New options.
17648 (diary-add-to-list): Strip comments from the displayed string.
17649 (diary-mode): Set comment-start and comment-end.
17650
60f884b2
GM
17651 * vc/diff-mode.el (smerge-refine-subst): Declare.
17652 (diff-refine-hunk): Don't require smerge-mode when compiling.
17653
989681bb
JB
176542011-05-06 Juanma Barranquero <lekktu@gmail.com>
17655
17656 * simple.el (list-processes): Return nil as the docstring says.
17657
a6bc05e1
MA
176582011-05-05 Michael Albinus <michael.albinus@gmx.de>
17659
17660 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17661 to "".
17662 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17663 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17664 determining of binary transfer. (Bug#7383)
17665
23c22e9a
MA
176662011-05-05 Michael Albinus <michael.albinus@gmx.de>
17667
c4662635
SM
17668 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17669 Fix port computation bug. (Bug#8618)
23c22e9a 17670
0bff894f
GM
176712011-05-05 Glenn Morris <rgm@gnu.org>
17672
b8296902
GM
17673 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17674
1f522ce8
GM
17675 * simple.el (shell-dynamic-complete-functions)
17676 (comint-dynamic-complete-functions): Declare.
17677
cf5bee67
GM
17678 * net/network-stream.el (gnutls-negotiate):
17679 * simple.el (tabulated-list-print): Fix declarations.
17680
17681 * progmodes/gud.el (syntax-symbol, syntax-point):
17682 Remove unnecessary and incorrect declarations.
17683
0bff894f
GM
17684 * emacs-lisp/check-declare.el (check-declare-scan):
17685 Handle byte-compile-initial-macro-environment in bytecomp.el
17686
9869b3ae
SM
176872011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17688
17689 Fix earlier half-done eieio-defmethod change (bug#8338).
17690 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17691 Streamline and change calling convention.
17692 (defmethod): Adjust accordingly and simplify.
17693 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17694 new eieio--defmethod.
17695 (slot-boundp): Minor CSE simplification.
17696
9c1d5ac5
MZ
176972011-05-05 Milan Zamazal <pdm@zamazal.org>
17698
17699 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17700 (glasses-make-readable): Use glasses-separate-capital-groups.
17701
455c834e
JB
177022011-05-05 Juanma Barranquero <lekktu@gmail.com>
17703
17704 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17705 (warning-series): Doc fix.
17706 (display-warning): Don't try to create the buffer if we just found it.
17707
9ed7c8cb
CY
177082011-05-04 Chong Yidong <cyd@stupidchicken.com>
17709
17710 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17711 (autoload-find-generated-file): New function.
17712 (generate-file-autoloads): Bind generated-autoload-file to
17713 buffer-file-name.
9869b3ae
SM
17714 (update-file-autoloads, update-directory-autoloads):
17715 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17716 output file (Bug#7989).
17717 (batch-update-autoloads): Doc fix.
17718
0898ca10
JB
177192011-05-04 Juanma Barranquero <lekktu@gmail.com>
17720
17721 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17722
31dfb76c
GM
177232011-05-04 Glenn Morris <rgm@gnu.org>
17724
f330b642
GM
17725 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17726 function, so it follows changes in calendar-date-style.
17727 (diary-fancy-date-matcher): New function.
17728 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17729 (diary-fancy-font-lock-fontify-region-function):
17730 Use diary-fancy-date-pattern as a function.
17731
31dfb76c
GM
17732 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17733 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17734
48e79d6a
TZ
177352011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17736
17737 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17738 instead of positional arguments. Allow :keylist and :crlfiles
17739 arguments.
17740 (open-gnutls-stream): Call it.
17741
17742 * net/network-stream.el (network-stream-open-starttls): Adjust to
17743 call `gnutls-negotiate' with :process and :hostname arguments.
17744
dd5a5ee0
SM
177452011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17746
ef80fc09
SM
17747 * minibuffer.el (completion--message): New function.
17748 (completion--do-completion, minibuffer-complete)
17749 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17750 (completion--do-completion): Don't ignore completion-auto-help when in
17751 icomplete-mode.
17752
dd5a5ee0
SM
17753 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17754 internal encoding (e.g. tibetan zero is not whitespace).
17755 (global-whitespace-mode): Prefer save-current-buffer.
17756 (whitespace-trailing-regexp): Remove useless save-match-data.
17757 (whitespace-empty-at-bob-regexp): Minor simplification.
17758
b7d22a83
CY
177592011-05-03 Chong Yidong <cyd@stupidchicken.com>
17760
17761 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17762
5192af46
AM
177632011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17764
17765 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17766 Use `concat' to create string for insertion.
5192af46 17767
5767d190
SM
177682011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17769
17770 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17771 Avoid open-line which runs post-self-insert-hook.
17772 (bibtex-fill-entry): Remove unused `end' var.
17773
bf242939
AM
177742011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17775
5767d190
SM
17776 * textmodes/ispell.el (ispell-add-per-file-word-list):
17777 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17778
25666126
LL
177792011-05-03 Leo Liu <sdl.web@gmail.com>
17780
17781 * isearch.el (isearch-yank-pop): New command.
5767d190 17782 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17783 (isearch-forward): Mention it.
17784
52d3c2d0
SM
177852011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17786
1bcace58
SM
17787 * simple.el (minibuffer-complete-shell-command): Remove.
17788 (minibuffer-local-shell-command-map): Use completion-at-point.
17789 (read-shell-command): Setup completion vars here instead.
17790 (read-expression-map): Bind TAB to symbol completion.
17791
52d3c2d0
SM
17792 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17793 error directly rather via storing it into `results'.
17794
35813471
LL
177952011-05-02 Leo Liu <sdl.web@gmail.com>
17796
17797 * vc/diff.el: Fix description.
17798
e793a940
LMI
177992011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17800
17801 * server.el (server-eval-at): New function.
17802
8de66e05
LMI
178032011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17804
17805 * net/network-stream.el (open-network-stream): Take a :nowait
17806 parameter and pass it on to `make-network-process'.
17807 (network-stream-open-plain): Ditto.
17808
dcb79f20
AS
178092011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17810
17811 * faces.el (face-spec-set-match-display): Don't match toolkit
17812 options on terminal frames.
17813
14a7fbd8
SM
178142011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17815
7eabc1be
SM
17816 * progmodes/pascal.el: Use lexical binding.
17817 (pascal-mode-map): Remove author preferences.
17818
14a7fbd8
SM
17819 * pcomplete.el (pcomplete-std-complete): Don't abuse
17820 completion-at-point.
17821
50f84510
JB
178222011-04-28 Juanma Barranquero <lekktu@gmail.com>
17823
6e087a44
JB
17824 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17825 removing code that has been dead since 1991 or so.
17826
50f84510
JB
17827 * startup.el (command-line): When warning about "_emacs", use a
17828 delayed warning to allow the user to filter it out.
17829
0ba690bd
DD
178302011-04-28 Deniz Dogan <deniz@dogan.se>
17831
17832 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17833 user has not joined.
17834
08abfaad
SM
178352011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17836
17837 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17838 aren't any completions at point.
17839
638f053a
JB
178402011-04-28 Juanma Barranquero <lekktu@gmail.com>
17841
17842 * subr.el (display-delayed-warnings): New function.
17843 (delayed-warnings-hook): New variable.
17844
8fff8daa
SM
178452011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17846
08abfaad
SM
17847 * minibuffer.el (completion-at-point, completion-help-at-point):
17848 Don't presume that a given completion-at-point-function will always
17849 use the same calling convention.
17850
8fff8daa
SM
17851 * pcomplete.el (pcomplete-completions-at-point):
17852 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17853 pcomplete-seen is non-nil.
17854 (pcomplete-comint-setup): Also recognize the new comint/shell
17855 completion functions.
17856 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17857 pcomplete-seen is non-nil.
17858
841a1577 178592011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17860
841a1577 17861 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17862 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17863 the first character in the entry. This allows for code to add its
211ec907
UJ
17864 own uid to the entry.
17865 (icalendar--convert-float-to-ical): Add export of
17866 `diary-float'-entries save for those with the optional DAY
17867 argument.
17868
2a782793
DC
178692011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17870
17871 * subr.el (shell-quote-argument): Use alternate escaping strategy
17872 when we spot a variable reference in a string.
17873
0438ce91
DC
178742011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17875
17876 * cus-start.el (all): Define customization for debug-on-event.
17877
841a1577 178782011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17879
17880 * subr.el (shell-quote-argument): Escape correctly under Windows.
17881
d090ed6c
SM
178822011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17883
17884 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17885
bfd31217
MA
178862011-04-25 Michael Albinus <michael.albinus@gmx.de>
17887
d090ed6c
SM
17888 * net/tramp.el (tramp-process-actions): Add POS argument.
17889 Delete region between POS and (pos).
bfd31217 17890
d090ed6c
SM
17891 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17892 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17893 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17894
17895 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17896 position in `tramp-process-actions' call.
17897
17898 * net/trampver.el: Update release number.
17899
e92f3bd3
SM
179002011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17901
850256b5
SM
17902 * custom.el (defcustom): Obey lexical-binding.
17903
e92f3bd3
SM
17904 Fix octave-inf completion problems reported by Alexander Klimov.
17905 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17906 Inherit from octave-mode-syntax-table.
17907 (inferior-octave-mode): Set info-lookup-mode.
17908 (inferior-octave-completion-at-point): New function.
17909 (inferior-octave-complete): Use it and completion-in-region.
17910 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17911 comint-filename-completion.
17912 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17913 symbol elements which shouldn't be word elements.
17914 (octave-font-lock-keywords, octave-beginning-of-defun)
17915 (octave-function-header-regexp): Adjust regexps accordingly.
17916 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17917
cd22b309
JB
179182011-04-25 Juanma Barranquero <lekktu@gmail.com>
17919
17920 * net/gnutls.el (gnutls-errorp): Declare before first use.
17921
8b492194
TZ
179222011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17923
17924 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17925 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17926 default trustfile exists before going to use it. Add missing
5a5fa834 17927 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17928 Reported by Claudio Bley <claudio.bley@gmail.com>.
17929 (open-gnutls-stream): Add usage example.
17930
17931 * net/network-stream.el (network-stream-open-starttls): Give host
17932 parameter to `gnutls-negotiate'.
17933 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17934 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17935
841a1577 179362011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17937
cd22b309
JB
17938 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17939 Use correct match group (bug#8438).
05842630 17940
3ba7869c
CY
179412011-04-24 Chong Yidong <cyd@stupidchicken.com>
17942
512e3ae1
CY
17943 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17944 (package-menu--generate): New arg specifying packages to show.
17945 (package-menu-refresh, package-menu-execute, list-packages):
17946 Callers changed.
17947 (package-show-package-list): New function, replacing deleted
17948 package--list-packages (renamed because it is non-internal).
17949
17950 * finder.el (finder-list-matches): Use package-show-package-list
17951 instead of deleted package--list-packages.
17952
e92f3bd3
SM
17953 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17954 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17955 (vc-annotate-mode-map): Bind it to RET.
17956
7031be6d
UR
179572011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17958
17959 * progmodes/etags.el (next-file): Don't use set-buffer to change
17960 buffers (Bug#8478).
17961
4ef177aa
CY
179622011-04-24 Chong Yidong <cyd@stupidchicken.com>
17963
c8d173eb
CY
17964 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17965
4ef177aa
CY
17966 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17967 (apropos-accumulator): Doc fix.
17968 (apropos-function, apropos-macro, apropos-command)
17969 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17970 (apropos-plist): Add face property.
17971 (apropos-symbols-internal): Fix indentation.
17972 (apropos-print): Simplify help, and recognize apropos-multi-type.
17973 (apropos-print-doc): Use button-type-get to extract the button's
17974 face property. Fill docstring (Bug#8352).
17975
4ffd0d6b 179762011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17977
17978 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17979
c6c32125 17980 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17981 (mpuz-mode-map): Use mapc.
c6c32125
JB
17982 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17983 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17984 Fix typos in docstrings.
17985
58d468b4
JB
17986 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17987 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17988
6470c3c6
JB
17989 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17990
4ffd0d6b 179912011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17992
17993 * minibuffer.el (completion--do-completion): Avoid the "Next char
17994 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17995
3ad8bad0
CY
17996 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17997 mouse-2 into unread-command-events, it is interpreted correctly.
17998
71d73c9c 17999 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18000 (image-toggle-display): Doc fix.
71d73c9c 18001
841a1577 180022011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18003
4ffd0d6b
GM
18004 * textmodes/page.el (what-page): Use line-number-at-pos to
18005 calculate line number (Bug#6825).
6e1dbaa9 18006
c2fb1b60
JB
180072011-04-22 Juanma Barranquero <lekktu@gmail.com>
18008
18009 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18010 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18011 Pass argument NO-DEFAULT to `find-tag-interactive'.
18012
e02f48d7
JB
180132011-04-22 Juanma Barranquero <lekktu@gmail.com>
18014
18015 Lexical-binding cleanup.
18016
18017 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18018 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18019 * progmodes/ada-prj.el (ada-prj-initialize-values)
18020 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18021 (ada-prj-show-value):
18022 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18023 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18024 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18025 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18026 * progmodes/bug-reference.el (bug-reference-push-button):
18027 * progmodes/fortran.el (fortran-line-length):
18028 * progmodes/glasses.el (glasses-change):
18029 * progmodes/octave-mod.el (octave-fill-paragraph):
18030 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18031 (python-pdbtrack-grub-for-buffer, python-sentinel):
18032 * progmodes/sql.el (sql-save-connection):
18033 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18034 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18035 Mark unused parameters.
18036
18037 * progmodes/compile.el (compilation--flush-directory-cache)
18038 (compilation--flush-parse, compile-internal): Mark unused parameters.
18039 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18040 (compilation-next-error-function): Remove unused variable `timestamp'.
18041
18042 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18043 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18044
18045 * progmodes/dcl-mode.el (dcl-end-of-command):
18046 Remove unused variable `start'.
18047 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18048 (dcl-option-value-basic, dcl-option-value-offset)
18049 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18050 Mark unused parameters.
18051 (dcl-save-local-variable): Remove unused variable `val'.
18052 (mode): Declare.
18053
18054 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18055 Mark unused parameters.
18056 (delphi-ignore-changes): Move before first use.
18057 (delphi-charset-token-at): Remove unused variable `start'.
18058 (delphi-else-start): Remove unused variable `if-count'.
18059 (delphi-comment-block-start, delphi-comment-block-end):
18060 Remove unused variable `kind'.
18061 (delphi-indent-line): Remove unused variable `new-point'.
18062
18063 * progmodes/ebrowse.el (ebrowse-files-list)
18064 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18065 Mark unused parameters. Don't quote `lambda'.
18066 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18067 Don't quote `lambda'.
18068 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18069 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18070 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18071 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18072 Use `ignore-errors'.
18073 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18074 (ebrowse-view/find-file-and-search-pattern)
18075 (ebrowse-view/find-member-declaration/definition):
18076 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18077 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18078 Rename parameter PREFIX-ARG to PREFIX.
18079 (ebrowse-tags-read-name): Remove unused variables `start' and
18080 `member-info'.
18081 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18082 to `tags-file'.
18083
18084 * progmodes/etags.el (local-find-tag-hook): Declare.
18085 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18086 Mark unused parameters.
18087
18088 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18089 (executable-interpret): Mark unused parameter.
18090
18091 * progmodes/flymake.el (flymake-process-sentinel)
18092 (flymake-after-change-function)
18093 (flymake-create-temp-with-folder-structure)
18094 (flymake-get-include-dirs-dot): Mark unused parameters.
18095 (flymake-safe-delete-directory): Remove unused variable `err'.
18096
18097 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18098 (speedbar-timer-fn, speedbar-line-text)
18099 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18100 (speedbar-center-buffer-smartly): Declare functions.
18101 (gdb-find-watch-expression): Remove unused variable `array'.
18102 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18103 (gdb-starting): Mark unused parameters.
18104 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18105 (gdb-table-string): Remove unused variable `res'.
18106 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18107 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18108 (gdb-display-buffer): Remove unused variable `cur-size'.
18109
18110 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18111 allow lexical-binding compilation.
18112 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18113 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18114 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18115 Mark unused parameters.
18116 (gud-gdb-marker-filter): Remove unused variable `match'.
18117 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18118 lambda expressions and funcall them, instead of using `fset'.
18119
18120 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18121 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18122
18123 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18124 variable `header-beg'; use `let'.
18125
18126 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18127 `restart', `last-sexp' and `at-do'.
18128
18129 * progmodes/js.el (js--debug): Mark unused parameter.
18130 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18131 (js--splice-into-items): Remove unused variable `item'.
18132 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18133
18134 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18135 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18136 (makefile-complete): Remove unused variable `try'.
18137 (makefile-fill-paragraph, makefile-match-function-end):
18138 Mark unused parameters.
18139
18140 * progmodes/octave-inf.el (inferior-octave-complete):
18141 Remove unused variable `proc'.
18142 (inferior-octave-output-digest): Mark unused parameter.
18143
18144 * progmodes/perl-mode.el (perl-calculate-indent):
18145 Remove unused variable `err'.
18146
18147 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18148 (prolog-indent-line): Mark unused parameters.
18149 (prolog-indent-line): Remove unused variable `beg'.
18150
18151 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18152 (reporter-dont-compact-list): Declare.
18153
18154 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18155 Remove unused variable `char'.
18156 (sh-debug): Mark unused parameter.
18157 (sh-get-indent-info): Remove unused variable `start'.
18158 (sh-calculate-indent): Remove unused variable `var'.
18159
18160 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18161 (simula-electric-keyword): Remove unused variable `null'.
18162 (simula-search-backward, simula-search-forward): Remove unused
18163 variables `begin' and `end'.
18164
18165 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18166 Remove unused variable `pos'.
18167 (vera-electric-tab, vera-comment-uncomment-region):
18168 Mark unused parameters.
18169 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18170
7ede3b65
CY
181712011-04-22 Chong Yidong <cyd@stupidchicken.com>
18172
18173 * emacs-lisp/package.el (package--builtins, package-alist)
18174 (package-load-descriptor, package-built-in-p, package-activate)
18175 (define-package, package-installed-p)
18176 (package-compute-transaction, package-buffer-info)
18177 (package--push): Doc fix. Distinguish more clearly between
18178 version strings and version lists.
18179
121656e9
JB
181802011-04-21 Juanma Barranquero <lekktu@gmail.com>
18181
18182 Lexical-binding cleanup.
18183
18184 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18185 (5x5-make-mutate-best):
18186 * play/fortune.el (fortune-in-buffer):
18187 * play/gomoku.el (gomoku-init-display):
18188 * play/solitaire.el (solitaire, solitaire-do-check):
18189 * play/tetris.el (tetris-default-update-speed-function):
18190 Mark unused parameters.
18191
18192 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18193 (bubbles--shift): Remove unused variable `char-org'.
18194 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18195 (bubbles--show-images): Remove unused variable `char'.
18196
18197 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18198 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18199 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18200 (decipher-analyze-buffer): Use ?\s.
18201 (decipher-make-checkpoint): Remove unused variable `mapping'.
18202
18203 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18204
18205 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18206 Remove unused variable `result'; use `let'.
18207
18208 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18209 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18210 (gametree-children-shown-p, gametree-compute-reduced-score):
18211 Use `ignore-errors'.
18212
18213 * play/handwrite.el (ps-lpr-switches): Declare.
18214 (handwrite): Remove unused variables `pmin' and `lastp'.
18215
18216 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18217
18218 * play/landmark.el (landmark-init-display)
18219 (landmark-update-naught-weights): Mark unused parameters.
18220 (landmark-y): Remove unused variable `noise'. Simplify.
18221 (landmark-human-plays): Remove unused variable `score'.
18222
18223 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18224 (mpuz-try-proposal): Remove unused variable `game'.
18225
18226 * play/zone.el (life-patterns): Declare.
18227
80f499c7
JB
182282011-04-20 Juanma Barranquero <lekktu@gmail.com>
18229
18230 * vc/vc.el (ediff-vc-internal): Declare function.
18231
024ff170
SM
182322011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18233
c0a193ea
SM
18234 * shell.el: Use lexical-binding and std completion UI.
18235 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18236 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18237 comint-preoutput-filter-functions rather than on
18238 comint-output-filter-functions.
18239 (shell-command-completion, shell--command-completion-data)
18240 (shell-filename-completion, shell-environment-variable-completion)
18241 (shell-c-a-p-replace-by-expanded-directory): New functions.
18242 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18243 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18244 (shell-dynamic-complete-environment-variable): Use them.
18245 (shell-dynamic-complete-as-environment-variable)
18246 (shell-dynamic-complete-as-command): Remove.
18247 (shell-match-partial-variable): Match past point.
18248 * comint.el: Clean up use of completion-at-point-functions.
18249 (comint-completion-at-point): New function.
18250 (comint-mode): Use it completion-at-point-functions.
18251 (comint-dynamic-complete): Make it obsolete.
18252 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18253 (comint-c-a-p-replace-by-expanded-history): New function.
18254 (comint-dynamic-complete-functions)
18255 (comint-replace-by-expanded-history): Use it.
18256 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18257 termination strings. Try harder to avoid second try-completion.
18258 (completion-in-region-mode-map): Disable bindings that don't work yet.
18259
2dbaa080
SM
18260 * comint.el: Use lexical-binding. Require CL.
18261 (comint-dynamic-complete-functions): Use comint-filename-completion.
18262 (comint-completion-addsuffix): Tweak custom type.
18263 (comint-filename-completion, comint--common-suffix)
18264 (comint--common-quoted-suffix, comint--table-subvert)
18265 (comint--complete-file-name-data): New functions.
18266 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18267 (comint-dynamic-list-filename-completions): Use them.
18268 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18269
2dbaa080
SM
18270 * minibuffer.el (completion-in-region-mode):
18271 Keep completion-in-region-mode--predicate global.
18272 (completion-in-region--postch):
18273 Assume completion-in-region-mode--predicate is not null.
18274
c79a6f38
SM
18275 * progmodes/flymake.el (flymake-start-syntax-check-process):
18276 Obey `dir'. Simplify.
18277
024ff170
SM
18278 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18279 we're in VC after all.
18280
1c6c854e
CS
182812011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18282
18283 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18284 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18285 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18286
bed7f140
SM
182872011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18288
332e62ab
SM
18289 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18290 add sanity check.
18291
bed7f140
SM
18292 * obsolete/erc-hecomplete.el: Make obsolete.
18293 * obsolete/: Standardize obsolescence info in the header.
18294
f195c582
GM
182952011-04-20 Glenn Morris <rgm@gnu.org>
18296
18297 * calendar/solar.el (solar-horizontal-coordinates):
18298 Use the longitude argument rather than `calendar-longitude'.
18299 (solar-date-next-longitude): Remove unused locals.
18300
cb79b8c0
VJL
183012011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18302
18303 * whitespace.el: New version 13.2.1.
18304
183052011-04-20 felix <EmacsWiki> (tiny change)
18306
d8e4b68b 18307 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18308 switching between major modes on a file.
18309
602ea69d
SM
183102011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18311
18312 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18313 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18314 multi-line comments as well.
18315
06b60517
JB
183162011-04-19 Juanma Barranquero <lekktu@gmail.com>
18317
18318 Lexical-binding cleanup.
18319
18320 * arc-mode.el (archive-mode-revert):
18321 * cmuscheme.el (scheme-interactively-start-process):
18322 * custom.el (custom-initialize-delay):
18323 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18324 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18325 * emacs-lock.el (emacs-lock-clear-sentinel):
18326 * ezimage.el (defezimage):
18327 * follow.el (follow-avoid-tail-recenter):
18328 * fringe.el (set-fringe-mode-1):
18329 * generic-x.el (bat-generic-mode-compile):
18330 * help-mode.el (help-info-variable, help-do-xref)
18331 (help-mode-revert-buffer):
18332 * help.el (view-emacs-todo):
18333 * iswitchb.el (iswitchb-completion-help):
18334 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18335 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18336 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18337 * locate.el (locate-update):
18338 * longlines.el (longlines-encode-region)
18339 (longlines-after-change-function):
18340 * outline.el (outline-isearch-open-invisible):
18341 * ps-def.el (declare-function, charset-dimension, char-width)
18342 (encode-char):
18343 * ps-mule.el (ps-mule-plot-string):
18344 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18345 (recentf-edit-list-select, recentf-edit-list-validate)
18346 (recentf-open-files-action):
18347 * rect.el (delete-whitespace-rectangle-line)
18348 (rectangle-number-line-callback):
18349 * register.el (window-configuration-to-register)
18350 (frame-configuration-to-register):
18351 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18352 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18353 (xselect-convert-to-targets, xselect-convert-to-delete)
18354 (xselect-convert-to-filename, xselect-convert-to-charpos)
18355 (xselect-convert-to-lineno, xselect-convert-to-colno)
18356 (xselect-convert-to-os, xselect-convert-to-host)
18357 (xselect-convert-to-user, xselect-convert-to-class)
18358 (xselect-convert-to-name, xselect-convert-to-integer)
18359 (xselect-convert-to-atom, xselect-convert-to-identity):
18360 * subr.el (declare, ignore, process-kill-without-query)
18361 (text-clone-maintain):
18362 * terminal.el (te-get-char, te-tic-sentinel):
18363 * tool-bar.el (tool-bar-make-keymap):
18364 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18365 * type-break.el (type-break-mode, type-break-noninteractive-query):
18366 * view.el (View-back-to-mark):
18367 * wid-browse.el (widget-browse-action, widget-browse-widget)
18368 (widget-browse-widgets, widget-browse-sexp):
18369 * widget.el (define-widget-keywords):
18370 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18371 Mark unused parameters.
18372
18373 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18374 (align-areas): Remove unused variable `look'.
18375 (align-region): Remove unused variables `real-end' and `pos-list'.
18376
18377 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18378
18379 * bindings.el (mode-line-modified, mode-line-remote):
18380 Mark unused parameters.
18381 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18382
18383 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18384 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18385
18386 * comint.el (comint-history-isearch-pop-state)
18387 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18388 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18389 (comint-substitute-in-file-name): Doc fix.
18390
18391 * completion.el (cmpl-statistics-block): Mark unused parameter.
18392 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18393 (save-completions-to-file, load-completions-from-file):
18394 Remove unused local variable `e'.
18395
18396 * composite.el (compose-chars): Remove unused variable `len'.
18397 (lgstring-insert-glyph): Remove unused variable `g'.
18398 (compose-glyph-string): Remove unused variables `ascent',
18399 `descent', `lbearing' and `rbearing'.
18400 (compose-glyph-string-relative): Remove unused variables
18401 `lbearing', `rbearing' and `wadjust'.
18402 (compose-gstring-for-graphic): Remove unused variables `header',
18403 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18404 (compose-gstring-for-terminal): Remove unused variables `header'
18405 and `nchars'. Use `let', not `let*'.
18406
18407 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18408 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18409 (Custom-buffer-done, custom-buffer-create-internal)
18410 (custom-browse-visibility-action, custom-browse-group-tag-action)
18411 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18412 (widget-magic-mouse-down-action, custom-toggle-parent)
18413 (custom-add-parent-links, custom-toggle-hide-variable)
18414 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18415 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18416 (custom-face-menu-create, custom-variable-menu-create, get)
18417 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18418 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18419 (customize-apropos): Remove unused variable `tests'.
18420 (custom-group-value-create): Remove unused variable `hidden-p'.
18421 (sort-fold-case): Declare.
18422
18423 * cus-theme.el (custom-reset-standard-faces-list)
18424 (custom-reset-standard-variables-list): Declare.
18425 (customize-create-theme, custom-theme-revert, custom-theme-write)
18426 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18427 Mark unused parameters.
18428
18429 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18430
18431 * delim-col.el (delimit-columns-max): Move defvar before first use.
18432
18433 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18434 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18435
18436 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18437 (auto-insert): Declare.
18438 (desktop-restore-file-buffer): Rename desktop-* parameters;
18439 mark unused ones.
18440 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18441 (desktop-buffer): Rename desktop-* parameters.
18442
18443 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18444 (dframe-reposition-frame-xemacs, dframe-help-echo)
18445 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18446 Mark unused parameters.
18447
18448 * dired-aux.el (backup-extract-version-start, overwrite-query)
18449 (overwrite-backup-query, rename-regexp-query)
18450 (rename-non-directory-query): Declare.
18451 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18452 (dired-add-entry): Remove unused variable `orig-file-name'.
18453 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18454 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18455 `dired-copy-preserve-time' directly.
18456 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18457 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18458
18459 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18460 (dired-virtual-revert, dired-make-relative-symlink):
18461 Mark unused parameters.
18462 (manual-program): Declare.
18463 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18464 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18465 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18466
18467 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18468
18469 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18470
18471 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18472 Declare.
18473
18474 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18475
18476 * electric.el (Electric-command-loop): Rename parameter
18477 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18478
18479 * expand.el (expand-in-literal): Remove unused variable `here'.
18480
18481 * facemenu.el (facemenu-add-new-color):
18482 Remove unused variable `docstring'.
18483
18484 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18485 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18486 (face-attr-construct): Mark unused parameter. Doc fix.
18487 (read-color): Remove unused variable `hex-string'.
18488
18489 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18490 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18491 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18492 (display-buffer-other-frame): Remove unused variable `old-window'.
18493 (kill-buffer-hook): Declare.
18494 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18495 Mark unused parameters.
18496 (after-find-file): Pass 1 to `auto-save-mode', not t.
18497
18498 * files-x.el (auto-insert): Declare.
18499 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18500
18501 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18502 variable `buf'. Mark unused parameter.
06b60517
JB
18503 (find-lisp-insert-directory): Mark unused parameter.
18504
18505 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18506 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18507 (format-common-tail): Remove, unused.
18508 (format-deannotate-region): Remove unused variable `loc'.
18509 (format-annotate-region): Remove unused variable `p'.
18510 (format-annotate-single-property-change): Remove unused variables
18511 `default' and `tail'.
18512
18513 * forms.el (read-file-filter): Declare.
18514 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18515
18516 * frame.el (frame-creation-function-alist): Mark unused parameter.
18517 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18518
18519 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18520 Remove unused parameters.
18521 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18522 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18523
18524 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18525 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18526 (hfy-prepare-tag-map): Mark unused parameters.
18527 (htmlfontify-buffer): Use `called-interactively-p'.
18528
18529 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18530 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18531 (ibuffer-do-occur): Mark unused parameters.
18532 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18533 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18534
18535 * ibuffer.el: Don't quote `lambda'.
18536 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18537 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18538 Mark unused parameters.
18539
18540 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18541 (ido-completing-read): Mark unused parameters.
18542 (ido-copy-current-word): Mark unused parameters;
18543 remove unused variable `name'.
18544 (ido-sort-merged-list): Remove unused parameter `dirs'.
18545
18546 * ielm.el (ielm-input-sender): Mark unused parameter.
18547 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18548 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18549 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18550 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18551 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18552
18553 * image-dired.el (image-dired-display-thumbs): Remove unused
18554 variables `curr-file' and `count'.
18555 (image-dired-remove-tag): Remove unused variable `start'.
18556 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18557 variable `curr-file'
18558 (image-dired-rotate-original): Remove unused variable `temp-file'.
18559 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18560 Remove unused variable `file'.
18561 (image-dired-gallery-generate): Remove unused variable `curr'.
18562 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18563
18564 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18565
18566 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18567
18568 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18569
18570 * isearch.el (minibuffer-history-symbol): Declare.
18571 (isearch-edit-string): Remove unused variable `err'.
18572 (isearch-message-prefix, isearch-message-suffix):
18573 Mark unused parameters.
18574
18575 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18576
18577 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18578
18579 * makesum.el (double-column): Remove unused variable `cnt'.
18580
18581 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18582 (ido-ignore-item-temp-list): Declare.
18583
18584 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18585 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18586 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18587 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18588 `mouse-col-delta'.
18589
18590 * mouse-sel.el (mouse-extend-internal):
18591 Remove unused variable `orig-window-frame'.
18592
18593 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18594 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18595 Move declarations before first use.
18596 (pcomplete-opt): Mark unused parameters; doc fix.
18597
18598 * proced.el (proced-revert): Mark unused parameter.
18599 (proced-send-signal): Remove unused variable `err'.
18600
18601 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18602 Rename parameter PREFIX-ARG to ARG.
18603 (ps-basic-plot-string, ps-basic-plot-whitespace):
18604 Mark unused parameters.
18605
18606 * replace.el (replace-count): Define.
18607 (occur-revert-function): Mark unused parameters.
18608 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18609 (isearch-case-fold-search, isearch-string): Declare.
18610 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18611 bind `case-fold-search'. Remove unused variables `beg' and `end',
18612 and simplify.
18613 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18614 COUNT and bind `replace-count'.
18615 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18616 to COUNT.
18617
18618 * savehist.el (print-readably, print-string-length): Declare.
18619
18620 * shadowfile.el (shadow-expand-cluster-in-file-name):
18621 Remove unused variable `cluster'.
18622 (shadow-copy-file): Remove unused variable `i'.
18623 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18624 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18625 (shadow-define-literal-group, shadow-define-regexp-group)
18626 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18627
18628 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18629 (shell): Use `called-interactively-p'.
18630 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18631
18632 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18633 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18634 (delete-backward-char): Remove unused variable `ocol'.
18635 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18636 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18637 (event-apply-hyper-modifier, event-apply-shift-modifier)
18638 (event-apply-control-modifier, event-apply-meta-modifier):
18639 Mark unused parameters.
18640 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18641 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18642
18643 * speedbar.el (speedbar-ignored-directory-expressions)
18644 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18645 (speedbar-find-file, speedbar-dir-follow)
18646 (speedbar-directory-buttons-follow, speedbar-tag-find)
18647 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18648 (speedbar-buffers-line-directory, speedbar-buffer-click):
18649 Mark unused parameters.
18650 (speedbar-tag-file): Remove unused variable `mode'.
18651 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18652
18653 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18654
18655 * talk.el (talk): Remove unused variable `display'.
18656
18657 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18658 (tar-write-region-annotate): Mark unused parameter.
18659
18660 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18661 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18662 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18663 warning by another.
18664
18665 * time-stamp.el (time-stamp-string-preprocess):
18666 Remove unused variable `require-padding'.
18667
18668 * tree-widget.el (widget-glyph-enable): Declare.
18669 (tree-widget-action): Mark unused parameter.
18670
18671 * w32-fns.el (x-get-selection): Mark unused parameter.
18672 (autoload-make-program, generated-autoload-file): Declare.
18673
18674 * wdired.el (wdired-revert): Mark unused parameters.
18675 (wdired-xcase-word): Remove unused variable `err'.
18676
18677 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18678 (whitespace-help-scroll): Remove unused variable `data-help'.
18679
18680 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18681 (widget-image-insert, widget-after-change, default)
18682 (widget-default-format-handler, widget-default-notify)
18683 (widget-default-prompt-value, widget-info-link-action)
18684 (widget-url-link-action, widget-function-link-action)
18685 (widget-variable-link-action, widget-file-link-action)
18686 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18687 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18688 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18689 (widget-insert-button-action, widget-delete-button-action, visibility)
18690 (widget-documentation-link-action, widget-documentation-string-action)
18691 (widget-const-prompt-value, widget-regexp-match, symbol)
18692 (widget-coding-system-prompt-value)
18693 (widget-key-sequence-value-to-external, sexp)
18694 (widget-sexp-value-to-internal, character, vector, cons)
18695 (widget-choice-prompt-value, widget-boolean-prompt-value)
18696 (widget-color--choose-action): Mark unused parameters.
18697 (widget-item-match-inline, widget-choice-match-inline)
18698 (widget-checklist-match, widget-checklist-match-inline)
18699 (widget-group-match): Rename parameter VALUES to VALS.
18700 (widget-field-value-set): Remove unused variable `size'.
18701 (widget-color-action): Remove unused variables `value' and `start'.
18702
18703 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18704 variable `dir'. Doc fix.
06b60517
JB
18705 (windmove-find-other-window): Don't pass it.
18706
18707 * window.el (count-windows): Mark unused parameter.
18708 (bw-adjust-window): Remove unused variable `err'.
18709
18710 * woman.el (woman-file-name): Remove unused variable `default'.
18711 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18712 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18713 (global-font-lock-mode): Declare.
18714 (woman-decode-region): Mark unused parameter.
18715 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18716
18717 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18718 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18719 (x-dnd-handle-moz-url): Remove unused variable `title'.
18720 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18721
18722 * xml.el (xml-parse-tag, xml-parse-attlist):
18723 Remove unused variable `pos'.
18724
bc4f7f3d
GM
187252011-04-19 Glenn Morris <rgm@gnu.org>
18726
18727 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18728 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18729 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18730 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18731 * calendar/cal-html.el (cal-html-insert-minical):
18732 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18733 (calendar-mark-date-pattern):
18734 Prefix "unused" locals.
18735
18736 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18737 optional argument `style'.
18738
18739 * calendar/appt.el (appt-make-list):
18740 * calendar/cal-china.el (calendar-chinese-date-string):
18741 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18742 (diary-hebrew-yahrzeit):
18743 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18744 * calendar/calendar.el (calendar-generate-window):
18745 * calendar/time-date.el (time-to-days):
18746 Remove unused local variables.
18747
16a43933
CY
187482011-04-18 Chong Yidong <cyd@stupidchicken.com>
18749
18750 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18751 glyphless-char-display table.
18752 (tabulated-list-glyphless-char-display): New var.
18753
7eed1860
SS
187542011-04-18 Sam Steingold <sds@gnu.org>
18755
18756 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18757 to acknowledgments.
18758
4d2d1ccd
GM
187592011-04-17 Glenn Morris <rgm@gnu.org>
18760
18761 * calendar/diary-lib.el (diary-sexp-entry):
18762 * calendar/holidays.el (holiday-sexp):
18763 Set debug-on-error rather than the removed stack-trace-on-error.
18764
239da61d
GM
187652011-04-16 Glenn Morris <rgm@gnu.org>
18766
18767 * progmodes/f90.el: Use lexical-binding.
18768 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18769
8b05752a
SM
187702011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18771
daca8ba5
SM
18772 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18773 (mail-mode): Setup mailalias completion here instead.
18774 * mail/mailalias.el: Use lexical-binding.
18775 (pattern, mailalias-done): Declare dynamic.
18776 (mail-completion-at-point-function): New function, from mail-complete.
18777 (mail-complete): Use it.
18778 (mail-completion-expand): New function.
18779 (mail-get-names): Use it.
18780 (mail-directory, mail-directory-process, mail-directory-stream):
18781 Don't use `pattern' for lexically bound arg.
18782
6f542485
SM
18783 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18784
037e7c3f
SM
18785 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18786 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18787 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18788
8b05752a
SM
18789 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18790 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18791 (byte-interactive-p): Define them again, for use when inlining
18792 old code.
18793
49093f60
JB
187942011-04-15 Juanma Barranquero <lekktu@gmail.com>
18795
18796 * loadup.el: Use `string-to-number', not `string-to-int'.
18797
b5b8e7de
SM
187982011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18799
18800 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18801 gud-gdb-complete-command.
18802 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18803 (gud-gdb-completion-at-point): New function.
18804 (gud-gdb-completions): Remove.
18805
f42efeb5
MA
188062011-04-14 Michael Albinus <michael.albinus@gmx.de>
18807
49093f60
JB
18808 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18809 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18810 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18811 whether `executable-find' is bound.
f42efeb5
MA
18812
18813 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18814
e240cc21
SM
188152011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18816
18817 * minibuffer.el (completion-in-region-mode-predicate)
18818 (completion-in-region-mode--predicate): New vars.
18819 (completion-in-region, completion-in-region--postch)
18820 (completion-in-region-mode): Use them.
18821 (completion--capf-wrapper): Also return the hook function.
18822 (completion-at-point, completion-help-at-point):
18823 Adjust and provide a predicate.
c2bd2ab0
SM
18824
18825 Preserve arg names for advice of subr and lexical functions (bug#8457).
18826 * help-fns.el (help-function-arglist): Consolidate the subr and
18827 new-byte-code cases. Add argument `preserve-names' to extract names
18828 from the docstring when needed.
18829 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18830 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18831 (ad-arglist): Use help-function-arglist's new arg.
18832 (ad-definition-type): Use cond.
18833
c183f693
JB
188342011-04-13 Juanma Barranquero <lekktu@gmail.com>
18835
06641a47
JB
18836 * autorevert.el (auto-revert-handler):
18837 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18838 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18839 Don't quote lambda.
18840
c183f693
JB
18841 * image-mode.el (image-transform-set-scale):
18842 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18843
1e3b6001
G
188442011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18845
18846 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18847 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18848 Upgrades via gnutls-cli are too slow to be done opportunistically.
18849
2d6af8dd
JB
188502011-04-12 Juanma Barranquero <lekktu@gmail.com>
18851
18852 * dframe.el (dframe-current-frame): Remove spurious quote.
18853
c0749a51
GM
188542011-04-12 Glenn Morris <rgm@gnu.org>
18855
088d0d61
GM
18856 * calendar/cal-tex.el (cal-tex-end-document):
18857 Try to automatically use latin1 input if needed.
18858
c0749a51
GM
18859 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18860 Don't try to cons a mark onto an empty element.
18861
5c90fde0
LL
188622011-04-11 Leo Liu <sdl.web@gmail.com>
18863
18864 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18865 buffers.
18866 (ido-kill-buffer-at-head): Support killing virtual buffers.
18867
369e974d
CY
188682011-04-10 Chong Yidong <cyd@stupidchicken.com>
18869
18870 * minibuffer.el (completion-show-inline-help): New var.
18871 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18872 (minibuffer-force-complete, minibuffer-complete-word):
18873 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18874
18875 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18876 to avoid interference from inline help (Bug#5849).
18877
37f1c930
LL
188782011-04-10 Leo Liu <sdl.web@gmail.com>
18879
099c39a4
JB
18880 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18881 Fix typo.
37f1c930 18882
a32d4040
CY
188832011-04-09 Chong Yidong <cyd@stupidchicken.com>
18884
18885 * image-mode.el (image-toggle-display-image): Signal an error if
18886 not in Image mode.
18887 (image-transform-mode, image-transform-resize)
18888 (image-transform-set-rotation): Doc fix.
daca8ba5 18889 (image-transform-set-resize): Delete.
a32d4040
CY
18890 (image-transform-set-scale, image-transform-fit-to-height)
18891 (image-transform-fit-to-width): Handle image-toggle-display-image
18892 and image-transform-resize directly.
18893
099c39a4 188942011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18895
18896 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18897 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18898 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18899 (doc-view-mode-map): Add bindings for the new functions.
18900
099c39a4 189012011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18902
4d61f28d 18903 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18904 Fix typo in docstring.
18905
3726838a
EZ
189062011-04-08 Eli Zaretskii <eliz@gnu.org>
18907
04f33f1e
EZ
18908 * files.el (file-size-human-readable): Produce one digit after
18909 decimal, like "ls -lh" does.
18910
18911 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18912 the file size representation.
18913
3726838a
EZ
18914 * simple.el (list-processes): If async subprocesses are not
18915 available, error out with a clear error message.
18916
cbb59342
CY
189172011-04-08 Chong Yidong <cyd@stupidchicken.com>
18918
18919 * help.el (help-form-show): New function, to be called from C.
18920 Put help-form output in a buffer named differently than *Help*.
18921
e3971c44
EZ
189222011-04-08 Eli Zaretskii <eliz@gnu.org>
18923
18924 * files.el (file-size-human-readable): New function.
18925
18926 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18927 computing the representation inline. Don't require `cl'.
18928
12544bbe
GM
189292011-04-08 Glenn Morris <rgm@gnu.org>
18930
a1de6c6a
GM
18931 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18932
3c4671f4
GM
18933 * net/browse-url.el (browse-url-firefox):
18934 Test system-type, not system-configuration.
18935
b605679c
GM
18936 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18937 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18938 Use log-edit-empty-buffer-p. (Bug#7598)
18939
56442f0c
GM
18940 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18941 (rlogin-mode-map): Initialize in the defvar.
18942 (rlogin): Use ignore-errors.
18943
12544bbe
GM
18944 * replace.el (occur-mode-map): Some fixes for menu items.
18945
eb237b0f
AH
189462011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18947
18948 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18949
7d668f2c
CY
189502011-04-06 Chong Yidong <cyd@stupidchicken.com>
18951
e67a13ab
CY
18952 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18953 issuing unused warnings.
18954
18955 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18956 macro directly.
18957
7d668f2c
CY
18958 * simple.el: Lisp reimplement of list-processes. Based on an
18959 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18960 (process-menu-mode): New major mode.
18961 (list-processes--refresh, list-processes):
18962 (process-menu-visit-buffer): New functions.
18963
18964 * files.el (save-buffers-kill-emacs): Don't assume any return
18965 value of list-processes, which is undocumented anyway.
18966
a83ec3c9
CY
189672011-04-06 Chong Yidong <cyd@stupidchicken.com>
18968
18969 * emacs-lisp/tabulated-list.el: New file.
18970
e91a96fe
CY
18971 * emacs-lisp/package.el: Use Tabulated List mode.
18972 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18973 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18974 table format using Tabulated List mode variables.
18975 (package--push): New macro, replacing package-list-maybe-add.
18976 (package-menu--generate): Use package--push. Renamed from
18977 package--generate-package-list.
18978 (package-menu-refresh, list-packages): Use it.
daca8ba5 18979 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18980 Return insertion data instead of inserting it directly.
099c39a4
JB
18981 (package-menu-describe-package, package-menu-execute):
18982 Use tabulated-list-get-id.
e91a96fe
CY
18983 (package-menu-mark-delete, package-menu-mark-install)
18984 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18985 (package-menu-mark-obsolete-for-deletion):
18986 Use tabulated-list-put-tag.
e91a96fe
CY
18987 (package--list-packages, package-menu-revert)
18988 (package-menu-get-package, package-menu-get-version)
18989 (package-menu-sort-by-column): Functions deleted.
18990 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18991 (package-menu--status-predicate, package-menu--version-predicate)
18992 (package-menu--name-predicate)
18993 (package-menu--description-predicate): Handle arguments in the
18994 Tabulated List format.
18995 (package-list-packages-no-fetch): Call list-packages.
18996
3e214b50
JB
189972011-04-06 Juanma Barranquero <lekktu@gmail.com>
18998
18999 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19000 (after-find-file): Don't bind it.
3e214b50
JB
19001 (revert-buffer-in-progress-p): New variable.
19002 (revert-buffer): Bind it.
19003 Pass nil for `after-find-file-from-revert-buffer'.
19004
19005 * saveplace.el (save-place-find-file-hook): Use new variable
19006 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19007
3f0f1700
GM
190082011-04-06 Glenn Morris <rgm@gnu.org>
19009
c0274801
GM
19010 * Makefile.in (AUTOGEN_VCS): New variable.
19011 (autoloads): Use $AUTOGEN_VCS.
19012
3f0f1700
GM
19013 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19014 * calendar/calendar.el (calendar-mode-map):
19015 Check for toolkit scroll bars. (Bug#8305)
19016
41ea9e48
CY
190172011-04-05 Chong Yidong <cyd@stupidchicken.com>
19018
19019 * minibuffer.el (completion-in-region--postch)
19020 (completion-in-region-mode): Remove unnecessary messages.
19021
6194c800
JB
190222011-04-05 Juanma Barranquero <lekktu@gmail.com>
19023
33256f14
JB
19024 * font-lock.el (font-lock-refresh-defaults):
19025 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19026 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19027
6194c800
JB
19028 * info.el (Info-directory-list, Info-read-node-name-2)
19029 (Info-split-parameter-string): Doc fixes.
19030 (Info-virtual-nodes): Reflow docstring.
19031 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19032 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19033 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19034 Fix typos in docstrings.
19035 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19036 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19037 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19038 (Info-restore-desktop-buffer): Mark unused parameters.
19039 (Info-directory-find-file, Info-directory-find-node)
19040 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19041 (Info-virtual-index-find-node, Info-apropos-find-file)
19042 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19043 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19044 (Info-virtual-index): Remove unused local variable `nodename'.
19045
b87a8200 190462011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19047
b87a8200
DD
19048 * net/rcirc.el: Update my e-mail address.
19049 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19050
3b2ff876
CY
190512011-04-05 Chong Yidong <cyd@stupidchicken.com>
19052
19053 * startup.el (command-line): Save the cursor's theme-face
19054 directly, instead of using face-override-spec.
19055
19056 * custom.el (load-theme): Minor optimization in assigning faces.
19057
8d17e7ca
JB
190582011-04-04 Juanma Barranquero <lekktu@gmail.com>
19059
19060 * help-fns.el (describe-variable): Complete all variables having
19061 documentation, including keywords.
19062 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19063
2fbc1934
JB
190642011-04-04 Juanma Barranquero <lekktu@gmail.com>
19065
19066 Convert to lexical-binding.
19067
19068 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19069 (bs--get-marked-string, bs--get-modified-string)
19070 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19071 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19072 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19073
19074 * ehelp.el (electric-help-execute-extended)
19075 (electric-help-ctrl-x-prefix):
19076 * hexl.el (hexl-revert-buffer-function):
19077 * linum.el (linum-after-change, linum-after-scroll):
19078 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19079
19080 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19081
74f50695
DU
190822011-04-04 Daiki Ueno <ueno@unixuser.org>
19083
19084 * epa-dired.el:
19085 * epa-mail.el:
19086 * epa-hook.el:
19087 * epa-file.el:
19088 * epa.el:
19089 * epg.el: Use lexical binding.
19090
c11325f7
CY
190912011-04-03 Chong Yidong <cyd@stupidchicken.com>
19092
0d9e9a12
CY
19093 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19094
c11325f7 19095 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19096 dictionary case for flyspell-mark-duplications-exceptions.
19097 Use regexp matching for languages.
c11325f7
CY
19098 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19099 default dictionary (Bug#7926).
19100
da91b5f2
CY
191012011-04-02 Chong Yidong <cyd@stupidchicken.com>
19102
099c39a4
JB
19103 * emacs-lisp/package.el (package--with-work-buffer):
19104 Recognize https URLs.
da91b5f2 19105
099c39a4
JB
19106 * net/network-stream.el: Move from gnus/proto-stream.el.
19107 Change prefix to network-stream throughout.
da91b5f2
CY
19108 (open-protocol-stream): Merge into open-network-stream, leaving
19109 open-protocol-stream as an alias. Handle nil BUFFER args.
19110
19111 * subr.el (open-network-stream): Move to net/network-stream.el.
19112
afa8e9f6
GM
191132011-04-02 Glenn Morris <rgm@gnu.org>
19114
1d2e369d
GM
19115 * find-dired.el (find-exec-terminator): New option.
19116 (find-ls-option): Test for -ls support.
19117 (find-ls-subdir-switches): Test for -b in find-ls-option.
19118 (find-dired, find-grep-dired): Doc fixes.
19119 (find-dired): Use find-exec-terminator.
19120
8abb7da8 19121 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19122 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19123 (find-name-arg): Remove purecopy.
8abb7da8 19124
f3ca7378
GM
19125 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19126 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19127 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19128 accordingly. Don't add the null-device if not needed.
19129
afa8e9f6
GM
19130 * files.el (save-some-buffers): Doc fix.
19131
35eae264
EZ
191322011-04-02 Eli Zaretskii <eliz@gnu.org>
19133
19134 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19135
26b51db5
JB
191362011-04-01 Juanma Barranquero <lekktu@gmail.com>
19137
19138 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19139 Use `dolist' rather than `mapcar'.
19140
7200d79c
SM
191412011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19142
03408648 19143 Add lexical binding.
7200d79c 19144
03408648
SM
19145 * subr.el (apply-partially): Use new closures rather than CL.
19146 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19147 (dolist, dotimes): Use slightly different expansion for lexical code.
19148 (functionp): Move to C.
19149 (letrec): New macro.
19150 (with-wrapper-hook): Use it and apply-partially instead of CL.
19151 (eval-after-load): Preserve lexical-binding.
19152 (save-window-excursion, with-output-to-temp-buffer): Turn them
19153 into macros.
7200d79c 19154
03408648
SM
19155 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19156
19157 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19158 than the arglist.
19159 (help-add-fundoc-usage): Don't add `Not documented'.
19160 (help-function-arglist): Handle closures, subroutines, and new
19161 byte-code-functions.
19162 (help-make-usage): Remove leading underscores.
19163 (describe-function-1): Handle closures.
19164 (describe-variable): Use special-variable-p for completion.
19165
19166 * files.el (lexical-binding): Declare safe.
f488fb65 19167
03408648
SM
19168 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19169 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19170 (pcase): Add `let' pattern.
19171 Change memoization so it actually works.
19172 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19173 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19174 <let>: New case.
f488fb65 19175
03408648
SM
19176 * emacs-lisp/macroexp.el: Use lexical binding.
19177 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19178 Don't convert ' to #' without checking that it's indeed quoting
19179 a lambda.
19180
19181 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19182 Use eval-sexp-add-defvars.
03408648
SM
19183 (eval-sexp-add-defvars): New fun.
19184
19185 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19186
19187 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19188 Don't autoload.
19189 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19190 than the internal `byte-compile-lambda'.
19191 (defmethod): Don't hide code under quotes.
19192 (eieio-defmethod): New `code' argument.
19193
19194 * emacs-lisp/eieio-comp.el: Remove.
19195
19196 * emacs-lisp/edebug.el (edebug-eval-defun)
19197 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19198 (edebug-toggle): Avoid `eval'.
19199
19200 * emacs-lisp/disass.el (disassemble-internal): Handle new
19201 `closure' objects.
19202 (disassemble-1): Handle new byte codes.
19203
19204 * emacs-lisp/cl.el (pushnew): Silence warning.
19205
19206 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19207 (cl-byte-compile-throw): Remove.
19208 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19209
19210 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19211 closures.
19212
19213 * emacs-lisp/cconv.el: New file.
19214
19215 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19216 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19217 (byte-compile-initial-macro-environment):
19218 Handle declare-function here.
19219 (byte-compile--lexical-environment): New var.
19220 (byte-stack-ref, byte-stack-set, byte-discardN)
19221 (byte-discardN-preserve-tos): New lap codes.
19222 (byte-interactive-p): Don't use any more.
19223 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19224 New macros.
19225 (byte-compile-lapcode): Use them and handle new lap codes.
19226 (byte-compile-obsolete): Remove.
19227 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19228 (byte-compile-arglist-warn): Check late def of inlinable funs.
19229 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19230 since they should have been expanded by now.
19231 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19232 (byte-compile-from-buffer): Remove unused second arg.
19233 (byte-compile-preprocess): New function.
19234 (byte-compile-toplevel-file-form): New function to distinguish
19235 file-form calls from outside from file-form calls from hunk-handlers.
19236 (byte-compile-file-form): Simplify.
19237 (byte-compile-file-form-defsubst): Remove.
19238 (byte-compile-file-form-defmumble): Simplify now that
19239 byte-compile-lambda always returns a byte-code-function.
19240 (byte-compile): Preprocess.
19241 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19242 Remove, not used any more.
19243 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19244 (byte-compile-make-args-desc): New funs.
19245 (byte-compile-lambda): Handle lexical functions. Always return
19246 a byte-code-function.
19247 (byte-compile-reserved-constants): New var, to make up room for
19248 closed-over variables.
19249 (byte-compile-constants-vector): Obey it.
19250 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19251 (byte-compile-macroexpand-declare-function): New function.
19252 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19253 byte-code-functions.
19254 (byte-compile-form): Check obsolescence here.
19255 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19256 (byte-compile-variable-ref): Remove.
19257 (byte-compile-dynamic-variable-op): New fun.
19258 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19259 (byte-compile-variable-set): New funs.
19260 (byte-compile-discard): Add 2 args.
19261 (byte-compile-stack-ref, byte-compile-stack-set)
19262 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19263 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19264 macroexpand-all instead.
19265 (byte-compile-quote-form): Remove.
19266 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19267 (byte-compile-bind, byte-compile-unbind): New funs.
19268 (byte-compile-let): Handle let* and lexical binding.
19269 (byte-compile-let*): Remove.
19270 (byte-compile-catch, byte-compile-unwind-protect)
19271 (byte-compile-track-mouse, byte-compile-condition-case):
19272 Handle a new :fun-body form, used for lexical scoping.
19273 (byte-compile-save-window-excursion)
19274 (byte-compile-with-output-to-temp-buffer): Remove.
19275 (byte-compile-defun): Simplify.
19276 (byte-compile-stack-adjustment): New fun.
19277 (byte-compile-out): Use it.
19278 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19279
19280 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19281 handler any more.
19282
19283 * emacs-lisp/byte-opt.el: Use lexical binding.
19284 (byte-inline-lapcode): Remove (to bytecomp).
19285 (byte-compile-inline-expand): Pay attention to inlining to/from
19286 lexically bound code.
19287 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19288 any more.
19289 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19290 any more and don't call compiler-macros.
19291 (byte-compile-splice-in-already-compiled-code): Remove.
19292 (byte-code): Don't inline any more.
19293 (disassemble-offset): Receive `bytes' as argument rather than via
19294 dynamic scoping.
19295 (byte-compile-tag-number): Declare before first use.
19296 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19297 `return' even if make-spliceable.
19298 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19299 obsolete interactive-p.
19300 (byte-optimize-lapcode): Optimize new lap-codes.
19301 Don't trip up on new form of `byte-constant' lap code.
19302
19303 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19304
19305 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19306
19307 * custom.el (custom-initialize-default, custom-declare-variable):
19308 Use `defvar'.
19309
19310 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19311 New variables.
19312 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19313 (COMPILE_FIRST): Add macroexp and cconv.
19314 * makefile.w32-in: Mirror changes in Makefile.in.
19315
19316 * vc/cvs-status.el:
19317 * vc/diff-mode.el:
19318 * vc/log-edit.el:
19319 * vc/log-view.el:
19320 * vc/smerge-mode.el:
19321 * textmodes/bibtex-style.el:
090bd7cb 19322 * textmodes/css-mode.el:
03408648
SM
19323 * startup.el:
19324 * uniquify.el:
da91b5f2
CY
19325 * minibuffer.el:
19326 * newcomment.el:
19327 * reveal.el:
19328 * server.el:
19329 * mpc.el:
19330 * emacs-lisp/smie.el:
19331 * doc-view.el:
19332 * dired.el:
03408648
SM
19333 * abbrev.el: Use lexical binding.
19334
0f0c1f27
EZ
193352011-04-01 Eli Zaretskii <eliz@gnu.org>
19336
19337 * info.el (info-display-manual): New function.
19338
c82b2579
SM
193392011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19340
19341 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19342
221ddf68
TH
193432011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19344
19345 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19346 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19347
cba6e77e
GM
193482011-03-31 Glenn Morris <rgm@gnu.org>
19349
e040639f
GM
19350 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19351
cba6e77e
GM
19352 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19353
6d0f1c9e
CS
193542011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19355
19356 * progmodes/python.el (python-default-interpreter)
19357 (python-python-command-args, python-jython-command-args)
19358 (python-which-shell, python-which-args, python-which-bufname)
19359 (python-file-queue, python-comint-output-filter-function)
19360 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19361 variables and functions.
19362
3e2d70fd
SM
193632011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19364
19365 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19366 (completion-in-region-mode): New minor mode.
19367 (completion-in-region): Use it.
19368 (completion-in-region--data, completion-in-region-mode-map): New vars.
19369 (completion-in-region--postch): New function.
19370 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19371 New vars.
19372 (completion--capf-wrapper): New function.
19373 (completion-at-point): Use it to track well-behavedness of
19374 hook functions.
19375 (completion-help-at-point): New command.
19376
f3e4086c
JM
193772011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19378
19379 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19380 syntax class to search for whitespace on a single line
19381 (Message-ID: <4D938140.4030905@redhat.com>).
19382
eb7ffc14
LL
193832011-03-30 Leo Liu <sdl.web@gmail.com>
19384
19385 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19386 New commands.
19387 (edit-abbrevs-map): Bind them here.
19388 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19389
d806ab68
KM
193902011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19391
19392 * allout.el (allout-hide-by-annotation, allout-flag-region):
19393 Reduce possibility of overlay leakage by making them volatile.
19394
19395 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19396 hash is not shared between buffers. Mode initialization is
19397 responsible for giving it a useful starting value.
19398 (allout-item-span): Reduce possibility of overlay leakage by
19399 making them volatile.
19400 (allout-widgets-count-buttons-in-region): Add diagnostic function
19401 for tracking down button overlay leaks.
19402
ea622834
LL
194032011-03-29 Leo Liu <sdl.web@gmail.com>
19404
19405 * ido.el (ido-read-internal): Use the default history var
19406 minibuffer-history if no HISTORY is specified.
19407
b62f8267
G
194082011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19409
03408648
SM
19410 * net/imap.el (imap-shell-open, imap-process-connection-type):
19411 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19412 Kerberos, SSL, other subprocesses.
19413
947b6566
LL
194142011-03-28 Leo Liu <sdl.web@gmail.com>
19415
19416 * abbrev.el (abbrev-table-empty-p): New function.
19417 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19418 nonempty ones. (Bug#5937)
19419
5ffb62aa
JD
194202011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19421
19422 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19423
7a097943
LL
194242011-03-27 Leo Liu <sdl.web@gmail.com>
19425
19426 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19427 for foreground and background colors.
19428 (ansi-color-make-color-map): Adapt.
19429
c5b40130
LL
194302011-03-25 Leo Liu <sdl.web@gmail.com>
19431
1f48f7d2
LL
19432 * midnight.el (midnight-time-float): Remove. Note it calculates
19433 the microsecond component incorrectly and seconds-to-time does the
19434 same job.
625897ec 19435 Remove redundant (require 'timer).
1f48f7d2 19436
c5b40130
LL
19437 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19438 (ido-completions): Remove unused arguments. (Bug#8329)
19439
d86d2721
SM
194402011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19441
19442 * minibuffer.el (completion--flush-all-sorted-completions):
19443 Remove itself from hook.
19444 (completion-at-point): Let the functions perform the completion
19445 immediately and return nil or t.
19446 * comint.el (comint-dynamic-complete-functions): Now identical to
19447 completion-at-point-functions.
19448 (comint-dynamic-list-input-ring): Remove unused var `index'.
19449 (comint--match-partial-filename, comint--unquote&expand-filename):
19450 New funs, split from comint-match-partial-filename.
19451 (comint-dynamic-complete): Use completion-at-point.
19452 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19453
e8974c48
DA
194542011-03-24 Drew Adams <drew.adams@oracle.com>
19455
19456 * thingatpt.el: Support `defun'.
19457
def71b5e
LL
194582011-03-23 Leo Liu <sdl.web@gmail.com>
19459
cb5af48e
LL
19460 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19461
def71b5e
LL
19462 * help-mode.el (help-mode-finish): Tweak regexp.
19463
927c53e7
GM
194642011-03-23 Glenn Morris <rgm@gnu.org>
19465
18d05bed
GM
19466 * eshell/esh-opt.el (eshell-eval-using-options):
19467 Do not bind unused local variable `eshell-option-stub'.
19468
927c53e7
GM
19469 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19470
9d0da923
JB
194712011-03-22 Juanma Barranquero <lekktu@gmail.com>
19472
19473 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19474 keymap variable in `with-no-warnings' to avoid a warning when the
19475 keymap has been already `defconst'ed.
19476
4b978a67
LL
194772011-03-22 Leo Liu <sdl.web@gmail.com>
19478
19479 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19480 encode all chars in abbrevs; otherwise use emacs-mule or
19481 utf-8-emacs. (Bug#8308)
19482
5fd62452
JB
194832011-03-22 Juanma Barranquero <lekktu@gmail.com>
19484
0b1596c6
JB
19485 * simple.el (backward-delete-char-untabify):
19486 Avoid warning about using `delete-backward-char'.
19487
5fd62452
JB
19488 * image.el (image-type-file-name-regexps): Make it variable.
19489 `imagemagick-register-types' modifies it, and the user may want
19490 to add new extensions for known image types.
19491 (imagemagick-register-types): Throw error if not using ImageMagick.
19492
0b4e93f1
LL
194932011-03-22 Leo Liu <sdl.web@gmail.com>
19494
19495 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19496 located before rcirc-prompt-end-marker.
19497 (rcirc-complete): Error if point is not after rcirc prompt.
19498 Handle the case when table is nil.
9882e214 19499 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19500
fccee4ab
CY
195012011-03-22 Chong Yidong <cyd@stupidchicken.com>
19502
19503 * custom.el (custom--inhibit-theme-enable): Make it affect only
19504 custom-theme-set-variables and custom-theme-set-faces.
19505 (provide-theme): Ignore custom--inhibit-theme-enable.
19506 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19507 (custom-enabling-themes): Delete variable.
d86d2721
SM
19508 (enable-theme): Accept only loaded themes as arguments.
19509 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19510 (custom-enabled-themes): Forbid themes from setting this.
19511 Eliminate use of custom-enabling-themes.
19512 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19513
af896da6
LL
195142011-03-21 Leo Liu <sdl.web@gmail.com>
19515
19516 * ido.el (ido-read-internal): Add ido-selected to history instead
19517 of user input.
19518
78f64af0
SM
195192011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19520
19521 * subr.el (deferred-action-list, deferred-action-function):
19522 Mark obsolete.
19523
b16ac1ec
LL
195242011-03-21 Leo Liu <sdl.web@gmail.com>
19525
810f7698
LL
19526 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19527 change on 2011-02-13 (bug#8309).
19528
b16ac1ec
LL
19529 * minibuffer.el (read-file-name-function): Change default value.
19530 (read-file-name--defaults): Rename from read-file-name-defaults.
19531 (read-file-name-default): Rename from read-file-name.
19532 (read-file-name): Call read-file-name-function.
19533
4e05e67e
GM
195342011-03-21 Glenn Morris <rgm@gnu.org>
19535
19536 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19537 Doc fixes.
19538
4359915b
CY
195392011-03-21 Chong Yidong <cyd@stupidchicken.com>
19540
19541 * cus-theme.el: Add missing provide statement.
19542 (customize-create-theme): Extract theme value correctly.
19543 (custom-theme-visit-theme): Autoload.
19544 (customize-create-theme): Prompt before inserting default faces.
19545
1fe275ee
JB
195462011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19547
19548 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19549 units and musical notes.
19550
cd394be1 195512011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19552
19553 * ido.el (ido-read-internal): Use completing-read-default.
19554 (ido-completing-read): Fix compatibility with completing-read.
19555
7d476bde
CO
195562011-03-20 Christian Ohler <ohler@gnu.org>
19557
19558 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19559 (ert-delete-all-tests): Use `called-interactively-p' rather than
19560 `interactive-p'.
19561 (ert--make-xrefs-region): Respect END.
19562
fe0fb33e
CY
195632011-03-19 Chong Yidong <cyd@stupidchicken.com>
19564
ff854b0b
CY
19565 * dired-aux.el (dired-create-directory): Signal an error if the
19566 directory already exists (Bug#8246).
19567
fe0fb33e
CY
19568 * facemenu.el (list-colors-display): Call list-faces-display
19569 inside with-help-window.
19570 (list-colors-print): Use display property to align the final
19571 column, instead of checking window-width.
19572
576bce32
EZ
195732011-03-19 Eli Zaretskii <eliz@gnu.org>
19574
4d61f28d 19575 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19576 windows-nt systems.
19577 (emerge-protect-metachars): Quote correctly for ms-dos and
19578 windows-nt systems.
19579
89c41d68 195802011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19581
19582 * info.el (info-initialize): Replace all uses of `:' with
19583 path-separator for compatibility with non-Unix systems.
19584 Cache quoting of path-separator. (Bug#8258)
19585
b14e3e21 195862011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19587
19588 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19589 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19590 (mouse-avoidance-mode): Fix typos in docstrings.
19591
4525ce3e
CY
195922011-03-19 Chong Yidong <cyd@stupidchicken.com>
19593
19594 * startup.el (package-subdirectory-regexp): Move from package.el.
19595 Omit \\` and \\', and let callers add them.
19596
19597 * emacs-lisp/package.el (package-strip-version)
19598 (package-load-all-descriptors): Add \\` and \\' to
19599 package-subdirectory-regexp before using it.
19600 (package-untar-buffer): New arg DIR; ensure that file untars only
19601 into this expected directory. Remove superfluous delete-region.
19602 (package-unpack): Caller changed.
19603 (package-tar-file-info): Use package-subdirectory-regexp.
19604
a904a09a 196052011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19606
a904a09a
SM
19607 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19608 diff-mode-shared-map (bug#8284).
19609 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19610
196112011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19612
19613 * calendar/time-date.el (format-seconds): Use assoc instead of
19614 assoc-string, since assoc-string doesn't exist in XEmacs.
19615
171fc304
JB
196162011-03-17 Juanma Barranquero <lekktu@gmail.com>
19617
19618 * custom.el (custom-known-themes): Reflow docstring.
19619 (custom-theme-load-path): Fix typo in docstring.
19620 (load-theme): Fix typo in error message.
19621 (custom-available-themes, custom-variable-theme-value):
19622 Use `let', not `let*'.
19623
d71990a1
JB
196242011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19625
19626 * calc/README: Mention inclusion of musical notes.
19627
19628 * calc/calc-units.el (calc-lu-quant): Rename from
19629 `calc-logunits-quantity'.
19630 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19631 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19632 (calc-db): Rename from `calc-dblevel'.
19633 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19634 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19635 (calc-np): Rename from `calc-nplevel'.
19636 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19637 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19638 (calc-lu-plus): Rename from `calc-logunits-add'.
19639 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19640 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19641 (calc-lu-minus): Rename from `calc-logunits-sub'.
19642 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19643 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19644 (calc-lu-times): Rename from `calc-logunits-mul'.
19645 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19646 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19647 (calc-lu-divide): Rename from `calc-logunits-div'.
19648 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19649 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19650
19651 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19652 functions being autoloaded.
19653
19654 * calc/calc.el (calc-lu-power-reference): Rename from
19655 `calc-logunits-power-reference'.
19656 (calc-lu-field-reference): Rename from
19657 `calc-logunits-field-reference'.
19658
7a71b18d
GM
19659 * calc/calc-help.el (calc-l-prefix-help):
19660 Mention musical note functions.
d71990a1 19661
40c2934b
SM
196622011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19663
19664 * minibuffer.el (completion-all-sorted-completions):
19665 Use :completion-cycle-penalty text property if present.
19666
b0911414
KM
196672011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19668
19669 * allout.el (allout-yank-processing): Adjust for new rebulleting
19670 regime so bullet being yanked is used without prompting the user
19671 for a choice.
19672
8a05b668
JB
196732011-03-16 Juanma Barranquero <lekktu@gmail.com>
19674
19675 * startup.el (command-line): Warn the user that _emacs is deprecated.
19676
5ba5fb81
JB
196772011-03-16 Juanma Barranquero <lekktu@gmail.com>
19678
19679 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19680 (delphi-verbose, delphi-comment-face, delphi-string-face)
19681 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19682 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19683 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19684 (delphi-new-comment-line, delphi-font-lock-defaults)
19685 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19686 Fix typos in docstrings.
19687
2dab465b
KM
196882011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19689
5ba5fb81 19690 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19691 Invert the roles of character and string values for INSTEAD, so a
19692 string is used for the more common case of a defaulting prompt.
19693
0adf5618
SM
196942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19695
19696 * progmodes/ruby-mode.el (ruby-backward-sexp):
19697 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19698 * play/gamegrid.el (gamegrid-make-face):
19699 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19700 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19701 * notifications.el (notifications-notify):
19702 * net/xesam.el (xesam-search-engines):
19703 * net/quickurl.el (quickurl-list-insert):
19704 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19705
d72700e5
CY
197062011-03-15 Chong Yidong <cyd@stupidchicken.com>
19707
19708 * startup.el (command-line): Update package subdirectory regexp.
19709
49c5410a
SM
197102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19711
c6eee9aa
SM
19712 * allout.el (allout-abbreviate-flattened-numbering)
19713 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19714
49c5410a
SM
19715 * subr.el (read-char-choice): Only show the cursor after the prompt,
19716 not after the answer.
19717
047b2bb9
KR
197182011-03-15 Kevin Ryde <user42@zip.com.au>
19719
19720 * help-fns.el (variable-at-point): Skip leading quotes, if any
19721 (bug#8253).
19722
0a57d256
SM
197232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19724
19725 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19726 warning message.
19727
77c992bc
MA
197282011-03-14 Michael Albinus <michael.albinus@gmx.de>
19729
19730 * shell.el (shell): When called interactively, offer to change the
19731 shell file name on remote hosts.
19732
eebc475d
TZ
197332011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19734
19735 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19736 integration for LDAP parameters. The host, base, user or binddn,
19737 and secret tokens can be specified in a netrc file, for instance.
19738 This is optional because an `auth-source' parameter must be
19739 specified in the search attributes.
19740
9d05d1ba
JB
197412011-03-13 Juanma Barranquero <lekktu@gmail.com>
19742
19743 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19744
09d9db2c
GM
197452011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19746
19747 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19748 into declaration. Remove redundant and harmful binding.
19749
197502011-03-12 Eli Zaretskii <eliz@gnu.org>
19751
19752 * files.el (file-ownership-preserved-p): Pass `integer' as an
19753 explicit 2nd argument to `file-attributes'. If the file's owner
19754 is the Administrators group on Windows, and the current user is
19755 Administrator, consider that a match.
19756
19757 * server.el (server-ensure-safe-dir): Consider server directory
19758 safe on MS-Windows if its owner is the Administrators group while
19759 the current Emacs user is Administrator. Use `=' to compare
19760 numerical UIDs, since they could be integers or floats.
19761
219bd536
JB
197622011-03-12 Juanma Barranquero <lekktu@gmail.com>
19763
19764 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19765
f3afd36b
MA
197662011-03-12 Michael Albinus <michael.albinus@gmx.de>
19767
19768 Sync with Tramp 2.2.1.
19769
19770 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19771
19772 * net/trampver.el: Update release number.
19773
3aaaa6f1
SM
197742011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19775
94642599
SM
19776 * progmodes/compile.el (compilation--previous-directory): Fix up
19777 various nil/dead-marker mismatches (bug#8014).
19778 (compilation-directory-properties, compilation-error-properties):
19779 Don't call it at a position past the one we're about to change.
19780
3aaaa6f1
SM
19781 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19782 Disable obsolescence warnings in the file that declares it.
19783
14239447
KM
197842011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19785
099c39a4
JB
19786 * allout-widgets.el (allout-widgets-tally):
19787 Initialize allout-widgets-tally as a hash table rather than nil to
19788 prevent mode-line redisplay warnings. Also, clarify the module
19789 description and fix a comment typo.
14239447 19790
135e287c
JB
197912011-03-11 Juanma Barranquero <lekktu@gmail.com>
19792
19793 * help-fns.el (describe-variable): Don't complete keywords.
19794 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19795
ffbf300e
CY
197962011-03-10 Chong Yidong <cyd@stupidchicken.com>
19797
ba08b241
CY
19798 * emacs-lisp/package.el (package-version-join): Impose a standard
19799 string representation for pre/alpha/beta version lists.
19800 (package-unpack-single): Standardize the directory name by passing
19801 it through package-version-join.
19802 (package-strip-rcs-id): Accept any version string that does not
19803 signal an error in version-to-list.
ffbf300e 19804
f346fd6b
MA
198052011-03-10 Michael Albinus <michael.albinus@gmx.de>
19806
19807 * simple.el (delete-trailing-whitespace): Return nil for the
19808 benefit of `write-file-functions'.
19809
ccb55d27
GM
198102011-03-10 Glenn Morris <rgm@gnu.org>
19811
5ceaac0c
GM
19812 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19813
02da65ff
GM
19814 * vc/vc-git.el (vc-git-program): New option.
19815 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19816 (vc-git--call): Use it.
19817
b2f603cc
GM
19818 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19819
5772caab
GM
19820 * cus-edit.el (Custom-newline): If no button at point, look
19821 for a subgroup button at start-of-line. (Bug#2298)
19822
ccb55d27
GM
19823 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19824
ec6ecaed
JD
198252011-03-10 Julien Danjou <julien@danjou.info>
19826
19827 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19828 `cursor-type' is nil.
19829
9d5aa01d
JB
198302011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19831
19832 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19833
b6a5875b
KM
198342011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19835
7a71b18d 19836 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19837 preserves the existing header prefix, rebulleting it if necessary,
19838 rather than replacing it. This is necessary for proper operation
19839 of cooperative addons like allout-widgets.
1154d12e
JB
19840 (allout-make-topic-prefix, allout-rebullet-heading):
19841 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19842 value as alternate bullet to be used, instead of prompting the user
19843 for a bullet character.
b6a5875b 19844
ee545c35
MA
198452011-03-09 Michael Albinus <michael.albinus@gmx.de>
19846
d86d2721
SM
19847 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19848 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19849 `tramp-default-port'.
19850
c47971d7
DD
198512011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19852
19853 * net/rcirc.el (rcirc-handler-001): Remove useless
19854 with-rcirc-process-buffer.
19855 (rcirc-check-auth-status): Swap arguments to string-match.
19856
13522cb4
GM
198572011-03-09 Glenn Morris <rgm@gnu.org>
19858
0be6f4f1
GM
19859 * shell.el (shell-mode):
19860 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19861
13522cb4
GM
19862 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19863 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19864
515de2e3
CY
198652011-03-08 Chong Yidong <cyd@stupidchicken.com>
19866
19867 * emacs-lisp/package.el (package-refresh-contents)
19868 (package-menu-execute): Use condition-case-no-debug.
19869
b511b994
MA
198702011-03-08 Michael Albinus <michael.albinus@gmx.de>
19871
19872 * simple.el (shell-command-to-string): Use `process-file'.
19873
19874 * emacs-lisp/package.el (package-tar-file-info): Handle also
19875 remote files.
19876
d86d2721
SM
19877 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19878 Use `equal' for upload base check.
b511b994 19879
25bbfb31
AM
198802011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19881
19882 * textmodes/texinfo.el (texinfo-environments):
19883 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19884
be996521
GM
198852011-03-08 Glenn Morris <rgm@gnu.org>
19886
e9c8529f
GM
19887 * cus-start.el (cursor-in-non-selected-windows):
19888 Fix :set quoting oddness. (Bug#8192)
19889
be996521
GM
19890 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19891 in some setf expressions. (Bug#2159)
19892
2bb5649e
CY
198932011-03-08 Chong Yidong <cyd@stupidchicken.com>
19894
19895 * custom.el (custom-available-themes): Return themes in
19896 alphabetical order.
19897
33383987 19898See ChangeLog.15 for earlier changes.
e3d51b27
MR
19899
19900;; Local Variables:
19901;; coding: utf-8
e3d51b27
MR
19902;; End:
19903
acaf905b 19904 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19905
19906 This file is part of GNU Emacs.
19907
19908 GNU Emacs is free software: you can redistribute it and/or modify
19909 it under the terms of the GNU General Public License as published by
19910 the Free Software Foundation, either version 3 of the License, or
19911 (at your option) any later version.
19912
19913 GNU Emacs is distributed in the hope that it will be useful,
19914 but WITHOUT ANY WARRANTY; without even the implied warranty of
19915 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19916 GNU General Public License for more details.
19917
19918 You should have received a copy of the GNU General Public License
19919 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.