summaryrefslogtreecommitdiff
path: root/s.el
Commit message (Collapse)AuthorAge
* Release 1.12.0Magnar Sveen2017-09-22
|
* Use ‘save-match-data’ also for ‘s-reverse’.Philipp Stephani2017-09-06
| | | | The ‘require’ form can change the match data.
* Silence byte-compilerBasil L. Contovounesios2017-04-28
|
* Conditionally require ucs-normalizeBasil L. Contovounesios2017-04-28
| | | | | | | | Defer requiring ucs-normalize until variable ucs-normalize-combining-chars is used in function s-reverse. This should result in s.el loading faster. Addresses issue #77
* Alias all functions ending in `?`Tianxiang Xiong2016-10-19
|
* Use save-match-data consistentlyPhilipp Stephani2016-09-28
| | | | | | Some functions already use save-match-data, but not all. Use save-match-data around every function that modifies the match data, and verify in the unit tests that the match data is indeed saved.
* add s-blank-str?guobao.jiang2016-09-22
|
* Preserve text properties.Wilfred Hughes2016-07-10
| | | | | If we're given a string with properties, ensure the output has the same properties.
* Merge pull request #64 from syohex/replace-all-62Magnar Sveen2016-05-09
|\ | | | | Set replacement flags same as s-replace
| * Set replacement flags same as s-replaceSyohei YOSHIDA2014-07-25
| |
* | Merge pull request #89 from kuanyui/masterMagnar Sveen2016-05-09
|\ \ | | | | | | Fix wrong behavior in s-matched-positions-all
| * | Fix wrong amount of matched in s-matched-positions-allkuanyui2016-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ;; Old version: (s-matched-positions-all "=\\(.+?\\)=" "This is a =very= simple =sample=." 1) ;;=> ((11 . 15) (16 . 24) (25 . 31)) ;; New version: (s-matched-positions-all "=\\(.+?\\)=" "This is a =very= simple =sample=." 1) ;; => ((11 . 15) (25 . 31))
* | | `'s-format' tranform value to be stringdarksun2016-05-07
| | |
* | | Merge pull request #94 from lujun9972/s--agetMagnar Sveen2016-04-29
|\ \ \ | | | | | | | | modify the `s--aget'
| * | | use assoc-string instead of assoclujun99722016-04-29
| | | |
| * | | when origin 's--aget' return nil. It should keep nillujun99722016-04-29
| | | |
| * | | make `s--aget' always return a stringlujun99722016-04-29
| | | |
| * | | use `assoc-string' instead of `assoc'lujun99722016-04-29
| | | | | | | | | | | | | | | | Since the `key' is always a string. I think it will be better to use `assoc-string' instead of `assoc'
* | | | It turns out that `oref' is not a function.darksun2016-04-05
|/ / / | | | | | | | | | oref is a macro. So I have to use `slot-value'
* | | recognize `oref' as a new standard helper function in `s-format'lujun99722016-04-05
| | |
* | | Make s-slice-at behave consistently on "".Matus Goljer2016-03-13
|/ /
* | Add s-matched-positions-allkuanyui2016-01-15
| |
* | Remove duplicated functionSyohei YOSHIDA2015-09-24
| |
* | Release 1.10.0Magnar Sveen2015-09-23
| |
* | Merge pull request #63 from Fuco1/s-wrapMagnar Sveen2015-09-09
|\ \ | | | | | | Add s-wrap
| * | Add s-wrapMatus Goljer2014-07-25
| |/
* | Fix s-split-up-to when string ends with separator (fixes #74)Georg Brandl2015-08-25
| |
* | Add s-wrap functionJohan Andersson2014-09-10
|/
* Add debug declarations for both macros, s-with and s-lex-format.Artur Malabarba2014-07-14
|
* Fix s-reverse for Unicode combining characters.Christopher Wellons2014-07-12
| | | | | | | | | When reversing a Unicode (multibyte) string, care must be taken to reverse characters with their combining marks as a single unit, maintaining their order. * https://github.com/mathiasbynens/esrever * http://www.cl.cam.ac.uk/~mgk25/unicode.html
* Add s-split-up-toMatus Goljer2014-07-11
|
* Update s-split documentationSteve Lamb2014-06-20
| | | | | | | | | | | | | | | | | The emacs documentation for split-string, which s-split wraps, is not correct: "If OMIT-NULLS is t, zero-length substrings are omitted from the list (so that for the default value of SEPARATORS leading and trailing whitespace are effectively trimmed). If nil, all zero-length substrings are retained, which correctly parses CSV format, for example." `omit-nulls` need not be `t`, it can be anything non-null: ``` ... (let* ((keep-nulls (not (if separators omit-nulls t))) ... ``` This is useful to know if you prefer to use human-readable args, like `:omit-nulls` instead of `t`.
* Release 1.9.0Magnar Sveen2013-12-23
|
* Add s-count-matchesexpez2013-12-23
| | | | | s-count-matches does the same as count-matches, but instead of counting occurrences of regexp following point it takes a string argument.
* Release 1.8.0Magnar Sveen2013-09-05
|
* Remove double negation.Johan Andersson2013-09-04
|
* Add s-present?Johan Andersson2013-09-04
|
* Add s-presence.Johan Andersson2013-09-04
|
* Letters can be neither upper or lower case. Handle it.Magnar Sveen2013-08-24
|
* Release 1.7.0Magnar Sveen2013-08-24
|
* Add `s-word-initialsthisirs2013-08-24
|
* s-split-words now also splits ABc into A BcArtur Malabarba2013-08-20
|
* Fixes to docsMagnar Sveen2013-08-18
| | | | Fixes #40 #41 #42
* Release 1.6.2Magnar Sveen2013-08-16
|
* Better support for international charactersMagnar Sveen2013-08-16
| | | | | | Thanks to tailbalance of reddit http://www.reddit.com/r/emacs/comments/1khq86/magnarssel_github_string_manipulation/
* Release 1.6.1Magnar Sveen2013-06-17
|
* Fix s-match-strings-all, this time properlyGeoff Gole2013-06-18
|
* Include overlapping matches in s-match-strings-allGeoff Gole2013-06-17
|
* s-lex-format is not just for lexical variables, it works fine with dynamic ↵Wilfred Hughes2013-06-05
| | | | binding
* Release 1.6.0Magnar Sveen2013-05-26
|