ChangeLog 979 KB
Newer Older
1 2
2013-05-13  Leo Liu  <sdl.web@gmail.com>

3 4
	* progmodes/octave.el (octave-indent-comment): Fix indentation for
	###, and %!.
5 6
	(octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
	C-M-q.
7 8
	(octave-comment-start-skip): Include %!.
	(octave-mode): Set comment-start-skip to octave-comment-start-skip.
9

10 11 12 13 14 15 16 17 18 19 20 21
2013-05-12  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-startup): Store the value
	of __octave_srcdir__ for octave-source-directories.
	(inferior-octave-check-process): New function refactored out of
	inferior-octave-send-list-and-digest.
	(octave-source-directories)
	(octave-find-definition-filename-function): New variables.
	(octave-source-directories)
	(octave-find-definition-default-filename): New functions.
	(octave-find-definition): Improve to find functions implemented in C++.

22 23 24 25 26
2013-05-12  Glenn Morris  <rgm@gnu.org>

	* calendar/diary-lib.el (diary-outlook-format-1):
	Don't include dayname in the output.  (Bug#14349)

27 28
2013-05-11  Glenn Morris  <rgm@gnu.org>

29 30
	* emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.

31 32 33
	* cus-dep.el (custom-make-dependencies): Only use safe local variables.
	Treat cc-provide like provide.

34 35 36 37 38 39 40
2013-05-11  Kevin Ryde  <user42@zip.com.au>

	* cus-dep.el (custom-make-dependencies):
	Use generated-autoload-load-name for the sake of files such
	such cedet/semantic/bovine/c.el, where the base file name
	is not in load-path.  (Bug#5277)

41 42 43 44 45
2013-05-11  Glenn Morris  <rgm@gnu.org>

	* dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
	Provide features.

46 47 48 49 50 51 52 53
2013-05-11  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-indent-comment): Improve.
	(octave-eldoc-message-style, octave-eldoc-cache): New variables.
	(octave-eldoc-function-signatures, octave-eldoc-function): New
	functions.
	(octave-mode, inferior-octave-mode): Add eldoc support.

54 55 56 57 58
2013-05-11  Richard Stallman  <rms@gnu.org>

	* epa.el (epa-decrypt-file): Take output file name as argument
	and read it using `interactive'.

59 60 61 62 63
2013-05-11  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-beginning-of-line)
	(octave-end-of-line): Check before using up-list because it jumps
	out of more syntactic contructs since moving to smie.
64 65
	(octave-indent-comment): New function.
	(octave-mode): Use it in smie-indent-functions.  (Bug#14350)
66 67 68
	(octave-begin-keywords, octave-end-keywords)
	(octave-reserved-words, octave-smie-bnf-table)
	(octave-smie-rules): Add new keywords from Octave 3.6.4.
69

70 71
2013-05-11  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
72 73 74 75 76 77
	* faces.el (internal-face-x-get-resource):
	* frame.el (ns-display-monitor-attributes-list):
	* calc/calc-aent.el (math-to-radians-2): Fix declarations.

	* emacs-lisp/package.el (tar-header-name, tar-header-link-type):

78 79 80 81 82 83 84
	* calc/calc-menu.el: Make it loadable in isolation.

	* net/eudcb-bbdb.el: Make it loadable without bbdb.
	(eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
	(eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
	(eudc-bbdb-query-internal): Require 'bbdb.

Glenn Morris's avatar
Glenn Morris committed
85 86 87 88 89
	* lpr.el (lpr-headers-switches):
	* emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.

	* progmodes/sql.el (sql-login-params): Fix and improve :type.

90 91
	* emulation/edt-mapper.el: In batch mode, error rather than hang.

92 93
	* term.el (term-set-escape-char): Make it idempotent.

94 95 96 97 98 99 100
2013-05-10  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-completion-table): No
	longer a function and all uses changed.  Use cache to speed up
	completion due to bug#11906.
	(octave-beginning-of-defun): Re-write to be more general.

101 102 103 104
2013-05-10  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/cl-macs.el (cl-loop): Doc fix.

105 106 107 108 109 110 111 112
2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* comint.el (comint-redirect-send-command-to-process): Use :around
	rather than :override for comint-redirect-filter.
	(comint-redirect-filter): Add the corresponding `orig-filter' argument.
	Call it instead of comint-redirect-original-filter-function (which
	is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.

113 114 115 116 117
2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>

	* frame.el (display-monitor-attributes-list): Add NS case.
	(ns-display-monitor-attributes-list): Declare.

118
2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
119 120 121

	* descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)

122 123
2013-05-09  Glenn Morris  <rgm@gnu.org>

124 125 126
	* international/fontset.el (vertical-centering-font-regexp):
	Set standard-value.

127 128
	* tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.

