Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W3m stgit: refresh to latest mu #1

Open
wants to merge 187 commits into
base: w3m-stgit
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
ab841c5
* mu4e: set overwrite mode to nil in mu4e-headers-mode
djcb May 27, 2013
9e34aec
Fix typos.
sje30 May 28, 2013
a41925a
Merge pull request #229 from sje30/master
djcb May 28, 2013
d66063c
* merge branch 'master' of github.com:djcb/mu
djcb May 28, 2013
08748f2
* mu4e: add mu4e-change-filenames-when-moving customization
djcb May 28, 2013
c0fce88
fix file size in test-mu-guile.scm changed by e97ec2d5
jynnantonix May 29, 2013
a7f7179
Merge pull request #231 from jynnantonix/guile-test
djcb May 29, 2013
b136ca0
* try harder to match special strings
djcb May 29, 2013
b19ab68
* configure.ac: report on guile version
djcb May 30, 2013
e7c63ce
* update some unit tests
djcb May 30, 2013
60f75ee
* minor
djcb May 30, 2013
d57b109
* mu-str: treat '..' in non-range fields differently
djcb Jun 1, 2013
844790a
* lib: mu date: better handling of date fields in newer xapians
djcb Jun 1, 2013
3c67aa6
* mu4e: fix a few compiler warnings / typos
djcb Jun 3, 2013
d6337b7
* mu4e: fix typo in Makefile.am
djcb Jun 3, 2013
13efc74
* mu-query: better handle empty lhs/rhs in date intervals
djcb Jun 3, 2013
34c84a1
* mu4e: fix mu4e-message
djcb Jun 3, 2013
fd990c4
Document what happens if either the left or right part of a date range
sje30 Jun 3, 2013
ff42099
Merge pull request #233 from sje30/master
djcb Jun 3, 2013
60c8427
One small typo; should this file also mention explicitly the way
sje30 Jun 3, 2013
6250137
Small typo.
sje30 Jun 3, 2013
fcbe03e
Fix Typos.
sje30 Jun 3, 2013
59d0fd0
Typos.
sje30 Jun 3, 2013
e40cc41
Typo.
sje30 Jun 3, 2013
4fc104c
Do you mean --quiet rather than --verbose?
sje30 Jun 3, 2013
a98157b
Typos.
sje30 Jun 3, 2013
3d6bd59
Typos; but check also if default logfile location is correct.
sje30 Jun 3, 2013
f424160
Typos.
sje30 Jun 3, 2013
bd12c4b
Merge pull request #234 from sje30/master
djcb Jun 3, 2013
aefa144
handle the case where phrase is empty
Jun 5, 2013
c511ae7
also try to avoid unnecessary quotes when replying (see issue #217)
Jun 5, 2013
2b3b0d0
wrong comment, probably copied from add code. params[0] is remove of …
Jun 5, 2013
d2dd0a8
* guile: add find-dups script, to find duplicate messages
djcb Jun 7, 2013
7180b30
Merge pull request #238 from jhelberg/master
djcb Jun 7, 2013
74feede
* mu4e: check marks in headers context (fixes issue #200)
djcb Jun 8, 2013
5540361
* mu-find.1: small update
djcb Jun 8, 2013
3d38532
* mu4e-draft: fix typo in patch
djcb Jun 8, 2013
03a79fc
* mu4e: fix typo
djcb Jun 8, 2013
59d0a30
* make mu4e-compose-hidden-headers a public defvar; implements issue …
djcb Jun 8, 2013
05bfd23
* guile: make running guile scripts a bit more convenient, document it
djcb Jun 9, 2013
47a63d2
* cosmetics
djcb Jun 9, 2013
bd4f109
* mu-guile.texi: minor change; may fix compilation
djcb Jun 9, 2013
8d3e33e
* mu4e: add note about notmuch conflict to FAQ (thanks to mistrey)
djcb Jun 10, 2013
b57ae66
* mu4e: small tweaks to the manual
djcb Jun 12, 2013
c581468
* mu4e: some minor changes
djcb Jun 13, 2013
fa51443
* merge branch 'master' of github.com:djcb/mu
djcb Jun 13, 2013
ec28eb3
* mu4e: widen before sending messages
djcb Jun 14, 2013
ebc718a
* mu4e: update documentation on queries / bookmarks as bit
djcb Jun 16, 2013
88459d5
* mu4e-view: use e-mail address as string for the display property; f…
djcb Jun 16, 2013
42604fe
* lib: mu-contacts: store frequency
djcb Jun 16, 2013
401f30e
* mu4e: workaround(?) for the issue with '*' in the main action strings
djcb Jun 16, 2013
bfe74d1
* mu: add the backend for freq information for contacts
djcb Jun 16, 2013
ae61280
* mu4e: some updates to the documentation
djcb Jun 16, 2013
76a87de
* mu4e-utils: support the new format for the contacts list
djcb Jun 16, 2013
15936cf
* cosmetics
djcb Jun 16, 2013
6ac32ef
* mu4e: add FAQ about UTF-7-encoded dirs, lack of UTF-8-supported in …
djcb Jun 16, 2013
6783e44
* mu-str: add mu_str_remove_ctrl_in_place
djcb Jun 24, 2013
9790956
* mu-contacts, mu-msg-file: better deal with contacts with control chars
djcb Jun 24, 2013
900fb57
* mu4e-view.el: fixup display of contacts with control chars
djcb Jun 24, 2013
916e0f9
* man: fix mu-view manpage
djcb Jun 24, 2013
7fe3733
* cosmetics
djcb Jun 24, 2013
7e78b6e
added a "untrash" function, perfectly analogous to "unflag", that sim…
Jun 28, 2013
0b76ccc
Merge pull request #245 from jfb/master
djcb Jun 29, 2013
9976842
* mu4e: add 'untrash' to documentation
djcb Jun 29, 2013
06b3142
* mu4e: check marks also when coming from mu4e-main; fixes issue #244
djcb Jun 29, 2013
72e6fb9
* mu4e: make the byte-compiler happy
djcb Jun 29, 2013
59666a7
* mu4e: automatically refresh the contacts list when there are change…
djcb Jun 29, 2013
81eeff1
* mu4e: add note about deprecating org-mode editing to doc
djcb Jun 30, 2013
81c3e11
* mu-flags: add MU_FLAG_LIST, clean-up code a bit
djcb Jul 3, 2013
3eb7487
* mu-msg-file: set the MU_FLAG_LIST flag, if the message looks like a…
djcb Jul 3, 2013
1fcedf7
* mu-mgs-store: support the MU_FLAG_LIST flag
djcb Jul 3, 2013
3c3cd31
* mu-str: fix a leak
djcb Jul 3, 2013
312c3a4
* cosmetic
djcb Jul 3, 2013
4f38863
* document the new flag:list
djcb Jul 3, 2013
c7c1850
* mu4e: update documentation
djcb Jul 6, 2013
b26bd3a
* mu4e: do a better job of trying to show images (without delay)
djcb Jul 6, 2013
36cb8b3
* mu4e: update docs
djcb Jul 6, 2013
da292b7
* mu4e: make sure to clear the 'loading' buffer; fixes issue #170
djcb Jul 6, 2013
e7e38e9
* typo
djcb Jul 6, 2013
b17f265
* mu: unbreak unit test after flag changes (fixes #247)
djcb Jul 7, 2013
5ecbb40
* mu4e: when replying to messages written by self, keep the same to:/cc:
djcb Jul 7, 2013
406e310
* mu4e: prefix thread levels with a single space (rather than two)
djcb Jul 7, 2013
8656f67
* mu4e: complete the new reply-to-your-own-messages behavior + docume…
djcb Jul 17, 2013
b7324d5
* cleanup: drop gmime-2.4 support
djcb Jul 21, 2013
b7219aa
* guile: some update for the output format
djcb Jul 23, 2013
8855547
* mu: some improvement in script handling
djcb Jul 23, 2013
f7eefcf
* cosmetics
djcb Aug 11, 2013
beffb80
* mu4e: add variable mu4e-hide-index-messages
djcb Aug 11, 2013
fa6d63a
* mu4e-utils: fix display of messages only consisting of an image
djcb Aug 11, 2013
80622eb
* fix pmccabe check
djcb Aug 14, 2013
f89447e
* mu_util_fputs_encoded: updated; perhaps helps with freebsd crash?
djcb Aug 14, 2013
6a098c7
* update some comments
djcb Aug 17, 2013
2446b4d
* mu4e.texi: some updates to the docs
djcb Aug 24, 2013
8da4ff3
* mu-find: add the summary-len option
djcb Aug 24, 2013
c30ffee
* small cleanups (macos)
djcb Aug 25, 2013
59b0ae1
* update mu-index manpage (remove the outdate exit codes)
djcb Sep 7, 2013
df58925
* mu4e: update the list of known mailing-lists
djcb Sep 7, 2013
13bad9a
* better error message for some broken queries
djcb Sep 7, 2013
827dfbe
* mu-date: small optimization
djcb Sep 7, 2013
af55f4c
* update mu_date_str_to_time_t for macos
djcb Sep 7, 2013
cdb1af0
* fix the mu_util_fputs_encoded/bsd heisenbug
djcb Sep 7, 2013
97e821b
* update gitignore
djcb Sep 7, 2013
6e8e9ec
New flexible method of customising completing-read
hickinbottoms Sep 12, 2013
2d8bf0d
mu4e: always consider text/calendar message parts as attachments
abend Sep 17, 2013
defca5d
mu4e: add long datetime tooltip to human-date field in headers view.
abend Sep 17, 2013
ecea7de
Merge pull request #268 from hickinbottoms/completing-read-choice
djcb Sep 18, 2013
11e8850
* update doc for mu4e-completing-read-function
djcb Sep 18, 2013
efe775e
Merge pull request #271 from abend/icalendar-as-attachment
djcb Sep 18, 2013
66b0a3a
Merge pull request #272 from abend/long-date-tooltip
djcb Sep 18, 2013
def8094
* mu4e: make the mu4e-headers-long-date-format default a bit more... …
djcb Sep 18, 2013
48ae6bf
fix up a couple of menu entries
zhenya-1007 Sep 24, 2013
d6c01a5
* mu4e-view: fix help-echo for urls
djcb Sep 27, 2013
86e6c6c
Added maxnum argument to mu find.
tmalsburg-test Sep 27, 2013
3dfcb8e
Handle maxnum=0 the same way as in mu server.
tmalsburg-test Sep 27, 2013
a23f1a4
* mu4e: enable showing the message-id in the view (and even the headers)
djcb Sep 28, 2013
a3b3baf
* mu4e: update mu4e-compose-pre-hook documentation
djcb Sep 28, 2013
d5af5a9
* man: remove the non-existent --include-unreadable option (mu-find)
djcb Sep 28, 2013
a9772b4
Merge pull request #276 from zhenya1007/master
djcb Sep 28, 2013
4bdd644
Merge pull request #277 from tmalsburg/master
djcb Sep 28, 2013
0aa1cd5
* mu: small fix for compiler warning
djcb Sep 28, 2013
631e9c2
* mu: fix some problems with the option parser (so e.g. --version wor…
djcb Sep 28, 2013
128a17b
mu4e-actions.el: make git apply patch history aware
stsquad Oct 3, 2013
4b0cb4d
* mu4e: allow for custom header fields (see `mu4e-header-info-custom')
djcb Oct 5, 2013
85309a8
* bump version to 0.9.6-pre2
djcb Oct 5, 2013
a2c9b26
* goes with the previous
djcb Oct 5, 2013
7ea092c
* mu4e: fix docstring
djcb Oct 6, 2013
c898265
* use timegm instead of the tzset hack
djcb Oct 6, 2013
cba8515
* merge branch 'master' of github.com:djcb/mu
djcb Oct 6, 2013
59c74e0
* mu-config: fix typo
djcb Oct 7, 2013
fee25f4
Merge pull request #283 from stsquad/history-aware-git-apply
djcb Oct 8, 2013
7472a3b
* mu4e: mu4e-actions: require 'ido'
djcb Oct 8, 2013
8da15dc
* mu4e/mu4e-main.el (mu4e-interrupt-update-mail): New function to sto…
Oct 8, 2013
4bfaedd
* mu4e/mu4e-utils.el (mu4e-update-mail-and-index): Don't make window …
Oct 8, 2013
ac89861
* mu4e/mu4e-main.el (mu4e-interrupt-update-mail): Move to mu4e-utils.el.
Oct 9, 2013
f707728
* mu4e: don't suggest helm-comp-read for completing-read
djcb Oct 9, 2013
9170341
Merge pull request #285 from thierryvolpiatto/master
djcb Oct 9, 2013
a228429
* guile: update command-line arguments in scripts
djcb Oct 9, 2013
f650eec
* mu4e/mu4e-utils.el (mu4e~update-mail-mode): New mode to use when up…
Oct 10, 2013
7a9fff7
* mu4e/mu4e-view.el: Fix usage of backspace (scroll only).
Oct 10, 2013
3f554f0
* mu4e/mu4e-view.el: Fix, backspace should be scroll-down.
Oct 10, 2013
b0d7d70
Merge pull request #288 from thierryvolpiatto/master
djcb Oct 10, 2013
5634722
* mu4e: don't append to attachment name when retryiing
djcb Oct 12, 2013
347b41c
* cosmetic
djcb Oct 12, 2013
bcc53d2
* mu4e: some updates to the reference doc
djcb Oct 12, 2013
03ae065
* mu4e: some cleanups
djcb Oct 12, 2013
fc54e4a
* toys/mug: remove -DGTK_DISABLE_DEPRECATED for now, since it breaks …
djcb Oct 13, 2013
4401135
* mu4e: mu4e-view-fill-headers to enable/disable header filling
djcb Oct 13, 2013
66ebdf2
* mu4e: don't try to kill the visible window when there is none (than…
djcb Oct 13, 2013
edfdef4
index: improve error message when file does not seem to be an email
djcb Oct 13, 2013
c36030a
* handle message-ids a bit specially, update unit tests
djcb Oct 13, 2013
92158cf
* mu4e: add hooks mu4e-headers-found-hook and mu4e-update-pre-hook, d…
djcb Oct 13, 2013
8be5e92
* mu4e: fix display of images
djcb Oct 13, 2013
9abaf83
* mu4e: don't balk on searches with no results and some cleanups
djcb Oct 13, 2013
b92e2d2
* mu4e: fix some minor things in the main page
djcb Oct 14, 2013
cf4c658
* mu4e: don't list footers as attachments
djcb Oct 14, 2013
020a13d
* cosmetics
djcb Oct 14, 2013
dd83c23
guile: minor updates
djcb Oct 14, 2013
feec45a
* minor
djcb Oct 14, 2013
e1a6461
* mu4e: fix typo
djcb Oct 14, 2013
65fd009
* mu4e/mu4e-headers.el (mu4e-headers-mode): Fix typo.
Oct 15, 2013
0e1efc8
Merge remote-tracking branch 'refs/remotes/upstream/master'
Oct 16, 2013
78ffccf
* mu4e/mu4e-utils.el (mu4e-update-mail-and-index): Don't run a new pr…
Oct 16, 2013
aa7592d
* mu4e/mu4e-compose.el (mu4e~compose-handler): Wait buffer setup befo…
Oct 17, 2013
852ac46
* mu4e: allow mu4e-html2text-command to be a function (thanks to tmal…
djcb Oct 19, 2013
b53d2ec
* mu4e: make the faces a bit more generic
djcb Oct 19, 2013
8669fd8
* mu4e: small improvement in mu4e-headers-found-hook defcustom
djcb Oct 19, 2013
b6dee49
* mu4e-draft: small faces update
djcb Oct 19, 2013
33b5844
Merge pull request #300 from thierryvolpiatto/master
djcb Oct 19, 2013
2df31c8
* mu4e: restore the old update-buffer behaviour
djcb Oct 19, 2013
a92bc97
* mu4e: fix faces in the mu4e-main
djcb Oct 19, 2013
1fca0be
* mu4e: some improvements in the update-mail window behaviour (wip)
djcb Oct 19, 2013
55d6057
* mu4e: some more work on the updating process
djcb Oct 19, 2013
9c8101d
* mu4e: centralize some of the fontification code; cleanup signature …
djcb Oct 20, 2013
c171a61
* mu4e: run mu4e-view-mode only when the marked-as-read message is re…
djcb Oct 20, 2013
9ddb751
* mu: initialize randomness in mu-cmd-server
djcb Oct 20, 2013
86aafa7
* mu4e: don't error out if no empty lines are found
djcb Oct 21, 2013
44e9230
* mu4e: make sure the sent-hook is only defined as *local* in mu4e-co…
djcb Oct 22, 2013
162619f
* mu4e: don't error out on parts without mime-type
djcb Oct 23, 2013
43e8ec5
add w3m html rendering
arbelt Feb 9, 2013
8fd2b7f
some tweaks to org-mu4e to make messages more email-friendly
arbelt Feb 9, 2013
9445c2f
Improve w3m rendering:
arbelt Feb 9, 2013
b6dac49
change display header code to use widgets and insert directly into bu…
arbelt Feb 14, 2013
d01845c
Make widget types for interactive display elements
arbelt Feb 15, 2013
7d18407
add missing mu4e-wash.el file
arbelt Feb 15, 2013
670e680
* added defcustom for wash functions
arbelt May 27, 2013
ca8e87a
* unset w3m-minor-mode when switching to plain text part
arbelt May 28, 2013
88b5f90
* add new files to makefile
arbelt May 28, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
* guile: some update for the output format
djcb committed Jul 23, 2013
commit b7219aaf829b59d47537f438ec91074b76b21126
21 changes: 13 additions & 8 deletions guile/mu/plot.scm
Original file line number Diff line number Diff line change
@@ -45,24 +45,29 @@ not found."
(if (access? progpath X_OK) ;; is
progpath
#f))))
2
(define* (mu:plot-histogram data title x-label y-label #:optional (text-only #f) (extra-gnuplot-opts '()))
"Plot DATA with TITLE, X-LABEL and X-LABEL. If TEXT-ONLY is true,
display using raw text, otherwise, use a graphical window. DATA is a
list of cons-pairs (X . Y)."

(define* (mu:plot-histogram data title x-label y-label output
#:optional (extra-gnuplot-opts '()))
"Plot DATA with TITLE, X-LABEL and X-LABEL using the gnuplot
program. DATA is a list of cons-pairs (X . Y). OUTPUT is a string
that determines the type of output that gnuplot produces, depending on
the system. Which options are available depends on the particulars for
the gnuplot installation, but typical examples would be \"dumb\" for
text-only display, \"wxterm\" to write to a graphical window, or
\"png\" to write a PNG-image to stdout. EXTRA-GNUPLOT-OPTS are any
additional options for gnuplot."
(if (not (find-program-in-path "gnuplot"))
(error "cannot find 'gnuplot' in path"))

(let ((datafile (export-pairs data))
(gnuplot (open-pipe "gnuplot -p" OPEN_WRITE)))
(display (string-append
"reset\n"
"set term " (if text-only "dumb" "wxt") "\n"
"set term " (or output "dumb") "\n"
"set title \"" title "\"\n"
"set xlabel \"" x-label "\"\n"
"set ylabel \"" y-label "\"\n"
"set boxwidth 0.9\n"
(string-join extra-gnuplot-opts "\n")
(string-join extra-gnuplot-opts "\n")
"plot \"" datafile "\" using 2:xticlabels(1) with boxes fs solid\n")
gnuplot)
(close-pipe gnuplot)))
18 changes: 9 additions & 9 deletions guile/mu/script.scm
Original file line number Diff line number Diff line change
@@ -34,23 +34,23 @@ Interpret argument-list ARGS (like command-line
arguments). Possible arguments are:
--help (show some help and exit)
--muhome (path to alternative mu home directory)
--textonly (don't show any graphical windows)
--output (a string describing the output, e.g. \"dumb\", \"png\" \"wxt\")
searchexpr (a search query)
then call FUNC with args SEARCHEXPR and TEXTONLY."
(setlocale LC_ALL "")
(let* ((optionspec '( (muhome (value #t))
(query (value #t))
(textonly (value #f))
(help (single-char #\h) (value #f))))
then call FUNC with args SEARCHEXPR and OUTPUT."
(setlocale LC_ALL "")
(let* ((optionspec '((muhome (value #t))
(query (value #t))
(output (value #f))
(help (single-char #\h) (value #f))))
(options (getopt-long args optionspec))
(query (option-ref options 'query #f))
(help (option-ref options 'help #f))
(textonly (option-ref options 'textonly #f))
(output (option-ref options 'output #f))
(muhome (option-ref options 'muhome #f))
(restargs (option-ref options '() #f)))
(if help (help-and-exit))
(mu:initialize muhome)
(func (or query "") textonly)))
(func (or query "") output)))

;; Local Variables:
;; mode: scheme
13 changes: 7 additions & 6 deletions guile/scripts/msgs-per-day.scm
Original file line number Diff line number Diff line change
@@ -19,26 +19,27 @@ exec guile -e main -s $0 $@
;; along with this program; if not, write to the Free Software Foundation,
;; Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

;; INFO: graph the number of messages per day
;; INFO: graph the number of messages per day (using gnuplot)
;; INFO: options:
;; INFO: --query=<query>: limit to messages matching query
;; INFO: --muhome=<muhome>: path to mu home dir
;; INFO: --textonly: output in text-only format
;; INFO: --output: the output format, such as "png", "wxt"
;; INFO: (depending on the environment)

(use-modules (mu) (mu script) (mu stats) (mu plot))

(define (per-day expr text-only)
(define (per-day expr output)
"Count the total number of messages for each weekday (0-6 for
Sun..Sat) that match EXPR. If PLAIN-TEXT is true, use a plain-text
display, otherwise, use a graphical window."
Sun..Sat) that match EXPR. OUTPUT corresponds to the output format, as
per gnuplot's 'set terminal'."
(mu:plot-histogram
(mu:weekday-numbers->names
(sort (mu:tabulate
(lambda (msg)
(tm:wday (localtime (mu:date msg)))) expr)
(lambda (x y) (< (car x) (car y)))))
(format #f "Messages per weekday matching ~a" expr)
"Day" "Messages" text-only))
"Day" "Messages" output))

(define (main args)
(mu:run-stats args per-day))