1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

53302 commits

Author SHA1 Message Date
Andreas Schwab
dcb79f208a * lisp/faces.el (face-spec-set-match-display): Don't match toolkit
options on terminal frames.
2011-04-30 19:57:07 +02:00
Vinicius Jose Latorre
cb79b8c051 keep highlight when switching between major modes on a file. 2011-04-30 12:15:07 -03:00
Lars Magne Ingebrigtsen
6eee267817 shr.el (shr-strike-through): New face.
(shr-tag-s): Use it to provide <s> support.
 (shr-tag-s): Remove duplicate definition.
2011-04-30 00:03:19 +00:00
Stefan Monnier
7eabc1bec8 * lisp/progmodes/pascal.el: Use lexical binding.
(pascal-mode-map): Remove author preferences.
2011-04-29 14:34:28 -03:00
Stefan Monnier
20e0e05f00 * pcomplete.el (pcomplete-std-complete): Fix last minute typo. 2011-04-29 14:33:30 -03:00
Stefan Monnier
14a7fbd8c2 * lisp/pcomplete.el (pcomplete-std-complete): Don't abuse
completion-at-point.
2011-04-29 14:24:09 -03:00
Stefan Monnier
38b3645acf * lisp/erc/erc-pcomplete.el (erc-pcomplete-nick-postfix): Remove the " " in the
suffix that's added by pcomplete-termination-string anyway.
(pcomplete-erc-setup): Remove pcomplete-suffix-list setting now that
it's not needed any more.
2011-04-29 12:23:59 -03:00
Juanma Barranquero
6e087a44c5 lisp/calc/calccomp.el (math-comp-to-string-flat-term): Simplify. 2011-04-29 01:08:37 +02:00
Juanma Barranquero
50f845101d lisp/startup.el (command-line): Use delayed warning for "_emacs". 2011-04-29 00:58:40 +02:00
Deniz Dogan
0ba690bd8f * lisp/net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
user has not joined.
2011-04-28 22:22:51 +02:00
Stefan Monnier
08abfaad86 * lisp/pcomplete.el (pcomplete-completions-at-point): Return nil if there
aren't any completions at point.
2011-04-28 16:39:11 -03:00
Juanma Barranquero
638f053a0e Add delayed warnings support.
* etc/NEWS: Document `delayed-warnings-list' and `delayed-warnings-hook'.

* lisp/subr.el (display-delayed-warnings): New function.
  (delayed-warnings-hook): New variable.

* src/keyboard.c (Qdelayed_warnings_hook): Define.
  (command_loop_1): Run `delayed-warnings-hook' if Vdelayed_warnings_list
  is non-nil.
  (syms_of_keyboard) <delayed-warnings-hook>: DEFSYM it.
  (syms_of_keyboard) <delayed-warnings-list>: DEFVAR_LISP it.
2011-04-28 21:35:20 +02:00
Stefan Monnier
d1bb662322 Make MH-E use completion-at-point
* lisp/mh-e/mh-letter.el (mh-letter-completion-at-point): New function,
extracted from mh-letter-complete
(mh-letter-mode, mh-letter-complete, mh-letter-complete-or-space): Use it.
(mh-complete-word): Only use the common-substring arg when it works.
(mh-folder-expand-at-point):
* lisp/mh-e/mh-alias.el (mh-alias-letter-expand-alias): Return data suitable
for completion-at-point-functions.
* lisp/mh-e/mh-utils.el (mh-folder-completion-function): Make it work like
file-name completion, so partial-completion can do its job.
* lisp/minibuffer.el (completion-at-point, completion-help-at-point):
Don't presume that a given completion-at-point-function will always
use the same calling convention.
2011-04-28 12:32:28 -03:00
Stefan Monnier
8fff8daa89 * lisp/pcomplete.el (pcomplete-completions-at-point):
Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
pcomplete-seen is non-nil.
(pcomplete-comint-setup): Also recognize the new comint/shell
completion functions.
(pcomplete-do-complete): Don't call pcomplete-norm-func unless
pcomplete-seen is non-nil.
2011-04-27 21:18:12 -03:00
Juanma Barranquero
841a157789 Fix ChangeLog typos. 2011-04-27 21:51:19 +02:00
Ulf Jasper
211ec9072d Applied icalendar patches from Niels Giesen.
lisp/ChangeLog:

2011-04-27  Niels Giesen <niels.giesen@gmail.com>

	* calendar/icalendar.el (diary-lib): Added require statement.
	(icalendar--create-uid): Read out a uid from a text-property on
	the first character in the entry. This allows for code to add its
	own uid to the entry.
	(icalendar--convert-float-to-ical): Add export of
	`diary-float'-entries save for those with the optional DAY
