Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1835)

Delta Between Two Patch Sets: misc/emacs/go-mode.el

Issue 11457044: code review 11457044: misc/emacs: Make godef-jump behave more like find-tag b... (Closed)
Left Patch Set: diff -r e7b0d65f9e5b https://code.google.com/p/go Created 11 years, 8 months ago
Right Patch Set: diff -r e7b0d65f9e5b https://code.google.com/p/go Created 11 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 ;;; go-mode.el --- Major mode for the Go programming language 1 ;;; go-mode.el --- Major mode for the Go programming language
2 2
3 ;; Copyright 2013 The Go Authors. All rights reserved. 3 ;; Copyright 2013 The Go Authors. All rights reserved.
4 ;; Use of this source code is governed by a BSD-style 4 ;; Use of this source code is governed by a BSD-style
5 ;; license that can be found in the LICENSE file. 5 ;; license that can be found in the LICENSE file.
6 6
7 (require 'cl) 7 (require 'cl)
8 (require 'etags) 8 (require 'etags)
adonovan 2013/07/24 14:52:21 Also: (require 'ring) It's good practice to decla
9 (require 'ffap) 9 (require 'ffap)
10 (require 'ring)
10 (require 'url) 11 (require 'url)
11 12
12 ;; XEmacs compatibility guidelines 13 ;; XEmacs compatibility guidelines
13 ;; - Minimum required version of XEmacs: 21.5.32 14 ;; - Minimum required version of XEmacs: 21.5.32
14 ;; - Feature that cannot be backported: POSIX character classes in 15 ;; - Feature that cannot be backported: POSIX character classes in
15 ;; regular expressions 16 ;; regular expressions
16 ;; - Functions that could be backported but won't because 21.5.32 17 ;; - Functions that could be backported but won't because 21.5.32
17 ;; covers them: plenty. 18 ;; covers them: plenty.
18 ;; - Features that are still partly broken: 19 ;; - Features that are still partly broken:
19 ;; - godef will not work correctly if multibyte characters are 20 ;; - godef will not work correctly if multibyte characters are
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 (push-mark) 929 (push-mark)
929 (ring-insert find-tag-marker-ring (point-marker)) 930 (ring-insert find-tag-marker-ring (point-marker))
930 (godef--find-file-line-column file other-window)))) 931 (godef--find-file-line-column file other-window))))
931 (file-error (message "Could not run godef binary")))) 932 (file-error (message "Could not run godef binary"))))
932 933
933 (defun godef-jump-other-window (point) 934 (defun godef-jump-other-window (point)
934 (interactive "d") 935 (interactive "d")
935 (godef-jump point t)) 936 (godef-jump point t))
936 937
937 (provide 'go-mode) 938 (provide 'go-mode)
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b