1. 19 Feb, 2017 2 commits
  2. 18 Feb, 2017 16 commits
    • Alan Mackenzie's avatar
      Fix edebug-spec on c-lang-defvar. · 861ff2ba
      Alan Mackenzie authored
      This allows c-lang-defvars with the symbol 'dont-doc in the place of the
      optional documentation to be instrumented for edebug.
      
      lisp/progmodes/cc-langs.el (top-level): Amend the edebug-spec for
      c-lang-defvar.
      (c-opt-identifier-concat-key, c-decl-prefix-or-start-re): remove redundant
      'dont-doc.
      861ff2ba
    • Lars Ingebrigtsen's avatar
      Lists used as plists now have to be an even length · 7d15daf7
      Lars Ingebrigtsen authored
      * lisp/net/eww.el (eww-size-text-inputs): `eww-form' isn't a plist.
      (eww-process-text-input): Not here, either.
      7d15daf7
    • Michael Albinus's avatar
      Unset `non-essential' in Tramp when not needed anymore · 6ad34b3d
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "2.3.2-pre".
      
      * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
      Use `tramp-completion-mode-p'.
      
      * lisp/net/tramp.el (tramp-file-name-handler): Unset `non-essential'
      when file name doesn't match `tramp-completion-file-name-regexp'.
      6ad34b3d
    • Eli Zaretskii's avatar
      Automatically regenerate emacs.1 and *.rc files · ba6e7232
      Eli Zaretskii authored
      * Makefile.in (CONFIG_STATUS_FILES_IN): New variable, lists
      non-Makefile files produced by config.status.
      ($(MAKEFILE_NAME)): Depend on $(CONFIG_STATUS_FILES_IN), so that
      their targets are regenerated when the source changes.
      ba6e7232
    • Alan Mackenzie's avatar
      Set the syntax table in AWK Mode. · a848d36c
      Alan Mackenzie authored
      This is a partial reversion of CC Mode commit on 2016-05-09 17:49:45 +0000.
      It fixes bug #25722.
      
      lisp/progmodes/cc-mode.el (awk-mode): Explicitly set the syntax table.
      a848d36c
    • Göktuğ Kayaalp's avatar
      Fix Turkish language environment setup · 879a3e44
      Göktuğ Kayaalp authored
      * lisp/language/european.el ("Turkish"): Fix a typo in Turkish
      language setup.  (Bug#25763)
      879a3e44
    • Rami Ylimäki's avatar
      Support 24-bit direct colors on text terminals · e463e576
      Rami Ylimäki authored
      * src/term.c (init_tty): Use 24-bit terminal colors if corresponding
      foreground and background functions are present in terminal type
      definition.
      * src/tparam.h: Define prototype for tigetstr.
      
      * lisp/term/tty-colors.el (tty-color-define): Convert color palette
      index to pixel value on 16.7M color terminals.
      (tty-color-24bit): New function to convert color palette index to
      pixel value on 16.7M color terminals.
      (tty-color-desc): Don't approximate colors on 16.7M color terminals.
      * lisp/term/xterm.el (xterm-register-default-colors): Define all named
      TTY colors on 16.7M color terminals.
      
      * doc/misc/efaq.texi (Colors on a TTY): Add instructions on how to
      enable direct color TTY mode.
      * etc/NEWS: Mention direct color TTY mode and point to FAQ.
      e463e576
    • Rami Ylimäki's avatar
      Remove unused TN_max_pairs field · 464a51ed
      Rami Ylimäki authored
      * src/termchar.h (tty_display_info): Remove TN_max_pairs field,
      describing maximum number of terminal background/foreground color pairs.
      * src/term.c (tty_default_color_capabilities, tty_setup_colors)
      (init_tty): Remove references to TN_max_pairs.
      464a51ed
    • Eli Zaretskii's avatar
      Improve documentation of query-replace-from-to-separator · 723dd50a
      Eli Zaretskii authored
      * doc/emacs/search.texi (Query Replace): Document the meaning of
      the nil value of query-replace-from-to-separator.  (Bug#25482)
      723dd50a
    • Eli Zaretskii's avatar
      Improve commentary for a recent change in keyboard.c · b5ab3a52
      Eli Zaretskii authored
      * src/keyboard.c (Fset__this_command_keys): Add a comment about
      the magic 248 value.  (Bug#25612)
      b5ab3a52
    • Eli Zaretskii's avatar
      Avoid infloop in rect.el · 3ce07b18
      Eli Zaretskii authored
      * lisp/rect.el (rectangle--*-char): Avoid inflooping when called
      with argument N whose absolute value is greater than 1.  (Bug#25773)
      3ce07b18
    • Eli Zaretskii's avatar
      Remove annoying warnings about let-binding · 73ea77c8
      Eli Zaretskii authored
      * src/data.c (Fmake_variable_buffer_local, Fmake_local_variable):
      Remove warnings about making symbols local while let-bound.
      (Bug#25561)
      73ea77c8
    • Hong Xu's avatar
      Avoid errors when flyspell-generic-check-word-predicate is a lambda. · a83b6692
      Hong Xu authored
      * flyspell.el (flyspell-auto-correct-word, flyspell-word): Apply
      functionp instead of fboundp on
      flyspell-generic-check-word-predicate (Bug#25765).
      a83b6692
    • Glenn Morris's avatar
      Remove the build number from emacs-version variable · 22b22074
      Glenn Morris authored
      It's a largely internal detail that can confuse users.  (Bug#25590)
      * lisp/version.el (emacs-build-number): New constant.
      (emacs-version): Use emacs-build-number.
      * lisp/loadup.el (top-level): When dumping, increment
      emacs-build-number rather than emacs-version.
      * src/emacs.c (emacs-version): Doc fix.
      * doc/lispref/intro.texi (Version Info): Update emacs-version details.
      Mention emacs-build-number.
      * lisp/gnus/gnus-util.el (gnus-emacs-version):
      * lisp/mail/emacsbug.el (report-emacs-bug):
      * admin/admin.el (set-version): Update for emacs-version change.
      ; * etc/NEWS: Mention this.
      22b22074
    • Glenn Morris's avatar
      Ensure that user-mail-address always has a value · 8675f9c8
      Glenn Morris authored
      * lisp/startup.el (user-mail-address): Initialize in the normal way.
      (command-line): Reset user-mail-address if needed using
      standard custom machinery.
      * lisp/mail/feedmail.el (feedmail-fiddle-from):
      * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
      * lisp/mail/rmailsum.el (rmail-header-summary):
      Simplify now that user-mail-address is always set.
      ; * doc/lispref/os.texi (System Environment): Remove fixme comment.
      8675f9c8
    • Mark Oteiza's avatar
      Turn on lexical-binding in ruby-mode · f3eaab0a
      Mark Oteiza authored
      * lisp/progmodes/ruby-mode.el: Turn on lexical-binding.
      (ruby-font-lock-syntax-table): Use make-syntax-table.
      (ruby-mode): 'define-derived-mode' writes the keys for us.
      f3eaab0a
  3. 17 Feb, 2017 10 commits
  4. 16 Feb, 2017 8 commits
  5. 15 Feb, 2017 4 commits
    • Michael Albinus's avatar
      Continue to fix bug#25607 · adfb6f1d
      Michael Albinus authored
      * lisp/ido.el (ido-complete): Let-bind `non-essential' to nil.
      (ido-file-name-all-completions-1): Do not bind `non-essential'.
      
      * lisp/net/tramp.el: (tramp-completion-file-name-handler):
      Improve autoloaded version.
      (tramp-completion-file-name-handler): Remove old compat code.
      Check only for `tramp-completion-mode-p'.
      (tramp-completion-mode-p): Autoload.  Do not check any longer
      for `last-input-event'.
      (tramp-completion-handle-expand-file-name): Simplify.  (Bug#25607)
      adfb6f1d
    • Michal Nazarewicz's avatar
      casing: don’t assume letters are *either* upper- or lower-case (bug#24603) · 6220faeb
      Michal Nazarewicz authored
      A compatibility digraph characters, such as Dž, are neither upper- nor
      lower-case.  At the moment however, those are reported as upper-case¹
      despite the fact that they change when upper-cased.
      
      Stop checking if a character is upper-case before trying to up-case it
      so that title-case characters are handled correctly.  This fixes one of
      the issues mentioned in bug#24603.
      
      ¹ Because they change when converted to lower-case.  Notice an asymmetry
        in that for a character to be considered lower-case it must not be
        upper-case (plus the usual condition of changing when upper-cased).
      
      * src/buffer.h (upcase1): Delete.
      (upcase): Change to upcase character unconditionally just like downcase
      does it.  This is what upcase1 was.
      
      * src/casefiddle.c (casify_object, casify_region): Use upcase instead
      of upcase1 and don’t check !uppercasep(x) before calling upcase.
      
      * src/keyboard.c (read_key_sequence): Don’t check if uppercase(x), just
      downcase(x) and see if it changed.
      
      * test/src/casefiddle-tests.el (casefiddle-tests--characters,
      casefiddle-tests-casing): Update test cases which are now passing.
      6220faeb
    • Michal Nazarewicz's avatar
      Generate upcase and downcase tables from Unicode data (bug#24603) · 5ec3a584
      Michal Nazarewicz authored
      Use Unicode data to generate case tables instead of mostly repeating
      them in lisp code.  Do that in a way which maps ‘Dz’ (and similar)
      digraph to ‘dz’ when down- and ‘DZ’ when upcasing.
      
      https://debbugs.gnu.org/cgi/bugreport.cgi?msg=89;bug=24603 lists all
      changes to syntax table and case tables introduced by this commit.
      
      * lisp/international/characters.el: Remove case-pairs defined with
      explicit Lisp code and instead use Unicode character properties.
      
      * test/src/casefiddle-tests.el (casefiddle-tests--characters,
      casefiddle-tests-casing): Update test cases which are now working
      as they should.
      5ec3a584
    • Michal Nazarewicz's avatar
      Add tests for casefiddle.c (bug#24603) · 0d429065
      Michal Nazarewicz authored
      Fixes cases marked FIXME upcoming in followup commits.
      
      * test/src/casefiddle-tests.el (casefiddle-tests-char-properties,
      casefiddle-tests-case-table, casefiddle-tests-casing-character,
      casefiddle-tests-casing, casefiddle-tests-casing-byte8,
      casefiddle-tests-casing-byte8-with-changes): New tests.
      (casefiddle-tests--test-casing): New helper function for runnig
      some of the tests.
      0d429065