archive-org.com » ORG » I » IRREAL.ORG

Total: 496

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Comment or Uncomment One of More Lines | Irreal
    to comment and type Meta to call comment dwim I use that all the time but what if you want to comment or uncomment just one or perhaps a few lines Malabarba s code comments uncomments the current line or lines if a numerical prefix is given He binds it to Ctrl which gives it a nice symmetry with Meta In the comments Scott Turner suggests a version that calls comment dwim if there is a region set and Malabarba s code otherwise 1 You could then just rebind Meta to the new version and have the best of both worlds 2 Either way if you find yourself commenting and uncommenting lines a lot you may find this bit of Elisp handy Footnotes 1 Be aware though that comment dwim has its own default actions if there is no region You may or may not care about them 2 This too can be problematic paredit at least also remaps Meta This entry was posted in General and tagged Emacs Bookmark the permalink Days of Our Lives Streams in Common Lisp Search for Recent Posts Elisp Summary Emacs for Prose FISA Abandons the Fourth Amendment Again Blogging with Org Mode and Nikola How to Keep Emacs Running Across an X Crash Recent Comments Mike Zamansky on Blogging with Org Mode and Nikola Phil on How to Keep Emacs Running Across an X Crash Sebastian Christ on European Quotation Marks NoonianAtall on A Hyper Key on Any USB Keyboard Kris on An Example of Why Reproducible Research Matters Links Useful Emacs Commands Archives April 2016 March 2016 February 2016 January 2016 December 2015 November 2015 October 2015 September 2015 August 2015 July 2015 June 2015 May 2015 April 2015 March 2015 February 2015 January 2015 December 2014 November 2014 October 2014 September

    Original URL path: http://irreal.org/blog/?p=3630 (2016-04-25)
    Open archived version from archive

  • Days of Our Lives | Irreal
    most important days in your life are the day you are born and the day you find Emacs Mark Twain topic on emacs punchagan punchagan December 11 2014 This entry was posted in General and tagged Emacs Bookmark the permalink Micro Habit Video Comment or Uncomment One of More Lines Search for Recent Posts Elisp Summary Emacs for Prose FISA Abandons the Fourth Amendment Again Blogging with Org Mode and Nikola How to Keep Emacs Running Across an X Crash Recent Comments Mike Zamansky on Blogging with Org Mode and Nikola Phil on How to Keep Emacs Running Across an X Crash Sebastian Christ on European Quotation Marks NoonianAtall on A Hyper Key on Any USB Keyboard Kris on An Example of Why Reproducible Research Matters Links Useful Emacs Commands Archives April 2016 March 2016 February 2016 January 2016 December 2015 November 2015 October 2015 September 2015 August 2015 July 2015 June 2015 May 2015 April 2015 March 2015 February 2015 January 2015 December 2014 November 2014 October 2014 September 2014 August 2014 July 2014 June 2014 May 2014 April 2014 March 2014 February 2014 January 2014 December 2013 November 2013 October 2013 September 2013 August 2013 July 2013 June

    Original URL path: http://irreal.org/blog/?p=3628 (2016-04-25)
    Open archived version from archive

  • Micro-Habit Video | Irreal
    chord package to invoke her window switching and buffer navigation You don t have to worry about trying to remember her configuration because it s available online in an excellent literate programming Org file Watch the video and get any specifics you need from her configuration file The video is just over eight and a half minutes so it should be easy to fit a viewing into your schedule As always with Chua your time will be well spent This entry was posted in General and tagged Emacs Bookmark the permalink Sacha on Emacs Micro Habits Days of Our Lives Search for Recent Posts Elisp Summary Emacs for Prose FISA Abandons the Fourth Amendment Again Blogging with Org Mode and Nikola How to Keep Emacs Running Across an X Crash Recent Comments Mike Zamansky on Blogging with Org Mode and Nikola Phil on How to Keep Emacs Running Across an X Crash Sebastian Christ on European Quotation Marks NoonianAtall on A Hyper Key on Any USB Keyboard Kris on An Example of Why Reproducible Research Matters Links Useful Emacs Commands Archives April 2016 March 2016 February 2016 January 2016 December 2015 November 2015 October 2015 September 2015 August 2015 July

    Original URL path: http://irreal.org/blog/?p=3626 (2016-04-25)
    Open archived version from archive

  • Sacha on Emacs Micro-Habits | Irreal
    but is part of a function that copies code into a blog post posts it as a Gist and adds a link to the Gist in the blog post That s something useful too if you post code as a Gist Another nice trick I learned is how to programmatically retrieve properties from an Org mode buffer That s also very useful if you want to write code to automatically process an Org buffer The whole post is full of goodness and you really should give it a read If you re interested in improving your work flow you ll probably find something useful This entry was posted in General and tagged Emacs Org mode Bookmark the permalink Identifying Muslim Taxi Drivers Micro Habit Video Joost Kremers TBH I don t find the use of condititon case here a nice idiom When I see condition case I expect a form that needs to be protected against certain errors Here it s used as a kind of if statement use region p or your macro indicate much more clearly what they re about abo abo Somehow I get the association of using try throw and catch in C which would be a very inefficient way to get an if statement Also condition case nil foo has a standard macro shortcut ignore errors foo jcs Yeah I agree with you guys that it s probably not the most efficient way of doing things What appealed to me was the thinking outside the box that it demonstrated Truth to tell the application it was in isn t likely to notice the overhead but yes use region p sachac I totally stole it from gist el and have now replaced the code with if with use region p since that is much nicer Speaking

    Original URL path: http://irreal.org/blog/?p=3624 (2016-04-25)
    Open archived version from archive

  • Identifying Muslim Taxi Drivers | Irreal
    and driving a taxi of course but it does seem like a privacy issue A person s religion and ethnicity is a private matter that only the individual should be able to reveal This shows once again the dangers of collecting and storing seemingly innocuous data If you don t care about strip club patrons how about religious freedom And what was the rationale for collecting this taxi data again This entry was posted in General and tagged Privacy Bookmark the permalink The Emacs Operating System Sacha on Emacs Micro Habits Search for Recent Posts Elisp Summary Emacs for Prose FISA Abandons the Fourth Amendment Again Blogging with Org Mode and Nikola How to Keep Emacs Running Across an X Crash Recent Comments Mike Zamansky on Blogging with Org Mode and Nikola Phil on How to Keep Emacs Running Across an X Crash Sebastian Christ on European Quotation Marks NoonianAtall on A Hyper Key on Any USB Keyboard Kris on An Example of Why Reproducible Research Matters Links Useful Emacs Commands Archives April 2016 March 2016 February 2016 January 2016 December 2015 November 2015 October 2015 September 2015 August 2015 July 2015 June 2015 May 2015 April 2015 March 2015

    Original URL path: http://irreal.org/blog/?p=3622 (2016-04-25)
    Open archived version from archive

  • December | 2014 | Irreal | Page 2
    you must be a power user Fredrik Appelberg appelberg November 28 2014 Posted in General Tagged Emacs 2 Comments Mastering Emacs The Book Posted on December 19 2014 by jcs The estimable Mickey Petersen proprietor of the Mastering Emacs blog is working on a book Mickey says that the book is not an encapsulation of his blog but rather is all new material His announcement has a general outline of Continue reading Posted in General Tagged Emacs Leave a comment Dr Dobbs RIP Posted on December 18 2014 by jcs Although many younger developers don t remember or maybe weren t even born it wasn t that many years ago that the Web as we know it today didn t exist and access to what did exist was hard to obtain In those sad times it Continue reading Posted in Programming Tagged Heritage Leave a comment let alist Posted on December 17 2014 by jcs This looks really great let alist is the best thing to happen to associative lists since the invention of the cons cell emacs http t co MwpRwla9Ge Artur Malabarba AMalabarba December 16 2014 Posted in Programming Tagged Emacs Leave a comment Bait and Switch Posted on December 17 2014 by jcs Remember how I told you not to trust government promises about data collection That according to the iron law of data collection the data will always be used for other purposes even if the government promises otherwise Not that you Continue reading Posted in General Tagged Privacy Leave a comment Help on Symbols with Info Posted on December 16 2014 by jcs LWN has a great article on esr s proposal to revamp Emacs documentation that I wrote about previously If you ve been following that debate you should definitely give it a read

    Original URL path: http://irreal.org/blog/?m=201412&paged=2 (2016-04-25)
    Open archived version from archive

  • Happy New Year | Irreal
    New Year Posted on December 31 2014 by jcs Have a Happy New Year and be careful out there This entry was posted in General Bookmark the permalink Safely Loading Your Emacs Configuration Using Emacs to Run a Course Search for Recent Posts Elisp Summary Emacs for Prose FISA Abandons the Fourth Amendment Again Blogging with Org Mode and Nikola How to Keep Emacs Running Across an X Crash Recent Comments Mike Zamansky on Blogging with Org Mode and Nikola Phil on How to Keep Emacs Running Across an X Crash Sebastian Christ on European Quotation Marks NoonianAtall on A Hyper Key on Any USB Keyboard Kris on An Example of Why Reproducible Research Matters Links Useful Emacs Commands Archives April 2016 March 2016 February 2016 January 2016 December 2015 November 2015 October 2015 September 2015 August 2015 July 2015 June 2015 May 2015 April 2015 March 2015 February 2015 January 2015 December 2014 November 2014 October 2014 September 2014 August 2014 July 2014 June 2014 May 2014 April 2014 March 2014 February 2014 January 2014 December 2013 November 2013 October 2013 September 2013 August 2013 July 2013 June 2013 May 2013 April 2013 March 2013 February 2013 January 2013

    Original URL path: http://irreal.org/blog/?p=3559 (2016-04-25)
    Open archived version from archive

  • Safely Loading Your Emacs Configuration | Irreal
    and he s dumped into a default Emacs that doesn t have his usual environment We ve all been there Last time I looked no one had a solution for falling back to a known good configuration but Renan Ranelli pointed to his solution for the problem Ranelli s approach is to divide his configuration into several files as many Emacs users do and then have a small bootloader that loads each file but within a condition case that captures any errors and records them The rest of the files assuming no further errors are loaded normally At the end of the loading any errors are reported but most of his environment is available It s a very nice solution and if you already have your configuration divided into separate files very easy to implement Take a look at his init bootstrap el file You may find you want to do something similar You could even use the same idea to implement the solution tending was seeking This entry was posted in General and tagged Emacs Bookmark the permalink Using AUCTeX Happy New Year Search for Recent Posts Elisp Summary Emacs for Prose FISA Abandons the Fourth Amendment Again Blogging with Org Mode and Nikola How to Keep Emacs Running Across an X Crash Recent Comments Mike Zamansky on Blogging with Org Mode and Nikola Phil on How to Keep Emacs Running Across an X Crash Sebastian Christ on European Quotation Marks NoonianAtall on A Hyper Key on Any USB Keyboard Kris on An Example of Why Reproducible Research Matters Links Useful Emacs Commands Archives April 2016 March 2016 February 2016 January 2016 December 2015 November 2015 October 2015 September 2015 August 2015 July 2015 June 2015 May 2015 April 2015 March 2015 February 2015 January 2015 December 2014 November

    Original URL path: http://irreal.org/blog/?p=3556 (2016-04-25)
    Open archived version from archive



  •