]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 years agolisp/progmodes/python.el: Updated Copyright years. old-branches/python
Fabián Ezequiel Gallina [Fri, 15 Jun 2012 02:22:19 +0000 (23:22 -0300)]
lisp/progmodes/python.el: Updated Copyright years.

12 years agoMerge from trunk
Fabián Ezequiel Gallina [Fri, 15 Jun 2012 02:05:43 +0000 (23:05 -0300)]
Merge from trunk

12 years agoAdded python.el NEWS entry
Fabián Ezequiel Gallina [Fri, 15 Jun 2012 01:39:03 +0000 (22:39 -0300)]
Added python.el NEWS entry

12 years agoFixes to previous python.el ChangeLog entry.
Fabián Ezequiel Gallina [Fri, 15 Jun 2012 01:38:15 +0000 (22:38 -0300)]
Fixes to previous python.el ChangeLog entry.

12 years ago* lisp/progmodes/python.el: (python-indent, python-guess-indent,
Fabián Ezequiel Gallina [Fri, 15 Jun 2012 01:33:57 +0000 (22:33 -0300)]
* lisp/progmodes/python.el: (python-indent, python-guess-indent,
  python-use-skeletons): New obsolete variable aliases.
  (python-indent-guess-indent-offset): Make interactive.

12 years ago* lisp/emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
Stefan Monnier [Fri, 15 Jun 2012 01:07:03 +0000 (21:07 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
(cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
Use `cl-function' instead.

12 years agolisp/makefile.w32-in (COMPILE_FIRST): Remove subr.el.
Juanma Barranquero [Thu, 14 Jun 2012 23:53:41 +0000 (01:53 +0200)]
lisp/makefile.w32-in (COMPILE_FIRST): Remove subr.el.
Suggested by Stefan Monnier while discussing bug#11657.

12 years ago* lisp/files.el (abort-if-file-too-large): Use `file-size-human-readable'.
Sam Steingold [Thu, 14 Jun 2012 19:55:28 +0000 (15:55 -0400)]
* lisp/files.el (abort-if-file-too-large): Use `file-size-human-readable'.

12 years agoFixes: debbugs:11708
Andreas Schwab [Thu, 14 Jun 2012 14:22:37 +0000 (16:22 +0200)]
Fixes: debbugs:11708
* play/doctor.el (doctor-doc): Remove parameter and use
doctor-sent instead of sent.
(doctor-read-print): Use doctor-sent instead of sent.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Thu, 14 Jun 2012 10:20:32 +0000 (06:20 -0400)]
Auto-commit of loaddefs files.

12 years agoAuto-commit of generated files.
Glenn Morris [Thu, 14 Jun 2012 10:17:26 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years ago.gdbinit: Update to match recent lisp.h changes.
Paul Eggert [Thu, 14 Jun 2012 04:02:35 +0000 (21:02 -0700)]
.gdbinit: Update to match recent lisp.h changes.

12 years agoSimplify lisp.h in minor ways that should not affect code.
Paul Eggert [Thu, 14 Jun 2012 02:27:39 +0000 (19:27 -0700)]
Simplify lisp.h in minor ways that should not affect code.

* lisp.h (USE_2_TAGS_FOR_INTS): Remove, as it was always defined.
(LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P)
(LISP_INT1_TAG, enum Lisp_Type, XINT, XUINT, make_number):
Simplify under the assumption that USE_2_TAGS_FOR_INTS is defined.
(INTTYPEBITS): New macro, for clarity.
(INTMASK, MOST_POSITIVE_FIXNUM): Use it.
(LISP_INT1_TAG, LISP_STRING_TAG, LISP_INT_TAG_P): Simplify
now that USE_LSB_TAG is always defined.
(TYPEMASK, XINT) [USE_LSB_TAG]: Remove unnecessary cast.
(make_number) [!USE_LSB_TAG]: Use INTMASK; that's simpler.

12 years agosrc/makefile.w32-in ($(BLD)/data.$(O)): Update dependencies.
Juanma Barranquero [Wed, 13 Jun 2012 21:37:23 +0000 (23:37 +0200)]
src/makefile.w32-in ($(BLD)/data.$(O)): Update dependencies.

12 years ago* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
Stefan Monnier [Wed, 13 Jun 2012 20:52:25 +0000 (16:52 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
* lisp/files.el: Require cl-lib.
(file-name-non-special): Replace case -> cl-case.

12 years agoRemove some unused definitions from src/s
Glenn Morris [Wed, 13 Jun 2012 18:11:05 +0000 (14:11 -0400)]
Remove some unused definitions from src/s

* src/s/bsd-common.h (BSD4_3):
* src/s/usg5-4-common.h (USG5_4): No longer define; unused.

* admin/CPP-DEFINES, src/s/template.h: Related edits.

12 years agolisp/url/url-handlers.el (url-handler-regexp): Declare.
Juanma Barranquero [Wed, 13 Jun 2012 16:25:03 +0000 (18:25 +0200)]
lisp/url/url-handlers.el (url-handler-regexp): Declare.

12 years ago* lisp/emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
Stefan Monnier [Wed, 13 Jun 2012 15:46:29 +0000 (11:46 -0400)]
* lisp/emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
mapping from #' to function*.

12 years agoDo not set mark on single mouse-1 clicks.
Chong Yidong [Wed, 13 Jun 2012 15:28:10 +0000 (23:28 +0800)]
Do not set mark on single mouse-1 clicks.

* mouse.el (mouse-drag-track): Do not set the mark if the user
releases the mouse without selecting anything.

Fixes: debbugs:11588
12 years ago* lisp/textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB.
Stefan Monnier [Wed, 13 Jun 2012 13:56:57 +0000 (09:56 -0400)]
* lisp/textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB.

Fixes: debbugs:11646
12 years agoUse a simple struct to implement compile time checks for the Lisp_Object type
Andreas Schwab [Wed, 13 Jun 2012 13:40:48 +0000 (15:40 +0200)]
Use a simple struct to implement compile time checks for the Lisp_Object type

* configure.in: Rename --enable-use-lisp-union-type to
--enable-check-lisp-object-type and define CHECK_LISP_OBJECT_TYPE
instead of USE_LISP_UNION_TYPE.

* admin/make-emacs: Rename --union-type to --check-lisp-type.  Define
CHECK_LISP_OBJECT_TYPE insted of USE_LISP_UNION_TYPE.
* admin/CPP-DEFINES (DEBUG_LISP_OBJECT_TYPE): Renamed from
USE_LISP_UNION_TYPE.

* src/lisp.h (Lisp_Object) [CHECK_LISP_OBJECT_TYPE]: Define as struct
instead of union.
(XLI, XIL): Define.
(XHASH, XTYPE, XINT, XUINT, make_number, XSET, XPNTR, XUNTAG): Use
them.
* src/emacs.c (gdb_use_struct): Renamed from gdb_use_union.
* src/.gdbinit: Check gdb_use_struct instead of gdb_use_union.
* src/alloc.c (widen_to_Lisp_Object): Removed.
(mark_memory): Use XIL instead of widen_to_Lisp_Object.
* src/frame.c (delete_frame): Remove outdated comment.
* src/w32fns.c (Fw32_register_hot_key): Use XLI instead of checking
USE_LISP_UNION_TYPE.
(Fw32_unregister_hot_key): Likewise.
(Fw32_toggle_lock_key): Likewise.
* src/w32menu.c (add_menu_item): Likewise.
(w32_menu_display_help): Use XIL instead of checking
USE_LISP_UNION_TYPE.
* src/w32heap.c (allocate_heap): Don't check USE_LISP_UNION_TYPE.
(init_heap): Likewise.
* src/w32term.c (w32_read_socket): Update comment.

12 years ago* lisp/loadup.el: Count byte-code functions as well.
Stefan Monnier [Wed, 13 Jun 2012 13:18:59 +0000 (09:18 -0400)]
* lisp/loadup.el: Count byte-code functions as well.

12 years ago* lisp/emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
Stefan Monnier [Wed, 13 Jun 2012 13:16:34 +0000 (09:16 -0400)]
* lisp/emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
* lisp/emacs-lisp/bytecomp.el (featurep): ...here.

Fixes: debbugs:11692
12 years ago* lisp/emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt.
Stefan Monnier [Wed, 13 Jun 2012 12:46:33 +0000 (08:46 -0400)]
* lisp/emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt.
Add cl-defun and cl-defmacro.

Fixes: debbugs:11649
12 years ago* lisp/help-mode.el (help-bookmark-make-record, help-bookmark-jump):
Drew Adams [Wed, 13 Jun 2012 12:36:29 +0000 (08:36 -0400)]
* lisp/help-mode.el (help-bookmark-make-record, help-bookmark-jump):
Fix last change.

12 years ago* net/dbus.el (dbus-call-method): Use timeout for `read-event'.
Michael Albinus [Wed, 13 Jun 2012 11:56:53 +0000 (13:56 +0200)]
* net/dbus.el (dbus-call-method): Use timeout for `read-event'.
Otherwise, it blocks in batch mode.

12 years agolisp/help-mode.el (bookmark-make-record-default): Declare.
Juanma Barranquero [Wed, 13 Jun 2012 11:13:17 +0000 (13:13 +0200)]
lisp/help-mode.el (bookmark-make-record-default): Declare.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Wed, 13 Jun 2012 10:20:28 +0000 (06:20 -0400)]
Auto-commit of loaddefs files.

12 years agoAuto-commit of generated files.
Glenn Morris [Wed, 13 Jun 2012 10:17:27 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years ago* tutorials/TUTORIAL.sv: Fix grammar and a couple of typos.
Deniz Dogan [Wed, 13 Jun 2012 09:10:01 +0000 (11:10 +0200)]
* tutorials/TUTORIAL.sv: Fix grammar and a couple of typos.

12 years agoIn the Package Menu, indicate packages that are newly-available.
Chong Yidong [Wed, 13 Jun 2012 07:33:38 +0000 (15:33 +0800)]
In the Package Menu, indicate packages that are newly-available.

* lisp/emacs-lisp/package.el (list-packages): Compute a list of
packages that are newly-available since the last list-packages
invocation.
(package-menu--new-package-list): New var.
(package-menu--generate, package-menu--print-info)
(package-menu--status-predicate, package-menu-mark-install):
Handle new status label "new".

12 years agoRemove HAVE_SYSV_SIGPAUSE unused remnants
Glenn Morris [Wed, 13 Jun 2012 02:39:20 +0000 (22:39 -0400)]
Remove HAVE_SYSV_SIGPAUSE unused remnants

* src/s/usg5-4-common.h, src/s/unixware.h:
Remove define/undef of HAVE_SYSV_SIGPAUSE (not used since 2010-05-04).

* admin/CPP-DEFINES: Remove HAVE_SYSV_SIGPAUSE.

12 years ago* src/s/gnu.h (POSIX_SIGNALS): Remove (again).
Glenn Morris [Wed, 13 Jun 2012 02:32:49 +0000 (22:32 -0400)]
* src/s/gnu.h (POSIX_SIGNALS): Remove (again).

This was added in 2012-01 in response to http://debbugs.gnu.org/10552 .
However, this issue had already been fixed in the trunk two years
earlier, by removing POSIX_SIGNALS altogether. Ref:

http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00002.html

12 years agoUSE_LISP_UNION_TYPE + USE_LSB_TAG cleanup (Bug#11604)
Paul Eggert [Wed, 13 Jun 2012 00:26:40 +0000 (17:26 -0700)]
USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup (Bug#11604)

* alloc.c (make_number) [!defined make_number]:
Remove, as lisp.h always defines this now.
(mark_maybe_pointer): Simplify since USE_LSB_TAG is always defined now.
(roundup_size): Verify that it is a power of 2.
* data.c (Fmake_variable_buffer_local, Fmake_local_variable):
* ftfont.c (ftfont_driver): Use LISP_INITIALLY_ZERO.
* lisp.h (USE_LSB_TAG): Allow the builder to compile with
-DUSE_LSB_TAG=0, to override the automatically-selected default.
USE_LSB_TAG now is always defined to be either 0 or 1.
All uses changed.
(union Lisp_Object): Don't worry about WORDS_BIGENDIAN; the
code works fine either way, and efficiency is not a concern here,
as the union type is for debugging, not for production.
(LISP_MAKE_RVALUE, make_number) [USE_LISP_UNION_TYPE]:
Use an inline function on all platforms when using the union type,
since this is simpler and 'static inline' can be used portably
within Emacs now.
(LISP_INITIALLY_ZERO): New macro.
(XFASTINT, XSETFASTINT) [USE_LISP_UNION_TYPE]: Remove.
(XSET) [USE_LISP_UNION_TYPE]: Don't overparenthesize.

12 years agoCombine adjacent case blocks.
Glenn Morris [Tue, 12 Jun 2012 19:15:47 +0000 (15:15 -0400)]
Combine adjacent case blocks.

12 years agoRemove src/s/sol2-10.h
Glenn Morris [Tue, 12 Jun 2012 19:03:32 +0000 (15:03 -0400)]
Remove src/s/sol2-10.h

* configure.in (HAVE_PROCFS, _STRUCTURED_PROC): New AC_DEFINEs.
(opsysfile): Set specially for sol2-10.

* src/s/gnu-linux.h (HAVE_PROCFS): Move to configure.

* src/s/sol2-10.h: Remove file.

12 years agoRemove src/s/hpux11.h
Glenn Morris [Tue, 12 Jun 2012 18:44:31 +0000 (14:44 -0400)]
Remove src/s/hpux11.h

* configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS): New AC_DEFINEs.
(opsysfile): Set specially for hpux11.

* src/s/hpux11.h: Remove file.

12 years ago* lisp/emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
Stefan Monnier [Tue, 12 Jun 2012 18:10:34 +0000 (14:10 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
conversion to backquotes.

12 years agoDrop some `quotes' in configure.in's final summary
Glenn Morris [Tue, 12 Jun 2012 18:06:08 +0000 (14:06 -0400)]
Drop some `quotes' in configure.in's final summary

12 years agoRemove a couple of src/s files
Glenn Morris [Tue, 12 Jun 2012 17:53:25 +0000 (13:53 -0400)]
Remove a couple of src/s files

* configure.in (opsysfile): Set specially for gnu-kfreebsd, openbsd.

* src/s/gnu-kfreebsd.h, src/s/openbsd.h: Remove files.

12 years agoMove NO_TERMIO, BROKEN_SIGIO from src/s to configure
Glenn Morris [Tue, 12 Jun 2012 17:43:09 +0000 (13:43 -0400)]
Move NO_TERMIO, BROKEN_SIGIO from src/s to configure

* configure.in (NO_TERMIO, BROKEN_SIGIO): New AC_DEFINEs.

* src/s/bsd-common.h, src/s/darwin.h, src/s/gnu-kfreebsd.h, src/s/hpux10-20.h:
Remove NO_TERMIO.

* src/s/hpux10-20.h, src/s/openbsd.h, src/s/usg5-4-common.h:
Remove BROKEN_SIGIO.

12 years ago* configure.in: Coalesce some function checking.
Paul Eggert [Tue, 12 Jun 2012 17:27:41 +0000 (10:27 -0700)]
* configure.in: Coalesce some function checking.

This makes 'configure' a bit smaller.
Prefer AC_CHECK_FUNCS_ONCE for functions that we always check for.

12 years ago* configure.in: Anticipate platforms with no src/s file.
Glenn Morris [Tue, 12 Jun 2012 17:19:08 +0000 (13:19 -0400)]
* configure.in: Anticipate platforms with no src/s file.
This is based on the previous treatment of src/m files.

12 years agoFix autoconf quoting in previous change
Glenn Morris [Tue, 12 Jun 2012 16:14:53 +0000 (09:14 -0700)]
Fix autoconf quoting in previous change

12 years agoAuto-commit of generated files.
Glenn Morris [Tue, 12 Jun 2012 10:17:28 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoHandle availability of MagickMergeImageLayers and MagickExportImagePixels
Chong Yidong [Tue, 12 Jun 2012 10:08:39 +0000 (18:08 +0800)]
Handle availability of MagickMergeImageLayers and MagickExportImagePixels

* configure.in: Check for MagickMergeImageLayers.

* src/image.c (imagemagick_load_image): Use MagickFlattenImage if
MagickMergeImageLayers is undefined.  Use pixel pusher loop if
MagickExportImagePixels is undefined.

Fixes: debbugs:11678
12 years ago* url-handlers.el: Re-order file to avoid recursive load.
Chong Yidong [Tue, 12 Jun 2012 10:00:53 +0000 (18:00 +0800)]
* url-handlers.el: Re-order file to avoid recursive load.

12 years agoVarious minor variable/hook cleanups.
Chong Yidong [Tue, 12 Jun 2012 05:47:14 +0000 (13:47 +0800)]
Various minor variable/hook cleanups.

* lisp/emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
Rename from gud-inhibit-global-bindings.

* lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.

* lisp/erc/erc-dcc.el (erc-dcc-chat-filter-functions): Rename from
erc-dcc-chat-filter-hook, since this is an abnormal hook.

* lisp/nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
hook from nxml-glyph-set-hook.

* lisp/progmodes/cwarn.el (cwarn-mode): Remove redundant variable
declaration.

* lisp/progmodes/pascal.el (pascal-toggle-completions): Doc fix.

* lisp/textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
Convert to defcustom.

* lisp/url/url-handlers.el (url-handler-regexp):
* lisp/url/url-nfs.el (url-nfs-automounter-directory-spec):
* lisp/url/url-vars.el (url-load-hook): Convert to defcustom.

12 years agoAdd file missing from last commit.
Nguyen Thai Ngoc Duy [Tue, 12 Jun 2012 04:36:00 +0000 (12:36 +0800)]
Add file missing from last commit.

12 years agoNew input method vietnamese-vni.
Nguyen Thai Ngoc Duy [Tue, 12 Jun 2012 04:35:14 +0000 (12:35 +0800)]
New input method vietnamese-vni.

* leim/quail/vnvi.el: New file.

Fixes: debbugs:11660
12 years ago* lisp/help-mode.el (help-bookmark-make-record, help-bookmark-jump): New funs.
Drew Adams [Tue, 12 Jun 2012 01:03:10 +0000 (21:03 -0400)]
* lisp/help-mode.el (help-bookmark-make-record, help-bookmark-jump): New funs.
(help-mode): Use them.

12 years ago* image.c (imagemagick_load_image): Remove unused label.
Paul Eggert [Tue, 12 Jun 2012 00:30:18 +0000 (17:30 -0700)]
* image.c (imagemagick_load_image): Remove unused label.

12 years agoMove SYSTEM_TYPE from src/s to configure
Glenn Morris [Mon, 11 Jun 2012 23:17:11 +0000 (19:17 -0400)]
Move SYSTEM_TYPE from src/s to configure

* configure.in (SYSTEM_TYPE): New AC_DEFINE.

* msdos/sed2v2.inp (SYSTEM_TYPE): Set it.

* nt/config.nt (SYSTEM_TYPE): Define it.

* src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h:
* src/s/gnu-kfreebsd.h, src/s/gnu-linux.h, src/s/gnu.h, src/s/hpux10-20.h:
* src/s/irix6-5.h, src/s/ms-w32.h, src/s/msdos.h, src/s/template.h:
* src/s/usg5-4-common.h: Remove SYSTEM_TYPE.

12 years agoMerge bugfixes done in Gnus trunk
Gnus developers [Mon, 11 Jun 2012 22:35:02 +0000 (22:35 +0000)]
Merge bugfixes done in Gnus trunk

Those changes fix only the bugs having appeared in the bug list.
Many other Gnus changes not yet merged to Emacs are in:
   ftp://ftp.jpl.org/pub/tmp/MaGnus-to-Emacs.patch
(or http://www.jpl.org/ftp/pub/tmp/MaGnus-to-Emacs.patch)

2012-06-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus.texi (Group Timestamp): Mention where to find documentation for
  the `gnus-tmp-' variables (bug#11601).
2012-04-14 Wolfgang Jenkner <wjenkner@inode.at>
* gnus-agent.el (gnus-agent-retrieve-headers): Recalculate the range of
  articles when fetch-old is non-nil (bug#11370).

12 years agoChange face used for fortran.el directives
Glenn Morris [Mon, 11 Jun 2012 21:07:58 +0000 (17:07 -0400)]
Change face used for fortran.el directives

* lisp/progmodes/fortran.el (fortran-font-lock-keywords-3):
Use preprocessor face for directives.
(fortran-directive-re): Doc fix.

12 years ago* lisp/emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
Stefan Monnier [Mon, 11 Jun 2012 20:47:33 +0000 (16:47 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
conversion to backquotes.

Fixes: debbugs:11652
12 years agoFix compiler-expansion of CL's cXXr functions.
Stefan Monnier [Mon, 11 Jun 2012 20:35:00 +0000 (16:35 -0400)]
Fix compiler-expansion of CL's cXXr functions.
* emacs-lisp/cl-lib.el (cl--defalias): New function.
(cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
(cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
(cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
(cl-ninth, cl-tenth): Mark them as inlinable.
(cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
(cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
(cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
(cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
(cl-list*, cl-adjoin): Don't put an autoload manually.
* emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
(cl--compiler-macro-list*): Add autoload cookie.
(cl--compiler-macro-cXXr): New function.
* help-fns.el (help-fns--compiler-macro): New function extracted from
describe-function-1; follow aliases and use `compiler-macro' property.
(describe-function-1): Use it.

Fixes: debbugs:11673
12 years agoTweak startup image choice logic.
Chong Yidong [Mon, 11 Jun 2012 15:55:32 +0000 (23:55 +0800)]
Tweak startup image choice logic.

* startup.el (fancy-splash-head): Use splash.svg even if librsvg
is uninstalled, if imagemagick is installed.

12 years agoUse lexical-binding for all of CL, and clean up its namespace.
Stefan Monnier [Mon, 11 Jun 2012 15:52:50 +0000 (11:52 -0400)]
Use lexical-binding for all of CL, and clean up its namespace.
* lisp/emacs-lisp/cl-lib.el: Use lexical-binding.
(cl-map-extents, cl-maclisp-member): Remove.
(cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
(cl--set-substring, cl--block-wrapper, cl--block-throw)
(cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
* lisp/emacs-lisp/cl-extra.el: Use lexical-binding.
(cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
(cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
(cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
(cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
* lisp/emacs-lisp/cl-seq.el: Use lexical-binding.
(cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
(cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
(cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
* lisp/emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
* lisp/edmacro.el (edmacro-mismatch): Simplify to remove dependence on
CL's internals.

12 years agoDon't purify in Fmake_byte_code.
Stefan Monnier [Mon, 11 Jun 2012 15:13:27 +0000 (11:13 -0400)]
Don't purify in Fmake_byte_code.
* src/alloc.c (make_byte_code): New function.
(Fmake_byte_code): Use it.  Don't purify here.
* src/lread.c (read1): Use it as well to avoid extra allocation.

12 years agoSupport transparency for ImageMagick images.
Chong Yidong [Mon, 11 Jun 2012 14:42:55 +0000 (22:42 +0800)]
Support transparency for ImageMagick images.

* src/image.c (imagemagick_load_image): Implement transparency.

* doc/lispref/display.texi (ImageMagick Images): ImageMagick now supports the
:background property.

12 years agoNew Tramp features.
Michael Albinus [Mon, 11 Jun 2012 13:22:53 +0000 (15:22 +0200)]
New Tramp features.

12 years agoSync with Tramp 2.2.6-pre.
Michael Albinus [Mon, 11 Jun 2012 13:03:39 +0000 (15:03 +0200)]
Sync with Tramp 2.2.6-pre.

* tramp.texi (all): Use consequently @command{}, @env{} and @kbd{}
where appropriate.
(Ad-hoc multi-hops): New section.
(Remote processes): New subsection "Running remote processes on
Windows hosts".
(History): Add remote commands on Windows, and ad-hoc multi-hop methods.
(External methods): "ControlPersist" must be set to "no" for the
`scpc' method.
(Remote processes): Add a note about `auto-revert-tail-mode'.
(Frequently Asked Questions): Use "scpx" in combination with
"ControlPersist".  Reported by Adam Spiers <emacs@adamspiers.org>.

* trampver.texi: Update release number.

12 years agoSync with Tramp 2.2.6-pre.
Michael Albinus [Mon, 11 Jun 2012 10:30:07 +0000 (12:30 +0200)]
Sync with Tramp 2.2.6-pre.

* net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
  `print-length' and `print-level' to nil, in order to avoid
  truncation.  Reported by Christopher Schmidt
  <christopher@ristopher.com>.

* net/tramp-cmds.el (tramp-cleanup-connection): Delete also
process.

* net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
New defmacro.
(tramp-compat-copy-directory): Add optional argument
COPY-CONTENTS.  It is not handled yet.

* net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
(tramp-ftp-file-name-p): Simplify.

* net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
* net/tramp-gw.el (tramp-gw-open-connection): Add hop to
connection vector.

* net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
(tramp-methods): Do not use `tramp-password-end-of-line'.
(tramp-completion-function-alist-putty): Handle
UNIX case.
(tramp-remote-path): Add "/opt/bin", "/opt/sbin"
and "/opt/local/bin".
(tramp-do-file-attributes-with-stat)
(tramp-do-directory-files-and-attributes-with-stat)
Return uid and gid as real numbers.  They could run out of
integer range on cygwin.
(tramp-do-copy-or-rename-file-out-of-band): Better
trace format.
(tramp-sh-handle-expand-file-name): Handle hops.
(tramp-open-connection-setup-interactive-shell):
Use `tramp-cleanup'.  Move check for busyboxes ...
(tramp-find-shell): ... here.  Simplify
implementation.  Set "remote-shell" property also for alternative
shells.
(tramp-remote-coding-commands): Check "test -c
/dev/stdout".  If failing, a regular file would be written
otherwise.  Reported by
Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
(tramp-find-inline-encoding): Cache the coding
commands in the process cache.  Apply test command on the remote
side, if defined.
(tramp-find-inline-compress): Cache the compress
commands in the process cache.
(tramp-compute-multi-hops): Save
`tramp-default-proxies-alist'
when requested.  Handle hops.
(tramp-current-connection): New defvar.
(tramp-maybe-open-connection): Use
`tramp-cleanup'.  Throw
`suppress', if there was a failed connection
shortly before.  Handle user interrupt.  (Bug#10187)
(tramp-get-inline-compress,
tramp-get-inline-coding): Read
connection properties from the process cache.

* net/tramp-smb.el (tramp-smb-server-version)
(tramp-smb-wrong-passwd-regexp,
tramp-smb-actions-with-tar): New defconsts.
(tramp-smb-prompt): Extend for powershell prompt.
(tramp-smb-file-name-handler-alist): Add handlers for
`process-file', `shell-command' and
`start-file-process'.
(tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
(tramp-smb-winexe-shell-command-switch): New
defcustoms.
(tramp-smb-file-name-p): Simplify.
(tramp-smb-action-with-tar,
tramp-smb-handle-process-file)
(tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
(tramp-smb-shell-quote-argument): New defuns.
(tramp-smb-handle-copy-directory): Add
COPY-CONTENTS argument.
Implement using "tar".  By this, time-stamps are
preserved.
(tramp-smb-handle-copy-file): Handle also the case
of directories.
(tramp-smb-do-file-attributes-with-stat)
(tramp-smb-get-file-entries,
tramp-smb-get-cifs-capabilities): Use
`tramp-get-connection-buffer').
(tramp-smb-handle-rename-file): Use "rename", when source and
target are on the same share.
(tramp-smb-maybe-open-connection): Handle wrong passwords.  Use
`tramp-smb-server-version'.
(tramp-smb-wait-for-output): Remove prompt.

* net/tramp.el (top): Require 'cl.
(tramp-methods, tramp-rsh-end-of-line): Remove
`tramp-password-end-of-line' from docstring.
(tramp-save-ad-hoc-proxies): New defcustom.
(tramp-completion-function-alist): Adapt docstring.
(tramp-default-password-end-of-line): Remove defcustom.
(tramp-shell-prompt-pattern): Allow "[]" style
prompts.  (Bug#11065)
(tramp-user-regexp, tramp-file-name-regexp-unified)
(tramp-file-name-regexp-url): Extend regexp by hop
separator.
(tramp-postfix-hop-format,
tramp-postfix-hop-regexp)
(tramp-remote-file-name-spec-regexp): New defconst.
(tramp-file-name-structure): Extend structure for
hops.
(tramp-get-method-parameter): Move up.
(tramp-file-name-p, tramp-dissect-file-name)
(with-parsed-tramp-file-name): Handle hops.
(tramp-file-name-hop): New defun.
(tramp-make-tramp-file-name): New optional arg HOP.
(tramp-message-show-progress-reporter-message):
New defvar.
(tramp-with-progress-reporter): Use it.  We cannot use
`tramp-message-show-message' here, because this
suppresses also error buffers.
(tramp-error-with-buffer): Suppress buffer view, if
`tramp-message-show-message' is nil.  Use
`tramp-get-connection-buffer'.
(tramp-cleanup): New defun.
(tramp-rfn-eshadow-update-overlay): Let-bind
`non-essential' to `t'.
(tramp-file-name-handler): If `debug-on-error' is
set, propagate an error unchanged.
(tramp-completion-handle-file-name-all-completions):
Handle hops.  Fix an error when called from ido.
(tramp-completion-dissect-file-name): Use better
local variable name.  Add hop to the vector.
(tramp-handle-insert-file-contents): Use
progress-reporter for the whole scenario.
(tramp-action-password): Let-bind
`enable-recursive-minibuffers' to `t'.
(tramp-check-for-regexp): Simplify search.
(tramp-enter-password): Remove it.  Move
implementation ...
(tramp-action-password): ... here.
(tramp-mode-string-to-int, tramp-local-host-p)
(tramp-make-tramp-temp-file, tramp-read-passwd)
(tramp-clear-passwd, tramp-time-less-p,
tramp-time-diff): Set tramp-autoload cookie.

* net/trampver.el: Update release number.

* net/tramp.el (tramp-set-completion-function): Fix
docstring.
(tramp-parse-group, tramp-parse-file)
(tramp-parse-shostkeys-sknownhosts): New defuns.
(tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
(tramp-parse-shosts-group, tramp-parse-sconfig)
(tramp-parse-sconfig-group, tramp-parse-shostkeys)
(tramp-parse-sknownhosts, tramp-parse-hosts)
(tramp-parse-hosts-group, tramp-parse-passwd,
tramp-parse-netrc): Use them.
(tramp-parse-passwd-group, tramp-parse-netrc-group)
(tramp-parse-putty-group): Don't narrow.
(tramp-parse-putty): Make a loop.
(tramp-file-name-handler): Catch the `suppress'
signal.

12 years agoGive ImageMagick lowest priority in image-type-file-name-regexps.
Chong Yidong [Mon, 11 Jun 2012 10:16:47 +0000 (18:16 +0800)]
Give ImageMagick lowest priority in image-type-file-name-regexps.

* lisp/image.el (imagemagick-register-types): Put the ImageMagick
entry at the end of image-type-file-name-regexps.

12 years ago* lisp/emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
Johan Bockgård [Mon, 11 Jun 2012 00:46:21 +0000 (20:46 -0400)]
* lisp/emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
(pcase, pcase-let*, pcase-dolist): Use them.

12 years ago* lisp/emacs-lisp/pcase.el (pcase--let*): New function.
Stefan Monnier [Mon, 11 Jun 2012 00:33:33 +0000 (20:33 -0400)]
* lisp/emacs-lisp/pcase.el (pcase--let*): New function.
(pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
(pcase--expand): Use macroexp-let².

12 years agoMerge bugfixes done in Gnus trunk
Gnus developers [Sun, 10 Jun 2012 23:27:32 +0000 (23:27 +0000)]
Merge bugfixes done in Gnus trunk

Those changes fix only the bugs having appeared in the bug list.
Many other Gnus changes not yet merged to Emacs are in:
   ftp://ftp.jpl.org/pub/tmp/MaGnus-to-Emacs.patch
(or http://www.jpl.org/ftp/pub/tmp/MaGnus-to-Emacs.patch)

2012-06-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-group.el (gnus-group-get-new-news): Respect
  `gnus-group-use-permanent-levels', as documented (bug#11638).
2012-06-10 Dave Abrahams <dave@boostpro.com>
* gnus-int.el (gnus-warp-to-article): Limit registry warping to real
  groups (bug#11641).

12 years agoReduce use of cl in lisp/emacs-lisp/.
Stefan Monnier [Sun, 10 Jun 2012 13:28:26 +0000 (09:28 -0400)]
Reduce use of cl in lisp/emacs-lisp/.
* lisp/emacs-lisp/timer.el, lisp/emacs-lisp/syntax.el, lisp/emacs-lisp/smie.el:
* lisp/emacs-lisp/ewoc.el, lisp/emacs-lisp/cconv.el,lisp/emacs-lisp/derived.el:
* lisp/emacs-lisp/byte-opt.el, lisp/emacs-lisp/autoload.el: Convert to cl-lib.
* lisp/emacs-lisp/easymenu.el, lisp/emacs-lisp/easy-mmode.el:
* lisp/emacs-lisp/bytecomp.el: Use pcase instead of `cl'.
* lisp/emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.

12 years agoMerge from emacs-24; up to 2012-04-25T15:23:19Z!sdl.web@gmail.com
Chong Yidong [Sun, 10 Jun 2012 13:20:58 +0000 (21:20 +0800)]
Merge from emacs-24; up to 2012-04-25T15:23:19Z!sdl.web@gmail.com

12 years agoAuto-commit of generated files.
Glenn Morris [Sun, 10 Jun 2012 10:18:41 +0000 (06:18 -0400)]
Auto-commit of generated files.

12 years agoadmin.el (make-manuals): Generate misc html manuals too.
Chong Yidong [Sun, 10 Jun 2012 09:06:34 +0000 (17:06 +0800)]
admin.el (make-manuals): Generate misc html manuals too.

12 years ago* regex.c (at_begline_loc_p): Also recognize `(?N:' and correctly
Andreas Schwab [Sun, 10 Jun 2012 08:39:19 +0000 (10:39 +0200)]
* regex.c (at_begline_loc_p): Also recognize `(?N:' and correctly
account for preceding backslashes.  (Bug#11663)

12 years agoRegenerate ldefs-boot.el. emacs-24.1
Chong Yidong [Sun, 10 Jun 2012 07:41:46 +0000 (15:41 +0800)]
Regenerate ldefs-boot.el.

12 years agoMinor fix to sc.texi to allow HTML compilation.
Chong Yidong [Sun, 10 Jun 2012 07:02:16 +0000 (15:02 +0800)]
Minor fix to sc.texi to allow HTML compilation.

12 years ago* mail/rmail.el (rmail-yank-current-message): Leave point at correct position.
Glenn Morris [Sun, 10 Jun 2012 04:37:41 +0000 (21:37 -0700)]
* mail/rmail.el (rmail-yank-current-message): Leave point at correct position.

Fixes: debbugs:11660
12 years ago* Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
Andreas Schwab [Sat, 9 Jun 2012 17:03:43 +0000 (19:03 +0200)]
* Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.

12 years agoAdd support for italic text on ttys.
Chong Yidong [Sat, 9 Jun 2012 16:44:44 +0000 (00:44 +0800)]
Add support for italic text on ttys.

* src/dispextern.h: Replace unused TTY_CAP_BLINK with TTY_CAP_ITALIC.
(struct face): Remove unused fields tty_dim_p, tty_blinking_p, and
tty_alt_charset_p.  Add tty_italic_p.

* src/term.c: Support italics in capable terminals.
(no_color_bit): Replace unused NC_BLINK with NC_ITALIC.
(turn_on_face): Output using TS_enter_italic_mode if available.
Don't handle unused blinking and alt-charset cases.
(turn_off_face): Handle italic case; discard unused tty_blinking_p
and tty_alt_charset_p cases.
(tty_capable_p, init_tty): Support italics.

* src/termchar.h (struct tty_display_info): Add field for italics.
Remove unused blink field.

* src/xfaces.c (tty_supports_face_attributes_p, realize_tty_face):
Handle slant.

Fixes: debbugs:9652
12 years ago* ebuff-menu.el (electric-buffer-list): Preserve header line.
Chong Yidong [Sat, 9 Jun 2012 14:33:44 +0000 (22:33 +0800)]
* ebuff-menu.el (electric-buffer-list): Preserve header line.

12 years agoFix parallel bootstrap build in lisp/ on MS-Windows.
Eli Zaretskii [Sat, 9 Jun 2012 11:53:31 +0000 (14:53 +0300)]
Fix parallel bootstrap build in lisp/ on MS-Windows.

 Fix parallel builds: make sure loaddefs.el is not being written
 while Lisp files are compiled.
 lisp/makefile.w32-in (compile): Don't depend on 'mh-autoloads'.
 (compile-CMD, compile-SH): Depend on 'autoloads'.
 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.

12 years ago* dbusbind.c (XD_BASIC_DBUS_TYPE): Use dbus_type_is_valid and
Michael Albinus [Sat, 9 Jun 2012 11:13:30 +0000 (13:13 +0200)]
* dbusbind.c (XD_BASIC_DBUS_TYPE): Use dbus_type_is_valid and
dbus_type_is_basic if available.
(xd_extract_signed, xd_extract_unsigned): Rename from
extract_signed and extract_unsigned, respectively.  Adapt callers.

12 years ago* configure.in (dbus_type_is_valid): Check for library function.
Michael Albinus [Sat, 9 Jun 2012 11:12:12 +0000 (13:12 +0200)]
* configure.in (dbus_type_is_valid): Check for library function.

12 years agoIn special-display-popup-frame don't use window--display-buffer (Bug#11651).
Martin Rudalics [Sat, 9 Jun 2012 09:59:14 +0000 (11:59 +0200)]
In special-display-popup-frame don't use window--display-buffer (Bug#11651).

* window.el (special-display-popup-frame): Don't use
window--display-buffer (Bug#11651).

12 years ago* xfaces.c (face_for_overlay_string): Handle face remapping.
Chong Yidong [Sat, 9 Jun 2012 09:37:47 +0000 (17:37 +0800)]
* xfaces.c (face_for_overlay_string): Handle face remapping.

Fixes: debbugs:2066
12 years ago* doc/lispref/internals.texi (Garbage Collection): Typo fix.
Dmitry Antipov [Sat, 9 Jun 2012 09:20:01 +0000 (13:20 +0400)]
* doc/lispref/internals.texi (Garbage Collection): Typo fix.

12 years agoFix "lisp nesting exceeds max-lisp-eval-depth" errors on MS-Windows.
Eli Zaretskii [Sat, 9 Jun 2012 09:15:13 +0000 (12:15 +0300)]
Fix "lisp nesting exceeds max-lisp-eval-depth" errors on MS-Windows.
This happens during bootstrap; see bug#11649.

 lisp/makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.

12 years ago* fringe.c (Fset_fringe_bitmap_face): Handle the noninteractive case.
Chong Yidong [Sat, 9 Jun 2012 07:27:15 +0000 (15:27 +0800)]
* fringe.c (Fset_fringe_bitmap_face): Handle the noninteractive case.

Fixes: debbugs:9752
12 years agoDoc improvements for face remapping.
Chong Yidong [Sat, 9 Jun 2012 06:26:46 +0000 (14:26 +0800)]
Doc improvements for face remapping.

* face-remap.el (face-remap-add-relative, face-remap-set-base)
(buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
Doc fixes.

* doc/lispref/display.texi (Face Remapping): Minor clarification.

* doc/lispref/text.texi (Special Properties): Clarify the meaning of a
list of faces in the `face' property.

Fixes: debbugs:11225
12 years agoDon't autoload functions too eagerly during macroexpansion.
Stefan Monnier [Sat, 9 Jun 2012 02:26:47 +0000 (22:26 -0400)]
Don't autoload functions too eagerly during macroexpansion.
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
a function if there's a clear indication that it has a compiler-macro.
* lisp/emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
(macro-declarations-alist): Add arglist to declaration functions.
(defun-declarations-alist): Add `obsolete' and `compiler-macro'.
* lisp/emacs-lisp/cl-seq.el (cl-member, cl-assoc):
* lisp/emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
* lisp/emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
Also add autoload to find the compiler macro.
* lisp/emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
(cl--compiler-macro-member, cl--compiler-macro-assoc)
(cl--compiler-macro-adjoin, cl--compiler-macro-list*)
(cl--compiler-macro-get): New functions, replacing calls to
cl-define-compiler-macro.
(cl-typep) [compiler-macro]: Use macroexp-let².

12 years ago* make-docfile.c (search_lisp_doc_at_eol): Unget last read
Andreas Schwab [Fri, 8 Jun 2012 21:33:58 +0000 (23:33 +0200)]
* make-docfile.c (search_lisp_doc_at_eol): Unget last read
character.

12 years agoMark tiny change
Glenn Morris [Fri, 8 Jun 2012 18:35:28 +0000 (14:35 -0400)]
Mark tiny change

12 years ago* xdisp.c (vmessage): Treat frame message as multibyte.
Paul Eggert [Fri, 8 Jun 2012 17:50:17 +0000 (10:50 -0700)]
* xdisp.c (vmessage): Treat frame message as multibyte.

Without this change, (let ((§ 1)) (make-variable-buffer-local '§))
would generate the diagnostic "Making \302\247 buffer-local while
let-bound!".

12 years agoicalendar / icalendar-tests: Fix Bug#11473 -- unescape commas in timezone specs
Ulf Jasper [Fri, 8 Jun 2012 17:34:09 +0000 (19:34 +0200)]
icalendar / icalendar-tests: Fix Bug#11473 -- unescape commas in timezone specs

2012-06-08 Nick Dokos <nicholas.dokos@hp.com>

* calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
string properly, fixes Bug#11473.

2012-06-08  Ulf Jasper  <ulf.jasper@web.de>

* automated/icalendar-tests.el (icalendar--parse-vtimezone): Test
escaped commas in TZID (Bug#11473).
(icalendar-import-with-timezone): New.
(icalendar-real-world): Add new testcase as found in the bugreport
of Bug#11473.

12 years agoFace cleanups. Remove some uses of old-style face spec and :bold/:italic.
Chong Yidong [Fri, 8 Jun 2012 16:39:49 +0000 (00:39 +0800)]
Face cleanups.  Remove some uses of old-style face spec and :bold/:italic.

* faces.el (set-face-attribute): Doc fix.
(modify-face): Don't use :bold and :italic.
(error, warning, success): Tweak definitions.

* cus-edit.el (custom-modified, custom-invalid, custom-rogue)
(custom-modified, custom-set, custom-changed, custom-themed)
(custom-saved, custom-button, custom-button-mouse)
(custom-button-pressed, custom-state, custom-comment-tag)
(custom-variable-tag, custom-group-tag-1, custom-group-tag)
(custom-group-subtitle): Use new-style face specs.
(custom-invalid-face, custom-rogue-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-saved-face)
(custom-button-face, custom-button-pressed-face)
(custom-documentation-face, custom-state-face)
(custom-comment-face, custom-comment-tag-face)
(custom-variable-tag-face, custom-variable-button-face)
(custom-face-tag-face, custom-group-tag-face-1)
(custom-group-tag-face): Remove obsolete face alias.

* epa.el (epa-validity-high, epa-validity-medium)
(epa-validity-low, epa-mark, epa-field-name, epa-string)
(epa-field-name, epa-field-body):
* font-lock.el (font-lock-comment-face, font-lock-string-face)
(font-lock-keyword-face, font-lock-builtin-face)
(font-lock-function-name-face, font-lock-variable-name-face)
(font-lock-type-face, font-lock-constant-face):
* ido.el (ido-first-match, ido-only-match, ido-subdir)
(ido-virtual, ido-indicator, ido-incomplete-regexp):
* speedbar.el (speedbar-button-face, speedbar-file-face)
(speedbar-directory-face, speedbar-tag-face)
(speedbar-selected-face, speedbar-highlight-face)
(speedbar-separator-face):
* whitespace.el (whitespace-newline, whitespace-space)
(whitespace-hspace, whitespace-tab, whitespace-trailing)
(whitespace-line, whitespace-space-before-tab)
(whitespace-space-after-tab, whitespace-indentation)
(whitespace-empty):
* emulation/cua-base.el (cua-global-mark):
* eshell/em-prompt.el (eshell-prompt):
* net/newst-plainview.el (newsticker-new-item-face)
(newsticker-old-item-face, newsticker-immortal-item-face)
(newsticker-obsolete-item-face, newsticker-date-face)
(newsticker-statistics-face, newsticker-default-face):
* net/newst-reader.el (newsticker-feed-face)
(newsticker-extra-face, newsticker-enclosure-face):
* net/newst-treeview.el (newsticker-treeview-face)
(newsticker-treeview-new-face, newsticker-treeview-old-face)
(newsticker-treeview-immortal-face)
(newsticker-treeview-obsolete-face)
(newsticker-treeview-selection-face):
* net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
(rcirc-bright-nick, rcirc-server, rcirc-timestamp)
(rcirc-nick-in-message, rcirc-nick-in-message-full-line)
(rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
* nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
(nxml-outline-active-indicator, nxml-outline-ellipsis):
* play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
(mpuz-text):
* progmodes/vera-mode.el (vera-font-lock-number)
(vera-font-lock-function, vera-font-lock-interface):
* textmodes/table.el (table-cell): Use new-style face specs, and
don't use the old :bold and :italic attributes.

* erc-button.el (erc-button):
* erc-goodies.el (erc-bold-face, erc-inverse-face)
(erc-underline-face, fg:erc-color-*):
* erc-match.el (erc-current-nick-face, erc-dangerous-host-face)
(erc-pal-face, erc-fool-face, erc-keyword-face):
* erc-stamp.el (erc-timestamp-face): Likewise.

* erc.el (erc-direct-msg-face, erc-header-line, erc-input-face)
(erc-command-indicator-face, erc-notice-face, erc-action-face)
(erc-error-face, erc-my-nick-face, erc-nick-default-face)
(erc-nick-msg-face): Use new-style face specs, and avoid :bold.

* progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
(ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
(ebrowse-member-class, ebrowse-progress): Likewise.
(ebrowse-tree-mark-face, ebrowse-root-class-face)
(ebrowse-file-name-face, ebrowse-default-face)
(ebrowse-member-attribute-face, ebrowse-member-class-face)
(ebrowse-progress-face): Remove obsolete faces.

* progmodes/flymake.el (flymake-errline, flymake-warnline):
Inherit from error and warning faces respectively.

* textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
Likewise.
(flyspell-incorrect-face, flyspell-duplicate-face): Remove
obsolete aliases.

* display.texi (Face Attributes): Font family does not accept
wildcards.  De-document obsolete :bold and :italic attributes.
(Defining Faces): Use new-style face spec format.

12 years agoRevert inadvertent commit in dispnew.c as part of 2012-06-08T08:44:45Z!eliz@gnu.org.
Eli Zaretskii [Fri, 8 Jun 2012 13:59:28 +0000 (16:59 +0300)]
Revert inadvertent commit in dispnew.c as part of 2012-06-08T08:44:45Z!eliz@gnu.org.

 src/dispnew.c (showing_window_margins_p): Undo last change, which
 was done due to an inadvertent commit.
 (adjust_frame_glyphs_for_frame_redisplay): Do call
 showing_window_margins_p.

12 years ago* net/tramp-compat.el (tramp-compat-temporary-file-directory): Avoid infloop.
Michael Albinus [Fri, 8 Jun 2012 13:27:06 +0000 (15:27 +0200)]
* net/tramp-compat.el (tramp-compat-temporary-file-directory): Avoid infloop.

12 years agoClean up scoping rule of predefined single-word vars.
Stefan Monnier [Fri, 8 Jun 2012 13:18:26 +0000 (09:18 -0400)]
Clean up scoping rule of predefined single-word vars.
* lisp/startup.el (argv, argi): Make lexically scoped.
* lisp/emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
* lisp/emacs-lisp/cl-macs.el: Use lexical-binding.
Rename cl-bind-* to cl--bind-*.
* lisp/files.el: Don't require `cl' since it doesn't use it.
* lisp/emacs-lisp/pcase.el, lisp/emacs-lisp/macroexp.el: Add coding cookie.
* src/eval.c (Fmake_var_non_special): New primitive.
(syms_of_eval): Defsubr it.
* src/lread.c (syms_of_lread): Mark `values' as lexically scoped.

12 years agolisp/textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann...
Juanma Barranquero [Fri, 8 Jun 2012 12:24:27 +0000 (14:24 +0200)]
lisp/textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
(texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
instead of calling external sort utility.
(texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.

12 years agosrc/dispnew.c (showing_window_margins_p): Wrap in #if 0.
Juanma Barranquero [Fri, 8 Jun 2012 12:19:28 +0000 (14:19 +0200)]
src/dispnew.c (showing_window_margins_p): Wrap in #if 0.

12 years agoFix BLOCK_INPUT/UNBLOCK_INPUT mismatch in 2012-06-08T08:44:30Z!dmantipov@yandex.ru.
Eli Zaretskii [Fri, 8 Jun 2012 09:58:43 +0000 (12:58 +0300)]
Fix BLOCK_INPUT/UNBLOCK_INPUT mismatch in 2012-06-08T08:44:30Z!dmantipov@yandex.ru.

 src/alloc.c (allocate_vectorlike): Fix last change.