Search:

Type: Posts; User: jpkotta; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    1,463
    Views
    159,065

    Re: Folding@Home Team Ubuntu recruiting notice

    It saves checkpoints at a user configurable time interval. I think the default is 15 min and the max is 30 min.
  2. [all variants] Re: Is there really no linux text editor with smart line wrapping?

    In Emacs, you can try this:


    (defun srb-adaptive-indent (beg end)
    "Indent the region between BEG and END with adaptive filling."
    (goto-char beg)
    (while
    (let ((lbp...
  3. Replies
    1
    Views
    427

    [all variants] Re: Emacs Comment Multiple lines

    You can provide a negative argument with M-- (Alt + dash), or C--, or C-M--. You can see all of the keys this is bound to with C-h w negative-argument. negative-argument is basically the same as...
  4. Replies
    12
    Views
    2,080

    [SOLVED] Re: vim, emacs, gedit , etc

    Actually, it runs whatever the default editor is. This is set by the EDITOR environment variable.



    BTW, I did not know that. Thanks for the neat trick.
  5. [all variants] Re: How to make emacs reload a file when changed on disk?

    See http://www.gnu.org/software/emacs/manual/html_node/emacs/Reverting.html

    I have this in my init.el:



    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;; revert
    ...
  6. Replies
    1
    Views
    3,195

    [ubuntu] Re: Default editor for svn

    I do it with the EDITOR environment variable. Put this in your ~/.bashrc:

    export EDITOR="emacs -nw"

    Apparently, Subversion looks at the SVN_EDITOR variable too. ...
  7. Replies
    2
    Views
    808

    [all variants] Re: hyperlinks in emacs?

    Org mode supports hyperlinks. Emacs Muse does too, which is the successor to wiki mode. I've only used org-mode, but I haven't tried hyperlinks yet.
  8. Replies
    2
    Views
    571

    Re: emacs .el file addon

    The autoload is completely useless with the require. require loads the lisp immediately, autoload defers the load until unityjs-mode is invoked (making start up faster). I would use the autoload...
  9. Replies
    63
    Views
    6,125

    Re: Is emacs still relevant?

    I started with GNU Emacs, then switched to XEmacs for about a year, then switched back. The simple answer is GNU Emacs has more users, and thus most add ons will work with it a bit better (though...
  10. Replies
    63
    Views
    6,125

    Re: Is emacs still relevant?

    (Sorry that I implied that you were trolling.)

    Yes, and the fact that they both have line editors as an ancestor was the only thing true in your post, if you allow 'ed' to stand for 'a line...
  11. Replies
    63
    Views
    6,125

    Re: Is emacs still relevant?

    "Simply wrappers around ed", as in they are just executing editing commands by calling ed? Seriously? You better be trolling.
  12. Replies
    63
    Views
    6,125

    Re: Is emacs still relevant?

    I disagree. I see a big difference in philosophy behind Vim and Emacs, and they work very differently. Just because they have many of the same capabilities doesn't mean they're at all similar.
  13. Replies
    5
    Views
    523

    [ubuntu] Re: emacs editor problems

    Disclaimer: I use GNU Emacs.

    Many emacs libraries are autoloaded. You just start using them and Emacs loads the lisp file if it hasn't been loaded already. filladapt replaces some built-in...
  14. [SOLVED] Re: Emacs: Disabling auto-fill-mode with local file variables?

    eval: (auto-fill-mode -1)

    In general, almost all minor modes are disabled this way, and enabled with
    (auto-fill-mode 1) and toggled with
    (auto-fill-mode)
  15. Replies
    2
    Views
    1,031

    [all variants] Re: How to configure emacs

    You should try tramp mode. It lets you edit files on a remote machine with a local Emacs. You can use ssh, ftp, and several other protocols. Incidentally, you can also use tramp with sudo to edit...
  16. Replies
    2
    Views
    992

    [kubuntu] Re: emacs extentions doesn't work

    Clearly the library isn't there. You can use the apt-file command to see if a file exists in some Ubuntu package; I checked, it appears that it's not in any packages either. So for whatever reason,...
  17. Replies
    14
    Views
    1,710

    [ubuntu] Re: Setting terminal title

    Put this in your ~/.bashrc (or use the echo line in a script).


    function set_terminal_title()
    {
    echo -ne "\033]0;$1\007"
    }


    Then you can set the title to whatever you want.
  18. Replies
    9
    Views
    5,148

    [ubuntu] Re: MPD won't start on startup

    Have a look at errors.log and mpd.log in /var/log/mpd/.
  19. Replies
    35
    Views
    14,303

    Re: Cross platform tower defense game

    I have a 64-bit system, and I downloaded TargetDefenseLin64.tar.bz2. There's a bunch of .so's in there, but they're all 32-bit. Trying to run the game gives "UnsatisfiedLinkError: wrong ELF class:...
  20. Replies
    2
    Views
    1,027

    [kubuntu] Re: emacs23 versus emacs 22

    C-h n

    You're probably upset about line-move-visual and transient-mark-mode, but you're not specific enough.

    There is a known bug in the Ubuntu version where dragging the scroll bar highlights...
  21. Replies
    2
    Views
    1,721

    Re: Python [...].sort() not sorting correctly?

    You probably want the key= option to sort(). Even better would be to store the numbers as floats instead of strings, because it's almost always a mistake to store numbers as strings.

    ...
  22. Replies
    2
    Views
    2,456

    Re: How to scroll down other window in emacs?

    Many keys don't work in terminals, and AFAIK this is a limitation of terminals. You just have to find keys that you're comfortable with and that work across X and terminals.

    It seems like by...
  23. Replies
    2
    Views
    1,425

    Re: [C] Writing into full pipes

    When creating/opening the pipe, use the O_NONBLOCK flag. Then write() will return with an error instead of just sitting there.


    apt-get install manpages-dev
    man 7 pipe
  24. Re: changed value of variable not reflecting, python

    Put your code in [
    code][/code
    ] tags. Otherwise it's very hard to read, and in the case of Python, impossible to read unambiguously (syntactic indentation).

    In Python, variables are taken from...
  25. Replies
    17
    Views
    9,518

    [SOLVED] Re: Python large numbers

    To me, math.pow is not part of Python, but pow is. math.pow is a library function that happens to come with Python, and thus doesn't have all of the expectations of pow. But it definitely seems...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4