Your message dated Thu, 3 Jan 2019 22:14:12 +0000 (UTC) with message-id <[email protected]> and subject line Re: Bug#506671 has caused the Debian Bug report #506671, regarding New function: what-file-line, used when writing gdb script to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 506671: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506671 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: emacs Version: 23.0.60 Severity: wishlist When I write gdb script, I need to set many breakpoints. such as: b xxx_file.c:xxx_line_number With following, I can do it easier. ----- (defcustom what-file-line-separator ":" "Define the separator between file name and line number" :type 'string :group 'editing) (defcustom what-file-line-killp nil "Toggle on/off kill to yank ring" :type 'boolean :group 'editing) ;; Maybe this variable is useless, because user can copy what they want in mini-buffer (defcustom what-file-line-fullpath t "Toggle on/off file name fullpath" :type 'boolean :group 'editing) (defun what-file-line () "Print the current buffer's file name and line nubmer" (interactive) (let ((n (line-number-at-pos)) (file (buffer-file-name)) result) (setq result (concat file what-file-line-separator (number-to-string n))) (message "%s" result) (if what-file-line-killp (kill-new result)))) ----- Q: 1. I don't know in which group the customized variables should be put? 2. The 3rd customized variable needn't, agree? 3. If this functionality is usefull, I want to implement a GUI version(as same as gdb-mouse-set-clear-breakpoint). So when user click the left margin when non-gdb-mode, user can get the filename-line pair) What's your comment?
--- End Message ---
--- Begin Message ---Patch was rejected upstream.
--- End Message ---

