1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

122185 Commits

Author SHA1 Message Date
Xue Fuqiao
714f7313f7 * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference. 2015-07-12 20:53:46 +08:00
Glenn Morris
59a8e71c70 ; Auto-commit of ChangeLog files. 2015-07-12 06:23:58 -04:00
Eric Abrahamsen
168c80efdc gnus-registry.el: Correct function argument order
* lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
Reverse the order of function arguments.
2015-07-11 23:48:09 +00:00
Dmitry Gutov
d6c2b34e9e Bind grep-highlight-matches to nil
* lisp/progmodes/xref.el (xref-collect-matches):
Bind grep-highlight-matches to nil (bug#20728).
2015-07-11 18:56:42 +03:00
Nikolaus Rath
8f1df3c40d nnimap.el: Fix IMAP message size parsing
* lisp/gnus/nnimap.el (nnimap-transform-headers):
Don't assume that UID comes before RFC822.SIZE.
2015-07-11 06:01:43 +00:00
Stefan Monnier
83d824bc40 * lisp/gnus/nnimap.el: Clean up "unused var" warnings
(auth-source-creation-prompts): Declare.
(nnimap-retrieve-headers, nnimap-status-message)
(nnimap-request-create-group, nnimap-request-delete-group)
(nnimap-close-group, nnimap-request-move-article)
(nnimap-request-accept-article, nnimap-request-newgroups)
(nnimap-request-post, nnimap-dummy-active-number)
(nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
(nnimap-parse-flags): Remove unused var `p'.
(nnimap-retrieve-group-data-early): Remove unused var `groups'.
(nnimap-flags-to-marks): Remove unused var `totalp'.
2015-07-10 16:17:13 -04:00
Andy Moreton
8badbad184 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
Copyright-paperwork-exempt: yes
2015-07-10 15:48:11 +03:00
YAMAMOTO Mitsuharu
4e81398f1c * src/macfont.m (macfont_list): Ignore font families lacking font descriptors. 2015-07-10 18:04:34 +09:00
Dmitry Gutov
53cf3cfec1 Don't check the exit status, it can be misleading
* lisp/progmodes/xref.el (xref-collect-matches): Don't check the
exit status, it can be misleading.
2015-07-10 04:40:09 +03:00
Dmitry Gutov
f8c720b55b Introduce a Project API
* lisp/progmodes/project.el: New file.

* lisp/cedet/ede.el: (project-try-ede): New function.
(project-root): New implementation.

* lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
Set project-search-path-function.
(elisp--xref-find-references): Delegate some logic to
project-search-path.
(elisp-search-path): New function.
(elisp-xref-find): Don't implement `matches' anymore.

* lisp/progmodes/etags.el: Don't implement `matches'.
Delegate some logic to project-search-path.
(etags-search-path): New function.

* lisp/progmodes/xref.el (xref-find-function):
Remove `matches' from the API.
(xref-find-regexp): Move whatever common logic was in elisp and
etags implementations, and search the directories returned by
project-directories and project-search-path.
2015-07-10 04:40:09 +03:00
Nicolas Petton
78c3e14aaf * test/automated/map-tests.el (test-map-delete-return-value): Uncomment test. 2015-07-09 19:49:47 +02:00
Nicolas Petton
5509e2f93e Add support for gv.el in map.el
* lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
* lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
* test/automated/map-tests.el: Update tests to work with the new
implementations of map-elt and map-put.
2015-07-09 19:49:47 +02:00
Glenn Morris
2a1591f4d4 * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol. 2015-07-09 13:18:57 -04:00
Dmitry Gutov
c7e9792565 Syntax-propertize until the end of the line first
* lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
until the end of the line first.
2015-07-09 15:30:33 +03:00
Xue Fuqiao
20368cc012 ; Improve documentation of image-goto-frame 2015-07-09 20:24:53 +08:00
Xue Fuqiao
66c79b2d8f * doc/emacs/files.texi (File Archives): Add a cross reference. 2015-07-09 19:40:41 +08:00
Nikolaus Rath
0bec5a22ce nnimap.el: Handle plain value for nnimap-stream
* lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
capabilities, so that a 'plain value for the `nnimap-stream' server
variable is handled correctly.

* doc/misc/gnus.texi (Customizing the IMAP Connection):
Document the 'plain option.
2015-07-09 03:54:03 +00:00
Leo Liu
7a94f28a47 Fix bug in thing-at-point--bounds-of-well-formed-url
* lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
  sure boundary contains current point.
2015-07-09 10:19:42 +08:00
Dmitry Gutov
15fafa34d0 * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse' in the end. 2015-07-09 05:15:50 +03:00
Dmitry Gutov
1f731f9280 Declare whitespace-line-column a safe file-local
* lisp/whitespace.el (whitespace-line-column): Declare to be a
safe file-local when the value is an integer.
2015-07-09 01:38:29 +03:00
Eric Abrahamsen
822d9eb1f9 gnus-group.el: Check if group names are already strings
* lisp/gnus/gnus-group.el (gnus-group-group-name):
The group name may already be a string.
Specifically, in the group list reached from the *Server* buffer,
the 'gnus-group text property returns a string.  Everywhere else
it returns a symbol.
2015-07-08 22:28:50 +00:00
Eric Abrahamsen
adef5b0df4 nnimap.el: Remove unused let variables
* lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
2015-07-08 22:28:24 +00:00
Eli Zaretskii
cd2e23e06f Support "maximized" property of runemacs's shortcut
* nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
the '--maximized' switch to Emacs.
2015-07-08 19:16:49 +03:00
Eli Zaretskii
b953882a75 Support "minimized" property of runemacs's shortcut
* nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
pass the '--iconic' switch to Emacs.  (Bug#20991)
2015-07-08 17:22:15 +03:00
Xue Fuqiao
7da7a9774c Doc fixes
* doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
C-w' in Diff mode.

* doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
Add a cross reference.

; * doc/emacs/search.texi (Regexp Backslash): Minor fix.
2015-07-08 19:17:38 +08:00
Dmitry Gutov
7aea6aa63e ; Fix a typo 2015-07-08 13:57:40 +03:00
Nicolas Richard
e4dd6e8da1 * lisp/obsolete/landmark.el: Add Obsolete-since header 2015-07-08 07:54:28 +02:00
Glenn Morris
0bfc94047d * test/automated/ert-tests.el (ert-test-deftest):
Update for recent changes.
2015-07-07 13:56:40 -04:00
Stefan Monnier
8fb09416ac (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
* lisp/emacs-lisp/gv.el (gv-setter): New function.
(gv-invalid-place): New error.
(gv-get): Use them.
(gv-synthetic-place, gv-delay-error): New places.
* lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
(cl-defgeneric, cl-defmethod): Use gv-setter.
2015-07-07 11:37:04 -04:00
Fabrice Popineau
f800666409 Make vc-tests work with MSYS svn program
* lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
svn is an MSYS program.
2015-07-07 18:06:53 +03:00
Ken Brown
b25770ab64 Improve recent change to emacsclient on Cygwin
* lisp/server.el (server-process-filter): Remove redundant check
that 'cygwin-convert-file-name-from-windows' is defined as a
function on Cygwin.  Don't call that function unless its argument
starts with a drive letter.
2015-07-07 10:24:09 -04:00
Artur Malabarba
1ffd9abcd7 * lisp/emacs-lisp/package.el (package-compute-transaction): Bug fix
Fix void variable due to `found-something' being in the wrong `let'.
2015-07-07 14:59:47 +01:00
Nicolas Richard
6aa1d7635c ; * ChangeLog.2: Add full path for changes I introduced in 6689b53 and a4760a3 2015-07-07 12:38:02 +02:00
Nicolas Richard
1a2773ac2d * lisp/play/landmark.el: Move to lisp/obsolete/
; * etc/NEWS: Mention the change.
2015-07-07 12:32:13 +02:00
Martin Rudalics
f844c020ca Have x-show-tip' handle right' and `bottom' frame parameters.
* src/nsfns.m (compute_tip_xy, Fx_show_tip)
* src/w32fns.c (compute_tip_xy, Fx_show_tip)
* src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
tooltips also via `right' and `bottom' frame parameters.
2015-07-07 08:45:21 +02:00
Stefan Monnier
59b5723c9b Add online-help support to describe types
* lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
(describe-symbol): Improve the selection of default.

* lisp/help-mode.el: Require cl-lib.
(describe-symbol-backends): Move from help-fns.el.
(help-make-xrefs): Use it.

* lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
for types.
(cl--typedef-regexp): New const.
(find-function-regexp-alist): Add entry for types.
(cl-help-type, cl-type-definition): New buttons.
(cl-find-class): New function.
(cl-describe-type): New command.
(cl--describe-class, cl--describe-class-slot)
(cl--describe-class-slots): New functions, moved from eieio-opt.el.

* lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
(cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
New functions.  Moved from eieio-opt.el.
(cl--generic-class-parents): New function, extracted from
cl--generic-struct-specializers.
(cl--generic-struct-specializers): Use it.

* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
Improve constructor's docstrings.
(cl-struct-unknown-slot): New error.
(cl-struct-slot-offset): Use it.

* lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
definition in current-load-list.

* lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
(eieio--add-new-slot): Set it.
(eieio-defclass-internal): Use new name for current-load-list.
(eieio-oref): Add compiler-macro to warn about unknown slots.
* lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
as compile-time as well.  Improve constructor docstrings.

* lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
(eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
(eieio-class-def): Remove button.
(eieio-help-constructor): Use new name for load-history element.
(eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
(eieio-method-documentation): Move to cl-generic.el.
(eieio-display-method-list): Use new names.

* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
Add "define-linline".
(lisp-fdefs): Remove "defsubst".
(el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".

* lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
(macroexp--warn-and-return): Use it to avoid inf-loops.
Add `compile-only' argument.
2015-07-07 02:14:16 -04:00
Fabián Ezequiel Gallina
287bce9888 python.el: Fix local/remote shell environment setup
* lisp/progmodes/python.el (python-shell-with-environment): Fix
remote/local environment setup.

* test/automated/python-tests.el (python-shell-with-environment-1)
(python-shell-with-environment-2): New tests.
2015-07-06 20:08:01 -03:00
Glenn Morris
60ea900848 * lisp/simple.el (set-variable): Tweak recent doc fix. 2015-07-06 16:35:45 -04:00
Ken Brown
f3480939ff * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE 2015-07-06 16:01:46 -04:00
Glenn Morris
6d1df4ee87 * lisp/simple.el (set-variable): Use user-error for type mismatch. 2015-07-06 15:30:51 -04:00
Ken Brown
b81507813a * src/emacs.c (main): Don't increase the stack size on Cygwin 2015-07-06 15:10:38 -04:00
Stefan Monnier
824fc04b66 (describe-symbol): Rewrite describe-function-or-variable
* lisp/help-fns.el (describe-symbol-backends): New var.
(help-xref-stack-item): Declare.
(describe-symbol): Rename from describe-function-or-variable.
Rewrite using describe-symbol-backends instead of help-xref-interned.
* lisp/help.el (help-map): Use it.
* lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
(help-xref-interned): Make it into an obsolete alias.
2015-07-06 13:25:26 -04:00
Stefan Monnier
2a8dca13a7 (eieio-persistent-save): Don't ignore `file' arg (bug#20972)
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
`file' arg.  Always use utf-8-emacs.  Use with-temp-buffer and cl-letf.
2015-07-06 11:55:37 -04:00
Wolfgang Jenkner
c96dd0223c ; Auto-commit of loaddefs files. 2015-07-06 15:10:27 +02:00
Wolfgang Jenkner
c020517dc1 Fix parsing glitches in dired-mark-sexp (bug#13575)
* lisp/dired-x.el (dired-x--string-to-number): New function.
(dired-mark-sexp): Use it.  Tweak dired-re-inode-size.  Fix usage
of directory-listing-before-filename-regexp.  Consider
forward-word harmful and replace it.  Add more verbiage in
comments and doc string.
2015-07-06 15:10:03 +02:00
Fabián Ezequiel Gallina
0fdc3f2ee8 python.el: Respect process environment for remote shells
* lisp/progmodes/python.el
(python-shell-calculate-process-environment): Calculate
process-environment or tramp-remote-process-environment depending
whether current file is remote.
(python-shell-calculate-exec-path): Calculate exec-path or
tramp-remote-path depending whether current file is remote.
(python-shell-with-environment): New macro.
(python-shell-prompt-detect, python-shell-calculate-command)
(python-shell-make-comint, python-check): Use it.
2015-07-06 07:57:14 -03:00
Paul Eggert
8c81ac97fd ; Spelling fixes 2015-07-05 23:17:48 -07:00
Fabián Ezequiel Gallina
f3400f4ca6 python.el: Avoid making let-bound defvars buffer local (Bug#18244)
* lisp/progmodes/python.el (python-shell--interpreter)
(python-shell--interpreter-args): New vars.
(inferior-python-mode, python-shell-make-comint): Use them.
2015-07-06 02:34:44 -03:00
Fabián Ezequiel Gallina
8867296609 ; python.el: Replace eval-when-compile with eval-and-compile 2015-07-06 02:02:06 -03:00
Fabián Ezequiel Gallina
02dc8dac7e python.el: Fixes for IPython 3.x (Bug#20580)
* lisp/progmodes/python.el:
(python-shell-completion-native-setup): Fix IPython 3.x setup.
(python-shell-completion-native-get-completions): Fix timeout
logic.
2015-07-06 01:59:02 -03:00