summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--personal/itches.md25
2 files changed, 18 insertions, 9 deletions
diff --git a/README.md b/README.md
index cdaaded..969efc6 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# Peniblec's Memory Leaks
-## still reachable: 5713 words in 11 pages
+## still reachable: 5802 words in 11 pages
Hi! I am a software engineer interested in [a bunch of things].
diff --git a/personal/itches.md b/personal/itches.md
index acc71c3..65a5696 100644
--- a/personal/itches.md
+++ b/personal/itches.md
@@ -14,7 +14,7 @@
- [.dir-locals changed priorities][bug#30008] between subfolder and
major mode from 25 to 26
- eshell: `ls --group-directories-first` does not color folders
-- Emoji(One) support
+- emoji support
- eww, gnus-article: adapt filling to window width changes
- scroll-lock-mode
- cursor stuck on lines wrapped by visual-line-mode
@@ -64,6 +64,9 @@ TODO:
1. get the string value of a variable in C
2. define a customizable string variable
+3. write a news entry
+4. write a patch
+5. extra credits: display string properties
### Get the string value of a variable in C
@@ -111,8 +114,8 @@ Mmm. Not in `cus-start.el`. There is this snippet in
`callproc.c:init_callproc`:
``` c
- sh = getenv ("SHELL");
- Vshell_file_name = build_string (sh ? sh : "/bin/sh");
+sh = getenv ("SHELL");
+Vshell_file_name = build_string (sh ? sh : "/bin/sh");
```
But when starting with `SHELL=rofl emacs -Q`, Custom says that the
@@ -209,12 +212,12 @@ Gah! How long have you been there?
``` c
/* Return a string for the output of a mode line %-spec for window W,
- generated by character C. … Return a Lisp string in
+ generated by character C. […] Return a Lisp string in
*STRING if the resulting string is taken from that Lisp string.
- … */
+ […] */
static const char *
decode_mode_spec (struct window *w, register int c, int field_width,
- Lisp_Object *string)
+ Lisp_Object *string)
{
Lisp_Object obj;
/* … */
@@ -225,6 +228,7 @@ decode_mode_spec (struct window *w, register int c, int field_width,
{
/* … */
}
+
if (STRINGP (obj))
{
*string = obj;
@@ -235,9 +239,14 @@ decode_mode_spec (struct window *w, register int c, int field_width,
}
```
-### Dumb questions
+Alright then:
-- which Custom group(s) should this go into?
+``` c
+case 'n':
+ if (BUF_BEGV (b) > BUF_BEG (b) || BUF_ZV (b) < BUF_Z (b))
+ obj = Vnarrow_lighter;
+ break;
+```
## Better out-of-the-box display for FORM FEED