[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb afe5495 279/350: Adjust indentation of multi-line
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb afe5495 279/350: Adjust indentation of multi-line field values |
Date: |
Mon, 14 Aug 2017 11:46:53 -0400 (EDT) |
branch: externals/ebdb
commit afe5495eaefb7fedf24ffcf255656e5640866d54
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Adjust indentation of multi-line field values
* ebdb-com.el (ebdb-fmt-record-body): I'm still pretty skeptical about
this -- I don't know why it works this way, and still wish I could
just use `fill-paragraph' correctly.
---
ebdb-com.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index 858700b..950ccbe 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -530,7 +530,7 @@ This happens in addition to any pre-defined indentation of
STRING."
;; `window-text-width' doesn't work for pop-up buffers,
;; they're not displayed yet! How do we resolve this...?
(fill-column (window-text-width))
- (fill-prefix (make-string (+ 3 indent) ?\s))
+ (fill-prefix (make-string (+ 5 indent) ?\s))
(paragraph-start "[^:]+:[^\n]+$"))
(dolist (c field-list)
@@ -542,7 +542,7 @@ This happens in addition to any pre-defined indentation of
STRING."
;; If I understood the mechanics of filling better, I
;; could probably do away with `ebdb-indent-string'
;; altogether.
- (ebdb-indent-string (cdr c) (+ indent 3))))
+ (ebdb-indent-string (cdr c) (+ indent 5))))
;; If there are newlines in the value string, assume the field
;; knows what's it's doing re filling and formatting.
(unless (or (string-match-p "\n" (cdr c))
- [elpa] externals/ebdb 1a31515 274/350: Fixes to record loading, (continued)
- [elpa] externals/ebdb 1a31515 274/350: Fixes to record loading, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 01262e3 277/350: Mark EBDB buffers as modified after edits, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb cc83f62 197/350: Add protection around ebdb-record-uuid, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 4f3db7f 195/350: Save match data around ebdb-parse-i18n, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb fcf0702 275/350: Mark EBDB buffers as unmodified after save, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 88f5e12 261/350: Fill out functionality of gnorb messages field, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a81769c 272/350: Allow custom hash predicates, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb e80753a 264/350: Change ebdb-record-change-name to accept strings, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb d3e1485 283/350: Reinstate the notice record hook, and move notice-record method, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb d8bc159 290/350: Fairly embarrassing oversight in setting ebdb buffers modified, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb afe5495 279/350: Adjust indentation of multi-line field values,
Eric Abrahamsen <=
- [elpa] externals/ebdb bbe407e 257/350: Code tweaks and re-arrangments, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 727eddb 262/350: Change databases' buffer-char slot into actual character, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 5362b12 291/350: require pyim, for chinese-pyim has been renamed to pyim (#45), Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb f62f15f 282/350: Pop up empty *EBDB* buffer for users with no records, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb f3f9f37 292/350: Move, rename and bind ebdb-mail-yank, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 89467fc 258/350: Don't wrap cl-print-object in eval-when-compile, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 5e7a0d6 266/350: Change arg order of record-insert|delete-field, refactor, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 75de073 314/350: Let ebdb-complete can grab string which similar "guix-devel" (#46), Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb dbf980e 288/350: Create specific keymap for using EBDB in MUAs, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 4a35635 297/350: Mention vCard export support in manual, Eric Abrahamsen, 2017/08/14