1. 11 May, 2013 8 commits
    • Leo Liu's avatar
      * progmodes/octave.el (octave-indent-comment): New function. · 9dbdb67e
      Leo Liu authored
      (octave-mode): Use it in smie-indent-functions.
      Fixes: debbugs:14350
    • Leo Liu's avatar
      * progmodes/octave.el (octave-beginning-of-line) · 083fe0d7
      Leo Liu authored
      (octave-end-of-line): Check before using up-list because it jumps
      out of more syntactic contructs since moving to smie.
    • Glenn Morris's avatar
      More cus-test.el tweaks · 5d108606
      Glenn Morris authored
      * admin/cus-test.el (cus-test-libs-noloads): Add a few more files.
      (cus-test-load-libs, cus-test-opts):
      Add option to load more/all Lisp files.
      (cus-test-get-lisp-files): Ignore .*.el files.
    • Glenn Morris's avatar
      Fix some declarations · f20def1f
      Glenn Morris authored
      * lisp/faces.el (internal-face-x-get-resource):
      * lisp/frame.el (ns-display-monitor-attributes-list):
      * lisp/calc/calc-aent.el (math-to-radians-2):
      * lisp/cedet/ede/locate.el (cedet-cscope-version-check)
      * lisp/cedet/semantic/grammar.el (semantic-grammar-wy--install-parser):
      * lisp/emacs-lisp/package.el (tar-header-name, tar-header-link-type):
      Fix declarations.
    • Glenn Morris's avatar
      Make a few libraries loadable in isolation · 445f95e2
      Glenn Morris authored
      * lisp/calc/calc-menu.el: Make it loadable in isolation.
      * lisp/gnus/gnus-vm.el: Make it loadable without VM.
      (gnus-vm-make-folder, gnus-summary-save-in-vm): Require 'vm.
      (vm-forward-message, vm-reply, vm-mail): Remove unused autoloads.
      * lisp/net/eudcb-bbdb.el: Make it loadable without bbdb.
      (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
      (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
      (eudc-bbdb-query-internal): Require 'bbdb.
    • Glenn Morris's avatar
      More custom :type fixes · 99fb2756
      Glenn Morris authored
      * lisp/lpr.el (lpr-headers-switches):
      * lisp/emacs-lisp/testcover.el (testcover-compose-functions):
      * lisp/cedet/ede/project-am.el (project-am-compile-project-command): Fix :type.
      * lisp/progmodes/sql.el (sql-login-params): Fix and improve :type.
    • Glenn Morris's avatar
    • Glenn Morris's avatar
  2. 10 May, 2013 5 commits
  3. 09 May, 2013 14 commits
    • Stefan Monnier's avatar
      * src/doc.c (get_doc_string): Slightly relax the sanity checking. · 759fd763
      Stefan Monnier authored
      * src/lread.c (skip_dyn_eof): New function.
      (read1): Use it to skip the end of a file in response to #@00.
    • Stefan Monnier's avatar
      * lisp/comint.el (comint-redirect-send-command-to-process): Use :around · 027c0f75
      Stefan Monnier authored
      rather than :override for comint-redirect-filter.
      (comint-redirect-filter): Add the corresponding `orig-filter' argument.
      Call it instead of comint-redirect-original-filter-function (which
      is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
    • Glenn Morris's avatar
      X-Debbugs-CC clarifications · f4ca11f8
      Glenn Morris authored
    • Jan Djärv's avatar
      Implement display-monitor-attributes-list for NS. · 4465bfb4
      Jan Djärv authored
      * lisp/frame.el (display-monitor-attributes-list): Add NS case.
      (ns-display-monitor-attributes-list): Declare.
      * src/nsfns.m: Include IOGraphicsLib.h if Cocoa.
      (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Declare.
      (MonitorInfo): New struct.
      (free_monitors, ns_screen_name, ns_make_monitor_attribute_list)
      (Fns_display_monitor_attributes_list): New functions.
      (display-usable-bounds): Remove.
      (syms_of_nsfns): DEFSYM Qgeometry, Qworkarea, Qmm_size, Qframes and
    • Paul Eggert's avatar
      * xterm.h (GTK_PREREQ): Remove, replacing with GTK_CHECK_VERSION. · 7583e2a0
      Paul Eggert authored
      (GTK_CHECK_VERSION): New macro, if not already defined.
      All uses of GTK_PREREQ, GTK_MAJOR_VERSION, etc.
      replaced by GTK_CHECK_VERSION.
    • Glenn Morris's avatar
      * lisp/gnus/mml1991.el: Make it loadable. · 59c88671
      Glenn Morris authored
      * lisp/gnus/mml2015.el: Comment.
      Fixes: debbugs:13456
    • Glenn Morris's avatar
      admin/cus-test,el misc updates · d631786a
      Glenn Morris authored
      Mainly for some files listed in loaddefs.el now being in subdirs that
      are not in load-path.
      * admin/cus-test.el (cus-test-libs-noloads): Add dunnet in the defvar.
      (dunnet): Don't always load it.
      (viper-mode): Only set if interactive.
      (cus-test-load-custom-loads): Load dunnet if necessary.
      (cus-test-load-1): New macro, with common code from cus-test-load-libs
      and cus-test-libs.
      (cus-test-load-libs, cus-test-libs): Use cus-test-load-1 macro.
      Update for cus-test-get-autoload-deps changed result.
      (cus-test-get-autoload-deps): Simplify.  Return file names as they
      appear in loaddefs.el (directory parts are needed now that not all
      lisp subdirs are in load-path).
      (cus-test-deps): Explicitly skip dunnet.
    • Glenn Morris's avatar
      * admin/cus-test.el: No need to provide bbdb, bbdb-com any more. · 2dee4d5e
      Glenn Morris authored
      Remove some outdated comments.
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Fix a bunch of custom types (thank you cus-test.el) · a931698a
      Glenn Morris authored
      * lisp/bookmark.el (bookmark-search-delay):
      * lisp/cus-start.el (vertical-centering-font-regexp):
      * lisp/ps-mule.el (ps-mule-font-info-database-default):
      * lisp/ps-print.el (ps-default-fg, ps-default-bg):
      * lisp/type-break.el (type-break-good-break-interval):
      * lisp/whitespace.el (whitespace-indentation-regexp)
      * lisp/emacs-lisp/testcover.el (testcover-1value-functions)
      (testcover-noreturn-functions, testcover-progn-functions)
      * lisp/emulation/viper-init.el (viper-emacs-state-cursor-color):
      * lisp/erc/erc-desktop-notifications.el (erc-notifications-icon):
      * lisp/eshell/em-glob.el (eshell-glob-translate-alist):
      * lisp/gnus/gnus-art.el (gnus-article-date-headers, gnus-blocked-images):
      * lisp/gnus/gnus-async.el (gnus-async-post-fetch-function):
      * lisp/gnus/gnus-gravatar.el (gnus-gravatar-size, gnus-gravatar-properties):
      * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl):
      * lisp/gnus/gnus-notifications.el (gnus-notifications-timeout):
      * lisp/gnus/gnus-picon.el (gnus-picon-properties):
      * lisp/gnus/gnus-util.el (gnus-completion-styles):
      * lisp/gnus/gnus.el (gnus-other-frame-resume-function):
      * lisp/gnus/message.el (message-user-organization-file)
      * lisp/gnus/nnir.el (nnir-summary-line-format)
      * lisp/gnus/shr-color.el (shr-color-visible-luminance-min):
      * lisp/gnus/shr.el (shr-blocked-images):
      * lisp/gnus/spam-report.el (spam-report-resend-to):
      * lisp/gnus/spam.el (spam-summary-exit-behavior):
      * lisp/mh-e/mh-e.el (mh-sortm-args, mh-default-folder-for-message-function):
      * lisp/play/tetris.el (tetris-tty-colors):
      * lisp/progmodes/cpp.el (cpp-face-default-list):
      * lisp/progmodes/flymake.el (flymake-allowed-file-name-masks):
      * lisp/progmodes/idlw-help.el (idlwave-help-browser-generic-program)
      * lisp/progmodes/make-mode.el (makefile-special-targets-list):
      * lisp/progmodes/python.el (python-shell-virtualenv-path):
      * lisp/progmodes/verilog-mode.el (verilog-active-low-regexp)
      (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
      (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
      (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
      * lisp/textmodes/reftex-vars.el (reftex-format-label-function):
      * lisp/textmodes/remember.el (remember-diary-file):
      Fix custom types.
      * lisp/cedet/semantic/db-find.el (semanticdb-find-throttle-custom-list):
      Fix value.
      * lisp/gnus/gnus-salt.el (gnus-selected-tree-face): Fix default.
    • Glenn Morris's avatar
    • Leo Liu's avatar
      * progmodes/octave.el (inferior-octave-completion-at-point): · 455851dd
      Leo Liu authored
      Restore the broken file completion. 
      (inferior-octave-startup): Fix incorrect highlighting for the
      first prompt.
      Fixes: debbugs:14300
  4. 08 May, 2013 13 commits
    • Paul Eggert's avatar
      * xterm.h (GTK_PREREQ): New macro. · ad75d77e
      Paul Eggert authored
      All simple uses of GTK_MAJOR_VERSION and GTK_MINOR_VERSION changed
      to use this macro instead, for consistency and clarity.
    • Stefan Monnier's avatar
      * lisp/progmodes/ruby-mode.el: First cut at SMIE support. · a9e4425b
      Stefan Monnier authored
      (ruby-use-smie): New var.
      (ruby-smie-grammar): New constant.
      (ruby-smie--bosp, ruby-smie--implicit-semi-p)
      (ruby-smie--forward-token, ruby-smie--backward-token)
      (ruby-smie-rules): New functions.
      (ruby-mode-variables): Setup SMIE if applicable.
      * test/indent/ruby.rb: Fix indentation after =; add more cases.
    • Eli Zaretskii's avatar
      Avoid beginning/end of buffer errors when moving across display strings. · 060ca408
      Eli Zaretskii authored
       lisp/simple.el (line-move-visual): Signal beginning/end of buffer
       only if vertical-motion moved less than it was requested.  Avoids
       silly incorrect error messages when there are display strings with
       multiple newlines at EOL.
    • Eli Zaretskii's avatar
      Fix vertical cursor motion when there's a display string with newline at EOL. · 07525f77
      Eli Zaretskii authored
       src/xdisp.c (row_for_charpos_p): New function, with code of
       cursor_row_p, but accepts an additional argument CHARPOS instead
       of using a hardcoded PT.
       (cursor_row_p): Call row_for_charpos_p with 2nd argument PT.
       (row_containing_pos): Call row_for_charpos_p instead of partially
       doing the same.  Fixes cursor positioning under longlines-mode
       when longlines-show-effect includes more than one newline, when
       moving the cursor vertically up.
    • Stefan Monnier's avatar
      * lisp/progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_". · 1d5963cc
      Stefan Monnier authored
      Change all regexps to use things like \_< and \_>.
      * lisp/progmodes/ada-mode.el (ada-mode-abbrev-table): Consolidate declaration.
      (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
      the declaration.
      (ada-create-syntax-table): Remove.
      (ada-capitalize-word): Don't mess with the syntax of "_" since it
      already has the right syntax nowadays.
      (ada-goto-next-word): Don't change the syntax of "_".
      * lisp/progmodes/autoconf.el (autoconf-definition-regexp)
      (autoconf-font-lock-keywords, autoconf-current-defun-function):
      Handle a _ with symbol syntax.
      (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
      * lisp/progmodes/vera-mode.el (vera-underscore-is-part-of-word):
      * lisp/progmodes/prolog.el (prolog-underscore-wordchar-flag)
      * lisp/progmodes/cperl-mode.el (cperl-under-as-char):
      * lisp/progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
       Mark as obsolete.
       (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
      their declaration.
      (vhdl-mode-syntax-table-init): Remove.
      * lisp/progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
      syntax for "_".
      Change regexps to use things like \_< and \_>.
      * lisp/progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on last change.
      * lisp/font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
      * lisp/mh-e/mh-comp.el (mh-regexp-in-field-p): Minor simplification.
    • Juanma Barranquero's avatar
      lib/makefile.w32-in (ACL_H): New macro. · 86cec478
      Juanma Barranquero authored
      ($(BLD)/acl-errno-valid.$(O)): Update dependencies.
    • Juanma Barranquero's avatar
      src/makefile.w32-in (ACL_H): New macro. · d901fc8d
      Juanma Barranquero authored
      ($(BLD)/fileio.$(O)): Update dependencies.
    • Sam Steingold's avatar
      * lisp/thingatpt.el (thing-at-point): Accept optional second argument · 72d3cfca
      Sam Steingold authored
      NO-PROPERTIES to strip the text properties from the return value.
      * lisp/net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
      to `thing-at-point' instead of stripping the properties ourselves.
      Also, when `thing-at-point' fails to find a url, prepend "http://"
      to the filename at point on the assumption that the user is
      pointing at something like gnu.org/gnu.
    • Juanma Barranquero's avatar
      Silence byte-compiler warnings. · 5cb15713
      Juanma Barranquero authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-insert-header):
      * lisp/faces.el (crm-separator): Silence byte-compiler.
      * lisp/progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
        (tool-bar-map): Remove unneeded defvars.
    • Juanma Barranquero's avatar
    • Leo Liu's avatar
      Re-work a fix for bug#10994 based on Le Wang's patch. · ea78b95b
      Leo Liu authored
      * ido.el (ido-remove-consecutive-dups): New helper. 
      (ido-completing-read): Use it.
      (ido-chop): Revert fix for bug#10994.
    • Glenn Morris's avatar
      Auto-commit of generated files. · 3a019ab4
      Glenn Morris authored
    • Adam Spiers's avatar
      * lisp/cus-edit.el (custom-save-variables): Pretty-print long values. · dc7466df
      Adam Spiers authored
      Fixes: debbugs:14187