1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

96684 commits

Author SHA1 Message Date
Dan Nicolaescu
a0310a6c22 Declare and define in one step various mode maps.
* lisp/shell.el (shell-mode-map):
* lisp/progmodes/modula2.el (m2-mode-map):
* lisp/progmodes/inf-lisp.el (inferior-lisp-mode-map):
* lisp/play/mpuz.el (mpuz-mode-map):
* lisp/play/landmark.el (lm-mode-map):
* lisp/play/decipher.el (decipher-mode-map):
* lisp/play/5x5.el (5x5-mode-map):
* lisp/net/telnet.el (telnet-mode-map):
* lisp/net/quickurl.el (quickurl-list-mode-map):
* lisp/net/mairix.el (mairix-searches-mode-map):
* lisp/net/eudc-hotlist.el (eudc-hotlist-mode-map):
* lisp/net/dig.el (dig-mode-map):
* lisp/mail/mspools.el (mspools-mode-map):
* lisp/hexl.el (hexl-mode-map):
* lisp/emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
(wordstar-C-o-map, wordstar-C-q-map):
* lisp/emacs-lisp/edebug.el (edebug-eval-mode-map):
* lisp/emacs-lisp/chart.el (chart-map):
* lisp/edmacro.el (edmacro-mode-map):
* lisp/array.el (array-mode-map): Declare and define in one step.

* lisp/erc/erc-list.el (erc-list-menu-mode-map): Declare and define in one step.
2010-10-10 16:12:30 -07:00
Gnus developers
dab0271f8d Merge changes made in Gnus trunk.
nnimap.el (nnimap-wait-for-response): If the user hits `C-g', kill the process, too.
nnir.el (gnus-summary-nnir-goto-thread): Modify to work with imap.
nnimap.el (nnimap-update-info): If the server doesn't return any useful info, just use the previous info.
nnimap.el (nnimap-update-info): Prefer old info over start-article.
nnimap.el (nnimap-update-qresync-info): Finish implementing QRESYNC.
auth-source.el (auth-source-create): Use (user-login-name) for the user name default.
nnimap.el (nnimap-open-connection): Use gnutls STARTTLS, if available.
nnimap.el (nnimap-update-info): Rely more on the current active than the param active to avoid marking articles as read too much.
gnus-sum.el (gnus-summary-set-local-parameters): Ignore the `active' non-variable, too.
nnimap.el (nnimap-update-qresync-info): \Flagged messages are read for Gnus.
nnimap.el (nnimap-retrieve-group-data-early): utf7-encode the group parameters.
nnimap.el (nnimap-update-qresync-info): Mark \Seen articles as read.
2010-10-10 22:48:40 +00:00
Lars Magne Ingebrigtsen
355cdaf37b Fix gnutls write-before-negotiation case.
* gnutls.c (emacs_gnutls_write): If we're trying to write before
gnutls is ready, return EAGAIN as the errno.
2010-10-10 20:47:45 +02:00
Dan Nicolaescu
edfd76ce91 Remove #ifdef emacs / #ifndef emacs code, unused.
* src/vm-limit.c:
* src/unexhp9k800.c:
* src/unexelf.c:
* src/unexaix.c:
* src/termcap.c: Remove #ifdef emacs / #ifndef emacs code, unused.
2010-10-10 08:49:31 -07:00
Dan Nicolaescu
a4daeecfef Pass CFLAGS to the linker.
* configure.in (PROFILING_LDFLAGS): Do not define, remove all uses.

* lib-src/Makefile.in (PROFILING_LDFLAGS): Remove, not needed.

* msdos/sed1v2.inp (PROFILING_LDFLAGS):
* msdos/sed3v2.inp (PROFILING_LDFLAGS): Remove, not defined anymore.