2011-04-27 19:48:35 +02:00
Daniel Colascione
2a782793a8 * subr.el (shell-quote-argument): Use alternate escaping strategy
when we spot a variable reference in a string.
2011-04-27 00:56:55 -07:00
Juanma Barranquero
bd0d2ee233 Fix typos in ChangeLogs. 2011-04-26 16:07:29 +02:00
Stefan Monnier
d4aa710a15 Make ERC use completion-at-point
* lisp/erc/erc.el (erc-mode-map): Use completion-at-point.
(erc-mode): Tell completion-at-point to obey erc-complete-functions.
(erc-complete-word-at-point): New function.
(erc-complete-word): Make it obsolete.
* lisp/erc/erc-pcomplete.el (erc-pcompletions-at-point): New function.
(pcomplete): Use it.
* lisp/erc/erc-dcc.el (erc-dcc-chat-mode-map): Use completion-at-point.
(erc-dcc-chat-mode): Tell completion-at-point to obey
erc-complete-functions.
* lisp/erc/erc-button.el (erc-button-next-function): New function extracted from
erc-button-next.
(button, erc-button-next): Use it.
2011-04-26 10:50:09 -03:00
Daniel Colascione
0438ce915d Implement debug-on-event 2011-04-26 04:26:05 -07:00
Daniel Colascione
8f91bf9345 Improve Windows quoting robustness 2011-04-26 03:44:03 -07:00
Stefan Monnier
d090ed6c78 * lisp/emulation/cua-base.el (cua-selection-mode): Make it toggle again. 2011-04-25 15:17:17 -03:00
Michael Albinus
bfd31217ea * net/tramp.el (tramp-process-actions): Add POS argument. Delete
region between POS and (pos).

* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use
`nil' position in `tramp-process-actions' call.
(tramp-maybe-open-connection): Call `tramp-process-actions' with pos.

* net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
position in `tramp-process-actions' call.

* net/trampver.el: Update release number.
2011-04-25 20:10:17 +02:00
Stefan Monnier
850256b5e9 * lisp/custom.el (defcustom): Obey lexical-binding. 2011-04-25 13:52:51 -03:00
Stefan Monnier
e92f3bd31b Fix octave-inf completion problems reported by Alexander Klimov.
* lisp/progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
Inherit from octave-mode-syntax-table.
(inferior-octave-mode): Set info-lookup-mode.
(inferior-octave-completion-at-point): New function.
(inferior-octave-complete): Use it and completion-in-region.
(inferior-octave-dynamic-complete-functions): Use it as well, and use
comint-filename-completion.
* lisp/progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
symbol elements which shouldn't be word elements.
(octave-font-lock-keywords, octave-beginning-of-defun)
(octave-function-header-regexp): Adjust regexps accordingly.
(octave-mode-map): Also use info-lookup-symbol for C-c C-h.
2011-04-25 13:29:31 -03:00
Juanma Barranquero
cd22b309b4 lisp/net/gnutls.el (gnutls-errorp): Declare before first use. 2011-04-25 15:47:23 +02:00
Teodor Zlatanov
e2822bd2ea gnus-registry.el (gnus-registry-ignore-group-p): Don't call `gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist. 2011-04-25 04:32:07 +00:00
Ted Zlatanov
8b492194a9 Bug fixes and certificate and hostname verification for the Emacs GnuTLS support.
* lisp/net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
verify-error, and verify-hostname-error parameters.  Check whether
default trustfile exists before going to use it. Add missing
argument to gnutls-message-maybe call. Return return value.
Reported by Claudio Bley <claudio.bley@gmail.com>.
(open-gnutls-stream): Add usage example.

