796ba3074e1dbba133a8c95b5f0c4e0ae9da6d33
[bpt/emacs.git] / lisp / ChangeLog
1 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2
3 * filecache.el (file-cache-delete-file-list):
4 Print message only when told so.
5 (file-cache-files-matching): Use #' in mapconcat argument.
6
7 * ffap.el (ffap-url-at-point): Fix reference to variable
8 thing-at-point-default-mail-uri-scheme.
9
10 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
11
12 * subr.el (define-error): New function.
13 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
14 error-file-not-found and define with define-error.
15 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
16 and define with define-error.
17 * userlock.el (file-locked, file-supersession):
18 * simple.el (mark-inactive):
19 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
20 * progmodes/ada-mode.el (ada-mode-errors):
21 * play/life.el (life-extinct):
22 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
23 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
24 * nxml/rng-util.el (rng-error):
25 * nxml/rng-uri.el (rng-uri-error):
26 * nxml/rng-match.el (rng-compile-error):
27 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
28 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
29 * nxml/nxml-rap.el (nxml-scan-error):
30 * nxml/nxml-outln.el (nxml-outline-error):
31 * net/soap-client.el (soap-error):
32 * net/gnutls.el (gnutls-error):
33 * net/ange-ftp.el (ftp-error):
34 * mpc.el (mpc-proc-error):
35 * json.el (json-error, json-readtable-error, json-unknown-keyword)
36 (json-number-format, json-string-escape, json-string-format)
37 (json-key-format, json-object-format):
38 * jka-compr.el (compression-error):
39 * international/quail.el (quail-error):
40 * international/kkc.el (kkc-error):
41 * emacs-lisp/ert.el (ert-test-failed):
42 * calc/calc.el (calc-error, inexact-result, math-overflow)
43 (math-underflow):
44 * bookmark.el (bookmark-error-no-filename):
45 * epg.el (epg-error): Define with define-error.
46
47 * time.el (display-time-event-handler)
48 (display-time-next-load-average): Don't call sit-for since it seems
49 unnecessary (bug#15045).
50
51 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
52 Use #' instead of ' to quote functions.
53 (checkdoc-output-mode): Use setq-local.
54 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
55 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
56 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
57 (checkdoc-ispell, checkdoc-ispell-current-buffer)
58 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
59 (checkdoc-ispell-message-text, checkdoc-ispell-start)
60 (checkdoc-ispell-continue, checkdoc-ispell-comments)
61 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
62
63 * ido.el (ido-completion-help): Fix up compiler warning.
64
65 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
66
67 * frameset.el (frameset-p): Add autoload cookie.
68 (frameset--jump-to-register): New function, based on code moved from
69 register.el.
70 (frameset-to-register): Move from register.el. Adapt to `registerv'.
71
72 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
73 (frameset-restore, frameset-save, frameset-session-filter-alist):
74 Remove declarations.
75 (register-alist): Doc fix.
76 (frameset-to-register): Move to frameset.el.
77 (jump-to-register, describe-register-1): Remove frameset-specific code.
78
79 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
80
81 * allout-widgets.el (allout-widgets-pre-command-business)
82 (allout-widgets-post-command-business)
83 (allout-widgets-after-change-handler)
84 (allout-decorate-item-and-context, allout-set-boundary-marker)
85 (allout-body-modification-handler)
86 (allout-graphics-modification-handler): Mark ignored arguments.
87 (allout-widgets-post-command-business)
88 (allout-widgets-exposure-change-processor)
89 (allout-widgets-exposure-undo-processor)
90 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
91 (allout-parse-item-at-point, allout-decorate-item-guides)
92 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
93 * allout.el (epa-passphrase-callback-function): Declare.
94 (allout-overlay-insert-in-front-handler)
95 (allout-overlay-interior-modification-handler)
96 (allout-isearch-end-handler, allout-chart-siblings)
97 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
98 (allout-yank-processing, allout-process-exposed)
99 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
100 (allout-latex-verbatim-quote-curr-line): Removed unused variables.
101 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
102 (lisp-indent-defform): Mark ignored arguments.
103 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
104 (calculate-lisp-indent): Remove unused variables.
105 * international/characters.el (indian-2-column, arabic-2-column)
106 (tibetan): Mark ignored arguments.
107 (use-cjk-char-width-table): Mark ignored arguments.
108 Remove unused variables.
109 * international/fontset.el (build-default-fontset-data)
110 (x-compose-font-name, create-fontset-from-fontset-spec):
111 Mark ignored arguments.
112 (fontset-plain-name): Remove unused variables.
113 * international/mule.el (charset-id, charset-bytes, generic-char-p)
114 (keyboard-coding-system): Mark ignored arguments.
115 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
116 * help.el (resize-temp-buffer-window):
117 * window.el (display-buffer-in-major-side-window)
118 (display-buffer-in-side-window, display-buffer-in-previous-window):
119 Remove unused variables.
120 * isearch.el (isearch-forward-symbol):
121 * version.el (emacs-bzr-version-bzr):
122 * international/mule-cmds.el (current-language-environment):
123 * term/common-win.el (x-handle-iconic, x-handle-geometry)
124 (x-handle-display):
125 * term/pc-win.el (x-list-fonts, x-display-planes)
126 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
127 (x-server-version, x-display-screens, x-display-mm-height)
128 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
129 (x-selection-owner-p, x-own-selection-internal)
130 (x-disown-selection-internal, x-get-selection-internal)
131 (msdos-initialize-window-system):
132 * term/tty-colors.el (tty-color-alist, tty-color-clear):
133 * term/x-win.el (x-handle-no-bitmap-icon):
134 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
135 (vc-default-find-file-hook, vc-default-extra-menu):
136 Mark ignored arguments.
137
138 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
141 break-condition in the context of the debugged code (bug#12685).
142
143 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
144
145 * comint.el:
146 Do not use an overlay to highlight the last prompt. (Bug#14744)
147 (comint-mode): Make comint-last-prompt buffer local.
148 (comint-last-prompt): New variable.
149 (comint-last-prompt-overlay): Remove. Superseded by
150 comint-last-prompt.
151 (comint-snapshot-last-prompt, comint-output-filter):
152 Use comint-last-prompt.
153
154 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
155
156 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
157 (frameset-save): Check validity of the resulting frameset.
158
159 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
160
161 * ido.el (ido-record-command): Add doc string.
162
163 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
164
165 * frameset.el (frameset): Do not disable creation of the default
166 frameset-p predicate. Doc fix.
167 (frameset-valid-p): New function, copied from the old predicate-p.
168 Add additional checks.
169 (frameset-restore): Check with frameset-valid-p.
170 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
171 (frameset-name, frameset-description, frameset-properties)
172 (frameset-states): Add docstring.
173 (frameset-session-filter-alist, frameset-persistent-filter-alist)
174 (frameset-filter-alist): Doc fixes.
175
176 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
177
178 * frameset.el (frameset-p, frameset-prop): Doc fixes.
179
180 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
183 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
184 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
185 (byte-compile-normal-call): Remove obsolescence check.
186
187 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
188
189 * frameset.el (frameset-restore): Doc fix.
190
191 * register.el (frameset-frame-id, frameset-frame-with-id)
192 (frameset-p, frameset-restore, frameset-save): Declare.
193 (register-alist): Document framesets.
194 (frameset-session-filter-alist): Declare.
195 (frameset-to-register): New function.
196 (jump-to-register): Implement jumping to framesets. Doc fix.
197 (describe-register-1): Describe framesets.
198
199 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
200
201 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
202
203 * desktop.el (desktop-save-frameset): Use new frameset-save args.
204 Use lexical-binding.
205
206 * frameset.el (frameset): Use type vector, not list (incompatible
207 change). Do not declare a new constructor, use the default one.
208 Upgrade suggested properties `app', `name' and `desc' to slots `app',
209 `name' and `description', respectively, and add read-only slot
210 `timestamp'. Doc fixes.
211 (frameset-copy, frameset-persistent-filter-alist)
212 (frameset-filter-alist, frameset-switch-to-gui-p)
213 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
214 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
215 (frameset-filter-iconified, frameset-keep-original-display-p):
216 Doc fixes.
217 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
218 Rename from frameset-filter-(save|restore)-param. All callers changed.
219 Doc fix.
220 (frameset-p): Adapt to change to vector and be more thorough.
221 Change arg name to OBJECT. Doc fix.
222 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
223 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
224 All callers changed.
225 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
226 All callers changed.
227 (frameset--record-minibuffer-relationships): Rename from
228 frameset--process-minibuffer-frames. All callers changed.
229 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
230 Use new default constructor (again). Doc fix.
231 (frameset--find-frame-if): Rename from `frameset--find-frame.
232 All callers changed.
233 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
234 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
235 Doc fix.
236 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
237 PARAMETERS and WINDOW-STATE, respectively.
238 (frameset-restore): Add new keyword argument PREDICATE.
239 Reset frameset--target-display to nil. Doc fix.
240
241 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
242
243 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
244 (bat-mode): Use it.
245 (bat-mode-syntax-table): Mark \n as end-of-comment.
246 (bat-font-lock-keywords): Remove comment rule.
247
248 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
249 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
250
251 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
252 (byte-compile-callargs-warn): Use `push'.
253 (byte-compile-arglist-warn): Ignore higher-order "calls".
254 (byte-compile-file-form-autoload): Use `pcase'.
255 (byte-compile-function-form): If quoting a symbol, check that it exists.
256
257 2013-08-07 Eli Zaretskii <eliz@gnu.org>
258
259 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
260 and add a few popular commands found in batch files.
261 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
262 (dos-mode): Doc fixes.
263
264 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
267 (dos-mode): Use setq-local. Add space after "rem".
268 (dos-mode-syntax-table): Don't use "w" for symbol chars.
269 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
270
271 2013-08-07 Arni Magnusson <arnima@hafro.is>
272
273 * progmodes/dos.el: New file.
274 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
275 dos-mode.
276
277 2013-08-06 Glenn Morris <rgm@gnu.org>
278
279 * calendar/calendar.el: Add new faces, and day-header-array.
280 (calendar-weekday-header, calendar-weekend-header)
281 (calendar-month-header): New faces.
282 (calendar-day-header-construct): New function.
283 (calendar-day-header-width): Also :set calendar-day-header-array.
284 (calendar-american-month-header, calendar-european-month-header)
285 (calendar-iso-month-header): Use calendar- faces.
286 (calendar-generate-month):
287 Use calendar-day-header-array for day headers; apply faces to them.
288 (calendar-mode): Check calendar-font-lock-keywords non-nil.
289 (calendar-abbrev-construct): Add optional maxlen argument.
290 (calendar-day-name-array): Doc fix.
291 (calendar-day-name-array, calendar-abbrev-length)
292 (calendar-day-abbrev-array):
293 Also :set calendar-day-header-array, and maybe redraw.
294 (calendar-day-header-array): New option. (Bug#15007)
295 (calendar-font-lock-keywords): Set to nil and make obsolete.
296 (calendar-day-name): Add option to use header array.
297
298 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
299
300 * net/shr.el (shr-render-td): Remove debugging.
301 (shr-render-td): Make width computation consistent by defaulting
302 all zero-width columns to 10 characters. This may not be optimal,
303 but it's at least consistent.
304 (shr-make-table-1): Redo last change to fix the real problem in
305 colspan handling.
306
307 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
308
309 * files.el (cache-long-line-scans):
310 Make obsolete alias to `cache-long-scans'.
311
312 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
313
314 * frameset.el (frameset, frameset-filter-alist)
315 (frameset-filter-params, frameset-save, frameset--reuse-frame)
316 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
317 (frameset-compute-pos): Rename from frameset--compute-pos,
318 and add docstring.
319 (frameset-move-onscreen): Use frameset-compute-pos.
320 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
321
322 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
323 Fix typos in docstrings.
324
325 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
326
327 * frame.el (get-other-frame): Tiny cleanup.
328
329 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
330
331 * vc/vc.el (vc-default-ignore-completion-table):
332 Silence byte-compiler warning.
333
334 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
335 slot , which can indeed be nil.
336 (frameset-live-filter-alist, frameset-persistent-filter-alist):
337 Move entry for `left' from persistent to live filter alist.
338 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
339 Doc fixes.
340 (frameset-filter-params): When restoring a frame, copy items added to
341 `filtered', to avoid unwittingly modifying the original parameters.
342 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
343 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
344
345 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
346 to use looking-at-p instead of looking-at. (Bug#15028)
347
348 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 Revert introduction of isearch-filter-predicates (bug#14714).
351 Rely on add-function instead.
352 * isearch.el (isearch-filter-predicates): Rename it back to
353 isearch-filter-predicate.
354 (isearch-message-prefix): Use advice-function-mapc and advice
355 properties to get the isearch-message-prefix.
356 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
357 instead of run-hook-with-args-until-failure.
358 (isearch-filter-visible): Not obsolete any more.
359 * loadup.el: Preload nadvice.
360 * replace.el (perform-replace): Revert to funcall
361 instead of run-hook-with-args-until-failure.
362 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
363 * dired-aux.el (dired-isearch-filenames-mode): Rename from
364 dired-isearch-filenames-toggle; make it into a proper minor mode.
365 Use add/remove-function.
366 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
367 Call the minor-mode rather than add/remove-hook.
368 (dired-isearch-filter-filenames):
369 Remove isearch-message-prefix property.
370 * info.el (Info--search-loop): New function, extracted from Info-search.
371 Funcall isearch-filter-predicate instead of
372 run-hook-with-args-until-failure isearch-filter-predicates.
373 (Info-search): Use it.
374 (Info-mode): Use isearch-filter-predicate instead of
375 isearch-filter-predicates.
376
377 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
378
379 Do not call to `selected-window' where it is assumed by default.
380 Affected functions are `window-minibuffer-p', `window-dedicated-p',
381 `window-hscroll', `window-width', `window-height', `window-buffer',
382 `window-frame', `window-start', `window-point', `next-window'
383 and `window-display-table'.
384 * abbrev.el (abbrev--default-expand):
385 * bs.el (bs--show-with-configuration):
386 * buff-menu.el (Buffer-menu-mouse-select):
387 * calc/calc.el (calc):
388 * calendar/calendar.el (calendar-generate-window):
389 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
390 (diary-make-entry):
391 * comint.el (send-invisible, comint-dynamic-complete-filename)
392 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
393 * completion.el (complete):
394 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
395 * disp-table.el (describe-current-display-table):
396 * doc-view.el (doc-view-insert-image):
397 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
398 * ehelp.el (with-electric-help):
399 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
400 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
401 * emacs-lisp/helper.el (Helper-help-scroller):
402 * emulation/cua-base.el (cua--post-command-handler-1):
403 * eshell/esh-mode.el (eshell-output-filter):
404 * ffap.el (ffap-gnus-wrapper):
405 * help-macro.el (make-help-screen):
406 * hilit-chg.el (highlight-compare-buffers):
407 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
408 * hl-line.el (global-hl-line-highlight):
409 * icomplete.el (icomplete-simple-completing-p):
410 * isearch.el (isearch-done):
411 * jit-lock.el (jit-lock-stealth-fontify):
412 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
413 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
414 * mpc.el (mpc-tagbrowser, mpc):
415 * net/rcirc.el (rcirc-any-buffer):
416 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
417 * play/landmark.el (landmark-max-width, landmark-max-height):
418 * play/zone.el (zone):
419 * progmodes/compile.el (compilation-goto-locus):
420 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
421 * progmodes/etags.el (find-tag-other-window):
422 * progmodes/fortran.el (fortran-column-ruler):
423 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
424 * progmodes/verilog-mode.el (verilog-point-text):
425 * reposition.el (reposition-window):
426 * rot13.el (toggle-rot13-mode):
427 * server.el (server-switch-buffer):
428 * shell.el (shell-dynamic-complete-command)
429 (shell-dynamic-complete-environment-variable):
430 * simple.el (insert-buffer, set-selective-display)
431 (delete-completion-window):
432 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
433 (speedbar-recenter):
434 * startup.el (fancy-splash-head):
435 * textmodes/ispell.el (ispell-command-loop):
436 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
437 * tutorial.el (help-with-tutorial):
438 * vc/add-log.el (add-change-log-entry):
439 * vc/compare-w.el (compare-windows):
440 * vc/ediff-help.el (ediff-indent-help-message):
441 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
442 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
443 (ediff-setup-control-frame):
444 * vc/emerge.el (emerge-position-region):
445 * vc/pcvs-util.el (cvs-bury-buffer):
446 * window.el (walk-windows, mouse-autoselect-window-select):
447 * winner.el (winner-set-conf, winner-undo): Related users changed.
448
449 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
450
451 * frameset.el (frameset--set-id): Doc fix.
452 (frameset-frame-id, frameset-frame-id-equal-p)
453 (frameset-locate-frame-id): New functions.
454 (frameset--process-minibuffer-frames, frameset--reuse-frame)
455 (frameset-restore): Use them.
456
457 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
458
459 Do not call to `selected-frame' where it is assumed by default.
460 Affected functions are `raise-frame', `redraw-frame',
461 `frame-first-window', `frame-terminal' and `delete-frame'.
462 * calendar/appt.el (appt-disp-window):
463 * epg.el (epg-wait-for-completion):
464 * follow.el (follow-delete-other-windows-and-split)
465 (follow-avoid-tail-recenter):
466 * international/mule.el (set-terminal-coding-system):
467 * mail/rmail.el (rmail-mail-return):
468 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
469 * progmodes/f90.el (f90-add-imenu-menu):
470 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
471 * server.el (server-switch-buffer):
472 * simple.el (delete-completion-window):
473 * talk.el (talk):
474 * term/xterm.el (terminal-init-xterm-modify-other-keys)
475 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
476 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
477 * vc/ediff.el (ediff-documentation): Related users changed.
478 * frame.el (selected-terminal): Remove the leftover.
479
480 2013-08-05 Glenn Morris <rgm@gnu.org>
481
482 * calendar/calendar.el (calendar-generate-month):
483 Fix for calendar-column-width != 1 + calendar-day-digit-width.
484 (calendar-generate-month, calendar-font-lock-keywords):
485 Fix for calendar-day-header-width > length of any day name.
486
487 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
488
489 * desktop.el (desktop-clear): Use new name of sort predicate.
490
491 * frameset.el (frameset): Add docstring. Move :version property to its
492 own `version' slot.
493 (frameset-copy): Rename from copy-frameset.
494 (frameset-p): Check more thoroughly.
495 (frameset-prop): Do not check for :version, which is no longer a prop.
496 (frameset-live-filter-alist, frameset-persistent-filter-alist):
497 Use new :never value instead of t.
498 (frameset-filter-alist): Expand and clarify docstring.
499 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
500 (frameset-filter-minibuffer, frameset-filter-save-param)
501 (frameset-filter-restore-param, frameset-filter-iconified):
502 Add pointer to docstring of frameset-filter-alist.
503 (frameset-filter-params): Rename filter values to be more meaningful:
504 :never instead of t, and reverse the meanings of :save and :restore.
505 (frameset--process-minibuffer-frames): Clarify error message.
506 (frameset-save): Avoid unnecessary and confusing call to framep.
507 Use new BOA constructor for framesets.
508 (frameset--reuse-list): Doc fix.
509 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
510 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
511 (frameset-minibufferless-first-p): Doc fix.
512 Rename from frameset-sort-frames-for-deletion.
513 (frameset-restore): Doc fixes. Use new function names.
514 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
515
516 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
517
518 * desktop.el (desktop-restore-forces-onscreen)
519 (desktop-restore-reuses-frames): Document :keyword constant values.
520 (desktop-filter-parameters-alist): Remove, now identical to
521 frameset-filter-alist.
522 (desktop--filter-tty*): Remove, moved to frameset.el.
523 (desktop-save-frameset, desktop-restore-frameset):
524 Do not pass :filters argument.
525
526 * frameset.el (frameset-live-filter-alist)
527 (frameset-persistent-filter-alist): New variables.
528 (frameset-filter-alist): Use them. Add autoload cookie.
529 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
530 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
531 `frameset--id' (it's supposed to be internal to frameset.el).
532 (frameset--process-minibuffer-frames): Ditto. Doc fix.
533 (frameset--initial-params): New function.
534 (frameset--get-frame): Use it. Doc fix.
535 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
536 Accept :all, not 'all.
537 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
538 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
539 with fbound symbols. Fix frame id matching, and remove matching ids if
540 the frame being restored is deleted. Obey :delete.
541
542 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * subr.el (macrop): New function.
545 (text-clone--maintaining): New var.
546 (text-clone--maintain): Rename from text-clone-maintain. Use it
547 instead of inhibit-modification-hooks.
548
549 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
550 a proxy, so as handle autoloads and redefinitions of the target.
551 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
552
553 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
554 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
555 (pcase--mutually-exclusive-p): New function.
556 (pcase--split-consp): Use it.
557 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
558 mutually exclusive with the current predicate.
559
560 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
561 (edebug-macrop): Remove. Use `macrop' instead.
562 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
563 (ad-macro-p):
564 * eshell/esh-cmd.el (eshell-macrop):
565 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
566
567 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
568
569 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
570 (advice-mapc): New function, using it.
571 (advice-function-member-p): New function.
572 (advice--normalize): Store the cdr in advice--saved-rewrite since
573 that's the part that will be changed.
574 (advice--symbol-function): New function.
575 (advice-remove): Handle removal before the function is defined.
576 Adjust to new advice--saved-rewrite.
577 (advice-member-p): Use advice-function-member-p and
578 advice--symbol-function.
579
580 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
581
582 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
583 (frameset-filter-minibuffer): Doc fix.
584 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
585 (frameset--set-id, frameset--process-minibuffer-frames)
586 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
587 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
588
589 * desktop.el (desktop-clear): Only delete frames when called
590 interactively and desktop-restore-frames is non-nil. Doc fix.
591 (desktop-read): Set desktop-saved-frameset to nil.
592
593 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
594
595 * vc/vc.el (vc-ignore): Rewrite.
596 (vc-default-ignore-completion-table):
597 (vc--read-lines):
598 (vc--add-line, vc--remove-regexp): New functions.
599
600 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
601 (vc-svn-ignore-completion-table): New function.
602
603 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
604 (vc-hg-ignore-completion-table):
605 (vc-hg-find-ignore-file): New functions.
606
607 * vc/vc-git.el (vc-git-ignore): Rewrite.
608 (vc-git-ignore-completion-table):
609 (vc-git-find-ignore-file): New functions.
610
611 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
612
613 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
614 (vc-bzr-ignore-completion-table):
615 (vc-bzr-find-ignore-file): New functions.
616
617 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
618
619 * frameset.el (frameset-prop): New function and setter.
620 (frameset-save): Do not modify frame list passed by the caller.
621
622 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
623
624 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
625
626 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
627
628 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
629 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
630
631 * custom.el (custom-initialize-default, custom-initialize-set)
632 (custom-initialize-reset, custom-initialize-changed): Affect the
633 toplevel-default-value (bug#6275, bug#14586).
634 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
635 for bug#6275.
636
637 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
638
639 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
640 Add cl-def* expressions.
641
642 * frameset.el (frameset-filter-params): Fix order of arguments.
643
644 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
645
646 Move code related to saving frames to frameset.el.
647 * desktop.el: Require frameset.
648 (desktop-restore-frames): Doc fix.
649 (desktop-restore-reuses-frames): Rename from
650 desktop-restoring-reuses-frames.
651 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
652 (desktop-clear): Clear frames too.
653 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
654 (desktop--filter-tty*, desktop-save, desktop-read):
655 Use frameset functions.
656 (desktop-before-saving-frames-functions, desktop--filter-*-color)
657 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
658 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
659 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
660 (desktop--process-minibuffer-frames, desktop-save-frames)
661 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
662 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
663 (desktop--sort-states, desktop-restoring-frames-p)
664 (desktop-restore-frames): Remove. Most code moved to frameset.el.
665 (desktop-restoring-frameset-p, desktop-restore-frameset)
666 (desktop--check-dont-save, desktop-save-frameset): New functions.
667 (desktop--app-id): New constant.
668 (desktop-first-buffer, desktop-buffer-ok-count)
669 (desktop-buffer-fail-count): Move before first use.
670 * frameset.el: New file.
671
672 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
673
674 * files.el: Use lexical-binding.
675 (dir-locals-read-from-file): Remove unused `err' variable.
676 (hack-dir-local-variables--warned-coding): New var.
677 (hack-dir-local-variables): Use it to avoid repeated warnings.
678 (make-backup-file-name--default-function): New function.
679 (make-backup-file-name-function): Use it as default.
680 (buffer-stale--default-function): New function.
681 (buffer-stale-function): Use it as default.
682 (revert-buffer-insert-file-contents--default-function): New function.
683 (revert-buffer-insert-file-contents-function): Use it as default.
684 (insert-directory): Avoid add-to-list.
685
686 * autorevert.el (auto-revert-handler): Simplify.
687 Use buffer-stale--default-function.
688
689 2013-08-01 Tassilo Horn <tsdh@gnu.org>
690
691 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
692
693 * whitespace.el (whitespace-ensure-local-variables): New function.
694 (whitespace-cleanup-region): Call it.
695 (whitespace-turn-on): Call it.
696
697 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
698
699 Complete file name handlers.
700
701 * net/tramp.el (tramp-handle-set-visited-file-modtime)
702 (tramp-handle-verify-visited-file-modtime)
703 (tramp-handle-file-notify-rm-watch): New functions.
704 (tramp-call-process): Do not bind `default-directory'.
705
706 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
707 Order alphabetically.
708 [access-file, add-name-to-file, dired-call-process]:
709 [dired-compress-file, file-acl, file-notify-rm-watch]:
710 [file-ownership-preserved-p, file-selinux-context]:
711 [make-directory-internal, make-symbolic-link, set-file-acl]:
712 [set-file-selinux-context, set-visited-file-modtime]:
713 [verify-visited-file-modtime]: Add handler.
714 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
715
716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
717 [file-notify-add-watch, file-notify-rm-watch]:
718 [set-file-times, set-visited-file-modtime]:
719 [verify-visited-file-modtime]: Add handler.
720 (with-tramp-gvfs-error-message)
721 (tramp-gvfs-handle-set-visited-file-modtime)
722 (tramp-gvfs-fuse-file-name): Remove.
723 (tramp-gvfs-handle-file-notify-add-watch)
724 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
725 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
726
727 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
728 Order alphabetically.
729 [file-notify-rm-watch ]: Use default Tramp handler.
730 [executable-find]: Remove private handler.
731 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
732 `default-directory'.
733 (tramp-sh-handle-executable-find)
734 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
735 (tramp-sh-file-gvfs-monitor-dir-process-filter)
736 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
737 Do not use `format' in `tramp-message'.
738
739 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
740 [file-notify-rm-watch, set-visited-file-modtime]:
741 [verify-visited-file-modtime]: Add handler.
742 (tramp-smb-call-winexe): Do not bind `default-directory'.
743
744 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
745
746 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
747
748 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
749
750 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
751 use it.
752 (log-view-diff-changeset): Same.
753 (log-view-diff-common): Call backend command `previous-revision'
754 to find out the previous revision, in both cases. Swap the
755 variables `to' and `fr', so that `fr' usually refers to the
756 earlier revision (Bug#14989).
757
758 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
759
760 * ibuf-ext.el (ibuffer-filter-by-filename):
761 Make it work with dired buffers too.
762
763 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
764
765 * emacs-lisp/re-builder.el (reb-color-display-p):
766 * files.el (save-buffers-kill-terminal):
767 * net/browse-url.el (browse-url):
768 * server.el (server-save-buffers-kill-terminal):
769 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
770 Prefer nil to selected-frame for the first arg of frame-parameter.
771
772 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
773
774 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
775
776 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
777
778 * minibuffer.el (completion--twq-all): Try and preserve each
779 completion's case choice (bug#14907).
780
781 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
782
783 * net/network-stream.el (open-network-stream): Mention the new
784 :nogreeting parameter.
785 (network-stream-open-starttls): Use the :nogreeting parameter
786 (bug#14938).
787
788 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
789
790 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
791 more natural than popping.
792
793 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
794 (shr-urlify): Highlight under mouse.
795
796 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
797
798 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
799
800 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
801
802 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
803 buffer for output.
804
805 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
806 point-min==1. Fix search string. Fix parentheses missing.
807
808 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
809 assume point-min==1. Fix search string. Fix parentheses missing.
810
811 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
812
813 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
814 buffer for output.
815
816 2013-07-29 Eli Zaretskii <eliz@gnu.org>
817
818 * frame.el (frame-notice-user-settings): Avoid inflooping when the
819 initial frame is minibuffer-less. (Bug#14841)
820
821 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
822
823 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
824 option.
825
826 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
827 (tramp-maybe-open-connection): Use it.
828
829 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
830
831 * desktop.el (desktop--make-frame): Include `minibuffer' in the
832 minimal set of parameters passed when creating a frame, because
833 the minibuffer status of a frame cannot be changed later.
834
835 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
836
837 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
838 replace-regexp-in-string and inadvertent omissions in previous change.
839 (todo-filter-items): Ensure only file names are comma-separated in
840 name of filtered items buffer.
841
842 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
843
844 * desktop.el: Optionally force offscreen frames back onscreen.
845 (desktop-restoring-reuses-frames): New option.
846 (desktop--compute-pos, desktop--move-onscreen): New functions.
847 (desktop--make-frame): Use desktop--move-onscreen.
848
849 2013-07-27 Alan Mackenzie <acm@muc.de>
850
851 Fontify a Java generic method as a function.
852 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
853 value to t.
854
855 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
856
857 * calendar/todo-mode.el: Add command to rename todo files.
858 (todo-rename-file): New command.
859 (todo-key-bindings-t): Add key binding for it. Change the
860 bindings of todo-filter-regexp-items(-multifile) to use `x'
861 instead of `r', since the latter is better suited to the new
862 renaming command.
863
864 2013-07-27 Alan Mackenzie <acm@muc.de>
865
866 Make Java try-with-resources statement parse properly.
867 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
868 (c-block-stmt-1-2-key): New language constants/variables.
869 * progmodes/cc-engine.el (c-beginning-of-statement-1)
870 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
871 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
872 with c-block-stmt-1-2-key.
873
874 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
875
876 * desktop.el (desktop--make-frame): Apply most frame parameters after
877 creating the frame to force (partially or totally) offscreen frames to
878 be restored as such.
879
880 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
881
882 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
883 (Bug#14948)
884
885 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
886
887 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
888 `base' arg of backtrace-frame.
889
890 2013-07-26 Eli Zaretskii <eliz@gnu.org>
891
892 * simple.el (list-processes): Doc fix.
893
894 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
895
896 * desktop.el (desktop--select-frame):
897 Try harder to reuse existing frames.
898
899 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
902 (edebug-eval): Use backtrace-eval.
903 (edebug--display, edebug--recursive-edit): Don't let-bind the
904 edebug-outer-* vars that keep track of variables we locally let-bind.
905 (edebug-outside-excursion): Don't restore outside values of locally
906 let-bound vars.
907 (edebug--display): Use user-error.
908 (cl-lexical-debug, cl-debug-env): Remove.
909
910 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
911
912 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
913 are restored to be sure that they are visible before deleting any
914 remaining ones.
915
916 2013-07-26 Matthias Meulien <orontee@gmail.com>
917
918 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
919 vc-print-root-log. (Bug#14948)
920
921 2013-07-26 Richard Stallman <rms@gnu.org>
922
923 Add aliases for encrypting mail.
924 * epa.el (epa-mail-aliases): New option.
925 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
926 Bind inhibit-read-only so read-only text doesn't ruin everything.
927 (epa-mail-default-recipients): New subroutine broken out.
928 Handle epa-mail-aliases.
929
930 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 Add support for lexical variables to the debugger's `e' command.
933 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
934 vars, except for debugger-outer-match-data.
935 (debugger-frame-number): Move check for "on a function call" from
936 callers into it. Add `skip-base' argument.
937 (debugger-frame, debugger-frame-clear): Simplify accordingly.
938 (debugger-env-macro): Only reset the state stored in non-variables,
939 i.e. current-buffer and match-data.
940 (debugger-eval-expression): Rewrite using backtrace-eval.
941 * subr.el (internal--called-interactively-p--get-frame): Remove.
942 (called-interactively-p):
943 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
944 `base' arg of backtrace-frame instead.
945
946 2013-07-26 Glenn Morris <rgm@gnu.org>
947
948 * align.el (align-regexp): Doc fix. (Bug#14857)
949 (align-region): Explicit error if subexpression missing/does not match.
950
951 * simple.el (global-visual-line-mode):
952 Do not duplicate the mode lighter. (Bug#14858)
953
954 2013-07-25 Martin Rudalics <rudalics@gmx.at>
955
956 * window.el (display-buffer): In display-buffer bind
957 split-window-keep-point to t, bug#14829.
958
959 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
960
961 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
962 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
963 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
964 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
965 Change accordingly.
966 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
967 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
968
969 2013-07-25 Glenn Morris <rgm@gnu.org>
970
971 * dired-x.el (dired-mark-extension): Convert comment to doc string.
972
973 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
974
975 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
976 parameter to modify-frame-parameters if the value has not changed;
977 this is a workaround for bug#14949.
978 (desktop--make-frame): On cl-delete-if call, check parameter name,
979 not full parameter.
980
981 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
982
983 * vc/vc.el (vc-ignore): New function.
984
985 * vc/vc-svn.el (vc-svn-ignore): New function.
986
987 * vc/vc-hg.el (vc-hg-ignore): New function.
988
989 * vc/vc-git.el (vc-git-ignore): New function.
990
991 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
992 (vc-dir-ignore): New function.
993
994 * vc/vc-cvs.el (vc-cvs-ignore): New function.
995 (cvs-append-to-ignore): Move here from pcvs.el.
996
997 * vc/vc-bzr.el (vc-bzr-ignore): New function.
998
999 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
1000
1001 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
1002
1003 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
1004 (desktop-restore-frames): Warn when deleting an existing frame failed.
1005
1006 2013-07-24 Glenn Morris <rgm@gnu.org>
1007
1008 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
1009
1010 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
1011
1012 * filenotify.el (file-notify-supported-p):
1013 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1014 Remove functions.
1015
1016 * autorevert.el (auto-revert-use-notify):
1017 (auto-revert-notify-add-watch):
1018 * net/tramp.el (tramp-file-name-for-operation):
1019 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1020 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1021 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1022 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1023 Remove `file-notify-supported-p' entry.
1024
1025 2013-07-24 Glenn Morris <rgm@gnu.org>
1026
1027 * printing.el: Replace all uses of deleted ps-windows-system,
1028 ps-lp-system, ps-flatten-list with lpr- versions.
1029
1030 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
1033 checked with memq (bug#14935).
1034
1035 * files.el (revert-buffer-function): Use a non-nil default.
1036 (revert-buffer-preserve-modes): Declare var to
1037 provide access to the `preserve-modes' argument.
1038 (revert-buffer): Let-bind it.
1039 (revert-buffer--default): New function, extracted from revert-buffer.
1040
1041 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * lpr.el: Signal print errors more prominently.
1044 (print-region-function): Don't default to nil.
1045 (lpr-print-region): New function, extracted from print-region-1.
1046 Check lpr's return value and signal an error in case of problem.
1047 (print-region-1): Use it.
1048 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
1049 versions instead.
1050 (ps-printer-name): Default to nil.
1051 (ps-printer-name-option): Default to lpr-printer-switch.
1052 (ps-print-region-function): Don't default to nil.
1053 (ps-postscript-code-directory): Simplify default.
1054 (ps-do-despool): Use lpr-print-region to properly check the outcome.
1055 (ps-string-list, ps-eval-switch, ps-flatten-list)
1056 (ps-flatten-list-1): Remove.
1057 (ps-multibyte-buffer): Avoid setq.
1058 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
1059 (print-region-function, ps-print-region-function): Don't set them here.
1060
1061 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
1062
1063 * ido.el (ido-fractionp):
1064 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1065 (ido-max-file-prompt-width, ido-unc-hosts-cache)
1066 (ido-max-directory-size, ido-max-dir-file-cache)
1067 (ido-decorations): Doc fix.
1068
1069 * ansi-color.el: Fix old URL.
1070
1071 2013-07-23 Michael R. Mauger <michael@mauger.com>
1072
1073 * progmodes/sql.el Version 3.3
1074 (sql-product-alist): Improve oracle :prompt-cont-regexp.
1075 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1076 (sql-interactive-remove-continuation-prompt): Rewrite, use
1077 functions above. Fix continuation prompt and complete output line
1078 handling.
1079 (sql-redirect-one, sql-execute): Use `read-only-mode' on
1080 redirected output buffer.
1081 (sql-mode): Restore deleted code (Bug#13591).
1082
1083 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1084
1085 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1086
1087 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
1088
1089 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1090
1091 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1092 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1093 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1094
1095 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1096
1097 * desktop.el (desktop-clear): Simplify; remove useless checks
1098 against invalid buffer names.
1099 (desktop-list*): Use cl-list*.
1100 (desktop-buffer-info, desktop-create-buffer): Simplify.
1101
1102 2013-07-23 Leo Liu <sdl.web@gmail.com>
1103
1104 * bookmark.el (bookmark-make-record): Restore NAME as a default
1105 value. (Bug#14933)
1106
1107 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
1108
1109 * emacs-lisp/autoload.el (autoload--setup-output): New function,
1110 extracted from autoload--insert-text.
1111 (autoload--insert-text): Remove.
1112 (autoload--print-cookie-text): New function, extracted from
1113 autoload--insert-cookie-text.
1114 (autoload--insert-cookie-text): Remove.
1115 (autoload-generate-file-autoloads): Adjust calls accordingly.
1116
1117 * winner.el (winner-hook-installed-p): Remove.
1118 (winner-mode): Simplify accordingly.
1119
1120 * subr.el (add-to-list): Fix compiler-macro when `append' is
1121 not constant. Don't use `cl-member' for the base case.
1122
1123 * progmodes/subword.el: Fix boundary case (bug#13758).
1124 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
1125 own group.
1126 (subword-backward-regexp): Make it a constant.
1127 (subword-forward-internal): Don't treat a trailing capital as the
1128 beginning of a word.
1129
1130 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
1131
1132 * emacs-lisp/package.el (package-menu-mode): Don't modify the
1133 global value of tabulated-list-revert-hook (bug#14930).
1134
1135 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
1136
1137 * desktop.el: Require 'cl-lib.
1138 (desktop-before-saving-frames-functions): New hook.
1139 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1140 for frames being saved. Rename from desktop--save-minibuffer-frames.
1141 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
1142 Do not save frames with non-nil `desktop-dont-save' parameter.
1143 Filter out deleted frames.
1144 (desktop--find-frame): Use cl-find-if.
1145 (desktop--select-frame): Use cl-(first|second|third) to access values
1146 of desktop-mini.
1147 (desktop--make-frame): Use cl-delete-if.
1148 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1149 (desktop-restore-frames): Use cl-(first|second|third) to access values
1150 of desktop-mini. Look for visible frame at the end, not while
1151 restoring frames.
1152
1153 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1154 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1155 Use string-match-p, looking-at-p (bug#14927).
1156
1157 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
1158
1159 * desktop.el (desktop-saved-frame-states):
1160 Rename from desktop--saved-states; all users changed.
1161 (desktop-save-frames): Rename from desktop--save-frames.
1162 Do not save state to desktop file.
1163 (desktop-save): Save desktop-saved-frame-states to desktop file
1164 and reset to nil.
1165 (desktop-restoring-frames-p): New function.
1166 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1167 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1168 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1169
1170 * desktop.el: Correctly restore iconified frames.
1171 (desktop--filter-iconified-position): New function.
1172 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1173
1174 2013-07-20 Glenn Morris <rgm@gnu.org>
1175
1176 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1177 Let `message' do the formatting.
1178 (def-gdb-preempt-display-buffer): Add explicit format.
1179
1180 * image-dired.el (image-dired-track-original-file):
1181 Use with-current-buffer.
1182 (image-dired-track-thumbnail): Use with-current-buffer.
1183 Avoid changing point of wrong window.
1184
1185 * image-dired.el (image-dired-track-original-file):
1186 Avoid changing point of wrong window. (Bug#14909)
1187
1188 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
1189
1190 * progmodes/gdb-mi.el (gdb-done-or-error):
1191 Guard against "%" in gdb output. (Bug#14127)
1192
1193 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1194
1195 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1196 (Bug#14826)
1197
1198 * international/mule.el (coding-system-iso-2022-flags): Fix last
1199 change.
1200
1201 2013-07-20 Kenichi Handa <handa@gnu.org>
1202
1203 * international/mule.el (coding-system-iso-2022-flags):
1204 Add `8-bit-level-4'. (Bug#8522)
1205
1206 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1207
1208 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1209 (bug#14815).
1210
1211 * net/eww.el (eww-process-text-input): Allow inputting when the
1212 point is at the start of the line, as the properties aren't
1213 front-sticky.
1214
1215 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1216 degenerate widths.
1217
1218 2013-07-19 Richard Stallman <rms@gnu.org>
1219
1220 * epa.el (epa-popup-info-window): Doc fix.
1221
1222 * subr.el (split-string): New arg TRIM.
1223
1224 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
1225
1226 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1227 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1228
1229 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
1230
1231 * filenotify.el (file-notify--library): Rename from
1232 `file-notify-support'. Do not autoload. Adapt all uses.
1233 (file-notify-supported-p): New defun.
1234
1235 * autorevert.el (auto-revert-use-notify):
1236 Use `file-notify-supported-p' instead of `file-notify-support'.
1237 Adapt docstring.
1238 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1239
1240 * net/tramp.el (tramp-file-name-for-operation):
1241 Add `file-notify-supported-p'.
1242
1243 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1244 New defun.
1245 (tramp-sh-file-name-handler-alist): Add it as handler for
1246 `file-notify-supported-p '.
1247
1248 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1249 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1250 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1251 Add `ignore' as handler for `file-notify-*' functions.
1252
1253 2013-07-17 Eli Zaretskii <eliz@gnu.org>
1254
1255 * simple.el (line-move-partial, line-move): Don't start vscroll or
1256 scroll-up if the current line is not taller than the window.
1257 (Bug#14881)
1258
1259 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1260
1261 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1262 highlight question marks in the method names as strings.
1263 (ruby-block-beg-keywords): Inline.
1264 (ruby-font-lock-keyword-beg-re): Extract from
1265 `ruby-font-lock-keywords'.
1266
1267 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1268
1269 * frame.el (blink-cursor-blinks): New defcustom.
1270 (blink-cursor-blinks-done): New defvar.
1271 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1272 (blink-cursor-timer-function): Check if number of blinks has been
1273 done on X and NS.
1274 (blink-cursor-suspend, blink-cursor-check): New defuns.
1275
1276 2013-07-15 Glenn Morris <rgm@gnu.org>
1277
1278 * edmacro.el (edmacro-format-keys): Fix previous change.
1279
1280 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1281
1282 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1283 The hack didn't work outside English locales anyway.
1284
1285 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
1286
1287 * simple.el (define-alternatives): Rename from alternatives-define,
1288 per RMS' suggestion.
1289
1290 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
1291
1292 * desktop.el (desktop-restore-frames): Change default to t.
1293 (desktop-restore-in-current-display): Now offer more options.
1294 (desktop-restoring-reuses-frames): New customization option.
1295 (desktop--saved-states): Doc fix.
1296 (desktop-filter-parameters-alist): New variable, renamed and expanded
1297 from desktop--excluded-frame-parameters.
1298 (desktop--target-display): New variable.
1299 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1300 (desktop--filter-tty*, desktop--filter-*-color)
1301 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1302 (desktop--filter-save-desktop-parm)
1303 (desktop-restore-in-original-display-p): New functions.
1304 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1305 (desktop--save-minibuffer-frames): New function, inspired by a similar
1306 function from Martin Rudalics.
1307 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1308 (desktop--restore-in-this-display-p): Remove.
1309 (desktop--find-frame): Rename from desktop--find-frame-in-display
1310 and add predicate argument.
1311 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1312 (desktop--reuse-list): New variable.
1313 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1314 New functions.
1315 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1316
1317 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
1318
1319 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1320
1321 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
1322
1323 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1324 Highlight conversion methods on Kernel.
1325
1326 2013-07-13 Alan Mackenzie <acm@muc.de>
1327
1328 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1329 and comment it out. This out-commenting enables certain C++
1330 declarations to be parsed correctly.
1331
1332 2013-07-13 Eli Zaretskii <eliz@gnu.org>
1333
1334 * international/mule.el (define-coding-system): Doc fix.
1335
1336 * simple.el (default-font-height): Don't call font-info if the
1337 frame's default font didn't change since the frame was created.
1338 (Bug#14838)
1339
1340 2013-07-13 Leo Liu <sdl.web@gmail.com>
1341
1342 * ido.el (ido-read-file-name): Guard against non-symbol value.
1343
1344 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1345
1346 * progmodes/python.el (python-imenu--build-tree): Fix corner case
1347 in nested defuns.
1348
1349 2013-07-13 Leo Liu <sdl.web@gmail.com>
1350
1351 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1352 ido-set-matches call. (Bug#6852)
1353
1354 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
1355
1356 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1357 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1358 Ruby 2.0.
1359 (ruby-font-lock-keywords): Distinguish calls to functions with
1360 module-like names from module references. Highlight character
1361 literals.
1362
1363 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1364
1365 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
1366 (gdb-send): Handle continued commands. (Bug#14847)
1367
1368 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1369
1370 * desktop.el (desktop--v2s): Remove unused local variable.
1371 (desktop-save-buffer): Make defvar-local; adjust docstring.
1372 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1373 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1374
1375 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
1376
1377 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1378
1379 2013-07-12 Eli Zaretskii <eliz@gnu.org>
1380
1381 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1382 (Bug#14842)
1383
1384 2013-07-12 Glenn Morris <rgm@gnu.org>
1385
1386 * doc-view.el: Require cl-lib at runtime too.
1387 (doc-view-remove-if): Remove.
1388 (doc-view-search-next-match, doc-view-search-previous-match):
1389 Use cl-remove-if.
1390
1391 * edmacro.el: Require cl-lib at runtime too.
1392 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1393 (edmacro-mismatch, edmacro-subseq): Remove.
1394
1395 * shadowfile.el: Require cl-lib.
1396 (shadow-remove-if): Remove.
1397 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1398 Use cl-remove-if.
1399
1400 * wid-edit.el: Require cl-lib.
1401 (widget-choose): Use cl-remove-if.
1402 (widget-remove-if): Remove.
1403
1404 * progmodes/ebrowse.el: Require cl-lib at runtime too.
1405 (ebrowse-delete-if-not): Remove.
1406 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1407 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1408 Use cl-delete-if-not.
1409
1410 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1411
1412 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1413 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1414
1415 2013-07-12 Leo Liu <sdl.web@gmail.com>
1416
1417 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
1418
1419 2013-07-11 Glenn Morris <rgm@gnu.org>
1420
1421 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1422 (edebug-gensym-index, edebug-gensym):
1423 Remove reimplementation of cl-gensym.
1424 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1425
1426 * thumbs.el: Require cl-lib at run-time too.
1427 (thumbs-gensym-counter, thumbs-gensym):
1428 Remove reimplementation of cl-gensym.
1429 (thumbs-temp-file): Use cl-gensym.
1430
1431 * emacs-lisp/ert.el: Require cl-lib at runtime too.
1432 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1433 (ert--intersection, ert--set-difference, ert--set-difference-eq)
1434 (ert--union, ert--gensym-counter, ert--gensym-counter)
1435 (ert--coerce-to-vector, ert--remove*, ert--string-position)
1436 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1437 (ert-make-test-unbound, ert--expand-should-1)
1438 (ert--expand-should, ert--should-error-handle-error)
1439 (should-error, ert--explain-equal-rec)
1440 (ert--plist-difference-explanation, ert-select-tests)
1441 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
1442 Use cl-lib functions rather than reimplementations.
1443
1444 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
1445
1446 * net/tramp.el (tramp-methods): Extend docstring.
1447 (tramp-connection-timeout): New defcustom.
1448 (tramp-error-with-buffer): Reset timestamp only when appropriate.
1449 (with-tramp-progress-reporter): Simplify.
1450 (tramp-process-actions): Improve messages.
1451
1452 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1453 * net/tramp-sh.el (tramp-maybe-open-connection):
1454 Use `tramp-connection-timeout'.
1455 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
1456 (Bug#14808)
1457
1458 2013-07-11 Leo Liu <sdl.web@gmail.com>
1459
1460 * ido.el (ido-read-file-name): Conform to the requirements of
1461 read-file-name. (Bug#11861)
1462 (ido-read-directory-name): Conform to the requirements of
1463 read-directory-name.
1464
1465 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
1466
1467 * subr.el (delay-warning): New function.
1468
1469 2013-07-10 Eli Zaretskii <eliz@gnu.org>
1470
1471 * simple.el (default-line-height): New function.
1472 (line-move-partial, line-move): Use it instead of computing the
1473 line height inline.
1474 (line-move-partial): Always compute ROWH. If the last line is
1475 partially-visible, but its text is completely visible, allow
1476 cursor to enter such a partially-visible line.
1477
1478 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
1479
1480 Improve error messages. (Bug#14808)
1481
1482 * net/tramp.el (tramp-current-connection): New defvar, moved from
1483 tramp-sh.el.
1484 (tramp-message-show-progress-reporter-message): Remove, not
1485 needed anymore.
1486 (tramp-error-with-buffer): Show message in minibuffer.
1487 Discard input before waiting. Reset connection timestamp.
1488 (with-tramp-progress-reporter): Improve messages.
1489 (tramp-process-actions): Use progress reporter. Delete process in
1490 case of error. Improve messages.
1491
1492 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
1493 Call `tramp-error-with-buffer' with vector and buffer.
1494 (tramp-current-connection): Remove.
1495 (tramp-maybe-open-connection): The car of
1496 `tramp-current-connection' are the first 3 slots of the vector.
1497
1498 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
1499
1500 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
1501 inside continued strings.
1502
1503 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
1504
1505 Timestamp fixes for undo (Bug#14824).
1506 * files.el (clear-visited-file-modtime): Move here from fileio.c.
1507
1508 2013-07-10 Leo Liu <sdl.web@gmail.com>
1509
1510 * files.el (require-final-newline): Allow safe local value.
1511 (Bug#14834)
1512
1513 2013-07-09 Leo Liu <sdl.web@gmail.com>
1514
1515 * ido.el (ido-read-directory-name): Handle fallback.
1516 (ido-read-file-name): Update DIR to ido-current-directory.
1517 (Bug#1516)
1518 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
1519
1520 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
1521
1522 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
1523 "autoload". Remove "warn lower camel case" section, previously
1524 commented out. Highlight negation char. Do not highlight the
1525 target in singleton method definitions.
1526
1527 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * faces.el (tty-setup-hook): Declare the hook.
1530
1531 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
1532 and detect when a guard/pred depends on local vars (bug#14773).
1533 (pcase--u1): Adjust caller.
1534
1535 2013-07-08 Eli Zaretskii <eliz@gnu.org>
1536
1537 * simple.el (line-move-partial, line-move): Account for
1538 line-spacing.
1539 (line-move-partial): Avoid setting vscroll when the last
1540 partially-visible line in window is of default height.
1541
1542 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1543
1544 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1545 been used a while.
1546
1547 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
1548
1549 * subr.el (read-quoted-char): Remove unused local variable `char'.
1550
1551 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
1552
1553 * ediff.el (ediff-version): Version update.
1554 (ediff-files-command, ediff3-files-command, ediff-merge-command)
1555 (ediff-merge-with-ancestor-command, ediff-directories-command)
1556 (ediff-directories3-command, ediff-merge-directories-command)
1557 (ediff-merge-directories-with-ancestor-command): New functions.
1558 All are command-line interfaces to ediff: to facilitate calling
1559 Emacs with the appropriate ediff functions invoked.
1560
1561 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1562 (viper-save-kill-buffer): Check if buffer is modified.
1563
1564 * viper.el (viper-version): Version update.
1565 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
1566
1567 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1570 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1571 (viper-intercept-ESC-key): Simplify.
1572 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1573 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1574 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1575 (viper-setup-ESC-to-escape): New functions.
1576 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1577 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
1578
1579 2013-07-07 Eli Zaretskii <eliz@gnu.org>
1580
1581 * simple.el (default-font-height, window-screen-lines):
1582 New functions.
1583 (line-move, line-move-partial): Use them instead of
1584 frame-char-height and window-text-height. This makes scrolling
1585 text smoother when the buffer's default face uses a font that is
1586 different from the frame's default font.
1587
1588 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
1589
1590 * files.el (write-file): Do not display confirm dialog for NS,
1591 it does its own dialog, which can't be cancelled (Bug#14578).
1592
1593 2013-07-06 Eli Zaretskii <eliz@gnu.org>
1594
1595 * simple.el (line-move-partial): Adjust the row returned by
1596 posn-at-point for the current window-vscroll. (Bug#14567)
1597
1598 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
1599
1600 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1601 (tramp-sh-file-inotifywait-process-filter): Handle file names with
1602 spaces.
1603
1604 2013-07-06 Martin Rudalics <rudalics@gmx.at>
1605
1606 * window.el (window-state-put-stale-windows): New variable.
1607 (window--state-put-2): Save list of windows without matching buffer.
1608 (window-state-put): Remove "bufferless" windows if possible.
1609
1610 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1611
1612 * simple.el (alternatives-define): Remove leftover :group keyword.
1613 Tweak docstring.
1614
1615 2013-07-06 Leo Liu <sdl.web@gmail.com>
1616
1617 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1618 (ido-enable-virtual-buffers): New variable.
1619 (ido-buffer-internal, ido-toggle-virtual-buffers)
1620 (ido-make-buffer-list): Use it.
1621 (ido-exhibit): Support turning on and off virtual buffers
1622 automatically.
1623
1624 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1625
1626 * simple.el (alternatives-define): New macro.
1627
1628 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
1629
1630 * subr.el (read-quoted-char): Use read-key.
1631 (sit-for): Let read-event decode tty input (bug#14782).
1632
1633 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
1634
1635 * calendar/todo-mode.el: Add handling of file deletion, both by
1636 mode command and externally. Fix various related bugs.
1637 Clarify Commentary and improve some documentation strings and code.
1638 (todo-delete-file): New command.
1639 (todo-check-file): New function.
1640 (todo-show): Handle external deletion of the file we're trying to
1641 show (bug#14688). Replace called-interactively-p by an optional
1642 prefix argument to avoid problematic interaction with catch form
1643 when byte compiled (bug#14702).
1644 (todo-quit): Handle external deletion of the archive's todo file.
1645 Make sure the buffer that was visiting the archive file is still
1646 live before trying to bury it.
1647 (todo-category-completions): Handle external deletion of any
1648 category completion files.
1649 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1650 of todo files, in case of external deletion.
1651 (todo-add-file): Replace unnecessary setq by let-binding.
1652 (todo-find-archive): Check whether there are any archives.
1653 Replace unnecessary setq by let-binding.
1654 (todo-archive-done-item): Use find-file-noselect to get the
1655 archive buffer whether or not the archive already exists.
1656 Remove superfluous code. Use file size instead of buffer-file-name to
1657 check if the archive is new; if it is, update list of archives.
1658 (todo-default-todo-file): Allow nil to be a valid value for when
1659 there are no todo files.
1660 (todo-reevaluate-default-file-defcustom): Use corrected definition
1661 of todo-default-todo-file.
1662 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1663 (todo-delete-category, todo-show-categories-table)
1664 (todo-category-number): Clarify comment.
1665 (todo-filter-items): Clarify documentation string.
1666 (todo-show-current-file, todo-display-as-todo-file)
1667 (todo-reset-and-enable-done-separator): Tweak documentation string.
1668 (todo-done-separator): Make separator length window-width, since
1669 bug#2749 is now fixed.
1670
1671 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
1672
1673 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1674 Support both "gvfs-monitor-dir" and "inotifywait".
1675 (tramp-sh-file-inotifywait-process-filter): Rename from
1676 `tramp-sh-file-notify-process-filter'.
1677 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1678 (tramp-get-remote-gvfs-monitor-dir): New defuns.
1679
1680 2013-07-05 Leo Liu <sdl.web@gmail.com>
1681
1682 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1683
1684 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1685
1686 * frame.el (display-pixel-height, display-pixel-width)
1687 (display-mm-height, display-mm-width): Mention behavior on
1688 multi-monitor setups in docstrings.
1689 (w32-display-monitor-attributes-list): Declare function.
1690 (display-monitor-attributes-list): Use it.
1691
1692 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
1693
1694 * filenotify.el: New package.
1695
1696 * autorevert.el (top): Require filenotify.el.
1697 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
1698 instead.
1699 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1700 (auto-revert-notify-handler): Use `file-notify-*' functions.
1701
1702 * subr.el (file-notify-handle-event): Move function to filenotify.el.
1703
1704 * net/tramp.el (tramp-file-name-for-operation):
1705 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
1706
1707 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1708 for `file-notify-add-watch' and `file-notify-rm-watch'.
1709 (tramp-process-sentinel): Improve trace.
1710 (tramp-sh-handle-file-notify-add-watch)
1711 (tramp-sh-file-notify-process-filter)
1712 (tramp-sh-handle-file-notify-rm-watch)
1713 (tramp-get-remote-inotifywait): New defuns.
1714
1715 2013-07-03 Juri Linkov <juri@jurta.org>
1716
1717 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1718 call of `occur-read-primary-args' to interactive spec.
1719
1720 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1721 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
1722
1723 2013-07-03 Matthias Meulien <orontee@gmail.com>
1724
1725 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1726 `Buffer-menu-multi-occur'. Add it to the menu.
1727 (Buffer-menu-mode): Document it in docstring.
1728 (Buffer-menu-multi-occur): New command. (Bug#14673)
1729
1730 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1731
1732 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1733 keywords and built-ins.
1734
1735 2013-07-03 Glenn Morris <rgm@gnu.org>
1736
1737 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
1738
1739 Make info-xref checks case-sensitive by default
1740 * info.el (Info-find-node, Info-find-in-tag-table)
1741 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1742 Add option for exact case matching of nodes.
1743 * info-xref.el (info-xref): New custom group.
1744 (info-xref-case-fold): New option.
1745 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1746
1747 2013-07-03 Leo Liu <sdl.web@gmail.com>
1748
1749 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1750
1751 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1752
1753 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1754 middle of block statement initially, lower the depth. Remove
1755 FIXME comment, not longer valid. Remove middle of block statement
1756 detection, no need to do that anymore since we've been using
1757 `ruby-parse-region' here.
1758
1759 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
1760
1761 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1762
1763 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
1764
1765 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1766
1767 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
1768
1769 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1770 (desktop-restore-in-current-display): New customization option.
1771 (desktop--excluded-frame-parameters): Add `font'.
1772 (desktop--save-frames): Rename from desktop--save-windows.
1773 (desktop--restore-in-this-display-p): New function.
1774 (desktop--make-full-frame): Remove unwanted width/height from
1775 full(width|height) frames.
1776 (desktop--restore-frames): Rename from desktop--restore-windows.
1777 Obey desktop-restore-current-display. Do not delete old frames or
1778 select a new frame unless we were able to restore at least one frame.
1779
1780 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
1781
1782 * files.el (find-file-noselect): Simplify conditional expression.
1783
1784 * remember.el (remember-append-to-file):
1785 Don't mix `find-buffer-visiting' and `get-file-buffer'.
1786
1787 Add `remember-notes' function to store random notes across Emacs
1788 restarts.
1789 * remember.el (remember-data-file): Add :set callback to affect
1790 notes buffer (if any).
1791 (remember-notes): New command.
1792 (remember-notes-buffer-name, bury-remember-notes-on-kill):
1793 New defcustoms for the `remember-notes' function.
1794 (remember-notes-save-and-bury-buffer): New command.
1795 (remember-notes-mode-map): New variable.
1796 (remember-mode): New minor mode.
1797 (remember-notes--kill-buffer-query): New function.
1798 * startup.el (initial-buffer-choice): Add notes to custom type.
1799
1800 2013-06-30 Eli Zaretskii <eliz@gnu.org>
1801
1802 * bindings.el (right-char, left-char): Don't call sit-for, this is
1803 no longer needed. Use arithmetic comparison only for numerical
1804 arguments.
1805
1806 * international/mule-cmds.el (select-safe-coding-system):
1807 Handle the case of FROM being a string correctly. (Bug#14755)
1808
1809 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1810
1811 * net/shr.el (shr-make-table-1): Add a sanity check that allows
1812 progression on degenerate tables.
1813 (shr-rescale-image): ImageMagick animated images currently don't work.
1814
1815 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
1816
1817 Some fixes and improvements for desktop frame restoration.
1818 It is still experimental and disabled by default.
1819 * desktop.el (desktop--save-windows): Put the selected frame at
1820 the head of the list.
1821 (desktop--make-full-frame): New function.
1822 (desktop--restore-windows): Try to re-select the frame that was
1823 selected upon saving. Do not abort if some frames fail to restore,
1824 just show an error message and continue. Set up maximized frames
1825 so they have default non-maximized dimensions.
1826
1827 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
1828
1829 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1830 Don't start heredoc inside a string or comment.
1831
1832 2013-06-29 Eli Zaretskii <eliz@gnu.org>
1833
1834 * bindings.el (visual-order-cursor-movement): New defcustom.
1835 (right-char, left-char): Provide visual-order cursor motion by
1836 calling move-point-visually. Update the doc strings.
1837
1838 2013-06-28 Kenichi Handa <handa@gnu.org>
1839
1840 * international/mule.el (define-coding-system): New coding system
1841 properties :inhibit-null-byte-detection,
1842 :inhibit-iso-escape-detection, and :prefer-utf-8.
1843 (set-buffer-file-coding-system): If :charset-list property of
1844 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
1845 appropriate for setting.
1846
1847 * international/mule-cmds.el (select-safe-coding-system):
1848 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1849 multibyte characters, return utf-8 (or one of its siblings).
1850
1851 * international/mule-conf.el (prefer-utf-8): New coding system.
1852 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1853 files.
1854
1855 2013-06-28 Ivan Kanis <ivan@kanis.fr>
1856
1857 * net/shr.el (shr-render-region): New function.
1858
1859 * net/eww.el: Autoload `eww-browse-url'.
1860
1861 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
1862
1863 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1864 Adapt to `package-desc-version' being a list.
1865 Use `package--ac-desc-version' to retrieve version from a package
1866 archive element.
1867
1868 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
1869
1870 New experimental feature to save&restore window and frame setup.
1871 * desktop.el (desktop-save-windows): New defcustom.
1872 (desktop--saved-states): New var.
1873 (desktop--excluded-frame-parameters): New defconst.
1874 (desktop--filter-frame-parms, desktop--find-frame-in-display)
1875 (desktop--restore-windows, desktop--save-windows): New functions.
1876 (desktop-save): Call `desktop--save-windows'.
1877 (desktop-read): Call `desktop--restore-windows'.
1878
1879 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1880
1881 * net/shr.el (add-face-text-property): Remove compat definition.
1882
1883 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
1884
1885 * info.el (Info-try-follow-nearest-node): Move search for footnote
1886 above search for node name to prevent missing a footnote (bug#14717).
1887
1888 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
1889
1890 * obsolete/otodo-mode.el: Add obsolescence info to file header.
1891
1892 2013-06-27 Leo Liu <sdl.web@gmail.com>
1893
1894 * net/eww.el (eww-read-bookmarks): Check file size.
1895
1896 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
1899 advice--pending if newdef is nil or an autoload (bug#13820).
1900 (advice-mapc): New function.
1901
1902 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1903
1904 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
1905 probably.
1906 (eww-mode-map): Add a menu bar.
1907 (eww-add-bookmark): New command.
1908 (eww-bookmark-mode): New mode and commands.
1909 (eww-add-bookmark): Remove newlines from the title.
1910 (eww-bookmark-browse): Don't bug out if it's the only window.
1911
1912 2013-06-26 Glenn Morris <rgm@gnu.org>
1913
1914 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
1915 (hfy-size): Handle ttys. (Bug#14668)
1916
1917 * info-xref.el: Update for Texinfo 5 change in *note format.
1918 (info-xref-node-re, info-xref-note-re): New constants.
1919 (info-xref-check-buffer): Use info-xref-note-re.
1920
1921 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1922
1923 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
1924
1925 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
1926 nil terminate the loop (bug#14718).
1927
1928 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1929
1930 * net/eww.el: Rework history traversal. When going forward/back,
1931 put these actions into the history, too, so that they can be
1932 replayed.
1933 (eww-render): Move the history reset to the correct buffer.
1934
1935 2013-06-25 Juri Linkov <juri@jurta.org>
1936
1937 * files-x.el (modify-dir-local-variable): Change the header comment
1938 in the file with directory local variables. (Bug#14692)
1939
1940 * files-x.el (read-file-local-variable-value): Add `default'.
1941 (Bug#14710)
1942
1943 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1944
1945 * net/eww.el (eww-make-unique-file-name): Create a unique file
1946 name before saving to entering `y' accidentally asynchronously.
1947
1948 2013-06-25 Ivan Kanis <ivan@kanis.fr>
1949
1950 * net/eww.el (eww-download): New command and keystroke.
1951
1952 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1953
1954 * net/eww.el (eww-copy-page-url): Change name of command.
1955
1956 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
1957 be more consistent with Info and dired.
1958
1959 * net/eww.el (eww-mode-map): Ditto.
1960
1961 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
1964 packages from archives.
1965 (package-archive-contents): Change format; include obsolete packages.
1966 (package-desc): Use `dir' to mark builtin packages.
1967 (package--from-builtin): Set the `dir' field to `builtin'.
1968 (generated-autoload-file, version-control): Declare.
1969 (package-compute-transaction): Change first arg and return value to be
1970 lists of package-descs. Adjust to new package-archive-contents format.
1971 (package--add-to-archive-contents): Adjust to new
1972 package-archive-contents format.
1973 (package-download-transaction): Arg is now a list of package-descs.
1974 (package-install): If `pkg' is a package name, pass it as
1975 a requirement, so it is subject to the usual (e.g. disabled) checks.
1976 (describe-package): Accept package-desc as well.
1977 (describe-package-1): Describe a specific package-desc. Add links to
1978 other package-descs for the same package name.
1979 (package-menu-describe-package): Pass the actual package-desc.
1980 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
1981 works correctly.
1982 (package-desc-status): New function.
1983 (package-menu--refresh): New function, extracted
1984 from package-menu--generate.
1985 (package-menu--generate): Use it.
1986 (package-delete): Update package-alist.
1987 (package-menu-execute): Don't call package-initialize.
1988
1989 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
1990 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
1991 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
1992 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
1993 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
1994 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
1995
1996 2013-06-25 Martin Rudalics <rudalics@gmx.at>
1997
1998 * window.el (window--state-get-1): Workaround for bug#14527.
1999 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
2000
2001 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2002
2003 * net/eww.el (eww-back-url): Implement the history by stashing all
2004 the data into a list.
2005 (eww-forward-url): Allow going forward in the history, too.
2006
2007 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
2010 for values and use read--expression for expressions (bug#14710).
2011 (read-file-local-variable): Avoid setq.
2012 (read-file-local-variable-mode): Use minor-mode-list.
2013
2014 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2015
2016 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
2017 for DOI URLs.
2018
2019 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2020
2021 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
2022 Update imenu-support when dialect changes.
2023
2024 2013-06-25 Leo Liu <sdl.web@gmail.com>
2025
2026 * ido.el (ido-read-internal): Allow forward slash on windows.
2027
2028 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2029
2030 * net/eww.el (eww): Start of strings is \\`, not ^.
2031
2032 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2033
2034 * net/shr.el (shr-browse-url): Fix interactive spec.
2035
2036 * net/eww.el (eww): Add a trailing slash to domain names.
2037
2038 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
2039
2040 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
2041
2042 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2043
2044 * net/shr.el (shr-browse-url): Use an external browser if given a
2045 prefix.
2046
2047 * net/eww.el (eww-external-browser): Move to shr.
2048
2049 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2050
2051 * net/eww.el (eww): Work more correctly for file: URLs.
2052 (eww-detect-charset): Allow quoted charsets.
2053 (eww-yank-page-url): New command and keystroke.
2054
2055 2013-06-24 Daiki Ueno <ueno@gnu.org>
2056
2057 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
2058 file name of gpg executable.
2059 (epg-context-program): New function.
2060 (epg-context-home-directory): New function.
2061 (epg-context-set-program): New function.
2062 (epg-context-set-home-directory): New function.
2063 (epg--start): Use `epg-context-program' instead of
2064 'epg-gpg-program'.
2065 (epg--list-keys-1): Likewise.
2066
2067 2013-06-24 Leo Liu <sdl.web@gmail.com>
2068
2069 * ido.el (ido-read-internal): Fix bug#14620.
2070
2071 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2072
2073 * faces.el (face-documentation): Simplify.
2074 (read-face-attribute, tty-find-type, x-resolve-font-name):
2075 Use `string-match-p'.
2076 (list-faces-display): Use `string-match-p'. Simplify.
2077 (face-spec-recalc): Check face to avoid face alias loops.
2078 (read-color): Use `string-match-p' and non-capturing parenthesis.
2079
2080 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2081
2082 * net/shr.el (shr-rescale-image): Use the new
2083 :max-width/:max-height functionality.
2084
2085 2013-06-23 Ivan Kanis <ivan@kanis.fr>
2086
2087 * net/eww.el (eww-search-prefix): New variable.
2088 (eww): Use it.
2089 (eww-external-browser): New variable.
2090 (eww-mode-map): New keystroke.
2091 (eww-browse-with-external-browser): New command.
2092
2093 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2094
2095 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2096
2097 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2098 Don't skip aligning the next header field when padding is 0;
2099 otherwise, field width is not respected unless the title is as
2100 wide as the field.
2101
2102 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2103
2104 * emacs-lisp/package.el (package-el-version): Remove.
2105 (package-process-define-package): Fix inf-loop.
2106 (package-install): Allow symbols as arguments again.
2107
2108 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2109
2110 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2111 add some more keyword-like methods.
2112 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2113
2114 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
2115
2116 * bs.el (bs-buffer-show-mark): Make defvar-local.
2117 (bs-mode): Use setq-local.
2118
2119 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2120 (emacs-lock--try-unlocking): Make defvar-local.
2121
2122 2013-06-22 Glenn Morris <rgm@gnu.org>
2123
2124 * play/cookie1.el (cookie-apropos): Minor simplification.
2125
2126 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2127
2128 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2129
2130 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2131 `regexp-opt', it breaks the build during dumping.
2132
2133 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
2134
2135 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2136 Highlight keyword-like methods on Kernel and Module with
2137 font-lock-builtin-face.
2138 (auto-mode-alist): Consolidate different entries into one regexp
2139 and add more *file-s.
2140
2141 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
2142
2143 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2144
2145 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2146 (diary-entry): Use it in the action of this button type instead of
2147 diary-goto-entry.
2148
2149 * calendar/todo-mode.el: New version.
2150 (todo-add-category): Append new category to end of file and give
2151 it the highest number, instead of putting it at the beginning and
2152 giving it 0. Incorporate noninteractive functionality.
2153 (todo-forward-category): Adapt to 1-based category numbering.
2154 Allow skipping over archived categories.
2155 (todo-backward-category): Derive from todo-forward-category.
2156 (todo-backward-item, todo-forward-item): Make noninteractive and
2157 delegate interactive part to new commands. Make sensitive to done items.
2158 (todo-categories): Make value an alist of category names and
2159 vectors of item counts.
2160 (todo-category-beg): Make a defconst.
2161 (todo-category-number): Use 1 instead of 0 as initial value.
2162 (todo-category-select): Make sensitive to overlays, optional item
2163 highlighting and done items.
2164 (todo-delete-item): Make sensitive to overlays and marked and done items.
2165 (todo-edit-item): Make sensitive to overlays and editing of
2166 date/time header optional. Add format checks.
2167 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2168 no-op if point is not on an item. Advertise using todo-edit-quit.
2169 (todo-edit-mode): Make sensitive to new format, font-locking, and
2170 multiple todo files.
2171 (todo-insert-item, todo-insert-item-here): Derive from
2172 todo-basic-insert-item and extend functionality.
2173 (todo-item-end, todo-item-start): Make sensitive to done items.
2174 (todo-item-string): Don't return text properties. Restore point.
2175 (todo-jump-to-category): Make sensitive to multiple todo files and
2176 todo archives. Use extended category completion.
2177 (todo-lower-item, todo-raise-item): Rename to *-priority and
2178 derive from todo-set-item-priority.
2179 (todo-mode): Derive from special-mode. Make sensitive to new
2180 format, font-locking and multiple todo files. Make read-only.
2181 (todo-mode-map): Don't suppress digit keys, so they can supply
2182 prefix arguments. Add many new key bindings.
2183 (todo-prefix): Insert as an overlay instead of file text.
2184 Change semantics from diary date expression to purely visual mark.
2185 (todo-print): Rename to todo-print-buffer. Make buffer display
2186 features printable. Remove option to restrict number of items
2187 printed. Add option to print to file.
2188 (todo-print-function): Rename to todo-print-buffer-function.
2189 (todo-quit): Extend to handle exiting new todo modes.
2190 (todo-remove-item): Make sensitive to overlays.
2191 (todo-save): Extend to buffers of filtered items.
2192 (todo-show): Make sensitive to done items, multiple todo files and
2193 new todo modes. Offer to convert legacy todo file before creating
2194 first new todo file.
2195 (todo-show-priorities): Rename to todo-top-priorities.
2196 Change semantics of value 0.
2197 (todo-top-priorities): Rename to todo-filter-top-priorities,
2198 derive from todo-filter-items and extend functionality.
2199 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2200 and extend functionality to other types of filtered items.
2201 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2202 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2203 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2204 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2205 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2206 (todo-edit-mode-hook, todo-entry-prefix-function)
2207 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2208 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2209 (todo-initials, todo-insert-threshold, todo-item-string-start)
2210 (todo-line-string, todo-menu, todo-mode-hook)
2211 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2212 (todo-print-priorities, todo-remove-separator)
2213 (todo-save-top-priorities-too, todo-string-count-lines)
2214 (todo-string-multiline-p, todo-time-string-format)
2215 (todo-tmp-buffer-name): Remove.
2216 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2217 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2218 (todo-edit-category-diary-inclusion)
2219 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2220 (todo-edit-file, todo-edit-item-date-day)
2221 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2222 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2223 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2224 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2225 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2226 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2227 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2228 (todo-filter-top-priorities-multifile, todo-find-archive)
2229 (todo-find-filtered-items-file, todo-go-to-source-item)
2230 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2231 (todo-jump-to-archive-category, todo-lower-category)
2232 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2233 (todo-move-category, todo-move-item, todo-next-button)
2234 (todo-next-item, todo-padded-string, todo-powerset)
2235 (todo-previous-button, todo-previous-item)
2236 (todo-print-buffer-to-file, todo-raise-category)
2237 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2238 (todo-set-category-number, todo-set-item-priority)
2239 (todo-set-top-priorities-in-category)
2240 (todo-set-top-priorities-in-file, todo-show-categories-table)
2241 (todo-sort-categories-alphabetically-or-numerically)
2242 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2243 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2244 (todo-toggle-item-header, todo-toggle-item-highlighting)
2245 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2246 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2247 (todo-unarchive-items, todo-unmark-category): New commands.
2248 (todo-absolute-file-name, todo-add-to-buffer-list)
2249 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2250 (todo-basic-insert-item, todo-category-completions)
2251 (todo-category-number, todo-category-string-matcher-1)
2252 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2253 (todo-check-format, todo-clear-matches)
2254 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2255 (todo-current-category, todo-date-string-matcher)
2256 (todo-define-insertion-command, todo-diary-expired-matcher)
2257 (todo-diary-goto-entry, todo-diary-item-p)
2258 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2259 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2260 (todo-done-item-section-p, todo-done-separator)
2261 (todo-done-string-matcher, todo-files, todo-filter-items)
2262 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2263 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2264 (todo-insert-category-line, todo-insert-item-from-calendar)
2265 (todo-insert-sort-button, todo-insert-with-overlays)
2266 (todo-insertion-command-name, todo-insertion-key-bindings)
2267 (todo-label-to-key, todo-longest-category-name-length)
2268 (todo-make-categories-list, todo-mode-external-set)
2269 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2270 (todo-modes-set-3, todo-multiple-filter-files)
2271 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2272 (todo-read-category, todo-read-date, todo-read-dayname)
2273 (todo-read-file-name, todo-read-time)
2274 (todo-reevaluate-category-completions-files-defcustom)
2275 (todo-reevaluate-default-file-defcustom)
2276 (todo-reevaluate-filelist-defcustoms)
2277 (todo-reevaluate-filter-files-defcustom)
2278 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2279 (todo-reset-done-separator, todo-reset-done-separator-string)
2280 (todo-reset-done-string, todo-reset-global-current-todo-file)
2281 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2282 (todo-reset-prefix, todo-set-categories)
2283 (todo-set-date-from-calendar, todo-set-show-current-file)
2284 (todo-set-top-priorities, todo-short-file-name)
2285 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2286 (todo-total-item-counts, todo-update-buffer-list)
2287 (todo-update-categories-display, todo-update-categories-sexp)
2288 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2289 New functions.
2290 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2291 New major modes.
2292 (todo-categories, todo-display, todo-edit, todo-faces)
2293 (todo-filtered): New defgroups.
2294 (todo-archived-only, todo-button, todo-category-string, todo-date)
2295 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2296 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2297 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2298 (todo-add-item-if-new-category, todo-always-add-time-string)
2299 (todo-categories-align, todo-categories-archived-label)
2300 (todo-categories-category-label, todo-categories-diary-label)
2301 (todo-categories-done-label, todo-categories-number-separator)
2302 (todo-categories-todo-label, todo-categories-totals-label)
2303 (todo-category-completions-files, todo-completion-ignore-case)
2304 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2305 (todo-done-separator-string, todo-done-string)
2306 (todo-files-function, todo-filter-done-items, todo-filter-files)
2307 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2308 (todo-initial-category, todo-initial-file, todo-item-mark)
2309 (todo-legacy-date-time-regexp, todo-mode-line-function)
2310 (todo-nondiary-marker, todo-number-prefix)
2311 (todo-print-buffer-function, todo-show-current-file)
2312 (todo-show-done-only, todo-show-first, todo-show-with-done)
2313 (todo-skip-archived-categories, todo-top-priorities-overrides)
2314 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2315 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2316 New defcustoms.
2317 (todo-category-done, todo-date-pattern, todo-date-string-start)
2318 (todo-diary-items-buffer, todo-done-string-start)
2319 (todo-filtered-items-buffer, todo-item-start)
2320 (todo-month-abbrev-array, todo-month-name-array)
2321 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2322 (todo-top-priorities-buffer): New defconsts.
2323 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2324 (todo-categories-with-marks, todo-category-string-face)
2325 (todo-comment-face, todo-comment-string, todo-current-todo-file)
2326 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2327 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2328 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2329 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2330 (todo-font-lock-keywords, todo-global-current-todo-file)
2331 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2332 (todo-insertion-commands-args)
2333 (todo-insertion-commands-args-genlist)
2334 (todo-insertion-commands-names, todo-insertion-map)
2335 (todo-key-bindings-t, todo-key-bindings-t+a)
2336 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2337 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2338 (todo-nondiary-face, todo-print-buffer, todo-time-face)
2339 (todo-visited): New variables.
2340
2341 2013-06-21 Glenn Morris <rgm@gnu.org>
2342
2343 * play/cookie1.el (cookie-apropos): Add optional display argument.
2344 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2345 (psychoanalyze-pinhead): Use cookie-doctor.
2346
2347 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2348
2349 * emacs-lisp/package.el (tar-get-file-descriptor)
2350 (tar--extract): Declare.
2351
2352 2013-06-21 Eduard Wiebe <usenet@pusto.de>
2353
2354 Extend flymake's warning predicate to be a function (bug#14217).
2355 * progmodes/flymake.el (flymake-warning-predicate): New.
2356 (flymake-parse-line): Use it.
2357 (flymake-warning-re): Make obsolete alias to
2358 `flymake-warning-predicate'.
2359
2360 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * emacs-lisp/package.el (package-alist): Include obsolete packages.
2363 (package-obsolete-list): Remove.
2364 (package-activate): Remove min-version argument. Add `force' argument.
2365 Adjust to new package-alist format.
2366 (package-mark-obsolete): Remove.
2367 (package-unpack): Force reload of the package's autoloads.
2368 (package-installed-p): Check builtins if the installed package is not
2369 recent enough.
2370 (package-initialize): Don't reset package-obsolete-list.
2371 Don't specify which package version to activate.
2372 (package-process-define-package, describe-package-1)
2373 (package-menu--generate): Adjust to new package-alist format.
2374
2375 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2376
2377 * allout-widgets.el (allout-widgets-mode-off)
2378 (allout-widgets-mode-on, allout-widgets-pre-command-business)
2379 (allout-widgets-post-command-business)
2380 (allout-widgets-after-copy-or-kill-function)
2381 (allout-widgets-after-undo-function, allout-test-range-overlaps)
2382 (allout-decorate-item-and-context)
2383 (allout-graphics-modification-handler): Fix typos in docstrings.
2384 (allout-get-or-create-parent-widget): Use `looking-at-p'.
2385
2386 * cmuscheme.el (scheme-start-file): Doc fix.
2387 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2388 (scheme-input-filter): Use `string-match-p'.
2389
2390 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2391
2392 * dired-x.el: Use Dired consistently in docstrings.
2393
2394 * dired.el: Use Dired consistently in docstrings.
2395 (dired-readin, dired-mode): Use `setq-local'.
2396 (dired-switches-alist): Make defvar-local.
2397 (dired-buffers-for-dir): Use `zerop'.
2398 (dired-safe-switches-p, dired-switches-escape-p)
2399 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2400 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2401 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2402 (dired-goto-next-nontrivial-file): Use `string-match-p'.
2403 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2404 (dired-toggle-marks, dired-mark-files-containing-regexp)
2405 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2406 (dired-flag-auto-save-files, dired-flag-backup-files):
2407 Use `looking-at-p'.
2408 (dired-mark-files-regexp, dired-build-subdir-alist):
2409 Use `string-match-p', `looking-at-p'.
2410
2411 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2412 (direct-print-region-helper): Use `string-match-p'.
2413
2414 2013-06-21 Leo Liu <sdl.web@gmail.com>
2415
2416 * comint.el (comint-redirect-results-list-from-process):
2417 Fix infinite loop.
2418
2419 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2420
2421 * net/eww.el (eww-update-header-line-format): Quote % characters.
2422
2423 2013-06-21 Glenn Morris <rgm@gnu.org>
2424
2425 * play/cookie1.el (cookie): New custom group.
2426 (cookie-file): New option.
2427 (cookie-check-file): New function.
2428 (cookie): Make it interactive. Make start and end messages optional.
2429 Interactively, display the result. Default to cookie-file.
2430 (cookie-insert): Default to cookie-file.
2431 (cookie-snarf): Make start and end messages optional.
2432 Default to cookie-file. Use with-temp-buffer.
2433 (cookie-read): Rename from read-cookie.
2434 Make start and end messages optional. Default to cookie-file.
2435 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
2436 Do not autoload it.
2437 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
2438 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2439
2440 2013-06-21 Leo Liu <sdl.web@gmail.com>
2441
2442 * progmodes/octave.el (octave-mode): Backward compatibility fix.
2443
2444 2013-06-21 Glenn Morris <rgm@gnu.org>
2445
2446 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
2447
2448 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2449 Daniel Hackney <dan@haxney.org>
2450
2451 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
2452 Consolidate the single-file vs tarball code.
2453 (package-desc-suffix): New function.
2454 (package-desc-full-name): Don't bother inlining it.
2455 (package-load-descriptor): Return the new package-desc.
2456 (package-mark-obsolete): Remove unused arg `package'.
2457 (package-unpack): Make it work for single files as well.
2458 Make it update package-alist.
2459 (package--make-autoloads-and-stuff): Rename from
2460 package--make-autoloads-and-compile. Don't compile any more.
2461 (package--compile): New function.
2462 (package-generate-description-file): New function, extracted from
2463 package-unpack-single.
2464 (package-unpack-single): Remove.
2465 (package--with-work-buffer): Add indentation and debugging info.
2466 (package-download-single): Remove.
2467 (package-install-from-archive): Rename from package-download-tar, make
2468 it take a pkg-desc, and make it work for single files as well.
2469 (package-download-transaction): Simplify.
2470 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
2471 external tar program.
2472 (package-install-from-buffer): Remove `pkg-desc' argument.
2473 Use package-tar-file-info for tar-mode buffers.
2474 (package-install-file): Simplify accordingly.
2475 (package-archive-base): Change to take a pkg-desc.
2476 * tar-mode.el (tar--check-descriptor): New function, extracted from
2477 tar-get-descriptor.
2478 (tar-get-descriptor): Use it.
2479 (tar-get-file-descriptor): New function.
2480 (tar--extract): New function, extracted from tar-extract.
2481 (tar--extract): Use it.
2482 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
2483 case the summary uses non-ascii. Adjust to new calling convention of
2484 package-tar-file-info.
2485
2486 2013-06-21 Leo Liu <sdl.web@gmail.com>
2487
2488 * comint.el (comint-redirect-results-list-from-process):
2489 Fix random delay. (Bug#14681)
2490
2491 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2492
2493 * profiler.el (profiler-format-number): Use log, not log10.
2494
2495 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2496
2497 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2498
2499 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
2502 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
2503 yet available.
2504 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
2505 (AUTOGENEL): ... here.
2506 * emacs-lisp/cl-macs.el (cl--sublis): New function.
2507 (cl--defsubst-expand): Use it.
2508
2509 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
2510
2511 * subr.el (log10): Move here from C code, and declare as obsolete.
2512 All uses of (log10 X) replaced with (log X 10).
2513
2514 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2515
2516 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
2517 Declare with `defvar-local'.
2518 (tabulated-list-use-header-line, tabulated-list-entries)
2519 (tabulated-list-padding, tabulated-list-printer)
2520 (tabulated-list-sort-key): Declare with `defvar-local'.
2521 (tabulated-list-init-header, tabulated-list-print-fake-header):
2522 Use `setq-local'.
2523
2524 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
2525
2526 * arc-mode.el (archive-mode): Add `archive-write-file' to
2527 `write-contents-functions' also for remote files. (Bug#14652)
2528
2529 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2530
2531 * cus-edit.el (custom-commands): Fix typos.
2532 (custom-display): Fix tooltip text.
2533 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
2534 Fix typos in docstrings.
2535 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
2536 (custom-unlispify-menu-entry, custom-magic-value-create)
2537 (custom-add-see-also, custom-group-value-create): Use ?\s.
2538 (custom-guess-type, customize-apropos, editable-field)
2539 (custom-face-value-create): Use `string-match-p'.
2540 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2541
2542 * custom.el (custom-load-symbol): Use `string-match-p'.
2543
2544 * ansi-color.el: Convert to lexical binding.
2545 (ansi-colors): Fix URL.
2546 (ansi-color-context, ansi-color-context-region): Use defvar-local.
2547 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2548 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2549
2550 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2551
2552 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2553
2554 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2555
2556 2013-06-19 Tom Tromey <tromey@redhat.com>
2557
2558 * net/eww.el (eww-top-url): Remove.
2559 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2560 (eww-render): Set new variables. Don't set eww-top-url.
2561 (eww-handle-link): Handle "prev", "home", and "contents".
2562 Downcase the rel text.
2563 (eww-top-url): Choose best top URL.
2564
2565 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2566
2567 * net/eww.el: Rewrite to implement form elements "by hand" instead of
2568 relying in widget.el. Using widget.el leads to too many
2569 user interface inconsistencies.
2570 (eww-self-insert): Implement entering commands in text fields.
2571 (eww-process-text-input): New function to make text input field editing
2572 work.
2573 (eww-submit): Rewrite to use the new-style form methods.
2574 (eww-select-display): Display the correct selected item.
2575 (eww-change-select): Implement changing the select value.
2576 (eww-toggle-checkbox): Implement radio/checkboxes.
2577 (eww-update-field): Fix compilation error.
2578 (eww-tag-textarea): Implement <textarea>.
2579
2580 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2581 we don't shadow mode-specific bindings.
2582
2583 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2584 nothing to push.
2585
2586 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2587
2588 2013-06-19 Glenn Morris <rgm@gnu.org>
2589
2590 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2591
2592 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2593
2594 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2595 not needed.
2596
2597 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2598
2599 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2600
2601 * net/browse-url.el (browse-url-browser-function):
2602 `eww-browse-url' has the right calling signature, `eww' does not.
2603
2604 2013-06-19 Glenn Morris <rgm@gnu.org>
2605
2606 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2607 Only eval autoloaded macros.
2608 (byte-compile-autoload): Only give the macro warning for macros.
2609
2610 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2611 (ps-underlined-faces): Declare.
2612
2613 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2614 (speedbar-add-supported-extension): Declare.
2615
2616 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2617 Don't include a date stamp in the header of the generated file;
2618 it leads to needless differences between output files.
2619
2620 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2621
2622 * net/secrets.el (secrets-struct-secret-content-type):
2623 Replace check of introspection data by a test call of "CreateItem".
2624 Some servers do not offer introspection.
2625
2626 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2627
2628 * electric.el (electric-pair-mode): Improve interaction with
2629 electric-layout-mode.
2630 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2631 (electric-pair-syntax): Use text-mode-syntax-table in comments
2632 and strings.
2633 (electric-pair--insert): New function.
2634 (electric-pair-post-self-insert-function): Use it and
2635 electric--after-char-pos.
2636
2637 2013-06-19 Leo Liu <sdl.web@gmail.com>
2638
2639 * progmodes/octave.el (octave-help): Fix regexp.
2640
2641 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2642
2643 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2644 (shr-table-horizontal-line): Allow nil as a value, and change the
2645 default.
2646 (shr-insert-table-ruler): Respect the nil value.
2647
2648 2013-06-18 Tom Tromey <tromey@barimba>
2649
2650 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2651 New defvars.
2652 (eww-open-file): New defun.
2653 (eww-render): Initialize new variables.
2654 (eww-display-html): Handle "link" and "a".
2655 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2656 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
2657 (eww-back-url): Rename from eww-previous-url.
2658 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2659 New defuns.
2660
2661 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
2662
2663 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2664 Distinguish ternary operator tokens from slash symbol and slash
2665 char literal.
2666
2667 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2668
2669 Convert symbol prettification into minor mode and global minor mode.
2670
2671 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2672 `prog-prettify-symbols', and make a local defvar instead of defcustom.
2673 (prettify-symbols--keywords): Rename from
2674 `prog-prettify-symbols-alist' and make a local defvar.
2675 (prettify-symbols--compose-symbol): Rename from
2676 `prog--prettify-font-lock-compose-symbol'.
2677 (prettify-symbols--make-keywords): Rename from
2678 `prog-prettify-font-lock-symbols-keywords' and simplify.
2679 (prog-prettify-install): Remove.
2680 (prettify-symbols-mode): New minor mode, based on
2681 `prog-prettify-install'.
2682 (turn-on-prettify-symbols-mode): New function.
2683 (global-prettify-symbols-mode): New globalized minor mode.
2684
2685 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2686 * progmodes/cfengine.el (cfengine3-mode):
2687 * progmodes/perl-mode.el (perl-mode): Don't call
2688 `prog-prettify-install'; set `prettify-symbols-alist' instead.
2689
2690 2013-06-18 Juri Linkov <juri@jurta.org>
2691
2692 * files-x.el (modify-file-local-variable-message): New function.
2693 (modify-file-local-variable)
2694 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2695 and call `modify-file-local-variable-message' when it's non-nil.
2696 (add-file-local-variable, delete-file-local-variable)
2697 (add-file-local-variable-prop-line)
2698 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2699 and use it. (Bug#9820)
2700
2701 2013-06-18 Juri Linkov <juri@jurta.org>
2702
2703 * emulation/vi.el (vi-shell-op):
2704 * emulation/vip.el (vip-execute-com, ex-command):
2705 * emulation/viper-cmd.el (viper-exec-bang):
2706 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2707 the call of `shell-command-on-region'. (Bug#14637)
2708
2709 * simple.el (shell-command-on-region): Doc fix.
2710
2711 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2712
2713 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2714 (bug#14633).
2715
2716 2013-06-18 Glenn Morris <rgm@gnu.org>
2717
2718 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2719
2720 * newcomment.el (comment-search-forward, comment-search-backward):
2721 Doc fix. (Bug#14376)
2722
2723 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2724
2725 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2726 (buffer-face-mode-invoke): Doc fix.
2727
2728 2013-06-18 Matthias Meulien <orontee@gmail.com>
2729
2730 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
2731 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
2732
2733 2013-06-18 Glenn Morris <rgm@gnu.org>
2734
2735 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2736 Replace obsolete function generic-make-keywords with its expansion.
2737
2738 * progmodes/python.el (ffap-alist): Declare.
2739
2740 * textmodes/reftex.el (bibtex-mode-map): Declare.
2741
2742 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2743
2744 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2745 (package-unpack, package-unpack-single): Return the pkg-dir.
2746 (package-download-transaction): Use it to update package-alist.
2747
2748 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2749
2750 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2751 possible choice.
2752
2753 2013-06-17 Juri Linkov <juri@jurta.org>
2754
2755 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2756
2757 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2758
2759 * emacs-lisp/package.el (package-load-descriptor):
2760 Remove `with-syntax-table' call, `read' doesn't need it.
2761 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2762
2763 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
2764
2765 * startup.el (command-line): Expand package name returned by
2766 `package--description-file' (bug#14639).
2767
2768 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2769
2770 * emacs-lisp/package.el (package-load-descriptor): Do not call
2771 `emacs-lisp-mode', just use its syntax table.
2772
2773 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
2774
2775 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2776 `font-lock-extra-managed-props' if any prettifying keyword is added.
2777 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2778 (prog-mode): Use `setq-local'.
2779
2780 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2781
2782 * international/characters.el (standard-case-table): Set syntax of ?»
2783 and ?« to punctuation.
2784
2785 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
2786
2787 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2788 Save relevant match data before calling `syntax-ppss' (bug#14595).
2789
2790 2013-06-15 Juri Linkov <juri@jurta.org>
2791
2792 * files-x.el (modify-file-local-variable-prop-line): Add local
2793 variables to the end of the existing comment on the first line.
2794 Use `file-auto-mode-skip' to skip interpreter magic line,
2795 and also skip XML declaration.
2796
2797 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2798
2799 * startup.el (package--builtin-versions): New var.
2800 (package-subdirectory-regexp): Remove.
2801 (package--description-file): Hard code its value instead.
2802
2803 * emacs-lisp/package.el: Don't activate packages older than builtin.
2804 (package-obsolete-list): Rename from package-obsolete-alist, and make
2805 it into a simple list of package-desc.
2806 (package-strip-version): Remove.
2807 (package-built-in-p): Use package--builtin-versions.
2808 (package-mark-obsolete): Simplify.
2809 (package-process-define-package): Mark it obsolete if older than the
2810 builtin version.
2811 (package-handle-response): Use line-end-position.
2812 (package-read-archive-contents, package--download-one-archive):
2813 Simplify.
2814 (package--add-to-archive-contents): Skip if older than the builtin or
2815 installed version.
2816 (package-menu-describe-package): Fix last change.
2817 (package-list-unversioned): New var.
2818 (package-menu--generate): Use it.
2819
2820 * emacs-lisp/autoload.el: Manage package--builtin-versions.
2821 (autoload--insert-text, autoload--insert-cookie-text): New functions.
2822 (autoload-builtin-package-versions): New variable.
2823 (autoload-generate-file-autoloads): Use them.
2824 Remove the list of autoloaded functions/macros from the
2825 (autoload...) comments.
2826
2827 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2828
2829 2013-06-15 Eli Zaretskii <eliz@gnu.org>
2830
2831 * simple.el (line-move-partial): Don't jump to the next screen
2832 line as soon as it becomes visible. Instead, continue enlarging
2833 the vscroll until the portion of a tall screen line that's left on
2834 display is about the height of the frame's default font.
2835 (Bug#14567)
2836
2837 2013-06-15 Glenn Morris <rgm@gnu.org>
2838
2839 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
2840 compilation-error-regexp-alist void, or local while let-bound.
2841
2842 * progmodes/make-mode.el (makefile-mode-syntax-table):
2843 Treat "=" as punctuation. (Bug#14614)
2844
2845 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
2846
2847 * help-fns.el (describe-variable):
2848 Add extra line for permanent-local variables.
2849
2850 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
2851
2852 * progmodes/scheme.el (scheme-font-lock-keywords-2):
2853 Add export, import, library. (Bug#9164)
2854 (library): Set indent function.
2855
2856 2013-06-14 Glenn Morris <rgm@gnu.org>
2857
2858 * term/xterm.el (xterm--query):
2859 Stop after first matching handler. (Bug#14615)
2860
2861 2013-06-14 Ivan Kanis <ivan@kanis.fr>
2862
2863 Add support for dired in saveplace.
2864 * dired.el (dired-initial-position-hook): New variable.
2865 (dired-initial-position): Call hook to place cursor position.
2866 * saveplace.el (save-place-to-alist): Add dired position.
2867 (save-place-dired-hook): New function.
2868
2869 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
2872 through a symbol rather than letrec.
2873
2874 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
2875 (package-desc): Add `dir' field.
2876 (package-desc-full-name): New function.
2877 (package-load-descriptor): Combine the two arguments. Don't use `load'.
2878 (package-maybe-load-descriptor): Remove.
2879 (package-load-all-descriptors): Just call package-load-descriptor.
2880 (package--disabled-p): New function.
2881 (package-desc-vers, package-desc-doc): Remove aliases.
2882 (package--dir): Remove function.
2883 (package-activate): Check if a package is disabled.
2884 (package-process-define-package): New function, extracted from
2885 define-package.
2886 (define-package): Turn into a place holder.
2887 (package-unpack-single, package-tar-file-info):
2888 Use package--description-file.
2889 (package-compute-transaction): Use package--disabled-p.
2890 (package-download-transaction): Don't call
2891 package-maybe-load-descriptor since they're all loaded anyway.
2892 (package-install): Change argument to be a pkg-desc.
2893 (package-delete): Use a single pkg-desc argument.
2894 (describe-package-1): Use package-desc-dir instead of package--dir.
2895 Use package-desc property instead of package-symbol.
2896 (package-install-button-action): Adjust accordingly.
2897 (package--push): Rewrite.
2898 (package-menu--print-info): Adjust accordingly. Change the ID format
2899 to be a pkg-desc.
2900 (package-menu-describe-package, package-menu-get-status)
2901 (package-menu--find-upgrades, package-menu-mark-upgrades)
2902 (package-menu-execute, package-menu--name-predicate):
2903 Adjust accordingly.
2904 * startup.el (package--description-file): New function.
2905 (command-line): Use it.
2906 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2907 Use package-desc-version.
2908
2909 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
2910 (byte-compile-preprocess): Use it.
2911 (byte-compile-file-form-defalias): Try a bit harder to use macros we
2912 can't quite recognize.
2913 (byte-compile-add-to-list): Remove.
2914 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
2915 (cconv-closure-convert): Add assertion.
2916
2917 * emacs-lisp/map-ynp.el: Use lexical-binding.
2918 (map-y-or-n-p): Remove unused vars `tail' and `object'.
2919 Factor out some repeated code.
2920
2921 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * subr.el (with-eval-after-load): New macro.
2924 (eval-after-load): Allow form to be a function.
2925 take advantage of lexical-binding.
2926 (do-after-load-evaluation): Use dolist and adjust to new format.
2927 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
2928
2929 2013-06-13 Juri Linkov <juri@jurta.org>
2930
2931 * replace.el (perform-replace): Display "symbol " and other search
2932 modes from `isearch-message-prefix' in the *Help* buffer.
2933
2934 * isearch.el (isearch-query-replace): Add " symbol" and other
2935 possible search modes from `isearch-message-prefix' to the prompt.
2936 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
2937 when reading a regexp to collect.
2938
2939 2013-06-13 Juri Linkov <juri@jurta.org>
2940
2941 * isearch.el (word-search-regexp): Match whitespace if the search
2942 string begins or ends in whitespace. The LAX arg is applied to
2943 both ends of the search string. Use `regexp-quote' and explicit
2944 \< and \> instead of \b. Use \` and \' instead of ^ and $.
2945 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
2946 boundaries are replaced with symbol boundaries, and characters
2947 between symbols match non-word non-symbol syntax. (Bug#14602)
2948
2949 2013-06-13 Juri Linkov <juri@jurta.org>
2950
2951 * isearch.el (isearch-del-char): Don't exceed the length of
2952 `isearch-string' by the prefix arg. (Bug#14563)
2953
2954 2013-06-13 Juri Linkov <juri@jurta.org>
2955
2956 * isearch.el (isearch-yank-word, isearch-yank-line)
2957 (isearch-char-by-name, isearch-quote-char)
2958 (isearch-printing-char, isearch-process-search-char):
2959 Add optional count prefix arg. (Bug#14563)
2960
2961 * international/isearch-x.el
2962 (isearch-process-search-multibyte-characters):
2963 Add optional count prefix arg.
2964
2965 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
2968 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
2969 lexical-binding.
2970
2971 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
2972
2973 * subr.el (set-temporary-overlay-map): Add on-exit argument.
2974
2975 2013-06-13 Glenn Morris <rgm@gnu.org>
2976
2977 * startup.el (tty-handle-args):
2978 Don't just discard "--" and anything after. (Bug#14608)
2979
2980 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
2981
2982 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
2983
2984 Implement changes in Secret Service API. Make it backward compatible.
2985 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
2986 (secrets-create-item): Use it. Prefix properties with interface.
2987
2988 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
2989
2990 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
2991 (term-emulate-terminal): Respect term-suppress-hard-newline.
2992
2993 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
2994
2995 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
2996 Only remove a `thumb-file' overlay. (Bug#14548)
2997
2998 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
2999
3000 * mail/reporter.el (reporter-submit-bug-report):
3001 Handle missing package-name. (Bug#14600)
3002
3003 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3004
3005 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
3006 (reftex-citation-prompt, reftex-default-bibliography)
3007 (reftex-bib-or-thebib, reftex-get-bibfile-list)
3008 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3009 (reftex-bib-sort-author, reftex-bib-sort-year)
3010 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
3011 (reftex-extract-bib-entries-from-thebibliography)
3012 (reftex-get-bibkey-default, reftex-get-bib-names)
3013 (reftex-parse-bibtex-entry, reftex-get-bib-field)
3014 (reftex-format-bib-entry, reftex-parse-bibitem)
3015 (reftex-format-bibitem, reftex-do-citation)
3016 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
3017 (reftex-restrict-bib-matches, reftex-extract-bib-file)
3018 (reftex-insert-bib-matches, reftex-format-citation)
3019 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
3020 (reftex-create-bibtex-file): Add docstrings, mostly by converting
3021 existing comments into docstrings.
3022
3023 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3024
3025 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
3026
3027 2013-06-12 Andreas Schwab <schwab@suse.de>
3028
3029 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
3030 for auto-save files.
3031
3032 2013-06-12 Glenn Morris <rgm@gnu.org>
3033
3034 * ido.el (ido-delete-ignored-files): Remove.
3035 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
3036 Go back to calling ido-ignore-item-p directly.
3037
3038 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
3039
3040 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
3041
3042 * ido.el (ido-delete-ignored-files): New function,
3043 split from ido-make-file-list-1.
3044 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
3045 (ido-make-file-list-1): Use ido-delete-ignored-files.
3046
3047 2013-06-12 Leo Liu <sdl.web@gmail.com>
3048
3049 * progmodes/octave.el (inferior-octave-startup)
3050 (inferior-octave-completion-table)
3051 (inferior-octave-track-window-width-change)
3052 (octave-eldoc-function-signatures, octave-help)
3053 (octave-find-definition): Use single quoted strings.
3054 (inferior-octave-startup-args): Change default value.
3055 (inferior-octave-startup): Do not hard code "-i" and
3056 "--no-line-editing".
3057 (inferior-octave-resync-dirs): Add optional arg NOERROR.
3058 (inferior-octave-directory-tracker): Use it.
3059 (octave-goto-function-definition): Robustify.
3060 (octave-help): Support highlighting operators in 'See also'.
3061 (octave-find-definition): Find subfunctions only in Octave mode.
3062
3063 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3064
3065 * help-fns.el (help-fns--compiler-macro): If the handler function is
3066 named, then put a link to it.
3067 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3068 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3069 (cl-typep): Use it.
3070 (cl-eval-when): Simplify debug spec.
3071 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
3072 compiler-macro function instead of setting `compiler-macro-file'.
3073
3074 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3075
3076 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3077 * vc/vc-hooks.el (vc-stay-local): Doc fix.
3078
3079 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3080 Daniel Hackney <dan@haxney.org>
3081
3082 First part of Daniel Hackney's patch to package.el.
3083 * emacs-lisp/package.el: Use defstruct.
3084 (package-desc): New, main struct.
3085 (package--bi-desc, package--ac-desc): New structs, used to describe the
3086 format in external files.
3087 (package-desc-vers): Replace with package-desc-version accessor.
3088 (package-desc-doc): Replace with package-desc-summary accessor.
3089 (package-activate-1): Remove `package' arg since the pkg-vec now
3090 includes the name.
3091 (define-package): Use package-desc-from-define.
3092 (package-unpack-single): Change file-name arg to be a symbol.
3093 (package--add-to-archive-contents): Use package-desc-create and new
3094 accessor functions to package--ac-desc.
3095 (package-buffer-info, package-tar-file-info): Return a package-desc.
3096 (package-install-from-buffer): Remove `type' argument. Change pkg-info
3097 arg to be a package-desc.
3098 (package-install-file): Adjust accordingly. Use \' to match EOS.
3099 (package--from-builtin): New function.
3100 (describe-package-1, package-menu--generate): Use it.
3101 (package--make-autoloads-and-compile): Change name arg to be a symbol.
3102 (package-generate-autoloads): Idem and return the name of the file.
3103 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3104 Change pkg-info arg to be a package-desc.
3105 Use package-make-ac-desc.
3106 (package-upload-file): Use \' to match EOS.
3107 * finder.el (finder-compile-keywords): Use package-make-builtin.
3108
3109 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * vc/vc.el (vc-deduce-fileset): Change error message.
3112 (vc-read-backend): New function.
3113 (vc-next-action): Use it.
3114
3115 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3116
3117 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3118 (prolog-font-lock-keywords): Use regexp-opt instead.
3119 Don't manually highlight strings.
3120 (prolog-mode-variables): Simplify comment-start-skip.
3121 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
3122
3123 * emacs-lisp/generic.el (generic--normalise-comments)
3124 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3125 (generic-mode-set-comments): Use them.
3126 (generic-bracket-support): Use setq-local.
3127 (generic-make-keywords-list): Declare obsolete.
3128
3129 2013-06-11 Glenn Morris <rgm@gnu.org>
3130
3131 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3132 Prettify after setting font-lock-defaults. (Bug#14574)
3133
3134 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
3135
3136 * replace.el (query-replace, occur-read-regexp-defaults-function)
3137 (replace-search):
3138 * subr.el (declare-function, number-sequence, local-set-key)
3139 (substitute-key-definition, locate-user-emacs-file)
3140 (with-silent-modifications, split-string, eval-after-load):
3141 Fix typos, remove unneeded backslashes and reflow some docstrings.
3142
3143 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3144
3145 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3146 default for Elisp files.
3147
3148 2013-06-11 Glenn Morris <rgm@gnu.org>
3149
3150 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3151 although define-derived-mode was doing this anyway. (Bug#14583)
3152
3153 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
3154
3155 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3156 Fix make-variable-buffer-local call to refer to the correct variable.
3157
3158 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
3159
3160 * eshell/em-term.el (eshell-visual-commands)
3161 (eshell-visual-subcommands, eshell-visual-options):
3162 Add summary line to docstrings. Add cross-references.
3163
3164 2013-06-10 Glenn Morris <rgm@gnu.org>
3165
3166 * epa.el (epa-read-file-name): New function. (Bug#14510)
3167 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3168
3169 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3170
3171 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3172 output redirection to be ignored with visual commands.
3173
3174 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3175
3176 * eshell/em-term.el (eshell-visual-command-p): New function.
3177 (eshell-term-initialize): Move long lambda to separate function
3178 eshell-visual-command-p.
3179 * eshell/em-dirs.el (eshell-dirs-initialise):
3180 * eshell/em-script.el (eshell-script-initialize):
3181 Add missing #' to lambda.
3182
3183 2013-06-08 Leo Liu <sdl.web@gmail.com>
3184
3185 * progmodes/octave.el (octave-add-log-current-defun): New function.
3186 (octave-mode): Set add-log-current-defun-function.
3187 (octave-goto-function-definition): Do not move point if not found.
3188 (octave-find-definition): Enhance to try subfunctions first.
3189
3190 2013-06-08 Glenn Morris <rgm@gnu.org>
3191
3192 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3193 (byte-compile-backward-char, byte-compile-backward-word):
3194 Improve previous change, to handle non-explicit nil.
3195
3196 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3197
3198 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3199 (smie--opener/closer-at-point): New function.
3200 (smie--matching-block-data): Use it. Don't match from right after an
3201 opener or right before a closer. Obey smie-blink-matching-inners.
3202 Don't signal a mismatch for repeated inners like "switch..case..case".
3203
3204 2013-06-07 Leo Liu <sdl.web@gmail.com>
3205
3206 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3207 to t. (Bug#14303)
3208 (octave-function-header-regexp): Fix. (Bug#14570)
3209 (octave-help-mode-finish-hook, octave-help-mode-finish):
3210 Remove. Just use temp-buffer-show-hook.
3211
3212 * newcomment.el (comment-search-backward): Revert last change.
3213 (Bug#14434)
3214
3215 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3216
3217 2013-06-07 Eli Zaretskii <eliz@gnu.org>
3218
3219 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3220 through xargs, to avoid failure due to MS-Windows limitations on
3221 command-line length.
3222
3223 2013-06-06 Glenn Morris <rgm@gnu.org>
3224
3225 * font-lock.el (lisp-font-lock-keywords-2):
3226 Treat user-error like error.
3227
3228 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3229 (byte-compile-backward-char, byte-compile-backward-word):
3230 Handle explicit nil arguments. (Bug#14565)
3231
3232 2013-06-05 Alan Mackenzie <acm@muc.de>
3233
3234 * isearch.el (isearch-allow-prefix): New user option.
3235 (isearch-other-meta-char): Don't exit isearch when a prefix
3236 argument is typed whilst `isearch-allow-prefix' is non-nil.
3237 (Bug#9706)
3238
3239 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * autorevert.el (auto-revert-notify-handler): Use memq.
3242 Hide assertion failure.
3243
3244 * skeleton.el: Use cl-lib.
3245 (skeleton-further-elements): Use defvar-local.
3246 (skeleton-insert): Use cl-progv.
3247
3248 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3249
3250 * progmodes/prog-mode.el (prog-prettify-symbols)
3251 (prog-prettify-install): Update docstrings.
3252
3253 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3254
3255 * simple.el: Move all the prog-mode code to prog-mode.el.
3256 * progmodes/prog-mode.el: New file.
3257 * loadup.el: Add prog-mode.el.
3258
3259 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3260
3261 * simple.el (prog-prettify-symbols): Add version.
3262 (prog-prettify-install): Add convenience function to prettify symbols.
3263
3264 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3265 (perl--augmented-font-lock-keywords-1)
3266 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3267 variables and use it.
3268
3269 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3270 (cfengine3-mode): Remove unneeded variable and use it.
3271
3272 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3273 (lisp--augmented-font-lock-keywords-1)
3274 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3275 Remove unneeded variables and use it.
3276
3277 2013-06-05 João Távora <joaotavora@gmail.com>
3278
3279 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
3280 to point when opening the connection. (Bug#14380)
3281
3282 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * subr.el (load-history-regexp, load-history-filename-element)
3285 (eval-after-load, after-load-functions, do-after-load-evaluation)
3286 (eval-next-after-load, display-delayed-warnings)
3287 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3288 definition of save-match-data.
3289 (overriding-local-map): Remove accidental obsolescence declaration.
3290
3291 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3292
3293 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3294
3295 Generalize symbol prettify support to prog-mode and implement it
3296 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3297 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3298 (prog--prettify-font-lock-compose-symbol)
3299 (prog-prettify-font-lock-symbols-keywords): New variables and
3300 functions to support symbol prettification.
3301 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3302 (lisp--augmented-font-lock-keywords-1)
3303 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3304 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3305 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3306 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3307 Implement prettify of -> => :: strings.
3308 * progmodes/perl-mode.el (perl-prettify-symbols)
3309 (perl--font-lock-compose-symbol)
3310 (perl--font-lock-symbols-keywords): Move to prog-mode.
3311 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3312 (perl-font-lock-keywords-1)
3313 (perl-font-lock-keywords-2): Remove explicit prettify support.
3314 (perl--augmented-font-lock-keywords)
3315 (perl--augmented-font-lock-keywords-1)
3316 (perl--augmented-font-lock-keywords-2, perl-mode):
3317 Implement prettify support.
3318
3319 2013-06-05 Leo Liu <sdl.web@gmail.com>
3320
3321 Re-implement smie matching block highlight using
3322 show-paren-data-function. (Bug#14395)
3323 * emacs-lisp/smie.el (smie-matching-block-highlight)
3324 (smie--highlight-matching-block-overlay)
3325 (smie--highlight-matching-block-lastpos)
3326 (smie-highlight-matching-block)
3327 (smie-highlight-matching-block-mode): Remove.
3328 (smie--matching-block-data-cache): New variable.
3329 (smie--matching-block-data): New function.
3330 (smie-setup): Use smie--matching-block-data for
3331 show-paren-data-function.
3332
3333 * progmodes/octave.el (octave-mode-menu): Fix.
3334 (octave-find-definition): Skip garbage lines.
3335
3336 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3337
3338 Fix compilation error with simultaneous dynamic+lexical scoping.
3339 Add warning when a defvar appears after the first let-binding.
3340 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3341 (byte-compile-close-variables): Initialize it.
3342 (byte-compile--declare-var): New function.
3343 (byte-compile-file-form-defvar)
3344 (byte-compile-file-form-define-abbrev-table)
3345 (byte-compile-file-form-custom-declare-variable): Use it.
3346 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
3347 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3348 (byte-compile-bind): Handle dynamic bindings that shadow
3349 lexical bindings.
3350 (byte-compile-unbind): Make arg non-optional.
3351 (byte-compile-let): Simplify.
3352 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3353 (cconv--analyse-function, cconv-analyse-form): Populate it.
3354 Protect byte-compile-bound-variables to limit the scope of defvars.
3355 (cconv-analyse-form): Add missing rule for (defvar <foo>).
3356 Remove unneeded rule for `declare'.
3357
3358 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3359 so as to avoid depending on cl-adjoin at run-time.
3360 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3361
3362 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3363 (macroexp--warn-and-return): Use it.
3364
3365 2013-06-05 Leo Liu <sdl.web@gmail.com>
3366
3367 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3368
3369 2013-06-04 Leo Liu <sdl.web@gmail.com>
3370
3371 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3372 (compilation-auto-jump): Suppress the "Mark set" message to give
3373 way to exit message.
3374
3375 2013-06-04 Alan Mackenzie <acm@muc.de>
3376
3377 Remove faulty optimisation from indentation calculation.
3378 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3379 search limit based on 2000 characters back from indent-point.
3380
3381 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3382
3383 * eshell/em-term.el (cl-lib): Require `cl-lib'.
3384
3385 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * emacs-lisp/lisp.el: Use lexical-binding.
3388 (lisp--local-variables-1, lisp--local-variables): New functions.
3389 (lisp--local-variables-completion-table): New var.
3390 (lisp-completion-at-point): Use it complete let-bound vars.
3391
3392 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3393 eagerly (bug#14422).
3394
3395 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
3396
3397 * autorevert.el (auto-revert-notify-enabled)
3398 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3399 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3400 (auto-revert-notify-handler): Handle also gfilenotify.
3401
3402 * subr.el (file-notify-handle-event): New defun. Replacing ...
3403 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
3404 Remove.
3405
3406 2013-06-03 Juri Linkov <juri@jurta.org>
3407
3408 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3409 `M-s h .'. (Bug#14427)
3410
3411 * hi-lock.el (highlight-symbol-at-point): New alias for the new
3412 command `hi-lock-face-symbol-at-point'.
3413 (hi-lock-face-symbol-at-point): New command.
3414 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3415 (hi-lock-menu): Add `highlight-symbol-at-point'.
3416 (hi-lock-mode): Doc fix.
3417
3418 * isearch.el (isearch-forward-symbol-at-point): New command.
3419 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3420 (isearch-highlight-regexp): Add a regexp which matches
3421 words/symbols for word/symbol mode.
3422
3423 * subr.el (find-tag-default-bounds): New function with the body
3424 mostly moved from `find-tag-default'.
3425 (find-tag-default): Move most code to `find-tag-default-bounds',
3426 call it and apply `buffer-substring-no-properties' afterwards.
3427
3428 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3429
3430 * eshell/em-term.el (eshell-term-initialize):
3431 Use `cl-intersection' rather than `intersection'.
3432
3433 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
3434
3435 * vc/log-view.el: Doc fix.
3436 (log-view-mode-map): Copy keymap from `special-mode-map'.
3437
3438 2013-06-02 Eric Ludlam <zappo@gnu.org>
3439
3440 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
3441 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
3442 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
3443 (eieio-unbound, eieio-default-superclass)
3444 (eieio--define-field-accessors, method-static, method-before)
3445 (method-primary, method-after, method-num-lists)
3446 (method-generic-before, method-generic-primary)
3447 (method-generic-after, method-num-slots)
3448 (eieio-specialized-key-to-generic-key)
3449 (eieio--check-type, class-v, class-p)
3450 (eieio-class-name, define-obsolete-function-alias)
3451 (eieio-class-parents-fast, eieio-class-children-fast)
3452 (same-class-fast-p, class-constructor, generic-p)
3453 (generic-primary-only-p, generic-primary-only-one-p)
3454 (class-option-assoc, class-option, eieio-object-p)
3455 (class-abstract-p, class-method-invocation-order)
3456 (eieio-defclass-autoload-map, eieio-defclass-autoload)
3457 (eieio-class-un-autoload, eieio-defclass)
3458 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
3459 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
3460 (eieio--defgeneric-init-form, eieio-defgeneric-form)
3461 (eieio-defgeneric-reset-generic-form)
3462 (eieio-defgeneric-form-primary-only)
3463 (eieio-defgeneric-reset-generic-form-primary-only)
3464 (eieio-defgeneric-form-primary-only-one)
3465 (eieio-defgeneric-reset-generic-form-primary-only-one)
3466 (eieio-unbind-method-implementations)
3467 (eieio--defmethod, eieio--typep)
3468 (eieio-perform-slot-validation, eieio-validate-slot-value)
3469 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
3470 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
3471 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
3472 (eieio-slot-name-index, eieio-class-slot-name-index)
3473 (eieio-set-defaults, eieio-initarg-to-attribute)
3474 (eieio-attribute-to-initarg, eieio-c3-candidate)
3475 (eieio-c3-merge-lists, eieio-class-precedence-c3)
3476 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
3477 (eieio-class-precedence-list, eieio-generic-call-methodname)
3478 (eieio-generic-call-arglst, eieio-generic-call-key)
3479 (eieio-generic-call-next-method-list)
3480 (eieio-pre-method-execution-functions, eieio-generic-call)
3481 (eieio-generic-call-primary-only, eieiomt-method-list)
3482 (eieiomt-optimizing-obarray, eieiomt-install)
3483 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
3484 (eieio-generic-form, eieio-defmethod, make-obsolete)
3485 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
3486 (defclass): Remove `eval-and-compile' from macro.
3487 (call-next-method, shared-initialize): Instead of using
3488 `scoped-class' variable, use new eieio--scoped-class, and
3489 eieio--with-scoped-class.
3490 (initialize-instance): Rename local variable 'scoped-class' to
3491 'this-class' to remove ambiguitity from old global.
3492
3493 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
3494 eieio.el.
3495 (eieio--scoped-class-stack): New variable.
3496 (eieio--scoped-class): New fcn.
3497 (eieio--with-scoped-class): New scoping macro.
3498 (eieio-defclass): Use pushnew instead of add-to-list.
3499 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
3500 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
3501 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
3502 `scoped-class' variable, use new eieio--scoped-class, and
3503 eieio--with-scoped-class.
3504
3505 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
3506
3507 2013-06-02 Tassilo Horn <tsdh@gnu.org>
3508
3509 * eshell/esh-ext.el (eshell-external-command): Pass args to
3510 `eshell-find-interpreter'.
3511 (eshell-find-interpreter): Add new second parameter ARGS.
3512
3513 * eshell/em-script.el (eshell-script-initialize): Add second arg
3514 to the function added as MATCH to `eshell-interpreter-alist'.
3515
3516 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
3517 the function added as MATCH to `eshell-interpreter-alist'.
3518
3519 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
3520 (eshell-visual-options): New defcustom.
3521 (eshell-escape-control-x): Adapt docstring.
3522 (eshell-term-initialize): Test `eshell-visual-subcommands' and
3523 `eshell-visual-options' in addition to `eshell-visual-commands'.
3524 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
3525
3526 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
3527
3528 * progmodes/python.el (python-indent-block-enders): Add break,
3529 continue and raise keywords.
3530
3531 2013-06-01 Glenn Morris <rgm@gnu.org>
3532
3533 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
3534
3535 Plain (f)boundp silences compilation warnings since Emacs 22.1.
3536 * progmodes/cc-cmds.el (delete-forward-p):
3537 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
3538 * progmodes/cc-engine.el (buffer-syntactic-context):
3539 * progmodes/cc-fonts.el (face-property-instance):
3540 * progmodes/cc-mode.el (set-keymap-parents):
3541 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3542 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3543 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
3544 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3545 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
3546
3547 * progmodes/cc-vars.el (other): Emacs has this widget since
3548 at least 21.1, so don't (re)define it.
3549
3550 * eshell/em-cmpl.el (eshell-cmpl-initialize):
3551 Replace the obsolete alias pcomplete-arg-quote-list.
3552
3553 2013-06-01 Leo Liu <sdl.web@gmail.com>
3554
3555 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3556 punctuation syntax.
3557 (inferior-octave-minimal-columns)
3558 (inferior-octave-last-column-width): New variables.
3559 (inferior-octave-track-window-width-change): New function.
3560 (inferior-octave-mode): Adjust column width so that Octave output,
3561 for example from 'ls', can fit into the window nicely.
3562
3563 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3564
3565 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3566 Highlight expansions inside regexp literals.
3567
3568 2013-05-31 Glenn Morris <rgm@gnu.org>
3569
3570 * obsolete/sym-comp.el (symbol-complete):
3571 Replace obsolete completion-annotate-function.
3572
3573 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3574
3575 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3576
3577 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3578 New function, checks if point is inside a literal that allows
3579 expression expansion.
3580 (ruby-syntax-propertize-expansion): Use it.
3581 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3582 around the body.
3583
3584 2013-05-30 Juri Linkov <juri@jurta.org>
3585
3586 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3587 to "\M-si".
3588 (isearch-invisible): New variable.
3589 (isearch-forward): Doc fix.
3590 (isearch-mode): Set `isearch-invisible'
3591 to the value of `search-invisible'.
3592 (isearch-toggle-case-fold): Doc fix.
3593 (isearch-toggle-invisible): New command.
3594 (isearch-query-replace): Let-bind `search-invisible'
3595 to the value of `isearch-invisible'.
3596 (isearch-search): Use `isearch-invisible' instead of
3597 `search-invisible'. Let-bind `search-invisible'
3598 to the value of `isearch-invisible'. (Bug#11378)
3599
3600 2013-05-30 Juri Linkov <juri@jurta.org>
3601
3602 * replace.el (perform-replace): Avoid `isearch-range-invisible'
3603 call when `query-flag' is nil and `search-invisible' is non-nil.
3604 (Bug#11746)
3605
3606 2013-05-30 Glenn Morris <rgm@gnu.org>
3607
3608 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3609
3610 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3611 (cc-require): Suppress spurious "noruntime" warnings.
3612 (cc-require-when-compile): Use fboundp, for sake of compiler.
3613
3614 * progmodes/cc-mode.el: Move load of cc-vars before that of
3615 cc-langs (which in turn loads cc-vars), to quieten compiler.
3616
3617 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3618
3619 * paren.el: Simplify the code.
3620 (show-paren-mode): Always start the timer.
3621 (show-paren--idle-timer): Rename from show-paren-idle-timer.
3622 (show-paren--overlay, show-paren--overlay-1): Rename from
3623 show-paren-overlay and show-paren-overlay-1, and initialize to an
3624 overlay rather than to nil.
3625 (show-paren-function): Misc cleanup and simplifications.
3626
3627 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 * paren.el (show-paren-data-function): New hook.
3630 (show-paren--default): New function, extracted from show-paren-function.
3631 (show-paren-function): Use show-paren-data-function.
3632
3633 2013-05-30 Glenn Morris <rgm@gnu.org>
3634
3635 * ielm.el (ielm-map, ielm-complete-symbol):
3636 Use completion-at-point rather than obsolete functions.
3637 (inferior-emacs-lisp-mode): Doc fix.
3638 Set completion-at-point-functions, rather than
3639 comint-dynamic-complete-functions.
3640
3641 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3642 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3643 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3644
3645 * image.el (image-animated-p): Tweak definition.
3646
3647 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3648 (rlogin-process-connection-type): Tweak default. Add set-after.
3649 (rlogin-host): Doc fix.
3650 (rlogin): Tweak prompt.
3651 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3652
3653 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3654 * progmodes/tcl.el (inferior-tcl-mode-map):
3655 Use completion-at-point rather than obsolete alias.
3656
3657 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3658
3659 * minibuffer.el (read-file-name-completion-ignore-case):
3660 Move before completion--in-region, for eager macro expansion.
3661
3662 2013-05-29 Juri Linkov <juri@jurta.org>
3663
3664 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3665 for total count of matching lines. Add `global-matches' for total
3666 count of matches. Rename `matches' to `lines' for count of
3667 matching lines. Add `matches' for count of matches.
3668 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
3669 to `prev-line' for line number of prev match endpt.
3670 Increment `matches' for every match. Print the number of
3671 matching lines in the header.
3672 (occur-context-lines): Rename `lines' to `curr-line'.
3673 Rename `prev-lines' to `prev-line'. (Bug#14017)
3674
3675 2013-05-29 Juri Linkov <juri@jurta.org>
3676
3677 * replace.el (perform-replace): Add `skip-read-only-count',
3678 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3679 Increment them for corresponding conditions and report the number
3680 of skipped occurrences in the final message. (Bug#11746)
3681 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3682 (replace-string, replace-regexp): Doc fix.
3683
3684 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * emacs-lisp/trace.el (trace--read-args): Provide a default.
3687
3688 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
3689 prog-mode-map (bug#14504).
3690
3691 2013-05-29 Leo Liu <sdl.web@gmail.com>
3692
3693 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3694 (octave-help): Small simplification.
3695
3696 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3697 off the highlight first.
3698
3699 2013-05-29 Glenn Morris <rgm@gnu.org>
3700
3701 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3702 Handle idlwave-last-system-routine-info-cons-cell being nil.
3703
3704 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3705 (idlwave-write-paths): Simplify via with-temp-buffer.
3706
3707 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3708 * emulation/cua-rect.el: Also load cua-base at run time.
3709
3710 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3711 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3712 (cperl-imenu-on-info): Require imenu.
3713
3714 2013-05-28 Alan Mackenzie <acm@muc.de>
3715
3716 Handle "capitalised keywords" correctly.
3717 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
3718
3719 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
3720
3721 * eshell/em-unix.el: Add -r option to cp.
3722
3723 2013-05-28 Glenn Morris <rgm@gnu.org>
3724
3725 * vc/vc-arch.el (vc-exec-after): Declare.
3726 (vc-switches): Autoload.
3727 * vc/vc-bzr.el: No need to require vc when compiling.
3728 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3729 (vc-resynch-buffer, vc-dir-refresh): Declare.
3730 (vc-setup-buffer, vc-switches): Autoload.
3731 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3732 (vc-resynch-buffer): Declare.
3733 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
3734 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
3735 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3736 (grep-read-regexp, grep-read-files, grep-expand-template)
3737 (vc-dir-refresh): Declare.
3738 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3739 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3740 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
3741 * vc/vc-mtn.el (vc-exec-after): Declare.
3742 (vc-switches): Autoload.
3743 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3744 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3745 (vc-file-tree-walk): Declare.
3746 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3747 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3748 (vc-tag-precondition, vc-rename-master): Autoload.
3749 * vc/vc-svn.el (vc-exec-after): Declare.
3750 (vc-switches, vc-setup-buffer): Autoload.
3751 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3752 Autoload.
3753 (vc-resynch-buffer): Declare.
3754
3755 * obsolete/fast-lock.el (byte-compile-warnings):
3756 Don't warn about obsolete features in this obsolete file.
3757
3758 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3759 Move definition before use.
3760
3761 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3762 (dun-unix-verbs): Remove dun-zippy.
3763 (dun-zippy): Remove function.
3764
3765 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3766
3767 2013-05-27 Juri Linkov <juri@jurta.org>
3768
3769 * replace.el (replace-search): New function with code moved out
3770 from `perform-replace'.
3771 (replace-highlight, replace-dehighlight): Move function definitions
3772 up closer to `replace-search'. (Bug#11746)
3773
3774 2013-05-27 Juri Linkov <juri@jurta.org>
3775
3776 * replace.el (perform-replace): Ignore invisible matches.
3777 In addition to checking `query-replace-skip-read-only', also
3778 filter out matches by calling `run-hook-with-args-until-failure'
3779 on `isearch-filter-predicates', and also check `search-invisible'
3780 for t or call `isearch-range-invisible'.
3781 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
3782
3783 2013-05-27 Juri Linkov <juri@jurta.org>
3784
3785 * isearch.el (isearch-filter-predicates): Rename from
3786 `isearch-filter-predicate'. Doc fix. (Bug#11378)
3787 (isearch-message-prefix): Display text from the property
3788 `isearch-message-prefix' of the currently active filters.
3789 (isearch-search): Don't compare `isearch-filter-predicate' with
3790 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
3791 on `isearch-filter-predicates'. Also check `search-invisible' for t
3792 or call `isearch-range-invisible'.
3793 (isearch-filter-visible): Make obsolete.
3794 (isearch-lazy-highlight-search):
3795 Call `run-hook-with-args-until-failure' on
3796 `isearch-filter-predicates' and use `isearch-range-invisible'.
3797
3798 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3799 `isearch-filter-predicates' instead of `funcall'ing
3800 `isearch-filter-predicate'.
3801 (Info-mode): Set `Info-isearch-filter' to
3802 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3803
3804 * dired-aux.el (dired-isearch-filter-predicate-orig):
3805 Remove variable.
3806 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3807 (dired-isearch-filenames-end): Add and remove
3808 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3809 instead of changing the value of `isearch-filter-predicate'.
3810 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3811 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3812 Put property `isearch-message-prefix' to "filename " on
3813 `dired-isearch-filter-filenames'.
3814
3815 * wdired.el (wdired-change-to-wdired-mode):
3816 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3817 locally instead of changing `isearch-filter-predicate'.
3818 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3819
3820 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
3821
3822 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3823 return the commit hash (Bug#14459). Also set the
3824 `vc-git-detached' property.
3825 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3826 (vc-git-mode-line-string): Use the same help-echo format whether
3827 in detached mode or not, because we know the actual revision now.
3828 When in detached mode, shorten the revision to 7 chars.
3829
3830 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 * emacs-lisp/easy-mmode.el (define-minor-mode):
3833 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
3834 mode hook and provide a docstring.
3835
3836 2013-05-27 Alan Mackenzie <acm@muc.de>
3837
3838 Remove spurious syntax-table text properties inserted by C-y.
3839 * progmodes/cc-mode.el (c-after-change): Also clear hard
3840 syntax-table property with value nil.
3841
3842 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
3843
3844 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
3845 when reading the events; the buffer layout shall not be changed.
3846
3847 2013-05-27 Leo Liu <sdl.web@gmail.com>
3848
3849 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3850 New variable.
3851 (inferior-octave-directory-tracker): Automatically re-sync
3852 default-directory.
3853 (octave-help): Improve handling of 'See also'.
3854
3855 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3856
3857 * doc-view.el: Minor naming convention tweaks.
3858 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3859
3860 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3861 even if there's no `display' property yet (bug#14435).
3862
3863 2013-05-25 Eli Zaretskii <eliz@gnu.org>
3864
3865 * subr.el (unmsys--file-name): Rename from reveal-filename.
3866
3867 * Makefile.in (custom-deps, finder-data, autoloads)
3868 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3869 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3870 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
3871
3872 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
3875 error-completion on the first 2 args of condition-case (bug#14446).
3876 Don't burp at EOB.
3877
3878 2013-05-25 Leo Liu <sdl.web@gmail.com>
3879
3880 * comint.el (comint-previous-matching-input): Do not flood the
3881 *Messages* buffer with trivial messages.
3882
3883 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * progmodes/flymake.el (flymake-nop): Don't return a string.
3886 (flymake-set-at): Fix typo.
3887
3888 * simple.el (read--expression): New function, extracted from
3889 eval-expression. Set completion-at-point-functions (bug#14465).
3890 (eval-expression, eval-minibuffer): Use it.
3891
3892 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
3893
3894 * progmodes/flymake.el (flymake-save-buffer-in-file)
3895 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
3896 (flymake-selected-frame, flymake-log, flymake-ins-after)
3897 (flymake-set-at, flymake-get-buildfile-from-cache)
3898 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
3899 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
3900 Refine the doc string.
3901 (flymake-get-file-name-mode-and-masks): Reformat.
3902 (flymake-get-real-file-name-function): Fix a minor bug.
3903
3904 2013-05-24 Juri Linkov <juri@jurta.org>
3905
3906 * progmodes/grep.el (grep-mode-font-lock-keywords):
3907 Support =linenumber= format used by git-grep for lines with
3908 function names. (Bug#13549)
3909
3910 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3911
3912 * progmodes/octave.el (octave-smie-rules): Return nil rather than
3913 0 after a semi-colon; it works better for smie-auto-fill.
3914 (octave--indent-new-comment-line): New function.
3915 (octave-indent-new-comment-line): Use it (indirectly).
3916 (octave-mode): Don't disable smie-auto-fill. Use add-function to
3917 modify comment-line-break-function.
3918
3919 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
3920 (smie-setup): Use add-function to set it.
3921
3922 2013-05-24 Sam Steingold <sds@gnu.org>
3923
3924 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
3925 argument (before the `interactive' argument).
3926
3927 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3928
3929 * image-mode.el (image-mode-winprops): Add winprops to
3930 image-mode-winprops-alist before running
3931 image-mode-new-window-functions.
3932 * doc-view.el (doc-view-new-window-function): Don't delay
3933 doc-view-goto-page via timers (bug#14435).
3934
3935 2013-05-24 Tassilo Horn <tsdh@gnu.org>
3936
3937 * doc-view.el: Integrate with desktop.el. (Bug#14435)
3938 (doc-view-desktop-save-buffer): New function.
3939 (doc-view-restore-desktop-buffer): New function.
3940 (desktop-buffer-mode-handlers):
3941 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
3942 handler.
3943 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
3944 `desktop-save-buffer' function.
3945
3946 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
3947
3948 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
3949 (tramp-gvfs-file-name-handler): Raise a user error when
3950 `tramp-gvfs-enabled' is nil.
3951 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
3952 Do not raise a user error when loading package. (Bug#14447)
3953
3954 * net/xesam.el: Move to obsolete/.
3955
3956 2013-05-24 Glenn Morris <rgm@gnu.org>
3957
3958 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
3959
3960 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
3961
3962 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
3963 (Info-find-node, Man-getpage-in-background): Declare.
3964
3965 * mail/unrmail.el (unrmail):
3966 Replace obsolete detect-coding-with-priority.
3967
3968 * net/socks.el (socks-split-string): Use this rather than split-string.
3969 (socks-nslookup-host): Update for above change.
3970 (dynamic-choice, s5-dynamic-choice-match)
3971 (s5-dynamic-choice-match-inline, s5-widget-value-create):
3972 Comment out unused code.
3973
3974 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
3975 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
3976 (gud-tooltip-echo-area): Make obsolete.
3977 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
3978
3979 * progmodes/js.el (js--optimize-arglist): Declare.
3980
3981 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
3982
3983 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
3984 (ediff-window-C): Declare.
3985
3986 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
3987 Tweak requires to silence compiler.
3988
3989 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
3990 (he-search-string, he-tried-table, he-expand-list)
3991 (he-init-string, he-string-member, he-substitute-string)
3992 (he-reset-string): Declare.
3993
3994 * obsolete/options.el (list-options): Use custom-variable-p,
3995 rather than obsolete alias.
3996
3997 2013-05-23 Sam Steingold <sds@gnu.org>
3998
3999 * simple.el (shell-command-on-region): Pass the `replace' argument
4000 down to `call-process-region' to comply with the doc as reported on
4001 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
4002
4003 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * emacs-lisp/smie.el (smie-indent-forward-token)
4006 (smie-indent-backward-token): Handle string tokens (bug#14381).
4007
4008 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4009
4010 * ielm.el (ielm-menu): New menu.
4011 (inferior-emacs-lisp-mode): Set comment-start.
4012
4013 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4014
4015 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
4016 Fix deactivate action.
4017
4018 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
4019 Add cleveref macros.
4020
4021 * lisp/textmodes/reftex-parse.el
4022 (reftex-locate-bibliography-files): Accept options for
4023 bibliography commands.
4024 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
4025 Add addbibresource. Basic Biblatex support.
4026
4027 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
4028
4029 * net/tramp-gvfs.el (top):
4030 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
4031 when loading package. (Bug#14447)
4032
4033 2013-05-23 Glenn Morris <rgm@gnu.org>
4034
4035 * progmodes/js.el: No need to load comint when compiling.
4036 (ring-insert, comint-send-string, comint-send-input)
4037 (comint-last-input-end, ido-chop): Declare.
4038
4039 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
4040 * vc/ediff-mult.el: Adjust requires.
4041 (ediff-directories-internal, ediff-directory-revisions-internal)
4042 (ediff-patch-file-internal): Declare.
4043 * vc/ediff-ptch.el: Adjust requires.
4044 (ediff-use-last-dir, ediff-buffers-internal): Declare.
4045 (ediff-find-file): Autoload.
4046 * vc/ediff-util.el: No need to load ediff when compiling.
4047 (ediff-regions-internal): Declare.
4048 * vc/ediff-wind.el: Adjust requires.
4049 (ediff-compute-toolbar-width): Define when compiling.
4050 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
4051 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
4052 (dired-get-filename, dired-get-marked-files)
4053 (ediff-last-dir-patch, ediff-patch-default-directory)
4054 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
4055 (ediff-patch-buffer-internal): Declare.
4056
4057 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
4058 (ispell-process, ispell-buffer-local-words, lm-summary)
4059 (lm-section-start, lm-section-end): Declare.
4060 (checkdoc-ispell-init): Simplify.
4061
4062 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4063 (he-string-member, he-reset-string, he-substitute-string): Declare.
4064
4065 * eshell/em-ls.el: Adjust requires.
4066 (eshell-glob-regexp): Declare.
4067 * eshell/em-tramp.el: Adjust requires.
4068 (eshell-parse-command): Autoload.
4069 * eshell/em-xtra.el: Adjust requires.
4070 (eshell-parse-command): Autoload.
4071 * eshell/esh-ext.el: Adjust requires.
4072 (eshell-parse-command, eshell-close-handles): Autoload.
4073 * eshell/esh-io.el: Adjust requires.
4074 (eshell-output-filter): Autoload.
4075 * eshell/esh-util.el: No need to load tramp when compiling.
4076 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4077 Declare.
4078 (eshell-parse-ange-ls): Require ange-ftp and tramp.
4079 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4080 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4081 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4082 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4083 * eshell/esh-opt.el, eshell/esh-proc.el:
4084 * eshell/esh-var.el: Adjust requires.
4085 * eshell/eshell.el: Do not require esh-util twice.
4086 (eshell-add-input-to-history): Declare.
4087 (eshell-command): Check history module is active before using it.
4088
4089 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4090
4091 2013-05-22 Leo Liu <sdl.web@gmail.com>
4092
4093 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4094
4095 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
4096
4097 * autorevert.el (auto-revert-notify-add-watch)
4098 (auto-revert-notify-handler): Add `attrib' for the inotify case,
4099 it indicates changes in file modification time.
4100
4101 2013-05-22 Glenn Morris <rgm@gnu.org>
4102
4103 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4104 Always delete the autoloaded function from the noruntime and
4105 unresolved functions lists.
4106
4107 * allout.el: No need to load epa, epg, overlay when compiling.
4108 (epg-context-set-passphrase-callback, epg-list-keys)
4109 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4110 (epg-key-user-id-list): Declare.
4111
4112 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4113 (viper-set-parsing-style-toggling-macro)
4114 (viper-set-emacs-state-searchstyle-macros):
4115 Use called-interactively-p on Emacs.
4116 (viper-looking-back): Make it an obsolete alias. Update callers.
4117 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4118 Use looking-back rather than viper-looking-back.
4119 (viper-tmp-insert-at-eob, viper-enlarge-region)
4120 (viper-read-string-with-history, viper-register-to-point)
4121 (viper-append-to-register, viper-change-state-to-vi)
4122 (viper-backward-char-carefully, viper-forward-char-carefully)
4123 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4124 (viper-change-state-to-emacs): Declare.
4125 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4126 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4127 * emulation/viper-mous.el: Do not load viper-cmd.
4128 (viper-backward-char-carefully, viper-forward-char-carefully)
4129 (viper-forward-word, viper-adjust-window): Declare.
4130
4131 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4132
4133 * progmodes/idlw-help.el (idlwave-help-fontify):
4134 Use called-interactively-p.
4135
4136 * term/w32console.el (w32-get-console-codepage)
4137 (w32-get-console-output-codepage): Declare.
4138
4139 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4140 Remove unnecessary declarations.
4141 (dframe-message): Doc fix.
4142
4143 * info.el (dframe-select-attached-frame, dframe-current-frame):
4144 Declare.
4145
4146 * speedbar.el (speedbar-message): Make it an obsolete alias.
4147 Update all callers.
4148 (speedbar-with-attached-buffer)
4149 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4150 (speedbar-with-writable): Use backquote.
4151 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4152 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4153 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4154 rather than speedbar- aliases.
4155 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4156 (speedbar-make-specialized-keymap, speedbar-insert-button)
4157 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4158 (speedbar-do-function-pointer): Declare.
4159 (rmail-speedbar-button, rmail-speedbar-find-file)
4160 (rmail-speedbar-move-message):
4161 Use dframe-with-attached-buffer rather than speedbar- alias.
4162 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4163 (dframe-message, speedbar-make-specialized-keymap)
4164 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4165 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4166 (speedbar-insert-button, dframe-select-attached-frame)
4167 (dframe-maybee-jump-to-attached-frame)
4168 (speedbar-change-initial-expansion-list)
4169 (speedbar-previously-used-expansion-list-name): Declare.
4170 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4171 Use dframe-message, dframe-with-attached-buffer rather than
4172 speedbar- aliases.
4173 (gud-sentinel): Silence compiler.
4174 * progmodes/vhdl-mode.el (speedbar-refresh)
4175 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4176 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4177 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4178 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4179 (speedbar-file-lists, speedbar-make-tag-line)
4180 (speedbar-line-directory, speedbar-goto-this-file)
4181 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4182 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4183 (speedbar-make-button, speedbar-reset-scanners)
4184 (speedbar-files-item-info, speedbar-line-text)
4185 (speedbar-find-file-in-frame, speedbar-set-timer)
4186 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4187 (speedbar-with-writable): Do not (re)define it.
4188 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4189 rather than speedbar- alias.
4190
4191 2013-05-21 Leo Liu <sdl.web@gmail.com>
4192
4193 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4194 menu items.
4195 (octave-mode): Tweak fill-nobreak-predicate.
4196 (inferior-octave-startup): Check process to avoid infinite loop.
4197 (inferior-octave): Pop to buffer first to show abornmal process
4198 exit information.
4199
4200 2013-05-21 Glenn Morris <rgm@gnu.org>
4201
4202 * printing.el (pr-menu-bar): Define when compiling.
4203
4204 2013-05-21 Leo Liu <sdl.web@gmail.com>
4205
4206 * progmodes/octave.el (octave-auto-fill): Remove.
4207 (octave-indent-new-comment-line): Improve.
4208 (octave-mode): Use auto fill mode through
4209 comment-line-break-function and fill-nobreak-predicate.
4210 (octave-goto-function-definition): Support DEFUN_DLD.
4211 (octave-beginning-of-defun): Small tweak.
4212 (octave-help): Show parent directory.
4213
4214 2013-05-21 Glenn Morris <rgm@gnu.org>
4215
4216 * files.el (dired-unmark):
4217 * progmodes/gud.el (gdb-input): Update declarations.
4218
4219 * calculator.el (electric, ehelp): No need to load when compiling.
4220 (Electric-command-loop, electric-describe-mode): Declare.
4221
4222 * doc-view.el (doc-view-current-converter-processes): Move before use.
4223
4224 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4225 Move MODE-set-explicitly definition before use.
4226
4227 * international/mule-diag.el (mule-diag):
4228 Don't use obsolete window-system-version.
4229
4230 * mail/feedmail.el (smtpmail): No need to load when compiling.
4231 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4232
4233 * mail/mail-utils.el (rfc822): No need to load when compiling.
4234 (rfc822-addresses): Autoload it.
4235 (mail-strip-quoted-names): Trivial simplification.
4236
4237 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4238 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4239
4240 * net/snmp-mode.el (tempo): Don't duplicate requires.
4241
4242 * progmodes/prolog.el (info): No need to load when compiling.
4243 (comint): Require before shell requires it.
4244 (Info-goto-node): Autoload it.
4245 (Info-follow-nearest-node): Declare.
4246 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4247
4248 * textmodes/artist.el (picture-mode-exit): Declare.
4249
4250 * textmodes/reftex-parse.el (reftex-parse-from-file):
4251 Trivial rewrite so the compiler can parse it better.
4252
4253 2013-05-20 Leo Liu <sdl.web@gmail.com>
4254
4255 * progmodes/octave.el (octave-help-mode-map)
4256 (octave-help-mode-finish-hook): New variables.
4257 (octave-help-mode, octave-help-mode-finish): New functions.
4258 (octave-help): Use octave-help-mode.
4259
4260 2013-05-20 Glenn Morris <rgm@gnu.org>
4261
4262 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4263
4264 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4265
4266 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4267 start at point, so that expansion starting right after opening
4268 slash in a regexp is recognized.
4269 (ruby-syntax-before-regexp-re): New defvar, extracted from
4270 ruby-syntax-propertize-function. Since the value of this regexp
4271 is looked up at runtime now, we should be able to turn
4272 `ruby-syntax-methods-before-regexp' into a defcustom later.
4273 (ruby-syntax-propertize-function): Split regexp matching into two
4274 parts, for opening and closing slashes. That allows us to skip
4275 over string interpolations and support multiline regexps.
4276 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4277 for them, which calls `ruby-syntax-propertize-expansion'.
4278 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4279 call to `ruby-syntax-propertize-function'.
4280 (ruby-syntax-propertize-expansion): Extracted from
4281 `ruby-syntax-propertize-expansions'. Handles one expansion.
4282 (ruby-syntax-propertize-percent-literal): Leave point right after
4283 the percent symbol, so that the expression expansion rule can
4284 propertize the contents.
4285 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4286 heredoc openers.
4287 (ruby-syntax-propertize-expansions): Remove.
4288
4289 2013-05-18 Juri Linkov <juri@jurta.org>
4290
4291 * man.el (Man-default-man-entry): Remove `-' from the end
4292 of the default value. (Bug#14400)
4293
4294 2013-05-18 Glenn Morris <rgm@gnu.org>
4295
4296 * comint.el (comint-password-prompt-regexp):
4297 Allow "password for XXX" where XXX contains colons (eg https://...).
4298
4299 2013-05-18 Leo Liu <sdl.web@gmail.com>
4300
4301 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
4302 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
4303 (octave-source-directories): Don't check process.
4304 (octave-source-directories, octave-find-definition): Doc fix.
4305
4306 2013-05-18 Glenn Morris <rgm@gnu.org>
4307
4308 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4309 Remove backspace/delete bindings. (Bug#14392)
4310
4311 * cus-dep.el (custom-make-dependencies): Sort the output.
4312 (custom-versions-load-alist): Convert comment to doc.
4313
4314 2013-05-17 Leo Liu <sdl.web@gmail.com>
4315
4316 * newcomment.el (comment-search-backward): Stricter in finding
4317 comment start. (Bug#14303)
4318
4319 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4320 (octave-comment-start-skip): Properly anchored.
4321
4322 2013-05-17 Leo Liu <sdl.web@gmail.com>
4323
4324 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4325 Clean up when turned off. (Bug#14395)
4326 (smie--highlight-matching-block-overlay): No longer buffer-local.
4327 (smie-highlight-matching-block): Adjust.
4328
4329 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
4330
4331 Doc string fix for "nanoseconds" (Bug#14406).
4332 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4333 Fix doc string typo that had "nanoseconds" instead of "microseconds".
4334
4335 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4336
4337 * calc/calc-units.el (math-extract-units): Preserve powers
4338 of units.
4339
4340 2013-05-17 Leo Liu <sdl.web@gmail.com>
4341
4342 * subr.el (delete-consecutive-dups): New function.
4343 * ido.el (ido-set-matches-1): Use it.
4344 * progmodes/octave.el (inferior-octave-completion-table): Use it.
4345 * ido.el (ido-remove-consecutive-dups): Remove.
4346
4347 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4348
4349 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4350 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4351 regexp-opt's `words'.
4352
4353 2013-05-16 Leo Liu <sdl.web@gmail.com>
4354
4355 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4356 (smie--highlight-matching-block-overlay)
4357 (smie--highlight-matching-block-lastpos)
4358 (smie--highlight-matching-block-timer): New variables.
4359 (smie-highlight-matching-block): New function.
4360 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
4361 (smie-setup): Conditionally enable smie-blink-matching-open.
4362
4363 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
4364
4365 Sync with upstream verilog-mode r840.
4366 * progmodes/verilog-mode.el (verilog-mode-version)
4367 (verilog-mode-release-date): Update.
4368 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4369 (verilog-sig-tieoff): Fix string error on
4370 AUTORESET with colon define, bug594. Reported by Andrew Hou.
4371 (verilog-read-decls): Fix parameters confusing
4372 AUTOINST interfaces, bug565. Reported by Leith Johnson.
4373
4374 2013-05-16 Eli Zaretskii <eliz@gnu.org>
4375
4376 * subr.el (reveal-filename): New function.
4377
4378 * loadup.el: Compute Emacs executable versions on MS-Windows,
4379 where executables have the .exe extension. Add a hard link
4380 emacs-XX.YY.ZZ.exe on MS-Windows.
4381
4382 * Makefile.in (XARGS_LIMIT): New variable.
4383 (custom-deps, finder-data, autoloads)
4384 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4385 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4386 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4387 (compile-main): Limit xargs according to $(XARGS_LIMIT).
4388
4389 2013-05-16 Leo Liu <sdl.web@gmail.com>
4390
4391 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4392 (octave-mode-menu, octave-mode-map): Remove its uses.
4393
4394 2013-05-16 Reto Zimmermann <reto@gnu.org>
4395
4396 Sync with upstream vhdl mode v3.34.2.
4397 * progmodes/vhdl-mode.el: Use `push' throughout.
4398 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4399 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4400 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
4401 (vhdl-actual-generic-name): New option to derive actual generic name.
4402 (vhdl-port-paste-signals): Replace formal by actual generics.
4403 (vhdl-beautify): New name for old group vhdl-align. Update users.
4404 (vhdl-beautify-options): New option.
4405 (vhdl-last-input-event): New compat alias. Use throughout.
4406 (vhdl-goto-line): Replace user level function `goto-line'.
4407 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4408 vhdl-fix-statement-buffer.
4409 (vhdl-create-mode-menu): Add some entries.
4410 (vhdl-align-region-groups): Respect vhdl-beautify-options.
4411 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4412 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4413 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4414 to force statements on one line.
4415 (vhdl-remove-trailing-spaces-region):
4416 New, split from vhdl-remove-trailing-spaces.
4417 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4418 Respect vhdl-beautify-options.
4419 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4420 (vhdl-update-sensitivity-list): Not add with index if exists without.
4421 Not include array index with signal. Ignore keywords in comments.
4422 (vhdl-get-visible-signals): Regexp tweaks.
4423 (vhdl-template-component-inst): Handle empty library.
4424 (vhdl-template-type): Add template for 'enum' type.
4425 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4426 Use vhdl-replace-string.
4427 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4428 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4429 (vhdl-speedbar-initialize): Update for above name change.
4430 (vhdl-compose-wire-components): Fix in handling of constants.
4431 (vhdl-error-regexp-emacs-alist): New variable.
4432 (vhdl-error-regexp-add-emacs): New function;
4433 adds support for new compile.el (Emacs 22+)
4434 (vhdl-generate-makefile-1): Change target order for single lib. units.
4435 Allow use of absolute file names.
4436
4437 2013-05-16 Leo Liu <sdl.web@gmail.com>
4438
4439 * simple.el (prog-indent-sexp): Indent enclosing defun.
4440
4441 2013-05-15 Glenn Morris <rgm@gnu.org>
4442
4443 * cus-start.el (show-trailing-whitespace): Move to editing basics.
4444 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
4445 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
4446 (whitespace-highlight): Move to whitespace group.
4447
4448 * comint.el (comint-source):
4449 * pcmpl-linux.el (pcmpl-linux):
4450 * shell.el (shell-faces):
4451 * eshell/esh-opt.el (eshell-opt):
4452 * international/ccl.el (ccl): Remove empty custom groups.
4453
4454 * completion.el (dynamic-completion-mode):
4455 * jit-lock.el (jit-lock-debug-mode):
4456 * minibuffer.el (completion-in-region-mode):
4457 * type-break.el (type-break-mode-line-message-mode)
4458 (type-break-query-mode):
4459 * emulation/tpu-edt.el (tpu-edt-mode):
4460 * progmodes/subword.el (global-subword-mode, global-superword-mode):
4461 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4462 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
4463
4464 * term/xterm.el (xterm): Change parent group to terminals.
4465
4466 * master.el (master): Remove empty custom group.
4467 (master-mode): Remove unused :group argument.
4468 * textmodes/refill.el (refill): Remove empty custom group.
4469 (refill-mode): Remove unused :group argument.
4470
4471 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
4472
4473 * cus-dep.el: Provide a feature.
4474 (custom-make-dependencies): Ignore dotfiles (dir-locals).
4475 Don't mistakenly ignore files whose basenames match a basename
4476 from preloaded-file-list (eg cedet/ede/simple.el).
4477 Add a fallback method for getting :group.
4478
4479 2013-05-15 Juri Linkov <juri@jurta.org>
4480
4481 * isearch.el (isearch-char-by-name): Rename from
4482 `isearch-insert-char-by-name'. Doc fix.
4483 (isearch-forward): Mention `isearch-char-by-name' in
4484 the docstring. (Bug#13348)
4485
4486 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4487 `exit-minibuffer' instead of
4488 `isearch-nonincremental-exit-minibuffer'.
4489 (isearch-edit-string): Remove mention of
4490 `isearch-nonincremental-exit-minibuffer' from docstring.
4491 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
4492 (isearch-forward-exit-minibuffer)
4493 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
4494
4495 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4496
4497 * loadup.el: Just use unversioned DOC.
4498
4499 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
4500 literals as extending to EOB.
4501 (nxml-last-fontify-end): Remove unused variable.
4502 (nxml-after-change1): Use with-silent-modifications.
4503 (nxml-extend-after-change-region): Simplify.
4504 (nxml-extend-after-change-region1): Remove function.
4505 (nxml-after-change1): Don't adjust for dependent regions.
4506 (nxml-fontify-matcher): Simplify.
4507 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
4508 (xmltok-add-dependent): Remove function.
4509 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
4510 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
4511 (xmltok-scan-prolog-after-processing-instruction-open): Treat
4512 unclosed <[[, <?, comment, and other literals as extending to EOB.
4513 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
4514 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
4515 Remove functions.
4516 (rng-do-some-validation-1): Don't mark dependent regions.
4517 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
4518 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
4519 (nxml-clear-dependent-regions): Remove functions.
4520 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
4521 (nxml-ensure-scan-up-to-date):
4522 Don't clear&mark dependent regions.
4523
4524 2013-05-15 Leo Liu <sdl.web@gmail.com>
4525
4526 * progmodes/octave.el (octave-goto-function-definition):
4527 Improve and fix callers.
4528
4529 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
4532 the setter (bug#14387).
4533
4534 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4535 surrounding group (bug#14402).
4536
4537 2013-05-14 Juri Linkov <juri@jurta.org>
4538
4539 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
4540 (Bug#14390)
4541
4542 2013-05-14 Glenn Morris <rgm@gnu.org>
4543
4544 * progmodes/f90.el (f90-imenu-generic-expression):
4545 Fix typo in 2013-05-08 change. (Bug#14402)
4546
4547 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4548
4549 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4550 Remove signals for which replies are never received.
4551
4552 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4553
4554 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4555 (gdb-handler-alist, gdb-handler-number): Remove variables.
4556 (gdb-handler-list): New variable.
4557 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4558 (gdb-pending-handler-p, gdb-handle-reply)
4559 (gdb-remove-all-pending-triggers): New functions.
4560 (gdb-discard-unordered-replies): New defcustom.
4561 (gdb-handler): New defstruct.
4562 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
4563 instead of gdb-pending-triggers. Update docstring.
4564 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
4565 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4566 (gdb-var-update-handler, def-gdb-auto-update-trigger)
4567 (def-gdb-auto-update-handler, gdb-get-changed-registers)
4568 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4569 (gdb-frame-handler): Pending triggers are now automatically managed.
4570 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4571 Remove argument.
4572 (gdb-input): Automatically handles pending triggers. Update docstring.
4573 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4574 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4575 Update comments.
4576 (gdb-done-or-error): Now use gdb-handle-reply.
4577
4578 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4579
4580 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4581 gdb-debug-log.
4582
4583 2013-05-14 Glenn Morris <rgm@gnu.org>
4584
4585 * subr.el (user-emacs-directory-warning): New option.
4586 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
4587
4588 2013-05-14 Leo Liu <sdl.web@gmail.com>
4589
4590 * progmodes/octave.el (octave-font-lock-keywords): Fix error
4591 during redisplay.
4592 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
4593 (octave-font-lock-texinfo-comment): Fix invalid search bound
4594 error: wrong side of point.
4595
4596 2013-05-14 Glenn Morris <rgm@gnu.org>
4597
4598 * progmodes/flymake.el (flymake-xml-program): New option.
4599 (flymake-xml-init): Use it.
4600
4601 * term/xterm.el: Provide a feature.
4602
4603 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
4604
4605 2013-05-13 Glenn Morris <rgm@gnu.org>
4606
4607 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4608 Add compat aliases as a hack workaround. (Bug#14384)
4609
4610 2013-05-13 Leo Liu <sdl.web@gmail.com>
4611
4612 * progmodes/octave.el (octave-indent-comment): Fix indentation for
4613 ###, and %!.
4614 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4615 C-M-q.
4616 (octave-comment-start-skip): Include %!.
4617 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
4618
4619 2013-05-12 Leo Liu <sdl.web@gmail.com>
4620
4621 * progmodes/octave.el (inferior-octave-startup): Store the value
4622 of __octave_srcdir__ for octave-source-directories.
4623 (inferior-octave-check-process): New function refactored out of
4624 inferior-octave-send-list-and-digest.
4625 (octave-source-directories)
4626 (octave-find-definition-filename-function): New variables.
4627 (octave-source-directories)
4628 (octave-find-definition-default-filename): New functions.
4629 (octave-find-definition): Improve to find functions implemented in C++.
4630
4631 2013-05-12 Glenn Morris <rgm@gnu.org>
4632
4633 * calendar/diary-lib.el (diary-outlook-format-1):
4634 Don't include dayname in the output. (Bug#14349)
4635
4636 2013-05-11 Glenn Morris <rgm@gnu.org>
4637
4638 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4639
4640 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4641 Treat cc-provide like provide.
4642
4643 2013-05-11 Kevin Ryde <user42@zip.com.au>
4644
4645 * cus-dep.el (custom-make-dependencies):
4646 Use generated-autoload-load-name for the sake of files such
4647 such cedet/semantic/bovine/c.el, where the base file name
4648 is not in load-path. (Bug#5277)
4649
4650 2013-05-11 Glenn Morris <rgm@gnu.org>
4651
4652 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4653 Provide features.
4654
4655 2013-05-11 Leo Liu <sdl.web@gmail.com>
4656
4657 * progmodes/octave.el (octave-indent-comment): Improve.
4658 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
4659 (octave-eldoc-function-signatures, octave-eldoc-function):
4660 New functions.
4661 (octave-mode, inferior-octave-mode): Add eldoc support.
4662
4663 2013-05-11 Richard Stallman <rms@gnu.org>
4664
4665 * epa.el (epa-decrypt-file): Take output file name as argument
4666 and read it using `interactive'.
4667
4668 2013-05-11 Leo Liu <sdl.web@gmail.com>
4669
4670 * progmodes/octave.el (octave-beginning-of-line)
4671 (octave-end-of-line): Check before using up-list because it jumps
4672 out of more syntactic contructs since moving to smie.
4673 (octave-indent-comment): New function.
4674 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
4675 (octave-begin-keywords, octave-end-keywords)
4676 (octave-reserved-words, octave-smie-bnf-table)
4677 (octave-smie-rules): Add new keywords from Octave 3.6.4.
4678
4679 2013-05-11 Glenn Morris <rgm@gnu.org>
4680
4681 * faces.el (internal-face-x-get-resource):
4682 * frame.el (ns-display-monitor-attributes-list):
4683 * calc/calc-aent.el (math-to-radians-2):
4684 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
4685 Fix declarations.
4686
4687 * calc/calc-menu.el: Make it loadable in isolation.
4688
4689 * net/eudcb-bbdb.el: Make it loadable without bbdb.
4690 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4691 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4692 (eudc-bbdb-query-internal): Require 'bbdb.
4693
4694 * lpr.el (lpr-headers-switches):
4695 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4696
4697 * progmodes/sql.el (sql-login-params): Fix and improve :type.
4698
4699 * emulation/edt-mapper.el: In batch mode, error rather than hang.
4700
4701 * term.el (term-set-escape-char): Make it idempotent.
4702
4703 2013-05-10 Leo Liu <sdl.web@gmail.com>
4704
4705 * progmodes/octave.el (inferior-octave-completion-table):
4706 No longer a function and all uses changed. Use cache to speed up
4707 completion due to bug#11906.
4708 (octave-beginning-of-defun): Re-write to be more general.
4709
4710 2013-05-10 Glenn Morris <rgm@gnu.org>
4711
4712 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4713
4714 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * comint.el (comint-redirect-send-command-to-process): Use :around
4717 rather than :override for comint-redirect-filter.
4718 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4719 Call it instead of comint-redirect-original-filter-function (which
4720 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
4721
4722 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
4723
4724 * frame.el (display-monitor-attributes-list): Add NS case.
4725 (ns-display-monitor-attributes-list): Declare.
4726
4727 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
4728
4729 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
4730
4731 2013-05-09 Glenn Morris <rgm@gnu.org>
4732
4733 * international/fontset.el (vertical-centering-font-regexp):
4734 Set standard-value.
4735
4736 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4737
4738 * bookmark.el (bookmark-search-delay):
4739 * cus-start.el (vertical-centering-font-regexp):
4740 * ps-mule.el (ps-mule-font-info-database-default):
4741 * ps-print.el (ps-default-fg, ps-default-bg):
4742 * type-break.el (type-break-good-break-interval):
4743 * whitespace.el (whitespace-indentation-regexp)
4744 (whitespace-space-after-tab-regexp):
4745 * emacs-lisp/testcover.el (testcover-1value-functions)
4746 (testcover-noreturn-functions, testcover-progn-functions)
4747 (testcover-prog1-functions):
4748 * emulation/viper-init.el (viper-emacs-state-cursor-color):
4749 * eshell/em-glob.el (eshell-glob-translate-alist):
4750 * play/tetris.el (tetris-tty-colors):
4751 * progmodes/cpp.el (cpp-face-default-list):
4752 * progmodes/flymake.el (flymake-allowed-file-name-masks):
4753 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4754 (idlwave-help-browser-generic-args):
4755 * progmodes/make-mode.el (makefile-special-targets-list):
4756 * progmodes/python.el (python-shell-virtualenv-path):
4757 * progmodes/verilog-mode.el (verilog-active-low-regexp)
4758 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4759 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4760 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4761 * textmodes/reftex-vars.el (reftex-format-label-function):
4762 * textmodes/remember.el (remember-diary-file): Fix custom types.
4763
4764 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4765 Add :version.
4766
4767 2013-05-09 Leo Liu <sdl.web@gmail.com>
4768
4769 * progmodes/octave.el (inferior-octave-completion-at-point):
4770 Restore file completion. (Bug#14300)
4771 (inferior-octave-startup): Fix incorrect highlighting for the
4772 first prompt.
4773
4774 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4775
4776 * progmodes/ruby-mode.el: First cut at SMIE support.
4777 (ruby-use-smie): New var.
4778 (ruby-smie-grammar): New constant.
4779 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4780 (ruby-smie--forward-token, ruby-smie--backward-token)
4781 (ruby-smie-rules): New functions.
4782 (ruby-mode-variables): Setup SMIE if applicable.
4783
4784 2013-05-08 Eli Zaretskii <eliz@gnu.org>
4785
4786 * simple.el (line-move-visual): Signal beginning/end of buffer
4787 only if vertical-motion moved less than it was requested. Avoids
4788 silly incorrect error messages when there are display strings with
4789 multiple newlines at EOL.
4790
4791 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4792
4793 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4794 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4795 (prolog-char-quote-workaround):
4796 * progmodes/cperl-mode.el (cperl-under-as-char):
4797 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
4798 Mark as obsolete.
4799 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
4800 their declaration.
4801 (vhdl-mode-syntax-table-init): Remove.
4802
4803 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4804 last change.
4805
4806 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4807 syntax for "_".
4808 (ld-script-font-lock-keywords):
4809 Change regexps to use things like \_< and \_>.
4810
4811 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4812 Change all regexps to use things like \_< and \_>.
4813
4814 * progmodes/autoconf.el (autoconf-definition-regexp)
4815 (autoconf-font-lock-keywords, autoconf-current-defun-function):
4816 Handle a _ with symbol syntax.
4817 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4818
4819 * progmodes/ada-mode.el (ada-mode-abbrev-table):
4820 Consolidate declaration.
4821 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4822 the declaration.
4823 (ada-create-syntax-table): Remove.
4824 (ada-capitalize-word): Don't mess with the syntax of "_" since it
4825 already has the right syntax nowadays.
4826 (ada-goto-next-word): Don't change the syntax of "_".
4827
4828 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4829 with-wrapper-hook.
4830
4831 2013-05-08 Sam Steingold <sds@gnu.org>
4832
4833 * thingatpt.el (thing-at-point): Accept optional second argument
4834 NO-PROPERTIES to strip the text properties from the return value.
4835 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
4836 to `thing-at-point' instead of stripping the properties ourselves.
4837 Also, when `thing-at-point' fails to find a url, prepend "http://"
4838 to the filename at point on the assumption that the user is
4839 pointing at something like gnu.org/gnu.
4840
4841 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
4842
4843 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4844 * faces.el (crm-separator):
4845 Silence byte-compiler.
4846
4847 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4848 (tool-bar-map): Remove unneeded defvars.
4849
4850 2013-05-08 Leo Liu <sdl.web@gmail.com>
4851
4852 Re-work a fix for bug#10994 based on Le Wang's patch.
4853 * ido.el (ido-remove-consecutive-dups): New helper.
4854 (ido-completing-read): Use it.
4855 (ido-chop): Revert fix for bug#10994.
4856
4857 2013-05-08 Adam Spiers <emacs@adamspiers.org>
4858
4859 * cus-edit.el (custom-save-variables):
4860 Pretty-print long values. (Bug#14187)
4861
4862 2013-05-08 Glenn Morris <rgm@gnu.org>
4863
4864 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4865 (m4-mode-syntax-table): Init in the defvar.
4866 (m4-mode-abbrev-table): Let define-derived-mode define it.
4867
4868 2013-05-08 Tom Tromey <tromey@redhat.com>
4869
4870 * progmodes/m4-mode.el (m4-mode-syntax-table):
4871 Do not treat "_" as word constituent. (Bug#14167)
4872
4873 2013-05-07 Glenn Morris <rgm@gnu.org>
4874
4875 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
4876 Remove explicit eshell-isearch-cancel-map.
4877
4878 * progmodes/f90.el (f90-smart-end-names): New option.
4879 (f90-smart-end): Doc fix.
4880 (f90-end-block-optional-name): New constant.
4881 (f90-block-match): Respect f90-smart-end-names.
4882
4883 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 * progmodes/octave.el (octave-smie-forward-token): Be more careful
4886 about implicit semi-colons (bug#14218).
4887
4888 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4889
4890 * frame.el (display-monitor-attributes-list)
4891 (frame-monitor-attributes): New functions.
4892
4893 2013-05-06 Leo Liu <sdl.web@gmail.com>
4894
4895 * progmodes/octave.el (octave-syntax-propertize-function): Change
4896 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
4897 (octave-font-lock-keywords): Use octave-operator-regexp.
4898 (octave-completion-at-point): Rename from
4899 octave-completion-at-point-function.
4900 (inferior-octave-directory-tracker): Robustify.
4901 (octave-text-functions): Remove and fix its uses. No such things
4902 any more.
4903
4904 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4905
4906 * emacs-lisp/trace.el (trace--display-buffer): New function.
4907 (trace-make-advice): Use it.
4908
4909 2013-05-06 Juri Linkov <juri@jurta.org>
4910
4911 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
4912 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
4913 Doc fix.
4914 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
4915 in the help string. (Bug#12985)
4916
4917 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4918
4919 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
4920
4921 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4922
4923 * progmodes/perl-mode.el: Add support for here documents.
4924 (perl-syntax-propertize-function): Match here-doc markers.
4925 (perl-syntax-propertize-special-constructs): Find their end.
4926 (perl-imenu-generic-expression): Use [:alnum:].
4927
4928 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
4929 (advice--add-function): Refresh the advice if already present
4930 (bug#14317).
4931
4932 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
4933
4934 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
4935
4936 2013-05-06 Glenn Morris <rgm@gnu.org>
4937
4938 * w32-fns.el (w32-charset-info-alist): Declare.
4939
4940 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
4941 of its defcustom properties.
4942 (eshell-cmpl-initialize): No need to load pcomplete.
4943
4944 * generic-x.el: No need to require comint when compiling.
4945
4946 * net/eudc-export.el: Make it loadable without bbdb.
4947 (top-level): Use require rather than load-library.
4948 (eudc-create-bbdb-record, eudc-bbdbify-phone)
4949 (eudc-batch-export-records-to-bbdb)
4950 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
4951 Require bbdb.
4952
4953 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
4956 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
4957 some tweaks, instead.
4958
4959 2013-05-05 Leo Liu <sdl.web@gmail.com>
4960
4961 * progmodes/octave.el (octave-font-lock-keywords)
4962 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
4963 (inferior-octave-send-list-and-digest): Improve error message.
4964 (octave-mode, inferior-octave-mode): Use setq-local.
4965 (octave-help): Set info-lookup-mode.
4966
4967 2013-05-05 Richard Stallman <rms@gnu.org>
4968
4969 * vc/compare-w.el (compare-windows-whitespace):
4970 Treat no-break space as whitespace.
4971
4972 * mail/rmailsum.el (rmail-summary-rmail-update):
4973 Detect empty summary and don't change selected message.
4974 (rmail-summary-goto-msg): Likewise.
4975
4976 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
4977 Doc fixes, rename args.
4978
4979 2013-05-05 Alan Mackenzie <acm@muc.de>
4980
4981 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
4982
4983 2013-05-05 Juri Linkov <juri@jurta.org>
4984
4985 * info.el (Info-read-subfile): Use (point-min) instead of (point)
4986 to not add the length of the summary segment to the return value.
4987 (Bug#14125)
4988
4989 2013-05-05 Leo Liu <sdl.web@gmail.com>
4990
4991 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
4992 (inferior-octave-output-filter): Remove.
4993 (octave-send-region, inferior-octave-startup): Fix callers.
4994 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
4995 (octave-binary-file-extensions): New user variable.
4996 (octave-find-definition): Confirm if opening binary files.
4997 (octave-help-file): Use octave-find-definition to get the binary
4998 confirmation.
4999 (octave-help): Adjust for octave-help-file change.
5000
5001 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5002
5003 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
5004 Merge the two entries that handle function definitions.
5005 (pascal--syntax-propertize): New const.
5006 (pascal-mode): Use it. Use setq-local.
5007
5008 2013-05-04 Glenn Morris <rgm@gnu.org>
5009
5010 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
5011 (diary-from-outlook): Respect diary-from-outlook-function.
5012
5013 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
5016 Move the declaration from C.
5017 (read-minibuffer, eval-minibuffer): Move from C.
5018 (completion-setup-function): Avoid minibuffer-completion-contents.
5019
5020 2013-05-03 Leo Liu <sdl.web@gmail.com>
5021
5022 * progmodes/octave.el (octave-font-lock-keywords): Do not
5023 dehighlight 'end' in comments or strings.
5024 (octave-completing-read, octave-goto-function-definition):
5025 New helpers.
5026 (octave-help-buffer): New user variable.
5027 (octave-help-file, octave-help-function): New button types.
5028 (octave-help): New command and bind it to C-h ;.
5029 (octave-find-definition): New command and bind it to M-.
5030 (user-error): Alias to error if not defined.
5031
5032 2013-05-02 Leo Liu <sdl.web@gmail.com>
5033
5034 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
5035 for \. (bug#14332)
5036 (octave-font-lock-keywords): Include [ and {.
5037
5038 2013-05-02 Leo Liu <sdl.web@gmail.com>
5039
5040 * progmodes/octave.el (inferior-octave-startup-file): Change default.
5041 (inferior-octave): Remove calling comint-mode and return the buffer.
5042 (inferior-octave-startup): Cosmetic changes.
5043
5044 2013-05-02 Leo Liu <sdl.web@gmail.com>
5045
5046 * progmodes/octave.el (octave-syntax-propertize-function):
5047 Include the case when ' is at line beginning. (Bug#14336)
5048
5049 2013-05-02 Glenn Morris <rgm@gnu.org>
5050
5051 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
5052 * desktop.el (vc-dir-mode): Just autoload it here.
5053
5054 2013-05-02 Alan Mackenzie <acm@muc.de>
5055
5056 Eliminate variable c-standard-font-lock-fontify-region-function.
5057 * progmodes/cc-mode.el
5058 (c-standard-font-lock-fontify-region-function): Remove.
5059 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5060
5061 2013-05-01 Leo Liu <sdl.web@gmail.com>
5062
5063 * progmodes/octave.el: Compatible with older emacs-24 releases.
5064 (inferior-octave-has-built-in-variables): Remove. Built-in
5065 variables were removed from Octave in 2007.
5066 (inferior-octave-startup): Fix uses.
5067 (comint-line-beginning-position): Remove compatibility code for
5068 emacs 21.
5069
5070 2013-05-01 Juri Linkov <juri@jurta.org>
5071
5072 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
5073
5074 2013-05-01 Juri Linkov <juri@jurta.org>
5075
5076 * comint.el (comint-previous-matching-input): Don't print message
5077 "History item: %d" when `isearch-mode' is active.
5078 (comint-history-isearch-message): Print message "History item: %d"
5079 when `comint-input-ring-index' is not empty and this function is
5080 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
5081
5082 2013-05-01 Leo Liu <sdl.web@gmail.com>
5083
5084 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5085 definitions. Use completion-at-point to insert keywords.
5086 (octave-abbrev-start): Remove.
5087 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5088
5089 2013-04-30 Leo Liu <sdl.web@gmail.com>
5090
5091 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5092 change.
5093
5094 2013-04-30 Alan Mackenzie <acm@muc.de>
5095
5096 Handle arbitrarily long C++ member initialisation lists.
5097 * progmodes/cc-engine.el (c-back-over-member-initializers):
5098 new function.
5099 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5100 (most) member init lists.
5101
5102 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5103
5104 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5105 variable.
5106
5107 2013-04-30 Leo Liu <sdl.web@gmail.com>
5108
5109 * progmodes/octave.el (octave-variables): Remove. No builtin
5110 variables any more. All converted to functions.
5111 (octave-font-lock-keywords, octave-completion-at-point-function):
5112 Fix uses.
5113 (octave-font-lock-texinfo-comment): New user variable.
5114 (octave-texinfo-font-lock-keywords): New variable for texinfo
5115 comment block.
5116 (octave-function-comment-block): New face.
5117 (octave-font-lock-texinfo-comment): New function.
5118 (octave-mode): Font lock texinfo comment block.
5119
5120 2013-04-29 Leo Liu <sdl.web@gmail.com>
5121
5122 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5123 indexing expression.
5124 (octave-continuation-string): Do not use \.
5125 (inferior-octave-complete-impossible): Remove.
5126 (inferior-octave-completion-table)
5127 (inferior-octave-completion-at-point): Remove its uses.
5128 (inferior-octave-startup): completion_matches was introduced to
5129 Octave in 1996 so safe to assume it.
5130 (octave-function-file-comment): Improve to follow how Octave does it.
5131 (octave-update-function-file-comment): Tweak.
5132
5133 2013-04-29 Leo Liu <sdl.web@gmail.com>
5134
5135 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5136 (inferior-octave-startup): Remove inferior-octave-startup-hook.
5137 (octave-function-file-comment): Fix typo.
5138 (octave-sync-function-file-names): Use read-char-choice.
5139
5140 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5141
5142 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5143 to t for the less important warnings.
5144
5145 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5146
5147 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5148
5149 2013-04-27 Glenn Morris <rgm@gnu.org>
5150
5151 * vc/log-view.el (log-view-current-entry):
5152 Treat "---" separator lines as part of the following rev. (Bug#14169)
5153
5154 2013-04-27 Juri Linkov <juri@jurta.org>
5155
5156 * subr.el (read-number): Doc fix about using it by interactive
5157 code letter `n'. (Bug#14254)
5158
5159 2013-04-27 Juri Linkov <juri@jurta.org>
5160
5161 * desktop.el (desktop-auto-save-timeout): New option.
5162 (desktop-file-checksum): New variable.
5163 (desktop-save): Add optional arg `auto-save' and don't auto-save
5164 if nothing changed.
5165 (desktop-auto-save-timer): New variable.
5166 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5167 (after-init-hook): Call `desktop-auto-save-set-timer'.
5168 Suggested by Reuben Thomas <rrt@sc3d.org> in
5169 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5170
5171 2013-04-27 Leo Liu <sdl.web@gmail.com>
5172
5173 * progmodes/octave.el (octave-function-file-p)
5174 (octave-skip-comment-forward, octave-function-file-comment)
5175 (octave-update-function-file-comment): New functions.
5176 (octave-mode-map): Bind C-c ; to
5177 octave-update-function-file-comment.
5178 (octave-mode-menu): Add octave-update-function-file-comment.
5179 (octave-mode, inferior-octave-mode): Fix doc-string.
5180 (octave-insert-defun): Conform to Octave's coding convention.
5181 (Bug#14285)
5182
5183 * files.el (basic-save-buffer): Don't let errors in
5184 before-save-hook prevent saving buffer.
5185
5186 2013-04-20 Roland Winkler <winkler@gnu.org>
5187
5188 * faces.el (read-face-name): Use completing-read if arg multiple
5189 is nil.
5190
5191 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5192
5193 * ls-lisp.el (ls-lisp-insert-directory): If no files are
5194 displayed, move point to after the totals line.
5195 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
5196 for the details.
5197
5198 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5199
5200 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5201 Add current dir to the load-path.
5202 (package-generate-autoloads): Don't rely on
5203 autoload-ensure-default-file.
5204
5205 2013-04-26 Reuben Thomas <rrt@sc3d.org>
5206
5207 * textmodes/remember.el (remember-store-in-files): Document that
5208 the file name format is passed to `format-time-string'.
5209
5210 2013-04-26 Leo Liu <sdl.web@gmail.com>
5211
5212 * progmodes/octave.el (octave-sync-function-file-names): New function.
5213 (octave-mode): Use it in before-save-hook.
5214
5215 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5216
5217 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5218 (bug#14274).
5219
5220 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5221 \n and comment, even if it's not an implicit ; (bug#14218).
5222
5223 2013-04-26 Glenn Morris <rgm@gnu.org>
5224
5225 * subr.el (read-number): Once more use `read' rather than
5226 `string-to-number', to trap non-numeric input. (Bug#14254)
5227
5228 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
5229
5230 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5231 Use `syntax-multiline' text property consistently instead of
5232 `font-lock-multiline'. (Bug#14237)
5233
5234 2013-04-26 Glenn Morris <rgm@gnu.org>
5235
5236 * emacs-lisp/shadow.el (list-load-path-shadows):
5237 No longer necessary to check for duplicate simple.el, since
5238 2012-07-07 change to init_lread to not include installation lisp
5239 directories in load-path when running uninstalled. (Bug#14270)
5240
5241 2013-04-26 Leo Liu <sdl.web@gmail.com>
5242
5243 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5244 (octave-mode, inferior-octave-mode): Use setq-local.
5245 (octave-not-in-string-or-comment-p): Rename to
5246 octave-in-string-or-comment-p.
5247 (octave-in-comment-p, octave-in-string-p)
5248 (octave-in-string-or-comment-p): Replace defsubst with defun.
5249
5250 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5251
5252 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5253
5254 2013-04-25 Bastien Guerry <bzg@gnu.org>
5255
5256 * textmodes/remember.el (remember-data-directory)
5257 (remember-directory-file-name-format): Fix custom types.
5258
5259 2013-04-25 Leo Liu <sdl.web@gmail.com>
5260
5261 * progmodes/octave.el (octave-completion-at-point-function):
5262 Make use of inferior octave process.
5263 (octave-initialize-completions): Remove.
5264 (inferior-octave-completion-table): New function.
5265 (inferior-octave-completion-at-point): Use it.
5266 (octave-completion-alist): Remove.
5267
5268 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5269
5270 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5271 (opascal-mode-syntax-table): New var.
5272 (opascal-literal-kind, opascal-is-literal-end)
5273 (opascal-literal-token-at): Rewrite.
5274 (opascal--literal-start-re, opascal-font-lock-keywords)
5275 (opascal--syntax-propertize): New constants.
5276 (opascal-font-lock-defaults): Adjust.
5277 (opascal-mode): Use them. Set comment-<foo> variables as well.
5278 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5279 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5280 (delphi-other-face, opascal-other-face): Remove face variables.
5281 (opascal-save-state): Remove macro.
5282 (opascal-fontifying-progress-step): Remove constant.
5283 (opascal--ignore-changes): Remove var.
5284 (opascal-set-token-property, opascal-parse-next-literal)
5285 (opascal-is-stable-literal, opascal-complete-literal)
5286 (opascal-is-literal-start, opascal-face-of)
5287 (opascal-parse-region, opascal-parse-region-until-stable)
5288 (opascal-fontify-region, opascal-after-change)
5289 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5290 (opascal-debug-parse-region, opascal-debug-parse-window)
5291 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5292 (opascal-debug-fontify-buffer): Remove.
5293 (opascal-debug-mode-map): Adjust accordingly.
5294
5295 2013-04-25 Leo Liu <sdl.web@gmail.com>
5296
5297 Merge octave-mod.el and octave-inf.el into octave.el with some
5298 cleanups.
5299 * progmodes/octave.el: New file renamed from octave-mod.el.
5300 * progmodes/octave-inf.el: Merged into octave.el.
5301 * progmodes/octave-mod.el: Renamed to octave.el.
5302
5303 2013-04-25 Tassilo Horn <tsdh@gnu.org>
5304
5305 * textmodes/reftex-vars.el
5306 (reftex-label-ignored-macros-and-environments): New defcustom.
5307
5308 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5309
5310 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5313 (smie-indent-keyword): Improve the check to ensure that the next
5314 comment is really on the same line.
5315 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5316
5317 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5318 semi-colons if the line is not otherwise empty (bug#14218).
5319
5320 2013-04-25 Glenn Morris <rgm@gnu.org>
5321
5322 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5323
5324 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5325
5326 * progmodes/opascal.el (opascal-set-token-property): Rename from
5327 opascal-set-text-properties and only set `token' (bug#14134).
5328 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5329 (opascal-literal-text-properties): Remove.
5330 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5331 Adjust callers.
5332
5333 2013-04-24 Reuben Thomas <rrt@sc3d.org>
5334
5335 * textmodes/remember.el (remember-handler-functions): Add an
5336 option for a new handler `remember-store-in-files'.
5337 (remember-data-directory, remember-directory-file-name-format):
5338 New options.
5339 (remember-store-in-files): New function to store remember notes
5340 as separate files within a directory.
5341
5342 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
5343
5344 * progmodes/compile.el (compilation-next-error-function):
5345 Pass "formats" to compilation-find-file (bug#11777).
5346
5347 2013-04-24 Glenn Morris <rgm@gnu.org>
5348
5349 * vc/vc-bzr.el (vc-bzr-print-log):
5350 * vc/vc-hg.el (vc-hg-print-log):
5351 * vc/vc-svn.el (vc-svn-print-log):
5352 Fix START-REVISION with LIMIT != 1. (Bug#14168)
5353
5354 * vc/vc-bzr.el (vc-bzr-print-log):
5355 * vc/vc-cvs.el (vc-cvs-print-log):
5356 * vc/vc-git.el (vc-git-print-log):
5357 * vc/vc-hg.el (vc-hg-print-log):
5358 * vc/vc-mtn.el (vc-mtn-print-log):
5359 * vc/vc-rcs.el (vc-rcs-print-log):
5360 * vc/vc-sccs.el (vc-sccs-print-log):
5361 * vc/vc-svn.el (vc-svn-print-log):
5362 * vc/vc.el (vc-print-log-internal): Doc fixes.
5363
5364 2013-04-23 Glenn Morris <rgm@gnu.org>
5365
5366 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5367 Remove venerable code attempting to avoid substitute-command-keys.
5368
5369 2013-04-23 Tassilo Horn <tsdh@gnu.org>
5370
5371 * textmodes/reftex-vars.el (reftex-label-regexps):
5372 Call `reftex-compile-variables' after changes to this variable.
5373
5374 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
5377 Use lexical-binding.
5378 (jit-lock-force-redisplay): Use markers, check buffer's continued
5379 existence and beware narrowed buffers.
5380 (jit-lock-fontify-now): Adjust call accordingly.
5381
5382 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5383
5384 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5385 to avoid misleading the user.
5386
5387 2013-04-22 Leo Liu <sdl.web@gmail.com>
5388
5389 * info-look.el: Prefer latex2e.info. (Bug#14240)
5390
5391 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
5392
5393 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
5394
5395 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
5396 * net/tramp.el (tramp-call-process): ... here.
5397 (tramp-set-completion-function, tramp-parse-putty):
5398 * net/tramp-adb.el (tramp-adb-execute-adb-command):
5399 * net/tramp-gvfs.el (tramp-gvfs-send-command):
5400 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5401 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5402 (tramp-call-local-coding-command): Use `tramp-call-process'
5403 instead of `tramp-compat-call-process'.
5404
5405 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5406 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5407 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
5408 (tramp-find-inline-compress): Improve traces.
5409 (tramp-maybe-send-script): Check for Perl binary.
5410 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5411
5412 2013-04-22 Daiki Ueno <ueno@gnu.org>
5413
5414 * epg.el (epg-context-pinentry-mode): New function.
5415 (epg-context-set-pinentry-mode): New function.
5416 (epg--start): Pass --pinentry-mode option to gpg command.
5417
5418 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
5419
5420 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5421 `comint-dynamic-complete' is obsolete since 24.1, replaced by
5422 `completion-at-point'. (Bug#13774)
5423
5424 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5425 default key binding for `describe-distribution' has been moved to
5426 `C-h C-o'. (Bug#13970)
5427
5428 2013-04-21 Glenn Morris <rgm@gnu.org>
5429
5430 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5431 Add doc strings.
5432 (vc-print-log): Clarify interactive prompt.
5433
5434 2013-04-20 Glenn Morris <rgm@gnu.org>
5435
5436 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5437 No longer include timestamp etc information.
5438
5439 2013-04-20 Roland Winkler <winkler@gnu.org>
5440
5441 * faces.el (read-face-name): Bug fix, return just one face if arg
5442 multiple is nil. (Bug#14209)
5443
5444 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5445
5446 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
5447 (remove-function): Autoload.
5448
5449 * comint.el (comint-redirect-original-filter-function): Remove.
5450 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
5451 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
5452 (vc-cvs-annotate-command):
5453 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
5454 * progmodes/prolog.el (prolog-consult-compile):
5455 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
5456 Use add/remove-function instead.
5457 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
5458 (gud-tooltip-process-output, gud-tooltip-tips):
5459 Use add/remove-function instead.
5460 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
5461 (scheme-interaction-mode, exit-scheme-interaction-mode):
5462 Use add/remove-function instead.
5463
5464 * vc/vc-dispatcher.el: Use lexical-binding.
5465 (vc--process-sentinel): Rename from vc-process-sentinel.
5466 Change last arg to be the code to run. Don't use vc-previous-sentinel
5467 and vc-sentinel-commands any more.
5468 (vc-exec-after): Allow code to be a function. Use add/remove-function.
5469 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
5470
5471 2013-04-19 Masatake YAMATO <yamato@redhat.com>
5472
5473 * progmodes/sh-script.el (sh-imenu-generic-expression):
5474 Handle function names with a single character. (Bug#14111)
5475
5476 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
5477
5478 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
5479 for subroutines defined in an eval (bug#14182).
5480
5481 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5482
5483 * bookmark.el (bookmark-completing-read): Improve handling of empty
5484 string (bug#14176).
5485
5486 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
5489
5490 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
5491
5492 New faster Imenu implementation (bug#14058).
5493 * progmodes/python.el:
5494 (python-imenu-prev-index-position):
5495 (python-imenu-format-item-label-function)
5496 (python-imenu-format-parent-item-label-function)
5497 (python-imenu-format-parent-item-jump-label-function):
5498 New vars.
5499 (python-imenu-format-item-label)
5500 (python-imenu-format-parent-item-label)
5501 (python-imenu-format-parent-item-jump-label)
5502 (python-imenu--put-parent, python-imenu--build-tree)
5503 (python-imenu-create-index, python-imenu-create-flat-index)
5504 (python-util-popn): New functions.
5505 (python-mode): Set imenu-create-index-function to
5506 python-imenu-create-index.
5507
5508 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5509
5510 * winner.el (winner-active-region): Use region-active-p, activate-mark
5511 and deactivate-mark (bug#14225).
5512
5513 * simple.el (deactivate-mark): Don't inline it.
5514
5515 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
5516
5517 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
5518
5519 2013-04-18 Tassilo Horn <tsdh@gnu.org>
5520
5521 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
5522 file extensions from the archive-mode entry in order to prefer
5523 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
5524
5525 2013-04-18 Leo Liu <sdl.web@gmail.com>
5526
5527 * bindings.el (help-event-list): Add ?\?.
5528
5529 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * subr.el (with-wrapper-hook): Declare obsolete.
5532 * simple.el (filter-buffer-substring-function): New hook.
5533 (filter-buffer-substring): Use it.
5534 (filter-buffer-substring-functions): Mark obsolete.
5535 * minibuffer.el (completion-in-region-function): New hook.
5536 (completion-in-region): Use it.
5537 (completion-in-region-functions): Mark obsolete.
5538 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
5539 * abbrev.el (abbrev-expand-function): New hook.
5540 (expand-abbrev): Use it.
5541 (abbrev-expand-functions): Mark obsolete.
5542 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5543 and :filter-return.
5544
5545 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5546
5547 * progmodes/python.el (python-nav--syntactically): Fix cornercases
5548 and do not care about match data.
5549
5550 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5551
5552 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5553 completion tables when completing error conditions and
5554 `declare' arguments.
5555 (lisp-complete-symbol, field-complete): Mark as obsolete.
5556 (check-parens): Unmatched parens are user errors.
5557 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5558
5559 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
5560
5561 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5562 command changed buffer (ie. `flyspell-pre-buffer' is not current
5563 buffer), which prevents making decisions based on invalid value of
5564 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
5565 cause an error when `flyspell-pre-point' was nil after switching
5566 buffers.
5567 (flyspell-post-command-hook): No longer needs to change buffers when
5568 checking pre-word. While at it remove unnecessary progn.
5569
5570 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
5571
5572 * textmodes/ispell.el (ispell-add-per-file-word-list):
5573 Fix `flyspell-correct-word-before-point' error when accepting
5574 words and `coment-padding' is an integer by using
5575 `comment-normalize-vars' (Bug #14214).
5576
5577 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5578
5579 New defun movement commands.
5580 * progmodes/python.el (python-nav--syntactically)
5581 (python-nav--forward-defun, python-nav-backward-defun)
5582 (python-nav-forward-defun): New functions.
5583
5584 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5585
5586 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5587 (python-syntax-context): Use named compiler-macro for backwards
5588 compatibility with Emacs 24.x.
5589
5590 2013-04-17 Leo Liu <sdl.web@gmail.com>
5591
5592 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5593 octave-hide-process-buffer.
5594
5595 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5596
5597 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5598 (bug#14216).
5599
5600 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
5601
5602 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5603 Fix adjustment of offset when receiving incomplete responses from GDB
5604 (bug#14129).
5605
5606 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5607
5608 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5609 python-mode-abbrev-table.
5610 (python-skeleton-define): Adjust accordingly.
5611 (python-mode-abbrev-table): New table that inherits from it so that
5612 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5613
5614 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5615 (abbrev-symbol): Use it.
5616 (abbrev--before-point): Use it since we already handle inheritance.
5617
5618 2013-04-16 Leo Liu <sdl.web@gmail.com>
5619
5620 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5621 binding to info-lookup-symbol.
5622
5623 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
5624
5625 * minibuffer.el (completion--twq-all):
5626 * term/ns-win.el (ns-initialize-window-system):
5627 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5628
5629 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5632 global bindings.
5633
5634 * doc-view.el (doc-view-start-process): Handle url-handler directories.
5635
5636 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
5637
5638 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5639 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5640 to nil.
5641 (ruby-end-of-defun): Remove the unused arg, change the docstring
5642 to reflect that this function is only used as the value of
5643 `end-of-defun-function'.
5644 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5645 to reflect an earlier change that beginning/end-of-defun functions
5646 jump between methods in a class definition, as well as top-level
5647 functions.
5648
5649 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5650
5651 * minibuffer.el (minibuffer-complete): Don't just scroll
5652 a *Completions* that's been iconified.
5653 (minibuffer-force-complete): Make sure repetitions do cycle when going
5654 through completion-in-region -> minibuffer-complete.
5655
5656 2013-04-15 Alan Mackenzie <acm@muc.de>
5657
5658 Correct the placement of c-cpp-delimiters when there're #s not at
5659 col 0.
5660
5661 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5662 place a submatch around the #.
5663 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5664 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
5665 on the #, not BOL.
5666
5667 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5668
5669 * emacs-lisp/nadvice.el: Properly test names when adding advice.
5670 (advice--member-p): New arg `name'.
5671 (advice--add-function, advice-member-p): Use it (bug#14202).
5672
5673 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
5674
5675 Reformulate java imenu-generic-expression.
5676 The old expression contained ill formed regexps.
5677
5678 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5679 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5680 (cc-imenu-java-method-arg-regexp): New defconsts.
5681 (cc-imenu-java-build-type-args-regex): New defun.
5682 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
5683 handling of spaces in the regexp.
5684
5685 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5686
5687 * textmodes/ispell.el (ispell-command-loop): Remove
5688 flyspell highlight of a word when ispell accepts it (bug #14178).
5689
5690 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
5691
5692 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5693 uses code from the previous `ange-ftp-run-real-handler'.
5694 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5695 only in case that function exist. This is needed for proper
5696 unloading of Tramp.
5697
5698 2013-04-15 Tassilo Horn <tsdh@gnu.org>
5699
5700 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5701
5702 * textmodes/reftex.el (reftex-compile-variables): Use it.
5703
5704 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * files.el (normal-mode): Only use default major-mode if no other mode
5707 was specified.
5708
5709 * emacs-lisp/trace.el (trace-values): New function.
5710
5711 * files.el: Allow : in local variables (bug#14089).
5712 (hack-local-variable-regexp): New var.
5713 (hack-local-variables-prop-line, hack-local-variables): Use it.
5714
5715 2013-04-13 Roland Winkler <winkler@gnu.org>
5716
5717 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
5718 data before it gets modified by bibtex-beginning-of-entry.
5719
5720 2013-04-13 Roland Winkler <winkler@gnu.org>
5721
5722 * textmodes/bibtex.el (bibtex-url): Doc fix.
5723
5724 2013-04-13 Roland Winkler <winkler@gnu.org>
5725
5726 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5727 does not visit a BibTeX file, exclude it from the list of buffers
5728 returned by bibtex-initialize.
5729
5730 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
5731
5732 * window.el (split-window): Remove interactive form, since as a
5733 command this function is a special case of split-window-below.
5734 Correct doc string.
5735
5736 2013-04-12 Roland Winkler <winkler@gnu.org>
5737
5738 * faces.el (read-face-name): Do not override value of arg default.
5739 Allow single faces and strings as default values. Remove those
5740 elements from return value that are not faces.
5741 (describe-face): Simplify.
5742 (face-at-point): New optional args thing and multiple so that this
5743 function can provide the same functionality previously provided by
5744 read-face-name.
5745 (make-face-bold, make-face-unbold, make-face-italic)
5746 (make-face-unitalic, make-face-bold-italic, invert-face)
5747 (modify-face, read-face-and-attribute): Use face-at-point.
5748
5749 * cus-edit.el (customize-face, customize-face-other-window)
5750 * cus-theme.el (custom-theme-add-face)
5751 * face-remap.el (buffer-face-set)
5752 * facemenu.el (facemenu-set-face): Use face-at-point.
5753
5754 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
5755
5756 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5757
5758 2013-04-10 Tassilo Horn <tsdh@gnu.org>
5759
5760 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5761 off leading { and trailing } from field values.
5762
5763 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5764
5765 * emacs-lisp/timer.el (timer--check): New function.
5766 (timer--time, timer-set-function, timer-event-handler): Use it.
5767 (timer-set-idle-time): Simplify.
5768 (timer--activate): CSE.
5769 (timer-event-handler): Give more info in error message.
5770 (internal-timer-start-idle): New function, moved from C.
5771
5772 * mpc.el (mpc-proc): Add `restart' argument.
5773 (mpc-proc-cmd): Use it.
5774 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5775 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5776 less often.
5777
5778 2013-04-10 Masatake YAMATO <yamato@redhat.com>
5779
5780 * progmodes/sh-script.el: Implement `sh-mode' own
5781 `add-log-current-defun-function' (bug#14112).
5782 (sh-current-defun-name): New function.
5783 (sh-mode): Use the function.
5784
5785 2013-04-09 Bastien Guerry <bzg@gnu.org>
5786
5787 * simple.el (choose-completion-string): Fix docstring (bug#14163).
5788
5789 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5790
5791 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5792
5793 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5794 timer (bug#14156).
5795
5796 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
5797
5798 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5799 declaration.
5800
5801 2013-04-07 Leo Liu <sdl.web@gmail.com>
5802
5803 * pcmpl-x.el: New file.
5804
5805 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
5806
5807 Do not set x-display-name until X connection is established.
5808 This is needed to prevent from weird situation described at
5809 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5810 * frame.el (make-frame): Set x-display-name after call to
5811 window system initialization function, not before.
5812 * term/x-win.el (x-initialize-window-system): Add optional
5813 display argument and use it.
5814 * term/w32-win.el (w32-initialize-window-system):
5815 * term/ns-win.el (ns-initialize-window-system):
5816 * term/pc-win.el (msdos-initialize-window-system):
5817 Add compatible optional display argument.
5818
5819 2013-04-06 Eli Zaretskii <eliz@gnu.org>
5820
5821 * files.el (normal-backup-enable-predicate): On MS-Windows and
5822 MS-DOS compare truenames of temporary-file-directory and of the
5823 file, so that 8+3 aliases (usually found in $TEMP on Windows)
5824 don't fail comparison by compare-strings. Also, compare file
5825 names case-insensitively on MS-Windows and MS-DOS.
5826
5827 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5830 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5831
5832 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
5833
5834 * whitespace.el (whitespace-color-on, whitespace-color-off):
5835 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
5836
5837 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
5838
5839 * ispell.el (ispell-set-spellchecker-params):
5840 Really set `ispell-args' for all equivs.
5841
5842 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5843
5844 * ido.el (ido-completions): Use extra elements of ido-decorations
5845 (bug#14143).
5846 (ido-decorations): Update docstring.
5847
5848 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
5849
5850 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5851 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5852 nil during initialization, in order not to miss changes since the
5853 file was opened. (Bug#14140)
5854
5855 2013-04-05 Leo Liu <sdl.web@gmail.com>
5856
5857 * kmacro.el (kmacro-call-macro): Fix bug#14135.
5858
5859 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
5860
5861 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
5862
5863 2013-04-04 Glenn Morris <rgm@gnu.org>
5864
5865 * electric.el (electric-pair-inhibit-predicate): Add :version.
5866
5867 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
5870 when a package is required several times (bug#14082).
5871
5872 2013-04-04 Roland Winkler <winkler@gnu.org>
5873
5874 * faces.el (read-face-name): Behave as promised by the docstring.
5875 Assume that arg default is a list of faces.
5876 (describe-face): Call read-face-name with list of default faces.
5877
5878 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5879
5880 * bookmark.el: Fix deletion of bookmarks (bug#13972).
5881 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
5882 (bookmark-bmenu-execute-deletions): Only skip first line if it's
5883 the header.
5884 (bookmark-exit-hook-internal): Save even if list is empty.
5885
5886 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
5887
5888 * emacs-lisp/package.el (package-pinned-packages): New var.
5889 (package--add-to-archive-contents): Obey it (bug#14118).
5890
5891 2013-04-03 Alan Mackenzie <acm@muc.de>
5892
5893 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
5894 Also adapt to the new values of element 7 of a parse state.
5895
5896 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
5897 parameter `not-in-delimiter'. Handle being inside comment opener.
5898 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
5899 character in case we're typing a '*' after a '/'.
5900 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
5901 instead by passing the parameter to c-state-pp-to-literal.
5902
5903 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
5904 for elt. 7 of a parse state.
5905
5906 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
5907
5908 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
5909 * international/latin1-disp.el, international/mule-util.el:
5910 * language/cyril-util.el, language/european.el, language/ind-util.el:
5911 * language/lao-util.el, language/thai.el, language/tibet-util.el:
5912 * language/tibetan.el, language/viet-util.el:
5913 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
5914
5915 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
5918 (electric-pair-post-self-insert-function): Use it.
5919 (electric-pair-default-inhibit): New function, extracted from
5920 electric-pair-post-self-insert-function.
5921
5922 2013-03-31 Roland Winkler <winkler@gnu.org>
5923
5924 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
5925
5926 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5927
5928 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
5929
5930 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
5931
5932 Un-indent after "pass" and "return" statements (Bug#13888)
5933 * progmodes/python.el (python-indent-block-enders): New var.
5934 (python-indent-calculate-indentation): Use it.
5935
5936 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
5937
5938 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
5939 defun. Defining it as defalias could introduce too eager
5940 byte-compiler optimization. (Bug#14030)
5941
5942 2013-03-30 Chong Yidong <cyd@gnu.org>
5943
5944 * iswitchb.el (iswitchb-read-buffer): Fix typo.
5945
5946 2013-03-30 Leo Liu <sdl.web@gmail.com>
5947
5948 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
5949 (kmacro-execute-from-register): Pass the keyboard macro to
5950 kmacro-call-macro or repeating won't work correctly.
5951
5952 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
5953
5954 * progmodes/subword.el: Back to using `forward-symbol'.
5955
5956 * subr.el (forward-whitespace, forward-symbol)
5957 (forward-same-syntax): Move from thingatpt.el.
5958
5959 2013-03-29 Leo Liu <sdl.web@gmail.com>
5960
5961 * kmacro.el (kmacro-to-register): New command.
5962 (kmacro-execute-from-register): New function.
5963 (kmacro-keymap): Bind to 'x'. (Bug#14071)
5964
5965 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5966
5967 * mpc.el: Use defvar-local and setq-local.
5968 (mpc--proc-connect): Connection failures are not bugs.
5969 (mpc-mode-map): `follow-link' only applies to the buffer's content.
5970 (mpc-volume-map): Bind to the up-events.
5971
5972 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
5973
5974 * progmodes/subword.el (superword-mode): Use `forward-sexp'
5975 instead of `forward-symbol'.
5976
5977 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
5978
5979 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
5980 (edebug--recursive-edit): Use it.
5981 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
5982 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
5983
5984 2013-03-28 Leo Liu <sdl.web@gmail.com>
5985
5986 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
5987
5988 2013-03-27 Eli Zaretskii <eliz@gnu.org>
5989
5990 * facemenu.el (list-colors-callback): New defvar.
5991 (list-colors-redisplay): New function.
5992 (list-colors-display): Install list-colors-redisplay as the
5993 revert-buffer-function. (Bug#14063)
5994
5995 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5996
5997 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
5998 and suffixes don't overlap (bug#14061).
5999
6000 * case-table.el: Use lexical-binding.
6001 (case-table-get-table): New function.
6002 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
6003
6004 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
6005
6006 * progmodes/subword.el: Add `superword-mode' to do word motion
6007 over symbol_words (parallels and leverages `subword-mode' which
6008 does word motion inside MixedCaseWords).
6009
6010 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
6011
6012 * eshell/em-unix.el: Move su and sudo to...
6013 * eshell/em-tramp.el: ...Eshell tramp module.
6014
6015 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6016
6017 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
6018 Change return value to be a sexp. Delay `get-buffer' to after
6019 restoring the desktop (bug#13951).
6020
6021 2013-03-26 Leo Liu <sdl.web@gmail.com>
6022
6023 * register.el: Move semantic tag handling back to
6024 cedet/semantic/senator.el. (Bug#14052)
6025
6026 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6027
6028 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
6029 into the prompt either (bug#13963).
6030
6031 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6032
6033 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
6034 part of "(error-foo)".
6035
6036 2013-03-24 Juri Linkov <juri@jurta.org>
6037
6038 * replace.el (list-matching-lines-prefix-face): New defcustom.
6039 (occur-1): Pass `list-matching-lines-prefix-face' to the function
6040 `occur-engine' if `face-differs-from-default-p' returns t.
6041 (occur-engine): Add `,' inside backquote construct to evaluate
6042 `prefix-face'. Propertize the prefix with the `prefix-face' face.
6043 Pass `prefix-face' to the functions `occur-context-lines' and
6044 `occur-engine-add-prefix'.
6045 (occur-engine-add-prefix, occur-context-lines): Add optional arg
6046 `prefix-face' and propertize the prefix with `prefix-face'.
6047 (Bug#14017)
6048
6049 2013-03-24 Leo Liu <sdl.web@gmail.com>
6050
6051 * nxml/rng-valid.el (rng-validate-while-idle)
6052 (rng-validate-quick-while-idle): Guard against deleted buffer.
6053 (Bug#13999)
6054
6055 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
6056 is the last entry in kill-buffer-hook.
6057
6058 * files.el (kill-buffer-hook): Doc fix.
6059
6060 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
6061
6062 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6063 Make it safe-local.
6064
6065 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6066
6067 2013-03-23 Leo Liu <sdl.web@gmail.com>
6068
6069 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6070 Remove.
6071
6072 * nxml/rng-valid.el (rng-validate-mode)
6073 (rng-after-change-function, rng-do-some-validation):
6074 * nxml/rng-maint.el (rng-validate-buffer):
6075 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6076 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6077 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6078 (nxml-extend-after-change-region): Use with-silent-modifications.
6079
6080 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6081 timer-idle-list.
6082
6083 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6084 (rng-next-error-1, rng-previous-error-1): Do not let-bind
6085 timer-idle-list. (Bug#13999)
6086
6087 2013-03-23 Juri Linkov <juri@jurta.org>
6088
6089 * info.el (info-index-match): New face.
6090 (Info-index, Info-apropos-matches): Add a nested subgroup to the
6091 main pattern and add text properties with the new face to matches
6092 in index entries relative to the beginning of the index entry.
6093 (Bug#14015)
6094
6095 2013-03-21 Eric Ludlam <zappo@gnu.org>
6096
6097 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6098 Inhibit read only while inserting objects.
6099
6100 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
6101
6102 * progmodes/cfengine.el: Update docs to mention
6103 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
6104 symbol motion. Remove "_" from the word syntax.
6105
6106 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
6107
6108 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6109 syntax for both `cfengine2-mode' and `cfengine3-mode'.
6110
6111 2013-03-20 Juri Linkov <juri@jurta.org>
6112
6113 * info.el (Info-next-reference-or-link)
6114 (Info-prev-reference-or-link): New functions.
6115 (Info-next-reference, Info-prev-reference): Use them.
6116 (Info-try-follow-nearest-node): Handle footnote navigation.
6117 (Info-fontify-node): Fontify footnotes. (Bug#13989)
6118
6119 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6122 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6123
6124 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
6125
6126 Suppress unnecessary non-ASCII chatter during build process.
6127 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6128 (batch-skkdic-convert): Suppress most of the chatter.
6129 It's not needed so much now that machines are faster,
6130 and its non-ASCII component was confusing; see Dmitry Gutov in
6131 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6132
6133 2013-03-20 Leo Liu <sdl.web@gmail.com>
6134
6135 * ido.el (ido-chop): Fix bug#10994.
6136
6137 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6138
6139 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6140 Remove vars.
6141 (whitespace-color-on, whitespace-color-off):
6142 Use `font-lock-fontify-buffer' (Bug#13817).
6143
6144 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6145
6146 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6147 remapping in mode-line.
6148 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6149
6150 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6151
6152 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6153 value for `whitespace-line' face (Bug#13875).
6154 (whitespace-font-lock-keywords): Change description.
6155 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6156 the constructed keywords instead.
6157 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
6158
6159 2013-03-19 Leo Liu <sdl.web@gmail.com>
6160
6161 * progmodes/compile.el (compilation-display-error): New command.
6162 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6163 C-o. (Bug#13992)
6164
6165 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6166
6167 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6168
6169 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6170
6171 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6172
6173 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
6174
6175 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6176
6177 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6178 * net/tramp-gvfs.el (top):
6179 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6180 (tramp-handle-shell-command): Use it.
6181 (tramp-dissect-file-name): Raise an error when hostname is a
6182 method name, and neither method nor user is specified.
6183
6184 * net/trampver.el: Update release number.
6185
6186 2013-03-18 Leo Liu <sdl.web@gmail.com>
6187
6188 Make sure eldoc can be turned off properly.
6189 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6190 eldoc-mode.
6191 (eldoc-display-message-p): Revert last change.
6192 (eldoc-display-message-no-interference-p)
6193 (eldoc-print-current-symbol-info): Tweak.
6194
6195 2013-03-18 Tassilo Horn <tsdh@gnu.org>
6196
6197 * doc-view.el (doc-view-new-window-function): Check the new window
6198 overlay's display property instead the char property of the
6199 buffer's first char. Use `with-selected-window' instead of
6200 `save-window-excursion' with `select-window'.
6201 (doc-view-document->bitmap): Check the current doc-view overlay's
6202 display property instead the char property of the buffer's first char.
6203
6204 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6205
6206 Automate the build of ja-dic.el (Bug#13984).
6207 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6208 from the input, rather than assume that it's been done for us by the
6209 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6210 the current date into a ja-dic.el comment, as that complicates
6211 regression testing.
6212
6213 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * whitespace.el: Fix double evaluation.
6216 (whitespace-space, whitespace-hspace, whitespace-tab)
6217 (whitespace-newline, whitespace-trailing, whitespace-line)
6218 (whitespace-space-before-tab, whitespace-indentation)
6219 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6220 obsolete defvars.
6221 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6222 (whitespace-color-on): Use a single font-lock-add-keywords call.
6223 Fix double-evaluation of face variables.
6224
6225 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
6226
6227 * net/tramp-adb.el (tramp-adb-parse-device-names):
6228 Use `start-process' instead of `call-process'. Otherwise, the
6229 function might be blocked under MS Windows. (Bug#13299)
6230
6231 2013-03-17 Leo Liu <sdl.web@gmail.com>
6232
6233 Extend eldoc to display info in the mode-line. (Bug#13978)
6234 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6235 (eldoc-mode-line-string): New variable.
6236 (eldoc-minibuffer-message): New function.
6237 (eldoc-message-function): New variable.
6238 (eldoc-message): Use it.
6239 (eldoc-display-message-p)
6240 (eldoc-display-message-no-interference-p):
6241 Support eldoc-post-insert-mode.
6242
6243 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6244 (eval-expression): Run it.
6245
6246 2013-03-17 Roland Winkler <winkler@gnu.org>
6247
6248 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6249 strings in the list of return values.
6250
6251 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6252
6253 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6254 radix before checking for HMS forms.
6255
6256 2013-03-16 Leo Liu <sdl.web@gmail.com>
6257
6258 * progmodes/scheme.el: Add indentation and font-locking for λ.
6259 (Bug#13975)
6260
6261 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
6262
6263 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6264 token before point (bug#13942).
6265
6266 2013-03-16 Leo Liu <sdl.web@gmail.com>
6267
6268 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
6269
6270 2013-03-16 Eli Zaretskii <eliz@gnu.org>
6271
6272 * startup.el (command-line-normalize-file-name): Fix handling of
6273 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6274 <xfq.free@gmail.com> in
6275 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6276
6277 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
6278
6279 Sync with Tramp 2.2.7.
6280
6281 * net/trampver.el: Update release number.
6282
6283 2013-03-14 Tassilo Horn <tsdh@gnu.org>
6284
6285 * doc-view.el Fix bug#13887.
6286 (doc-view-insert-image): Don't modify overlay associated to
6287 non-live windows, and implement horizontal centering of image in
6288 case it's smaller than the window.
6289 (doc-view-new-window-function): Force redisplay of new windows on
6290 doc-view buffers.
6291
6292 2013-03-13 Karl Fogel <kfogel@red-bean.com>
6293
6294 * saveplace.el (save-place-alist-to-file): Don't sort
6295 `save-place-alist', just pretty-print it (bug#13882).
6296
6297 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
6298
6299 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6300 Check whether `default-file-name-coding-system' is bound.
6301 It isn't in XEmacs.
6302
6303 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6304
6305 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6306 backquotes for `obsolete' (bug#13929).
6307
6308 * international/mule.el (find-auto-coding): Include file name in
6309 obsolescence warning (bug#13922).
6310
6311 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6312
6313 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6314 for CFEngine 3-specific indentation.
6315 (cfengine3-indent-line): Use it. Fix up category regex.
6316 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6317
6318 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6319
6320 * type-break.el (type-break-file-name):
6321 * textmodes/remember.el (remember-data-file):
6322 * strokes.el (strokes-file):
6323 * shadowfile.el (shadow-initialize):
6324 * saveplace.el (save-place-file):
6325 * ps-bdf.el (bdf-cache-file):
6326 * progmodes/idlwave.el (idlwave-config-directory):
6327 * net/quickurl.el (quickurl-url-file):
6328 * international/kkc.el (kkc-init-file-name):
6329 * ido.el (ido-save-directory-list-file):
6330 * emulation/viper.el (viper-custom-file-name):
6331 * emulation/vip.el (vip-startup-file):
6332 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6333 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6334
6335 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
6336
6337 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6338 * language/thai-word.el: Switch to UTF-8.
6339
6340 See ChangeLog.16 for earlier changes.
6341
6342 ;; Local Variables:
6343 ;; coding: utf-8
6344 ;; End:
6345
6346 Copyright (C) 2011-2013 Free Software Foundation, Inc.
6347
6348 This file is part of GNU Emacs.
6349
6350 GNU Emacs is free software: you can redistribute it and/or modify
6351 it under the terms of the GNU General Public License as published by
6352 the Free Software Foundation, either version 3 of the License, or
6353 (at your option) any later version.
6354
6355 GNU Emacs is distributed in the hope that it will be useful,
6356 but WITHOUT ANY WARRANTY; without even the implied warranty of
6357 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6358 GNU General Public License for more details.
6359
6360 You should have received a copy of the GNU General Public License
6361 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.