* src/Makefile.in (temacs): Use $(ALL_CFLAGS) on the link line.
(PROFILING_LDFLAGS): Remove, not needed anymore.
2010-10-10 08:35:04 -07:00
Dan Nicolaescu
4cf3ad3065 * src/Makefile.in (CRT_DIR): Move near potential user.
(START_FILE): Move near CRT_DIR, it might use it.
2010-10-10 07:47:43 -07:00
Dan Nicolaescu
2cb72a7552 * src/Makefile.in: Use $(...) everywhere instead of ${...} 2010-10-10 07:43:05 -07:00
Dan Nicolaescu
4c62015720 Small sysdep.c cleanups.
* src/sysdep.c (LPASS8): Remove, unused.
(emacs_ospeed): Change from being a global to a local in the only
user: init_baud_rate.
2010-10-10 06:44:22 -07:00
Eli Zaretskii
c332ebc2ab Rearrange an entry (test commit to bzr++ssh). 2010-10-10 09:39:03 -04:00
Dan Nicolaescu
293e7c22cb * lisp/vc/log-view.el (log-view-mode-map): Bind revert-buffer. 2010-10-09 20:40:58 -07:00
Daiki Ueno
446b12da60 Simplify 2010-10-09T13:27:24Z!larsi@gnus.org.
* epa.el (epa-passphrase-callback-function): Display filename
passed as the 3rd arg.
* epa-file.el (epa-file-passphrase-callback-function): Pass
filename to epa-passphrase-callback-function.
2010-10-10 10:45:45 +09:00
Gnus developers
f7aa248a5b Merge changes made in Gnus trunk.
nnimap.el (nnimap-open-connection): If we have gnutls loaded, then try to use that for the tls stream.
nnimap.el (nnimap-retrieve-group-data-early): Rework the marks code to heed UIDVALIDITY and find out which groups are read-only and not.
nnimap.el (nnimap-get-flags): Use the same marks parsing code as the rest of nnimap.
nnimap.el (nnmail-expiry-target-group): Say that every expiry target group is the "last".
nnir.el (nnir-engines): Fix too many arguments.
nnimap.el: Start implementing QRESYNC support.
gnus.el (gnus-group-set-parameter): Fix typo.
shr.el: Rework the way things are indented by <li> slightly.
spam.el (gnus-summary-mode-map): Bind to "$".
2010-10-10 00:15:21 +00:00
Glenn Morris
e836e5cd04 * doc/misc/Makefile.in: Missed a few spots in the earlier $< change. 2010-10-09 15:40:30 -07:00
Chong Yidong
76c16af806 Interface improvements to cus-theme.el.
* cus-edit.el (custom-face-widget-to-spec)
(custom-face-get-current-spec, custom-face-state): New functions.
(custom-face-set, custom-face-mark-to-save)
(custom-face-value-create, custom-face-state-set): Use them.

* cus-theme.el (custom-theme--listed-faces): New var.
(customize-create-theme): Use *Custom Theme* as the buffer name.
Set revert-buffer-function.  Optional arg BUFFER.  Insert all
faces listed in custom-theme--listed-faces.
(custom-theme-revert): New function.
(custom-theme-add-variable, custom-theme-add-face): Insert at the
bottom of the list.
(custom-theme-write): Prompt for theme name if empty.
(custom-theme-write-variables): Use dolist.
(custom-theme-write-faces): Handle hidden (collapsed) widgets.
2010-10-09 17:54:20 -04:00
Eli Zaretskii
6513b232c8 Fix building manuals on MS-Windows using emacsver.texi.
misc/makefile.w32-in (emacsdir): New variable.
 ($(infodir)/efaq, faq.dvi): Depend on emacsver.texi.
 (ENVADD, $(infodir)/efaq): Add -I$(emacsdir).
 emacs/makefile.w32-in (EMACSSOURCES): Add emacsver.texi.
 lispref/makefile.w32-in (emacsdir): New variable.
 (srcs): Add emacsver.texi.
 ($(infodir)/elisp, elisp.dvi): Add -I$(emacsdir).
2010-10-09 23:38:04 +02:00
Glenn Morris
c1dc72b395 Replace use of VPATH in most doc/ Makefiles.
* doc/lispref/Makefile.in (VPATH): Remove.
(infodir): Make it absolute.
(mkinfodir, $(infodir)/elisp, infoclean): No need to cd $srcdir.

