#1 Can't set a breakpoint in narrowed buffer

Abierta
abierta hace 9 meses por nico · 2 comentarios
nico comentado hace 9 meses

I didn't try to reproduce the bug, but I think that

(indium-backend-add-breakpoint (indium-backend)
                                     buffer-file-name
                                     (1- (line-number-at-pos))
                                     (lambda (line id condition)
                                       (indium-breakpoint-added id ov))
                                     condition)

in indium-breakpoint-add can't work in narrowed buffers because line-number-at-pos return the narrowed line number. I submitted a patch to Emacs, but it hasn't been merged yet :-).


Issue migrated from Gitlab

  • Original author: @DamienCassou
  • Created: 2017-06-16T15:46:03.955Z
  • Updated: 2017-06-19T09:31:04.501Z
I didn't try to reproduce the bug, but I think that ```common-lisp (indium-backend-add-breakpoint (indium-backend) buffer-file-name (1- (line-number-at-pos)) (lambda (line id condition) (indium-breakpoint-added id ov)) condition) ``` in `indium-breakpoint-add` can't work in narrowed buffers because `line-number-at-pos` return the narrowed line number. I submitted a patch to Emacs, but it hasn't been merged yet :-). ----- #### Issue migrated from Gitlab - Original author: @DamienCassou - Created: 2017-06-16T15:46:03.955Z - Updated: 2017-06-19T09:31:04.501Z
nico comentado hace 9 meses
Propietario

changed the description


Comment migrated from Gitlab

  • Original author: @DamienCassou
  • Created: 2017-06-16T15:47:40.717Z
  • Updated: 2017-06-16T15:47:40.717Z
changed the description ----- #### Comment migrated from Gitlab - Original author: @DamienCassou - Created: 2017-06-16T15:47:40.717Z - Updated: 2017-06-16T15:47:40.717Z
nico comentado hace 9 meses
Propietario

It's been merged in Emacs master :rocket:


Comment migrated from Gitlab

  • Original author: @nico
  • Created: 2017-06-19T09:31:04.461Z
  • Updated: 2017-06-19T09:31:04.461Z
It's been merged in Emacs master :rocket: ----- #### Comment migrated from Gitlab - Original author: @nico - Created: 2017-06-19T09:31:04.461Z - Updated: 2017-06-19T09:31:04.461Z
Inicie sesión para unirse a esta conversación.
Sin etiquetas
Sin Milestone
No asignados
1 participantes
Fecha de vencimiento

Sin fecha de vencimiento.

Dependencias

Esta incidencia actualmente no tiene ninguna dependencia.

Cargando…
Cancelar
Guardar
Aún no existe contenido.