Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 135

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 135

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 187

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 188

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 189

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 194

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 195

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 196

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 197

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 241

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 264

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 269

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 275

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 285

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 286

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 296

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 297

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 298

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 308

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 309

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 310

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 311

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 321

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 322

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 323

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 324

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 325

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 497

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 527

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 540

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 587

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 626

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 668

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 668

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 670

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 673

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 682

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 688

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 693

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php on line 699

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.http.php on line 410

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.http.php on line 410

Warning: Cannot modify header information - headers already sent by (output started at /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php:309) in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.http.php on line 272

Warning: Cannot modify header information - headers already sent by (output started at /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php:309) in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.http.php on line 274

Warning: Cannot modify header information - headers already sent by (output started at /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php:309) in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.http.php on line 274

Warning: Cannot modify header information - headers already sent by (output started at /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php:309) in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.http.php on line 274

Warning: Cannot modify header information - headers already sent by (output started at /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php:309) in /home/didierve/didierverna.net/blog/inc/public/lib.urlhandlers.php on line 110

Warning: Cannot modify header information - headers already sent by (output started at /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php:309) in /home/didierve/didierverna.net/blog/inc/public/lib.urlhandlers.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.json.php:309) in /home/didierve/didierverna.net/blog/inc/libs/clearbricks/common/lib.http.php on line 295
Didier Verna's Scientific Blog - Tag - reader macro character - Comments Didier Verna's scientific blog: Lisp, Emacs, LaTeX and random stuff. 2024-01-31T17:45:28+00:00 Didier Verna urn:md5:a22c53786aff986a2da4c770c233a8f9 Dotclear read-time string concatenation - Reddit Promo Code urn:md5:5a8b926a6a394a7d94a1f699b35b92bc 2022-03-08T07:56:16+00:00 2022-03-08T08:56:16+00:00 Reddit Promo Code <p>It's going to be finish of mine day, however<br /> before end I am reading this great article to increase my experience.</p> read-time string concatenation - جلب الحبيب urn:md5:f82882bed6e980dc398e82a00acd93be 2022-02-07T20:37:08+00:00 2022-02-07T21:37:08+00:00 جلب الحبيب <p>مركز مبصرون لعلاج السحرالاسود و سحر الطاعة<br /> اتصل الان 01211644114 لحجز موعد<br /> مصر , القاهرة , صلاح سالم عمارات العبور<br /> يمتد نشاطمركز مبصرون في علاج السحر الي جميع انحاء<br /> العالم<br /> Calⅼ Now 01211644114</p> read-time string concatenation - Work from home online urn:md5:db81def30591c38265fa88f2d26e1fb3 2018-04-07T00:49:21+02:00 2018-04-07T00:49:21+02:00 Work from home online <p>An impressive share! I've just forwarded this onto<br /> a co-worker wwho has been conducting a little homework on this.<br /> And he in fact ordered me breakfast due tto the fact that I stumbled upon it ffor him...<br /> lol. So let me reword this.... Thanks for the meal!!<br /> But yeah, thanx for spending the time to discuss this topic<br /> here on your internet site.</p> read-time string concatenation - Tomas Zellerin urn:md5:37e9f738c080399128fba19fb1d28270 2011-07-13T16:26:59+02:00 2011-07-13T16:26:59+02:00 Tomas Zellerin <p>I do slime-compile-and-load-file (C-c C-k). It finds some compiler notes and tries to scroll to them, and breaks on it.</p> <p>Error is<br /> The value of STRING is NIL, which is not a string</p> <p>Relevant stack trace:<br /> (SWANK-BACKEND::SKIP-TOPLEVEL-FORMS 6 #&lt;SB-SYS:FD-STREAM for XXX&gt;)<br /> (SWANK-BACKEND::SOURCE-PATH-FILE-POSITION (5) XXX)<br /> (SWANK-BACKEND::LOCATE-COMPILER-NOTE ..)</p> <p>and skip-toplevel-forms is defined (for sbcl at least) as<br /> (defun skip-toplevel-forms (n stream)<br /> (let ((*read-suppress* t))<br /> (dotimes (i n)<br /> (read stream))))</p> <p>Sorry for poor formatting, I hope it makes sense. I suppose you would hit the problem when you comment something out with #+nil as well.</p> read-time string concatenation - Didier urn:md5:ee805720a86395f78ce1af70385cc51a 2011-07-13T11:18:52+02:00 2011-07-13T11:18:52+02:00 Didier <p>@Tomas</p> <p>Can you provide a specific scenario which exhibits the problem?<br /> I understand what you say but I've never encountered the problem in any SBCL+Slime session.</p> <p>Thank you.</p> read-time string concatenation - Tomas Zellerin urn:md5:864023893f30fdfd8476b2684d29c5be 2011-07-13T08:40:10+02:00 2011-07-13T08:40:10+02:00 Tomas Zellerin <p>Hi,</p> <p>I like the idea, however - it does not work smoothly e.g. in Slime and sbcl. I get problems because (shortly) it uses reading with *read-supress* to get to place in a file, and thus your check-type fails.</p> <p>So one should probably handle the *read-suppress* situation specifically.<br /> (Other fix I did for myself was to insert space or newline between strings, using ~" vs ~@", but this is more of a taste question)</p> read-time string concatenation - Didier urn:md5:27592ad5d3e84859383a431b58050878 2011-06-27T10:16:12+02:00 2011-06-27T10:16:12+02:00 Didier <p>@mon-key<br /> Your request seem to be about formatting the DISPLAY of documentation material, whereas here I was concerned about formatting the CODE itself. So I fail to see the relation between the two...</p> read-time string concatenation - mon-key urn:md5:b708a7dc463054d78cd3303a8f87d2f7 2011-06-26T19:02:48+02:00 2011-06-26T19:02:48+02:00 mon-key <p>Thanks for your ongoing attention to all things string/format/documentation related and for taking the time to bring your findings to the interwebs.</p> <p>One thing i find lacking whether for your ~ reader (and prob. Xach's `||' function as well) is the ability to specify a "fill column".</p> <p>It would be nice to have a lambda list like this:</p> <p>(stream char &amp;optional (default-fill *read-tilde-refill*))</p> <p>where *read-tilde-refill* defaults to 80 and has the type signature:</p> <p>(or null (integer 1 *))</p> <p>and where DEFAULT-FILL parameter could take one of the forms:</p> <p>NIL -- no fill<br /> T -- fill to *read-tilde-refill* columns)<br /> &lt;INT&gt; -- fill to &lt;INT&gt; columns. &lt;INT&gt; is an integer of type (integer 1 *)</p> <p>Normally, one might add this layer functionality in a wrapper function. However, in so much as #\~ is a macro-character it might make sense to directly accommodate for a default w/r/t filling.</p> <p>This would come in especially handy around documentation related contexts, i.e. for `CL:DOCUMENTATION' one could dynamically bind *read-tilde-refill* to suit particular filling needs.</p> read-time string concatenation - Didier urn:md5:9a206541113a6dad045fec664543c553 2011-06-22T09:18:17+02:00 2011-06-22T09:18:17+02:00 Didier <p>@Xach So you mean just use a function to do the concatenation instead of using a macro character? Anyway, using || as a function name is neat ;-)</p> read-time string concatenation - aerique urn:md5:1ebe4899b541db5f1ebdf5d049827ea7 2011-06-22T00:07:49+02:00 2011-06-22T00:07:49+02:00 aerique <p>I've always used Paul Graham's "mkstr" function for this since I first came across it in On Lisp.</p> <p><a href="http://www.mail-archive.com/alexandria-devel@common-lisp.net/msg00340.html" title="http://www.mail-archive.com/alexandria-devel@common-lisp.net/msg00340.html" rel="nofollow">http://www.mail-archive.com/alexand...</a></p> <p><a href="http://unintelligible.org/onlisp/onlisp.html#SEC35" title="http://unintelligible.org/onlisp/onlisp.html#SEC35" rel="nofollow">http://unintelligible.org/onlisp/on...</a></p> read-time string concatenation - David urn:md5:6cfc3a5863fcfe48e232d71165e9a1d4 2011-06-21T21:33:06+02:00 2011-06-21T21:33:06+02:00 David <p>Great, I like your hack.<br /> I suffered it too. I usually break the docstrings, but extra newlines are introduced in this way. Therefore, I use a convention to specify lines: single newlines are ignored and double newlines are replaced by single ones.<br /> However it does the indentation problem unresolvable.</p> read-time string concatenation - Xach urn:md5:221f2f566932949d67ac4eb5887ceec9 2011-06-21T20:30:37+02:00 2011-06-21T20:30:37+02:00 Xach <p>You could avoid alignment issues by writing a function with a short name and passing the strings as argument. SQL's concatenation operator is ||. You could abuse CL's multiple escape syntax to name a function: (defun || (&amp;rest strings) ...).</p>