* lisp/net/network-stream.el (network-stream-open-starttls): Give host
parameter to `gnutls-negotiate'.
(gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
2011-04-24 20:31:45 -05:00
Daniel Colascione
05842630f9 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use
correct match group (bug#8438).
2011-04-24 17:31:41 -07:00
Lars Magne Ingebrigtsen
a3af29290e shr.el (shr-tag-sup, shr-tag-sub): New functions. 2011-04-24 22:12:21 +00:00
Chong Yidong
512e3ae1e9 Restore ability to show a restricted list of packages in Package Menu.
* emacs-lisp/package.el (package-built-in-p): Fix typo.
(package-menu--generate): New arg specifying packages to show.
(package-menu-refresh, package-menu-execute, list-packages):
Callers changed.
(package-show-package-list): New function.

* finder.el (finder-list-matches): Use package-show-package-list
instead of deleted package--list-packages.
2011-04-24 16:32:23 -04:00
Chong Yidong
3ba7869ce8 Add vc-annotate-goto-line.
* vc/vc-annotate.el (vc-annotate-goto-line): New command.  Based
on a previous implementation by Juanma Barranquero (Bug#8366).
(vc-annotate-mode-map): Bind it to RET.
2011-04-24 15:37:47 -04:00
Uday S Reddy
7031be6d49 Fix next-file command in etags.el.
* lisp/progmodes/etags.el (next-file): Don't use set-buffer to change
buffers (Bug#8478).

* doc/lisp/maintaining.texi (List Tags): Document next-file.
2011-04-24 14:47:17 -04:00
Chong Yidong
c8d173eb1e * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529). 2011-04-23 20:24:30 -04:00
Chong Yidong
4ef177aa26 Improve apropos buffer highlighting.
* lisp/apropos.el (apropos-label-face): Avoid variable-pitch face.
(apropos-accumulator): Doc fix.
(apropos-function, apropos-macro, apropos-command)
(apropos-variable, apropos-face, apropos-group, apropos-widget)
(apropos-plist): Add face property.
(apropos-symbols-internal): Fix indentation.
(apropos-print): Simplify help, and recognize apropos-multi-type.
(apropos-print-doc): Use button-type-get to extract the button's
face property.  Fill docstring (Bug#8352).
2011-04-23 20:15:26 -04:00
Glenn Morris
4ffd0d6b56 Merge from emacs-23; up to 2010-06-09T17:54:28Z!albinus@detlef. 2011-04-22 20:07:16 -07:00
Glenn Morris
81de9236e1 * lisp/gnus/gnus-sum.el (gnus-extra-headers): Bump :version. 2011-04-22 19:18:10 -07:00
Teodor Zlatanov
74db886b06 gnus-registry.el (gnus-registry-ignore-group-p): Test specifically for the case where gnus-registry-ignored-groups' is a list of lists, and don't call gnus-parameter-registry-ignore' otherwise. 2011-04-23 00:08:28 +00:00
Juanma Barranquero
c2fb1b6051 lisp/eshell/esh-mode.el (find-tag-interactive): Small cleanup.
* eshell/esh-mode.el (find-tag-interactive): Declare function.
  (eshell-find-tag): Remove `with-no-warnings', unneeded now.
  Pass argument NO-DEFAULT to `find-tag-interactive'.
2011-04-22 22:15:21 +02:00
Juanma Barranquero
be71f8100a lisp/buff-menu.el (Buffer-menu--buffers): Fix typo in docstring.
Fixes: debbugs:8535
2011-04-22 20:49:58 +02:00
Juanma Barranquero
e02f48d76b lisp/progmodes/*.el: Lexical-binding cleanup. 2011-04-22 20:44:26 +02:00
Chong Yidong
7ede3b6577 Doc fixes for package.el.
* emacs-lisp/package.el (package--builtins, package-alist)
(package-load-descriptor, package-built-in-p, package-activate)
(define-package, package-installed-p)
(package-compute-transaction, package-buffer-info)
(package--push): Doc fix.  Distinguish more clearly between
version strings and version lists.
2011-04-21 22:35:48 -04:00
Teodor Zlatanov
5e68f8614f nnimap.el (nnimap-user): New backend variable.
(nnimap-open-connection-1): Use it.
 (nnimap-credentials): Accept user parameter so it's explicit what user name is desired.
2011-04-22 01:01:32 +00:00
Teodor Zlatanov
a6e77075d4 gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to default.
gnus-registry.el: Mention in comments how to modify `gnus-extra-headers' for proper recipient tracking and that it may already have To and Cc recently, which it does as of this commit.
2011-04-22 00:37:01 +00:00
Teodor Zlatanov
c024b02129 gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el, not gnus-registry.el.
gnus-registry.el (gnus-registry-ignored-groups): Remove defcustom.  Explain why in comments.
 (gnus-registry-action): Fix data-header reference to use the extra headers.  Explain in package commentary how to add To and Cc headers to the gnus-extra-headers.
 (gnus-registry-ignored-groups): Adjust defaults to match the parameter.
 (gnus-registry-ignore-group-p): Adjust to take either a group/topic parameter list or a string list in `gnus-registry-ignored-groups'.  Fix logic error.
2011-04-21 22:06:12 +00:00
Juanma Barranquero
121656e9e3 lisp/play/*.el: Lexical-binding cleanup. 2011-04-21 14:24:46 +02:00
Juanma Barranquero
c6c3212525 lisp/play/mpuz.el: Small fixes.
* play/mpuz (mpuz-silent): Doc fix.
  (mpuz-mode-map): Move initialization into declaration.
  (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
  (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
  Fix typos in docstrings.
2011-04-21 14:06:01 +02:00
Katsumi Yamaoka
891e751b65 shr.el (shr-expand-url): Fix typo. 2011-04-21 02:48:04 +00:00
Juanma Barranquero
58d468b44d lisp/play/doctor.el: Fix typos in docstrings. 2011-04-21 04:45:31 +02:00
Lars Magne Ingebrigtsen
2b45516032 shr.el (shr-expand-url): Protect against null urls. 2011-04-21 02:22:56 +00:00