* doc/lispintro/Makefile.in (VPATH): Remove.
(infodir): Make it absolute.
(mkinfodir, $(infodir)/eintr, infoclean): No need to cd $srcdir.

* doc/emacs/Makefile.in (VPATH): Remove.
(infodir): Make it absolute.
(mkinfodir, $(infodir)/emacs, infoclean): No need to cd $srcdir.

* doc/misc/Makefile.in: Comment.
2010-10-09 14:19:09 -07:00
Glenn Morris
4393405b96 Anchor regexps in doc/ `make dist' rules.
* doc/emacs/Makefile.in (dist): Anchor regexps.

* doc/lispintro/Makefile.in (dist): Anchor regexps.

* doc/lsipref/Makefile.in (dist): Anchor regexps.
2010-10-09 13:36:14 -07:00
Glenn Morris
208deadc80 * doc/lispref/Makefile.in (dist): Also copy emacsver.texi, and edit $emacsdir. 2010-10-09 13:28:34 -07:00
Glenn Morris
68db69ed24 Remove references to emacsver.texi.in in doc/ `make dist' rules.
* doc/emacs/Makefile.in (dist): Remove reference to emacsver.texi.in.

* doc/lispref/Makefile.in (dist): Remove reference to emacsver.texi.in.
2010-10-09 13:22:11 -07:00
Glenn Morris
0f05450f83 * doc/misc/Makefile.in (mostlyclean): Delete *.toc. 2010-10-09 13:14:43 -07:00
Glenn Morris
d3a4ac46f5 * doc/misc/Makefile.in: Use $< in rules. 2010-10-09 13:12:18 -07:00
Alan Mackenzie
e15f8aaa0e Enhance fontification of declarators to take account of the
presence/absence of "typedef".

cc-engine.el (c-forward-type): New &optional param "brace-block-too".
(c-forward-decl-or-cast-1): cdr of return value now indicates the
presence of either or both of a "struct"-like keyword and "typedef".

cc-fonts.el (c-complex-decl-matchers): Remove the heuristic fontification
of declarators which follow a "}".
(c-font-lock-declarations): Fontify declarators according to the
presence/absence of "typedef".

cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable for
"typedef".
(c-typedef-decl-key): New lang variable built from c-typedef-decl-kwds.
2010-10-09 19:58:28 +00:00
Glenn Morris
eef3ab9443 Use $< in some doc/*/Makefile rules.
* doc/lispref/Makefile.in (srcs): Put elisp.texi first.
($(infodir)/elisp, elisp.dvi, elisp.pdf): Use $<.

* doc/lispintro/Makefile.in (${infodir}/eintr, emacs-lisp-intro.dvi)
(emacs-lisp-intro.pdf, emacs-lisp-intro.html): Use $<.

* doc/emacs/Makefile.in (EMACSSOURCES): Put emacs.texi first.
($(infodir)/emacs, emacs.dvi, emacs.pdf, emacs-xtra.dvi)
(emacs-xtra.pdf): Use $<.
2010-10-09 12:39:42 -07:00
Glenn Morris
5bd2348590 Fix previous doc/*/Makefile.in change. 2010-10-09 12:27:22 -07:00
Glenn Morris
1f73a2a9a9 * doc/man/b2m.1: Remove file. 2010-10-09 11:51:21 -07:00
Glenn Morris
485bbe962a * make-dist: No more doc/emacs/*.texi.in. 2010-10-09 11:46:57 -07:00
Glenn Morris
aa9db089bc Quieten emacs-devel.
* doc/misc/Makefile.in (maintainer-clean): Remove harmless, long-standing error.

* doc/lispref/Makefile.in (infoclean): Remove harmless, long-standing error.

* doc/lispintro/Makefile.in (infoclean): Remove harmless, long-standing error.

* doc/emacs/Makefile.in (infoclean): Remove harmless, long-standing error.
2010-10-09 11:39:01 -07:00
Glenn Morris
abd40fb4ee Avoid having a directory as a prerequisite in doc Makefiles.
It does not play well with time-stamping.

* doc/misc/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.  Use it in all the info rules, rather than depending
on infodir.

* doc/lispref/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/elisp): Use $mkinfodir instead of infodir.

* doc/lispintro/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/eintr): Use $mkinfodir instead of infodir.

* doc/emacs/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/emacs): Use $mkinfodir instead of infodir.
2010-10-09 11:31:12 -07:00
Glenn Morris
f4f358f172 * configure.in (AC_OUTPUT): Remove doc/emacs/emacsver.texi.
* configure: Regenerate.

* .bzrignore: Remove doc/emacs/emacsver.texi.

* doc/emacs/Makefile.in (distclean): Do not delete emacsver.texi.
* doc/emacs/emacsver.texi: New file, replacing emacsver.texi.in.

* admin/admin.el (set-version): Add doc/emacs/emacsver.texi.
2010-10-09 10:59:55 -07:00
Lars Magne Ingebrigtsen
77aec22102 (ibuffer-mode-map): Don't redefine the cursor keys, since that's too annoying.
Move the filter groups commands to TAB/backtab.
2010-10-09 17:44:44 +02:00
Lars Magne Ingebrigtsen
bda6d2bd8f Don't use foo() to talk about functions. 2010-10-09 16:31:56 +02:00
Lars Magne Ingebrigtsen
2e6c74c53f (emacs_gnutls_write): Check for GNUTLS_E_AGAIN and not EINTR.
According to the documentation, this is correct, and it seems to
make things work.
2010-10-09 15:54:57 +02:00
Lars Magne Ingebrigtsen
7450df5dfc (epa-passphrase-callback-function): Say what we're querying the password for. 2010-10-09 15:27:24 +02:00
Lars Magne Ingebrigtsen
cf321e508b * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
behaviour, don't bury the ibuffer buffer when visiting other
buffers.
2010-10-09 15:23:29 +02:00
Lars Magne Ingebrigtsen
b845653dc0 Make emacs_gnutls_read() return the expected on errors.
Also interface cleanups.
2010-10-09 15:19:30 +02:00
Julien Danjou
1736ad36f8 nnir.el (nnir-read-parm): Fix call to gnus-completing-read. 2010-10-09 09:14:46 +00:00
Julien Danjou
afba0c4b92 shr,el: Allow shr table char to be customized.
gnus-gravatar.el (gnus-gravatar-transform-address): Error errors when retrieving gravatars.
2010-10-09 08:44:12 +00:00
Katsumi Yamaoka
e08ea0f828 gnus.texi: untabify. 2010-10-09 04:22:17 +00:00
Chong Yidong
3625b3e282 * xterm.c (x_draw_relief_rect): Clear corner pixels. 2010-10-08 23:30:31 -04:00
Chong Yidong
587faadd0c More face customization cleanups.
* cus-edit.el (custom-commands, custom-buffer-create-internal)
(custom-magic-value-create): Pad button tags with spaces.
(custom-face-edit): New variable.
(custom-face-value-create): Determine whether to use the usual
face editor here, instead of using custom-face-selected.  Pass
face defaults to custom-face-edit widget.
(custom-face-selected, custom-display-unselected): Delete widgets.
(custom-display-unselected-match): Function removed.
(custom-face-set, custom-face-mark-to-save): Accept
custom-face-edit widgets as the direct widget child.

* wid-edit.el (widget--completing-widget): New var.
(widget-default-complete): Bind it when doing completion.
(widget-string-complete, widget-file-complete): Use it.
2010-10-08 23:23:38 -04:00
Glenn Morris
85d50db7e4 Small simplifications for some cal-hebrew calculations.
* lisp/calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
(holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
(holiday-hebrew-misc): Small simplifications.
2010-10-08 19:25:38 -07:00
Glenn Morris
870b199e02 * configure.in: Combine some conditionals. 2010-10-08 19:16:38 -07:00
Glenn Morris
b13254e712 Add doc/ dependencies on emacsver.texi.
* doc/misc/Makefile.in ($(infodir)/efaq): Depend on emacsver.texi.

* doc/lispref/Makefile.in (srcs): Add emacsver.texi.

* doc/emacs/Makefile.in (EMACSSOURCES): Add emacsver.texi.
2010-10-08 19:09:46 -07:00
Glenn Morris
613c83fc9f Regenerate configure, src/config.in. 2010-10-08 18:59:50 -07:00
Glenn Morris
6e90e2a8df * doc/misc/gnus.texi (Article Washing): Fix previous change. 2010-10-08 18:49:20 -07:00
Glenn Morris
f7a31f1108 Set the version number in the texinfo manuals using configure.
* doc/misc/Makefile.in (emacsdir): New variable.
($(infodir)/efaq): Pass -I $(emacsdir) to makeinfo.
* doc/misc/faq.texi (VER): Replace with EMACSVER from emacsver.texi.

* doc/lispref/Makefile.in (emacsdir): New variable.
(MAKEINFO): Add -I $emacsdir.
(dist): Copy emacsver.texi.
* doc/lispref/book-spine.texinfo, doc/lispref/elisp.texi:
* doc/lispref/vol2.texi, doc/lispref/vol1.texi:
Set EMACSVER by including emacsver.texi.

* doc/emacs/emacsver.texi.in: New file.
* doc/emacs/emacs.texi: Set EMACSVER by including emacsver.texi.
* doc/emacs/Makefile.in (distclean): Delete emacsver.texi.
(dist): Copy emacsver.texi.

* admin/admin.el (set-version): No need to act on doc/ files any more.

* configure.in (AC_OUTPUT): Add doc/emacs/emacsver.texi.
* make-dist: Include doc/emacs/*.texi.in.
2010-10-08 18:41:21 -07:00
Glenn Morris
3fb78d1f33 Remove lib-src/b2m.c and b2m.pl.
Emacs does not use Babyl files since 23.1, and you can use M-x unrmail.

* msdos/mainmake.v2 (install): Remove b2m.

* lisp/emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.

* lib-src/b2m.c, lib-src/b2m.pl: Remove files.
* lib-src/Makefile.in (INSTALLABLES): Remove b2m.
* lib-src/makefile.w32-in ($(BLD)/b2m.$(O)): Remove.

* doc/emacs/ack.texi (Acknowledgments): No more b2m.c.

* admin/quick-install-emacs (PUBLIC_LIBSRC_BINARIES): Remove b2m.

* INSTALL, make-dist: Remove references to b2m.
* Makefile.in (MAN_PAGES): Remove b2m.1.
2010-10-08 18:15:15 -07:00
Glenn Morris
ea274122d5 Mark some doc/ rules as PHONY.
* doc/misc/Makefile.in (.PHONY): Declare info, dvi, pdf and the clean rules.

* doc/lispref/Makefile.in (.PHONY): Declare info, dvi, pdf, dist.

* doc/lispintro/Makefile.in (.PHONY): Declare info, dvi, html, pdf, dist.

* doc/emacs/Makefile.in (.PHONY): Declare info, dvi, pdf, dist.
(emacs): Remove rule.
(dist): No need to deal with the emacs rule any more.
2010-10-08 18:02:21 -07:00
Glenn Morris
a1ab97d068 browse-url.el trivia.
* lisp/net/browse-url.el: Don't require thingatpt, term, dired,
executable, or w3-auto when compiling.
(dired-get-filename, term-char-mode, term-send-down, term-send-string):
Declare.
(browse-url-text-emacs): Require term.
2010-10-08 17:52:12 -07:00
Gnus developers
36d3245fbc shr.el (shr-insert): Don't insert double spaces.
auth.texi (Help for users, GnuPG and EasyPG Assistant Configuration): Update docs.
gnus-registry.el, nnregistry.el: Remove nnregistry refer method auto-install and update docs.
gnus.texi (Finding the Parent, The Gnus Registry, Registry Article Refer Method): Update docs for nnregistry.el.
gnus-demon.el, gnus-group.el, gnus-msg.el, gnus-sum.el, gnus-util.el, gnus.el: Rename `gnus-pull' to `gnus-alist-pull'.
gnus.texi (Article Washing): Add mm-shr.
mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list.
2010-10-08 23:55:33 +00:00