129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
	* bookmark.el (bookmark-search-delay):
	* cus-start.el (vertical-centering-font-regexp):
	* ps-mule.el (ps-mule-font-info-database-default):
	* ps-print.el (ps-default-fg, ps-default-bg):
	* type-break.el (type-break-good-break-interval):
	* whitespace.el (whitespace-indentation-regexp)
	(whitespace-space-after-tab-regexp):
	* emacs-lisp/testcover.el (testcover-1value-functions)
	(testcover-noreturn-functions, testcover-progn-functions)
	(testcover-prog1-functions):
	* emulation/viper-init.el (viper-emacs-state-cursor-color):
	* eshell/em-glob.el (eshell-glob-translate-alist):
	* play/tetris.el (tetris-tty-colors):
	* progmodes/cpp.el (cpp-face-default-list):
	* progmodes/flymake.el (flymake-allowed-file-name-masks):
	* progmodes/idlw-help.el (idlwave-help-browser-generic-program)
	(idlwave-help-browser-generic-args):
	* progmodes/make-mode.el (makefile-special-targets-list):
	* progmodes/python.el (python-shell-virtualenv-path):
	* progmodes/verilog-mode.el (verilog-active-low-regexp)
	(verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
	(verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
	(verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
	* textmodes/reftex-vars.el (reftex-format-label-function):
	* textmodes/remember.el (remember-diary-file): Fix custom types.

155 156 157
	* jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
	Add :version.

158 159 160
2013-05-09  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-completion-at-point):
161
	Restore file completion.  (Bug#14300)
162 163 164
	(inferior-octave-startup): Fix incorrect highlighting for the
	first prompt.

165 166 167 168 169 170 171 172 173 174
2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/ruby-mode.el: First cut at SMIE support.
	(ruby-use-smie): New var.
	(ruby-smie-grammar): New constant.
	(ruby-smie--bosp, ruby-smie--implicit-semi-p)
	(ruby-smie--forward-token, ruby-smie--backward-token)
	(ruby-smie-rules): New functions.
	(ruby-mode-variables): Setup SMIE if applicable.

175 176 177 178 179 180 181
2013-05-08  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move-visual): Signal beginning/end of buffer
	only if vertical-motion moved less than it was requested.  Avoids
	silly incorrect error messages when there are display strings with
	multiple newlines at EOL.

182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/vera-mode.el (vera-underscore-is-part-of-word):
	* progmodes/prolog.el (prolog-underscore-wordchar-flag)
	(prolog-char-quote-workaround):
	* progmodes/cperl-mode.el (cperl-under-as-char):
	* progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
	 Mark as obsolete.
	 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
	their declaration.
	(vhdl-mode-syntax-table-init): Remove.

	* progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on last change.

	* progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
	syntax for "_".
	(ld-script-font-lock-keywords):
	Change regexps to use things like \_< and \_>.

	* progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
	Change all regexps to use things like \_< and \_>.

	* progmodes/autoconf.el (autoconf-definition-regexp)
	(autoconf-font-lock-keywords, autoconf-current-defun-function):
	Handle a _ with symbol syntax.
	(autoconf-mode): Don't change the syntax-table for imenu and font-lock.

	* progmodes/ada-mode.el (ada-mode-abbrev-table): Consolidate declaration.
	(ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
	the declaration.
	(ada-create-syntax-table): Remove.
	(ada-capitalize-word): Don't mess with the syntax of "_" since it
	already has the right syntax nowadays.
	(ada-goto-next-word): Don't change the syntax of "_".

	* font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
	with-wrapper-hook.

220 221 222 223 224 225 226 227 228 229
2013-05-08  Sam Steingold  <sds@gnu.org>

	* thingatpt.el (thing-at-point): Accept optional second argument
	NO-PROPERTIES to strip the text properties from the return value.
	* net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
	to `thing-at-point' instead of stripping the properties ourselves.
	Also, when `thing-at-point' fails to find a url, prepend "http://"
	to the filename at point on the assumption that the user is
	pointing at something like gnu.org/gnu.

230 231 232 233 234 235 236 237 238
2013-05-08  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/bytecomp.el (byte-compile-insert-header):
	* faces.el (crm-separator):
	Silence byte-compiler.

	* progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
	(tool-bar-map): Remove unneeded defvars.

239 240 241 242 243 244 245
2013-05-08  Leo Liu  <sdl.web@gmail.com>

	Re-work a fix for bug#10994 based on Le Wang's patch.
	* ido.el (ido-remove-consecutive-dups): New helper.
	(ido-completing-read): Use it.
	(ido-chop): Revert fix for bug#10994.

246 247 248 249 250
2013-05-08  Adam Spiers  <emacs@adamspiers.org>

	* cus-edit.el (custom-save-variables):
	Pretty-print long values.  (Bug#14187)

Glenn Morris's avatar
Glenn Morris committed
251 252 253 254 255 256
2013-05-08  Glenn Morris  <rgm@gnu.org>

	* progmodes/m4-mode.el (m4-program): Assume it is in PATH.
	(m4-mode-syntax-table): Init in the defvar.
	(m4-mode-abbrev-table): Let define-derived-mode define it.

257 258 259 260 261
2013-05-08  Tom Tromey  <tromey@redhat.com>

	* progmodes/m4-mode.el (m4-mode-syntax-table):
	Do not treat "_" as word constituent.  (Bug#14167)

262 263
2013-05-07  Glenn Morris  <rgm@gnu.org>

264 265 266
	* eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
	Remove explicit eshell-isearch-cancel-map.

267 268 269 270 271
	* progmodes/f90.el (f90-smart-end-names): New option.
	(f90-smart-end): Doc fix.
	(f90-end-block-optional-name): New constant.
	(f90-block-match): Respect f90-smart-end-names.

272 273 274 275 276
2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/octave.el (octave-smie-forward-token): Be more careful
	about implicit semi-colons (bug#14218).

277 278 279 280 281
2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* frame.el (display-monitor-attributes-list)
	(frame-monitor-attributes): New functions.

282 283 284 285 286 287 288 289 290 291 292
2013-05-06  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-syntax-propertize-function): Change
	\'s syntax to escape when inside double-quoted strings.  (Bug#14332)
	(octave-font-lock-keywords): Use octave-operator-regexp.
	(octave-completion-at-point): Renamed from
	octave-completion-at-point-function.
	(inferior-octave-directory-tracker): Robustify.
	(octave-text-functions): Remove and fix its uses.  No such things
	any more.

293 294 295 296 297
2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/trace.el (trace--display-buffer): New function.
	(trace-make-advice): Use it.

298 299 300 301 302 303 304 305
2013-05-06  Juri Linkov  <juri@jurta.org>

	* emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
	(eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
	Doc fix.
	(emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
	in the help string.  (Bug#12985)

306 307 308 309
2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)

	* simple.el (shell-command-on-region): Doc fix.  (Bug#14279)

310 311
2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

312 313 314 315 316
	* progmodes/perl-mode.el: Add support for here documents.
	(perl-syntax-propertize-function): Match here-doc markers.
	(perl-syntax-propertize-special-constructs): Find their end.
	(perl-imenu-generic-expression): Use [:alnum:].

317 318 319 320
	* emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
	(advice--add-function): Refresh the advice if already present
	(bug#14317).

321 322 323 324
2013-05-06  Ivan Andrus  <darthandrus@gmail.com>

	* find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)

325 326
2013-05-06  Glenn Morris  <rgm@gnu.org>

327 328
	* w32-fns.el (w32-charset-info-alist): Declare.

329 330 331 332
	* eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
	of its defcustom properties.
	(eshell-cmpl-initialize): No need to load pcomplete.

333 334
	* generic-x.el: No need to require comint when compiling.

335 336 337 338 339 340 341
	* net/eudc-export.el: Make it loadable without bbdb.
	(top-level): Use require rather than load-library.
	(eudc-create-bbdb-record, eudc-bbdbify-phone)
	(eudc-batch-export-records-to-bbdb)
	(eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
	Require bbdb.

342 343 344 345 346 347
2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
	(octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
	some tweaks, instead.

348 349 350 351 352 353 354 355
2013-05-05  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-font-lock-keywords)
	(octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
	(inferior-octave-send-list-and-digest): Improve error message.
	(octave-mode, inferior-octave-mode): Use setq-local.
	(octave-help): Set info-lookup-mode.

356 357
2013-05-05  Richard Stallman  <rms@gnu.org>

358 359 360
	* vc/compare-w.el (compare-windows-whitespace):
	Treat no-break space as whitespace.

361 362 363 364
	* mail/rmailsum.el (rmail-summary-rmail-update):
	Detect empty summary and don't change selected message.
	(rmail-summary-goto-msg): Likewise.

365 366 367
	* mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
	Doc fixes, rename args.

368 369 370 371
2013-05-05  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-defs.el (c-version): Increment to 5.32.5.

372 373 374 375 376 377
2013-05-05  Juri Linkov  <juri@jurta.org>

	* info.el (Info-read-subfile): Use (point-min) instead of (point)
	to not add the length of the summary segment to the return value.
	(Bug#14125)

378 379 380 381 382 383 384 385 386 387 388 389
2013-05-05  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-strip-ctrl-g)
	(inferior-octave-output-filter): Remove.
	(octave-send-region, inferior-octave-startup): Fix callers.
	(inferior-octave-mode-map): Don't use comint-dynamic-complete.
	(octave-binary-file-extensions): New user variable.
	(octave-find-definition): Confirm if opening binary files.
	(octave-help-file): Use octave-find-definition to get the binary
	confirmation.
	(octave-help): Adjust for octave-help-file change.

390 391 392 393 394 395 396
2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
	Merge the two entries that handle function definitions.
	(pascal--syntax-propertize): New const.
	(pascal-mode): Use it.  Use setq-local.

397 398 399 400 401
2013-05-04  Glenn Morris  <rgm@gnu.org>

	* calendar/diary-lib.el (diary-from-outlook-function): New variable.
	(diary-from-outlook): Respect diary-from-outlook-function.

402 403 404 405 406 407 408
2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (read-expression-map): Use completion-at-point (bug#14255).
	Move the declaration from C.
	(read-minibuffer, eval-minibuffer): Move from C.
	(completion-setup-function): Avoid minibuffer-completion-contents.

409 410 411 412
2013-05-03  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-font-lock-keywords): Do not
	dehighlight 'end' in comments or strings.
413 414
	(octave-completing-read, octave-goto-function-definition):
	New helpers.
415 416 417 418
	(octave-help-buffer): New user variable.
	(octave-help-file, octave-help-function): New button types.
	(octave-help): New command and bind it to C-h ;.
	(octave-find-definition): New command and bind it to M-.
419
	(user-error): Alias to error if not defined.
420

421 422 423 424 425 426
2013-05-02  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-mode-syntax-table): Correct syntax
	for \.  (bug#14332)
	(octave-font-lock-keywords): Include [ and {.

427 428 429 430 431 432
2013-05-02  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-startup-file): Change default.
	(inferior-octave): Remove calling comint-mode and return the buffer.
	(inferior-octave-startup): Cosmetic changes.

433 434
2013-05-02  Leo Liu  <sdl.web@gmail.com>

435 436
	* progmodes/octave.el (octave-syntax-propertize-function):
	Include the case when ' is at line beginning.  (Bug#14336)
437

438 439 440 441 442
2013-05-02  Glenn Morris  <rgm@gnu.org>

	* vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
	* desktop.el (vc-dir-mode): Just autoload it here.

443 444 445 446 447 448 449
2013-05-02  Alan Mackenzie  <acm@muc.de>

	Eliminate variable c-standard-font-lock-fontify-region-function.
	* progmodes/cc-mode.el
	(c-standard-font-lock-fontify-region-function): Remove.
	(c-font-lock-fontify-region, c-after-font-lock-init): Adapt.

450 451
2013-05-01  Leo Liu  <sdl.web@gmail.com>

452
	* progmodes/octave.el: Compatible with older emacs-24 releases.
453
	(inferior-octave-has-built-in-variables): Remove.  Built-in
454
	variables were removed from Octave in 2007.
455 456 457 458
	(inferior-octave-startup): Fix uses.
	(comint-line-beginning-position): Remove compatibility code for
	emacs 21.

459 460 461 462
2013-05-01  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)

463 464 465 466 467 468 469 470
2013-05-01  Juri Linkov  <juri@jurta.org>

	* comint.el (comint-previous-matching-input): Don't print message
	"History item: %d" when `isearch-mode' is active.
	(comint-history-isearch-message): Print message "History item: %d"
	when `comint-input-ring-index' is not empty and this function is
	called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)

471 472 473 474 475 476 477
2013-05-01  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-abbrev-table): Remove abbrev
	definitions.  Use completion-at-point to insert keywords.
	(octave-abbrev-start): Remove.
	(inferior-octave-mode, octave-mode): Use :abbrev-table instead.

478 479 480 481 482
2013-04-30  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
	change.

483 484 485
2013-04-30  Alan Mackenzie  <acm@muc.de>

	Handle arbitrarily long C++ member initialisation lists.
486 487
	* progmodes/cc-engine.el (c-back-over-member-initializers):
	new function.
488 489 490
	(c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
	(most) member init lists.

491 492 493 494 495
2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* progmodes/octave.el (inferior-octave-prompt-read-only): New user
	variable.

496 497 498 499 500 501 502 503 504 505 506 507 508
2013-04-30  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-variables): Remove.  No builtin
	variables any more.  All converted to functions.
	(octave-font-lock-keywords, octave-completion-at-point-function):
	Fix uses.
	(octave-font-lock-texinfo-comment): New user variable.
	(octave-texinfo-font-lock-keywords): New variable for texinfo
	comment block.
	(octave-function-comment-block): New face.
	(octave-font-lock-texinfo-comment): New function.
	(octave-mode): Font lock texinfo comment block.

509 510 511 512 513 514 515 516 517 518 519 520 521
2013-04-29  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
	indexing expression.
	(octave-continuation-string): Do not use \.
	(inferior-octave-complete-impossible): Remove.
	(inferior-octave-completion-table)
	(inferior-octave-completion-at-point): Remove its uses.
	(inferior-octave-startup): completion_matches was introduced to
	Octave in 1996 so safe to assume it.
	(octave-function-file-comment): Improve to follow how Octave does it.
	(octave-update-function-file-comment): Tweak.

522 523 524 525 526 527 528
2013-04-29  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
	(inferior-octave-startup): Remove inferior-octave-startup-hook.
	(octave-function-file-comment): Fix typo.
	(octave-sync-function-file-names): Use read-char-choice.

529 530 531 532 533
2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (math-normalize): Don't set `math-normalize-error'
	to t for the less important warnings.

534 535 536 537
2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)

	* isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)

538 539 540 541 542
2013-04-27  Glenn Morris  <rgm@gnu.org>

	* vc/log-view.el (log-view-current-entry):
	Treat "---" separator lines as part of the following rev.  (Bug#14169)

543 544 545 546 547
2013-04-27  Juri Linkov  <juri@jurta.org>

	* subr.el (read-number): Doc fix about using it by interactive
	code letter `n'.  (Bug#14254)

548 549 550 551 552 553 554 555 556 557 558 559
2013-04-27  Juri Linkov  <juri@jurta.org>

	* desktop.el (desktop-auto-save-timeout): New option.
	(desktop-file-checksum): New variable.
	(desktop-save): Add optional arg `auto-save' and don't auto-save
	if nothing changed.
	(desktop-auto-save-timer): New variable.
	(desktop-auto-save, desktop-auto-save-set-timer): New functions.
	(after-init-hook): Call `desktop-auto-save-set-timer'.
	Suggested by Reuben Thomas <rrt@sc3d.org> in
	<http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.

560 561 562 563 564 565 566 567 568 569 570 571 572 573 574
2013-04-27  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-function-file-p)
	(octave-skip-comment-forward, octave-function-file-comment)
	(octave-update-function-file-comment): New functions.
	(octave-mode-map): Bind C-c ; to
	octave-update-function-file-comment.
	(octave-mode-menu): Add octave-update-function-file-comment.
	(octave-mode, inferior-octave-mode): Fix doc-string.
	(octave-insert-defun): Conform to Octave's coding convention.
	(Bug#14285)

	* files.el (basic-save-buffer): Don't let errors in
	before-save-hook prevent saving buffer.

575 576 577 578 579
2013-04-20  Roland Winkler  <winkler@gnu.org>

	* faces.el (read-face-name): Use completing-read if arg multiple
	is nil.

580 581 582
2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)

	* ls-lisp.el (ls-lisp-insert-directory): If no files are
583 584
	displayed, move point to after the totals line.
	See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
585 586
	for the details.

587 588 589 590 591 592 593
2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-autoload-ensure-default-file):
	Add current dir to the load-path.
	(package-generate-autoloads): Don't rely on
	autoload-ensure-default-file.

594 595
2013-04-26  Reuben Thomas  <rrt@sc3d.org>

596 597
	* textmodes/remember.el (remember-store-in-files): Document that
	the file name format is passed to `format-time-string'.
598

599 600 601 602 603
2013-04-26  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-sync-function-file-names): New function.
	(octave-mode): Use it in before-save-hook.

604 605
2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>

606 607 608
	* emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
	(bug#14274).

609 610 611
	* progmodes/octave.el (octave-smie-forward-token): Properly skip
	\n and comment, even if it's not an implicit ; (bug#14218).

612
2013-04-26  Glenn Morris  <rgm@gnu.org>
613 614 615 616

	* subr.el (read-number): Once more use `read' rather than
	`string-to-number', to trap non-numeric input.  (Bug#14254)

617
2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
618 619 620 621 622

	* emacs-lisp/syntax.el (syntax-propertize-multiline):
	Use `syntax-multiline' text property consistently instead of
	`font-lock-multiline'. (bug#14237).

623 624 625 626 627 628 629
2013-04-26  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/shadow.el (list-load-path-shadows):
	No longer necessary to check for duplicate simple.el, since
	2012-07-07 change to init_lread to not include installation lisp
	directories in load-path when running uninstalled.  (Bug#14270)

630 631 632 633
2013-04-26  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-submit-bug-report): Obsolete.
	(octave-mode, inferior-octave-mode): Use setq-local.
634
	(octave-not-in-string-or-comment-p): Rename to
635 636 637 638
	octave-in-string-or-comment-p.
	(octave-in-comment-p, octave-in-string-p)
	(octave-in-string-or-comment-p): Replace defsubst with defun.

639 640 641 642
2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>

	* Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.

643 644 645 646 647
2013-04-25  Bastien Guerry  <bzg@gnu.org>

	* textmodes/remember.el (remember-data-directory)
	(remember-directory-file-name-format): Fix custom types.

648 649
2013-04-25  Leo Liu  <sdl.web@gmail.com>

650 651
	* progmodes/octave.el (octave-completion-at-point-function):
	Make use of inferior octave process.
652 653 654 655 656
	(octave-initialize-completions): Remove.
	(inferior-octave-completion-table): New function.
	(inferior-octave-completion-at-point): Use it.
	(octave-completion-alist): Remove.

657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683
2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/opascal.el: Use font-lock and syntax-propertize.
	(opascal-mode-syntax-table): New var.
	(opascal-literal-kind, opascal-is-literal-end)
	(opascal-literal-token-at): Rewrite.
	(opascal--literal-start-re, opascal-font-lock-keywords)
	(opascal--syntax-propertize): New constants.
	(opascal-font-lock-defaults): Adjust.
	(opascal-mode): Use them.  Set comment-<foo> variables as well.
	(delphi-comment-face, opascal-comment-face, delphi-string-face)
	(opascal-string-face, delphi-keyword-face, opascal-keyword-face)
	(delphi-other-face, opascal-other-face): Remove face variables.
	(opascal-save-state): Remove macro.
	(opascal-fontifying-progress-step): Remove constant.
	(opascal--ignore-changes): Remove var.
	(opascal-set-token-property, opascal-parse-next-literal)
	(opascal-is-stable-literal, opascal-complete-literal)
	(opascal-is-literal-start, opascal-face-of)
	(opascal-parse-region, opascal-parse-region-until-stable)
	(opascal-fontify-region, opascal-after-change)
	(opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
	(opascal-debug-parse-region, opascal-debug-parse-window)
	(opascal-debug-parse-buffer, opascal-debug-fontify-window)
	(opascal-debug-fontify-buffer): Remove.
	(opascal-debug-mode-map): Adjust accordingly.

684 685 686 687 688 689 690 691
2013-04-25  Leo Liu  <sdl.web@gmail.com>

	Merge octave-mod.el and octave-inf.el into octave.el with some
	cleanups.
	* progmodes/octave.el: New file renamed from octave-mod.el.
	* progmodes/octave-inf.el: Merged into octave.el.
	* progmodes/octave-mod.el: Renamed to octave.el.

Tassilo Horn's avatar
Tassilo Horn committed
692 693 694 695 696 697 698
2013-04-25  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex-vars.el
	(reftex-label-ignored-macros-and-environments): New defcustom.

	* textmodes/reftex-parse.el (reftex-parse-from-file): Use it.

699 700 701 702 703 704 705 706 707 708
2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
	(smie-indent-keyword): Improve the check to ensure that the next
	comment is really on the same line.
	(smie-indent-comment): Don't align with a subsequent closer (or eob).

	* progmodes/octave-mod.el (octave-smie-forward-token): Only emit
	semi-colons if the line is not otherwise empty (bug#14218).

709 710 711 712
2013-04-25  Glenn Morris  <rgm@gnu.org>

	* vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.

713 714 715 716 717 718 719 720 721
2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/opascal.el (opascal-set-token-property): Rename from
	opascal-set-text-properties and only set `token' (bug#14134).
	Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
	(opascal-literal-text-properties): Remove.
	(opascal-parse-next-literal, opascal-debug-unparse-buffer):
	Adjust callers.

722
2013-04-24  Reuben Thomas  <rrt@sc3d.org>
723 724 725 726 727 728 729 730

	* textmodes/remember.el (remember-handler-functions): Add an
	option for a new handler `remember-store-in-files'.
	(remember-data-directory, remember-directory-file-name-format):
	New options.
	(remember-store-in-files): New function to store remember notes
	as separate files within a directory.

731 732 733 734 735
2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>

	* progmodes/compile.el (compilation-next-error-function):
	Pass "formats" to compilation-find-file (bug#11777).

736 737
2013-04-24  Glenn Morris  <rgm@gnu.org>

738
	* vc/vc-bzr.el (vc-bzr-print-log):
739 740 741 742
	* vc/vc-hg.el (vc-hg-print-log):
	* vc/vc-svn.el (vc-svn-print-log):
	Fix START-REVISION with LIMIT != 1.  (Bug#14168)

743 744 745 746 747 748 749 750 751 752
	* vc/vc-bzr.el (vc-bzr-print-log):
	* vc/vc-cvs.el (vc-cvs-print-log):
	* vc/vc-git.el (vc-git-print-log):
	* vc/vc-hg.el (vc-hg-print-log):
	* vc/vc-mtn.el (vc-mtn-print-log):
	* vc/vc-rcs.el (vc-rcs-print-log):
	* vc/vc-sccs.el (vc-sccs-print-log):
	* vc/vc-svn.el (vc-svn-print-log):
	* vc/vc.el (vc-print-log-internal): Doc fixes.

753 754 755 756 757
2013-04-23  Glenn Morris  <rgm@gnu.org>

	* startup.el (normal-no-mouse-startup-screen, normal-about-screen):
	Remove venerable code attempting to avoid substitute-command-keys.

758 759
2013-04-23  Tassilo Horn  <tsdh@gnu.org>

760 761
	* textmodes/reftex-vars.el (reftex-label-regexps):
	Call `reftex-compile-variables' after changes to this variable.
762

763 764
2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>

765
	* jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
766 767 768 769 770
	Use lexical-binding.
	(jit-lock-force-redisplay): Use markers, check buffer's continued
	existence and beware narrowed buffers.
	(jit-lock-fontify-now): Adjust call accordingly.

771 772 773 774 775
2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
	to avoid misleading the user.

Leo Liu's avatar
Leo Liu committed
776 777 778 779
2013-04-22  Leo Liu  <sdl.web@gmail.com>

	* info-look.el: Prefer latex2e.info.  (Bug#14240)

780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800
2013-04-22  Michael Albinus  <michael.albinus@gmx.de>

	Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.

	* net/tramp-compat.el (tramp-compat-call-process): Move function ...
	* net/tramp.el (tramp-call-process): ... here
	(tramp-set-completion-function, tramp-parse-putty):
	* net/tramp-adb.el (tramp-adb-execute-adb-command):
	* net/tramp-gvfs.el (tramp-gvfs-send-command):
	* net/tramp-sh.el (tramp-sh-handle-set-file-times)
	(tramp-set-file-uid-gid, tramp-sh-handle-write-region)
	(tramp-call-local-coding-command): Use `tramp-call-process'
	instead of `tramp-compat-call-process'.

	* net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
	(tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
	(tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
	(tramp-find-inline-compress):Improve traces.
	(tramp-maybe-send-script): Check for Perl binary.
	(tramp-get-inline-coding): Do not redirect STDOUT for local decoding.

801 802 803 804 805 806
2013-04-22  Daiki Ueno  <ueno@gnu.org>

	* epg.el (epg-context-pinentry-mode): New function.
	(epg-context-set-pinentry-mode): New function.
	(epg--start): Pass --pinentry-mode option to gpg command.

807 808
2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>

809 810 811 812
	* comint.el: (comint-dynamic-complete-functions, comint-mode-map):
	`comint-dynamic-complete' is obsolete since 24.1, replaced by
	`completion-at-point'. (Bug#13774)

813 814 815 816
	* startup.el (normal-no-mouse-startup-screen): Bug fix, the
	default key binding for `describe-distribution' has been moved to
	`C-h C-o'.  (Bug#13970)

Glenn Morris's avatar
Glenn Morris committed
817 818 819 820 821 822
2013-04-21  Glenn Morris  <rgm@gnu.org>

	* vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
	Add doc strings.
	(vc-print-log): Clarify interactive prompt.

823 824 825 826 827
2013-04-20  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-insert-header):
	No longer include timestamp etc information.

828 829 830 831 832
2013-04-20  Roland Winkler  <winkler@gnu.org>

	* faces.el (read-face-name): Bug fix, return just one face if arg
	multiple is nil.  (Bug#14209)

833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858
2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el (advice--where-alist): Add :override.
	(remove-function): Autoload.

	* comint.el (comint-redirect-original-filter-function): Remove.
	(comint-redirect-cleanup, comint-redirect-send-command-to-process):
	* vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
	* progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
	* progmodes/prolog.el (prolog-consult-compile):
	* progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
	Use add/remove-function instead.
	* progmodes/gud.el (gud-tooltip-original-filter): Remove.
	(gud-tooltip-process-output, gud-tooltip-tips):
	Use add/remove-function instead.
	* progmodes/xscheme.el (xscheme-previous-process-state): Remove.
	(scheme-interaction-mode, exit-scheme-interaction-mode):
	Use add/remove-function instead.

	* vc/vc-dispatcher.el: Use lexical-binding.
	(vc--process-sentinel): Rename from vc-process-sentinel.
	Change last arg to be the code to run.  Don't use vc-previous-sentinel
	and vc-sentinel-commands any more.
	(vc-exec-after): Allow code to be a function.  Use add/remove-function.
	(compilation-error-regexp-alist, view-old-buffer-read-only): Declare.

859 860
2013-04-19 Masatake YAMATO  <yamato@redhat.com>

861
	* progmodes/sh-script.el (sh-imenu-generic-expression):
Glenn Morris's avatar
Glenn Morris committed
862
	Handle function names with a single character.   (Bug#14111)
863

864 865 866 867 868
2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)

	* progmodes/gud.el (gud-perldb-marker-filter): Understand position info
	for subroutines defined in an eval (bug#14182).

869 870 871 872 873
2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* bookmark.el (bookmark-completing-read): Improve handling of empty
	string (bug#14176).

874 875 876 877
2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.

878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895
2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	New faster Imenu implementation (bug#14058).
	* progmodes/python.el:
	(python-imenu-prev-index-position):
	(python-imenu-format-item-label-function)
	(python-imenu-format-parent-item-label-function)
	(python-imenu-format-parent-item-jump-label-function):
	New vars.
	(python-imenu-format-item-label)
	(python-imenu-format-parent-item-label)
	(python-imenu-format-parent-item-jump-label)
	(python-imenu--put-parent, python-imenu--build-tree)
	(python-imenu-create-index, python-imenu-create-flat-index)
	(python-util-popn): New functions.
	(python-mode): Set imenu-create-index-function to
	python-imenu-create-index.

896 897 898 899 900 901 902
2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* winner.el (winner-active-region): Use region-active-p, activate-mark
	and deactivate-mark (bug#14225).

	* simple.el (deactivate-mark): Don't inline it.

903 904 905 906
2013-04-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".

907 908 909 910 911 912
2013-04-18  Tassilo Horn  <tsdh@gnu.org>

	* files.el (auto-mode-alist): Delete OpenDocument and StarOffice
	file extensions from the archive-mode entry in order to prefer
	doc-view-mode-maybe with archive-mode as fallback (bug#14188).

913 914 915 916
2013-04-18  Leo Liu  <sdl.web@gmail.com>

	* bindings.el (help-event-list): Add ?\?.

917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932
2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (with-wrapper-hook): Declare obsolete.
	* simple.el (filter-buffer-substring-function): New hook.
	(filter-buffer-substring): Use it.
	(filter-buffer-substring-functions): Mark obsolete.
	* minibuffer.el (completion-in-region-function): New hook.
	(completion-in-region): Use it.
	(completion-in-region-functions): Mark obsolete.
	* mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
	* abbrev.el (abbrev-expand-function): New hook.
	(expand-abbrev): Use it.
	(abbrev-expand-functions): Mark obsolete.
	* emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
	and :filter-return.

933 934 935 936 937
2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-nav--syntactically): Fix cornercases
	and do not care about match data.

938 939 940 941 942 943 944 945 946
2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
	completion tables when completing error conditions and
	`declare' arguments.
	(lisp-complete-symbol, field-complete): Mark as obsolete.
	(check-parens): Unmatched parens are user errors.
	* minibuffer.el (minibuffer-completion-contents): Mark as obsolete.

947 948
2013-04-17  Michal Nazarewicz  <mina86@mina86.com>

949 950 951 952 953 954 955 956
	* textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
	command changed buffer (ie. `flyspell-pre-buffer' is not current
	buffer), which prevents making decisions based on invalid value of
	`flyspell-pre-point' in the wrong buffer.  Most notably, this used to
	cause an error when `flyspell-pre-point' was nil after switching
	buffers.
	(flyspell-post-command-hook): No longer needs to change buffers when
	checking pre-word.  While at it remove unnecessary progn.
957

958 959 960 961 962 963 964
2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)

	* textmodes/ispell.el (ispell-add-per-file-word-list):
	Fix `flyspell-correct-word-before-point' error when accepting
	words and `coment-padding' is an integer by using
	`comment-normalize-vars' (Bug #14214).

965 966 967 968 969 970 971
2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	New defun movement commands.
	* progmodes/python.el (python-nav--syntactically)
	(python-nav--forward-defun, python-nav-backward-defun)
	(python-nav-forward-defun): New functions.

972 973 974 975 976 977
2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-syntax--context-compiler-macro): New defun.
	(python-syntax-context): Use named compiler-macro for backwards
	compatibility with Emacs 24.x.

978 979 980 981 982
2013-04-17  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave-mod.el (octave-mode-map): Fix key binding to
	octave-hide-process-buffer.

983 984 985 986 987
2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
	(bug#14216).

988 989 990 991 992 993
2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>

	* progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
	Fix adjustment of offset when receiving incomplete responses from GDB
	(bug#14129).

994 995 996 997 998 999 1000 1001 1002 1003 1004 1005
2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
	python-mode-abbrev-table.
	(python-skeleton-define): Adjust accordingly.
	(python-mode-abbrev-table): New table that inherits from it so that
	python-skeleton-autoinsert does not affect non-skeleton abbrevs.

	* abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
	(abbrev-symbol): Use it.
	(abbrev--before-point): Use it since we already handle inheritance.

1006 1007 1008 1009 1010
2013-04-16  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave-mod.el (octave-mode-map): Remove redundant key
	binding to info-lookup-symbol.

1011 1012 1013 1014 1015 1016
2013-04-16  Juanma Barranquero  <lekktu@gmail.com>

	* minibuffer.el (completion--twq-all):
	* term/ns-win.el (ns-initialize-window-system):
	* term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.

1017 1018
2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>

1019 1020 1021
	* emacs-lisp/nadvice.el (add-function): Default simple vars to their
	global bindings.

1022 1023
	* doc-view.el (doc-view-start-process): Handle url-handler directories.

1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036
2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-beginning-of-defun)
	(ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
	to nil.
	(ruby-end-of-defun): Remove the unused arg, change the docstring
	to reflect that this function is only used as the value of
	`end-of-defun-function'.
	(ruby-beginning-of-defun): Remove "top-level" from the docstring,
	to reflect an earlier change that beginning/end-of-defun functions
	jump between methods in a class definition, as well as top-level
	functions.

1037 1038 1039 1040 1041 1042 1043
2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-complete): Don't just scroll
	a *Completions* that's been iconified.
	(minibuffer-force-complete): Make sure repetitions do cycle when going
	through completion-in-region -> minibuffer-complete.

1044 1045 1046 1047 1048 1049 1050
2013-04-15  Alan Mackenzie  <acm@muc.de>

	Correct the placement of c-cpp-delimiters when there're #s not at
	col 0.

	* progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
	place a submatch around the #.
1051 1052
	* progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
	Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
1053 1054
	on the #, not BOL.

1055 1056 1057 1058 1059 1060
2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el: Properly test names when adding advice.
	(advice--member-p): New arg `name'.
	(advice--add-function, advice-member-p): Use it (bug#14202).

1061 1062 1063 1064 1065 1066 1067 1068 1069
2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>

	Reformulate java imenu-generic-expression.
	The old expression contained ill formed regexps.

	* progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
	(cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
	(cc-imenu-java-method-arg-regexp): New defconsts.
	(cc-imenu-java-build-type-args-regex): New defun.
1070
	(cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1071 1072
	handling of spaces in the regexp.

1073 1074 1075 1076 1077
2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-command-loop): Remove
	flyspell highlight of a word when ispell accepts it (bug #14178).

1078 1079 1080 1081 1082 1083 1084 1085
2013-04-15  Michael Albinus  <michael.albinus@gmx.de>

	* net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
	uses code from the previous `ange-ftp-run-real-handler'.
	(ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
	only in case that function exist.  This is needed for proper
	unloading of Tramp.

1086 1087 1088 1089 1090 1091
2013-04-15  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.

	* textmodes/reftex.el (reftex-compile-variables): Use it.

1092 1093
2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

1094 1095 1096
	* files.el (normal-mode): Only use default major-mode if no other mode
	was specified.

1097 1098
	* emacs-lisp/trace.el (trace-values): New function.

1099 1100 1101 1102
	* files.el: Allow : in local variables (bug#14089).
	(hack-local-variable-regexp): New var.
	(hack-local-variables-prop-line, hack-local-variables): Use it.

1103 1104 1105 1106 1107
2013-04-13  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
	data before it gets modified by bibtex-beginning-of-entry.

1108 1109 1110 1111 1112
2013-04-13  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-url): Doc fix.

2013-04-13  Roland Winkler  <winkler@gnu.org>
1113 1114 1115 1116 1117

	* textmodes/bibtex.el (bibtex-initialize): If the current buffer
	does not visit a BibTeX file, exclude it from the list of buffers
	returned by bibtex-initialize.

1118 1119 1120 1121 1122 1123
2013-04-13  Stephen Berman  <stephen.berman@gmx.net>

	* window.el (split-window): Remove interactive form, since as a
	command this function is a special case of split-window-below.
	Correct doc string.

1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141
2013-04-12  Roland Winkler  <winkler@gnu.org>

	* faces.el (read-face-name): Do not override value of arg default.
	Allow single faces and strings as default values.  Remove those
	elements from return value that are not faces.
	(describe-face): Simplify.
	(face-at-point): New optional args thing and multiple so that this
	function can provide the same functionality previously provided by
	read-face-name.
	(make-face-bold, make-face-unbold, make-face-italic)
	(make-face-unitalic, make-face-bold-italic, invert-face)
	(modify-face, read-face-and-attribute): Use face-at-point.

	* cus-edit.el (customize-face, customize-face-other-window)
	* cus-theme.el (custom-theme-add-face)
	* face-remap.el (buffer-face-set)
	* facemenu.el (facemenu-set-face): Use face-at-point.

1142 1143 1144 1145
2013-04-12  Michael Albinus  <michael.albinus@gmx.de>

	* info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".

1146 1147 1148 1149 1150
2013-04-10  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
	off leading { and trailing } from field values.

1151 1152
2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>

1153 1154 1155 1156 1157 1158 1159
	* emacs-lisp/timer.el (timer--check): New function.
	(timer--time, timer-set-function, timer-event-handler): Use it.
	(timer-set-idle-time): Simplify.
	(timer--activate): CSE.
	(timer-event-handler): Give more info in error message.
	(internal-timer-start-idle): New function, moved from C.

1160 1161 1162 1163 1164 1165
	* mpc.el (mpc-proc): Add `restart' argument.
	(mpc-proc-cmd): Use it.
	(mpc--status-timer-run): Also catch signals from `mpc-proc'.
	(mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
	less often.

1166 1167 1168 1169 1170 1171 1172
2013-04-10  Masatake YAMATO  <yamato@redhat.com>

	* progmodes/sh-script.el: Implement `sh-mode' own
	`add-log-current-defun-function' (bug#14112).
	(sh-current-defun-name): New function.
	(sh-mode): Use the function.

1173 1174 1175 1176
2013-04-09  Bastien Guerry  <bzg@gnu.org>

	* simple.el (choose-completion-string): Fix docstring (bug#14163).

1177 1178
2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>

1179 1180
	* emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).

1181 1182 1183
	* emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
	timer (bug#14156).

1184 1185 1186 1187 1188
2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>

	* emacs-lisp/ert.el (should, should-not, should-error): Add edebug
	declaration.

Leo Liu's avatar
Leo Liu committed
1189 1190 1191 1192
2013-04-07  Leo Liu  <sdl.web@gmail.com>

	* pcmpl-x.el: New file.

1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206
2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>

	Do not set x-display-name until X connection is established.
	This is needed to prevent from weird situation described at
	<http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
	* frame.el (make-frame): Set x-display-name after call to
	window system initialization function, not before.
	* term/x-win.el (x-initialize-window-system): Add optional
	display argument and use it.
	* term/w32-win.el (w32-initialize-window-system):
	* term/ns-win.el (ns-initialize-window-system):
	* term/pc-win.el (msdos-initialize-window-system):
	Add compatible optional display argument.

1207 1208 1209 1210 1211 1212 1213 1214
2013-04-06  Eli Zaretskii  <eliz@gnu.org>

	* files.el (normal-backup-enable-predicate): On MS-Windows and
	MS-DOS compare truenames of temporary-file-directory and of the
	file, so that 8+3 aliases (usually found in $TEMP on Windows)
	don't fail comparison by compare-strings.  Also, compare file
	names case-insensitively on MS-Windows and MS-DOS.

1215 1216 1217 1218 1219
2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-compute-transaction): Fix last fix.
	Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).

1220 1221
2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>

1222 1223
	* whitespace.el (whitespace-color-on, whitespace-color-off):
	Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1224

Juanma Barranquero's avatar
Juanma Barranquero committed
1225
2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
1226 1227 1228 1229

	* ispell.el (ispell-set-spellchecker-params):
	Really set `ispell-args' for all equivs.

1230 1231 1232 1233 1234 1235
2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* ido.el (ido-completions): Use extra elements of ido-decorations
	(bug#14143).
	(ido-decorations): Update docstring.

1236 1237 1238 1239 1240 1241 1242
2013-04-05  Michael Albinus  <michael.albinus@gmx.de>

	* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
	(global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
	nil during initialization, in order not to miss changes since the
	file was opened.  (Bug#14140)

1243 1244 1245 1246
2013-04-05  Leo Liu  <sdl.web@gmail.com>

	* kmacro.el (kmacro-call-macro): Fix bug#14135.

1247 1248 1249 1250
2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (calc-convert-units): Rewrite conditional.

1251 1252 1253 1254
2013-04-04  Glenn Morris  <rgm@gnu.org>

	* electric.el (electric-pair-inhibit-predicate): Add :version.

1255 1256 1257 1258 1259
2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-compute-transaction): Fix ordering
	when a package is required several times (bug#14082).

1260 1261 1262 1263 1264 1265
2013-04-04  Roland Winkler  <winkler@gnu.org>

	* faces.el (read-face-name): Behave as promised by the docstring.
	Assume that arg default is a list of faces.
	(describe-face): Call read-face-name with list of default faces.

1266 1267 1268 1269 1270 1271 1272 1273
2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* bookmark.el: Fix deletion of bookmarks (bug#13972).
	(bookmark-bmenu-list): Don't toggle filenames if alist is empty.
	(bookmark-bmenu-execute-deletions): Only skip first line if it's
	the header.
	(bookmark-exit-hook-internal): Save even if list is empty.

1274 1275 1276 1277 1278
2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)

	* emacs-lisp/package.el (package-pinned-packages): New var.
	(package--add-to-archive-contents): Obey it (bug#14118).

1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294
2013-04-03  Alan Mackenzie  <acm@muc.de>

	Handle `parse-partial-sexp' landing inside a comment opener
	(Bug#13244). Also adapt to the new values of element 7 of a parse
	state.

	* progmodes/cc-engine.el (c-state-pp-to-literal): New optional
	parameter `not-in-delimiter'.  Handle being inside comment opener.
	(c-invalidate-state-cache-1): Reckon with an extra "invalid"
	character in case we're typing a '*' after a '/'.
	(c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
	instead by passing the parameter to c-state-pp-to-literal.

	* progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
	for elt. 7 of a parse state.

1295 1296 1297 1298 1299 1300 1301 1302 1303
2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>

	Use UTF-8 for most files with non-ASCII characters (Bug#13936).
	* international/latin1-disp.el, international/mule-util.el:
	* language/cyril-util.el, language/european.el, language/ind-util.el:
	* language/lao-util.el, language/thai.el, language/tibet-util.el:
	* language/tibetan.el, language/viet-util.el:
	Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.

1304 1305 1306 1307 1308 1309 1310
2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
	(electric-pair-post-self-insert-function): Use it.
	(electric-pair-default-inhibit): New function, extracted from
	electric-pair-post-self-insert-function.

1311 1312 1313 1314
2013-03-31  Roland Winkler  <winkler@gnu.org>

	* emacs-lisp/crm.el (completing-read-multiple): Doc fix.

1315 1316 1317 1318
2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).

1319
2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
1320 1321 1322 1323 1324

	Un-indent after "pass" and "return" statements (Bug#13888)
	* progmodes/python.el (python-indent-block-enders): New var.
	(python-indent-calculate-indentation): Use it.

1325
2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
1326 1327 1328 1329 1330

	* net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
	defun.  Defining it as defalias could introduce too eager
	byte-compiler optimization.  (Bug#14030)

1331
2013-03-30  Chong Yidong  <cyd@gnu.org>
1332 1333 1334

	* iswitchb.el (iswitchb-read-buffer): Fix typo.

1335 1336 1337 1338 1339 1340
2013-03-30  Leo Liu  <sdl.web@gmail.com>

	* kmacro.el (kmacro-call-macro): Add optional arg MACRO.
	(kmacro-execute-from-register): Pass the keyboard macro to
	kmacro-call-macro or repeating won't work correctly.

1341 1342 1343 1344 1345 1346 1347
2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/subword.el: Back to using `forward-symbol'.

	* subr.el (forward-whitespace, forward-symbol)
	(forward-same-syntax): Move from thingatpt.el.

1348 1349 1350 1351 1352 1353
2013-03-29  Leo Liu  <sdl.web@gmail.com>

	* kmacro.el (kmacro-to-register): New command.
	(kmacro-execute-from-register): New function.
	(kmacro-keymap): Bind to 'x'.  (Bug#14071)

1354 1355 1356 1357 1358 1359 1360
2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mpc.el: Use defvar-local and setq-local.
	(mpc--proc-connect): Connection failures are not bugs.
	(mpc-mode-map): `follow-link' only applies to the buffer's content.
	(mpc-volume-map): Bind to the up-events.

1361 1362 1363 1364 1365
2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/subword.el (superword-mode): Use `forward-sexp'
	instead of `forward-symbol'.

1366 1367 1368 1369 1370 1371 1372
2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
	(edebug--recursive-edit): Use it.
	(edebug-kill-buffer): Don't let-bind kill-buffer-hook.
	(edebug-temp-display-freq-count): Don't let-bind buffer-read-only.

1373 1374 1375 1376
2013-03-28  Leo Liu  <sdl.web@gmail.com>

	* vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)

1377 1378 1379 1380 1381 1382 1383
2013-03-27  Eli Zaretskii  <eliz@gnu.org>

	* facemenu.el (list-colors-callback): New defvar.
	(list-colors-redisplay): New function.
	(list-colors-display): Install list-colors-redisplay as the
	revert-buffer-function.  (Bug#14063)

1384 1385
2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>

1386 1387 1388
	* minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
	and suffixes don't overlap (bug#14061).

1389 1390 1391 1392
	* case-table.el: Use lexical-binding.
	(case-table-get-table): New function.
	(get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.

Ted Zlatanov's avatar
Ted Zlatanov committed
1393 1394 1395 1396 1397 1398
2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>

	* progmodes/subword.el: Add `superword-mode' to do word motion
	over symbol_words (parallels and leverages `subword-mode' which
	does word motion inside MixedCaseWords).

1399 1400
2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>

1401
	* eshell/em-unix.el: Move su and sudo to...
Juanma Barranquero's avatar
Juanma Barranquero committed
1402
	* eshell/em-tramp.el: ...Eshell tramp module.
1403

1404 1405 1406 1407 1408 1409
2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
	Change return value to be a sexp.  Delay `get-buffer' to after
	restoring the desktop (bug#13951).

1410 1411 1412 1413 1414
2013-03-26  Leo Liu  <sdl.web@gmail.com>

	* register.el: Move semantic tag handling back to
	cedet/semantic/senator.el.  (Bug#14052)

1415 1416 1417 1418 1419
2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
	into the prompt either (bug#13963).

1420 1421 1422 1423 1424
2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
	part of "(error-foo)".

1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437
2013-03-24  Juri Linkov  <juri@jurta.org>

	* replace.el (list-matching-lines-prefix-face): New defcustom.
	(occur-1): Pass `list-matching-lines-prefix-face' to the function
	`occur-engine' if `face-differs-from-default-p' returns t.
	(occur-engine): Add `,' inside backquote construct to evaluate
	`prefix-face'.  Propertize the prefix with the `prefix-face' face.
	Pass `prefix-face' to the functions `occur-context-lines' and
	`occur-engine-add-prefix'.
	(occur-engine-add-prefix, occur-context-lines): Add optional arg
	`prefix-face' and propertize the prefix with `prefix-face'.
	(Bug#14017)

1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448
2013-03-24  Leo Liu  <sdl.web@gmail.com>

	* nxml/rng-valid.el (rng-validate-while-idle)
	(rng-validate-quick-while-idle): Guard against deleted buffer.
	(Bug#13999)

	* emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
	is the last entry in kill-buffer-hook.

	* files.el (kill-buffer-hook): Doc fix.

1449 1450
2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>

1451 1452
	* emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
	Make it safe-local.
1453

1454 1455
	* vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).

1456 1457
2013-03-23  Leo Liu  <sdl.web@gmail.com>

1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468
	* nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
	Remove.

	* nxml/rng-valid.el (rng-validate-mode)
	(rng-after-change-function, rng-do-some-validation):
	* nxml/rng-maint.el (rng-validate-buffer):
	* nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
	* nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
	* nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
	(nxml-extend-after-change-region): Use with-silent-modifications.

1469 1470 1471 1472 1473 1474 1475
	* nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
	timer-idle-list.

	* nxml/rng-valid.el (rng-validate-while-idle-continue-p)
	(rng-next-error-1, rng-previous-error-1): Do not let-bind
	timer-idle-list.  (Bug#13999)

1476 1477 1478 1479 1480 1481 1482 1483
2013-03-23  Juri Linkov  <juri@jurta.org>

	* info.el (info-index-match): New face.
	(Info-index, Info-apropos-matches): Add a nested subgroup to the
	main pattern and add text properties with the new face to matches
	in index entries relative to the beginning of the index entry.
	(Bug#14015)

1484 1485