1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

100604 Commits

Author SHA1 Message Date
Glenn Morris
fa5d79db2c Eliminate some duplication in top-level Makefile.in.
* Makefile.in (SUBDIR_MAKEFILES_IN): New variable.
(SUBDIR_MAKEFILES): Derive from $SUBDIR_MAKEFILES_IN.
(Makefile): Use $SUBDIR_MAKEFILES_IN.
2011-05-23 20:40:14 -07:00
Glenn Morris
f86307039d * lisp/progmodes/python.el (brm-menu): Declare. 2011-05-23 20:38:35 -07:00
Glenn Morris
8831bbeda4 * lisp/emulation/viper.el (viper-set-hooks): Declare. 2011-05-23 20:37:31 -07:00
Glenn Morris
eb8a5e9b13 Small cleanup of recent 5x5.el changes.
* lisp/play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
(5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
(math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
(math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
(calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
(calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
2011-05-23 20:36:06 -07:00
Stefan Monnier
a2a25d2435 Add an :exit-function for completion-at-point.
* lisp/minibuffer.el (completion--done): New fun.
(completion--do-completion): Use it.  New arg `expect-exact'.
(minibuffer-complete, minibuffer-complete-word): Don't output message,
since completion--do-completion does it for us now.
(minibuffer-force-complete): Use completion--done and
completion--replace.  Handle sole-completion case with more care.
(minibuffer-complete-and-exit): Use new `expect-exact' arg.
(completion-extra-properties): New var.
(completion-annotate-function): Make obsolete.
(minibuffer-completion-help): Adjust accordingly.
Use completion-list-insert-choice-function.
(completion-at-point, completion-help-at-point):
Bind completion-extra-properties.
(completion-pcm-word-delimiters): Add | (for uniquify, for example).
* lisp/simple.el (completion-list-insert-choice-function): New var.
(completion-setup-function): Preserve it.
(choose-completion): Pay attention to it, shuffle the code a bit.
(choose-completion-string): New arg `insert-function'.

* lisp/textmodes/bibtex.el: Convert to lexical binding.
(bibtex-mode-map): Use completion-at-point.
(bibtex-mode): Use define-derived-mode&completion-at-point-functions.
(bibtex-completion-at-point-function): New fun, from bibtex-complete.
(bibtex-complete): Define as obsolete alias.
(bibtex-complete-internal): Remove.
(bibtex-format-entry): Remove unused sub-group in regexp.
* lisp/shell.el (shell--command-completion-data)
(shell-environment-variable-completion):
* lisp/pcomplete.el (pcomplete-completions-at-point):
* lisp/comint.el (comint--complete-file-name-data): Use :exit-function
instead of completion-table-with-terminator so it also works for
choose-completion.
2011-05-23 23:45:50 -03:00
Paul Eggert
2df215b526 * lib/verify.h: Merge from gnulib. 2011-05-23 14:53:22 -07:00
Stefan Monnier
4f91a8160f Don't quote lambda expressions with `quote'. 2011-05-23 14:57:17 -03:00
Stefan Monnier
782fc81943 * lisp/vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark.
Fixes: debbugs:8710
2011-05-23 14:03:03 -03:00
Stefan Monnier
e44e373d30 * lisp/emacs-lisp/lisp.el (up-list): Fix forward movement.
Fixes: debbugs:8708
2011-05-23 13:40:16 -03:00
Ken Manheimer
381987c350 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
customization variable and implement: If non-nil, auto-fill will be
inhibited while on topic's header line.
2011-05-23 11:03:04 -04:00
Vincent Belaïche
b776bc70b7 * lisp/play/5x5.el: I/ Add an arithmetic solver to suggest positions to
click on. II/ Make 5x5 multisession. III/ Ensure that random grids
always have a solution in grid size = 5 cases.
(5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
(5x5-solver-output, 5x5-log-buffer): New vars.
(5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
Make these variables buffer local to achieve 5x5 multi-session-ness.
(5x5): Set 5x5-grid-size only if SIZE is non-negative.
(5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
(5x5-solve-suggest): New funs.
(5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
randomize a grid so that we ensure that there is always a solution.
(5x5-make-random-grid): Allow other movement than flipping.
2011-05-23 11:46:41 -03:00
Kevin Ryde
7de88b6e91 * lisp/emacs-lisp/advice.el (ad-read-advised-function):
Use `function-called-at-point' as the default default, if it has
advice and passes PREDICATE.
2011-05-23 11:38:28 -03:00
Stefan Monnier
bbca48fe46 * lisp/emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
byte-compile-lambda if it's actually a lambda.
2011-05-22 22:15:17 -03:00
Stefan Monnier
b1ef1257fe * lisp/emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
Fix function quoting.  Use backquote better.
2011-05-22 21:39:25 -03:00
Paul Eggert
7400048f60 * gnutls.c: Remove unused macros.
(fn_gnutls_transport_set_lowat, fn_gnutls_transport_set_pull_function):
(fn_gnutls_transport_set_push_function) [!WINDOWSNT]:
Remove macros that are defined and never used.
Caught by gcc -Wunused-macros (GCC 4.6.0, Fedora 14).
2011-05-22 17:03:40 -07:00
Chong Yidong
abb71cf449 Remove var mistakenly introduced in 2011-05-22T19:46:47Z!cyd@stupidchicken.com.
* src/xselect.c (syms_of_xselect): Remove unused symbol SAVE_TARGETS.
(Fx_get_selection_internal): Minor cleanup.
(Fx_own_selection_internal): Rename arguments for consistency with
select.el.
2011-05-22 17:57:43 -04:00
Paul Eggert
3f7390b223 Merge from mainline. 2011-05-22 14:16:24 -07:00
Paul Eggert
6307db3930 * xselect.c (QSAVE_TARGETS): New static var, to fix build failure. 2011-05-22 14:12:04 -07:00
Paul Eggert
f518ae90a6 Merge from gnulib. 2011-05-22 14:02:48 -07:00
Yuanle Song
92a9cc651a Make rng-xsd-check-pattern case sensitive (Bug#8516).
* nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
matching.
2011-05-22 15:46:47 -04:00
Chong Yidong
f3d4e0a47d * src/xselect.c (syms_of_xselect): Include character.h; use DEFSYM. 2011-05-22 15:39:54 -04:00
Jari Aalto
f0fb805946 Maked "edited" tag stand out in vc-dir (Bug#8178).
* vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
different face.
2011-05-22 15:36:07 -04:00
Chong Yidong
d5b44c937b Fix diff-changed face definition.
* lisp/vc/diff-mode.el (diff-changed): Don't use terminal specs for
defface (Bug#8144).
2011-05-22 15:22:37 -04:00
Chong Yidong
313f790eb7 Doc fixes for mule.texi.
* mule.texi (Specify Coding, Text Coding, Communication Coding):
(File Name Coding, Terminal Coding): Add command names (Bug#8312).
2011-05-22 15:05:14 -04:00
Stefan Monnier
9c848d8a75 * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
funcall as well.  Warn when performing those conversions.
* lisp/emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.

Fixes: debbugs:8712
2011-05-22 15:22:30 -03:00
Stefan Monnier
79106a44d3 * lisp/progmodes/grep.el (grep-mode): Fix it for good!
Fixes: debbugs:8684
2011-05-22 14:19:24 -03:00
Glenn Morris
162d78a17e Further tweak previous files.el change.
* lisp/files.el (hack-local-variables): In the MODE-ONLY case, try to
ignore minor modes.
2011-05-21 18:18:49 -07:00
Glenn Morris
80614e5701 Tweak previous files.el change.
* lisp/files.el (hack-local-variables-prop-line)
(hack-local-variables): In the MODE-ONLY case, return the full mode
symbol, including "-mode".
2011-05-21 17:34:41 -07:00
Glenn Morris
88dfa7568a More small hack-local-variables tweaks for MODE-ONLY case.
* lisp/files.el (hack-local-variables-prop-line): Small simplifications.
(hack-local-variables, hack-local-variables-prop-line):
If MODE-ONLY, return the mode, rather than just `t'.
2011-05-21 17:04:49 -07:00
Stefan Monnier
b7cf2c79c7 * lisp/progmodes/grep.el (grep-mode): Fix last change.
Fixes: debbugs:8684
2011-05-21 20:18:22 -03:00
Glenn Morris
7e4ccca345 Small files.el hack-local changes for mode-only case.
* lisp/files.el (hack-local-variables-prop-line, hack-local-variables):
If only interested in the mode, don't bother doing the other stuff.
2011-05-21 15:33:12 -07:00
Glenn Morris
2a35386df4 * admin/bzrmerge.el (bzrmerge-resolve): Suppress prompts about file-locals. 2011-05-21 14:19:30 -07:00
Glenn Morris
e8c061395d Auto-commit of loaddefs files. 2011-05-21 06:19:46 -04:00
Andreas Schwab
16b71f3a74 * Makefile.in (AUTOMAKE_INPUTS): Add $(srcdir)/lib/gnulib.mk. 2011-05-21 11:53:32 +02:00
Glenn Morris
8d366f40eb * lib-src/etags.c: Fix typo in previous comment change. 2011-05-20 19:27:00 -07:00
Glenn Morris
a57471f935 Merge from emacs-23; up to 2010-06-11T18:51:00Z!juri@jurta.org. 2011-05-20 19:15:34 -07:00
Glenn Morris
637d46ca18 image-mode fix for bug#8567.
* image-mode.el (image-after-revert-hook):
Redraw all frames on which the image is visible.
2011-05-20 19:09:49 -07:00
Glenn Morris
e5638bc123 * lib-src/etags.c: Comment. 2011-05-20 19:08:21 -07:00
Glenn Morris
973d955b4d * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887) 2011-05-20 19:07:25 -07:00
Glenn Morris
3f1a855858 * wid-edit.el (widget-checklist-match-inline): Fix 2011-04-19 change. (Bug#8649) 2011-05-20 19:06:11 -07:00
Glenn Morris
33cf345f0c * src/Makefile.in (SOME_MACHINE_OBJECTS): Add some more files. 2011-05-20 19:04:48 -07:00
Glenn Morris
32078c8d48 * src/Makefile.in ($(etc)/DOC): Make second command line even shorter. 2011-05-20 19:02:42 -07:00
YAMAMOTO Mitsuharu
4d8ade8957 * dispnew.c (scrolling_window): Don't exclude the case that the
last enabled row in the desired matrix touches the bottom boundary.
2011-05-21 10:56:45 +09:00
Stefan Monnier
1dcf791fef * lisp/emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
Also allow singlespace after single-letter capitals followed by a dot.
2011-05-20 15:20:12 -03:00
Stefan Monnier
96479927c9 * lisp/nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
enabled.  Suggested by James Ahlborn <jahlborn@gmail.com>.

Fixes: debbugs:8704
2011-05-20 10:15:00 -03:00
Eli Zaretskii
6a45b46fdd .bzrignore: Add lib/stdio.in-h, lib/stdbool.h, and lib/stdint.h. 2011-05-20 12:54:04 +03:00
Eli Zaretskii
7285dc67f4 Fix the MSDOS build as follows from 2011-05-19T06:04:16Z!rgm@gnu.org, 2011-05-20T00:41:03Z!rgm@gnu.org.
config.bat: Concatenate lisp.mk onto the end of src/Makefile.
 msdos/sed1v2.inp (make-docfile commands): Recognize only if the line
 begins with a TAB.  Use $(etc) rather than a literal "../etc".
 (`sed SED-COMMAND $(srcdir)/lisp.mk`): Edit to replace with "$(lisp).
 (@lisp_frag@): Edit out.
 msdos/sedlibmk.inp (GNULIB_GROUP_MEMBER, HAVE_GROUP_MEMBER): Edit to
 zero.
 src/callproc.c (Fcall_process) [MSDOS]: Fix arguments to
 report_file_error introduced by the change from 2011-05-07.
2011-05-20 12:47:59 +03:00
Paul Eggert
89d1bd225c * systime.h (Time): Define only if emacs is defined.
This is to allow ../lib-src/profile.c to be compiled on FreeBSD,
where the include path doesn't have X11/X.h by default.  See
<http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00561.html>.
2011-05-19 23:37:13 -07:00
Teodor Zlatanov
b018a6c910 gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide the thread moves us backwards and so we loop forever. 2011-05-20 01:00:46 +00:00
Kenichi Handa
e23640bb69 merge trunk 2011-05-20 09:54:09 +09:00